@tekton-ui/core 0.3.4 → 0.4.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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/layout-validation.d.ts +173 -173
- package/dist/schema-validation.d.ts +28 -28
- package/dist/screen-generation/validators.d.ts +15 -15
- package/dist/theme-v2.d.ts +133 -0
- package/dist/theme-v2.d.ts.map +1 -1
- package/dist/theme-v2.js +93 -0
- package/dist/theme-v2.js.map +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +3 -1
- package/dist/theme.js.map +1 -1
- package/dist/token-validation.d.ts +52 -52
- package/package.json +1 -1
|
@@ -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>;
|
|
41
40
|
color: Record<string, Record<string, string>>;
|
|
42
41
|
shadow: Record<string, string>;
|
|
42
|
+
spacing: Record<string, string>;
|
|
43
|
+
radius: Record<string, string>;
|
|
43
44
|
typography: Record<string, {
|
|
44
45
|
fontSize: string;
|
|
45
46
|
fontWeight: string;
|
|
46
47
|
lineHeight: string;
|
|
47
48
|
}>;
|
|
48
|
-
radius: Record<string, string>;
|
|
49
49
|
transition?: Record<string, string> | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
spacing: Record<string, string>;
|
|
52
51
|
color: Record<string, Record<string, string>>;
|
|
53
52
|
shadow: Record<string, string>;
|
|
53
|
+
spacing: Record<string, string>;
|
|
54
|
+
radius: Record<string, string>;
|
|
54
55
|
typography: Record<string, {
|
|
55
56
|
fontSize: string;
|
|
56
57
|
fontWeight: string;
|
|
57
58
|
lineHeight: string;
|
|
58
59
|
}>;
|
|
59
|
-
radius: Record<string, string>;
|
|
60
60
|
transition?: Record<string, string> | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
semantic: z.ZodObject<{
|
|
@@ -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
110
|
default: string;
|
|
112
111
|
error: string;
|
|
113
112
|
muted: string;
|
|
114
|
-
}, {
|
|
115
113
|
focus: string;
|
|
114
|
+
}, {
|
|
116
115
|
default: string;
|
|
117
116
|
error: string;
|
|
118
117
|
muted: string;
|
|
118
|
+
focus: string;
|
|
119
119
|
}>;
|
|
120
120
|
/** Surface colors with semantic meaning */
|
|
121
121
|
surface: z.ZodObject<{
|
|
@@ -150,10 +150,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
150
150
|
inverse: string;
|
|
151
151
|
};
|
|
152
152
|
border: {
|
|
153
|
-
focus: string;
|
|
154
153
|
default: string;
|
|
155
154
|
error: string;
|
|
156
155
|
muted: string;
|
|
156
|
+
focus: string;
|
|
157
157
|
};
|
|
158
158
|
surface: {
|
|
159
159
|
primary: string;
|
|
@@ -177,10 +177,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
177
177
|
inverse: string;
|
|
178
178
|
};
|
|
179
179
|
border: {
|
|
180
|
-
focus: string;
|
|
181
180
|
default: string;
|
|
182
181
|
error: string;
|
|
183
182
|
muted: string;
|
|
183
|
+
focus: string;
|
|
184
184
|
};
|
|
185
185
|
surface: {
|
|
186
186
|
primary: string;
|
|
@@ -192,6 +192,18 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
192
192
|
component: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
194
|
component: Record<string, any>;
|
|
195
|
+
atomic: {
|
|
196
|
+
color: Record<string, Record<string, string>>;
|
|
197
|
+
shadow: Record<string, string>;
|
|
198
|
+
spacing: Record<string, string>;
|
|
199
|
+
radius: Record<string, string>;
|
|
200
|
+
typography: Record<string, {
|
|
201
|
+
fontSize: string;
|
|
202
|
+
fontWeight: string;
|
|
203
|
+
lineHeight: string;
|
|
204
|
+
}>;
|
|
205
|
+
transition?: Record<string, string> | undefined;
|
|
206
|
+
};
|
|
195
207
|
semantic: {
|
|
196
208
|
background: {
|
|
197
209
|
page: string;
|
|
@@ -208,10 +220,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
208
220
|
inverse: string;
|
|
209
221
|
};
|
|
210
222
|
border: {
|
|
211
|
-
focus: string;
|
|
212
223
|
default: string;
|
|
213
224
|
error: string;
|
|
214
225
|
muted: string;
|
|
226
|
+
focus: string;
|
|
215
227
|
};
|
|
216
228
|
surface: {
|
|
217
229
|
primary: string;
|
|
@@ -220,20 +232,20 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
220
232
|
tertiary: string;
|
|
221
233
|
};
|
|
222
234
|
};
|
|
235
|
+
}, {
|
|
236
|
+
component: Record<string, any>;
|
|
223
237
|
atomic: {
|
|
224
|
-
spacing: Record<string, string>;
|
|
225
238
|
color: Record<string, Record<string, string>>;
|
|
226
239
|
shadow: Record<string, string>;
|
|
240
|
+
spacing: Record<string, string>;
|
|
241
|
+
radius: Record<string, string>;
|
|
227
242
|
typography: Record<string, {
|
|
228
243
|
fontSize: string;
|
|
229
244
|
fontWeight: string;
|
|
230
245
|
lineHeight: string;
|
|
231
246
|
}>;
|
|
232
|
-
radius: Record<string, string>;
|
|
233
247
|
transition?: Record<string, string> | undefined;
|
|
234
248
|
};
|
|
235
|
-
}, {
|
|
236
|
-
component: Record<string, any>;
|
|
237
249
|
semantic: {
|
|
238
250
|
background: {
|
|
239
251
|
page: string;
|
|
@@ -250,10 +262,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
250
262
|
inverse: string;
|
|
251
263
|
};
|
|
252
264
|
border: {
|
|
253
|
-
focus: string;
|
|
254
265
|
default: string;
|
|
255
266
|
error: string;
|
|
256
267
|
muted: string;
|
|
268
|
+
focus: string;
|
|
257
269
|
};
|
|
258
270
|
surface: {
|
|
259
271
|
primary: string;
|
|
@@ -262,18 +274,6 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
262
274
|
tertiary: string;
|
|
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<{
|
|
@@ -301,6 +301,18 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
302
|
tokens: {
|
|
303
303
|
component: Record<string, any>;
|
|
304
|
+
atomic: {
|
|
305
|
+
color: Record<string, Record<string, string>>;
|
|
306
|
+
shadow: Record<string, string>;
|
|
307
|
+
spacing: Record<string, string>;
|
|
308
|
+
radius: Record<string, string>;
|
|
309
|
+
typography: Record<string, {
|
|
310
|
+
fontSize: string;
|
|
311
|
+
fontWeight: string;
|
|
312
|
+
lineHeight: string;
|
|
313
|
+
}>;
|
|
314
|
+
transition?: Record<string, string> | undefined;
|
|
315
|
+
};
|
|
304
316
|
semantic: {
|
|
305
317
|
background: {
|
|
306
318
|
page: string;
|
|
@@ -317,10 +329,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
317
329
|
inverse: string;
|
|
318
330
|
};
|
|
319
331
|
border: {
|
|
320
|
-
focus: string;
|
|
321
332
|
default: string;
|
|
322
333
|
error: string;
|
|
323
334
|
muted: string;
|
|
335
|
+
focus: string;
|
|
324
336
|
};
|
|
325
337
|
surface: {
|
|
326
338
|
primary: string;
|
|
@@ -329,18 +341,6 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
329
341
|
tertiary: string;
|
|
330
342
|
};
|
|
331
343
|
};
|
|
332
|
-
atomic: {
|
|
333
|
-
spacing: Record<string, string>;
|
|
334
|
-
color: Record<string, Record<string, string>>;
|
|
335
|
-
shadow: Record<string, string>;
|
|
336
|
-
typography: Record<string, {
|
|
337
|
-
fontSize: string;
|
|
338
|
-
fontWeight: string;
|
|
339
|
-
lineHeight: string;
|
|
340
|
-
}>;
|
|
341
|
-
radius: Record<string, string>;
|
|
342
|
-
transition?: Record<string, string> | undefined;
|
|
343
|
-
};
|
|
344
344
|
};
|
|
345
345
|
darkMode?: {
|
|
346
346
|
tokens: {
|
|
@@ -351,6 +351,18 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
351
351
|
}, {
|
|
352
352
|
tokens: {
|
|
353
353
|
component: Record<string, any>;
|
|
354
|
+
atomic: {
|
|
355
|
+
color: Record<string, Record<string, string>>;
|
|
356
|
+
shadow: Record<string, string>;
|
|
357
|
+
spacing: Record<string, string>;
|
|
358
|
+
radius: Record<string, string>;
|
|
359
|
+
typography: Record<string, {
|
|
360
|
+
fontSize: string;
|
|
361
|
+
fontWeight: string;
|
|
362
|
+
lineHeight: string;
|
|
363
|
+
}>;
|
|
364
|
+
transition?: Record<string, string> | undefined;
|
|
365
|
+
};
|
|
354
366
|
semantic: {
|
|
355
367
|
background: {
|
|
356
368
|
page: string;
|
|
@@ -367,10 +379,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
367
379
|
inverse: string;
|
|
368
380
|
};
|
|
369
381
|
border: {
|
|
370
|
-
focus: string;
|
|
371
382
|
default: string;
|
|
372
383
|
error: string;
|
|
373
384
|
muted: string;
|
|
385
|
+
focus: string;
|
|
374
386
|
};
|
|
375
387
|
surface: {
|
|
376
388
|
primary: string;
|
|
@@ -379,18 +391,6 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
379
391
|
tertiary: string;
|
|
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: {
|