Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

floating label for AI generations in a cell (#6690)

Shahmir Varqha185a1f0bbfe8
diff --git a/frontend/src/components/editor/ai/ai-completion-editor.tsx b/frontend/src/components/editor/ai/ai-completion-editor.tsx
index b283e0dd3d..39656cfd20 100644
--- a/frontend/src/components/editor/ai/ai-completion-editor.tsx
+++ b/frontend/src/components/editor/ai/ai-completion-editor.tsx
@@ -15,6 +15,7 @@ import { useAtom } from "jotai";
import { AIModelDropdown } from "@/components/ai/ai-model-dropdown";
import { Checkbox } from "@/components/ui/checkbox";
import { Label } from "@/components/ui/label";
+import { Switch } from "@/components/ui/switch";
import { Tooltip } from "@/components/ui/tooltip";
import { toast } from "@/components/ui/use-toast";
import { includeOtherCellsAtom } from "@/core/ai/state";
@@ -29,8 +30,10 @@ import { prettyError } from "@/utils/errors";
import { retryWithTimeout } from "@/utils/timeout";
import { PromptInput } from "./add-cell-with-ai";
import {
+ AcceptCompletionButton,
CompletionActions,
createAiCompletionOnKeydown,
+ RejectCompletionButton,
} from "./completion-handlers";
import { addContextCompletion, getAICompletionBody } from "./completion-utils";
@@ -47,6 +50,7 @@ interface Props {
acceptChange: (rightHandCode: string) => void;
enabled: boolean;
triggerImmediately?: boolean;
+ runCell: () => void;
/**
* Children shown when there is no completion
*/
@@ -70,8 +74,10 @@ export const AiCompletionEditor: React.FC<Props> = ({
acceptChange,
enabled,
triggerImmediately,
+ runCell,
children,
}) => {
+ const [showInputPrompt, setShowInputPrompt] = useState(false);
const [completionBody, setCompletionBody] = useState<object>({});
const [includeOtherCells, setIncludeOtherCells] = useAtom(
@@ -162,16 +168,22 @@ export const AiCompletionEditor: React.FC<Props> = ({
};
const handleDeclineCompletion = () => {
+ declineChange();
setCompletion("");
};
+ const showCompletionBanner =
+ enabled && triggerImmediately && (completion || isLoading);
+
+ const showInput = enabled && (!triggerImmediately || showInputPrompt);
+
return (
<div className={cn("flex flex-col w-full rounded-[inherit]", className)}>
<div
className={cn(
"flex items-center gap-2 border-b px-3 transition-all rounded-[inherit] rounded-b-none duration-300",
- enabled && "max-h-[400px] min-h-11 visible",
- !enabled && "max-h-0 min-h-0 invisible",
+ showInput && "max-h-[400px] min-h-11 visible",
+ !showInput && "max-h-0 min-h-0 invisible",
)}
>
{enabled && (
@@ -296,6 +308,100 @@ export const AiCompletionEditor: React.FC<Props> = ({
</CodeMirrorMerge>
)}
{(!completion || !enabled) && children}
+ <div
+ className={cn(
+ "w-full bg-(--cm-background) flex justify-center transition-all duration-300 ease-in-out overflow-hidden",
+ showCompletionBanner
+ ? "max-h-20 opacity-100 translate-y-0"
+ : "max-h-0 opacity-0 -translate-y-2",
+ )}
+ >
+ <CompletionBanner
+ status={isLoading ? "loading" : "generated"}
+ onAccept={handleAcceptCompletion}
+ onReject={handleDeclineCompletion}
+ showInputPrompt={showInputPrompt}
+ setShowInputPrompt={setShowInputPrompt}
+ runCell={runCell}
+ className="mt-4 mb-3 w-128"
+ />
+ </div>
+ </div>
+ );
+};
+
+interface CompletionBannerProps {
+ status: "loading" | "generated";
+ onAccept: () => void;
+ onReject: () => void;
+ showInputPrompt: boolean;
+ setShowInputPrompt: (show: boolean) => void;
+ runCell: () => void;
+ className?: string;
+}
+
+const CompletionBanner: React.FC<CompletionBannerProps> = ({
+ status,
+ onAccept,
+ onReject,
+ className,
+ showInputPrompt,
+ setShowInputPrompt,
+ runCell,
+}) => {
+ const isLoading = status === "loading";
+
+ return (
+ <div
+ className={cn(
+ "flex flex-row items-center gap-6 rounded-md py-2 px-2.5 text-sm border border-border",
+ "shadow-[0_0_6px_1px_rgba(34,197,94,0.15)]",
+ className,
+ )}
+ >
+ <div className="flex flex-row items-center gap-2">
+ <div
+ className={cn(
+ "w-2 h-2 rounded-full",
+ status === "loading" ? "bg-blue-500 animate-pulse" : "bg-green-500",
+ )}
+ />
+ <p className="transition-opacity duration-200 text-muted-foreground">
+ {isLoading ? "Generating fix..." : "Showing fix"}
+ </p>
+ </div>
+
+ <div className="flex flex-row items-center gap-1">
+ <Label
+ htmlFor="show-input-prompt"
+ className="text-muted-foreground text-xs whitespace-nowrap ellipsis"
+ >
+ Show prompt
+ </Label>
+ <Switch
+ checked={showInputPrompt}
+ onCheckedChange={setShowInputPrompt}
+ size="xs"
+ />
+ </div>
+
+ <div className="flex flex-row items-center gap-2 ml-auto">
+ <AcceptCompletionButton
+ isLoading={isLoading}
+ onAccept={onAccept}
+ size="xs"
+ buttonStyles="border-none rounded-md rounded-r-none"
+ playButtonStyles="border-0 border-l-1 rounded-md rounded-l-none"
+ runCell={runCell}
+ // acceptShortcut="Mod-↵"
+ />
+ <RejectCompletionButton
+ onDecline={onReject}
+ size="xs"
+ className="border-none rounded-md"
+ // declineShortcut="Shift-Mod-Delete"
+ />
+ </div>
</div>
);
};
diff --git a/frontend/src/components/editor/ai/completion-handlers.tsx b/frontend/src/components/editor/ai/completion-handlers.tsx
index ec414b66d6..7b061b7a05 100644
--- a/frontend/src/components/editor/ai/completion-handlers.tsx
+++ b/frontend/src/components/editor/ai/completion-handlers.tsx
@@ -1,8 +1,10 @@
/* Copyright 2024 Marimo. All rights reserved. */
+import { PlayIcon } from "lucide-react";
import React from "react";
import { MinimalHotkeys } from "@/components/shortcuts/renderShortcut";
import { Button } from "@/components/ui/button";
+import { Tooltip } from "@/components/ui/tooltip";
import { isPlatformMac } from "@/core/hotkeys/shortcuts";
/**
@@ -99,29 +101,111 @@ export const CompletionActionsCellFooter: React.FC<{
}> = ({ isLoading, onAccept, onDecline }) => {
return (
<>
- <Button
- variant="text"
- size="xs"
- disabled={isLoading}
- onClick={onAccept}
- className="h-6 text-(--grass-11) border-(--grass-7) bg-(--grass-3)/60
- hover:bg-(--grass-3) dark:bg-(--grass-4)/80 dark:hover:bg-(--grass-3) rounded px-3 font-semibold
- active:bg-(--grass-5) dark:active:bg-(--grass-4)
- border-(--green-6) border hover:shadow-xs"
- >
- Accept
- </Button>
- <Button
- variant="text"
+ <AcceptCompletionButton
+ isLoading={isLoading}
+ onAccept={onAccept}
size="xs"
- onClick={onDecline}
- className="h-6 text-(--red-10) border-(--red-7) bg-(--red-3)/60 hover:bg-(--red-3)
- dark:bg-(--red-4)/80 dark:hover:bg-(--red-3) rounded px-3 font-semibold
- active:bg-(--red-5) dark:active:bg-(--red-4)
- border-(--red-6) border hover:shadow-xs"
- >
- Reject
- </Button>
+ />
+ <RejectCompletionButton onDecline={onDecline} size="xs" />
</>
);
};
+
+export const AcceptCompletionButton: React.FC<{
+ isLoading: boolean;
+ onAccept: () => void;
+ size?: "xs" | "sm";
+ buttonStyles?: string;
+ playButtonStyles?: string;
+ acceptShortcut?: string;
+ runCell?: () => void;
+}> = ({
+ isLoading,
+ onAccept,
+ size = "sm",
+ buttonStyles,
+ acceptShortcut,
+ runCell,
+ playButtonStyles,
+}) => {
+ const handleAcceptAndRun = () => {
+ onAccept();
+ if (runCell) {
+ runCell();
+ }
+ };
+
+ const baseClasses = `h-6 text-(--grass-11) bg-(--grass-3)/60
+ hover:bg-(--grass-3) dark:bg-(--grass-4)/80 dark:hover:bg-(--grass-3) font-semibold
+ active:bg-(--grass-5) dark:active:bg-(--grass-4)
+ border-(--green-6) border hover:shadow-xs`;
+
+ if (runCell) {
+ return (
+ <div className="flex">
+ <Button
+ variant="text"
+ size={size}
+ disabled={isLoading}
+ onClick={onAccept}
+ className={`${baseClasses} rounded-r-none ${buttonStyles}`}
+ >
+ Accept
+ {acceptShortcut && (
+ <MinimalHotkeys className="ml-1 inline" shortcut={acceptShortcut} />
+ )}
+ </Button>
+ <Tooltip content="Accept and run cell">
+ <Button
+ variant="text"
+ size={size}
+ disabled={isLoading}
+ onClick={handleAcceptAndRun}
+ className={`${baseClasses} rounded-l-none px-1.5 ${playButtonStyles}`}
+ >
+ <PlayIcon className="h-2.5 w-2.5 mt-0.5" />
+ </Button>
+ </Tooltip>
+ </div>
+ );
+ }
+
+ return (
+ <Button
+ variant="text"
+ size={size}
+ disabled={isLoading}
+ onClick={onAccept}
+ className={`${baseClasses} rounded px-3 ${buttonStyles}`}
+ >
+ Accept
+ {acceptShortcut && (
+ <MinimalHotkeys className="ml-1 inline" shortcut={acceptShortcut} />
+ )}
+ </Button>
+ );
+};
+
+export const RejectCompletionButton: React.FC<{
+ onDecline: () => void;
+ size?: "xs" | "sm";
+ className?: string;
+ declineShortcut?: string;
+}> = ({ onDecline, size = "sm", className, declineShortcut }) => {
+ return (
+ <Button
+ variant="text"
+ size={size}
+ onClick={onDecline}
+ className={`h-6 text-(--red-10) bg-(--red-3)/60 hover:bg-(--red-3)
+ dark:bg-(--red-4)/80 dark:hover:bg-(--red-3) rounded px-3 font-semibold
+ active:bg-(--red-5) dark:active:bg-(--red-4)
+ border-(--red-6) border hover:shadow-xs ${className}`}
+ >
+ Reject
+ {declineShortcut && (
+ <MinimalHotkeys className="ml-1 inline" shortcut={declineShortcut} />
+ )}
+ </Button>
+ );
+};
diff --git a/frontend/src/components/editor/cell/code/cell-editor.tsx b/frontend/src/components/editor/cell/code/cell-editor.tsx
index a422c97be9..b2ad540a91 100644
--- a/frontend/src/components/editor/cell/code/cell-editor.tsx
+++ b/frontend/src/components/editor/cell/code/cell-editor.tsx
@@ -434,6 +434,7 @@ const CellEditorInternal = ({
editorViewRef.current?.focus();
setAiCompletionCell(null);
})}
+ runCell={handleRunCell}
>
<div className="relative w-full" {...navigationProps}>
{showHideButton && (
diff --git a/frontend/src/components/ui/switch.tsx b/frontend/src/components/ui/switch.tsx
index d136e4ad21..8bf6ba6da4 100644
--- a/frontend/src/components/ui/switch.tsx
+++ b/frontend/src/components/ui/switch.tsx
@@ -12,6 +12,7 @@ const switchVariants = cva(
size: {
default: "h-6 w-11 mb-1",
sm: "h-4.5 w-8.5",
+ xs: "h-4 w-7",
},
},
defaultVariants: {
@@ -28,6 +29,7 @@ const switchThumbVariants = cva(
default:
"h-5 w-5 data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0",
sm: "h-3.5 w-3.5 data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0",
+ xs: "h-3 w-3 data-[state=checked]:translate-x-3 data-[state=unchecked]:translate-x-0",
},
},
defaultVariants: {
diff --git a/frontend/src/core/codemirror/language/languages/sql/sql.ts b/frontend/src/core/codemirror/language/languages/sql/sql.ts
index a904e381dc..9f8c8d6bfe 100644
--- a/frontend/src/core/codemirror/language/languages/sql/sql.ts
+++ b/frontend/src/core/codemirror/language/languages/sql/sql.ts
@@ -674,8 +674,10 @@ function sqlValidationExtension(): Extension {
let lastValidationRequest: string | null = null;
return EditorView.updateListener.of((update) => {
- // Only run validation if the document has changed and editor is focused
- if (!update.docChanged || !update.view.hasFocus) {
+ // Only run validation if the document has changed
+ // The extension only runs on keypress, so we don't need to check for focus
+ // This lets AI completions / external calls trigger validation
+ if (!update.docChanged) {
return;
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2b92f6c66c..bb80b6ed3a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -510,7 +510,7 @@ importers:
version: 2.2.2
'@codecov/vite-plugin':
specifier: ^1.9.1
'@csstools/postcss-light-dark-function':
specifier: ^2.0.10
version: 2.0.10([email protected])
@@ -519,13 +519,13 @@ importers:
version: 1.55.0
'@storybook/addon-docs':
specifier: ^9.1.8
'@storybook/addon-links':
specifier: ^9.1.8
'@storybook/react-vite':
specifier: ^9.1.8
'@swc-jotai/react-refresh':
specifier: ^0.3.0
version: 0.3.0
@@ -564,7 +564,7 @@ importers:
'@vitejs/plugin-react':
specifier: ^5.0.4
babel-plugin-react-compiler:
specifier: 19.1.0-rc.3
version: 19.1.0-rc.3
@@ -594,7 +594,7 @@ importers:
version: 1.3.0([email protected])
eslint-plugin-storybook:
specifier: ^9.0.14
eslint-plugin-unicorn:
specifier: ^54.0.0
version: 54.0.0([email protected])
@@ -627,7 +627,7 @@ importers:
version: 19.1.1([email protected])
storybook:
specifier: ^9.1.8
stylelint:
specifier: ^16.23.1
version: 16.23.1([email protected])
@@ -639,13 +639,13 @@ importers:
version: 4.1.13
vite:
specifier: npm:rolldown-vite@latest
vite-plugin-top-level-await:
specifier: ^1.6.0
vite-plugin-wasm:
specifier: ^3.5.0
vitest:
specifier: ^3.2.4
@@ -1906,8 +1906,8 @@ packages:
'@types/react':
optional: true
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-TBr9Cf9onSAS2LQ2+QHx6XcC6h9+RIzJgbqG3++9TUZSH204AwEy5jg3BTQ0VATsyoGj4ee49tN/y6rvaOOtcg==}
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-DXj75ewm11LIWUk198QSKUTxjyRjsBwk09MuMk5DGK+GDUtyPhhEHOGP/Xwwj3DjQXXkivoBirmOnKrLfc0+9g==}
resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}
@@ -1993,8 +1993,8 @@ packages:
resolution: {integrity: sha512-Z7x2dZOmznihvdvCvLKMl+nswtOSVxS2H2ocar+U9xx6iMfTp0VGIrX6a4xB1v80IwOPC7dT1LXIJrY70Xu3Jw==}
engines: {node: ^20.19.0 || >=22.12.0}
- '@oxc-project/[email protected]':
- resolution: {integrity: sha512-yNtwmWZIBtJsMr5TEfoZFDxIWV6OdScOpza/f5YxbqUMJk+j6QX3Cf3jgZShGEFYWQJ5j9mJ6jM0tZHu2J9Yrg==}
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-+UgQT/4o59cZfH6Cp7G0hwmqEQ0wE+AdIwhikdwnhWI9Dp8CgSY081+Q3O67/wq3VJu8mgUEB93J9EHHn70fOw==}
'@paralleldrive/[email protected]':
resolution: {integrity: sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==}
@@ -3257,85 +3257,85 @@ packages:
'@codemirror/state': 6.x.x
'@codemirror/view': 6.x.x
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-Edflndd9lU7JVhVIvJlZhdCj5DkhYDJPIRn4Dx0RUdfc8asP9xHOI5gMd8MesDDx+BJpdIT/uAmVTearteU/mQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-W5ZKF3TP3bOWuBfotAGp+UGjxOkGV7jRmIRbBA7NFjggx7Oi6vOmGDqpHEIX7kDCiry1cnIsWQaxNvWbMdkvzQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [android]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-XGCzqfjdk7550PlyZRTBKbypXrB7ATtXhw/+bjtxnklLQs0mKP/XkQVOKyn9qGKSlvH8I56JLYryVxl0PCvSNw==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-abw/wtgJA8OCgaTlL+xJxnN/Z01BwV1rfzIp5Hh9x+IIO6xOBfPsQ0nzi0+rWx3TyZ9FZXyC7bbC+5NpQ9EaXQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [darwin]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-Ho6lIwGJed98zub7n0xcRKuEtnZgbxevAmO4x3zn3C3N4GVXZD5xvCvTVxSMoeBJwTcIYzkVDRTIhylQNsTgLQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-Y/UrZIRVr8CvXVEB88t6PeC46r1K9/QdPEo2ASE/b/KBEyXIx+QbM6kv9QfQVWU2Atly2+SVsQzxQsIvuk3lZQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [darwin]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-ijAZETywvL+gACjbT4zBnCp5ez1JhTRs6OxRN4J+D6AzDRbU2zb01Esl51RP5/8ZOlvB37xxsRQ3X4YRVyYb3g==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-zRM0oOk7BZiy6DoWBvdV4hyEg+j6+WcBZIMHVirMEZRu8hd18kZdJkg+bjVMfCEhwpWeFUfBfZ1qcaZ5UdYzlQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [freebsd]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-EgIOZt7UildXKFEFvaiLNBXm+4ggQyGe3E5Z1QP9uRcJJs9omihOnm897FwOBQdCuMvI49iBgjFrkhH+wMJ2MA==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-6RjFaC52QNwo7ilU8C5H7swbGlgfTkG9pudXwzr3VYyT18s0C9gLg3mvc7OMPIGqNxnQ0M5lU8j6aQCk2DTRVg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-F8bUwJq8v/JAU8HSwgF4dztoqJ+FjdyjuvX4//3+Fbe2we9UktFeZ27U4lRMXF1vxWtdV4ey6oCSqI7yUrSEeg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-LMYHM5Sf6ROq+VUwHMDVX2IAuEsWTv4SnlFEedBnMGpvRuQ14lCmD4m5Q8sjyAQCgyha9oghdGoK8AEg1sXZKg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-MioXcCIX/wB1pBnBoJx8q4OGucUAfC1+/X1ilKFsjDK05VwbLZGRgOVD5OJJpUQPK86DhQciNBrfOKDiatxNmg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-/bNTYb9aKNhzdbPn3O4MK2aLv55AlrkUKPE4KNfBYjkoZUfDr4jWp7gsSlvTc5A/99V1RCm9axvt616ZzeXGyA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-m66M61fizvRCwt5pOEiZQMiwBL9/y0bwU/+Kc4Ce/Pef6YfoEkR28y+DzN9rMdjo8Z28NXjsDPq9nH4mXnAP0g==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-n/SLa4h342oyeGykZdch7Y3GNCNliRPL4k5wkeZ/5eQZs+c6/ZG1SHCJQoy7bZcmxiMyaXs9HoFmv1PEKrZgWg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-yRxlSfBvWnnfrdtJfvi9lg8xfG5mPuyoSHm0X01oiE8ArmLRvoJGHUTJydCYz+wbK2esbq5J4B4Tq9WAsOlP1Q==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-4PSd46sFzqpLHSGdaSViAb1mk55sCUMpJg+X8ittXaVocQsV3QLG/uydSH8RyL0ngHX5fy3D70LcCzlB15AgHw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-PHVxYhBpi8UViS3/hcvQQb9RFqCtvFmFU1PvUoTRiUdBtgHA6fONNHU4x796lgzNlVSD3DO/MZNk1s5/ozSMQg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-BmWoeJJyeZXmZBcfoxG6J9+rl2G7eO47qdTkAzEegj4n3aC6CBIHOuDcbE8BvhZaEjQR0nh0nJrtEDlt65Q7Sw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [openharmony]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-OAfcO37ME6GGWmj9qTaDT7jY4rM0T2z0/8ujdQIJQ2x2nl+ztO32EIwURfmXOK0U1tzkyuaKYvE34Pug/ucXlQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-2Ft32F7uiDTrGZUKws6CLNTlvTWHC33l4vpXrzUucf9rYtUThAdPCOt89Pmn13tNX6AulxjGEP2R0nZjTSW3eQ==}
engines: {node: '>=14.0.0'}
cpu: [wasm32]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-NIYGuCcuXaq5BC4Q3upbiMBvmZsTsEPG9k/8QKQdmrch+ocSy5Jv9tdpdmXJyighKqm182nh/zBt+tSJkYoNlg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-hC1kShXW/z221eG+WzQMN06KepvPbMBknF0iGR3VMYJLOe9gwnSTfGxFT5hf8XrPv7CEZqTWRd0GQpkSHRbGsw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [win32]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-kANdsDbE5FkEOb5NrCGBJBCaZ2Sabp3D7d4PRqMYJqyLljwh9mDyYyYSv5+QNvdAmifj+f3lviNEUUuUZPEFPw==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-AICBYromawouGjj+GS33369E8Vwhy6UwhQEhQ5evfS8jPCsyVvoICJatbDGDGH01dwtVGLD5eDFzPicUOVpe4g==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ia32]
os: [win32]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-UlpxKmFdik0Y2VjZrgUCgoYArZJiZllXgIipdBRV1hw6uK45UbQabSTW6Kp6enuOu7vouYWftwhuxfpE8J2JAg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-XpZ0M+tjoEiSc9c+uZR7FCnOI0uxDRNs1elGOMjeB0pUP1QmvVbZGYNsyLbLoP4u7e3VQN8rie1OQ8/mB6rcJg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [win32]
@@ -3343,8 +3343,8 @@ packages:
'@rolldown/[email protected]':
resolution: {integrity: sha512-N/ICGKleNhA5nc9XXQG/kkKHJ7S55u0x0XUJbbkmdCnFuoRkM1Il12q9q0eX19+M7KKUEPw/daUPIRnxhcxAIw==}
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-ycMEPrS3StOIeb87BT3/+bu+blEtyvwQ4zmo2IcJQy0Rd1DAAhKksA0iUZ3MYSpJtjlPhg0Eo6mvVS6ggPhRbw==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-N7pQzk9CyE7q0bBN/q0J8s6Db279r5kUZc6d7/wWRe9/zXqC52HQovVyu6iXPIDY4BEzzgbVLhVFXrOuGJ22ZQ==}
'@rollup/[email protected]':
resolution: {integrity: sha512-10monEYsBp3scM4/ND4LNH5Rxvh3e/cVeL3jWTgZ2SrQ+BmUoQcopVQvnaMcOnykb1VkxUFuDAN+0FnpTFRy2A==}
@@ -8650,8 +8650,8 @@ packages:
resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==}
- resolution: {integrity: sha512-3Vc9x/pnTBjTD2e5sQiVFOvZlouQBSvuxYhlQPUyNoNPSShs6LN/65eKnJsTj9vZDZju/YjMZ5ZPrbOW/n4FDA==}
+ resolution: {integrity: sha512-cK6tCmZyEC0KRAcXTjQ+ara+wkqmaE7WUoI0ZfZzDuvaRaZ3mtvbhTJc4cH+PjKRok++++Z1bZZaNlf3+SnnGA==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
peerDependencies:
@@ -8690,8 +8690,8 @@ packages:
yaml:
optional: true
- resolution: {integrity: sha512-U+NPR0Bkg3wm61dteD2L4nAM1U9dtaqVrpDXwC36IKRHpEO/Ubpid4Nijpa2imPchcVNHfxVFwSSMJdwdGFUbg==}
+ resolution: {integrity: sha512-xaPcckj+BbJhYLsv8gOqezc8EdMcKKe/gk8v47B0KPvgABDrQ0qmNPAiT/gh9n9Foe0bUkEv2qzj42uU5q1WRg==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
@@ -10582,11 +10582,11 @@ snapshots:
unplugin: 1.16.1
zod: 3.25.76
dependencies:
'@codecov/bundler-plugin-core': 1.9.1
unplugin: 1.16.1
'@codemirror/[email protected]':
dependencies:
@@ -11332,12 +11332,12 @@ snapshots:
dependencies:
'@sinclair/typebox': 0.27.8
dependencies:
glob: 10.4.5
magic-string: 0.30.18
react-docgen-typescript: 2.4.0([email protected])
optionalDependencies:
typescript: 5.9.2
@@ -11676,7 +11676,7 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.12
- '@napi-rs/[email protected]':
+ '@napi-rs/[email protected]':
dependencies:
'@emnapi/core': 1.5.0
'@emnapi/runtime': 1.5.0
@@ -11779,7 +11779,7 @@ snapshots:
'@oxc-project/[email protected]': {}
- '@oxc-project/[email protected]': {}
+ '@oxc-project/[email protected]': {}
'@paralleldrive/[email protected]':
dependencies:
@@ -13628,53 +13628,53 @@ snapshots:
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.2
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
dependencies:
- '@napi-rs/wasm-runtime': 1.0.5
+ '@napi-rs/wasm-runtime': 1.0.6
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]': {}
- '@rolldown/[email protected]': {}
+ '@rolldown/[email protected]': {}
optionalDependencies:
@@ -13794,36 +13794,36 @@ snapshots:
'@standard-schema/[email protected]': {}
dependencies:
'@mdx-js/react': 3.1.0(@types/[email protected])([email protected])
react: 19.1.1
react-dom: 19.1.1([email protected])
ts-dedent: 2.2.0
transitivePeerDependencies:
- '@types/react'
dependencies:
'@storybook/global': 5.0.0
optionalDependencies:
react: 19.1.1
dependencies:
ts-dedent: 2.2.0
dependencies:
unplugin: 1.16.1
'@storybook/[email protected]': {}
@@ -13833,39 +13833,39 @@ snapshots:
react: 19.1.1
react-dom: 19.1.1([email protected])
dependencies:
react: 19.1.1
react-dom: 19.1.1([email protected])
dependencies:
'@rollup/pluginutils': 5.2.0([email protected])
find-up: 7.0.0
magic-string: 0.30.18
react: 19.1.1
react-docgen: 8.0.0
react-dom: 19.1.1([email protected])
resolve: 1.22.10
tsconfig-paths: 4.2.0
transitivePeerDependencies:
- rollup
- supports-color
- typescript
dependencies:
'@storybook/global': 5.0.0
react: 19.1.1
react-dom: 19.1.1([email protected])
optionalDependencies:
typescript: 5.9.2
@@ -14627,7 +14627,7 @@ snapshots:
'@connectrpc/connect': 1.6.1(@bufbuild/[email protected])
'@connectrpc/connect-web': 1.6.1(@bufbuild/[email protected])(@connectrpc/[email protected](@bufbuild/[email protected]))
dependencies:
'@babel/core': 7.28.4
'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])
@@ -14635,7 +14635,7 @@ snapshots:
'@rolldown/pluginutils': 1.0.0-beta.38
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
transitivePeerDependencies:
- supports-color
@@ -14653,14 +14653,14 @@ snapshots:
chai: 5.2.1
tinyrainbow: 2.0.0
dependencies:
'@vitest/spy': 3.2.4
estree-walker: 3.0.3
magic-string: 0.30.18
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -16338,11 +16338,11 @@ snapshots:
eslint: 8.57.1
globals: 13.24.0
dependencies:
'@typescript-eslint/utils': 8.37.0([email protected])([email protected])
eslint: 8.57.1
transitivePeerDependencies:
- supports-color
- typescript
@@ -19935,14 +19935,14 @@ snapshots:
dependencies:
'@oxc-project/runtime': 0.92.0
fdir: 6.5.0([email protected])
lightningcss: 1.30.2
picomatch: 4.0.3
postcss: 8.5.6
- rolldown: 1.0.0-beta.41
+ rolldown: 1.0.0-beta.42
tinyglobby: 0.2.15
optionalDependencies:
'@types/node': 24.3.1
@@ -19952,26 +19952,26 @@ snapshots:
terser: 5.44.0
yaml: 2.8.1
dependencies:
- '@oxc-project/types': 0.93.0
- '@rolldown/pluginutils': 1.0.0-beta.41
+ '@oxc-project/types': 0.94.0
+ '@rolldown/pluginutils': 1.0.0-beta.42
ansis: 4.2.0
optionalDependencies:
- '@rolldown/binding-android-arm64': 1.0.0-beta.41
- '@rolldown/binding-darwin-arm64': 1.0.0-beta.41
- '@rolldown/binding-darwin-x64': 1.0.0-beta.41
- '@rolldown/binding-freebsd-x64': 1.0.0-beta.41
- '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.41
- '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.41
- '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.41
- '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.41
- '@rolldown/binding-linux-x64-musl': 1.0.0-beta.41
- '@rolldown/binding-openharmony-arm64': 1.0.0-beta.41
- '@rolldown/binding-wasm32-wasi': 1.0.0-beta.41
- '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.41
- '@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.41
- '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.41
+ '@rolldown/binding-android-arm64': 1.0.0-beta.42
+ '@rolldown/binding-darwin-arm64': 1.0.0-beta.42
+ '@rolldown/binding-darwin-x64': 1.0.0-beta.42
+ '@rolldown/binding-freebsd-x64': 1.0.0-beta.42
+ '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.42
+ '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.42
+ '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.42
+ '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.42
+ '@rolldown/binding-linux-x64-musl': 1.0.0-beta.42
+ '@rolldown/binding-openharmony-arm64': 1.0.0-beta.42
+ '@rolldown/binding-wasm32-wasi': 1.0.0-beta.42
+ '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.42
+ '@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.42
+ '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.42
dependencies:
@@ -20292,13 +20292,13 @@ snapshots:
es-errors: 1.3.0
internal-slot: 1.1.0
dependencies:
'@storybook/global': 5.0.0
'@testing-library/jest-dom': 6.8.0
'@testing-library/user-event': 14.6.1(@testing-library/[email protected])
'@vitest/expect': 3.2.4
'@vitest/spy': 3.2.4
better-opn: 3.0.2
esbuild: 0.25.9
@@ -21478,7 +21478,7 @@ snapshots:
debug: 4.4.1([email protected])
es-module-lexer: 1.7.0
pathe: 2.0.3
transitivePeerDependencies:
- '@types/node'
- esbuild
@@ -21493,26 +21493,26 @@ snapshots:
- tsx
- yaml
dependencies:
'@rollup/plugin-virtual': 3.0.2([email protected])
'@swc/core': 1.12.14(@swc/[email protected])
'@swc/wasm': 1.13.2
uuid: 10.0.0
transitivePeerDependencies:
- '@swc/helpers'
- rollup
dependencies:
dependencies:
'@types/chai': 5.2.2
'@vitest/expect': 3.2.4
'@vitest/pretty-format': 3.2.4
'@vitest/runner': 3.2.4
'@vitest/snapshot': 3.2.4
@@ -21530,7 +21530,7 @@ snapshots:
tinyglobby: 0.2.15
tinypool: 1.1.1
tinyrainbow: 2.0.0
why-is-node-running: 2.3.0
optionalDependencies: