@tekton-ui/core 0.3.3 → 0.3.4
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/dist/layout-validation.d.ts +170 -170
- package/dist/schema-validation.d.ts +28 -28
- package/dist/screen-generation/validators.d.ts +13 -13
- package/dist/token-validation.d.ts +75 -75
- package/package.json +3 -2
|
@@ -16,19 +16,19 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
16
16
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
17
17
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
type: string;
|
|
20
19
|
name: string;
|
|
21
|
-
|
|
20
|
+
type: string;
|
|
22
21
|
required: boolean;
|
|
23
|
-
|
|
22
|
+
description: string;
|
|
24
23
|
defaultValue?: unknown;
|
|
24
|
+
options?: string[] | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
type: string;
|
|
27
26
|
name: string;
|
|
28
|
-
|
|
27
|
+
type: string;
|
|
29
28
|
required: boolean;
|
|
30
|
-
|
|
29
|
+
description: string;
|
|
31
30
|
defaultValue?: unknown;
|
|
31
|
+
options?: string[] | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* A11yRequirements Zod Schema
|
|
@@ -43,16 +43,16 @@ export declare const A11yRequirementsSchema: z.ZodObject<{
|
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
role: string;
|
|
45
45
|
wcag: string;
|
|
46
|
-
focus?: string | undefined;
|
|
47
46
|
ariaAttributes?: string[] | undefined;
|
|
48
47
|
keyboard?: string[] | undefined;
|
|
48
|
+
focus?: string | undefined;
|
|
49
49
|
screenReader?: string | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
role: string;
|
|
52
52
|
wcag: string;
|
|
53
|
-
focus?: string | undefined;
|
|
54
53
|
ariaAttributes?: string[] | undefined;
|
|
55
54
|
keyboard?: string[] | undefined;
|
|
55
|
+
focus?: string | undefined;
|
|
56
56
|
screenReader?: string | undefined;
|
|
57
57
|
}>;
|
|
58
58
|
/**
|
|
@@ -73,19 +73,19 @@ export declare const ComponentSchemaZod: z.ZodObject<{
|
|
|
73
73
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
74
74
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
type: string;
|
|
77
76
|
name: string;
|
|
78
|
-
|
|
77
|
+
type: string;
|
|
79
78
|
required: boolean;
|
|
80
|
-
|
|
79
|
+
description: string;
|
|
81
80
|
defaultValue?: unknown;
|
|
81
|
+
options?: string[] | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
type: string;
|
|
84
83
|
name: string;
|
|
85
|
-
|
|
84
|
+
type: string;
|
|
86
85
|
required: boolean;
|
|
87
|
-
|
|
86
|
+
description: string;
|
|
88
87
|
defaultValue?: unknown;
|
|
88
|
+
options?: string[] | undefined;
|
|
89
89
|
}>, "many">;
|
|
90
90
|
tokenBindings: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
91
91
|
a11y: z.ZodObject<{
|
|
@@ -98,58 +98,58 @@ export declare const ComponentSchemaZod: z.ZodObject<{
|
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
99
|
role: string;
|
|
100
100
|
wcag: string;
|
|
101
|
-
focus?: string | undefined;
|
|
102
101
|
ariaAttributes?: string[] | undefined;
|
|
103
102
|
keyboard?: string[] | undefined;
|
|
103
|
+
focus?: string | undefined;
|
|
104
104
|
screenReader?: string | undefined;
|
|
105
105
|
}, {
|
|
106
106
|
role: string;
|
|
107
107
|
wcag: string;
|
|
108
|
-
focus?: string | undefined;
|
|
109
108
|
ariaAttributes?: string[] | undefined;
|
|
110
109
|
keyboard?: string[] | undefined;
|
|
110
|
+
focus?: string | undefined;
|
|
111
111
|
screenReader?: string | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
description: z.ZodOptional<z.ZodString>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
type: string;
|
|
116
|
-
|
|
116
|
+
category: "primitive" | "composed";
|
|
117
117
|
props: {
|
|
118
|
-
type: string;
|
|
119
118
|
name: string;
|
|
120
|
-
|
|
119
|
+
type: string;
|
|
121
120
|
required: boolean;
|
|
122
|
-
|
|
121
|
+
description: string;
|
|
123
122
|
defaultValue?: unknown;
|
|
123
|
+
options?: string[] | undefined;
|
|
124
124
|
}[];
|
|
125
|
-
|
|
125
|
+
tokenBindings: Record<string, string>;
|
|
126
126
|
a11y: {
|
|
127
127
|
role: string;
|
|
128
128
|
wcag: string;
|
|
129
|
-
focus?: string | undefined;
|
|
130
129
|
ariaAttributes?: string[] | undefined;
|
|
131
130
|
keyboard?: string[] | undefined;
|
|
131
|
+
focus?: string | undefined;
|
|
132
132
|
screenReader?: string | undefined;
|
|
133
133
|
};
|
|
134
134
|
description?: string | undefined;
|
|
135
135
|
}, {
|
|
136
136
|
type: string;
|
|
137
|
-
|
|
137
|
+
category: "primitive" | "composed";
|
|
138
138
|
props: {
|
|
139
|
-
type: string;
|
|
140
139
|
name: string;
|
|
141
|
-
|
|
140
|
+
type: string;
|
|
142
141
|
required: boolean;
|
|
143
|
-
|
|
142
|
+
description: string;
|
|
144
143
|
defaultValue?: unknown;
|
|
144
|
+
options?: string[] | undefined;
|
|
145
145
|
}[];
|
|
146
|
-
|
|
146
|
+
tokenBindings: Record<string, string>;
|
|
147
147
|
a11y: {
|
|
148
148
|
role: string;
|
|
149
149
|
wcag: string;
|
|
150
|
-
focus?: string | undefined;
|
|
151
150
|
ariaAttributes?: string[] | undefined;
|
|
152
151
|
keyboard?: string[] | undefined;
|
|
152
|
+
focus?: string | undefined;
|
|
153
153
|
screenReader?: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
description?: string | undefined;
|
|
@@ -16,16 +16,16 @@ export declare const ResponsiveOverridesSchema: z.ZodObject<{
|
|
|
16
16
|
xl: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
17
|
'2xl': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
18
|
}, "strict", z.ZodTypeAny, {
|
|
19
|
-
xl?: Record<string, unknown> | undefined;
|
|
20
19
|
sm?: Record<string, unknown> | undefined;
|
|
21
20
|
md?: Record<string, unknown> | undefined;
|
|
22
21
|
lg?: Record<string, unknown> | undefined;
|
|
22
|
+
xl?: Record<string, unknown> | undefined;
|
|
23
23
|
'2xl'?: Record<string, unknown> | undefined;
|
|
24
24
|
}, {
|
|
25
|
-
xl?: Record<string, unknown> | undefined;
|
|
26
25
|
sm?: Record<string, unknown> | undefined;
|
|
27
26
|
md?: Record<string, unknown> | undefined;
|
|
28
27
|
lg?: Record<string, unknown> | undefined;
|
|
28
|
+
xl?: Record<string, unknown> | undefined;
|
|
29
29
|
'2xl'?: Record<string, unknown> | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
/**
|
|
@@ -47,16 +47,16 @@ export declare const SectionDefinitionSchema: z.ZodObject<{
|
|
|
47
47
|
xl: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
48
48
|
'2xl': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
49
49
|
}, "strict", z.ZodTypeAny, {
|
|
50
|
-
xl?: Record<string, unknown> | undefined;
|
|
51
50
|
sm?: Record<string, unknown> | undefined;
|
|
52
51
|
md?: Record<string, unknown> | undefined;
|
|
53
52
|
lg?: Record<string, unknown> | undefined;
|
|
53
|
+
xl?: Record<string, unknown> | undefined;
|
|
54
54
|
'2xl'?: Record<string, unknown> | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
xl?: Record<string, unknown> | undefined;
|
|
57
56
|
sm?: Record<string, unknown> | undefined;
|
|
58
57
|
md?: Record<string, unknown> | undefined;
|
|
59
58
|
lg?: Record<string, unknown> | undefined;
|
|
59
|
+
xl?: Record<string, unknown> | undefined;
|
|
60
60
|
'2xl'?: Record<string, unknown> | undefined;
|
|
61
61
|
}>>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -64,10 +64,10 @@ export declare const SectionDefinitionSchema: z.ZodObject<{
|
|
|
64
64
|
pattern: string;
|
|
65
65
|
components: ComponentDefinition[];
|
|
66
66
|
responsive?: {
|
|
67
|
-
xl?: Record<string, unknown> | undefined;
|
|
68
67
|
sm?: Record<string, unknown> | undefined;
|
|
69
68
|
md?: Record<string, unknown> | undefined;
|
|
70
69
|
lg?: Record<string, unknown> | undefined;
|
|
70
|
+
xl?: Record<string, unknown> | undefined;
|
|
71
71
|
'2xl'?: Record<string, unknown> | undefined;
|
|
72
72
|
} | undefined;
|
|
73
73
|
}, {
|
|
@@ -75,10 +75,10 @@ export declare const SectionDefinitionSchema: z.ZodObject<{
|
|
|
75
75
|
pattern: string;
|
|
76
76
|
components: ComponentDefinition[];
|
|
77
77
|
responsive?: {
|
|
78
|
-
xl?: Record<string, unknown> | undefined;
|
|
79
78
|
sm?: Record<string, unknown> | undefined;
|
|
80
79
|
md?: Record<string, unknown> | undefined;
|
|
81
80
|
lg?: Record<string, unknown> | undefined;
|
|
81
|
+
xl?: Record<string, unknown> | undefined;
|
|
82
82
|
'2xl'?: Record<string, unknown> | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
}>;
|
|
@@ -122,16 +122,16 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
122
122
|
xl: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
123
123
|
'2xl': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
124
124
|
}, "strict", z.ZodTypeAny, {
|
|
125
|
-
xl?: Record<string, unknown> | undefined;
|
|
126
125
|
sm?: Record<string, unknown> | undefined;
|
|
127
126
|
md?: Record<string, unknown> | undefined;
|
|
128
127
|
lg?: Record<string, unknown> | undefined;
|
|
128
|
+
xl?: Record<string, unknown> | undefined;
|
|
129
129
|
'2xl'?: Record<string, unknown> | undefined;
|
|
130
130
|
}, {
|
|
131
|
-
xl?: Record<string, unknown> | undefined;
|
|
132
131
|
sm?: Record<string, unknown> | undefined;
|
|
133
132
|
md?: Record<string, unknown> | undefined;
|
|
134
133
|
lg?: Record<string, unknown> | undefined;
|
|
134
|
+
xl?: Record<string, unknown> | undefined;
|
|
135
135
|
'2xl'?: Record<string, unknown> | undefined;
|
|
136
136
|
}>>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -139,10 +139,10 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
139
139
|
pattern: string;
|
|
140
140
|
components: ComponentDefinition[];
|
|
141
141
|
responsive?: {
|
|
142
|
-
xl?: Record<string, unknown> | undefined;
|
|
143
142
|
sm?: Record<string, unknown> | undefined;
|
|
144
143
|
md?: Record<string, unknown> | undefined;
|
|
145
144
|
lg?: Record<string, unknown> | undefined;
|
|
145
|
+
xl?: Record<string, unknown> | undefined;
|
|
146
146
|
'2xl'?: Record<string, unknown> | undefined;
|
|
147
147
|
} | undefined;
|
|
148
148
|
}, {
|
|
@@ -150,10 +150,10 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
150
150
|
pattern: string;
|
|
151
151
|
components: ComponentDefinition[];
|
|
152
152
|
responsive?: {
|
|
153
|
-
xl?: Record<string, unknown> | undefined;
|
|
154
153
|
sm?: Record<string, unknown> | undefined;
|
|
155
154
|
md?: Record<string, unknown> | undefined;
|
|
156
155
|
lg?: Record<string, unknown> | undefined;
|
|
156
|
+
xl?: Record<string, unknown> | undefined;
|
|
157
157
|
'2xl'?: Record<string, unknown> | undefined;
|
|
158
158
|
} | undefined;
|
|
159
159
|
}>, "many">;
|
|
@@ -178,19 +178,19 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
178
178
|
id: string;
|
|
179
179
|
shell: string;
|
|
180
180
|
page: string;
|
|
181
|
+
themeId: string;
|
|
181
182
|
sections: {
|
|
182
183
|
id: string;
|
|
183
184
|
pattern: string;
|
|
184
185
|
components: ComponentDefinition[];
|
|
185
186
|
responsive?: {
|
|
186
|
-
xl?: Record<string, unknown> | undefined;
|
|
187
187
|
sm?: Record<string, unknown> | undefined;
|
|
188
188
|
md?: Record<string, unknown> | undefined;
|
|
189
189
|
lg?: Record<string, unknown> | undefined;
|
|
190
|
+
xl?: Record<string, unknown> | undefined;
|
|
190
191
|
'2xl'?: Record<string, unknown> | undefined;
|
|
191
192
|
} | undefined;
|
|
192
193
|
}[];
|
|
193
|
-
themeId: string;
|
|
194
194
|
description?: string | undefined;
|
|
195
195
|
meta?: {
|
|
196
196
|
author?: string | undefined;
|
|
@@ -208,10 +208,10 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
208
208
|
pattern: string;
|
|
209
209
|
components: ComponentDefinition[];
|
|
210
210
|
responsive?: {
|
|
211
|
-
xl?: Record<string, unknown> | undefined;
|
|
212
211
|
sm?: Record<string, unknown> | undefined;
|
|
213
212
|
md?: Record<string, unknown> | undefined;
|
|
214
213
|
lg?: Record<string, unknown> | undefined;
|
|
214
|
+
xl?: Record<string, unknown> | undefined;
|
|
215
215
|
'2xl'?: Record<string, unknown> | undefined;
|
|
216
216
|
} | undefined;
|
|
217
217
|
}[];
|
|
@@ -37,26 +37,26 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
37
37
|
/** Transition definitions (optional) */
|
|
38
38
|
transition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
spacing: Record<string, string>;
|
|
40
41
|
color: Record<string, Record<string, string>>;
|
|
41
42
|
shadow: Record<string, string>;
|
|
42
|
-
spacing: Record<string, string>;
|
|
43
|
-
radius: Record<string, string>;
|
|
44
43
|
typography: Record<string, {
|
|
45
44
|
fontSize: string;
|
|
46
45
|
fontWeight: string;
|
|
47
46
|
lineHeight: string;
|
|
48
47
|
}>;
|
|
48
|
+
radius: Record<string, string>;
|
|
49
49
|
transition?: Record<string, string> | undefined;
|
|
50
50
|
}, {
|
|
51
|
+
spacing: Record<string, string>;
|
|
51
52
|
color: Record<string, Record<string, string>>;
|
|
52
53
|
shadow: Record<string, string>;
|
|
53
|
-
spacing: Record<string, string>;
|
|
54
|
-
radius: Record<string, string>;
|
|
55
54
|
typography: Record<string, {
|
|
56
55
|
fontSize: string;
|
|
57
56
|
fontWeight: string;
|
|
58
57
|
lineHeight: string;
|
|
59
58
|
}>;
|
|
59
|
+
radius: Record<string, string>;
|
|
60
60
|
transition?: Record<string, string> | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
semantic: z.ZodObject<{
|
|
@@ -68,16 +68,16 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
68
68
|
muted: z.ZodString;
|
|
69
69
|
inverse: z.ZodString;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
page: string;
|
|
71
72
|
muted: string;
|
|
72
73
|
inverse: string;
|
|
73
74
|
elevated: string;
|
|
74
|
-
page: string;
|
|
75
75
|
surface: string;
|
|
76
76
|
}, {
|
|
77
|
+
page: string;
|
|
77
78
|
muted: string;
|
|
78
79
|
inverse: string;
|
|
79
80
|
elevated: string;
|
|
80
|
-
page: string;
|
|
81
81
|
surface: string;
|
|
82
82
|
}>;
|
|
83
83
|
/** Foreground (text) colors with semantic meaning */
|
|
@@ -107,15 +107,15 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
107
107
|
focus: z.ZodString;
|
|
108
108
|
error: z.ZodString;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
focus: string;
|
|
111
|
+
default: string;
|
|
110
112
|
error: string;
|
|
111
113
|
muted: string;
|
|
112
|
-
default: string;
|
|
113
|
-
focus: string;
|
|
114
114
|
}, {
|
|
115
|
+
focus: string;
|
|
116
|
+
default: string;
|
|
115
117
|
error: string;
|
|
116
118
|
muted: string;
|
|
117
|
-
default: string;
|
|
118
|
-
focus: string;
|
|
119
119
|
}>;
|
|
120
120
|
/** Surface colors with semantic meaning */
|
|
121
121
|
surface: z.ZodObject<{
|
|
@@ -136,10 +136,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
136
136
|
}>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
background: {
|
|
139
|
+
page: string;
|
|
139
140
|
muted: string;
|
|
140
141
|
inverse: string;
|
|
141
142
|
elevated: string;
|
|
142
|
-
page: string;
|
|
143
143
|
surface: string;
|
|
144
144
|
};
|
|
145
145
|
foreground: {
|
|
@@ -150,10 +150,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
150
150
|
inverse: string;
|
|
151
151
|
};
|
|
152
152
|
border: {
|
|
153
|
+
focus: string;
|
|
154
|
+
default: string;
|
|
153
155
|
error: string;
|
|
154
156
|
muted: string;
|
|
155
|
-
default: string;
|
|
156
|
-
focus: string;
|
|
157
157
|
};
|
|
158
158
|
surface: {
|
|
159
159
|
primary: string;
|
|
@@ -163,10 +163,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
163
163
|
};
|
|
164
164
|
}, {
|
|
165
165
|
background: {
|
|
166
|
+
page: string;
|
|
166
167
|
muted: string;
|
|
167
168
|
inverse: string;
|
|
168
169
|
elevated: string;
|
|
169
|
-
page: string;
|
|
170
170
|
surface: string;
|
|
171
171
|
};
|
|
172
172
|
foreground: {
|
|
@@ -177,10 +177,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
177
177
|
inverse: string;
|
|
178
178
|
};
|
|
179
179
|
border: {
|
|
180
|
+
focus: string;
|
|
181
|
+
default: string;
|
|
180
182
|
error: string;
|
|
181
183
|
muted: string;
|
|
182
|
-
default: string;
|
|
183
|
-
focus: string;
|
|
184
184
|
};
|
|
185
185
|
surface: {
|
|
186
186
|
primary: string;
|
|
@@ -191,24 +191,13 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
191
191
|
}>;
|
|
192
192
|
component: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
|
|
195
|
-
color: Record<string, Record<string, string>>;
|
|
196
|
-
shadow: Record<string, string>;
|
|
197
|
-
spacing: Record<string, string>;
|
|
198
|
-
radius: Record<string, string>;
|
|
199
|
-
typography: Record<string, {
|
|
200
|
-
fontSize: string;
|
|
201
|
-
fontWeight: string;
|
|
202
|
-
lineHeight: string;
|
|
203
|
-
}>;
|
|
204
|
-
transition?: Record<string, string> | undefined;
|
|
205
|
-
};
|
|
194
|
+
component: Record<string, any>;
|
|
206
195
|
semantic: {
|
|
207
196
|
background: {
|
|
197
|
+
page: string;
|
|
208
198
|
muted: string;
|
|
209
199
|
inverse: string;
|
|
210
200
|
elevated: string;
|
|
211
|
-
page: string;
|
|
212
201
|
surface: string;
|
|
213
202
|
};
|
|
214
203
|
foreground: {
|
|
@@ -219,10 +208,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
219
208
|
inverse: string;
|
|
220
209
|
};
|
|
221
210
|
border: {
|
|
211
|
+
focus: string;
|
|
212
|
+
default: string;
|
|
222
213
|
error: string;
|
|
223
214
|
muted: string;
|
|
224
|
-
default: string;
|
|
225
|
-
focus: string;
|
|
226
215
|
};
|
|
227
216
|
surface: {
|
|
228
217
|
primary: string;
|
|
@@ -231,26 +220,26 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
231
220
|
tertiary: string;
|
|
232
221
|
};
|
|
233
222
|
};
|
|
234
|
-
component: Record<string, any>;
|
|
235
|
-
}, {
|
|
236
223
|
atomic: {
|
|
224
|
+
spacing: Record<string, string>;
|
|
237
225
|
color: Record<string, Record<string, string>>;
|
|
238
226
|
shadow: Record<string, string>;
|
|
239
|
-
spacing: Record<string, string>;
|
|
240
|
-
radius: Record<string, string>;
|
|
241
227
|
typography: Record<string, {
|
|
242
228
|
fontSize: string;
|
|
243
229
|
fontWeight: string;
|
|
244
230
|
lineHeight: string;
|
|
245
231
|
}>;
|
|
232
|
+
radius: Record<string, string>;
|
|
246
233
|
transition?: Record<string, string> | undefined;
|
|
247
234
|
};
|
|
235
|
+
}, {
|
|
236
|
+
component: Record<string, any>;
|
|
248
237
|
semantic: {
|
|
249
238
|
background: {
|
|
239
|
+
page: string;
|
|
250
240
|
muted: string;
|
|
251
241
|
inverse: string;
|
|
252
242
|
elevated: string;
|
|
253
|
-
page: string;
|
|
254
243
|
surface: string;
|
|
255
244
|
};
|
|
256
245
|
foreground: {
|
|
@@ -261,10 +250,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
261
250
|
inverse: string;
|
|
262
251
|
};
|
|
263
252
|
border: {
|
|
253
|
+
focus: string;
|
|
254
|
+
default: string;
|
|
264
255
|
error: string;
|
|
265
256
|
muted: string;
|
|
266
|
-
default: string;
|
|
267
|
-
focus: string;
|
|
268
257
|
};
|
|
269
258
|
surface: {
|
|
270
259
|
primary: string;
|
|
@@ -273,7 +262,18 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
273
262
|
tertiary: string;
|
|
274
263
|
};
|
|
275
264
|
};
|
|
276
|
-
|
|
265
|
+
atomic: {
|
|
266
|
+
spacing: Record<string, string>;
|
|
267
|
+
color: Record<string, Record<string, string>>;
|
|
268
|
+
shadow: Record<string, string>;
|
|
269
|
+
typography: Record<string, {
|
|
270
|
+
fontSize: string;
|
|
271
|
+
fontWeight: string;
|
|
272
|
+
lineHeight: string;
|
|
273
|
+
}>;
|
|
274
|
+
radius: Record<string, string>;
|
|
275
|
+
transition?: Record<string, string> | undefined;
|
|
276
|
+
};
|
|
277
277
|
}>;
|
|
278
278
|
/** Optional dark mode token overrides */
|
|
279
279
|
darkMode: z.ZodOptional<z.ZodObject<{
|
|
@@ -281,43 +281,32 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
281
281
|
semantic: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
282
282
|
component: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
284
|
-
semantic: Record<string, any>;
|
|
285
284
|
component: Record<string, any>;
|
|
286
|
-
}, {
|
|
287
285
|
semantic: Record<string, any>;
|
|
286
|
+
}, {
|
|
288
287
|
component: Record<string, any>;
|
|
288
|
+
semantic: Record<string, any>;
|
|
289
289
|
}>;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
291
|
tokens: {
|
|
292
|
-
semantic: Record<string, any>;
|
|
293
292
|
component: Record<string, any>;
|
|
293
|
+
semantic: Record<string, any>;
|
|
294
294
|
};
|
|
295
295
|
}, {
|
|
296
296
|
tokens: {
|
|
297
|
-
semantic: Record<string, any>;
|
|
298
297
|
component: Record<string, any>;
|
|
298
|
+
semantic: Record<string, any>;
|
|
299
299
|
};
|
|
300
300
|
}>>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
302
|
tokens: {
|
|
303
|
-
|
|
304
|
-
color: Record<string, Record<string, string>>;
|
|
305
|
-
shadow: Record<string, string>;
|
|
306
|
-
spacing: Record<string, string>;
|
|
307
|
-
radius: Record<string, string>;
|
|
308
|
-
typography: Record<string, {
|
|
309
|
-
fontSize: string;
|
|
310
|
-
fontWeight: string;
|
|
311
|
-
lineHeight: string;
|
|
312
|
-
}>;
|
|
313
|
-
transition?: Record<string, string> | undefined;
|
|
314
|
-
};
|
|
303
|
+
component: Record<string, any>;
|
|
315
304
|
semantic: {
|
|
316
305
|
background: {
|
|
306
|
+
page: string;
|
|
317
307
|
muted: string;
|
|
318
308
|
inverse: string;
|
|
319
309
|
elevated: string;
|
|
320
|
-
page: string;
|
|
321
310
|
surface: string;
|
|
322
311
|
};
|
|
323
312
|
foreground: {
|
|
@@ -328,10 +317,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
328
317
|
inverse: string;
|
|
329
318
|
};
|
|
330
319
|
border: {
|
|
320
|
+
focus: string;
|
|
321
|
+
default: string;
|
|
331
322
|
error: string;
|
|
332
323
|
muted: string;
|
|
333
|
-
default: string;
|
|
334
|
-
focus: string;
|
|
335
324
|
};
|
|
336
325
|
surface: {
|
|
337
326
|
primary: string;
|
|
@@ -340,34 +329,34 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
340
329
|
tertiary: string;
|
|
341
330
|
};
|
|
342
331
|
};
|
|
343
|
-
component: Record<string, any>;
|
|
344
|
-
};
|
|
345
|
-
darkMode?: {
|
|
346
|
-
tokens: {
|
|
347
|
-
semantic: Record<string, any>;
|
|
348
|
-
component: Record<string, any>;
|
|
349
|
-
};
|
|
350
|
-
} | undefined;
|
|
351
|
-
}, {
|
|
352
|
-
tokens: {
|
|
353
332
|
atomic: {
|
|
333
|
+
spacing: Record<string, string>;
|
|
354
334
|
color: Record<string, Record<string, string>>;
|
|
355
335
|
shadow: Record<string, string>;
|
|
356
|
-
spacing: Record<string, string>;
|
|
357
|
-
radius: Record<string, string>;
|
|
358
336
|
typography: Record<string, {
|
|
359
337
|
fontSize: string;
|
|
360
338
|
fontWeight: string;
|
|
361
339
|
lineHeight: string;
|
|
362
340
|
}>;
|
|
341
|
+
radius: Record<string, string>;
|
|
363
342
|
transition?: Record<string, string> | undefined;
|
|
364
343
|
};
|
|
344
|
+
};
|
|
345
|
+
darkMode?: {
|
|
346
|
+
tokens: {
|
|
347
|
+
component: Record<string, any>;
|
|
348
|
+
semantic: Record<string, any>;
|
|
349
|
+
};
|
|
350
|
+
} | undefined;
|
|
351
|
+
}, {
|
|
352
|
+
tokens: {
|
|
353
|
+
component: Record<string, any>;
|
|
365
354
|
semantic: {
|
|
366
355
|
background: {
|
|
356
|
+
page: string;
|
|
367
357
|
muted: string;
|
|
368
358
|
inverse: string;
|
|
369
359
|
elevated: string;
|
|
370
|
-
page: string;
|
|
371
360
|
surface: string;
|
|
372
361
|
};
|
|
373
362
|
foreground: {
|
|
@@ -378,10 +367,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
378
367
|
inverse: string;
|
|
379
368
|
};
|
|
380
369
|
border: {
|
|
370
|
+
focus: string;
|
|
371
|
+
default: string;
|
|
381
372
|
error: string;
|
|
382
373
|
muted: string;
|
|
383
|
-
default: string;
|
|
384
|
-
focus: string;
|
|
385
374
|
};
|
|
386
375
|
surface: {
|
|
387
376
|
primary: string;
|
|
@@ -390,12 +379,23 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
390
379
|
tertiary: string;
|
|
391
380
|
};
|
|
392
381
|
};
|
|
393
|
-
|
|
382
|
+
atomic: {
|
|
383
|
+
spacing: Record<string, string>;
|
|
384
|
+
color: Record<string, Record<string, string>>;
|
|
385
|
+
shadow: Record<string, string>;
|
|
386
|
+
typography: Record<string, {
|
|
387
|
+
fontSize: string;
|
|
388
|
+
fontWeight: string;
|
|
389
|
+
lineHeight: string;
|
|
390
|
+
}>;
|
|
391
|
+
radius: Record<string, string>;
|
|
392
|
+
transition?: Record<string, string> | undefined;
|
|
393
|
+
};
|
|
394
394
|
};
|
|
395
395
|
darkMode?: {
|
|
396
396
|
tokens: {
|
|
397
|
-
semantic: Record<string, any>;
|
|
398
397
|
component: Record<string, any>;
|
|
398
|
+
semantic: Record<string, any>;
|
|
399
399
|
};
|
|
400
400
|
} | undefined;
|
|
401
401
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekton-ui/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Core design system pipeline: Theme -> Blueprint -> Screen (~800 LOC)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
],
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public",
|
|
21
|
-
"registry": "https://registry.npmjs.org/"
|
|
21
|
+
"registry": "https://registry.npmjs.org/",
|
|
22
|
+
"linkWorkspace": false
|
|
22
23
|
},
|
|
23
24
|
"repository": {
|
|
24
25
|
"type": "git",
|