Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore(ui): retire V3 migration ledger and audit scaffolding

andrewhuhh843efddbaf51
diff --git a/.greptile/config.json b/.greptile/config.json
index dfc8a73f0d..e8345af480 100644
--- a/.greptile/config.json
+++ b/.greptile/config.json
@@ -22,7 +22,7 @@
},
{
"id": "no-design-system-style-overrides",
- "rule": "New UI must not override or deviate from the default styling of v3 design-system components (frontend/src/components/v3). Follow DESIGN.md. Flag: legacy v2 color tokens (e.g. mineshaft-*, bunker-*) instead of semantic tokens like bg-org or text-danger; casing changes such as uppercase text; className overrides of component defaults like height or border; and hex colors not defined in frontend/src/index.css. Inline styling must be a deliberate exception, not a default. If the same inline style is repeated across call sites, suggest a new component variant or a component update instead. Do not use v2 components for new code when a v3 equivalent exists.",
+ "rule": "New UI must not override or deviate from the default styling of v3 design-system components (frontend/src/components/v3). Follow DESIGN.md. Flag: legacy palette color tokens (e.g. mineshaft-*, bunker-*) instead of semantic tokens like bg-org or text-danger; casing changes such as uppercase text; className overrides of component defaults like height or border; and hex colors not defined in frontend/src/index.css. Inline styling must be a deliberate exception, not a default. If the same inline style is repeated across call sites, suggest a new component variant or a component update instead.",
"severity": "medium",
"scope": ["frontend/src/**"]
},
diff --git a/AGENTS.md b/AGENTS.md
index 1611242721..3adcc82f15 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -206,9 +206,9 @@ Run `make lint-docs-branch` after any change under `docs/` (or `make lint-docs`
When building frontend UI, follow [DESIGN.md](DESIGN.md) for the v3 design system — colors, typography, components, and voice.
-Before changing a shared frontend component's lifecycle, read the [shared component lifecycle ledger](frontend/src/components/COMPONENT_LIFECYCLE.md) for current deprecations, blockers, and replacement decisions.
+Before deprecating or removing a shared frontend component, follow the component lifecycle rules in [`frontend/AGENTS.md`](frontend/AGENTS.md).
-Pickers for entities a user may need to create first (app connections, gateways, and similar) must offer an inline "Create new X" row, gated on the create permission, so the user never has to leave the flow. Build them with the v3 `Combobox` and its `creation` prop, which renders that row; `Combobox` replaces both the deprecated `FilterableSelect` and `CreatableSelect`. For app connections, use `creation.mode = "dialog"` and have `renderForm` render `AppConnectionForm` with the app preset, selecting the new connection and calling `complete` in its `onComplete`, and route `onDismiss` and the form's cancel through `useDiscardChangesGuard` (see `CaInstallCertModal/useConnectionCreation.tsx`). A v2 `Modal` parent sits at `z-[60]`, above v3 overlays, so migrate it to the v3 `Dialog` when it hosts one (see `CaInstallCertModal/CaInstallCertModal.tsx`).
+Pickers for entities a user may need to create first (app connections, gateways, and similar) must offer an inline "Create new X" row, gated on the create permission, so the user never has to leave the flow. Build them with the v3 `Combobox` and its `creation` prop, which renders that row. For app connections, use `creation.mode = "dialog"` and have `renderForm` render `AppConnectionForm` with the app preset, selecting the new connection and calling `complete` in its `onComplete`, and route `onDismiss` and the form's cancel through `useDiscardChangesGuard` (see `CaInstallCertModal/useConnectionCreation.tsx`).
## Issue and PR Guidelines
diff --git a/DESIGN.md b/DESIGN.md
index 738a6362c1..47b2135692 100644
--- a/DESIGN.md
+++ b/DESIGN.md
@@ -161,9 +161,8 @@ labels, and dropdown menu items. See §8 for voice rules on copy itself.
## 4. Component Stylings
Use v3 components from [`frontend/src/components/v3/`](frontend/src/components/v3)
-for all UI. The v2 library has been removed; see the
-[lifecycle ledger](frontend/src/components/COMPONENT_LIFECYCLE.md) for
-deprecated v3 components and their replacements.
+for all UI. A deprecated API carries an `@deprecated` tag that names its
+replacement.
For exact tokens, classes, and supported variants, read component source and
the story when present; stories may not enumerate every implemented variant.
@@ -215,7 +214,7 @@ specialized primitives not listed here (for example `CodeBlock`, `CopyButton`,
| [`Toggle`](frontend/src/components/v3/generic/Toggle/Toggle.tsx) / [`Checkbox`](frontend/src/components/v3/generic/Checkbox/Checkbox.tsx) | Boolean toggle / multi-select boolean. |
| [`Calendar`](frontend/src/components/v3/generic/Calendar/Calendar.tsx) | Date / multi-date / range picker primitive. |
| [`DateRangeFilter`](frontend/src/components/v3/platform/DateRangeFilter/DateRangeFilter.tsx) | Platform date-range filter with presets — for filter bars. |
-| [`SecretInput`](frontend/src/components/v3/platform/SecretInput/SecretInput.tsx) | Platform secret-value editor with mask toggle and `${var}` highlighting. |
+| [`SecretInput`](frontend/src/components/v3/platform/SecretInput/SecretInput.tsx) | Platform secret-value editor with masking and `${var}` highlighting; callers own any reveal toggle. |
| [`PasswordGenerator`](frontend/src/components/v3/platform/PasswordGenerator/PasswordGenerator.tsx) | Platform password generator against project secret-validation rules. |
| [`EmailInput`](frontend/src/components/v3/platform/EmailInput/EmailInput.tsx) | Platform chip field for one or more free-text email addresses. Validate it with `emailListSchema` from `@app/helpers/email`; check single addresses or picker-created invitees with `isValidEmail` rather than a local regex or `z.string().email()`. |
@@ -469,7 +468,7 @@ Pasteable prompt fragments for AI coding agents producing new UI.
4. **Adding a variant** — extend the `cva()` block in the component and add
a story when appropriate. Match the existing variant family rather than
imposing a tint recipe on neutral, outline, or product variants.
-5. **Use v3.** The v2 library has been removed. Check the lifecycle ledger
- before reaching for a deprecated v3 component.
+5. **Use v3.** Don't reach for an API marked `@deprecated`; use the
+ replacement it names.
6. **Before merging** — `make reviewable-ui` (lint + type-check).
7. **When in doubt** — mirror `OverviewPage`.
diff --git a/frontend/AGENTS.md b/frontend/AGENTS.md
index 3a9d86fa9c..625dace16f 100644
--- a/frontend/AGENTS.md
+++ b/frontend/AGENTS.md
@@ -36,8 +36,8 @@ Middleware pages in `src/pages/middlewares/`: `authenticate.tsx` (auth guard + r
- **`src/pages/`** — Route-level components organized by product feature (secret-manager, cert-manager, kms, pam, secret-scanning, organization, project, admin, auth). Each has `route.tsx` + page component + local `components/`.
- **`src/views/`** — Reusable page-level UI composed into multiple pages. Pages import views with configuration props.
-- **`src/components/v3/`** — Latest shared UI component library (preferred). Contains `generic/` (Accordion, Alert, Button, Dialog, Select, Table, etc.) and `platform/` (domain-specific components such as `PageHeader`, scope icons, `ProjectPermissionSubjects`, and `SecretManagerResources`). **Always use v3 components.** The v2 library has been removed. Policy group tiles look up `getProjectPermissionSubjectPresentation`. Secret Manager overview resources (name/slug/icon/color) come from `SecretManagerResources`, which points at that subject catalog.
-- **Navigable rows and cards** — A table row, card or command item that opens a page is a real link, so cmd/ctrl+click, middle-click and "Open link in new tab" work: set `linked` on `TableRow` or `Card` and put a `RowLink` in the main cell (`CommandItemLink` inside a `CommandItem`). Never navigate from a row's `onClick`. Controls inside a linked row are lifted above the link automatically; mark a non-interactive tooltip anchor (a badge) with `data-row-interactive`. Certificate Manager and Secret Scanning URLs have no project id, so links into a specific instance go through `getInstancePinningLink` (`helpers/project.ts`), whose legacy URL redirect pins the instance in the new tab.
+- **`src/components/v3/`** — Latest shared UI component library (preferred). Contains `generic/` (Accordion, Alert, Button, Dialog, Select, Table, etc.) and `platform/` (domain-specific components such as `PageHeader`, scope icons, `ProjectPermissionSubjects`, and `SecretManagerResources`). **Always use v3 components.** Policy group tiles look up `getProjectPermissionSubjectPresentation`. Secret Manager overview resources (name/slug/icon/color) come from `SecretManagerResources`, which points at that subject catalog.
+- **Navigable rows and cards** — A table row, card or command item that opens a page is a real link, so cmd/ctrl+click, middle-click and "Open link in new tab" work: set `linked` on `TableRow` or `Card` and put a `RowLink` in the main cell (`CommandItemLink` inside a `CommandItem`). Never navigate from a row's `onClick`. Controls inside a linked row are lifted above the link automatically; mark a non-interactive tooltip anchor (a badge) with `data-row-interactive`. Certificate Manager and Secret Scanning URLs have no project id, so links into a specific instance go through `getInstancePinningLink` (`helpers/project.ts`), whose legacy URL redirect pins the instance in the new tab. When you touch a row that still navigates from `onClick`, move it onto `linked`. See the Table "Example: Linked Rows" story.
### API Layer (React Query + Axios)
@@ -119,4 +119,6 @@ Secret Scanning has one active project per org (see the root `AGENTS.md`). Membe
- Forms use `react-hook-form` with `@hookform/resolvers` (Zod schemas).
- Search params validated with `zodValidator()` from `@tanstack/zod-adapter`.
- Toasts: call `createNotification({ title?, text, type, callToAction?, copyActions? })` from `@app/components/notifications`. Backed by **sonner** (the v3 `Toaster` in `components/v3/generic/Toast`), mounted once via `NotificationContainer` in `pages/root.tsx`. `react-toastify` has been removed, so do not reintroduce it.
+- Overlays: `DialogContent`, `SheetContent`, `AlertDialogContent`, and `ConfirmationAlertDialog` own dismissal, focus, and pending behavior, so callers add no Escape, outside-click, focus-return, or stacking code. Compose every Dialog and Sheet as header, body, and footer as in their stories, with actions (including wizard navigation) in `DialogFooter` or `SheetFooter` rather than a hand-rolled bordered row. A nested popup (`Combobox`, `Select`, `DropdownMenu`, `Tooltip`, `HoverCard`, `Popover`) takes the first Escape or outside click and the next one reaches the overlay, so keep `onEscapeKeyDown` only for product behavior such as a discard guard. Pass the submit or parent mutation's pending state as `isPending` on the content and the submit `Button` instead of guarding `onOpenChange`; while it is true, Escape, outside clicks, the close button, and every `DialogClose` or `SheetClose` are inert. A plain `AlertDialog` with `confirmationValue` locks the same way when given `isPending`. Closing returns focus to the opener, or to a `DropdownMenu` trigger when one of its items opened the overlay, so add no refs or `onCloseAutoFocus` handlers and no `autoFocus` inside the overlay: `autoFocus` moves focus before the overlay records its opener, and the overlay already focuses the first field. Keep the caller's `reset()` or state clearing on close. `ConfirmationAlertDialog` is the typed-confirmation pattern: it resets the typed value on open and close, submits on Enter only when it matches `confirmKey`, locks while `onConfirm` is in flight, and stays open when `onConfirm` rejects so the global mutation error toast reports the failure. When `onConfirm` opens a second dialog instead of closing, check that dialog's focus return. See the Dialog "Example: Nested Popups and Pending Close" story and the `Combobox` creation stories.
+- Component lifecycle: deprecate a shared component or prop with `@deprecated` on the exported API, naming the supported replacement and any limits, and tag its Storybook metadata `deprecated` when a story exists. Search `src/components` for `@deprecated` to find current deprecations. Keep deprecation, consumer migration, and removal as separate changes unless the task combines them, and do not add a second component library beside `components/v3`.
- Unsaved changes: use `useDiscardChangesGuard` with `DiscardChangesAlertDialog` when dismissing an overlay editor would remove unsaved form changes. Wire dismiss/close to `requestDiscard`. Do not use `window.confirm`. Do not use `useNavigationBlocker` — that hook is secrets batch-mode only.
diff --git a/frontend/scripts/audit-v2-ui.mjs b/frontend/scripts/audit-v2-ui.mjs
deleted file mode 100644
index 1c122bf631..0000000000
--- a/frontend/scripts/audit-v2-ui.mjs
+++ /dev/null
@@ -1,263 +0,0 @@
-import { execFileSync } from "node:child_process";
-import { existsSync, readFileSync } from "node:fs";
-import path from "node:path";
-import { fileURLToPath } from "node:url";
-import picomatch from "picomatch";
-import ts from "typescript";
-
-const frontend = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
-const root = path.resolve(frontend, "..");
-const relative = (file) => path.relative(root, file).split(path.sep).join("/");
-const tracked = execFileSync(
- "git",
- ["ls-files", "--cached", "--others", "--exclude-standard", "-z", "--", "frontend"],
- { cwd: root, encoding: "utf8", maxBuffer: 16 * 1024 * 1024 }
-)
- .split("\0")
- .filter((file) => file && existsSync(path.join(root, file)));
-const sourcePaths = tracked.filter(
- (file) => file.startsWith("frontend/") && /\.[cm]?[jt]sx?$/.test(file)
-);
-const configPath = path.join(frontend, "tsconfig.app.json");
-const config = ts.readConfigFile(configPath, ts.sys.readFile);
-if (config.error) throw new Error(ts.flattenDiagnosticMessageText(config.error.messageText, "\n"));
-const parsed = ts.parseJsonConfigFileContent(config.config, ts.sys, frontend);
-if (parsed.errors.length) {
- throw new Error(
- parsed.errors
- .map((error) => ts.flattenDiagnosticMessageText(error.messageText, "\n"))
- .join("\n")
- );
-}
-const resolveSourcePath = (specifier, sourceFile) => {
- const appPath = parsed.options.paths?.["@app/*"]?.[0];
- if (specifier.startsWith("@app/") && appPath)
- return path.resolve(frontend, appPath.replace("*", specifier.slice(5)));
- if (specifier.startsWith("/")) return path.resolve(frontend, `.${specifier}`);
- if (specifier.startsWith(".")) return path.resolve(path.dirname(sourceFile), specifier);
- return null;
-};
-const program = ts.createProgram(
- sourcePaths.map((file) => path.join(root, file)),
- {
- ...parsed.options,
- allowJs: true,
- checkJs: false,
- incremental: false
- }
-);
-const checker = program.getTypeChecker();
-const legacyPrefix = "frontend/src/components/v2/";
-const legacyFiles = tracked.filter((file) => file.startsWith(legacyPrefix));
-const families = [
- ...new Set(legacyFiles.map((file) => file.slice(legacyPrefix.length).split("/")[0]))
-]
- .filter((name) => !name.includes("."))
- .sort();
-const edges = [];
-const computedImports = [];
-const literalGlobs = [];
-
-for (const sourcePath of sourcePaths) {
- const source = program.getSourceFile(path.join(root, sourcePath));
- if (!source) throw new Error(`Could not parse ${sourcePath}`);
- const location = (node) =>
- `${sourcePath}:${source.getLineAndCharacterOfPosition(node.getStart(source)).line + 1}`;
- const origin = (name) => {
- let symbol = checker.getSymbolAtLocation(name);
- if (symbol?.flags & ts.SymbolFlags.Alias) symbol = checker.getAliasedSymbol(symbol);
- return [
- ...new Set(
- (symbol?.declarations ?? []).map((declaration) =>
- relative(declaration.getSourceFile().fileName)
- )
- )
- ];
- };
- const addEdge = (node, specifier, kind, bindings = []) => {
- const resolved = ts.resolveModuleName(
- specifier,
- source.fileName,
- parsed.options,
- ts.sys
- ).resolvedModule;
- const target = resolved ? relative(resolved.resolvedFileName) : null;
- const candidate = resolveSourcePath(specifier, source.fileName);
- const candidatePath = candidate ? relative(candidate) : null;
- if (
- target?.startsWith(legacyPrefix) ||
- candidatePath === legacyPrefix.slice(0, -1) ||
- candidatePath?.startsWith(legacyPrefix) ||
- bindings.some((binding) => binding.origins.some((file) => file.startsWith(legacyPrefix))) ||
- specifier.includes("components/v2")
- ) {
- edges.push({
- source: sourcePath,
- location: location(node),
- kind,
- specifier,
- target,
- bindings
- });
- }
- };
- const visit = (node) => {
- if (ts.isImportDeclaration(node) && ts.isStringLiteralLike(node.moduleSpecifier)) {
- const clause = node.importClause;
- const names = clause?.namedBindings;
- const bindings = [];
- if (clause?.name)
- bindings.push({
- imported: "default",
- local: clause.name.text,
- typeOnly: clause.isTypeOnly,
- origins: origin(clause.name)
- });
- if (names && ts.isNamespaceImport(names))
- bindings.push({
- imported: "*",
- local: names.name.text,
- typeOnly: clause.isTypeOnly,
- origins: origin(names.name)
- });
- if (names && ts.isNamedImports(names)) {
- for (const item of names.elements)
- bindings.push({
- imported: (item.propertyName ?? item.name).text,
- local: item.name.text,
- typeOnly: clause.isTypeOnly || item.isTypeOnly,
- origins: origin(item.name)
- });
- }
- addEdge(node, node.moduleSpecifier.text, "import", bindings);
- } else if (
- ts.isExportDeclaration(node) &&
- node.moduleSpecifier &&
- ts.isStringLiteralLike(node.moduleSpecifier)
- ) {
- addEdge(node, node.moduleSpecifier.text, "export");
- } else if (
- ts.isImportEqualsDeclaration(node) &&
- ts.isExternalModuleReference(node.moduleReference) &&
- node.moduleReference.expression &&
- ts.isStringLiteralLike(node.moduleReference.expression)
- ) {
- addEdge(node, node.moduleReference.expression.text, "import-equals");
- } else if (
- ts.isImportTypeNode(node) &&
- ts.isLiteralTypeNode(node.argument) &&
- ts.isStringLiteralLike(node.argument.literal)
- ) {
- addEdge(node, node.argument.literal.text, "import-type");
- } else if (
- ts.isCallExpression(node) &&
- (node.expression.kind === ts.SyntaxKind.ImportKeyword ||
- (ts.isIdentifier(node.expression) && node.expression.text === "require") ||
- (ts.isPropertyAccessExpression(node.expression) &&
- node.expression.getText(source).startsWith("import.meta.glob")))
- ) {
- const argument = node.arguments[0];
- if (argument && node.expression.getText(source).startsWith("import.meta.glob")) {
- const literals = ts.isStringLiteralLike(argument)
- ? [argument]
- : ts.isArrayLiteralExpression(argument) && argument.elements.every(ts.isStringLiteralLike)
- ? argument.elements
- : null;
- const baseOption =
- node.arguments[1] && ts.isObjectLiteralExpression(node.arguments[1])
- ? node.arguments[1].properties.some(
- (property) =>
- ts.isSpreadAssignment(property) ||
- (property.name &&
- ((!ts.isIdentifier(property.name) && !ts.isStringLiteralLike(property.name)) ||
- property.name.text === "base"))
- )
- : Boolean(node.arguments[1] && !ts.isObjectLiteralExpression(node.arguments[1]));
- const patterns = literals?.map((literal) => {
- const negative = literal.text.startsWith("!");
- const pattern = negative ? literal.text.slice(1) : literal.text;
- const resolved = resolveSourcePath(pattern, source.fileName);
- return resolved ? { negative, pattern: relative(resolved) } : null;
- });
- if (!patterns || patterns.some((pattern) => !pattern) || baseOption) {
- computedImports.push({ location: location(node), expression: node.getText(source) });
- } else {
- const included = patterns.filter((pattern) => !pattern.negative);
- const excluded = patterns.filter((pattern) => pattern.negative);
- const matches = tracked.filter(
- (file) =>
- included.some((pattern) => picomatch.isMatch(file, pattern.pattern)) &&
- !excluded.some((pattern) => picomatch.isMatch(file, pattern.pattern))
- );
- literalGlobs.push({ location: location(node), patterns, matches });
- for (const target of matches.filter((file) => file.startsWith(legacyPrefix))) {
- edges.push({
- source: sourcePath,
- location: location(node),
- kind: "glob",
- specifier: argument.getText(source),
- target,
- bindings: []
- });
- }
- for (const pattern of included.filter((item) => item.pattern.startsWith(legacyPrefix))) {
- if (!matches.some((file) => file.startsWith(legacyPrefix)))
- edges.push({
- source: sourcePath,
- location: location(node),
- kind: "glob",
- specifier: pattern.pattern,
- target: null,
- bindings: []
- });
- }
- }
- } else if (argument && ts.isStringLiteralLike(argument))
- addEdge(node, argument.text, node.expression.getText(source));
- else computedImports.push({ location: location(node), expression: node.getText(source) });
- }
- ts.forEachChild(node, visit);
- };
- visit(source);
-}
-
-const outsideLegacy = ["frontend/src/legacy.css"].filter((file) =>
- existsSync(path.join(root, file))
-);
-const result = {
- head: execFileSync("git", ["rev-parse", "HEAD"], { cwd: root, encoding: "utf8" }).trim(),
- workingTree: execFileSync("git", ["status", "--porcelain"], {
- cwd: root,
- encoding: "utf8"
- }).trim()
- ? "modified"
- : "clean",
- typescript: ts.version,
- sourceFiles: sourcePaths.length,
- legacyFiles,
- families,
- externalConsumerFiles: [
- ...new Set(
- edges
- .filter((edge) => edge.kind !== "export" && !edge.source.startsWith(legacyPrefix))
- .map((edge) => edge.source)
- )
- ].sort(),
- v3Ingress: edges.filter((edge) => edge.source.startsWith("frontend/src/components/v3/")),
- edges,
- computedImports,
- literalGlobs,
- outsideLegacy,
- compatibilitySelectors: tracked.filter((file) =>
- file.startsWith("frontend/src/components/v3/generic/ReactSelect/")
- ),
- legacyPaletteBytes: existsSync(path.join(root, "frontend/src/legacy.css"))
- ? readFileSync(path.join(root, "frontend/src/legacy.css")).length
- : 0
-};
-console.log(JSON.stringify(result, null, 2));
-if (
- process.argv.includes("--assert-zero") &&
- (legacyFiles.length || edges.length || outsideLegacy.length || computedImports.length)
-)
- process.exitCode = 1;
diff --git a/frontend/src/components/COMPONENT_LIFECYCLE.md b/frontend/src/components/COMPONENT_LIFECYCLE.md
deleted file mode 100644
index bf73e236c2..0000000000
--- a/frontend/src/components/COMPONENT_LIFECYCLE.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# Shared component lifecycle ledger
-
-This ledger records lifecycle decisions that aren't obvious from component source or Storybook. Use the V3 barrel exports to find the current component catalog, and use V3 stories as the API and usage reference. A component not listed here has no special lifecycle decision recorded.
-
-The [V3 migration ledger](V3_MIGRATION.md) tracks source removal, coverage, and validation. A blocked replacement is work to complete, not a permanent exemption. Keep supported behavior until its replacement is verified; completion requires deleting the legacy implementation and export surface.
-
-## V2
-
-| Components | Status | Direction |
-| --- | --- | --- |
-| All V2 families and the `@app/components/v2` root barrel | Removed | Deleted the remaining `Accordion`, `Alert`, `Button`, `Card`, `Checkbox`, `ContentLoader`, `CopyButton`, `Dropdown`, `EmptyState`, `FilterableSelect`, `FormControl`, `GenericFieldLabel`, `IconButton`, `Input`, `Modal`, `Pagination`, `Select`, `Skeleton`, `Spinner`, `Table`, `Tabs`, `Tag`, `TextArea`, and `Tooltip` implementations with the `components/v2` folder. At `e434f2fdfdd608f97cd4041af84062991d2645cf` their only external consumer was the root `TooltipProvider`, which now uses the V3 provider. Use the V3 replacements in the [V3 migration ledger](V3_MIGRATION.md#family-coverage); don't reintroduce V2 sources or imports. |
-
-Earlier removals: `ConfirmActionModal`, `DeleteActionModal`, `HoverCardv2`, `SecretInput`, and `Switch` (no consumers at `becbf4813816bb3686111b2537009201b0a90c81`), `SecretPathInput`, `NoticeBannerV2`, and the 2026-10-04 first wave (`Blur`, `CreatableSelect`, `DatePicker`, `Divider`, `Drawer`, `Editor`, `FontAwesomeSymbol`, `HeaderResizer`, `HighlightText` re-export, `HoverCard`, `NoticeBanner`, `PasswordGenerator`, `Popover`, `Popoverv2`, `RadioGroup`, `Slider`, `Stepper`). The canonical shared `utilities/HighlightText` remains.
-
-## V3
-
-| Components | Status | Direction |
-| ------------------------------ | ---------- | --------------------------------------------------------------------- |
-| `PageHeader` | Supported | Owns the normal 40px bottom boundary (`mb-10`). Remove header-boundary parent gaps and redundant caller margins when adopting it; preserve independent body/card spacing in body containers. `className` supports intentional compact/responsive boundaries. See its spacing stories. |
-| `TableRow linked`, `Card linked`, `RowLink`, `CommandItemLink` | Supported | The way to make a row, card or command item navigate. `linked` positions the container and lifts its controls above the `RowLink` overlay, so cmd/ctrl+click, middle-click and "Open link in new tab" work without per-control `relative z-10`. Don't navigate from a row's `onClick`. For Certificate Manager and Secret Scanning destinations, build the link with `getInstancePinningLink` (`helpers/project.ts`) so a new tab opens the right instance. Move rows that still navigate from `onClick` onto it when you touch them. See the Table "Linked Rows" story. |
-| `ReactSelect/FilterableSelect`, `ReactSelect/CreatableSelect` | Removed | Deleted the compatibility directory and its `generic/index.ts` export. No consumers remained at `e434f2fdfdd608f97cd4041af84062991d2645cf`. Use `Combobox`, with inline `creation` for values needing no metadata or dialog `creation` for caller-owned forms and persistence. |
-
-## Updating the ledger
-
-- Add `@deprecated` to the exported API with a supported replacement and any migration limits.
-- Add the `deprecated` tag to the component's Storybook metadata when a story exists.
-- Keep deprecation, consumer migration, and removal as separate changes unless the task explicitly combines them.
diff --git a/frontend/src/components/V3_MIGRATION.md b/frontend/src/components/V3_MIGRATION.md
deleted file mode 100644
index 4fae20213e..0000000000
--- a/frontend/src/components/V3_MIGRATION.md
+++ /dev/null
@@ -1,319 +0,0 @@
-# V3 UI removal ledger
-
-The migration is complete only when the legacy UI implementations, exports, imports, aliases, and private dependencies are removed from the latest `main`. Migrating a consumer in an open PR does not mean its legacy family is removed on `main`. Moving an implementation into V3, renaming it, or wrapping it does not establish parity or removal.
-
-## Status on main
-
-The `components/v2` tree and its `@app/components/v2` root barrel are deleted. The last census before deletion, at `e434f2fdfdd608f97cd4041af84062991d2645cf`, found 24 families, 50 files, and one external consumer: the root `TooltipProvider` in `pages/root.tsx`, which now uses the V3 `TooltipProvider` with the same 700 ms delay and 300 ms skip delay. Every other V2 import was between V2 families.
-
-`legacy.css` is also deleted, so `audit-v2-ui.mjs --assert-zero` passes: zero V2 files, zero legacy module edges, zero known outside paths, and zero computed imports. The family coverage and product-surface tables below are the 2026-10-04 baseline record; keep using them for replacement guidance, not as current consumer counts.
-
-## Baseline and measurement
-
-Baseline: `infisical/infisical` `origin/main` **70e06365043ae3b6f49ef6c95a8b9997b20f4a34**, fetched **2026-10-04**. The September 24 design audit is historical context, not current acceptance evidence.
-
-The baseline contains **52 V2 families**, **106 family source files plus the root barrel**, and **312 distinct external consumer files**. Of those consumer files, 311 have runtime references; the remaining file uses a legacy menu type. Counts include layouts, shared features, entry code, and type dependencies, not just JSX tags. Families overlap across consumers, so table rows must not be summed into a consumer-file total.
-
-Inventory used TypeScript 5.6.3 module resolution with the frontend tsconfig, compiler-resolved symbol declarations, import/export edges, and actual identifier references. Both alias and relative paths, deep imports, re-exports, namespace imports, stories, tests, JS/config sources, and dynamic imports were inspected. No V3-to-V2 import/export ingress or computed dynamic import was found at this baseline. This proves source relationships, not interaction parity or authenticated acceptance.
-
-Regenerate the current import/export and family inventory from the repository root:
-
-```sh
-node frontend/scripts/audit-v2-ui.mjs > v2-ui-inventory.json
-node frontend/scripts/audit-v2-ui.mjs --assert-zero > v2-ui-completion.json
-```
-
-The script inspects tracked and nonignored untracked frontend JS/TS sources. It resolves imports through the configured aliases and records original declarations for named/default bindings, including aliases through another barrel. Its JSON includes every legacy module edge and binding, external consumers, V3 ingress, unresolved/computed dynamic imports, literal glob matches, and additional known legacy source paths. Literal Vite globs with standard relative/root/`@app` paths are matched against source paths; unrelated globs do not fail the gate, but explicit stale V2 glob paths do. Nonliteral imports or globs with an unclassified base/alias remain manual-review blockers. Its `head` and `workingTree` fields distinguish a clean baseline from a local candidate. Outputs are local audit artifacts, not files to commit.
-
-`--assert-zero` is expected to fail during migration. It requires zero V2 files, zero legacy module edges, zero known unversioned legacy paths, and zero unclassified computed imports. It does not replace review for copied/renamed legacy implementations, new feature-specific legacy code, behavior, or security. Review the source and diff alongside the machine gate.
-
-## Family coverage
-
-In the table, E is the number of external consumer files and I is the number of other V2 consumer files at the baseline. Implementation paths are relative to `frontend/src/components/v2/`; each family includes its own barrel and private helpers. Consumer references are repository-relative at the baseline commit, not guaranteed current line numbers.
-
-| Family / implementation | E / I | Replacement and parity work | Baseline consumer example or deletion proof |
-| --- | --- | --- | --- |
-| `Accordion/Accordion.tsx` | 4 / 0 | V3 Accordion; verify collapsible/default state and form section semantics. | `frontend/src/pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberModal.tsx:521` |
-| `Alert/Alert.tsx` | 2 / 0 | V3 Alert composition; preserve rich descriptions/actions. | `frontend/src/pages/secret-manager/integrations/FlyioConfigurePage/FlyioConfigurePage.tsx:135` |
-| `Blur/Blur.tsx` | 0 / 0 | Deleted in first wave; no external or internal consumer. | No incoming non-export edge or external symbol reference. |
-| `Breadcrumb/Breadcrumb.tsx` | 6 / 0 | V3 Breadcrumb and layout metadata; preserve links and accessible navigation. | `frontend/src/pages/pam/layout.tsx:60` |
-| `Button/Button.tsx` | 141 / 4 | V3 Button; map intent, disabled/loading, type, refs, and permissions per flow. | `frontend/src/pages/middlewares/restrict-login-signup.tsx:61` |
-| `Card/Card.tsx` | 66 / 2 | V3 Card slots; preserve layout and state-bearing children. | `frontend/src/pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx:164` |
-| `Checkbox/Checkbox.tsx` | 11 / 1 | V3 Checkbox + Field; verify controlled/indeterminate state and labels. | `frontend/src/pages/organization/AccessManagementPage/components/UpgradePrivilegeSystemModal/UpgradePrivilegeSystemModal.tsx:180` |
-| `ConfirmActionModal/ConfirmActionModal.tsx` | 2 / 0 | Deleted the unused implementation, family index, and root export; no consumer changes. | At `becbf4813816bb3686111b2537009201b0a90c81`, no incoming implementation edge or external symbol reference remained. |
-| `ContentLoader/ContentLoader.tsx` | 12 / 0 | V3 Loader/PageLoader composition; preserve pending boundaries. Visible copy maps to PageLoader `text`; wrap PageLoader in an `h-screen` container where the page needs full viewport height. | `frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx:446` |
-| `CopyButton/CopyButton.tsx` | 2 / 0 | V3 CopyButton; verify exact copy, failure feedback, and labels. | `frontend/src/pages/cert-manager/CertificateDetailsByIDPage/components/CertificateDetailsSection.tsx:275` |
-| `CreatableSelect/CreatableSelect.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming non-export edge or external symbol reference. |
-| `DatePicker/DatePicker.tsx` | 0 / 0 | Deleted in first wave; no active date contract replaced. | Only its own barrel exported it. |
-| `DeleteActionModal/DeleteActionModal.tsx` | 56 / 0 | Deleted the unused implementation, family index, and root export; no consumer changes. | At `becbf4813816bb3686111b2537009201b0a90c81`, no incoming implementation edge or external symbol reference remained. |
-| `Divider/Divider.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |
-| `Drawer/Drawer.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |
-| `Dropdown/Dropdown.tsx` | 23 / 2 | V3 DropdownMenu; check checkbox/radio, submenu, disabled actions, and focus. | `frontend/src/pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningFindingRow.tsx:137` |
-| `Editor/Editor.tsx` and private plugins | 0 / 0 | Deleted in first wave; no specialist workflow replaced. | No external reference to Editor or EditorHighlightPlugin. |
-| `EmptyState/EmptyState.tsx` | 27 / 0 | V3 Empty; distinguish collection-empty, filtered-zero, loading, and permissions. | `frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx:172` |
-| `FilterableSelect/FilterableSelect.tsx` | 20 / 0 | V3 Combobox; retain grouping, option rendering, async/loading, creation, and focus contracts. | `frontend/src/pages/organization/UserDetailsByIDPage/components/UserOrgMembershipModal.tsx:136` |
-| `FontAwesomeSymbol/FontAwesomeSymbol.tsx` | 0 / 0 | Deleted in first wave; a previously retained capability has no consumer. | Only its own/root barrels exported it. |
-| `FormControl/FormControl.tsx` | 123 / 2 | V3 Field composition; preserve IDs, labels, help/error associations, validation, and RHF integration. | `frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/MetadataForm.tsx:25` |
-| `GenericFieldLabel/GenericFieldLabel.tsx` | 12 / 0 | V3 FieldLabel/Detail composition; verify label/control association and tooltips. | `frontend/src/pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningFindingRow.tsx:171` |
-| `HeaderResizer/HeaderResizer.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming module edge or external symbol reference. |
-| `HighlightText/index.tsx` | 0 / 0 | Deleted unused V2 re-export; canonical shared utility stays. | No incoming module edge; utility has independent consumers. |
-| `HoverCard/HoverCard.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming module edge or external symbol reference. |
-| `HoverCardv2/HoverCardv2.tsx` | 1 / 0 | Deleted the unused implementation, family index, and root export; no consumer changes. | At `becbf4813816bb3686111b2537009201b0a90c81`, no incoming implementation edge or external symbol reference remained. |
-| `IconButton/IconButton.tsx` | 40 / 6 | V3 IconButton; preserve accessible names, disabled/pending state and triggers. | `frontend/src/pages/auth/CliRedirectPage/CliRedirectPage.tsx:66` |
-| `Input/Input.tsx` | 100 / 4 | V3 Input/InputGroup; preserve refs, validation, type and adornment behavior. V3 Input applies the V2 `data-1p-ignore` default; an explicit `data-1p-ignore` is needed only where `autoComplete` names an email, password or username. | `frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/MetadataForm.tsx:58` |
-| `Lottie/Lottie.tsx` | 1 / 0 | V3 Loader; remove entry/barrel chunk-order dependency with a production boot proof. | `frontend/src/main.tsx:83` |
-| `Menu/Menu.tsx` | 1 / 0 | One remaining type reference; replace with actual V3 contract, then delete source/exports. | `frontend/src/layouts/OrganizationLayout/components/MenuIconButton/MenuIconButton.tsx:19` |
-| `Modal/Modal.tsx` | 55 / 2 | V3 Dialog/Sheet chosen by form size; follow the overlay recipe for nested overlays, pending close, discard, mutation errors, and focus. | `frontend/src/pages/organization/AccessManagementPage/components/UpgradePrivilegeSystemModal/UpgradePrivilegeSystemModal.tsx:65` |
-| `NoticeBanner/NoticeBanner.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |
-| `NoticeBannerV2/NoticeBannerV2.tsx` | 2 / 0 | Deleted unused implementation, empty family index, and stale root export; no consumer changes. | At `e05f750eb36506dac9a599709055ffb33d5b58ab`, no incoming implementation edge or external symbol reference remained. The root barrel exported only the empty family index. |
-| `PageHeader/PageHeader.tsx` | 32 / 0 | V3 PageHeader owns the normal 40px bottom boundary; remove only header-boundary compensation and preserve body spacing, actions, scopes and responsive intent. | `frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsx:53` |
-| `Pagination/Pagination.tsx` | 12 / 0 | V3 Pagination; preserve page origin, size change, counts, and filtering/reset behavior. | `frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx:163` |
-| `PasswordGenerator/PasswordGenerator.tsx` | 0 / 0 | Deleted in first wave; V3 generator remains independent. | No external consumer; its private Slider also deleted. |
-| `Popover/Popover.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming module edge or external symbol reference. |
-| `Popoverv2/Popoverv2.tsx` | 0 / 1 | Deleted with unused DatePicker in first wave. | Only DatePicker referenced it outside its own family. |
-| `RadioGroup/RadioGroup.tsx` | 0 / 0 | Deleted in first wave, including an obsolete commented import. | No actual incoming module edge or external symbol reference. |
-| `SecretInput/SecretInput.tsx` | 1 / 0 | Deleted the unused implementation, family index, and root export; no consumer changes. | At `becbf4813816bb3686111b2537009201b0a90c81`, no incoming implementation edge or external symbol reference remained. |
-| `SecretPathInput/SecretPathInput.tsx` | 12 / 0 | Deleted the unused V2 implementation and family index in this candidate, not yet on merged main. The independent V3 SecretPathInput and its consumers are unchanged; workflow parity remains a separate validation boundary. | No incoming module or declaration references at `13f5e7fe562a803a9b6de1d512cb27f67868ea6d`; no root export, computed/glob ingress, or top-level CSS import or executable initializer. |
-| `Select/Select.tsx` and components | 58 / 0 | V3 Select/Combobox chosen by interaction; preserve option values and form semantics. | `frontend/src/pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningUpdateFindingModal.tsx:94` |
-| `Skeleton/Skeleton.tsx` | 3 / 1 | V3 Skeleton; preserve meaningful loading shape and table ownership. | `frontend/src/views/PkiAlertsV2Page/components/ViewPkiAlertV2Modal.tsx:54` |
-| `Slider/Slider.tsx` | 0 / 1 | Deleted with unused PasswordGenerator in first wave. | PasswordGenerator was its only external-family consumer. |
-| `Spinner/Spinner.tsx` | 19 / 1 | V3 Spinner; preserve wait semantics, sizing, and caller disabling. | `frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx:346` |
-| `Stepper/Stepper.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |
-| `Switch/Switch.tsx` | 20 / 0 | Deleted the unused implementation, family index, and root export; no consumer changes. | At `becbf4813816bb3686111b2537009201b0a90c81`, no incoming implementation edge or external symbol reference remained. |
-| `Table/Table.tsx` | 30 / 0 | V3 Table/DataGrid chosen by workflow; preserve selection, sort, resize, virtualization and pagination state. `TableSkeleton` maps to `TableSkeletonRows` (`columns`, optional `rows`; drop `innerKey`). Long-text columns that wrapped in V2 set `isWrappable` on each `TableCell`; otherwise V3 keeps cells on one line. | `frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx:109` |
-| `Tabs/Tabs.tsx` | 10 / 0 | V3 Tabs; preserve controlled/default state, URL state, panel lifetime and keyboard navigation. | `frontend/src/pages/kms/SettingsPage/SettingsPage.tsx:33` |
-| `Tag/Tag.tsx` | 3 / 0 | V3 Badge composition; preserve diff/status intent and accessible text. | `frontend/src/components/secrets/diff/FieldDiffRenderers.tsx:128` |
-| `TextArea/TextArea.tsx` | 15 / 0 | V3 TextArea + Field; preserve controlled values, multiline input and validation. | `frontend/src/pages/cert-manager/ApprovalsPage/components/RequestsTab/RequestDetailModal.tsx:396` |
-| `Tooltip/Tooltip.tsx` | 64 / 3 | V3 Tooltip; preserve providers, disabled triggers, long text and focus access. | `frontend/src/pages/root.tsx:53` |
-
-First wave deletes **17 families / 35 files** plus their root exports. The candidate retains **35 families / 72 V2 files including the barrel**, and the same 312 external consumer files. These are candidate-worktree numbers until the PR is explicitly merged; the baseline does not change because a PR was opened.
-
-## Product-surface coverage and order
-
-Counts below are baseline runtime consumer files, excluding the one menu type-only consumer. Shared feature rows are separate from route rows, so a product migration must consider both. Follow the generated inventory for every file; the references below establish representative scope rather than an acceptance claim.
-
-| Surface | Files | Source anchor | Migration unit and required checks |
-| --- | ---: | --- | --- |
-| Certificate Manager routes | 81 | `pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberModal.tsx` | Split subscribers/issuance, authorities, applications, discovery and settings; preserve certificate mutations, validation, selection and permissions. |
-| Secret Manager routes | 80 | `pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx` | Integrations, settings, old dashboard, approvals; preserve hidden values, leases, bulk/table state and environment/path semantics. Held secret edit forms remain owned separately. |
-| Organization routes | 53 | `pages/organization/UserDetailsByIDPage/components/UserOrgMembershipModal.tsx` | Groups/membership, projects/settings, auth policies; preserve RBAC and async form recovery. UpgradeGate held choices stay separate. |
-| Secret Scanning routes | 23 | `pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningFindingRow.tsx` | Tables/detail/settings; preserve filtering, finding states, and mutations. Include the shared provider forms below. |
-| PAM routes | 18 | `pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx` | Focused page headers, loading and confirmations; preserve org-scoped project resolution and access gates. |
-| KMS routes | 13 | `pages/kms/OverviewPage/components/CmekEncryptModal.tsx` | Crypto operation overlays/settings; preserve operation-specific validation, masking and permission checks. |
-| Authentication routes | 5 | `pages/auth/CliRedirectPage/CliRedirectPage.tsx` | Token display and recovery confirmations; verify masking, exact copy, no unintended reveal, and redirect lifetime. |
-| Project routes | 2 | `pages/project/AuditLogsPage/AuditLogsPage.tsx` | PageHeader consumers; retain action placement and scope. |
-| Agent Vault layout | 1 | `pages/agent-vault/layout.tsx` | Breadcrumb metadata; preserve implicit-project route contract. |
-| Middleware and root | 2 | `pages/root.tsx` | Restriction action and TooltipProvider; prove application boot/provider lifetime. |
-| Shared Secret Scanning features | 16 | `components/secret-scanning/forms/SecretScanningDataSourceForm.tsx` | Provider setup and connection/config fields; preserve RHF/Zod validation, async option lists and creation. |
-| Shared rotation features | 6 | `components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx` | Warnings/credentials/confirmations; preserve masking, delete constraints and rotation contracts. Product API version is not a legacy UI exemption. |
-| Shared PKI alerts view | 3 | `views/PkiAlertsV2Page/components/ViewPkiAlertV2Modal.tsx` | Tables/details and confirmations; preserve counts, filtering and modal state. |
-| Shared approvals | 1 | `components/approvals/PolicyApprovalSteps.tsx` | Step configuration; preserve approver ordering, selections and validation. |
-| Shared feature helpers | 1 | `components/features/TtlFormLabel.tsx` | Label composition; preserve TTL help and accessibility. |
-| Shared integrations | 1 | `components/integrations/NoEnvironmentsBanner.tsx` | Remaining legacy action; preserve navigation and disabling. |
-| Shared navigation | 1 | `components/navigation/SecretDashboardPathBreadcrumb.tsx` | Trigger/tooltip; preserve path selection and keyboard behavior. |
-| Shared secret diff | 1 | `components/secrets/diff/FieldDiffRenderers.tsx` | Tags/tooltips; preserve before/after and hidden-value representation. |
-| Shared tags | 1 | `components/tags/CreateTagModal/CreateTagModal.tsx` | Form/overlay; preserve validation, submit errors and caller selection. |
-| Shared utilities | 1 | `components/utilities/certificateDisplayUtils.tsx` | Certificate status tooltip; preserve warning/status semantics and accessible content. |
-| Application entry | 1 | `main.tsx` | Loader removal unit; production build and boot, not only dev/HMR/types. |
-
-All source anchors in this surface table are relative to `frontend/src/`. Refresh the file inventory before allocating a unit; do not infer ownership from a product name alone.
-
-### Additional legacy and compatibility boundaries
-
-- `components/basic/InputField.tsx` is an unversioned legacy input, and `components/basic/Error.tsx` is a legacy error presentation used by `components/auth/Mfa.tsx`. Remove unused source or migrate the live caller; neither may be hidden by a rename.
-- `components/integrations/NoEnvironmentsBanner.tsx`, `components/navigation/SecretDashboardPathBreadcrumb.tsx`, and `components/tags/CreateTagModal/CreateTagModal.tsx` are V2-dependent feature wrappers with no consuming module/symbol references at the baseline. Reverify and delete their unused implementation/export closure in a separate focused unit. The known outside-path completion gate includes these files.
-- `pages/secret-manager/OverviewPage/components/SecretSearchInput/SecretSearchInput.tsx` and its barrel are an old Headless UI search control. Its sibling quick-search components are also consumed by the newer `ResourceSearchInput`; preserve those workflows while removing or replacing the old control.
-- `legacy.css`, the legacy palette, is deleted. At `e434f2fdfdd608f97cd4041af84062991d2645cf` none of its color tokens had a literal utility, `--color-*` variable, `@apply` or `theme()` user in frontend sources, CSS, or config, so its default-palette overrides (`red`, `green`, `blue`, `yellow`) had no consumers either.
-- The V3 `ReactSelect` compatibility family (`FilterableSelect`, `CreatableSelect`) is deleted. Its consumers moved to `Combobox`, and none remained at `e434f2fdfdd608f97cd4041af84062991d2645cf`. The `react-select` package is also removed. The last importer scan before its removal, at `60067d2ea820ff1fd008f3ac5818c9f86e616cdc`, found only the unused react-select `Option` wrappers `AppConnectionOption`, `RoleOption`, and `RelayOption`, which were deleted with the package. The live `AppConnectionOptionContent` and `RoleOptionContent` renderers remain.
-- V3 `SecretInput`, `InfisicalSecretInput`, `SecretPathInput`, and `PasswordGenerator` have their own implementations. Compare security-sensitive behavior, not names. Removing unused V2 Editor/PasswordGenerator does not certify every active V3 editor flow.
-- API/data versions such as `hooks/api/secretRotationsV2`, `BillingV2Page`, `PkiAlertsV2Page`, backend secret-v2 services and migration files are not automatically legacy UI. Their actual UI imports and implementations remain in scope; their legitimate API versions are not renamed.
-- Third-party Radix, Lottie and Font Awesome packages have current non-V2 consumers. The Lexical editor packages (`lexical`, `@lexical/react`), whose only consumer was the deleted V2 Editor, and the unused `@dnd-kit/modifiers` are removed. A dependency is deleted only after its remaining ownership is proved; no package-name-based purge.
-
-## Execution sequence and ownership
-
-### PageHeader compatibility boundary
-
-V3 `PageHeader` supplies the legacy normal bottom boundary through `mb-10`, so ordinary consumers need no repeated spacing prop. Existing marginless V3 pages must remove their header-boundary parent gap in the same change as the shared default. Their normal next-region spacing deliberately increases from 32px to 40px; this is harmonization, not pixel-identical parity. Keep card-to-card gaps in existing body containers, and group body regions only when multiple sections previously shared the page's gap.
-
-Compact/responsive layouts remain explicit: Overview uses 24px below `md` and 40px above; Insights uses 16px below `dashboard` and 40px above. A narrow Insights stats strip remains its own region before the cards. General Secret Manager/KMS Settings remove only the body's header-boundary top padding, preserving bottom/horizontal padding and independent card spacing. Keep PAM's block flow so adjacent margins retain their collapsing behavior. Tabs and conditional notices are real next regions, not empty spacing to remove.
-
-This contract does not certify source removal on merged main or workflow acceptance. The final five header-only consumers and legacy source/export deletion remain a separate dependent layer until verified and explicitly authorized to merge.
-
-One owner controls each implementation family or domain unit. Domain writes run on isolated branches and may proceed in parallel only when their consumer files and shared replacements do not overlap. Shared primitives, the root barrel, and lifecycle decisions have an explicit owner. Recheck reservations and fetch `main` before each wave.
-
-1. **Dead-source removal:** delete the proven 17-family closure and exports. Risk is low for functionality but the entry's known chunk-order coupling makes production build/boot mandatory. Do not change live defaults or dependencies.
-2. **Startup and small-family closure:** replace entry Lottie, obsolete menu type, focused PageHeader/Breadcrumb and low-fanout presentation consumers. Verify local composition, theme and keyboard contracts, then remove a family only once every incoming path is gone.
-3. **Isolated product waves:** migrate KMS, Secret Scanning, certificate subdomains, organization settings/membership, Secret Manager integrations/legacy dashboard and shared feature forms in separately owned reviewable slices. Bring missing V3 behavior into a prerequisite PR rather than widening every consumer PR.
-4. **Overlays and high-fanout primitives:** resolve portal/toast/focus contracts, confirmation and discard behavior before bulk modal/menu work. Drain Button/Input/Field/Select/Table/Tabs/Tooltip consumers with their domains, then delete their implementation/export closure. No mass find-replace.
-5. **Security and final closure:** validate specialist input/path/credentials and representative permission-denied/edit-without-value-read flows. Remove unnamed legacy source, old style dependencies, stale stories/docs and the final V2 barrel. Re-run completion checks on latest merged `main`.
-
-At mission creation, held/reserved work is UpgradeGate (#8182, INFS-647), secret edit/comment sheets (#8407, INFS-643), AlertDialog/Button text (#8416, INFS-652), ESLint configuration (#8398, INFS-607), and toast/dialog selection and reverse-Tab proof (INFS-656). Do not duplicate their changes or resolve their held product decisions indirectly. The reported Sonner reverse-Tab issue is a parity blocker to solve, not permission to weaken accessibility.
-
-Before each wave, record changed source paths, risk, state/security contracts, needed replacements, validation evidence and limits. Escalate real product/policy/security tradeoffs; mechanical migrations do not require redundant permission. Never remove user functionality to meet a source count.
-
-### Overlay migration recipe
-
-Use this recipe for every V2 `Modal`, `DeleteActionModal`, and `ConfirmActionModal` consumer. The V3 overlays own the shared behavior, so a consumer migration maps props and structure and adds no per-callsite Escape, focus, pending, or stacking code.
-
-**What the V3 contract provides.** `DialogContent`, `SheetContent`, `AlertDialogContent`, and `ConfirmationAlertDialog` provide these behaviors without consumer code:
-
-- **Innermost layer first.** Escape or an outside click closes an open nested popup first. The next Escape or outside click reaches the overlay. Radix popups (`Select`, `DropdownMenu`, `Tooltip`, `HoverCard`, `Popover`) do this natively. `Combobox` registers its open popup with the nearest `DialogContent`, `SheetContent`, `AlertDialogContent` (which includes `ConfirmationAlertDialog`), or `PopoverContent`, and an event that closed the popup cannot also close the overlay. Inside a `Dialog`, `Sheet`, or `AlertDialog`, `Combobox` defaults to `modal`. Inside a `Popover` that is not nested in one of those, it stays non-modal.
-- **Pending close.** While `isPending` is true on `DialogContent` or `SheetContent`, Escape, outside clicks, the built-in close button, and every `DialogClose` or `SheetClose` cannot dismiss the overlay. `ConfirmationAlertDialog` locks itself while `onConfirm` is in flight, disables Cancel and the input, and shows the pending state on its confirm button.
-- **Focus return.** Closing returns focus to the element that opened the overlay. When a V3 `DropdownMenuItem` opened it, focus returns to that menu's trigger. No refs or `onCloseAutoFocus` handlers are needed. If the opener no longer exists, for example a row removed by a successful delete, Radix's default applies.
-- **Typed confirmation.** `ConfirmationAlertDialog` compares the typed value with `confirmKey`, resets it on every open and close, submits on Enter only when it matches, and keeps the dialog open if `onConfirm` rejects. The global mutation error toast reports the failure.
-
-**Choose the target.**
-
-| V2 | V3 target |
-| --- | --- |
-| `Modal` + `ModalContent` with a short form or prompt | `Dialog` + `DialogContent` |
-| `Modal` + `ModalContent` with a large or multi-step form | `Sheet` + `SheetContent` (see `DESIGN.md`) |
-| `DeleteActionModal` | `ConfirmationAlertDialog` from `@app/components/v3/platform` |
-| `ConfirmActionModal` | `ConfirmationAlertDialog` with a non-danger `confirmVariant` |
-
-**`Modal` and `ModalContent` mapping.**
-
-| V2 | V3 |
-| --- | --- |
-| `<Modal isOpen={x} onOpenChange={fn}>` | `<Dialog open={x} onOpenChange={fn}>`. Keep the existing `usePopUp` handler and any `reset()` call. |
-| `ModalTrigger`, `ModalClose` | `DialogTrigger`, `DialogClose` |
-| `title` | `<DialogHeader><DialogTitle>{title}</DialogTitle></DialogHeader>` |
-| `subTitle` | `<DialogDescription>{subTitle}</DialogDescription>` inside `DialogHeader` |
-| `footerContent`, or the button row at the end of the form | `<DialogFooter>` inside the `<form>`. Cancel is `<DialogClose asChild><Button variant="ghost">Cancel</Button></DialogClose>`. The primary button uses the scope variant (`org`, `sub-org`, `project`, ...) and `isPending={isSubmitting}`. |
-| Submit button `isLoading` / `isDisabled={isSubmitting}` | `isPending={isSubmitting}` on the submit button, and `isPending={isSubmitting}` on `DialogContent` |
-| `bodyClassName="overflow-visible"` | Remove. V3 popups portal out of the dialog. |
-| `className="max-w-2xl"` and wider | Keep the V3 width. If the content needs more room, use `Sheet`. |
-| `overlayClassName`, `showCloseButton` | Same props on `DialogContent` |
-| `onEscapeKeyDown` that only protects a nested popup | Remove. Keep handlers that implement product behavior, such as a discard guard. |
-
-V2 controls rendered inside the overlay move to V3 in the same change. A V2 `Select`, `FilterableSelect`, `Dropdown`, or `Tooltip` inside a V3 overlay does not join the layer contract. `FilterableSelect` becomes `Combobox`. Remove caller-owned `onPopupOpenChange` registries that only guard the parent Escape.
-
-**Creating an option with a form.** Dialog creation renders `DialogHeader` followed by `renderForm`. Return `<form className="flex min-h-0 flex-1 flex-col gap-6">` with `DialogBody` for fields and `DialogFooter` for actions. Do not pad the whole form or replace the footer with an inset button row. The dialog shell supplies its padding and the footer extends to its edges, as in the Dialog stories.
-
-Use `creation.mode = "sheet"` for multi-step forms, with the existing Sheet `size` (`form`, `wide`, or `workspace`). It uses the same `renderForm({ initialInput, complete, cancel })`, `isPending`, and `onDismiss(cancel)` contract as dialog creation. Return form content with a scrollable body and `SheetFooter`, not another `Sheet` or `SheetContent`. The default header requires `title` and `description`. Set `showHeader: false` when the form owns its header, and provide `SheetHeader`, `SheetTitle`, and `SheetDescription` inside `renderForm` for the accessible name and description. Follow the Header → body → Footer composition and body padding in the Sheet stories.
-
-Use one caller-owned pending state for the form and `creation.isPending`, including sub-wizard persistence. Route `onDismiss` and the form's Cancel through the same discard guard. Update controlled options and selection before calling `complete`. Completion closes the creation overlay and returns focus to the Combobox input. Cancel preserves the query and reopens the option popup without changing the selection. See `Combobox.creation.stories.tsx` for canonical dialog and sheet compositions.
-
-**Starting an in-place creation workflow.** Use `creation.mode = "action"` with `onAction(inputValue)` when the existing form switches into a sub-wizard without opening another overlay. The Create row remains available for empty, duplicate, and unmatched queries unless `isDisabled` is set. Selection closes only the picker and calls `onAction` with the trimmed query. This mode does not persist, track pending work, or select an option; the caller owns the workflow and any later option/selection updates.
-
-Before:
-
-```tsx
-<Modal
- isOpen={popUp.orgMembership.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("orgMembership", isOpen);
- reset();
- }}
->
- <ModalContent bodyClassName="overflow-visible" title="Update Membership">
- <form onSubmit={handleSubmit(onFormSubmit)}>
- <FormControl label="Update Organization Role">
- <FilterableSelect options={roles} value={value} onChange={onChange} />
- </FormControl>
- <Button type="submit" isLoading={isSubmitting} isDisabled={isSubmitting}>
- Update
- </Button>
- <Button variant="plain" onClick={() => handlePopUpToggle("orgMembership", false)}>
- Cancel
- </Button>
- </form>
- </ModalContent>
-</Modal>
-```
-
-After:
-
-```tsx
-<Dialog
- open={popUp.orgMembership.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("orgMembership", isOpen);
- reset();
- }}
->
- <DialogContent isPending={isSubmitting}>
- <DialogHeader>
- <DialogTitle>Update Membership</DialogTitle>
- </DialogHeader>
- <form className="flex flex-col gap-6" onSubmit={handleSubmit(onFormSubmit)}>
- <Field>
- <FieldLabel htmlFor={roleInputId}>Update Organization Role</FieldLabel>
- <Combobox id={roleInputId} options={roles} value={value} onValueChange={onChange} />
- </Field>
- <DialogFooter>
- <DialogClose asChild>
- <Button variant="ghost">Cancel</Button>
- </DialogClose>
- <Button type="submit" variant="org" isPending={isSubmitting}>
- Update
- </Button>
- </DialogFooter>
- </form>
- </DialogContent>
-</Dialog>
-```
-
-**`DeleteActionModal` and `ConfirmActionModal` mapping.**
-
-| V2 | `ConfirmationAlertDialog` |
-| --- | --- |
-| `isOpen` | `isOpen` |
-| `onChange` | `onOpenChange` |
-| `onClose` | Fold into `onOpenChange` when it receives `false` |
-| `title` | `title` |
-| `subTitle` | `description`. When V2 omitted it, pass `description="This action is irreversible."` to keep the shown copy. |
-| `deleteKey` / `confirmKey` | `confirmKey` |
-| `onDeleteApproved` / `onConfirmed` | `onConfirm`. Keep the existing close-on-success call inside it. |
-| `buttonText` | `confirmLabel` (default `Delete`) |
-| `buttonColorSchema="danger"` | Omit (default `confirmVariant="danger"`) |
-| `buttonColorSchema="primary"`, or any `ConfirmActionModal` | `confirmVariant` with the scope variant, or `neutral` outside a scope |
-| `children` | `children`, rendered after the confirmation field. Drop top margins that only spaced it from the V2 input. |
-| `formContent` | `description` when it explains the action, otherwise `children` |
-| `deletionMessage` / `confirmationMessage` | No consumer uses it. Raise a contract change before relying on custom label copy. |
-| `isDisabled` | No consumer uses it. Use `isPending` for an external in-flight state. |
-
-Before:
-
-```tsx
-<DeleteActionModal
- isOpen={popUp.removeMember.isOpen}
- title={`Are you sure you want to remove member with username ${username}?`}
- onChange={(isOpen) => handlePopUpToggle("removeMember", isOpen)}
- deleteKey="confirm"
- onDeleteApproved={() => onRemoveMemberSubmit(orgMembershipId)}
- buttonText="Remove"
-/>
-```
-
-After:
-
-```tsx
-<ConfirmationAlertDialog
- isOpen={popUp.removeMember.isOpen}
- title={`Are you sure you want to remove member with username ${username}?`}
- description="This action is irreversible."
- onOpenChange={(isOpen) => handlePopUpToggle("removeMember", isOpen)}
- confirmKey="confirm"
- onConfirm={() => onRemoveMemberSubmit(orgMembershipId)}
- confirmLabel="Remove"
-/>
-```
-
-**Edge cases to check in every sweep.**
-
-- **No `autoFocus` inside V3 overlays.** `autoFocus` moves focus before the overlay records its opener, so focus cannot return on close. The overlay already focuses the first field.
-- **Menu triggers.** Focus returns to a menu trigger only when the menu is a V3 `DropdownMenu`. When the trigger is still a V2 `Dropdown`, migrate that menu in the same change or record that focus returns to the page.
-- **Chained confirmations.** If `onConfirm` opens a second dialog instead of closing, as `IntegrationsDetailsByIDPage` does, keep that control flow and check the second dialog's focus return.
-- **Pending state outside the form.** If the mutation runs in the parent, pass the mutation's `isPending` to `DialogContent` or `ConfirmationAlertDialog`. Do not add `onOpenChange` guards.
-- **Reset and discard.** Keep the consumer's `reset()` or state clearing on close. Radix unmounts closed content, so state inside the content subtree resets by itself. Add `useDiscardChangesGuard` only when the product asks for a dirty-form guard; V2 never had one.
-- **Existing AlertDialog compositions** with `confirmationValue` lock while pending when the mutation's `isPending` is passed to `AlertDialog`: Escape, Cancel, the confirmation input, and Enter are disabled, and `AlertDialogAction` shows the pending state. New typed confirmations use `ConfirmationAlertDialog`, which is built on the same confirmation state.
-- **Proof.** For each sweep, open each migrated overlay once in the preview: Escape with a nested popup open, Escape and an outside click while a mutation is pending, and focus after close.
-
-## Completion acceptance
-
-- All implementation PRs have landed through explicitly authorized merges. Refresh latest `origin/main`; report its exact commit and check a clean worktree, not a combined set of open branches.
-- `audit-v2-ui.mjs --assert-zero` passes on that main commit. Review its detailed output and re-audit unversioned wrappers/feature primitives so the explicit outside-path list cannot conceal newly discovered legacy.
-- The V2 source tree/barrel and every dead V2 helper are absent. No direct/deep/relative/dynamic/re-export path, alias, type dependency or V3 wrapper reaches a legacy implementation. Review file history/diffs for copied or cosmetically renamed code.
-- Legacy styles and component-owned dependencies are removed after proving remaining consumer ownership. Legitimate API versions and independently supported V3 capabilities are disclosed rather than counted as UI exceptions.
-- Focused lint/types/build checks pass at the accepted head. Representative real rendered flows establish RBAC, hidden-value security, mutations, validation, keyboard/focus, nested overlay and portal lifetime, table/virtualization state and any active date/editor contracts. Synthetic screenshots and fixtures are distinguished from authenticated acceptance.
\ No newline at end of file
diff --git a/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/README.md b/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/README.md
index d7916a2bc4..2c76eafd90 100644
--- a/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/README.md
+++ b/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/README.md
@@ -1,6 +1,6 @@
# Dynamic-secret provider form contract
-The shared contract keeps one create/edit form shell while leaving provider validation, defaults, hydration, and request adapters with each provider definition. The foundation is intentionally provider-neutral: legacy providers keep their existing forms until a rollout ticket registers a replacement.
+The shared contract keeps one create/edit form shell while leaving provider validation, defaults, hydration, and request adapters with each provider definition. The foundation is intentionally provider-neutral; each provider registers its definition through a batch module.
## Ownership boundaries
@@ -16,7 +16,7 @@ Create and edit values are deliberately separate. That distinction preserves mas
## Registering a provider batch
-Each rollout ticket owns a batch-local module. It imports the concrete definitions it migrated and exports only the shared registration contract:
+Providers are grouped into batch modules under `providerDefinitions/`. A module imports its concrete definitions and exports only the shared registration contract:
```ts
export const identityAccessDynamicSecretProviders = defineDynamicSecretProviderModule({
@@ -25,16 +25,18 @@ export const identityAccessDynamicSecretProviders = defineDynamicSecretProviderM
});
```
-The production composition root combines completed batches:
+The production composition root, `productionRegistry.ts`, combines the batches:
```ts
export const dynamicSecretProviderRegistry = createDynamicSecretProviderRegistry(
- identityAccessDynamicSecretProviders,
- managedStoresDynamicSecretProviders
+ relationalWarehouseDynamicSecretProviders,
+ dataProtocolDynamicSecretProviders,
+ managedStoresDynamicSecretProviders,
+ identityAccessDynamicSecretProviders
);
```
-`getDefinition(provider)` returns `undefined` for an unmigrated provider so routers can retain the existing legacy path during incremental rollout. `requireDefinition(provider)` is for code paths that already proved registration. Duplicate module IDs and duplicate providers fail during composition instead of silently overriding a definition.
+`getDefinition(provider)` returns `undefined` for an unregistered provider; the edit form shows an error in place of the form. `requireDefinition(provider)` is for code paths that already proved registration. Duplicate module IDs and duplicate providers fail during composition instead of silently overriding a definition.
## Field and renderer contract
@@ -51,17 +53,3 @@ export const dynamicSecretProviderRegistry = createDynamicSecretProviderRegistry
- A cleared gateway normalizes to `undefined` on create and `null` on edit.
- Standard TTL validation retains the existing one-minute minimum, ten-year maximum, and user-facing messages.
- Single-environment create defaults belong in the provider's `getDefaultValues`; multi-environment create keeps the environment field visible. Edit uses its route environment.
-
-## Checkpoint provenance and departures
-
-This foundation adapts the core contract from checkpoint commit `2eca032d7dc` without merging or cherry-picking the checkpoint.
-
-| Checkpoint area | Disposition |
-| --- | --- |
-| `types.ts`, `schemas.ts`, scalar fields, form items, and shared controls | Adapted to current main |
-| `DynamicSecretProviderForm.tsx` | Rewritten as a sheet-agnostic shell; dynamic-secret sheet, lease, renew, and post-create overlay work remain out of scope |
-| `DynamicSecretProviderGroup.tsx` | Rewritten to compose the existing V3 Accordion rather than the checkpoint-only sheet section |
-| `providerDefinitions/registry.ts` | Rewritten as immutable module composition so rollout batches do not edit core architecture |
-| Number input handling | Rewritten to emit numbers before validation, resolving the unresolved PR #7529 finding |
-| Production provider definitions and provider-family tests | Rejected from this foundation; owned by ENG-5513 through ENG-5516 |
-| Route removal, Overview redesign, sheet/lease work, and unrelated primitive changes | Rejected as outside ENG-5518 |
diff --git a/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/registry.ts b/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/registry.ts
index 4958340b38..611db621ba 100644
--- a/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/registry.ts
+++ b/frontend/src/components/dynamic-secrets/DynamicSecretProviderForm/registry.ts
@@ -25,7 +25,7 @@ export const defineDynamicSecretProviderModule = <
definitions: TDefinitions;
}) => module;
-/** Product picker order. Partially migrated registries expose only registered entries. */
+/** Product picker order. The registry exposes only registered entries. */
export const DYNAMIC_SECRET_PROVIDER_PICKER_ORDER = [
DynamicSecretProviders.SqlDatabase,
DynamicSecretProviders.Cassandra,
diff --git a/frontend/src/components/v3/generic/Combobox/Combobox.creation.stories.tsx b/frontend/src/components/v3/generic/Combobox/Combobox.creation.stories.tsx
index acbde7559d..6ac5b6f8e8 100644
--- a/frontend/src/components/v3/generic/Combobox/Combobox.creation.stories.tsx
+++ b/frontend/src/components/v3/generic/Combobox/Combobox.creation.stories.tsx
@@ -288,6 +288,14 @@ export default meta;
type Story = StoryObj;
export const SheetCreation: Story = {
+ parameters: {
+ docs: {
+ description: {
+ story:
+ "Sheet creation takes the existing Sheet size. renderForm returns a scrollable body and SheetFooter, not another Sheet or SheetContent. Use one caller-owned pending state for the form and creation.isPending, and route onDismiss and the form's Cancel through the same discard guard."
+ }
+ }
+ },
render: () => <SheetCreationRender showHeader />
};
@@ -364,6 +372,14 @@ const DialogCreationRender = () => {
};
export const DialogCreation: Story = {
+ parameters: {
+ docs: {
+ description: {
+ story:
+ "Dialog creation renders DialogHeader followed by renderForm. Return a flex column form with DialogBody for fields and DialogFooter for actions; the dialog shell supplies the padding and the footer reaches its edges, so do not pad the form or inset the button row. Update the controlled options and selection before calling complete, which closes the dialog and returns focus to the input. Cancel keeps the query and reopens the option list without changing the selection."
+ }
+ }
+ },
render: () => <DialogCreationRender />
};
@@ -452,5 +468,13 @@ const ActionCreationRender = () => {
};
export const ActionCreation: Story = {
+ parameters: {
+ docs: {
+ description: {
+ story:
+ "Use action creation when the existing form switches into a sub-wizard without opening another overlay. The Create row stays available for empty, duplicate, and unmatched queries unless isDisabled is set. Selecting it closes only the picker and calls onAction with the trimmed query. Action mode does not persist, track pending work, or select an option; the caller owns the workflow and any later option or selection updates."
+ }
+ }
+ },
render: () => <ActionCreationRender />
};
diff --git a/frontend/src/components/v3/generic/Tooltip/Tooltip.stories.tsx b/frontend/src/components/v3/generic/Tooltip/Tooltip.stories.tsx
index fc3acc219d..bb48708504 100644
--- a/frontend/src/components/v3/generic/Tooltip/Tooltip.stories.tsx
+++ b/frontend/src/components/v3/generic/Tooltip/Tooltip.stories.tsx
@@ -150,7 +150,7 @@ export const HoverableContent: Story = {
docs: {
description: {
story:
- "Set `hoverable` on `Tooltip` to let users move the pointer into a brief informational hint and keep it open without making its text selectable. Use this opt-in when preserving legacy tooltip hover residence. `selectable` also enables hoverability, even if `hoverable` is false. Ordinary tooltips keep their existing trigger-leave dismissal. Neither opt-in permits links, buttons, forms, or other interactive controls."
+ "Set `hoverable` on `Tooltip` to let users move the pointer into a brief informational hint and keep it open without making its text selectable. `selectable` also enables hoverability, even if `hoverable` is false. Ordinary tooltips keep their existing trigger-leave dismissal. Neither opt-in permits links, buttons, forms, or other interactive controls."
}
}
},
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 7921309773..64506d159c 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -164,7 +164,7 @@
--color-proxied-service: oklch(51.4929% 0.1474105 306.2291);
}
-/* Distinct neutral tones preserve surface depth and control contrast during migration. */
+/* Distinct neutral tones preserve surface depth and control contrast. */
@theme {
--color-border-bright: oklch(75.06158% 0.0030629 264.5385);
--color-border-control: oklch(30.47636% 0.0077146 264.4536);