@luci-dev/format 0.0.0-stage → 0.5.0
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/LICENSE +21 -0
- package/dist/agents.d.ts +25 -0
- package/dist/agents.d.ts.map +1 -0
- package/dist/agents.js +36 -0
- package/dist/agents.js.map +1 -0
- package/dist/capture/baseline.d.ts +53 -0
- package/dist/capture/baseline.d.ts.map +1 -0
- package/dist/capture/baseline.js +400 -0
- package/dist/capture/baseline.js.map +1 -0
- package/dist/capture/check.d.ts +111 -0
- package/dist/capture/check.d.ts.map +1 -0
- package/dist/capture/check.js +327 -0
- package/dist/capture/check.js.map +1 -0
- package/dist/capture/collection.d.ts +2647 -0
- package/dist/capture/collection.d.ts.map +1 -0
- package/dist/capture/collection.js +103 -0
- package/dist/capture/collection.js.map +1 -0
- package/dist/capture/compare.d.ts +50 -0
- package/dist/capture/compare.d.ts.map +1 -0
- package/dist/capture/compare.js +167 -0
- package/dist/capture/compare.js.map +1 -0
- package/dist/capture/format.d.ts +59 -0
- package/dist/capture/format.d.ts.map +1 -0
- package/dist/capture/format.js +540 -0
- package/dist/capture/format.js.map +1 -0
- package/dist/capture/image.d.ts +42 -0
- package/dist/capture/image.d.ts.map +1 -0
- package/dist/capture/image.js +103 -0
- package/dist/capture/image.js.map +1 -0
- package/dist/capture/index.d.ts +18 -0
- package/dist/capture/index.d.ts.map +1 -0
- package/dist/capture/index.js +18 -0
- package/dist/capture/index.js.map +1 -0
- package/dist/capture/layout.d.ts +21 -0
- package/dist/capture/layout.d.ts.map +1 -0
- package/dist/capture/layout.js +131 -0
- package/dist/capture/layout.js.map +1 -0
- package/dist/capture/merge.d.ts +46 -0
- package/dist/capture/merge.d.ts.map +1 -0
- package/dist/capture/merge.js +251 -0
- package/dist/capture/merge.js.map +1 -0
- package/dist/capture/read.d.ts +91 -0
- package/dist/capture/read.d.ts.map +1 -0
- package/dist/capture/read.js +179 -0
- package/dist/capture/read.js.map +1 -0
- package/dist/capture/remap.d.ts +34 -0
- package/dist/capture/remap.d.ts.map +1 -0
- package/dist/capture/remap.js +227 -0
- package/dist/capture/remap.js.map +1 -0
- package/dist/capture/rule.d.ts +19 -0
- package/dist/capture/rule.d.ts.map +1 -0
- package/dist/capture/rule.js +39 -0
- package/dist/capture/rule.js.map +1 -0
- package/dist/capture/schema.d.ts +3020 -0
- package/dist/capture/schema.d.ts.map +1 -0
- package/dist/capture/schema.js +488 -0
- package/dist/capture/schema.js.map +1 -0
- package/dist/capture/spacingUnit.d.ts +32 -0
- package/dist/capture/spacingUnit.d.ts.map +1 -0
- package/dist/capture/spacingUnit.js +49 -0
- package/dist/capture/spacingUnit.js.map +1 -0
- package/dist/capture/stitch.d.ts +11 -0
- package/dist/capture/stitch.d.ts.map +1 -0
- package/dist/capture/stitch.js +382 -0
- package/dist/capture/stitch.js.map +1 -0
- package/dist/capture/tokensExport.d.ts +37 -0
- package/dist/capture/tokensExport.d.ts.map +1 -0
- package/dist/capture/tokensExport.js +355 -0
- package/dist/capture/tokensExport.js.map +1 -0
- package/dist/capture/values.d.ts +47 -0
- package/dist/capture/values.d.ts.map +1 -0
- package/dist/capture/values.js +155 -0
- package/dist/capture/values.js.map +1 -0
- package/dist/feedback/index.d.ts +7 -0
- package/dist/feedback/index.d.ts.map +1 -0
- package/dist/feedback/index.js +7 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/feedback/layoutPrompt.d.ts +26 -0
- package/dist/feedback/layoutPrompt.d.ts.map +1 -0
- package/dist/feedback/layoutPrompt.js +38 -0
- package/dist/feedback/layoutPrompt.js.map +1 -0
- package/dist/feedback/parts.d.ts +17 -0
- package/dist/feedback/parts.d.ts.map +1 -0
- package/dist/feedback/parts.js +50 -0
- package/dist/feedback/parts.js.map +1 -0
- package/dist/feedback/prompt.d.ts +13 -0
- package/dist/feedback/prompt.d.ts.map +1 -0
- package/dist/feedback/prompt.js +114 -0
- package/dist/feedback/prompt.js.map +1 -0
- package/dist/feedback/schema.d.ts +504 -0
- package/dist/feedback/schema.d.ts.map +1 -0
- package/dist/feedback/schema.js +236 -0
- package/dist/feedback/schema.js.map +1 -0
- package/dist/feedback/wireframePrompt.d.ts +9 -0
- package/dist/feedback/wireframePrompt.d.ts.map +1 -0
- package/dist/feedback/wireframePrompt.js +24 -0
- package/dist/feedback/wireframePrompt.js.map +1 -0
- package/dist/home.d.ts +13 -0
- package/dist/home.d.ts.map +1 -0
- package/dist/home.js +19 -0
- package/dist/home.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/markdown/sections.d.ts +24 -0
- package/dist/markdown/sections.d.ts.map +1 -0
- package/dist/markdown/sections.js +58 -0
- package/dist/markdown/sections.js.map +1 -0
- package/dist/memory/activeTask.d.ts +25 -0
- package/dist/memory/activeTask.d.ts.map +1 -0
- package/dist/memory/activeTask.js +33 -0
- package/dist/memory/activeTask.js.map +1 -0
- package/dist/memory/brainJson.d.ts +44 -0
- package/dist/memory/brainJson.d.ts.map +1 -0
- package/dist/memory/brainJson.js +44 -0
- package/dist/memory/brainJson.js.map +1 -0
- package/dist/memory/decision.d.ts +30 -0
- package/dist/memory/decision.d.ts.map +1 -0
- package/dist/memory/decision.js +86 -0
- package/dist/memory/decision.js.map +1 -0
- package/dist/memory/layout.d.ts +41 -0
- package/dist/memory/layout.d.ts.map +1 -0
- package/dist/memory/layout.js +76 -0
- package/dist/memory/layout.js.map +1 -0
- package/dist/memory/proposed.d.ts +29 -0
- package/dist/memory/proposed.d.ts.map +1 -0
- package/dist/memory/proposed.js +63 -0
- package/dist/memory/proposed.js.map +1 -0
- package/dist/product.d.ts +17 -0
- package/dist/product.d.ts.map +1 -0
- package/dist/product.js +17 -0
- package/dist/product.js.map +1 -0
- package/dist/result.d.ts +17 -0
- package/dist/result.d.ts.map +1 -0
- package/dist/result.js +20 -0
- package/dist/result.js.map +1 -0
- package/dist/skills/contract.d.ts +137 -0
- package/dist/skills/contract.d.ts.map +1 -0
- package/dist/skills/contract.js +131 -0
- package/dist/skills/contract.js.map +1 -0
- package/dist/skills/frontmatter.d.ts +31 -0
- package/dist/skills/frontmatter.d.ts.map +1 -0
- package/dist/skills/frontmatter.js +214 -0
- package/dist/skills/frontmatter.js.map +1 -0
- package/package.json +31 -3
- package/README.md +0 -3
|
@@ -0,0 +1,3020 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Capture files (design.md): one Markdown file per capture, with YAML frontmatter saying
|
|
3
|
+
* where it came from, then fixed sections that depend on scope and type. See
|
|
4
|
+
* docs/format/capture.md. This module is browser-safe (no Node imports): the extension uses it.
|
|
5
|
+
*
|
|
6
|
+
* Token captures (one text style, color or spacing value, or every spacing value of one element),
|
|
7
|
+
* the three page systems (typography, color, spacing), components, and the full-page reference.
|
|
8
|
+
* v0.2 adds accessibility notes to components and text, and sections (layout plus component references).
|
|
9
|
+
*/
|
|
10
|
+
import { z } from 'zod';
|
|
11
|
+
export declare const CAPTURE_SCOPES: readonly ['token', 'system', 'component', 'section', 'page', 'collection'];
|
|
12
|
+
export declare const TOKEN_TYPES: readonly ['text', 'color', 'spacing'];
|
|
13
|
+
export declare const SYSTEM_TYPES: readonly ['typography', 'color', 'spacing'];
|
|
14
|
+
/**
|
|
15
|
+
* `measured` for values read from the live DOM; `estimated` for values guessed (a pixel on an image,
|
|
16
|
+
* a palette from a screenshot); `authored` for values read from the project's own stylesheets (B14).
|
|
17
|
+
*/
|
|
18
|
+
export declare const CAPTURE_METHODS: readonly ['measured', 'estimated', 'authored'];
|
|
19
|
+
export declare const COLOR_ROLES: readonly ['background', 'text', 'border', 'accent'];
|
|
20
|
+
export declare const UNIT_SETTINGS: readonly ['px', 'rem', 'both'];
|
|
21
|
+
export declare const COLOR_SETTINGS: readonly ['hex', 'rgb', 'hsl', 'oklch'];
|
|
22
|
+
/** How the source is written: the page (origin and path) or only the site's name ("lattice.com"). */
|
|
23
|
+
export declare const SOURCE_SETTINGS: readonly ['page', 'site'];
|
|
24
|
+
/** The file to copy and export: Luci's tables, Stitch DESIGN.md, Tailwind v4 @theme, Tailwind v3 config, or CSS variables. */
|
|
25
|
+
export declare const STYLE_SETTINGS: readonly ['luci', 'stitch', 'tailwind', 'tailwind-v3', 'css-vars'];
|
|
26
|
+
export type StyleSetting = (typeof STYLE_SETTINGS)[number];
|
|
27
|
+
/** A site's name as the "site" source setting writes it: host without "www.", with a port when there is one. */
|
|
28
|
+
export declare const siteNameSchema: z.ZodString;
|
|
29
|
+
export type CaptureScope = (typeof CAPTURE_SCOPES)[number];
|
|
30
|
+
export type ColorRole = (typeof COLOR_ROLES)[number];
|
|
31
|
+
/**
|
|
32
|
+
* One captured value. `computed` is what the browser resolved ("16px", "rgb(15, 98, 254)");
|
|
33
|
+
* `authored` is what the site wrote, when it differs ("var(--space-4)", "clamp(1rem, 2vw, 2rem)");
|
|
34
|
+
* `token` is the custom property it resolves through.
|
|
35
|
+
*/
|
|
36
|
+
export declare const valueSchema: z.ZodObject<{
|
|
37
|
+
computed: z.ZodString;
|
|
38
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
39
|
+
token: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type CapturedValue = z.infer<typeof valueSchema>;
|
|
42
|
+
/** Where something is used. `element` is named from tag and role, never from class names. */
|
|
43
|
+
export declare const elementRefSchema: z.ZodObject<{
|
|
44
|
+
element: z.ZodString;
|
|
45
|
+
selector: z.ZodString;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
export type ElementRef = z.infer<typeof elementRefSchema>;
|
|
48
|
+
/**
|
|
49
|
+
* Font identification (v0.5): detects the exact rendered webfont family in the fallback stack
|
|
50
|
+
* and identifies Google Fonts matches with import URLs.
|
|
51
|
+
*/
|
|
52
|
+
export declare const fontIdentificationSchema: z.ZodObject<{
|
|
53
|
+
rendered: z.ZodString;
|
|
54
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
export type FontIdentification = z.infer<typeof fontIdentificationSchema>;
|
|
58
|
+
/**
|
|
59
|
+
* Icon identification (v0.5): recognizes standard SVG icon sets (Lucide, Heroicons, Radix, FontAwesome)
|
|
60
|
+
* by attribute or geometry matching.
|
|
61
|
+
*/
|
|
62
|
+
export declare const iconSchema: z.ZodObject<{
|
|
63
|
+
set: z.ZodEnum<{
|
|
64
|
+
custom: "custom";
|
|
65
|
+
fontawesome: "fontawesome";
|
|
66
|
+
heroicons: "heroicons";
|
|
67
|
+
lucide: "lucide";
|
|
68
|
+
radix: "radix";
|
|
69
|
+
tabler: "tabler";
|
|
70
|
+
}>;
|
|
71
|
+
name: z.ZodString;
|
|
72
|
+
component: z.ZodOptional<z.ZodString>;
|
|
73
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export type IconInfo = z.infer<typeof iconSchema>;
|
|
76
|
+
/**
|
|
77
|
+
* Stack detection on external sites (v0.5): inspects external DOM and window globals to identify
|
|
78
|
+
* the site's framework, router, styling system, and UI component library.
|
|
79
|
+
*/
|
|
80
|
+
export declare const stackSchema: z.ZodObject<{
|
|
81
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
82
|
+
version: z.ZodOptional<z.ZodString>;
|
|
83
|
+
router: z.ZodOptional<z.ZodString>;
|
|
84
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
85
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
86
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
export type SiteStack = z.infer<typeof stackSchema>;
|
|
89
|
+
export declare const textStyleSchema: z.ZodObject<{
|
|
90
|
+
family: z.ZodObject<{
|
|
91
|
+
computed: z.ZodString;
|
|
92
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
93
|
+
token: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
size: z.ZodObject<{
|
|
96
|
+
computed: z.ZodString;
|
|
97
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
98
|
+
token: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
weight: z.ZodObject<{
|
|
101
|
+
computed: z.ZodString;
|
|
102
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
103
|
+
token: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
lineHeight: z.ZodObject<{
|
|
106
|
+
computed: z.ZodString;
|
|
107
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
108
|
+
token: z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
letterSpacing: z.ZodObject<{
|
|
111
|
+
computed: z.ZodString;
|
|
112
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
113
|
+
token: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
color: z.ZodObject<{
|
|
116
|
+
computed: z.ZodString;
|
|
117
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
118
|
+
token: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
rendered: z.ZodString;
|
|
122
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
126
|
+
computed: z.ZodString;
|
|
127
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
128
|
+
token: z.ZodOptional<z.ZodString>;
|
|
129
|
+
}, z.core.$strip>>;
|
|
130
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
computed: z.ZodString;
|
|
132
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
133
|
+
token: z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
decoration: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
computed: z.ZodString;
|
|
137
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
138
|
+
token: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
export type TextStyle = z.infer<typeof textStyleSchema>;
|
|
142
|
+
/**
|
|
143
|
+
* The user's own instructions for their coding agent (how to use or change this capture), written in
|
|
144
|
+
* the toolbar. Kept word for word in the file as "## Your instructions"; Luci never writes them.
|
|
145
|
+
*/
|
|
146
|
+
export declare const instructionsField: z.ZodOptional<z.ZodString>;
|
|
147
|
+
export declare const metaSchema: z.ZodObject<{
|
|
148
|
+
name: z.ZodString;
|
|
149
|
+
scope: z.ZodEnum<{
|
|
150
|
+
collection: "collection";
|
|
151
|
+
component: "component";
|
|
152
|
+
page: "page";
|
|
153
|
+
section: "section";
|
|
154
|
+
system: "system";
|
|
155
|
+
token: "token";
|
|
156
|
+
}>;
|
|
157
|
+
type: z.ZodString;
|
|
158
|
+
source: z.ZodURL;
|
|
159
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
160
|
+
captured: z.ZodString;
|
|
161
|
+
method: z.ZodEnum<{
|
|
162
|
+
authored: "authored";
|
|
163
|
+
estimated: "estimated";
|
|
164
|
+
measured: "measured";
|
|
165
|
+
}>;
|
|
166
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
export type CaptureMeta = z.infer<typeof metaSchema>;
|
|
169
|
+
/**
|
|
170
|
+
* In a site-level system: the same role or token with different values on different pages, each
|
|
171
|
+
* value with the pages that use it ("role heading-2": 32px on /pricing, 28px on /blog).
|
|
172
|
+
*/
|
|
173
|
+
export declare const conflictSchema: z.ZodObject<{
|
|
174
|
+
what: z.ZodString;
|
|
175
|
+
values: z.ZodArray<z.ZodObject<{
|
|
176
|
+
value: z.ZodString;
|
|
177
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
export type SystemConflict = z.infer<typeof conflictSchema>;
|
|
181
|
+
/** WCAG 2.2 levels a check meets: AAA, AA, or neither. */
|
|
182
|
+
export declare const WCAG_LEVELS: readonly ['AAA', 'AA', 'fail'];
|
|
183
|
+
export type WcagLevel = (typeof WCAG_LEVELS)[number];
|
|
184
|
+
/**
|
|
185
|
+
* Accessibility notes (v0.2), computed from the capture: text contrast against the color behind it,
|
|
186
|
+
* target size for something you click, and whether focus shows. Each is what Luci measured on the
|
|
187
|
+
* page; `estimated` marks a contrast whose background is a picture, a gradient or see-through.
|
|
188
|
+
*/
|
|
189
|
+
export declare const accessibilitySchema: z.ZodObject<{
|
|
190
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
191
|
+
part: z.ZodOptional<z.ZodString>;
|
|
192
|
+
text: z.ZodString;
|
|
193
|
+
background: z.ZodString;
|
|
194
|
+
ratio: z.ZodNumber;
|
|
195
|
+
large: z.ZodBoolean;
|
|
196
|
+
level: z.ZodEnum<{
|
|
197
|
+
AA: "AA";
|
|
198
|
+
AAA: "AAA";
|
|
199
|
+
fail: "fail";
|
|
200
|
+
}>;
|
|
201
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
width: z.ZodNumber;
|
|
205
|
+
height: z.ZodNumber;
|
|
206
|
+
level: z.ZodEnum<{
|
|
207
|
+
AA: "AA";
|
|
208
|
+
AAA: "AAA";
|
|
209
|
+
fail: "fail";
|
|
210
|
+
}>;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
214
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
215
|
+
focus: "focus";
|
|
216
|
+
"focus-visible": "focus-visible";
|
|
217
|
+
}>>;
|
|
218
|
+
by: z.ZodArray<z.ZodString>;
|
|
219
|
+
}, z.core.$strip>>;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
export type Accessibility = z.infer<typeof accessibilitySchema>;
|
|
222
|
+
export declare const textTokenSchema: z.ZodObject<{
|
|
223
|
+
meta: z.ZodObject<{
|
|
224
|
+
name: z.ZodString;
|
|
225
|
+
source: z.ZodURL;
|
|
226
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
227
|
+
captured: z.ZodString;
|
|
228
|
+
method: z.ZodEnum<{
|
|
229
|
+
authored: "authored";
|
|
230
|
+
estimated: "estimated";
|
|
231
|
+
measured: "measured";
|
|
232
|
+
}>;
|
|
233
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
234
|
+
scope: z.ZodLiteral<"token">;
|
|
235
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
238
|
+
style: z.ZodObject<{
|
|
239
|
+
family: z.ZodObject<{
|
|
240
|
+
computed: z.ZodString;
|
|
241
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
242
|
+
token: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.core.$strip>;
|
|
244
|
+
size: z.ZodObject<{
|
|
245
|
+
computed: z.ZodString;
|
|
246
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
247
|
+
token: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
weight: z.ZodObject<{
|
|
250
|
+
computed: z.ZodString;
|
|
251
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
252
|
+
token: z.ZodOptional<z.ZodString>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
lineHeight: z.ZodObject<{
|
|
255
|
+
computed: z.ZodString;
|
|
256
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
257
|
+
token: z.ZodOptional<z.ZodString>;
|
|
258
|
+
}, z.core.$strip>;
|
|
259
|
+
letterSpacing: z.ZodObject<{
|
|
260
|
+
computed: z.ZodString;
|
|
261
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
262
|
+
token: z.ZodOptional<z.ZodString>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
color: z.ZodObject<{
|
|
265
|
+
computed: z.ZodString;
|
|
266
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
267
|
+
token: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
270
|
+
rendered: z.ZodString;
|
|
271
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, z.core.$strip>>;
|
|
274
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
275
|
+
computed: z.ZodString;
|
|
276
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
277
|
+
token: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
280
|
+
computed: z.ZodString;
|
|
281
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
282
|
+
token: z.ZodOptional<z.ZodString>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
decoration: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
computed: z.ZodString;
|
|
286
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
287
|
+
token: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, z.core.$strip>>;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
usedBy: z.ZodObject<{
|
|
291
|
+
element: z.ZodString;
|
|
292
|
+
selector: z.ZodString;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
296
|
+
part: z.ZodOptional<z.ZodString>;
|
|
297
|
+
text: z.ZodString;
|
|
298
|
+
background: z.ZodString;
|
|
299
|
+
ratio: z.ZodNumber;
|
|
300
|
+
large: z.ZodBoolean;
|
|
301
|
+
level: z.ZodEnum<{
|
|
302
|
+
AA: "AA";
|
|
303
|
+
AAA: "AAA";
|
|
304
|
+
fail: "fail";
|
|
305
|
+
}>;
|
|
306
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
}, z.core.$strip>>;
|
|
308
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
309
|
+
width: z.ZodNumber;
|
|
310
|
+
height: z.ZodNumber;
|
|
311
|
+
level: z.ZodEnum<{
|
|
312
|
+
AA: "AA";
|
|
313
|
+
AAA: "AAA";
|
|
314
|
+
fail: "fail";
|
|
315
|
+
}>;
|
|
316
|
+
}, z.core.$strip>>;
|
|
317
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
319
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
focus: "focus";
|
|
321
|
+
"focus-visible": "focus-visible";
|
|
322
|
+
}>>;
|
|
323
|
+
by: z.ZodArray<z.ZodString>;
|
|
324
|
+
}, z.core.$strip>>;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
}, z.core.$strip>;
|
|
327
|
+
export declare const colorTokenSchema: z.ZodObject<{
|
|
328
|
+
meta: z.ZodObject<{
|
|
329
|
+
name: z.ZodString;
|
|
330
|
+
source: z.ZodURL;
|
|
331
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
332
|
+
captured: z.ZodString;
|
|
333
|
+
method: z.ZodEnum<{
|
|
334
|
+
authored: "authored";
|
|
335
|
+
estimated: "estimated";
|
|
336
|
+
measured: "measured";
|
|
337
|
+
}>;
|
|
338
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
339
|
+
scope: z.ZodLiteral<"token">;
|
|
340
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
343
|
+
value: z.ZodObject<{
|
|
344
|
+
computed: z.ZodString;
|
|
345
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
346
|
+
token: z.ZodOptional<z.ZodString>;
|
|
347
|
+
}, z.core.$strip>;
|
|
348
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
349
|
+
accent: "accent";
|
|
350
|
+
background: "background";
|
|
351
|
+
border: "border";
|
|
352
|
+
text: "text";
|
|
353
|
+
}>>;
|
|
354
|
+
usedFor: z.ZodArray<z.ZodObject<{
|
|
355
|
+
element: z.ZodString;
|
|
356
|
+
selector: z.ZodString;
|
|
357
|
+
property: z.ZodString;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
}, z.core.$strip>;
|
|
360
|
+
/**
|
|
361
|
+
* Every color value a component or element uses (background, text, border, accents), in one token file.
|
|
362
|
+
* The Color table has a row per unique color with its role and where used.
|
|
363
|
+
*/
|
|
364
|
+
export declare const colorSetSchema: z.ZodObject<{
|
|
365
|
+
meta: z.ZodObject<{
|
|
366
|
+
name: z.ZodString;
|
|
367
|
+
source: z.ZodURL;
|
|
368
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
369
|
+
captured: z.ZodString;
|
|
370
|
+
method: z.ZodEnum<{
|
|
371
|
+
authored: "authored";
|
|
372
|
+
estimated: "estimated";
|
|
373
|
+
measured: "measured";
|
|
374
|
+
}>;
|
|
375
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
376
|
+
scope: z.ZodLiteral<"token">;
|
|
377
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
380
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
381
|
+
value: z.ZodObject<{
|
|
382
|
+
computed: z.ZodString;
|
|
383
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
384
|
+
token: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
387
|
+
accent: "accent";
|
|
388
|
+
background: "background";
|
|
389
|
+
border: "border";
|
|
390
|
+
text: "text";
|
|
391
|
+
}>>;
|
|
392
|
+
usedFor: z.ZodArray<z.ZodObject<{
|
|
393
|
+
element: z.ZodString;
|
|
394
|
+
selector: z.ZodString;
|
|
395
|
+
property: z.ZodString;
|
|
396
|
+
}, z.core.$strip>>;
|
|
397
|
+
}, z.core.$strip>>;
|
|
398
|
+
usedBy: z.ZodObject<{
|
|
399
|
+
element: z.ZodString;
|
|
400
|
+
selector: z.ZodString;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
export type ColorSet = z.infer<typeof colorSetSchema>;
|
|
404
|
+
export declare const SPACING_KINDS: readonly ['padding', 'margin', 'gap', 'distance'];
|
|
405
|
+
export declare const spacingTokenSchema: z.ZodObject<{
|
|
406
|
+
meta: z.ZodObject<{
|
|
407
|
+
name: z.ZodString;
|
|
408
|
+
source: z.ZodURL;
|
|
409
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
410
|
+
captured: z.ZodString;
|
|
411
|
+
method: z.ZodEnum<{
|
|
412
|
+
authored: "authored";
|
|
413
|
+
estimated: "estimated";
|
|
414
|
+
measured: "measured";
|
|
415
|
+
}>;
|
|
416
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
417
|
+
scope: z.ZodLiteral<"token">;
|
|
418
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
421
|
+
value: z.ZodObject<{
|
|
422
|
+
computed: z.ZodString;
|
|
423
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
424
|
+
token: z.ZodOptional<z.ZodString>;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
kind: z.ZodEnum<{
|
|
427
|
+
distance: "distance";
|
|
428
|
+
gap: "gap";
|
|
429
|
+
margin: "margin";
|
|
430
|
+
padding: "padding";
|
|
431
|
+
}>;
|
|
432
|
+
property: z.ZodOptional<z.ZodString>;
|
|
433
|
+
label: z.ZodEnum<{
|
|
434
|
+
authored: "authored";
|
|
435
|
+
measured: "measured";
|
|
436
|
+
}>;
|
|
437
|
+
usedBy: z.ZodOptional<z.ZodObject<{
|
|
438
|
+
element: z.ZodString;
|
|
439
|
+
selector: z.ZodString;
|
|
440
|
+
}, z.core.$strip>>;
|
|
441
|
+
between: z.ZodOptional<z.ZodTuple<[z.ZodObject<{
|
|
442
|
+
element: z.ZodString;
|
|
443
|
+
selector: z.ZodString;
|
|
444
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
445
|
+
element: z.ZodString;
|
|
446
|
+
selector: z.ZodString;
|
|
447
|
+
}, z.core.$strip>], null>>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
/**
|
|
450
|
+
* Every spacing value one element sets (padding, margin, gap), in one token file: the Spacing tool's
|
|
451
|
+
* "All" choice. Same sections as a single spacing token; the Spacing table has a row per value.
|
|
452
|
+
*/
|
|
453
|
+
export declare const spacingSetSchema: z.ZodObject<{
|
|
454
|
+
meta: z.ZodObject<{
|
|
455
|
+
name: z.ZodString;
|
|
456
|
+
source: z.ZodURL;
|
|
457
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
458
|
+
captured: z.ZodString;
|
|
459
|
+
method: z.ZodEnum<{
|
|
460
|
+
authored: "authored";
|
|
461
|
+
estimated: "estimated";
|
|
462
|
+
measured: "measured";
|
|
463
|
+
}>;
|
|
464
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
465
|
+
scope: z.ZodLiteral<"token">;
|
|
466
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
467
|
+
}, z.core.$strip>;
|
|
468
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
469
|
+
values: z.ZodArray<z.ZodObject<{
|
|
470
|
+
value: z.ZodObject<{
|
|
471
|
+
computed: z.ZodString;
|
|
472
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
473
|
+
token: z.ZodOptional<z.ZodString>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
kind: z.ZodEnum<{
|
|
476
|
+
gap: "gap";
|
|
477
|
+
margin: "margin";
|
|
478
|
+
padding: "padding";
|
|
479
|
+
}>;
|
|
480
|
+
property: z.ZodString;
|
|
481
|
+
}, z.core.$strip>>;
|
|
482
|
+
usedBy: z.ZodObject<{
|
|
483
|
+
element: z.ZodString;
|
|
484
|
+
selector: z.ZodString;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
}, z.core.$strip>;
|
|
487
|
+
export declare const typographySystemSchema: z.ZodObject<{
|
|
488
|
+
meta: z.ZodObject<{
|
|
489
|
+
name: z.ZodString;
|
|
490
|
+
source: z.ZodURL;
|
|
491
|
+
captured: z.ZodString;
|
|
492
|
+
method: z.ZodEnum<{
|
|
493
|
+
authored: "authored";
|
|
494
|
+
estimated: "estimated";
|
|
495
|
+
measured: "measured";
|
|
496
|
+
}>;
|
|
497
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
498
|
+
scope: z.ZodLiteral<"system">;
|
|
499
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
500
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
501
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
504
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
505
|
+
role: z.ZodString;
|
|
506
|
+
style: z.ZodObject<{
|
|
507
|
+
family: z.ZodObject<{
|
|
508
|
+
computed: z.ZodString;
|
|
509
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
510
|
+
token: z.ZodOptional<z.ZodString>;
|
|
511
|
+
}, z.core.$strip>;
|
|
512
|
+
size: z.ZodObject<{
|
|
513
|
+
computed: z.ZodString;
|
|
514
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
515
|
+
token: z.ZodOptional<z.ZodString>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
weight: z.ZodObject<{
|
|
518
|
+
computed: z.ZodString;
|
|
519
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
520
|
+
token: z.ZodOptional<z.ZodString>;
|
|
521
|
+
}, z.core.$strip>;
|
|
522
|
+
lineHeight: z.ZodObject<{
|
|
523
|
+
computed: z.ZodString;
|
|
524
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
525
|
+
token: z.ZodOptional<z.ZodString>;
|
|
526
|
+
}, z.core.$strip>;
|
|
527
|
+
letterSpacing: z.ZodObject<{
|
|
528
|
+
computed: z.ZodString;
|
|
529
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
530
|
+
token: z.ZodOptional<z.ZodString>;
|
|
531
|
+
}, z.core.$strip>;
|
|
532
|
+
color: z.ZodObject<{
|
|
533
|
+
computed: z.ZodString;
|
|
534
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
535
|
+
token: z.ZodOptional<z.ZodString>;
|
|
536
|
+
}, z.core.$strip>;
|
|
537
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
538
|
+
rendered: z.ZodString;
|
|
539
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
541
|
+
}, z.core.$strip>>;
|
|
542
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
543
|
+
computed: z.ZodString;
|
|
544
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
545
|
+
token: z.ZodOptional<z.ZodString>;
|
|
546
|
+
}, z.core.$strip>>;
|
|
547
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
computed: z.ZodString;
|
|
549
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
550
|
+
token: z.ZodOptional<z.ZodString>;
|
|
551
|
+
}, z.core.$strip>>;
|
|
552
|
+
decoration: z.ZodOptional<z.ZodObject<{
|
|
553
|
+
computed: z.ZodString;
|
|
554
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
555
|
+
token: z.ZodOptional<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>>;
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
count: z.ZodNumber;
|
|
559
|
+
elements: z.ZodArray<z.ZodString>;
|
|
560
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
561
|
+
}, z.core.$strip>>;
|
|
562
|
+
families: z.ZodArray<z.ZodObject<{
|
|
563
|
+
family: z.ZodString;
|
|
564
|
+
count: z.ZodNumber;
|
|
565
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
566
|
+
rendered: z.ZodString;
|
|
567
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
568
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
569
|
+
}, z.core.$strip>>;
|
|
570
|
+
}, z.core.$strip>>;
|
|
571
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
572
|
+
size: z.ZodObject<{
|
|
573
|
+
computed: z.ZodString;
|
|
574
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
575
|
+
token: z.ZodOptional<z.ZodString>;
|
|
576
|
+
}, z.core.$strip>;
|
|
577
|
+
count: z.ZodNumber;
|
|
578
|
+
}, z.core.$strip>>;
|
|
579
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
580
|
+
what: z.ZodString;
|
|
581
|
+
values: z.ZodArray<z.ZodObject<{
|
|
582
|
+
value: z.ZodString;
|
|
583
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
}, z.core.$strip>>>;
|
|
586
|
+
}, z.core.$strip>;
|
|
587
|
+
export declare const colorSystemSchema: z.ZodObject<{
|
|
588
|
+
meta: z.ZodObject<{
|
|
589
|
+
name: z.ZodString;
|
|
590
|
+
source: z.ZodURL;
|
|
591
|
+
captured: z.ZodString;
|
|
592
|
+
method: z.ZodEnum<{
|
|
593
|
+
authored: "authored";
|
|
594
|
+
estimated: "estimated";
|
|
595
|
+
measured: "measured";
|
|
596
|
+
}>;
|
|
597
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
598
|
+
scope: z.ZodLiteral<"system">;
|
|
599
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
600
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
601
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
602
|
+
}, z.core.$strip>;
|
|
603
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
604
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
605
|
+
role: z.ZodEnum<{
|
|
606
|
+
accent: "accent";
|
|
607
|
+
background: "background";
|
|
608
|
+
border: "border";
|
|
609
|
+
text: "text";
|
|
610
|
+
}>;
|
|
611
|
+
value: z.ZodObject<{
|
|
612
|
+
computed: z.ZodString;
|
|
613
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
614
|
+
token: z.ZodOptional<z.ZodString>;
|
|
615
|
+
}, z.core.$strip>;
|
|
616
|
+
count: z.ZodNumber;
|
|
617
|
+
properties: z.ZodArray<z.ZodString>;
|
|
618
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
619
|
+
}, z.core.$strip>>;
|
|
620
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
621
|
+
token: z.ZodString;
|
|
622
|
+
value: z.ZodString;
|
|
623
|
+
count: z.ZodNumber;
|
|
624
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
625
|
+
}, z.core.$strip>>;
|
|
626
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
627
|
+
what: z.ZodString;
|
|
628
|
+
values: z.ZodArray<z.ZodObject<{
|
|
629
|
+
value: z.ZodString;
|
|
630
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
631
|
+
}, z.core.$strip>>;
|
|
632
|
+
}, z.core.$strip>>>;
|
|
633
|
+
}, z.core.$strip>;
|
|
634
|
+
export declare const spacingSystemSchema: z.ZodObject<{
|
|
635
|
+
meta: z.ZodObject<{
|
|
636
|
+
name: z.ZodString;
|
|
637
|
+
source: z.ZodURL;
|
|
638
|
+
captured: z.ZodString;
|
|
639
|
+
method: z.ZodEnum<{
|
|
640
|
+
authored: "authored";
|
|
641
|
+
estimated: "estimated";
|
|
642
|
+
measured: "measured";
|
|
643
|
+
}>;
|
|
644
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
645
|
+
scope: z.ZodLiteral<"system">;
|
|
646
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
647
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
648
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
649
|
+
}, z.core.$strip>;
|
|
650
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
651
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
652
|
+
value: z.ZodObject<{
|
|
653
|
+
computed: z.ZodString;
|
|
654
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
655
|
+
token: z.ZodOptional<z.ZodString>;
|
|
656
|
+
}, z.core.$strip>;
|
|
657
|
+
count: z.ZodNumber;
|
|
658
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
659
|
+
}, z.core.$strip>>;
|
|
660
|
+
baseUnit: z.ZodNullable<z.ZodObject<{
|
|
661
|
+
px: z.ZodNumber;
|
|
662
|
+
share: z.ZodNumber;
|
|
663
|
+
}, z.core.$strip>>;
|
|
664
|
+
outliers: z.ZodArray<z.ZodObject<{
|
|
665
|
+
value: z.ZodObject<{
|
|
666
|
+
computed: z.ZodString;
|
|
667
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
668
|
+
token: z.ZodOptional<z.ZodString>;
|
|
669
|
+
}, z.core.$strip>;
|
|
670
|
+
count: z.ZodNumber;
|
|
671
|
+
}, z.core.$strip>>;
|
|
672
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
673
|
+
what: z.ZodString;
|
|
674
|
+
values: z.ZodArray<z.ZodObject<{
|
|
675
|
+
value: z.ZodString;
|
|
676
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
677
|
+
}, z.core.$strip>>;
|
|
678
|
+
}, z.core.$strip>>>;
|
|
679
|
+
}, z.core.$strip>;
|
|
680
|
+
export declare const COMPONENT_STATES: readonly ['hover', 'focus', 'focus-visible', 'active', 'disabled'];
|
|
681
|
+
/**
|
|
682
|
+
* How a state was read: `forced` (the browser was told to apply it, via the debugger), `rules` (from
|
|
683
|
+
* stylesheet rules for the state), `attribute` (by setting disabled for a moment), `pointer` (the
|
|
684
|
+
* debugger moved a mouse pointer onto it, so the site's own JavaScript ran), `manual` (the user put
|
|
685
|
+
* the component in the state and captured it with "Capture by hand"). On a state that was not
|
|
686
|
+
* detected, the method says how Luci looked: `forced` or `pointer` mean there is no change; `rules`
|
|
687
|
+
* means none in the stylesheets (it may still change through JavaScript).
|
|
688
|
+
*/
|
|
689
|
+
export declare const STATE_METHODS: readonly ['forced', 'rules', 'attribute', 'pointer', 'manual'];
|
|
690
|
+
/** One property of a part, as captured. */
|
|
691
|
+
export declare const styleEntrySchema: z.ZodObject<{
|
|
692
|
+
property: z.ZodString;
|
|
693
|
+
value: z.ZodObject<{
|
|
694
|
+
computed: z.ZodString;
|
|
695
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
696
|
+
token: z.ZodOptional<z.ZodString>;
|
|
697
|
+
}, z.core.$strip>;
|
|
698
|
+
}, z.core.$strip>;
|
|
699
|
+
/**
|
|
700
|
+
* How a component shows one picture: an img, video, canvas, an SVG <image>, or a background photo.
|
|
701
|
+
* Never the image itself, its URL or its pixels (FR21): the agent puts its own image in the slot.
|
|
702
|
+
*/
|
|
703
|
+
export declare const IMAGE_KINDS: readonly ['img', 'video', 'canvas', 'svg-image', 'background'];
|
|
704
|
+
export declare const componentImageSchema: z.ZodObject<{
|
|
705
|
+
part: z.ZodString;
|
|
706
|
+
kind: z.ZodEnum<{
|
|
707
|
+
background: "background";
|
|
708
|
+
canvas: "canvas";
|
|
709
|
+
img: "img";
|
|
710
|
+
"svg-image": "svg-image";
|
|
711
|
+
video: "video";
|
|
712
|
+
}>;
|
|
713
|
+
size: z.ZodObject<{
|
|
714
|
+
width: z.ZodNumber;
|
|
715
|
+
height: z.ZodNumber;
|
|
716
|
+
}, z.core.$strip>;
|
|
717
|
+
aspectRatio: z.ZodString;
|
|
718
|
+
sourceAspectRatio: z.ZodOptional<z.ZodString>;
|
|
719
|
+
treatment: z.ZodArray<z.ZodObject<{
|
|
720
|
+
property: z.ZodString;
|
|
721
|
+
value: z.ZodObject<{
|
|
722
|
+
computed: z.ZodString;
|
|
723
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
724
|
+
token: z.ZodOptional<z.ZodString>;
|
|
725
|
+
}, z.core.$strip>;
|
|
726
|
+
on: z.ZodOptional<z.ZodString>;
|
|
727
|
+
corners: z.ZodOptional<z.ZodString>;
|
|
728
|
+
}, z.core.$strip>>;
|
|
729
|
+
overlays: z.ZodArray<z.ZodObject<{
|
|
730
|
+
on: z.ZodString;
|
|
731
|
+
background: z.ZodString;
|
|
732
|
+
opacity: z.ZodOptional<z.ZodString>;
|
|
733
|
+
blend: z.ZodOptional<z.ZodString>;
|
|
734
|
+
}, z.core.$strip>>;
|
|
735
|
+
}, z.core.$strip>;
|
|
736
|
+
export type ComponentImage = z.infer<typeof componentImageSchema>;
|
|
737
|
+
/**
|
|
738
|
+
* How a component or section changes by window width (v0.3.4): read at 2 or 3 widths chosen from the
|
|
739
|
+
* site's own media queries that style it, each width with the page's own styles. One row per part
|
|
740
|
+
* and property that differs between the widths; a value is null where the property is not set, and
|
|
741
|
+
* the property `shown` ("yes"/"no") says a part is only there at some widths.
|
|
742
|
+
*/
|
|
743
|
+
export declare const responsiveSchema: z.ZodObject<{
|
|
744
|
+
widths: z.ZodArray<z.ZodNumber>;
|
|
745
|
+
queries: z.ZodArray<z.ZodString>;
|
|
746
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
747
|
+
part: z.ZodString;
|
|
748
|
+
property: z.ZodString;
|
|
749
|
+
values: z.ZodArray<z.ZodNullable<z.ZodString>>;
|
|
750
|
+
}, z.core.$strip>>;
|
|
751
|
+
}, z.core.$strip>;
|
|
752
|
+
export type Responsive = z.infer<typeof responsiveSchema>;
|
|
753
|
+
/**
|
|
754
|
+
* Computed layout relationships (v0.4.3): captures parent/child flex and grid layout roles,
|
|
755
|
+
* directions, alignments, gaps, and item layout properties so agents receive layout hierarchy context.
|
|
756
|
+
*/
|
|
757
|
+
export declare const computedLayoutSchema: z.ZodObject<{
|
|
758
|
+
display: z.ZodOptional<z.ZodString>;
|
|
759
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
760
|
+
column: "column";
|
|
761
|
+
"column-reverse": "column-reverse";
|
|
762
|
+
row: "row";
|
|
763
|
+
"row-reverse": "row-reverse";
|
|
764
|
+
}>>;
|
|
765
|
+
wrap: z.ZodOptional<z.ZodEnum<{
|
|
766
|
+
nowrap: "nowrap";
|
|
767
|
+
wrap: "wrap";
|
|
768
|
+
"wrap-reverse": "wrap-reverse";
|
|
769
|
+
}>>;
|
|
770
|
+
justifyContent: z.ZodOptional<z.ZodString>;
|
|
771
|
+
alignItems: z.ZodOptional<z.ZodString>;
|
|
772
|
+
alignContent: z.ZodOptional<z.ZodString>;
|
|
773
|
+
gap: z.ZodOptional<z.ZodString>;
|
|
774
|
+
rowGap: z.ZodOptional<z.ZodString>;
|
|
775
|
+
columnGap: z.ZodOptional<z.ZodString>;
|
|
776
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
777
|
+
rows: z.ZodOptional<z.ZodString>;
|
|
778
|
+
autoFlow: z.ZodOptional<z.ZodString>;
|
|
779
|
+
justifyItems: z.ZodOptional<z.ZodString>;
|
|
780
|
+
parentLayout: z.ZodOptional<z.ZodEnum<{
|
|
781
|
+
block: "block";
|
|
782
|
+
flex: "flex";
|
|
783
|
+
grid: "grid";
|
|
784
|
+
}>>;
|
|
785
|
+
alignSelf: z.ZodOptional<z.ZodString>;
|
|
786
|
+
justifySelf: z.ZodOptional<z.ZodString>;
|
|
787
|
+
flexGrow: z.ZodOptional<z.ZodString>;
|
|
788
|
+
flexShrink: z.ZodOptional<z.ZodString>;
|
|
789
|
+
flexBasis: z.ZodOptional<z.ZodString>;
|
|
790
|
+
flex: z.ZodOptional<z.ZodString>;
|
|
791
|
+
gridColumn: z.ZodOptional<z.ZodString>;
|
|
792
|
+
gridRow: z.ZodOptional<z.ZodString>;
|
|
793
|
+
order: z.ZodOptional<z.ZodString>;
|
|
794
|
+
}, z.core.$strip>;
|
|
795
|
+
export type ComputedLayout = z.infer<typeof computedLayoutSchema>;
|
|
796
|
+
export type LayoutTreeNode = {
|
|
797
|
+
part: string;
|
|
798
|
+
element: string;
|
|
799
|
+
depth: number;
|
|
800
|
+
parent?: string;
|
|
801
|
+
layout?: ComputedLayout;
|
|
802
|
+
children: LayoutTreeNode[];
|
|
803
|
+
};
|
|
804
|
+
export declare const layoutTreeNodeSchema: z.ZodType<LayoutTreeNode>;
|
|
805
|
+
export declare const componentSchema: z.ZodObject<{
|
|
806
|
+
meta: z.ZodObject<{
|
|
807
|
+
name: z.ZodString;
|
|
808
|
+
source: z.ZodURL;
|
|
809
|
+
captured: z.ZodString;
|
|
810
|
+
method: z.ZodEnum<{
|
|
811
|
+
authored: "authored";
|
|
812
|
+
estimated: "estimated";
|
|
813
|
+
measured: "measured";
|
|
814
|
+
}>;
|
|
815
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
816
|
+
scope: z.ZodLiteral<"component">;
|
|
817
|
+
type: z.ZodString;
|
|
818
|
+
selector: z.ZodString;
|
|
819
|
+
}, z.core.$strip>;
|
|
820
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
821
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
822
|
+
token: z.ZodString;
|
|
823
|
+
value: z.ZodString;
|
|
824
|
+
usedFor: z.ZodArray<z.ZodString>;
|
|
825
|
+
}, z.core.$strip>>;
|
|
826
|
+
anatomy: z.ZodArray<z.ZodObject<{
|
|
827
|
+
part: z.ZodString;
|
|
828
|
+
element: z.ZodString;
|
|
829
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
830
|
+
appearsIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
831
|
+
active: "active";
|
|
832
|
+
disabled: "disabled";
|
|
833
|
+
focus: "focus";
|
|
834
|
+
"focus-visible": "focus-visible";
|
|
835
|
+
hover: "hover";
|
|
836
|
+
}>>>;
|
|
837
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
838
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
839
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
840
|
+
display: z.ZodOptional<z.ZodString>;
|
|
841
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
842
|
+
column: "column";
|
|
843
|
+
"column-reverse": "column-reverse";
|
|
844
|
+
row: "row";
|
|
845
|
+
"row-reverse": "row-reverse";
|
|
846
|
+
}>>;
|
|
847
|
+
wrap: z.ZodOptional<z.ZodEnum<{
|
|
848
|
+
nowrap: "nowrap";
|
|
849
|
+
wrap: "wrap";
|
|
850
|
+
"wrap-reverse": "wrap-reverse";
|
|
851
|
+
}>>;
|
|
852
|
+
justifyContent: z.ZodOptional<z.ZodString>;
|
|
853
|
+
alignItems: z.ZodOptional<z.ZodString>;
|
|
854
|
+
alignContent: z.ZodOptional<z.ZodString>;
|
|
855
|
+
gap: z.ZodOptional<z.ZodString>;
|
|
856
|
+
rowGap: z.ZodOptional<z.ZodString>;
|
|
857
|
+
columnGap: z.ZodOptional<z.ZodString>;
|
|
858
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
859
|
+
rows: z.ZodOptional<z.ZodString>;
|
|
860
|
+
autoFlow: z.ZodOptional<z.ZodString>;
|
|
861
|
+
justifyItems: z.ZodOptional<z.ZodString>;
|
|
862
|
+
parentLayout: z.ZodOptional<z.ZodEnum<{
|
|
863
|
+
block: "block";
|
|
864
|
+
flex: "flex";
|
|
865
|
+
grid: "grid";
|
|
866
|
+
}>>;
|
|
867
|
+
alignSelf: z.ZodOptional<z.ZodString>;
|
|
868
|
+
justifySelf: z.ZodOptional<z.ZodString>;
|
|
869
|
+
flexGrow: z.ZodOptional<z.ZodString>;
|
|
870
|
+
flexShrink: z.ZodOptional<z.ZodString>;
|
|
871
|
+
flexBasis: z.ZodOptional<z.ZodString>;
|
|
872
|
+
flex: z.ZodOptional<z.ZodString>;
|
|
873
|
+
gridColumn: z.ZodOptional<z.ZodString>;
|
|
874
|
+
gridRow: z.ZodOptional<z.ZodString>;
|
|
875
|
+
order: z.ZodOptional<z.ZodString>;
|
|
876
|
+
}, z.core.$strip>>;
|
|
877
|
+
icon: z.ZodOptional<z.ZodObject<{
|
|
878
|
+
set: z.ZodEnum<{
|
|
879
|
+
custom: "custom";
|
|
880
|
+
fontawesome: "fontawesome";
|
|
881
|
+
heroicons: "heroicons";
|
|
882
|
+
lucide: "lucide";
|
|
883
|
+
radix: "radix";
|
|
884
|
+
tabler: "tabler";
|
|
885
|
+
}>;
|
|
886
|
+
name: z.ZodString;
|
|
887
|
+
component: z.ZodOptional<z.ZodString>;
|
|
888
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
889
|
+
}, z.core.$strip>>;
|
|
890
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
891
|
+
property: z.ZodString;
|
|
892
|
+
value: z.ZodObject<{
|
|
893
|
+
computed: z.ZodString;
|
|
894
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
895
|
+
token: z.ZodOptional<z.ZodString>;
|
|
896
|
+
}, z.core.$strip>;
|
|
897
|
+
}, z.core.$strip>>;
|
|
898
|
+
}, z.core.$strip>>;
|
|
899
|
+
states: z.ZodArray<z.ZodObject<{
|
|
900
|
+
state: z.ZodEnum<{
|
|
901
|
+
active: "active";
|
|
902
|
+
disabled: "disabled";
|
|
903
|
+
focus: "focus";
|
|
904
|
+
"focus-visible": "focus-visible";
|
|
905
|
+
hover: "hover";
|
|
906
|
+
}>;
|
|
907
|
+
detected: z.ZodBoolean;
|
|
908
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
909
|
+
attribute: "attribute";
|
|
910
|
+
forced: "forced";
|
|
911
|
+
manual: "manual";
|
|
912
|
+
pointer: "pointer";
|
|
913
|
+
rules: "rules";
|
|
914
|
+
}>>;
|
|
915
|
+
trigger: z.ZodOptional<z.ZodObject<{
|
|
916
|
+
element: z.ZodString;
|
|
917
|
+
selector: z.ZodString;
|
|
918
|
+
depth: z.ZodNumber;
|
|
919
|
+
}, z.core.$strip>>;
|
|
920
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
921
|
+
part: z.ZodOptional<z.ZodString>;
|
|
922
|
+
property: z.ZodString;
|
|
923
|
+
from: z.ZodString;
|
|
924
|
+
to: z.ZodObject<{
|
|
925
|
+
computed: z.ZodString;
|
|
926
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
927
|
+
token: z.ZodOptional<z.ZodString>;
|
|
928
|
+
}, z.core.$strip>;
|
|
929
|
+
}, z.core.$strip>>;
|
|
930
|
+
}, z.core.$strip>>;
|
|
931
|
+
motion: z.ZodArray<z.ZodObject<{
|
|
932
|
+
part: z.ZodOptional<z.ZodString>;
|
|
933
|
+
kind: z.ZodEnum<{
|
|
934
|
+
animation: "animation";
|
|
935
|
+
transition: "transition";
|
|
936
|
+
}>;
|
|
937
|
+
target: z.ZodString;
|
|
938
|
+
duration: z.ZodString;
|
|
939
|
+
easing: z.ZodString;
|
|
940
|
+
delay: z.ZodOptional<z.ZodString>;
|
|
941
|
+
}, z.core.$strip>>;
|
|
942
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
943
|
+
part: z.ZodString;
|
|
944
|
+
kind: z.ZodEnum<{
|
|
945
|
+
background: "background";
|
|
946
|
+
canvas: "canvas";
|
|
947
|
+
img: "img";
|
|
948
|
+
"svg-image": "svg-image";
|
|
949
|
+
video: "video";
|
|
950
|
+
}>;
|
|
951
|
+
size: z.ZodObject<{
|
|
952
|
+
width: z.ZodNumber;
|
|
953
|
+
height: z.ZodNumber;
|
|
954
|
+
}, z.core.$strip>;
|
|
955
|
+
aspectRatio: z.ZodString;
|
|
956
|
+
sourceAspectRatio: z.ZodOptional<z.ZodString>;
|
|
957
|
+
treatment: z.ZodArray<z.ZodObject<{
|
|
958
|
+
property: z.ZodString;
|
|
959
|
+
value: z.ZodObject<{
|
|
960
|
+
computed: z.ZodString;
|
|
961
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
962
|
+
token: z.ZodOptional<z.ZodString>;
|
|
963
|
+
}, z.core.$strip>;
|
|
964
|
+
on: z.ZodOptional<z.ZodString>;
|
|
965
|
+
corners: z.ZodOptional<z.ZodString>;
|
|
966
|
+
}, z.core.$strip>>;
|
|
967
|
+
overlays: z.ZodArray<z.ZodObject<{
|
|
968
|
+
on: z.ZodString;
|
|
969
|
+
background: z.ZodString;
|
|
970
|
+
opacity: z.ZodOptional<z.ZodString>;
|
|
971
|
+
blend: z.ZodOptional<z.ZodString>;
|
|
972
|
+
}, z.core.$strip>>;
|
|
973
|
+
}, z.core.$strip>>>;
|
|
974
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
975
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
976
|
+
part: z.ZodOptional<z.ZodString>;
|
|
977
|
+
text: z.ZodString;
|
|
978
|
+
background: z.ZodString;
|
|
979
|
+
ratio: z.ZodNumber;
|
|
980
|
+
large: z.ZodBoolean;
|
|
981
|
+
level: z.ZodEnum<{
|
|
982
|
+
AA: "AA";
|
|
983
|
+
AAA: "AAA";
|
|
984
|
+
fail: "fail";
|
|
985
|
+
}>;
|
|
986
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
987
|
+
}, z.core.$strip>>;
|
|
988
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
989
|
+
width: z.ZodNumber;
|
|
990
|
+
height: z.ZodNumber;
|
|
991
|
+
level: z.ZodEnum<{
|
|
992
|
+
AA: "AA";
|
|
993
|
+
AAA: "AAA";
|
|
994
|
+
fail: "fail";
|
|
995
|
+
}>;
|
|
996
|
+
}, z.core.$strip>>;
|
|
997
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
998
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
999
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
1000
|
+
focus: "focus";
|
|
1001
|
+
"focus-visible": "focus-visible";
|
|
1002
|
+
}>>;
|
|
1003
|
+
by: z.ZodArray<z.ZodString>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
}, z.core.$strip>>;
|
|
1006
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
1007
|
+
widths: z.ZodArray<z.ZodNumber>;
|
|
1008
|
+
queries: z.ZodArray<z.ZodString>;
|
|
1009
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
1010
|
+
part: z.ZodString;
|
|
1011
|
+
property: z.ZodString;
|
|
1012
|
+
values: z.ZodArray<z.ZodNullable<z.ZodString>>;
|
|
1013
|
+
}, z.core.$strip>>;
|
|
1014
|
+
}, z.core.$strip>>;
|
|
1015
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1016
|
+
name: z.ZodString;
|
|
1017
|
+
count: z.ZodNumber;
|
|
1018
|
+
selector: z.ZodString;
|
|
1019
|
+
differences: z.ZodArray<z.ZodObject<{
|
|
1020
|
+
property: z.ZodString;
|
|
1021
|
+
value: z.ZodObject<{
|
|
1022
|
+
computed: z.ZodString;
|
|
1023
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
}, z.core.$strip>;
|
|
1026
|
+
}, z.core.$strip>>;
|
|
1027
|
+
}, z.core.$strip>>>;
|
|
1028
|
+
layoutTree: z.ZodOptional<z.ZodType<LayoutTreeNode, unknown, z.core.$ZodTypeInternals<LayoutTreeNode, unknown>>>;
|
|
1029
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1030
|
+
part: z.ZodString;
|
|
1031
|
+
icon: z.ZodObject<{
|
|
1032
|
+
set: z.ZodEnum<{
|
|
1033
|
+
custom: "custom";
|
|
1034
|
+
fontawesome: "fontawesome";
|
|
1035
|
+
heroicons: "heroicons";
|
|
1036
|
+
lucide: "lucide";
|
|
1037
|
+
radix: "radix";
|
|
1038
|
+
tabler: "tabler";
|
|
1039
|
+
}>;
|
|
1040
|
+
name: z.ZodString;
|
|
1041
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
}, z.core.$strip>;
|
|
1044
|
+
}, z.core.$strip>>>;
|
|
1045
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
1046
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
router: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1052
|
+
}, z.core.$strip>>;
|
|
1053
|
+
}, z.core.$strip>;
|
|
1054
|
+
export type ComponentCapture = z.infer<typeof componentSchema>;
|
|
1055
|
+
/**
|
|
1056
|
+
* A section (v0.2): how a part of a page is laid out, with each component inside it placed by
|
|
1057
|
+
* reference to its own component file, so every component is described once. The structure is an
|
|
1058
|
+
* outline in page order: layout boxes with their own styles, text parts with their text style (never
|
|
1059
|
+
* the text), image slots, and components (several alike in a row become one line with a count).
|
|
1060
|
+
*/
|
|
1061
|
+
export declare const sectionSchema: z.ZodObject<{
|
|
1062
|
+
meta: z.ZodObject<{
|
|
1063
|
+
name: z.ZodString;
|
|
1064
|
+
source: z.ZodURL;
|
|
1065
|
+
captured: z.ZodString;
|
|
1066
|
+
method: z.ZodEnum<{
|
|
1067
|
+
authored: "authored";
|
|
1068
|
+
estimated: "estimated";
|
|
1069
|
+
measured: "measured";
|
|
1070
|
+
}>;
|
|
1071
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
scope: z.ZodLiteral<"section">;
|
|
1073
|
+
type: z.ZodString;
|
|
1074
|
+
selector: z.ZodString;
|
|
1075
|
+
}, z.core.$strip>;
|
|
1076
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
1078
|
+
token: z.ZodString;
|
|
1079
|
+
value: z.ZodString;
|
|
1080
|
+
usedFor: z.ZodArray<z.ZodString>;
|
|
1081
|
+
}, z.core.$strip>>;
|
|
1082
|
+
structure: z.ZodArray<z.ZodObject<{
|
|
1083
|
+
depth: z.ZodNumber;
|
|
1084
|
+
part: z.ZodString;
|
|
1085
|
+
element: z.ZodString;
|
|
1086
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1088
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1090
|
+
column: "column";
|
|
1091
|
+
"column-reverse": "column-reverse";
|
|
1092
|
+
row: "row";
|
|
1093
|
+
"row-reverse": "row-reverse";
|
|
1094
|
+
}>>;
|
|
1095
|
+
wrap: z.ZodOptional<z.ZodEnum<{
|
|
1096
|
+
nowrap: "nowrap";
|
|
1097
|
+
wrap: "wrap";
|
|
1098
|
+
"wrap-reverse": "wrap-reverse";
|
|
1099
|
+
}>>;
|
|
1100
|
+
justifyContent: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
alignItems: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
alignContent: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
gap: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
rowGap: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
columnGap: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
1107
|
+
rows: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
autoFlow: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
justifyItems: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
parentLayout: z.ZodOptional<z.ZodEnum<{
|
|
1111
|
+
block: "block";
|
|
1112
|
+
flex: "flex";
|
|
1113
|
+
grid: "grid";
|
|
1114
|
+
}>>;
|
|
1115
|
+
alignSelf: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
justifySelf: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
flexGrow: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
flexShrink: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
flexBasis: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
flex: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
gridColumn: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
gridRow: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
}, z.core.$strip>>;
|
|
1125
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
1126
|
+
property: z.ZodString;
|
|
1127
|
+
value: z.ZodObject<{
|
|
1128
|
+
computed: z.ZodString;
|
|
1129
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
}, z.core.$strip>;
|
|
1132
|
+
}, z.core.$strip>>;
|
|
1133
|
+
component: z.ZodOptional<z.ZodObject<{
|
|
1134
|
+
name: z.ZodString;
|
|
1135
|
+
file: z.ZodString;
|
|
1136
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
|
+
}, z.core.$strip>>;
|
|
1138
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1139
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1140
|
+
width: z.ZodNumber;
|
|
1141
|
+
height: z.ZodNumber;
|
|
1142
|
+
aspectRatio: z.ZodString;
|
|
1143
|
+
}, z.core.$strip>>;
|
|
1144
|
+
}, z.core.$strip>>;
|
|
1145
|
+
components: z.ZodArray<z.ZodObject<{
|
|
1146
|
+
name: z.ZodString;
|
|
1147
|
+
type: z.ZodString;
|
|
1148
|
+
file: z.ZodString;
|
|
1149
|
+
count: z.ZodNumber;
|
|
1150
|
+
variants: z.ZodNumber;
|
|
1151
|
+
inside: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
}, z.core.$strip>>;
|
|
1153
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
1154
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
1155
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
text: z.ZodString;
|
|
1157
|
+
background: z.ZodString;
|
|
1158
|
+
ratio: z.ZodNumber;
|
|
1159
|
+
large: z.ZodBoolean;
|
|
1160
|
+
level: z.ZodEnum<{
|
|
1161
|
+
AA: "AA";
|
|
1162
|
+
AAA: "AAA";
|
|
1163
|
+
fail: "fail";
|
|
1164
|
+
}>;
|
|
1165
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
1166
|
+
}, z.core.$strip>>;
|
|
1167
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
1168
|
+
width: z.ZodNumber;
|
|
1169
|
+
height: z.ZodNumber;
|
|
1170
|
+
level: z.ZodEnum<{
|
|
1171
|
+
AA: "AA";
|
|
1172
|
+
AAA: "AAA";
|
|
1173
|
+
fail: "fail";
|
|
1174
|
+
}>;
|
|
1175
|
+
}, z.core.$strip>>;
|
|
1176
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
1177
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
1178
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
1179
|
+
focus: "focus";
|
|
1180
|
+
"focus-visible": "focus-visible";
|
|
1181
|
+
}>>;
|
|
1182
|
+
by: z.ZodArray<z.ZodString>;
|
|
1183
|
+
}, z.core.$strip>>;
|
|
1184
|
+
}, z.core.$strip>>;
|
|
1185
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
1186
|
+
widths: z.ZodArray<z.ZodNumber>;
|
|
1187
|
+
queries: z.ZodArray<z.ZodString>;
|
|
1188
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
1189
|
+
part: z.ZodString;
|
|
1190
|
+
property: z.ZodString;
|
|
1191
|
+
values: z.ZodArray<z.ZodNullable<z.ZodString>>;
|
|
1192
|
+
}, z.core.$strip>>;
|
|
1193
|
+
}, z.core.$strip>>;
|
|
1194
|
+
layoutTree: z.ZodOptional<z.ZodType<LayoutTreeNode, unknown, z.core.$ZodTypeInternals<LayoutTreeNode, unknown>>>;
|
|
1195
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
1196
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
router: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1202
|
+
}, z.core.$strip>>;
|
|
1203
|
+
}, z.core.$strip>;
|
|
1204
|
+
export type SectionCapture = z.infer<typeof sectionSchema>;
|
|
1205
|
+
/**
|
|
1206
|
+
* A full-page reference: the page's typography, color and spacing systems plus one entry per kind
|
|
1207
|
+
* of component on it (with its variants and states), in one file. Each system is null when the page
|
|
1208
|
+
* has none of it (no visible text, colors or spacing).
|
|
1209
|
+
*/
|
|
1210
|
+
export declare const pageSchema: z.ZodObject<{
|
|
1211
|
+
meta: z.ZodObject<{
|
|
1212
|
+
name: z.ZodString;
|
|
1213
|
+
source: z.ZodURL;
|
|
1214
|
+
captured: z.ZodString;
|
|
1215
|
+
method: z.ZodEnum<{
|
|
1216
|
+
authored: "authored";
|
|
1217
|
+
estimated: "estimated";
|
|
1218
|
+
measured: "measured";
|
|
1219
|
+
}>;
|
|
1220
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
scope: z.ZodLiteral<"page">;
|
|
1222
|
+
type: z.ZodLiteral<"page">;
|
|
1223
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
1224
|
+
}, z.core.$strip>;
|
|
1225
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
typography: z.ZodNullable<z.ZodObject<{
|
|
1227
|
+
meta: z.ZodObject<{
|
|
1228
|
+
name: z.ZodString;
|
|
1229
|
+
source: z.ZodURL;
|
|
1230
|
+
captured: z.ZodString;
|
|
1231
|
+
method: z.ZodEnum<{
|
|
1232
|
+
authored: "authored";
|
|
1233
|
+
estimated: "estimated";
|
|
1234
|
+
measured: "measured";
|
|
1235
|
+
}>;
|
|
1236
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
scope: z.ZodLiteral<"system">;
|
|
1238
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
1239
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
1240
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1241
|
+
}, z.core.$strip>;
|
|
1242
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
1244
|
+
role: z.ZodString;
|
|
1245
|
+
style: z.ZodObject<{
|
|
1246
|
+
family: z.ZodObject<{
|
|
1247
|
+
computed: z.ZodString;
|
|
1248
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
}, z.core.$strip>;
|
|
1251
|
+
size: z.ZodObject<{
|
|
1252
|
+
computed: z.ZodString;
|
|
1253
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1255
|
+
}, z.core.$strip>;
|
|
1256
|
+
weight: z.ZodObject<{
|
|
1257
|
+
computed: z.ZodString;
|
|
1258
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
}, z.core.$strip>;
|
|
1261
|
+
lineHeight: z.ZodObject<{
|
|
1262
|
+
computed: z.ZodString;
|
|
1263
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
}, z.core.$strip>;
|
|
1266
|
+
letterSpacing: z.ZodObject<{
|
|
1267
|
+
computed: z.ZodString;
|
|
1268
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
}, z.core.$strip>;
|
|
1271
|
+
color: z.ZodObject<{
|
|
1272
|
+
computed: z.ZodString;
|
|
1273
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1274
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
}, z.core.$strip>;
|
|
1276
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1277
|
+
rendered: z.ZodString;
|
|
1278
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
}, z.core.$strip>>;
|
|
1281
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
1282
|
+
computed: z.ZodString;
|
|
1283
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1285
|
+
}, z.core.$strip>>;
|
|
1286
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
1287
|
+
computed: z.ZodString;
|
|
1288
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
}, z.core.$strip>>;
|
|
1291
|
+
decoration: z.ZodOptional<z.ZodObject<{
|
|
1292
|
+
computed: z.ZodString;
|
|
1293
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
}, z.core.$strip>>;
|
|
1296
|
+
}, z.core.$strip>;
|
|
1297
|
+
count: z.ZodNumber;
|
|
1298
|
+
elements: z.ZodArray<z.ZodString>;
|
|
1299
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1300
|
+
}, z.core.$strip>>;
|
|
1301
|
+
families: z.ZodArray<z.ZodObject<{
|
|
1302
|
+
family: z.ZodString;
|
|
1303
|
+
count: z.ZodNumber;
|
|
1304
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1305
|
+
rendered: z.ZodString;
|
|
1306
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
1307
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
}, z.core.$strip>>;
|
|
1309
|
+
}, z.core.$strip>>;
|
|
1310
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
1311
|
+
size: z.ZodObject<{
|
|
1312
|
+
computed: z.ZodString;
|
|
1313
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1314
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1315
|
+
}, z.core.$strip>;
|
|
1316
|
+
count: z.ZodNumber;
|
|
1317
|
+
}, z.core.$strip>>;
|
|
1318
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1319
|
+
what: z.ZodString;
|
|
1320
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1321
|
+
value: z.ZodString;
|
|
1322
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
1323
|
+
}, z.core.$strip>>;
|
|
1324
|
+
}, z.core.$strip>>>;
|
|
1325
|
+
}, z.core.$strip>>;
|
|
1326
|
+
color: z.ZodNullable<z.ZodObject<{
|
|
1327
|
+
meta: z.ZodObject<{
|
|
1328
|
+
name: z.ZodString;
|
|
1329
|
+
source: z.ZodURL;
|
|
1330
|
+
captured: z.ZodString;
|
|
1331
|
+
method: z.ZodEnum<{
|
|
1332
|
+
authored: "authored";
|
|
1333
|
+
estimated: "estimated";
|
|
1334
|
+
measured: "measured";
|
|
1335
|
+
}>;
|
|
1336
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
scope: z.ZodLiteral<"system">;
|
|
1338
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
1339
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
1340
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1341
|
+
}, z.core.$strip>;
|
|
1342
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
1344
|
+
role: z.ZodEnum<{
|
|
1345
|
+
accent: "accent";
|
|
1346
|
+
background: "background";
|
|
1347
|
+
border: "border";
|
|
1348
|
+
text: "text";
|
|
1349
|
+
}>;
|
|
1350
|
+
value: z.ZodObject<{
|
|
1351
|
+
computed: z.ZodString;
|
|
1352
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1353
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
}, z.core.$strip>;
|
|
1355
|
+
count: z.ZodNumber;
|
|
1356
|
+
properties: z.ZodArray<z.ZodString>;
|
|
1357
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1358
|
+
}, z.core.$strip>>;
|
|
1359
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
1360
|
+
token: z.ZodString;
|
|
1361
|
+
value: z.ZodString;
|
|
1362
|
+
count: z.ZodNumber;
|
|
1363
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1364
|
+
}, z.core.$strip>>;
|
|
1365
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1366
|
+
what: z.ZodString;
|
|
1367
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1368
|
+
value: z.ZodString;
|
|
1369
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
1370
|
+
}, z.core.$strip>>;
|
|
1371
|
+
}, z.core.$strip>>>;
|
|
1372
|
+
}, z.core.$strip>>;
|
|
1373
|
+
spacing: z.ZodNullable<z.ZodObject<{
|
|
1374
|
+
meta: z.ZodObject<{
|
|
1375
|
+
name: z.ZodString;
|
|
1376
|
+
source: z.ZodURL;
|
|
1377
|
+
captured: z.ZodString;
|
|
1378
|
+
method: z.ZodEnum<{
|
|
1379
|
+
authored: "authored";
|
|
1380
|
+
estimated: "estimated";
|
|
1381
|
+
measured: "measured";
|
|
1382
|
+
}>;
|
|
1383
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
scope: z.ZodLiteral<"system">;
|
|
1385
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
1386
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
1387
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1388
|
+
}, z.core.$strip>;
|
|
1389
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1390
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
1391
|
+
value: z.ZodObject<{
|
|
1392
|
+
computed: z.ZodString;
|
|
1393
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
}, z.core.$strip>;
|
|
1396
|
+
count: z.ZodNumber;
|
|
1397
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1398
|
+
}, z.core.$strip>>;
|
|
1399
|
+
baseUnit: z.ZodNullable<z.ZodObject<{
|
|
1400
|
+
px: z.ZodNumber;
|
|
1401
|
+
share: z.ZodNumber;
|
|
1402
|
+
}, z.core.$strip>>;
|
|
1403
|
+
outliers: z.ZodArray<z.ZodObject<{
|
|
1404
|
+
value: z.ZodObject<{
|
|
1405
|
+
computed: z.ZodString;
|
|
1406
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
}, z.core.$strip>;
|
|
1409
|
+
count: z.ZodNumber;
|
|
1410
|
+
}, z.core.$strip>>;
|
|
1411
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1412
|
+
what: z.ZodString;
|
|
1413
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1414
|
+
value: z.ZodString;
|
|
1415
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
1416
|
+
}, z.core.$strip>>;
|
|
1417
|
+
}, z.core.$strip>>>;
|
|
1418
|
+
}, z.core.$strip>>;
|
|
1419
|
+
components: z.ZodArray<z.ZodObject<{
|
|
1420
|
+
meta: z.ZodObject<{
|
|
1421
|
+
name: z.ZodString;
|
|
1422
|
+
source: z.ZodURL;
|
|
1423
|
+
captured: z.ZodString;
|
|
1424
|
+
method: z.ZodEnum<{
|
|
1425
|
+
authored: "authored";
|
|
1426
|
+
estimated: "estimated";
|
|
1427
|
+
measured: "measured";
|
|
1428
|
+
}>;
|
|
1429
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1430
|
+
scope: z.ZodLiteral<"component">;
|
|
1431
|
+
type: z.ZodString;
|
|
1432
|
+
selector: z.ZodString;
|
|
1433
|
+
}, z.core.$strip>;
|
|
1434
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
1436
|
+
token: z.ZodString;
|
|
1437
|
+
value: z.ZodString;
|
|
1438
|
+
usedFor: z.ZodArray<z.ZodString>;
|
|
1439
|
+
}, z.core.$strip>>;
|
|
1440
|
+
anatomy: z.ZodArray<z.ZodObject<{
|
|
1441
|
+
part: z.ZodString;
|
|
1442
|
+
element: z.ZodString;
|
|
1443
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1444
|
+
appearsIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1445
|
+
active: "active";
|
|
1446
|
+
disabled: "disabled";
|
|
1447
|
+
focus: "focus";
|
|
1448
|
+
"focus-visible": "focus-visible";
|
|
1449
|
+
hover: "hover";
|
|
1450
|
+
}>>>;
|
|
1451
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
1453
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1454
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1456
|
+
column: "column";
|
|
1457
|
+
"column-reverse": "column-reverse";
|
|
1458
|
+
row: "row";
|
|
1459
|
+
"row-reverse": "row-reverse";
|
|
1460
|
+
}>>;
|
|
1461
|
+
wrap: z.ZodOptional<z.ZodEnum<{
|
|
1462
|
+
nowrap: "nowrap";
|
|
1463
|
+
wrap: "wrap";
|
|
1464
|
+
"wrap-reverse": "wrap-reverse";
|
|
1465
|
+
}>>;
|
|
1466
|
+
justifyContent: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
alignItems: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
alignContent: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
gap: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
rowGap: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
columnGap: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
rows: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
autoFlow: z.ZodOptional<z.ZodString>;
|
|
1475
|
+
justifyItems: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
parentLayout: z.ZodOptional<z.ZodEnum<{
|
|
1477
|
+
block: "block";
|
|
1478
|
+
flex: "flex";
|
|
1479
|
+
grid: "grid";
|
|
1480
|
+
}>>;
|
|
1481
|
+
alignSelf: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
justifySelf: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
flexGrow: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
flexShrink: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
flexBasis: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
flex: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
gridColumn: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
gridRow: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
}, z.core.$strip>>;
|
|
1491
|
+
icon: z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
set: z.ZodEnum<{
|
|
1493
|
+
custom: "custom";
|
|
1494
|
+
fontawesome: "fontawesome";
|
|
1495
|
+
heroicons: "heroicons";
|
|
1496
|
+
lucide: "lucide";
|
|
1497
|
+
radix: "radix";
|
|
1498
|
+
tabler: "tabler";
|
|
1499
|
+
}>;
|
|
1500
|
+
name: z.ZodString;
|
|
1501
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
}, z.core.$strip>>;
|
|
1504
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
1505
|
+
property: z.ZodString;
|
|
1506
|
+
value: z.ZodObject<{
|
|
1507
|
+
computed: z.ZodString;
|
|
1508
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1509
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1510
|
+
}, z.core.$strip>;
|
|
1511
|
+
}, z.core.$strip>>;
|
|
1512
|
+
}, z.core.$strip>>;
|
|
1513
|
+
states: z.ZodArray<z.ZodObject<{
|
|
1514
|
+
state: z.ZodEnum<{
|
|
1515
|
+
active: "active";
|
|
1516
|
+
disabled: "disabled";
|
|
1517
|
+
focus: "focus";
|
|
1518
|
+
"focus-visible": "focus-visible";
|
|
1519
|
+
hover: "hover";
|
|
1520
|
+
}>;
|
|
1521
|
+
detected: z.ZodBoolean;
|
|
1522
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
1523
|
+
attribute: "attribute";
|
|
1524
|
+
forced: "forced";
|
|
1525
|
+
manual: "manual";
|
|
1526
|
+
pointer: "pointer";
|
|
1527
|
+
rules: "rules";
|
|
1528
|
+
}>>;
|
|
1529
|
+
trigger: z.ZodOptional<z.ZodObject<{
|
|
1530
|
+
element: z.ZodString;
|
|
1531
|
+
selector: z.ZodString;
|
|
1532
|
+
depth: z.ZodNumber;
|
|
1533
|
+
}, z.core.$strip>>;
|
|
1534
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
1535
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
property: z.ZodString;
|
|
1537
|
+
from: z.ZodString;
|
|
1538
|
+
to: z.ZodObject<{
|
|
1539
|
+
computed: z.ZodString;
|
|
1540
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1541
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1542
|
+
}, z.core.$strip>;
|
|
1543
|
+
}, z.core.$strip>>;
|
|
1544
|
+
}, z.core.$strip>>;
|
|
1545
|
+
motion: z.ZodArray<z.ZodObject<{
|
|
1546
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1547
|
+
kind: z.ZodEnum<{
|
|
1548
|
+
animation: "animation";
|
|
1549
|
+
transition: "transition";
|
|
1550
|
+
}>;
|
|
1551
|
+
target: z.ZodString;
|
|
1552
|
+
duration: z.ZodString;
|
|
1553
|
+
easing: z.ZodString;
|
|
1554
|
+
delay: z.ZodOptional<z.ZodString>;
|
|
1555
|
+
}, z.core.$strip>>;
|
|
1556
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1557
|
+
part: z.ZodString;
|
|
1558
|
+
kind: z.ZodEnum<{
|
|
1559
|
+
background: "background";
|
|
1560
|
+
canvas: "canvas";
|
|
1561
|
+
img: "img";
|
|
1562
|
+
"svg-image": "svg-image";
|
|
1563
|
+
video: "video";
|
|
1564
|
+
}>;
|
|
1565
|
+
size: z.ZodObject<{
|
|
1566
|
+
width: z.ZodNumber;
|
|
1567
|
+
height: z.ZodNumber;
|
|
1568
|
+
}, z.core.$strip>;
|
|
1569
|
+
aspectRatio: z.ZodString;
|
|
1570
|
+
sourceAspectRatio: z.ZodOptional<z.ZodString>;
|
|
1571
|
+
treatment: z.ZodArray<z.ZodObject<{
|
|
1572
|
+
property: z.ZodString;
|
|
1573
|
+
value: z.ZodObject<{
|
|
1574
|
+
computed: z.ZodString;
|
|
1575
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
}, z.core.$strip>;
|
|
1578
|
+
on: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
corners: z.ZodOptional<z.ZodString>;
|
|
1580
|
+
}, z.core.$strip>>;
|
|
1581
|
+
overlays: z.ZodArray<z.ZodObject<{
|
|
1582
|
+
on: z.ZodString;
|
|
1583
|
+
background: z.ZodString;
|
|
1584
|
+
opacity: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
blend: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
}, z.core.$strip>>;
|
|
1587
|
+
}, z.core.$strip>>>;
|
|
1588
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
1589
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
1590
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
text: z.ZodString;
|
|
1592
|
+
background: z.ZodString;
|
|
1593
|
+
ratio: z.ZodNumber;
|
|
1594
|
+
large: z.ZodBoolean;
|
|
1595
|
+
level: z.ZodEnum<{
|
|
1596
|
+
AA: "AA";
|
|
1597
|
+
AAA: "AAA";
|
|
1598
|
+
fail: "fail";
|
|
1599
|
+
}>;
|
|
1600
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
1601
|
+
}, z.core.$strip>>;
|
|
1602
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
1603
|
+
width: z.ZodNumber;
|
|
1604
|
+
height: z.ZodNumber;
|
|
1605
|
+
level: z.ZodEnum<{
|
|
1606
|
+
AA: "AA";
|
|
1607
|
+
AAA: "AAA";
|
|
1608
|
+
fail: "fail";
|
|
1609
|
+
}>;
|
|
1610
|
+
}, z.core.$strip>>;
|
|
1611
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
1612
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
1613
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
1614
|
+
focus: "focus";
|
|
1615
|
+
"focus-visible": "focus-visible";
|
|
1616
|
+
}>>;
|
|
1617
|
+
by: z.ZodArray<z.ZodString>;
|
|
1618
|
+
}, z.core.$strip>>;
|
|
1619
|
+
}, z.core.$strip>>;
|
|
1620
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
1621
|
+
widths: z.ZodArray<z.ZodNumber>;
|
|
1622
|
+
queries: z.ZodArray<z.ZodString>;
|
|
1623
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
1624
|
+
part: z.ZodString;
|
|
1625
|
+
property: z.ZodString;
|
|
1626
|
+
values: z.ZodArray<z.ZodNullable<z.ZodString>>;
|
|
1627
|
+
}, z.core.$strip>>;
|
|
1628
|
+
}, z.core.$strip>>;
|
|
1629
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1630
|
+
name: z.ZodString;
|
|
1631
|
+
count: z.ZodNumber;
|
|
1632
|
+
selector: z.ZodString;
|
|
1633
|
+
differences: z.ZodArray<z.ZodObject<{
|
|
1634
|
+
property: z.ZodString;
|
|
1635
|
+
value: z.ZodObject<{
|
|
1636
|
+
computed: z.ZodString;
|
|
1637
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
}, z.core.$strip>;
|
|
1640
|
+
}, z.core.$strip>>;
|
|
1641
|
+
}, z.core.$strip>>>;
|
|
1642
|
+
layoutTree: z.ZodOptional<z.ZodType<LayoutTreeNode, unknown, z.core.$ZodTypeInternals<LayoutTreeNode, unknown>>>;
|
|
1643
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1644
|
+
part: z.ZodString;
|
|
1645
|
+
icon: z.ZodObject<{
|
|
1646
|
+
set: z.ZodEnum<{
|
|
1647
|
+
custom: "custom";
|
|
1648
|
+
fontawesome: "fontawesome";
|
|
1649
|
+
heroicons: "heroicons";
|
|
1650
|
+
lucide: "lucide";
|
|
1651
|
+
radix: "radix";
|
|
1652
|
+
tabler: "tabler";
|
|
1653
|
+
}>;
|
|
1654
|
+
name: z.ZodString;
|
|
1655
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
1657
|
+
}, z.core.$strip>;
|
|
1658
|
+
}, z.core.$strip>>>;
|
|
1659
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
1660
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
router: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1666
|
+
}, z.core.$strip>>;
|
|
1667
|
+
}, z.core.$strip>>;
|
|
1668
|
+
skipped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1669
|
+
part: z.ZodString;
|
|
1670
|
+
reason: z.ZodString;
|
|
1671
|
+
}, z.core.$strip>>>;
|
|
1672
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
1673
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
1674
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1675
|
+
router: z.ZodOptional<z.ZodString>;
|
|
1676
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
1678
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1679
|
+
}, z.core.$strip>>;
|
|
1680
|
+
}, z.core.$strip>;
|
|
1681
|
+
export type PageCapture = z.infer<typeof pageSchema>;
|
|
1682
|
+
export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1683
|
+
meta: z.ZodObject<{
|
|
1684
|
+
name: z.ZodString;
|
|
1685
|
+
source: z.ZodURL;
|
|
1686
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
1687
|
+
captured: z.ZodString;
|
|
1688
|
+
method: z.ZodEnum<{
|
|
1689
|
+
authored: "authored";
|
|
1690
|
+
estimated: "estimated";
|
|
1691
|
+
measured: "measured";
|
|
1692
|
+
}>;
|
|
1693
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1694
|
+
scope: z.ZodLiteral<"token">;
|
|
1695
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
1696
|
+
}, z.core.$strip>;
|
|
1697
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
style: z.ZodObject<{
|
|
1699
|
+
family: z.ZodObject<{
|
|
1700
|
+
computed: z.ZodString;
|
|
1701
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
}, z.core.$strip>;
|
|
1704
|
+
size: z.ZodObject<{
|
|
1705
|
+
computed: z.ZodString;
|
|
1706
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
}, z.core.$strip>;
|
|
1709
|
+
weight: z.ZodObject<{
|
|
1710
|
+
computed: z.ZodString;
|
|
1711
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
}, z.core.$strip>;
|
|
1714
|
+
lineHeight: z.ZodObject<{
|
|
1715
|
+
computed: z.ZodString;
|
|
1716
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1717
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
}, z.core.$strip>;
|
|
1719
|
+
letterSpacing: z.ZodObject<{
|
|
1720
|
+
computed: z.ZodString;
|
|
1721
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
}, z.core.$strip>;
|
|
1724
|
+
color: z.ZodObject<{
|
|
1725
|
+
computed: z.ZodString;
|
|
1726
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
}, z.core.$strip>;
|
|
1729
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1730
|
+
rendered: z.ZodString;
|
|
1731
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
1732
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
}, z.core.$strip>>;
|
|
1734
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
1735
|
+
computed: z.ZodString;
|
|
1736
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1738
|
+
}, z.core.$strip>>;
|
|
1739
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
1740
|
+
computed: z.ZodString;
|
|
1741
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
}, z.core.$strip>>;
|
|
1744
|
+
decoration: z.ZodOptional<z.ZodObject<{
|
|
1745
|
+
computed: z.ZodString;
|
|
1746
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1748
|
+
}, z.core.$strip>>;
|
|
1749
|
+
}, z.core.$strip>;
|
|
1750
|
+
usedBy: z.ZodObject<{
|
|
1751
|
+
element: z.ZodString;
|
|
1752
|
+
selector: z.ZodString;
|
|
1753
|
+
}, z.core.$strip>;
|
|
1754
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
1755
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
1756
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
text: z.ZodString;
|
|
1758
|
+
background: z.ZodString;
|
|
1759
|
+
ratio: z.ZodNumber;
|
|
1760
|
+
large: z.ZodBoolean;
|
|
1761
|
+
level: z.ZodEnum<{
|
|
1762
|
+
AA: "AA";
|
|
1763
|
+
AAA: "AAA";
|
|
1764
|
+
fail: "fail";
|
|
1765
|
+
}>;
|
|
1766
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
1767
|
+
}, z.core.$strip>>;
|
|
1768
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
1769
|
+
width: z.ZodNumber;
|
|
1770
|
+
height: z.ZodNumber;
|
|
1771
|
+
level: z.ZodEnum<{
|
|
1772
|
+
AA: "AA";
|
|
1773
|
+
AAA: "AAA";
|
|
1774
|
+
fail: "fail";
|
|
1775
|
+
}>;
|
|
1776
|
+
}, z.core.$strip>>;
|
|
1777
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
1778
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
1779
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
1780
|
+
focus: "focus";
|
|
1781
|
+
"focus-visible": "focus-visible";
|
|
1782
|
+
}>>;
|
|
1783
|
+
by: z.ZodArray<z.ZodString>;
|
|
1784
|
+
}, z.core.$strip>>;
|
|
1785
|
+
}, z.core.$strip>>;
|
|
1786
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1787
|
+
meta: z.ZodObject<{
|
|
1788
|
+
name: z.ZodString;
|
|
1789
|
+
source: z.ZodURL;
|
|
1790
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
captured: z.ZodString;
|
|
1792
|
+
method: z.ZodEnum<{
|
|
1793
|
+
authored: "authored";
|
|
1794
|
+
estimated: "estimated";
|
|
1795
|
+
measured: "measured";
|
|
1796
|
+
}>;
|
|
1797
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
scope: z.ZodLiteral<"token">;
|
|
1799
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
1800
|
+
}, z.core.$strip>;
|
|
1801
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
value: z.ZodObject<{
|
|
1803
|
+
computed: z.ZodString;
|
|
1804
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
}, z.core.$strip>;
|
|
1807
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1808
|
+
accent: "accent";
|
|
1809
|
+
background: "background";
|
|
1810
|
+
border: "border";
|
|
1811
|
+
text: "text";
|
|
1812
|
+
}>>;
|
|
1813
|
+
usedFor: z.ZodArray<z.ZodObject<{
|
|
1814
|
+
element: z.ZodString;
|
|
1815
|
+
selector: z.ZodString;
|
|
1816
|
+
property: z.ZodString;
|
|
1817
|
+
}, z.core.$strip>>;
|
|
1818
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1819
|
+
meta: z.ZodObject<{
|
|
1820
|
+
name: z.ZodString;
|
|
1821
|
+
source: z.ZodURL;
|
|
1822
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
1823
|
+
captured: z.ZodString;
|
|
1824
|
+
method: z.ZodEnum<{
|
|
1825
|
+
authored: "authored";
|
|
1826
|
+
estimated: "estimated";
|
|
1827
|
+
measured: "measured";
|
|
1828
|
+
}>;
|
|
1829
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1830
|
+
scope: z.ZodLiteral<"token">;
|
|
1831
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
1832
|
+
}, z.core.$strip>;
|
|
1833
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1834
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
1835
|
+
value: z.ZodObject<{
|
|
1836
|
+
computed: z.ZodString;
|
|
1837
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1838
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
}, z.core.$strip>;
|
|
1840
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1841
|
+
accent: "accent";
|
|
1842
|
+
background: "background";
|
|
1843
|
+
border: "border";
|
|
1844
|
+
text: "text";
|
|
1845
|
+
}>>;
|
|
1846
|
+
usedFor: z.ZodArray<z.ZodObject<{
|
|
1847
|
+
element: z.ZodString;
|
|
1848
|
+
selector: z.ZodString;
|
|
1849
|
+
property: z.ZodString;
|
|
1850
|
+
}, z.core.$strip>>;
|
|
1851
|
+
}, z.core.$strip>>;
|
|
1852
|
+
usedBy: z.ZodObject<{
|
|
1853
|
+
element: z.ZodString;
|
|
1854
|
+
selector: z.ZodString;
|
|
1855
|
+
}, z.core.$strip>;
|
|
1856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1857
|
+
meta: z.ZodObject<{
|
|
1858
|
+
name: z.ZodString;
|
|
1859
|
+
source: z.ZodURL;
|
|
1860
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
captured: z.ZodString;
|
|
1862
|
+
method: z.ZodEnum<{
|
|
1863
|
+
authored: "authored";
|
|
1864
|
+
estimated: "estimated";
|
|
1865
|
+
measured: "measured";
|
|
1866
|
+
}>;
|
|
1867
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
scope: z.ZodLiteral<"token">;
|
|
1869
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
1870
|
+
}, z.core.$strip>;
|
|
1871
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
value: z.ZodObject<{
|
|
1873
|
+
computed: z.ZodString;
|
|
1874
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1876
|
+
}, z.core.$strip>;
|
|
1877
|
+
kind: z.ZodEnum<{
|
|
1878
|
+
distance: "distance";
|
|
1879
|
+
gap: "gap";
|
|
1880
|
+
margin: "margin";
|
|
1881
|
+
padding: "padding";
|
|
1882
|
+
}>;
|
|
1883
|
+
property: z.ZodOptional<z.ZodString>;
|
|
1884
|
+
label: z.ZodEnum<{
|
|
1885
|
+
authored: "authored";
|
|
1886
|
+
measured: "measured";
|
|
1887
|
+
}>;
|
|
1888
|
+
usedBy: z.ZodOptional<z.ZodObject<{
|
|
1889
|
+
element: z.ZodString;
|
|
1890
|
+
selector: z.ZodString;
|
|
1891
|
+
}, z.core.$strip>>;
|
|
1892
|
+
between: z.ZodOptional<z.ZodTuple<[z.ZodObject<{
|
|
1893
|
+
element: z.ZodString;
|
|
1894
|
+
selector: z.ZodString;
|
|
1895
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1896
|
+
element: z.ZodString;
|
|
1897
|
+
selector: z.ZodString;
|
|
1898
|
+
}, z.core.$strip>], null>>;
|
|
1899
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1900
|
+
meta: z.ZodObject<{
|
|
1901
|
+
name: z.ZodString;
|
|
1902
|
+
source: z.ZodURL;
|
|
1903
|
+
selector: z.ZodOptional<z.ZodString>;
|
|
1904
|
+
captured: z.ZodString;
|
|
1905
|
+
method: z.ZodEnum<{
|
|
1906
|
+
authored: "authored";
|
|
1907
|
+
estimated: "estimated";
|
|
1908
|
+
measured: "measured";
|
|
1909
|
+
}>;
|
|
1910
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1911
|
+
scope: z.ZodLiteral<"token">;
|
|
1912
|
+
type: z.ZodLiteral<"color" | "spacing" | "text">;
|
|
1913
|
+
}, z.core.$strip>;
|
|
1914
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1916
|
+
value: z.ZodObject<{
|
|
1917
|
+
computed: z.ZodString;
|
|
1918
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1920
|
+
}, z.core.$strip>;
|
|
1921
|
+
kind: z.ZodEnum<{
|
|
1922
|
+
gap: "gap";
|
|
1923
|
+
margin: "margin";
|
|
1924
|
+
padding: "padding";
|
|
1925
|
+
}>;
|
|
1926
|
+
property: z.ZodString;
|
|
1927
|
+
}, z.core.$strip>>;
|
|
1928
|
+
usedBy: z.ZodObject<{
|
|
1929
|
+
element: z.ZodString;
|
|
1930
|
+
selector: z.ZodString;
|
|
1931
|
+
}, z.core.$strip>;
|
|
1932
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1933
|
+
meta: z.ZodObject<{
|
|
1934
|
+
name: z.ZodString;
|
|
1935
|
+
source: z.ZodURL;
|
|
1936
|
+
captured: z.ZodString;
|
|
1937
|
+
method: z.ZodEnum<{
|
|
1938
|
+
authored: "authored";
|
|
1939
|
+
estimated: "estimated";
|
|
1940
|
+
measured: "measured";
|
|
1941
|
+
}>;
|
|
1942
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
1943
|
+
scope: z.ZodLiteral<"system">;
|
|
1944
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
1945
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
1946
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1947
|
+
}, z.core.$strip>;
|
|
1948
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1949
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
1950
|
+
role: z.ZodString;
|
|
1951
|
+
style: z.ZodObject<{
|
|
1952
|
+
family: z.ZodObject<{
|
|
1953
|
+
computed: z.ZodString;
|
|
1954
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1955
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1956
|
+
}, z.core.$strip>;
|
|
1957
|
+
size: z.ZodObject<{
|
|
1958
|
+
computed: z.ZodString;
|
|
1959
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1960
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
}, z.core.$strip>;
|
|
1962
|
+
weight: z.ZodObject<{
|
|
1963
|
+
computed: z.ZodString;
|
|
1964
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1965
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1966
|
+
}, z.core.$strip>;
|
|
1967
|
+
lineHeight: z.ZodObject<{
|
|
1968
|
+
computed: z.ZodString;
|
|
1969
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
}, z.core.$strip>;
|
|
1972
|
+
letterSpacing: z.ZodObject<{
|
|
1973
|
+
computed: z.ZodString;
|
|
1974
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1976
|
+
}, z.core.$strip>;
|
|
1977
|
+
color: z.ZodObject<{
|
|
1978
|
+
computed: z.ZodString;
|
|
1979
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1980
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1981
|
+
}, z.core.$strip>;
|
|
1982
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1983
|
+
rendered: z.ZodString;
|
|
1984
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
1985
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
1986
|
+
}, z.core.$strip>>;
|
|
1987
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
1988
|
+
computed: z.ZodString;
|
|
1989
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1991
|
+
}, z.core.$strip>>;
|
|
1992
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
1993
|
+
computed: z.ZodString;
|
|
1994
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1996
|
+
}, z.core.$strip>>;
|
|
1997
|
+
decoration: z.ZodOptional<z.ZodObject<{
|
|
1998
|
+
computed: z.ZodString;
|
|
1999
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2000
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2001
|
+
}, z.core.$strip>>;
|
|
2002
|
+
}, z.core.$strip>;
|
|
2003
|
+
count: z.ZodNumber;
|
|
2004
|
+
elements: z.ZodArray<z.ZodString>;
|
|
2005
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2006
|
+
}, z.core.$strip>>;
|
|
2007
|
+
families: z.ZodArray<z.ZodObject<{
|
|
2008
|
+
family: z.ZodString;
|
|
2009
|
+
count: z.ZodNumber;
|
|
2010
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
2011
|
+
rendered: z.ZodString;
|
|
2012
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
2013
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
2014
|
+
}, z.core.$strip>>;
|
|
2015
|
+
}, z.core.$strip>>;
|
|
2016
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
2017
|
+
size: z.ZodObject<{
|
|
2018
|
+
computed: z.ZodString;
|
|
2019
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2020
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2021
|
+
}, z.core.$strip>;
|
|
2022
|
+
count: z.ZodNumber;
|
|
2023
|
+
}, z.core.$strip>>;
|
|
2024
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2025
|
+
what: z.ZodString;
|
|
2026
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2027
|
+
value: z.ZodString;
|
|
2028
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
2029
|
+
}, z.core.$strip>>;
|
|
2030
|
+
}, z.core.$strip>>>;
|
|
2031
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2032
|
+
meta: z.ZodObject<{
|
|
2033
|
+
name: z.ZodString;
|
|
2034
|
+
source: z.ZodURL;
|
|
2035
|
+
captured: z.ZodString;
|
|
2036
|
+
method: z.ZodEnum<{
|
|
2037
|
+
authored: "authored";
|
|
2038
|
+
estimated: "estimated";
|
|
2039
|
+
measured: "measured";
|
|
2040
|
+
}>;
|
|
2041
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
scope: z.ZodLiteral<"system">;
|
|
2043
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
2044
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
2045
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2046
|
+
}, z.core.$strip>;
|
|
2047
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
2049
|
+
role: z.ZodEnum<{
|
|
2050
|
+
accent: "accent";
|
|
2051
|
+
background: "background";
|
|
2052
|
+
border: "border";
|
|
2053
|
+
text: "text";
|
|
2054
|
+
}>;
|
|
2055
|
+
value: z.ZodObject<{
|
|
2056
|
+
computed: z.ZodString;
|
|
2057
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
}, z.core.$strip>;
|
|
2060
|
+
count: z.ZodNumber;
|
|
2061
|
+
properties: z.ZodArray<z.ZodString>;
|
|
2062
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2063
|
+
}, z.core.$strip>>;
|
|
2064
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
2065
|
+
token: z.ZodString;
|
|
2066
|
+
value: z.ZodString;
|
|
2067
|
+
count: z.ZodNumber;
|
|
2068
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2069
|
+
}, z.core.$strip>>;
|
|
2070
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2071
|
+
what: z.ZodString;
|
|
2072
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2073
|
+
value: z.ZodString;
|
|
2074
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
2075
|
+
}, z.core.$strip>>;
|
|
2076
|
+
}, z.core.$strip>>>;
|
|
2077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2078
|
+
meta: z.ZodObject<{
|
|
2079
|
+
name: z.ZodString;
|
|
2080
|
+
source: z.ZodURL;
|
|
2081
|
+
captured: z.ZodString;
|
|
2082
|
+
method: z.ZodEnum<{
|
|
2083
|
+
authored: "authored";
|
|
2084
|
+
estimated: "estimated";
|
|
2085
|
+
measured: "measured";
|
|
2086
|
+
}>;
|
|
2087
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2088
|
+
scope: z.ZodLiteral<"system">;
|
|
2089
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
2090
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
2091
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2092
|
+
}, z.core.$strip>;
|
|
2093
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2094
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
2095
|
+
value: z.ZodObject<{
|
|
2096
|
+
computed: z.ZodString;
|
|
2097
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
}, z.core.$strip>;
|
|
2100
|
+
count: z.ZodNumber;
|
|
2101
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2102
|
+
}, z.core.$strip>>;
|
|
2103
|
+
baseUnit: z.ZodNullable<z.ZodObject<{
|
|
2104
|
+
px: z.ZodNumber;
|
|
2105
|
+
share: z.ZodNumber;
|
|
2106
|
+
}, z.core.$strip>>;
|
|
2107
|
+
outliers: z.ZodArray<z.ZodObject<{
|
|
2108
|
+
value: z.ZodObject<{
|
|
2109
|
+
computed: z.ZodString;
|
|
2110
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2111
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2112
|
+
}, z.core.$strip>;
|
|
2113
|
+
count: z.ZodNumber;
|
|
2114
|
+
}, z.core.$strip>>;
|
|
2115
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2116
|
+
what: z.ZodString;
|
|
2117
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2118
|
+
value: z.ZodString;
|
|
2119
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
2120
|
+
}, z.core.$strip>>;
|
|
2121
|
+
}, z.core.$strip>>>;
|
|
2122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2123
|
+
meta: z.ZodObject<{
|
|
2124
|
+
name: z.ZodString;
|
|
2125
|
+
source: z.ZodURL;
|
|
2126
|
+
captured: z.ZodString;
|
|
2127
|
+
method: z.ZodEnum<{
|
|
2128
|
+
authored: "authored";
|
|
2129
|
+
estimated: "estimated";
|
|
2130
|
+
measured: "measured";
|
|
2131
|
+
}>;
|
|
2132
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
scope: z.ZodLiteral<"component">;
|
|
2134
|
+
type: z.ZodString;
|
|
2135
|
+
selector: z.ZodString;
|
|
2136
|
+
}, z.core.$strip>;
|
|
2137
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2138
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
2139
|
+
token: z.ZodString;
|
|
2140
|
+
value: z.ZodString;
|
|
2141
|
+
usedFor: z.ZodArray<z.ZodString>;
|
|
2142
|
+
}, z.core.$strip>>;
|
|
2143
|
+
anatomy: z.ZodArray<z.ZodObject<{
|
|
2144
|
+
part: z.ZodString;
|
|
2145
|
+
element: z.ZodString;
|
|
2146
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2147
|
+
appearsIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2148
|
+
active: "active";
|
|
2149
|
+
disabled: "disabled";
|
|
2150
|
+
focus: "focus";
|
|
2151
|
+
"focus-visible": "focus-visible";
|
|
2152
|
+
hover: "hover";
|
|
2153
|
+
}>>>;
|
|
2154
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
2156
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
2157
|
+
display: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2159
|
+
column: "column";
|
|
2160
|
+
"column-reverse": "column-reverse";
|
|
2161
|
+
row: "row";
|
|
2162
|
+
"row-reverse": "row-reverse";
|
|
2163
|
+
}>>;
|
|
2164
|
+
wrap: z.ZodOptional<z.ZodEnum<{
|
|
2165
|
+
nowrap: "nowrap";
|
|
2166
|
+
wrap: "wrap";
|
|
2167
|
+
"wrap-reverse": "wrap-reverse";
|
|
2168
|
+
}>>;
|
|
2169
|
+
justifyContent: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
alignItems: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
alignContent: z.ZodOptional<z.ZodString>;
|
|
2172
|
+
gap: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
rowGap: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
columnGap: z.ZodOptional<z.ZodString>;
|
|
2175
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
rows: z.ZodOptional<z.ZodString>;
|
|
2177
|
+
autoFlow: z.ZodOptional<z.ZodString>;
|
|
2178
|
+
justifyItems: z.ZodOptional<z.ZodString>;
|
|
2179
|
+
parentLayout: z.ZodOptional<z.ZodEnum<{
|
|
2180
|
+
block: "block";
|
|
2181
|
+
flex: "flex";
|
|
2182
|
+
grid: "grid";
|
|
2183
|
+
}>>;
|
|
2184
|
+
alignSelf: z.ZodOptional<z.ZodString>;
|
|
2185
|
+
justifySelf: z.ZodOptional<z.ZodString>;
|
|
2186
|
+
flexGrow: z.ZodOptional<z.ZodString>;
|
|
2187
|
+
flexShrink: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
flexBasis: z.ZodOptional<z.ZodString>;
|
|
2189
|
+
flex: z.ZodOptional<z.ZodString>;
|
|
2190
|
+
gridColumn: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
gridRow: z.ZodOptional<z.ZodString>;
|
|
2192
|
+
order: z.ZodOptional<z.ZodString>;
|
|
2193
|
+
}, z.core.$strip>>;
|
|
2194
|
+
icon: z.ZodOptional<z.ZodObject<{
|
|
2195
|
+
set: z.ZodEnum<{
|
|
2196
|
+
custom: "custom";
|
|
2197
|
+
fontawesome: "fontawesome";
|
|
2198
|
+
heroicons: "heroicons";
|
|
2199
|
+
lucide: "lucide";
|
|
2200
|
+
radix: "radix";
|
|
2201
|
+
tabler: "tabler";
|
|
2202
|
+
}>;
|
|
2203
|
+
name: z.ZodString;
|
|
2204
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2205
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
}, z.core.$strip>>;
|
|
2207
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
2208
|
+
property: z.ZodString;
|
|
2209
|
+
value: z.ZodObject<{
|
|
2210
|
+
computed: z.ZodString;
|
|
2211
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2212
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2213
|
+
}, z.core.$strip>;
|
|
2214
|
+
}, z.core.$strip>>;
|
|
2215
|
+
}, z.core.$strip>>;
|
|
2216
|
+
states: z.ZodArray<z.ZodObject<{
|
|
2217
|
+
state: z.ZodEnum<{
|
|
2218
|
+
active: "active";
|
|
2219
|
+
disabled: "disabled";
|
|
2220
|
+
focus: "focus";
|
|
2221
|
+
"focus-visible": "focus-visible";
|
|
2222
|
+
hover: "hover";
|
|
2223
|
+
}>;
|
|
2224
|
+
detected: z.ZodBoolean;
|
|
2225
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
2226
|
+
attribute: "attribute";
|
|
2227
|
+
forced: "forced";
|
|
2228
|
+
manual: "manual";
|
|
2229
|
+
pointer: "pointer";
|
|
2230
|
+
rules: "rules";
|
|
2231
|
+
}>>;
|
|
2232
|
+
trigger: z.ZodOptional<z.ZodObject<{
|
|
2233
|
+
element: z.ZodString;
|
|
2234
|
+
selector: z.ZodString;
|
|
2235
|
+
depth: z.ZodNumber;
|
|
2236
|
+
}, z.core.$strip>>;
|
|
2237
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2238
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2239
|
+
property: z.ZodString;
|
|
2240
|
+
from: z.ZodString;
|
|
2241
|
+
to: z.ZodObject<{
|
|
2242
|
+
computed: z.ZodString;
|
|
2243
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2244
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2245
|
+
}, z.core.$strip>;
|
|
2246
|
+
}, z.core.$strip>>;
|
|
2247
|
+
}, z.core.$strip>>;
|
|
2248
|
+
motion: z.ZodArray<z.ZodObject<{
|
|
2249
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2250
|
+
kind: z.ZodEnum<{
|
|
2251
|
+
animation: "animation";
|
|
2252
|
+
transition: "transition";
|
|
2253
|
+
}>;
|
|
2254
|
+
target: z.ZodString;
|
|
2255
|
+
duration: z.ZodString;
|
|
2256
|
+
easing: z.ZodString;
|
|
2257
|
+
delay: z.ZodOptional<z.ZodString>;
|
|
2258
|
+
}, z.core.$strip>>;
|
|
2259
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2260
|
+
part: z.ZodString;
|
|
2261
|
+
kind: z.ZodEnum<{
|
|
2262
|
+
background: "background";
|
|
2263
|
+
canvas: "canvas";
|
|
2264
|
+
img: "img";
|
|
2265
|
+
"svg-image": "svg-image";
|
|
2266
|
+
video: "video";
|
|
2267
|
+
}>;
|
|
2268
|
+
size: z.ZodObject<{
|
|
2269
|
+
width: z.ZodNumber;
|
|
2270
|
+
height: z.ZodNumber;
|
|
2271
|
+
}, z.core.$strip>;
|
|
2272
|
+
aspectRatio: z.ZodString;
|
|
2273
|
+
sourceAspectRatio: z.ZodOptional<z.ZodString>;
|
|
2274
|
+
treatment: z.ZodArray<z.ZodObject<{
|
|
2275
|
+
property: z.ZodString;
|
|
2276
|
+
value: z.ZodObject<{
|
|
2277
|
+
computed: z.ZodString;
|
|
2278
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2279
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2280
|
+
}, z.core.$strip>;
|
|
2281
|
+
on: z.ZodOptional<z.ZodString>;
|
|
2282
|
+
corners: z.ZodOptional<z.ZodString>;
|
|
2283
|
+
}, z.core.$strip>>;
|
|
2284
|
+
overlays: z.ZodArray<z.ZodObject<{
|
|
2285
|
+
on: z.ZodString;
|
|
2286
|
+
background: z.ZodString;
|
|
2287
|
+
opacity: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
blend: z.ZodOptional<z.ZodString>;
|
|
2289
|
+
}, z.core.$strip>>;
|
|
2290
|
+
}, z.core.$strip>>>;
|
|
2291
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
2292
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
2293
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2294
|
+
text: z.ZodString;
|
|
2295
|
+
background: z.ZodString;
|
|
2296
|
+
ratio: z.ZodNumber;
|
|
2297
|
+
large: z.ZodBoolean;
|
|
2298
|
+
level: z.ZodEnum<{
|
|
2299
|
+
AA: "AA";
|
|
2300
|
+
AAA: "AAA";
|
|
2301
|
+
fail: "fail";
|
|
2302
|
+
}>;
|
|
2303
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
2304
|
+
}, z.core.$strip>>;
|
|
2305
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
2306
|
+
width: z.ZodNumber;
|
|
2307
|
+
height: z.ZodNumber;
|
|
2308
|
+
level: z.ZodEnum<{
|
|
2309
|
+
AA: "AA";
|
|
2310
|
+
AAA: "AAA";
|
|
2311
|
+
fail: "fail";
|
|
2312
|
+
}>;
|
|
2313
|
+
}, z.core.$strip>>;
|
|
2314
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
2315
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
2316
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
2317
|
+
focus: "focus";
|
|
2318
|
+
"focus-visible": "focus-visible";
|
|
2319
|
+
}>>;
|
|
2320
|
+
by: z.ZodArray<z.ZodString>;
|
|
2321
|
+
}, z.core.$strip>>;
|
|
2322
|
+
}, z.core.$strip>>;
|
|
2323
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
2324
|
+
widths: z.ZodArray<z.ZodNumber>;
|
|
2325
|
+
queries: z.ZodArray<z.ZodString>;
|
|
2326
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2327
|
+
part: z.ZodString;
|
|
2328
|
+
property: z.ZodString;
|
|
2329
|
+
values: z.ZodArray<z.ZodNullable<z.ZodString>>;
|
|
2330
|
+
}, z.core.$strip>>;
|
|
2331
|
+
}, z.core.$strip>>;
|
|
2332
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2333
|
+
name: z.ZodString;
|
|
2334
|
+
count: z.ZodNumber;
|
|
2335
|
+
selector: z.ZodString;
|
|
2336
|
+
differences: z.ZodArray<z.ZodObject<{
|
|
2337
|
+
property: z.ZodString;
|
|
2338
|
+
value: z.ZodObject<{
|
|
2339
|
+
computed: z.ZodString;
|
|
2340
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2341
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2342
|
+
}, z.core.$strip>;
|
|
2343
|
+
}, z.core.$strip>>;
|
|
2344
|
+
}, z.core.$strip>>>;
|
|
2345
|
+
layoutTree: z.ZodOptional<z.ZodType<LayoutTreeNode, unknown, z.core.$ZodTypeInternals<LayoutTreeNode, unknown>>>;
|
|
2346
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2347
|
+
part: z.ZodString;
|
|
2348
|
+
icon: z.ZodObject<{
|
|
2349
|
+
set: z.ZodEnum<{
|
|
2350
|
+
custom: "custom";
|
|
2351
|
+
fontawesome: "fontawesome";
|
|
2352
|
+
heroicons: "heroicons";
|
|
2353
|
+
lucide: "lucide";
|
|
2354
|
+
radix: "radix";
|
|
2355
|
+
tabler: "tabler";
|
|
2356
|
+
}>;
|
|
2357
|
+
name: z.ZodString;
|
|
2358
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2359
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
2360
|
+
}, z.core.$strip>;
|
|
2361
|
+
}, z.core.$strip>>>;
|
|
2362
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
2363
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
2364
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
router: z.ZodOptional<z.ZodString>;
|
|
2366
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
2368
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2369
|
+
}, z.core.$strip>>;
|
|
2370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2371
|
+
meta: z.ZodObject<{
|
|
2372
|
+
name: z.ZodString;
|
|
2373
|
+
source: z.ZodURL;
|
|
2374
|
+
captured: z.ZodString;
|
|
2375
|
+
method: z.ZodEnum<{
|
|
2376
|
+
authored: "authored";
|
|
2377
|
+
estimated: "estimated";
|
|
2378
|
+
measured: "measured";
|
|
2379
|
+
}>;
|
|
2380
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2381
|
+
scope: z.ZodLiteral<"section">;
|
|
2382
|
+
type: z.ZodString;
|
|
2383
|
+
selector: z.ZodString;
|
|
2384
|
+
}, z.core.$strip>;
|
|
2385
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2386
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
2387
|
+
token: z.ZodString;
|
|
2388
|
+
value: z.ZodString;
|
|
2389
|
+
usedFor: z.ZodArray<z.ZodString>;
|
|
2390
|
+
}, z.core.$strip>>;
|
|
2391
|
+
structure: z.ZodArray<z.ZodObject<{
|
|
2392
|
+
depth: z.ZodNumber;
|
|
2393
|
+
part: z.ZodString;
|
|
2394
|
+
element: z.ZodString;
|
|
2395
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2396
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
2397
|
+
display: z.ZodOptional<z.ZodString>;
|
|
2398
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2399
|
+
column: "column";
|
|
2400
|
+
"column-reverse": "column-reverse";
|
|
2401
|
+
row: "row";
|
|
2402
|
+
"row-reverse": "row-reverse";
|
|
2403
|
+
}>>;
|
|
2404
|
+
wrap: z.ZodOptional<z.ZodEnum<{
|
|
2405
|
+
nowrap: "nowrap";
|
|
2406
|
+
wrap: "wrap";
|
|
2407
|
+
"wrap-reverse": "wrap-reverse";
|
|
2408
|
+
}>>;
|
|
2409
|
+
justifyContent: z.ZodOptional<z.ZodString>;
|
|
2410
|
+
alignItems: z.ZodOptional<z.ZodString>;
|
|
2411
|
+
alignContent: z.ZodOptional<z.ZodString>;
|
|
2412
|
+
gap: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
rowGap: z.ZodOptional<z.ZodString>;
|
|
2414
|
+
columnGap: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
rows: z.ZodOptional<z.ZodString>;
|
|
2417
|
+
autoFlow: z.ZodOptional<z.ZodString>;
|
|
2418
|
+
justifyItems: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
parentLayout: z.ZodOptional<z.ZodEnum<{
|
|
2420
|
+
block: "block";
|
|
2421
|
+
flex: "flex";
|
|
2422
|
+
grid: "grid";
|
|
2423
|
+
}>>;
|
|
2424
|
+
alignSelf: z.ZodOptional<z.ZodString>;
|
|
2425
|
+
justifySelf: z.ZodOptional<z.ZodString>;
|
|
2426
|
+
flexGrow: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
flexShrink: z.ZodOptional<z.ZodString>;
|
|
2428
|
+
flexBasis: z.ZodOptional<z.ZodString>;
|
|
2429
|
+
flex: z.ZodOptional<z.ZodString>;
|
|
2430
|
+
gridColumn: z.ZodOptional<z.ZodString>;
|
|
2431
|
+
gridRow: z.ZodOptional<z.ZodString>;
|
|
2432
|
+
order: z.ZodOptional<z.ZodString>;
|
|
2433
|
+
}, z.core.$strip>>;
|
|
2434
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
2435
|
+
property: z.ZodString;
|
|
2436
|
+
value: z.ZodObject<{
|
|
2437
|
+
computed: z.ZodString;
|
|
2438
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2439
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2440
|
+
}, z.core.$strip>;
|
|
2441
|
+
}, z.core.$strip>>;
|
|
2442
|
+
component: z.ZodOptional<z.ZodObject<{
|
|
2443
|
+
name: z.ZodString;
|
|
2444
|
+
file: z.ZodString;
|
|
2445
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2446
|
+
}, z.core.$strip>>;
|
|
2447
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2448
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
2449
|
+
width: z.ZodNumber;
|
|
2450
|
+
height: z.ZodNumber;
|
|
2451
|
+
aspectRatio: z.ZodString;
|
|
2452
|
+
}, z.core.$strip>>;
|
|
2453
|
+
}, z.core.$strip>>;
|
|
2454
|
+
components: z.ZodArray<z.ZodObject<{
|
|
2455
|
+
name: z.ZodString;
|
|
2456
|
+
type: z.ZodString;
|
|
2457
|
+
file: z.ZodString;
|
|
2458
|
+
count: z.ZodNumber;
|
|
2459
|
+
variants: z.ZodNumber;
|
|
2460
|
+
inside: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
}, z.core.$strip>>;
|
|
2462
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
2463
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
2464
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2465
|
+
text: z.ZodString;
|
|
2466
|
+
background: z.ZodString;
|
|
2467
|
+
ratio: z.ZodNumber;
|
|
2468
|
+
large: z.ZodBoolean;
|
|
2469
|
+
level: z.ZodEnum<{
|
|
2470
|
+
AA: "AA";
|
|
2471
|
+
AAA: "AAA";
|
|
2472
|
+
fail: "fail";
|
|
2473
|
+
}>;
|
|
2474
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
2475
|
+
}, z.core.$strip>>;
|
|
2476
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
2477
|
+
width: z.ZodNumber;
|
|
2478
|
+
height: z.ZodNumber;
|
|
2479
|
+
level: z.ZodEnum<{
|
|
2480
|
+
AA: "AA";
|
|
2481
|
+
AAA: "AAA";
|
|
2482
|
+
fail: "fail";
|
|
2483
|
+
}>;
|
|
2484
|
+
}, z.core.$strip>>;
|
|
2485
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
2486
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
2487
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
2488
|
+
focus: "focus";
|
|
2489
|
+
"focus-visible": "focus-visible";
|
|
2490
|
+
}>>;
|
|
2491
|
+
by: z.ZodArray<z.ZodString>;
|
|
2492
|
+
}, z.core.$strip>>;
|
|
2493
|
+
}, z.core.$strip>>;
|
|
2494
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
2495
|
+
widths: z.ZodArray<z.ZodNumber>;
|
|
2496
|
+
queries: z.ZodArray<z.ZodString>;
|
|
2497
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2498
|
+
part: z.ZodString;
|
|
2499
|
+
property: z.ZodString;
|
|
2500
|
+
values: z.ZodArray<z.ZodNullable<z.ZodString>>;
|
|
2501
|
+
}, z.core.$strip>>;
|
|
2502
|
+
}, z.core.$strip>>;
|
|
2503
|
+
layoutTree: z.ZodOptional<z.ZodType<LayoutTreeNode, unknown, z.core.$ZodTypeInternals<LayoutTreeNode, unknown>>>;
|
|
2504
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
2505
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
router: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
2509
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
2510
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2511
|
+
}, z.core.$strip>>;
|
|
2512
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2513
|
+
meta: z.ZodObject<{
|
|
2514
|
+
name: z.ZodString;
|
|
2515
|
+
source: z.ZodURL;
|
|
2516
|
+
captured: z.ZodString;
|
|
2517
|
+
method: z.ZodEnum<{
|
|
2518
|
+
authored: "authored";
|
|
2519
|
+
estimated: "estimated";
|
|
2520
|
+
measured: "measured";
|
|
2521
|
+
}>;
|
|
2522
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
scope: z.ZodLiteral<"page">;
|
|
2524
|
+
type: z.ZodLiteral<"page">;
|
|
2525
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
2526
|
+
}, z.core.$strip>;
|
|
2527
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2528
|
+
typography: z.ZodNullable<z.ZodObject<{
|
|
2529
|
+
meta: z.ZodObject<{
|
|
2530
|
+
name: z.ZodString;
|
|
2531
|
+
source: z.ZodURL;
|
|
2532
|
+
captured: z.ZodString;
|
|
2533
|
+
method: z.ZodEnum<{
|
|
2534
|
+
authored: "authored";
|
|
2535
|
+
estimated: "estimated";
|
|
2536
|
+
measured: "measured";
|
|
2537
|
+
}>;
|
|
2538
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2539
|
+
scope: z.ZodLiteral<"system">;
|
|
2540
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
2541
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
2542
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2543
|
+
}, z.core.$strip>;
|
|
2544
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
2546
|
+
role: z.ZodString;
|
|
2547
|
+
style: z.ZodObject<{
|
|
2548
|
+
family: z.ZodObject<{
|
|
2549
|
+
computed: z.ZodString;
|
|
2550
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
}, z.core.$strip>;
|
|
2553
|
+
size: z.ZodObject<{
|
|
2554
|
+
computed: z.ZodString;
|
|
2555
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2556
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2557
|
+
}, z.core.$strip>;
|
|
2558
|
+
weight: z.ZodObject<{
|
|
2559
|
+
computed: z.ZodString;
|
|
2560
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2561
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2562
|
+
}, z.core.$strip>;
|
|
2563
|
+
lineHeight: z.ZodObject<{
|
|
2564
|
+
computed: z.ZodString;
|
|
2565
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2566
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2567
|
+
}, z.core.$strip>;
|
|
2568
|
+
letterSpacing: z.ZodObject<{
|
|
2569
|
+
computed: z.ZodString;
|
|
2570
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2571
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2572
|
+
}, z.core.$strip>;
|
|
2573
|
+
color: z.ZodObject<{
|
|
2574
|
+
computed: z.ZodString;
|
|
2575
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2576
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
}, z.core.$strip>;
|
|
2578
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
2579
|
+
rendered: z.ZodString;
|
|
2580
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
2581
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
2582
|
+
}, z.core.$strip>>;
|
|
2583
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
2584
|
+
computed: z.ZodString;
|
|
2585
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2586
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2587
|
+
}, z.core.$strip>>;
|
|
2588
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
2589
|
+
computed: z.ZodString;
|
|
2590
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2591
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2592
|
+
}, z.core.$strip>>;
|
|
2593
|
+
decoration: z.ZodOptional<z.ZodObject<{
|
|
2594
|
+
computed: z.ZodString;
|
|
2595
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2596
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2597
|
+
}, z.core.$strip>>;
|
|
2598
|
+
}, z.core.$strip>;
|
|
2599
|
+
count: z.ZodNumber;
|
|
2600
|
+
elements: z.ZodArray<z.ZodString>;
|
|
2601
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2602
|
+
}, z.core.$strip>>;
|
|
2603
|
+
families: z.ZodArray<z.ZodObject<{
|
|
2604
|
+
family: z.ZodString;
|
|
2605
|
+
count: z.ZodNumber;
|
|
2606
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
2607
|
+
rendered: z.ZodString;
|
|
2608
|
+
googleFont: z.ZodOptional<z.ZodBoolean>;
|
|
2609
|
+
importUrl: z.ZodOptional<z.ZodString>;
|
|
2610
|
+
}, z.core.$strip>>;
|
|
2611
|
+
}, z.core.$strip>>;
|
|
2612
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
2613
|
+
size: z.ZodObject<{
|
|
2614
|
+
computed: z.ZodString;
|
|
2615
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2616
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2617
|
+
}, z.core.$strip>;
|
|
2618
|
+
count: z.ZodNumber;
|
|
2619
|
+
}, z.core.$strip>>;
|
|
2620
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2621
|
+
what: z.ZodString;
|
|
2622
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2623
|
+
value: z.ZodString;
|
|
2624
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
2625
|
+
}, z.core.$strip>>;
|
|
2626
|
+
}, z.core.$strip>>>;
|
|
2627
|
+
}, z.core.$strip>>;
|
|
2628
|
+
color: z.ZodNullable<z.ZodObject<{
|
|
2629
|
+
meta: z.ZodObject<{
|
|
2630
|
+
name: z.ZodString;
|
|
2631
|
+
source: z.ZodURL;
|
|
2632
|
+
captured: z.ZodString;
|
|
2633
|
+
method: z.ZodEnum<{
|
|
2634
|
+
authored: "authored";
|
|
2635
|
+
estimated: "estimated";
|
|
2636
|
+
measured: "measured";
|
|
2637
|
+
}>;
|
|
2638
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2639
|
+
scope: z.ZodLiteral<"system">;
|
|
2640
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
2641
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
2642
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2643
|
+
}, z.core.$strip>;
|
|
2644
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
2646
|
+
role: z.ZodEnum<{
|
|
2647
|
+
accent: "accent";
|
|
2648
|
+
background: "background";
|
|
2649
|
+
border: "border";
|
|
2650
|
+
text: "text";
|
|
2651
|
+
}>;
|
|
2652
|
+
value: z.ZodObject<{
|
|
2653
|
+
computed: z.ZodString;
|
|
2654
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2655
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2656
|
+
}, z.core.$strip>;
|
|
2657
|
+
count: z.ZodNumber;
|
|
2658
|
+
properties: z.ZodArray<z.ZodString>;
|
|
2659
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2660
|
+
}, z.core.$strip>>;
|
|
2661
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
2662
|
+
token: z.ZodString;
|
|
2663
|
+
value: z.ZodString;
|
|
2664
|
+
count: z.ZodNumber;
|
|
2665
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2666
|
+
}, z.core.$strip>>;
|
|
2667
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2668
|
+
what: z.ZodString;
|
|
2669
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2670
|
+
value: z.ZodString;
|
|
2671
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
2672
|
+
}, z.core.$strip>>;
|
|
2673
|
+
}, z.core.$strip>>>;
|
|
2674
|
+
}, z.core.$strip>>;
|
|
2675
|
+
spacing: z.ZodNullable<z.ZodObject<{
|
|
2676
|
+
meta: z.ZodObject<{
|
|
2677
|
+
name: z.ZodString;
|
|
2678
|
+
source: z.ZodURL;
|
|
2679
|
+
captured: z.ZodString;
|
|
2680
|
+
method: z.ZodEnum<{
|
|
2681
|
+
authored: "authored";
|
|
2682
|
+
estimated: "estimated";
|
|
2683
|
+
measured: "measured";
|
|
2684
|
+
}>;
|
|
2685
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2686
|
+
scope: z.ZodLiteral<"system">;
|
|
2687
|
+
type: z.ZodLiteral<"color" | "spacing" | "typography">;
|
|
2688
|
+
selector: z.ZodOptional<z.ZodUndefined>;
|
|
2689
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2690
|
+
}, z.core.$strip>;
|
|
2691
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
scale: z.ZodArray<z.ZodObject<{
|
|
2693
|
+
value: z.ZodObject<{
|
|
2694
|
+
computed: z.ZodString;
|
|
2695
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2696
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2697
|
+
}, z.core.$strip>;
|
|
2698
|
+
count: z.ZodNumber;
|
|
2699
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2700
|
+
}, z.core.$strip>>;
|
|
2701
|
+
baseUnit: z.ZodNullable<z.ZodObject<{
|
|
2702
|
+
px: z.ZodNumber;
|
|
2703
|
+
share: z.ZodNumber;
|
|
2704
|
+
}, z.core.$strip>>;
|
|
2705
|
+
outliers: z.ZodArray<z.ZodObject<{
|
|
2706
|
+
value: z.ZodObject<{
|
|
2707
|
+
computed: z.ZodString;
|
|
2708
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2709
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2710
|
+
}, z.core.$strip>;
|
|
2711
|
+
count: z.ZodNumber;
|
|
2712
|
+
}, z.core.$strip>>;
|
|
2713
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2714
|
+
what: z.ZodString;
|
|
2715
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2716
|
+
value: z.ZodString;
|
|
2717
|
+
pages: z.ZodArray<z.ZodURL>;
|
|
2718
|
+
}, z.core.$strip>>;
|
|
2719
|
+
}, z.core.$strip>>>;
|
|
2720
|
+
}, z.core.$strip>>;
|
|
2721
|
+
components: z.ZodArray<z.ZodObject<{
|
|
2722
|
+
meta: z.ZodObject<{
|
|
2723
|
+
name: z.ZodString;
|
|
2724
|
+
source: z.ZodURL;
|
|
2725
|
+
captured: z.ZodString;
|
|
2726
|
+
method: z.ZodEnum<{
|
|
2727
|
+
authored: "authored";
|
|
2728
|
+
estimated: "estimated";
|
|
2729
|
+
measured: "measured";
|
|
2730
|
+
}>;
|
|
2731
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
scope: z.ZodLiteral<"component">;
|
|
2733
|
+
type: z.ZodString;
|
|
2734
|
+
selector: z.ZodString;
|
|
2735
|
+
}, z.core.$strip>;
|
|
2736
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2737
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
2738
|
+
token: z.ZodString;
|
|
2739
|
+
value: z.ZodString;
|
|
2740
|
+
usedFor: z.ZodArray<z.ZodString>;
|
|
2741
|
+
}, z.core.$strip>>;
|
|
2742
|
+
anatomy: z.ZodArray<z.ZodObject<{
|
|
2743
|
+
part: z.ZodString;
|
|
2744
|
+
element: z.ZodString;
|
|
2745
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2746
|
+
appearsIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2747
|
+
active: "active";
|
|
2748
|
+
disabled: "disabled";
|
|
2749
|
+
focus: "focus";
|
|
2750
|
+
"focus-visible": "focus-visible";
|
|
2751
|
+
hover: "hover";
|
|
2752
|
+
}>>>;
|
|
2753
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
2755
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
2756
|
+
display: z.ZodOptional<z.ZodString>;
|
|
2757
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2758
|
+
column: "column";
|
|
2759
|
+
"column-reverse": "column-reverse";
|
|
2760
|
+
row: "row";
|
|
2761
|
+
"row-reverse": "row-reverse";
|
|
2762
|
+
}>>;
|
|
2763
|
+
wrap: z.ZodOptional<z.ZodEnum<{
|
|
2764
|
+
nowrap: "nowrap";
|
|
2765
|
+
wrap: "wrap";
|
|
2766
|
+
"wrap-reverse": "wrap-reverse";
|
|
2767
|
+
}>>;
|
|
2768
|
+
justifyContent: z.ZodOptional<z.ZodString>;
|
|
2769
|
+
alignItems: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
alignContent: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
gap: z.ZodOptional<z.ZodString>;
|
|
2772
|
+
rowGap: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
columnGap: z.ZodOptional<z.ZodString>;
|
|
2774
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
2775
|
+
rows: z.ZodOptional<z.ZodString>;
|
|
2776
|
+
autoFlow: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
justifyItems: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
parentLayout: z.ZodOptional<z.ZodEnum<{
|
|
2779
|
+
block: "block";
|
|
2780
|
+
flex: "flex";
|
|
2781
|
+
grid: "grid";
|
|
2782
|
+
}>>;
|
|
2783
|
+
alignSelf: z.ZodOptional<z.ZodString>;
|
|
2784
|
+
justifySelf: z.ZodOptional<z.ZodString>;
|
|
2785
|
+
flexGrow: z.ZodOptional<z.ZodString>;
|
|
2786
|
+
flexShrink: z.ZodOptional<z.ZodString>;
|
|
2787
|
+
flexBasis: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
flex: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
gridColumn: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
gridRow: z.ZodOptional<z.ZodString>;
|
|
2791
|
+
order: z.ZodOptional<z.ZodString>;
|
|
2792
|
+
}, z.core.$strip>>;
|
|
2793
|
+
icon: z.ZodOptional<z.ZodObject<{
|
|
2794
|
+
set: z.ZodEnum<{
|
|
2795
|
+
custom: "custom";
|
|
2796
|
+
fontawesome: "fontawesome";
|
|
2797
|
+
heroicons: "heroicons";
|
|
2798
|
+
lucide: "lucide";
|
|
2799
|
+
radix: "radix";
|
|
2800
|
+
tabler: "tabler";
|
|
2801
|
+
}>;
|
|
2802
|
+
name: z.ZodString;
|
|
2803
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
2805
|
+
}, z.core.$strip>>;
|
|
2806
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
2807
|
+
property: z.ZodString;
|
|
2808
|
+
value: z.ZodObject<{
|
|
2809
|
+
computed: z.ZodString;
|
|
2810
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2811
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2812
|
+
}, z.core.$strip>;
|
|
2813
|
+
}, z.core.$strip>>;
|
|
2814
|
+
}, z.core.$strip>>;
|
|
2815
|
+
states: z.ZodArray<z.ZodObject<{
|
|
2816
|
+
state: z.ZodEnum<{
|
|
2817
|
+
active: "active";
|
|
2818
|
+
disabled: "disabled";
|
|
2819
|
+
focus: "focus";
|
|
2820
|
+
"focus-visible": "focus-visible";
|
|
2821
|
+
hover: "hover";
|
|
2822
|
+
}>;
|
|
2823
|
+
detected: z.ZodBoolean;
|
|
2824
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
2825
|
+
attribute: "attribute";
|
|
2826
|
+
forced: "forced";
|
|
2827
|
+
manual: "manual";
|
|
2828
|
+
pointer: "pointer";
|
|
2829
|
+
rules: "rules";
|
|
2830
|
+
}>>;
|
|
2831
|
+
trigger: z.ZodOptional<z.ZodObject<{
|
|
2832
|
+
element: z.ZodString;
|
|
2833
|
+
selector: z.ZodString;
|
|
2834
|
+
depth: z.ZodNumber;
|
|
2835
|
+
}, z.core.$strip>>;
|
|
2836
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2837
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2838
|
+
property: z.ZodString;
|
|
2839
|
+
from: z.ZodString;
|
|
2840
|
+
to: z.ZodObject<{
|
|
2841
|
+
computed: z.ZodString;
|
|
2842
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2843
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2844
|
+
}, z.core.$strip>;
|
|
2845
|
+
}, z.core.$strip>>;
|
|
2846
|
+
}, z.core.$strip>>;
|
|
2847
|
+
motion: z.ZodArray<z.ZodObject<{
|
|
2848
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2849
|
+
kind: z.ZodEnum<{
|
|
2850
|
+
animation: "animation";
|
|
2851
|
+
transition: "transition";
|
|
2852
|
+
}>;
|
|
2853
|
+
target: z.ZodString;
|
|
2854
|
+
duration: z.ZodString;
|
|
2855
|
+
easing: z.ZodString;
|
|
2856
|
+
delay: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
}, z.core.$strip>>;
|
|
2858
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2859
|
+
part: z.ZodString;
|
|
2860
|
+
kind: z.ZodEnum<{
|
|
2861
|
+
background: "background";
|
|
2862
|
+
canvas: "canvas";
|
|
2863
|
+
img: "img";
|
|
2864
|
+
"svg-image": "svg-image";
|
|
2865
|
+
video: "video";
|
|
2866
|
+
}>;
|
|
2867
|
+
size: z.ZodObject<{
|
|
2868
|
+
width: z.ZodNumber;
|
|
2869
|
+
height: z.ZodNumber;
|
|
2870
|
+
}, z.core.$strip>;
|
|
2871
|
+
aspectRatio: z.ZodString;
|
|
2872
|
+
sourceAspectRatio: z.ZodOptional<z.ZodString>;
|
|
2873
|
+
treatment: z.ZodArray<z.ZodObject<{
|
|
2874
|
+
property: z.ZodString;
|
|
2875
|
+
value: z.ZodObject<{
|
|
2876
|
+
computed: z.ZodString;
|
|
2877
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2878
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2879
|
+
}, z.core.$strip>;
|
|
2880
|
+
on: z.ZodOptional<z.ZodString>;
|
|
2881
|
+
corners: z.ZodOptional<z.ZodString>;
|
|
2882
|
+
}, z.core.$strip>>;
|
|
2883
|
+
overlays: z.ZodArray<z.ZodObject<{
|
|
2884
|
+
on: z.ZodString;
|
|
2885
|
+
background: z.ZodString;
|
|
2886
|
+
opacity: z.ZodOptional<z.ZodString>;
|
|
2887
|
+
blend: z.ZodOptional<z.ZodString>;
|
|
2888
|
+
}, z.core.$strip>>;
|
|
2889
|
+
}, z.core.$strip>>>;
|
|
2890
|
+
accessibility: z.ZodOptional<z.ZodObject<{
|
|
2891
|
+
contrast: z.ZodArray<z.ZodObject<{
|
|
2892
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2893
|
+
text: z.ZodString;
|
|
2894
|
+
background: z.ZodString;
|
|
2895
|
+
ratio: z.ZodNumber;
|
|
2896
|
+
large: z.ZodBoolean;
|
|
2897
|
+
level: z.ZodEnum<{
|
|
2898
|
+
AA: "AA";
|
|
2899
|
+
AAA: "AAA";
|
|
2900
|
+
fail: "fail";
|
|
2901
|
+
}>;
|
|
2902
|
+
estimated: z.ZodOptional<z.ZodBoolean>;
|
|
2903
|
+
}, z.core.$strip>>;
|
|
2904
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
2905
|
+
width: z.ZodNumber;
|
|
2906
|
+
height: z.ZodNumber;
|
|
2907
|
+
level: z.ZodEnum<{
|
|
2908
|
+
AA: "AA";
|
|
2909
|
+
AAA: "AAA";
|
|
2910
|
+
fail: "fail";
|
|
2911
|
+
}>;
|
|
2912
|
+
}, z.core.$strip>>;
|
|
2913
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
2914
|
+
visible: z.ZodNullable<z.ZodBoolean>;
|
|
2915
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
2916
|
+
focus: "focus";
|
|
2917
|
+
"focus-visible": "focus-visible";
|
|
2918
|
+
}>>;
|
|
2919
|
+
by: z.ZodArray<z.ZodString>;
|
|
2920
|
+
}, z.core.$strip>>;
|
|
2921
|
+
}, z.core.$strip>>;
|
|
2922
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
2923
|
+
widths: z.ZodArray<z.ZodNumber>;
|
|
2924
|
+
queries: z.ZodArray<z.ZodString>;
|
|
2925
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2926
|
+
part: z.ZodString;
|
|
2927
|
+
property: z.ZodString;
|
|
2928
|
+
values: z.ZodArray<z.ZodNullable<z.ZodString>>;
|
|
2929
|
+
}, z.core.$strip>>;
|
|
2930
|
+
}, z.core.$strip>>;
|
|
2931
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2932
|
+
name: z.ZodString;
|
|
2933
|
+
count: z.ZodNumber;
|
|
2934
|
+
selector: z.ZodString;
|
|
2935
|
+
differences: z.ZodArray<z.ZodObject<{
|
|
2936
|
+
property: z.ZodString;
|
|
2937
|
+
value: z.ZodObject<{
|
|
2938
|
+
computed: z.ZodString;
|
|
2939
|
+
authored: z.ZodOptional<z.ZodString>;
|
|
2940
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2941
|
+
}, z.core.$strip>;
|
|
2942
|
+
}, z.core.$strip>>;
|
|
2943
|
+
}, z.core.$strip>>>;
|
|
2944
|
+
layoutTree: z.ZodOptional<z.ZodType<LayoutTreeNode, unknown, z.core.$ZodTypeInternals<LayoutTreeNode, unknown>>>;
|
|
2945
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2946
|
+
part: z.ZodString;
|
|
2947
|
+
icon: z.ZodObject<{
|
|
2948
|
+
set: z.ZodEnum<{
|
|
2949
|
+
custom: "custom";
|
|
2950
|
+
fontawesome: "fontawesome";
|
|
2951
|
+
heroicons: "heroicons";
|
|
2952
|
+
lucide: "lucide";
|
|
2953
|
+
radix: "radix";
|
|
2954
|
+
tabler: "tabler";
|
|
2955
|
+
}>;
|
|
2956
|
+
name: z.ZodString;
|
|
2957
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2958
|
+
viewBox: z.ZodOptional<z.ZodString>;
|
|
2959
|
+
}, z.core.$strip>;
|
|
2960
|
+
}, z.core.$strip>>>;
|
|
2961
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
2962
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2964
|
+
router: z.ZodOptional<z.ZodString>;
|
|
2965
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
2966
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2968
|
+
}, z.core.$strip>>;
|
|
2969
|
+
}, z.core.$strip>>;
|
|
2970
|
+
skipped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2971
|
+
part: z.ZodString;
|
|
2972
|
+
reason: z.ZodString;
|
|
2973
|
+
}, z.core.$strip>>>;
|
|
2974
|
+
stack: z.ZodOptional<z.ZodObject<{
|
|
2975
|
+
framework: z.ZodOptional<z.ZodString>;
|
|
2976
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2977
|
+
router: z.ZodOptional<z.ZodString>;
|
|
2978
|
+
styling: z.ZodOptional<z.ZodString>;
|
|
2979
|
+
uiLibrary: z.ZodOptional<z.ZodString>;
|
|
2980
|
+
signals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2981
|
+
}, z.core.$strip>>;
|
|
2982
|
+
}, z.core.$strip>]>;
|
|
2983
|
+
export type TextToken = z.infer<typeof textTokenSchema>;
|
|
2984
|
+
export type ColorToken = z.infer<typeof colorTokenSchema>;
|
|
2985
|
+
export type SpacingToken = z.infer<typeof spacingTokenSchema>;
|
|
2986
|
+
export type SpacingSet = z.infer<typeof spacingSetSchema>;
|
|
2987
|
+
export type TypographySystem = z.infer<typeof typographySystemSchema>;
|
|
2988
|
+
export type ColorSystem = z.infer<typeof colorSystemSchema>;
|
|
2989
|
+
export type SpacingSystem = z.infer<typeof spacingSystemSchema>;
|
|
2990
|
+
export type Capture = z.infer<typeof captureSchema>;
|
|
2991
|
+
/** How values are written. The value as the site authored it is always kept alongside. */
|
|
2992
|
+
export declare const captureSettingsSchema: z.ZodObject<{
|
|
2993
|
+
units: z.ZodDefault<z.ZodEnum<{
|
|
2994
|
+
both: "both";
|
|
2995
|
+
px: "px";
|
|
2996
|
+
rem: "rem";
|
|
2997
|
+
}>>;
|
|
2998
|
+
colors: z.ZodDefault<z.ZodEnum<{
|
|
2999
|
+
hex: "hex";
|
|
3000
|
+
hsl: "hsl";
|
|
3001
|
+
oklch: "oklch";
|
|
3002
|
+
rgb: "rgb";
|
|
3003
|
+
}>>;
|
|
3004
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
3005
|
+
page: "page";
|
|
3006
|
+
site: "site";
|
|
3007
|
+
}>>;
|
|
3008
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
3009
|
+
"css-vars": "css-vars";
|
|
3010
|
+
luci: "luci";
|
|
3011
|
+
stitch: "stitch";
|
|
3012
|
+
tailwind: "tailwind";
|
|
3013
|
+
"tailwind-v3": "tailwind-v3";
|
|
3014
|
+
}>>;
|
|
3015
|
+
rootFontSize: z.ZodDefault<z.ZodNumber>;
|
|
3016
|
+
layoutTree: z.ZodDefault<z.ZodBoolean>;
|
|
3017
|
+
useDebugger: z.ZodDefault<z.ZodBoolean>;
|
|
3018
|
+
}, z.core.$strip>;
|
|
3019
|
+
export type CaptureSettings = z.input<typeof captureSettingsSchema>;
|
|
3020
|
+
//# sourceMappingURL=schema.d.ts.map
|