Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(docsite): sync ThemingTarget/DerivedVar with the authoring types (#4915)

nynexman446461d3c1001156
diff --git a/apps/docsite/scripts/generate-data.mjs b/apps/docsite/scripts/generate-data.mjs
index a46251a1ac..11187ccfda 100644
--- a/apps/docsite/scripts/generate-data.mjs
+++ b/apps/docsite/scripts/generate-data.mjs
@@ -740,6 +740,8 @@ export interface ThemingTarget {
className: string;
visualProps?: string[];
states?: string[];
+ /** Old name of a renamed target; the class superseding it. */
+ deprecatedFor?: string;
}
export interface ComponentVar {
@@ -755,6 +757,8 @@ export interface DerivedVar {
property: string;
vars?: string[];
expand?: 'container';
+ /** Emit only the vars, dropping the source property from the rule. */
+ replaces?: boolean;
}
export interface ThemingDoc {