@primer/primitives 11.4.0 → 11.4.1-rc.24c79953
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN_TOKENS_GUIDE.md +185 -0
- package/DESIGN_TOKENS_SPEC.md +565 -0
- package/dist/build/formats/jsonFigma.js +8 -1
- package/dist/build/formats/markdownLlmGuidelines.d.ts +7 -6
- package/dist/build/formats/markdownLlmGuidelines.js +1034 -60
- package/dist/build/schemas/borderToken.d.ts +17 -3
- package/dist/build/schemas/colorToken.d.ts +1 -1
- package/dist/build/schemas/cubicBezierToken.d.ts +1 -1
- package/dist/build/schemas/dimensionToken.d.ts +9 -2
- package/dist/build/schemas/dimensionValue.d.ts +12 -1
- package/dist/build/schemas/dimensionValue.js +10 -13
- package/dist/build/schemas/durationToken.d.ts +8 -2
- package/dist/build/schemas/durationValue.d.ts +11 -1
- package/dist/build/schemas/durationValue.js +13 -3
- package/dist/build/schemas/fontFamilyToken.d.ts +1 -1
- package/dist/build/schemas/fontWeightToken.d.ts +1 -1
- package/dist/build/schemas/gradientToken.d.ts +1 -1
- package/dist/build/schemas/numberToken.d.ts +1 -1
- package/dist/build/schemas/shadowToken.d.ts +673 -85
- package/dist/build/schemas/stringToken.d.ts +1 -1
- package/dist/build/schemas/stringToken.js +1 -1
- package/dist/build/schemas/tokenType.d.ts +1 -1
- package/dist/build/schemas/transitionToken.d.ts +15 -3
- package/dist/build/schemas/typographyToken.d.ts +19 -5
- package/dist/build/schemas/typographyToken.js +1 -1
- package/dist/build/schemas/validTokenType.d.ts +1 -1
- package/dist/build/schemas/validTokenType.js +1 -1
- package/dist/build/schemas/viewportRangeToken.d.ts +1 -1
- package/dist/build/transformers/borderToCss.js +17 -1
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +3 -2
- package/dist/build/transformers/dimensionToPixelUnitless.js +22 -26
- package/dist/build/transformers/dimensionToRem.d.ts +2 -1
- package/dist/build/transformers/dimensionToRem.js +21 -22
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -1
- package/dist/build/transformers/dimensionToRemPxArray.js +21 -22
- package/dist/build/transformers/durationToCss.d.ts +2 -1
- package/dist/build/transformers/durationToCss.js +18 -11
- package/dist/build/transformers/shadowToCss.js +12 -1
- package/dist/build/transformers/utilities/parseDimension.d.ts +12 -0
- package/dist/build/transformers/utilities/parseDimension.js +31 -0
- package/dist/build/types/borderTokenValue.d.ts +3 -1
- package/dist/build/types/dimensionTokenValue.d.ts +9 -0
- package/dist/build/types/shadowTokenValue.d.ts +6 -4
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +32 -28
- package/dist/css/functional/themes/dark-colorblind.css +32 -28
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +32 -28
- package/dist/css/functional/themes/dark-dimmed.css +32 -28
- package/dist/css/functional/themes/dark-high-contrast.css +32 -28
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +32 -28
- package/dist/css/functional/themes/dark-tritanopia.css +32 -28
- package/dist/css/functional/themes/dark.css +32 -28
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +32 -28
- package/dist/css/functional/themes/light-colorblind.css +32 -28
- package/dist/css/functional/themes/light-high-contrast.css +32 -28
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +32 -28
- package/dist/css/functional/themes/light-tritanopia.css +32 -28
- package/dist/css/functional/themes/light.css +32 -28
- package/dist/css/primitives.css +4 -0
- package/dist/docs/base/motion/motion.json +96 -24
- package/dist/docs/base/size/size.json +76 -19
- package/dist/docs/base/typography/typography.json +24 -6
- package/dist/docs/functional/size/border.json +26 -11
- package/dist/docs/functional/size/breakpoints.json +24 -6
- package/dist/docs/functional/size/radius.json +16 -4
- package/dist/docs/functional/size/size.json +60 -15
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +1423 -346
- package/dist/docs/functional/themes/dark-colorblind.json +1423 -346
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +1423 -346
- package/dist/docs/functional/themes/dark-dimmed.json +1423 -346
- package/dist/docs/functional/themes/dark-high-contrast.json +1423 -346
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +1423 -346
- package/dist/docs/functional/themes/dark-tritanopia.json +1423 -346
- package/dist/docs/functional/themes/dark.json +1423 -346
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +1426 -349
- package/dist/docs/functional/themes/light-colorblind.json +1426 -349
- package/dist/docs/functional/themes/light-high-contrast.json +1426 -349
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +1426 -349
- package/dist/docs/functional/themes/light-tritanopia.json +1426 -349
- package/dist/docs/functional/themes/light.json +1426 -349
- package/dist/docs/functional/typography/typography.json +8 -2
- package/dist/fallbacks/base/motion/motion.json +48 -12
- package/dist/figma/themes/light-colorblind.json +4 -4
- package/dist/figma/themes/light-high-contrast.json +4 -4
- package/dist/figma/themes/light-tritanopia.json +4 -4
- package/dist/figma/themes/light.json +4 -4
- package/dist/internalCss/dark-colorblind-high-contrast.css +28 -28
- package/dist/internalCss/dark-colorblind.css +28 -28
- package/dist/internalCss/dark-dimmed-high-contrast.css +28 -28
- package/dist/internalCss/dark-dimmed.css +28 -28
- package/dist/internalCss/dark-high-contrast.css +28 -28
- package/dist/internalCss/dark-tritanopia-high-contrast.css +28 -28
- package/dist/internalCss/dark-tritanopia.css +28 -28
- package/dist/internalCss/dark.css +28 -28
- package/dist/internalCss/light-colorblind-high-contrast.css +28 -28
- package/dist/internalCss/light-colorblind.css +28 -28
- package/dist/internalCss/light-high-contrast.css +28 -28
- package/dist/internalCss/light-tritanopia-high-contrast.css +28 -28
- package/dist/internalCss/light-tritanopia.css +28 -28
- package/dist/internalCss/light.css +28 -28
- package/dist/styleLint/base/motion/motion.json +96 -24
- package/dist/styleLint/base/size/size.json +76 -19
- package/dist/styleLint/base/typography/typography.json +30 -12
- package/dist/styleLint/functional/size/border.json +27 -12
- package/dist/styleLint/functional/size/breakpoints.json +24 -6
- package/dist/styleLint/functional/size/radius.json +17 -5
- package/dist/styleLint/functional/size/size-coarse.json +3 -3
- package/dist/styleLint/functional/size/size-fine.json +3 -3
- package/dist/styleLint/functional/size/size.json +111 -66
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +1551 -366
- package/dist/styleLint/functional/themes/dark-colorblind.json +1551 -366
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +1551 -366
- package/dist/styleLint/functional/themes/dark-dimmed.json +1551 -366
- package/dist/styleLint/functional/themes/dark-high-contrast.json +1551 -366
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +1551 -366
- package/dist/styleLint/functional/themes/dark-tritanopia.json +1551 -366
- package/dist/styleLint/functional/themes/dark.json +1551 -366
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +1554 -369
- package/dist/styleLint/functional/themes/light-colorblind.json +1554 -369
- package/dist/styleLint/functional/themes/light-high-contrast.json +1554 -369
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +1554 -369
- package/dist/styleLint/functional/themes/light-tritanopia.json +1554 -369
- package/dist/styleLint/functional/themes/light.json +1554 -369
- package/dist/styleLint/functional/typography/typography.json +28 -22
- package/package.json +6 -5
- package/src/tokens/base/motion/timing.json5 +12 -12
- package/src/tokens/base/size/size.json5 +19 -19
- package/src/tokens/base/typography/typography.json5 +6 -6
- package/src/tokens/component/avatar.json5 +72 -44
- package/src/tokens/component/button.json5 +1545 -1193
- package/src/tokens/functional/border/border.json5 +4 -1
- package/src/tokens/functional/color/bgColor.json5 +8 -0
- package/src/tokens/functional/color/display.json5 +7 -0
- package/src/tokens/functional/color/fgColor.json5 +8 -0
- package/src/tokens/functional/color/syntax.json5 +14 -0
- package/src/tokens/functional/shadow/shadow.json5 +678 -163
- package/src/tokens/functional/size/border.json5 +8 -8
- package/src/tokens/functional/size/breakpoints.json5 +6 -6
- package/src/tokens/functional/size/radius.json5 +4 -4
- package/src/tokens/functional/size/size.json5 +15 -15
- package/src/tokens/functional/typography/typography.json5 +8 -4
- package/dist/build/parsers/index.d.ts +0 -1
- package/dist/build/parsers/index.js +0 -1
- package/dist/build/parsers/w3cJsonParser.d.ts +0 -6
- package/dist/build/parsers/w3cJsonParser.js +0 -25
- package/dist/removed/testing.json5 +0 -4
- package/guidelines/color.llm.md +0 -16
- package/guidelines/guidelines.llm.md +0 -34
- package/guidelines/motion.llm.md +0 -41
- package/guidelines/spacing.llm.md +0 -20
- package/guidelines/typography.llm.md +0 -14
- package/src/tokens/removed/testing.json5 +0 -4
- package/token-guidelines.llm.md +0 -695
|
@@ -11,7 +11,14 @@ export declare const borderValue: z.ZodObject<{
|
|
|
11
11
|
ridge: "ridge";
|
|
12
12
|
outset: "outset";
|
|
13
13
|
}>;
|
|
14
|
-
width: z.ZodUnion<readonly [z.
|
|
14
|
+
width: z.ZodUnion<readonly [z.ZodObject<{
|
|
15
|
+
value: z.ZodNumber;
|
|
16
|
+
unit: z.ZodEnum<{
|
|
17
|
+
em: "em";
|
|
18
|
+
px: "px";
|
|
19
|
+
rem: "rem";
|
|
20
|
+
}>;
|
|
21
|
+
}, z.core.$strict>, z.ZodString]>;
|
|
15
22
|
}, z.core.$strip>;
|
|
16
23
|
export declare const borderToken: z.ZodObject<{
|
|
17
24
|
$description: z.ZodOptional<z.ZodString>;
|
|
@@ -28,9 +35,16 @@ export declare const borderToken: z.ZodObject<{
|
|
|
28
35
|
ridge: "ridge";
|
|
29
36
|
outset: "outset";
|
|
30
37
|
}>;
|
|
31
|
-
width: z.ZodUnion<readonly [z.
|
|
38
|
+
width: z.ZodUnion<readonly [z.ZodObject<{
|
|
39
|
+
value: z.ZodNumber;
|
|
40
|
+
unit: z.ZodEnum<{
|
|
41
|
+
em: "em";
|
|
42
|
+
px: "px";
|
|
43
|
+
rem: "rem";
|
|
44
|
+
}>;
|
|
45
|
+
}, z.core.$strict>, z.ZodString]>;
|
|
32
46
|
}, z.core.$strip>, z.ZodString]>;
|
|
33
|
-
$type: z.ZodLiteral<"
|
|
47
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
34
48
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
35
49
|
'org.primer.llm': z.ZodOptional<z.ZodObject<{
|
|
36
50
|
usage: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4,7 +4,7 @@ export declare const colorToken: z.ZodObject<{
|
|
|
4
4
|
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
5
5
|
$value: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6
6
|
alpha: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
7
|
-
$type: z.ZodLiteral<"
|
|
7
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
8
8
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
9
9
|
'org.primer.figma': z.ZodOptional<z.ZodObject<{
|
|
10
10
|
collection: z.ZodOptional<z.ZodString>;
|
|
@@ -3,7 +3,7 @@ export declare const cubicBezierToken: z.ZodObject<{
|
|
|
3
3
|
$description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
5
5
|
$value: z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>;
|
|
6
|
-
$type: z.ZodLiteral<"
|
|
6
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
7
7
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
8
8
|
'org.primer.llm': z.ZodOptional<z.ZodObject<{
|
|
9
9
|
usage: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2,8 +2,15 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const dimensionToken: z.ZodObject<{
|
|
3
3
|
$description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
5
|
-
$value: z.ZodUnion<readonly [z.
|
|
6
|
-
|
|
5
|
+
$value: z.ZodUnion<readonly [z.ZodObject<{
|
|
6
|
+
value: z.ZodNumber;
|
|
7
|
+
unit: z.ZodEnum<{
|
|
8
|
+
em: "em";
|
|
9
|
+
px: "px";
|
|
10
|
+
rem: "rem";
|
|
11
|
+
}>;
|
|
12
|
+
}, z.core.$strict>, z.ZodString]>;
|
|
13
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
7
14
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
8
15
|
'org.primer.figma': z.ZodOptional<z.ZodObject<{
|
|
9
16
|
collection: z.ZodString;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* W3C DTCG dimension value format
|
|
4
|
+
* @link https://www.designtokens.org/tr/drafts/format/#dimension
|
|
5
|
+
*/
|
|
6
|
+
export declare const dimensionValue: z.ZodObject<{
|
|
7
|
+
value: z.ZodNumber;
|
|
8
|
+
unit: z.ZodEnum<{
|
|
9
|
+
em: "em";
|
|
10
|
+
px: "px";
|
|
11
|
+
rem: "rem";
|
|
12
|
+
}>;
|
|
13
|
+
}, z.core.$strict>;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
z.literal('0'),
|
|
13
|
-
z.literal(0),
|
|
14
|
-
]);
|
|
2
|
+
/**
|
|
3
|
+
* W3C DTCG dimension value format
|
|
4
|
+
* @link https://www.designtokens.org/tr/drafts/format/#dimension
|
|
5
|
+
*/
|
|
6
|
+
export const dimensionValue = z
|
|
7
|
+
.object({
|
|
8
|
+
value: z.number(),
|
|
9
|
+
unit: z.enum(['px', 'rem', 'em']),
|
|
10
|
+
})
|
|
11
|
+
.strict();
|
|
@@ -2,8 +2,14 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const durationToken: z.ZodObject<{
|
|
3
3
|
$description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
5
|
-
$value: z.ZodUnion<readonly [z.
|
|
6
|
-
|
|
5
|
+
$value: z.ZodUnion<readonly [z.ZodObject<{
|
|
6
|
+
value: z.ZodNumber;
|
|
7
|
+
unit: z.ZodEnum<{
|
|
8
|
+
s: "s";
|
|
9
|
+
ms: "ms";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strict>, z.ZodString]>;
|
|
12
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
7
13
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
8
14
|
'org.primer.llm': z.ZodOptional<z.ZodObject<{
|
|
9
15
|
usage: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* W3C DTCG duration value format
|
|
4
|
+
* @see https://www.designtokens.org/tr/2025.10/format/#duration
|
|
5
|
+
*/
|
|
6
|
+
export declare const durationValue: z.ZodObject<{
|
|
7
|
+
value: z.ZodNumber;
|
|
8
|
+
unit: z.ZodEnum<{
|
|
9
|
+
s: "s";
|
|
10
|
+
ms: "ms";
|
|
11
|
+
}>;
|
|
12
|
+
}, z.core.$strict>;
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { schemaErrorMessage } from '../utilities/index.js';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* W3C DTCG duration value format
|
|
5
|
+
* @see https://www.designtokens.org/tr/2025.10/format/#duration
|
|
6
|
+
*/
|
|
7
|
+
export const durationValue = z
|
|
8
|
+
.object({
|
|
9
|
+
value: z.number(),
|
|
10
|
+
unit: z.enum(['ms', 's']),
|
|
11
|
+
})
|
|
12
|
+
.strict()
|
|
13
|
+
.superRefine((duration, ctx) => {
|
|
14
|
+
if (typeof duration.value !== 'number') {
|
|
5
15
|
ctx.addIssue({
|
|
6
16
|
code: 'custom',
|
|
7
|
-
message: schemaErrorMessage(`Invalid duration: "${duration}"`, `
|
|
17
|
+
message: schemaErrorMessage(`Invalid duration value: "${duration.value}"`, `Duration value must be a number`),
|
|
8
18
|
});
|
|
9
19
|
}
|
|
10
20
|
});
|
|
@@ -3,7 +3,7 @@ export declare const fontFamilyToken: z.ZodObject<{
|
|
|
3
3
|
$description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
5
5
|
$value: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6
|
-
$type: z.ZodLiteral<"
|
|
6
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
7
7
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
8
8
|
'org.primer.figma': z.ZodObject<{
|
|
9
9
|
collection: z.ZodOptional<z.ZodString>;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const fontWeightToken: z.ZodObject<{
|
|
3
3
|
$description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
5
|
-
$type: z.ZodLiteral<"
|
|
5
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
6
6
|
$value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
7
7
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
8
8
|
'org.primer.figma': z.ZodObject<{
|
|
@@ -6,7 +6,7 @@ export declare const gradientToken: z.ZodObject<{
|
|
|
6
6
|
color: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
7
7
|
position: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>>, z.ZodString]>;
|
|
9
|
-
$type: z.ZodLiteral<"
|
|
9
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
10
10
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
11
11
|
'org.primer.gradient': z.ZodObject<{
|
|
12
12
|
angle: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3,7 +3,7 @@ export declare const numberToken: z.ZodObject<{
|
|
|
3
3
|
$description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
5
5
|
$value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
6
|
-
$type: z.ZodLiteral<"
|
|
6
|
+
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
|
|
7
7
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
8
8
|
'org.primer.data': z.ZodOptional<z.ZodObject<{
|
|
9
9
|
fontSize: z.ZodOptional<z.ZodNumber>;
|