@mintlify/validation 0.1.586 → 0.1.588
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.js +2 -1
- package/dist/mint-config/schemas/v1/anchors.js +1 -1
- package/dist/mint-config/schemas/v2/index.d.ts +2724 -499
- package/dist/mint-config/schemas/v2/index.js +2 -0
- package/dist/mint-config/schemas/v2/properties/contextual.d.ts +26 -20
- package/dist/mint-config/schemas/v2/properties/contextual.js +8 -0
- package/dist/mint-config/schemas/v2/properties/icons.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/navbar.d.ts +21 -21
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +10 -10
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +10 -10
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +9 -9
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +30 -29
- package/dist/mint-config/schemas/v2/properties/navigation/index.js +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +10 -10
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +10 -10
- package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +10 -10
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +18 -10
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +2 -0
- package/dist/mint-config/schemas/v2/properties/reusable/icon.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/reusable/icon.js +1 -1
- package/dist/mint-config/schemas/v2/properties/reusable/page.d.ts +9 -9
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +67 -62
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +67 -62
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +67 -62
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +67 -62
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +67 -62
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +67 -62
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +49 -46
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +2187 -0
- package/dist/mint-config/schemas/v2/themes/sequoia.js +4 -0
- package/dist/mint-config/schemas/v2/themes/themes.d.ts +2 -2
- package/dist/mint-config/schemas/v2/themes/themes.js +10 -1
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +67 -62
- package/dist/mint-config/validateConfig.d.ts +951 -245
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@ import { DecoratedGroupConfig, GroupConfig } from './groups.js';
|
|
|
5
5
|
import { DecoratedLanguageConfig, LanguageConfig } from './languages.js';
|
|
6
6
|
import { DecoratedMenuItemConfig, MenuItemConfig } from './menu.js';
|
|
7
7
|
import { DecoratedProductConfig, ProductConfig } from './products.js';
|
|
8
|
-
import { DecoratedTabConfig, TabConfig } from './tabs.js';
|
|
8
|
+
import { DecoratedTabConfig, TabAlign, TabConfig } from './tabs.js';
|
|
9
9
|
import { DecoratedVersionConfig, VersionConfig } from './version.js';
|
|
10
10
|
export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
11
11
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
@@ -75,7 +75,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
75
75
|
icon?: string | {
|
|
76
76
|
name: string;
|
|
77
77
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
78
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
78
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
79
79
|
} | undefined;
|
|
80
80
|
expanded?: boolean | undefined;
|
|
81
81
|
public?: boolean | undefined;
|
|
@@ -98,7 +98,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
98
98
|
icon?: string | {
|
|
99
99
|
name: string;
|
|
100
100
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
101
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
101
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
102
102
|
} | undefined;
|
|
103
103
|
expanded?: boolean | undefined;
|
|
104
104
|
public?: boolean | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
123
123
|
icon?: string | {
|
|
124
124
|
name: string;
|
|
125
125
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
126
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
126
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
127
127
|
} | undefined;
|
|
128
128
|
expanded?: boolean | undefined;
|
|
129
129
|
public?: boolean | undefined;
|
|
@@ -149,7 +149,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
149
149
|
icon?: string | {
|
|
150
150
|
name: string;
|
|
151
151
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
152
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
152
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
153
153
|
} | undefined;
|
|
154
154
|
expanded?: boolean | undefined;
|
|
155
155
|
public?: boolean | undefined;
|
|
@@ -177,7 +177,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
177
177
|
icon?: string | {
|
|
178
178
|
name: string;
|
|
179
179
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
180
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
180
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
181
181
|
} | undefined;
|
|
182
182
|
expanded?: boolean | undefined;
|
|
183
183
|
public?: boolean | undefined;
|
|
@@ -200,7 +200,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
200
200
|
icon?: string | {
|
|
201
201
|
name: string;
|
|
202
202
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
203
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
203
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
204
204
|
} | undefined;
|
|
205
205
|
expanded?: boolean | undefined;
|
|
206
206
|
public?: boolean | undefined;
|
|
@@ -225,7 +225,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
225
225
|
icon?: string | {
|
|
226
226
|
name: string;
|
|
227
227
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
228
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
228
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
229
229
|
} | undefined;
|
|
230
230
|
expanded?: boolean | undefined;
|
|
231
231
|
public?: boolean | undefined;
|
|
@@ -251,7 +251,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
251
251
|
icon?: string | {
|
|
252
252
|
name: string;
|
|
253
253
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
254
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
254
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
255
255
|
} | undefined;
|
|
256
256
|
expanded?: boolean | undefined;
|
|
257
257
|
public?: boolean | undefined;
|
|
@@ -314,7 +314,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
314
314
|
icon?: string | {
|
|
315
315
|
name: string;
|
|
316
316
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
317
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
317
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
318
318
|
} | undefined;
|
|
319
319
|
expanded?: boolean | undefined;
|
|
320
320
|
public?: boolean | undefined;
|
|
@@ -329,7 +329,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
329
329
|
icon?: string | {
|
|
330
330
|
name: string;
|
|
331
331
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
332
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
332
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
333
333
|
} | undefined;
|
|
334
334
|
expanded?: boolean | undefined;
|
|
335
335
|
public?: boolean | undefined;
|
|
@@ -346,7 +346,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
346
346
|
icon?: string | {
|
|
347
347
|
name: string;
|
|
348
348
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
349
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
349
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
350
350
|
} | undefined;
|
|
351
351
|
expanded?: boolean | undefined;
|
|
352
352
|
public?: boolean | undefined;
|
|
@@ -363,7 +363,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
363
363
|
icon?: string | {
|
|
364
364
|
name: string;
|
|
365
365
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
366
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
366
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
367
367
|
} | undefined;
|
|
368
368
|
expanded?: boolean | undefined;
|
|
369
369
|
public?: boolean | undefined;
|
|
@@ -399,15 +399,15 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
399
399
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
400
400
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
401
401
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
402
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
402
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
403
403
|
}, "strip", z.ZodTypeAny, {
|
|
404
404
|
name: string;
|
|
405
405
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
406
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
406
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
407
407
|
}, {
|
|
408
408
|
name: string;
|
|
409
409
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
410
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
410
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
411
411
|
}>]>>;
|
|
412
412
|
iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
413
413
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -428,7 +428,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
428
428
|
icon?: string | {
|
|
429
429
|
name: string;
|
|
430
430
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
431
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
431
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
432
432
|
} | undefined;
|
|
433
433
|
expanded?: boolean | undefined;
|
|
434
434
|
public?: boolean | undefined;
|
|
@@ -462,15 +462,15 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
462
462
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
463
463
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
464
464
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
465
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
465
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
467
|
name: string;
|
|
468
468
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
469
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
469
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
470
470
|
}, {
|
|
471
471
|
name: string;
|
|
472
472
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
473
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
473
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
474
474
|
}>]>>;
|
|
475
475
|
iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
476
476
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -491,7 +491,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
491
491
|
icon?: string | {
|
|
492
492
|
name: string;
|
|
493
493
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
494
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
494
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
495
495
|
} | undefined;
|
|
496
496
|
expanded?: boolean | undefined;
|
|
497
497
|
public?: boolean | undefined;
|
|
@@ -527,15 +527,15 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
527
527
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
528
528
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
529
529
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
530
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
530
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
|
532
532
|
name: string;
|
|
533
533
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
534
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
534
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
535
535
|
}, {
|
|
536
536
|
name: string;
|
|
537
537
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
538
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
538
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
539
539
|
}>]>>;
|
|
540
540
|
iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
541
541
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -556,7 +556,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
556
556
|
icon?: string | {
|
|
557
557
|
name: string;
|
|
558
558
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
559
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
559
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
560
560
|
} | undefined;
|
|
561
561
|
expanded?: boolean | undefined;
|
|
562
562
|
public?: boolean | undefined;
|
|
@@ -592,15 +592,15 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
592
592
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
593
593
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
594
594
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
595
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
595
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
597
|
name: string;
|
|
598
598
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
599
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
599
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
600
600
|
}, {
|
|
601
601
|
name: string;
|
|
602
602
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
603
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
603
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
604
604
|
}>]>>;
|
|
605
605
|
iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
606
606
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -621,7 +621,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
621
621
|
icon?: string | {
|
|
622
622
|
name: string;
|
|
623
623
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
624
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
624
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
625
625
|
} | undefined;
|
|
626
626
|
expanded?: boolean | undefined;
|
|
627
627
|
public?: boolean | undefined;
|
|
@@ -644,3 +644,4 @@ export type DecoratedNavigationConfig = z.infer<typeof decoratedNavigationSchema
|
|
|
644
644
|
export type DivisionNavigationType = ProductConfig | AnchorConfig | TabConfig | DropdownConfig | VersionConfig | LanguageConfig | MenuItemConfig | GroupConfig;
|
|
645
645
|
export type DecoratedDivisionNavigationType = DecoratedProductConfig | DecoratedAnchorConfig | DecoratedTabConfig | DecoratedDropdownConfig | DecoratedVersionConfig | DecoratedLanguageConfig | DecoratedMenuItemConfig | DecoratedGroupConfig;
|
|
646
646
|
export type DecoratedDivisionConfig = DecoratedAnchorConfig | DecoratedTabConfig | DecoratedVersionConfig | DecoratedLanguageConfig | DecoratedDropdownConfig | DecoratedMenuItemConfig | DecoratedProductConfig;
|
|
647
|
+
export type { TabAlign };
|
|
@@ -6,7 +6,7 @@ import { decoratedGroupsSchema, groupsSchema, } from './groups.js';
|
|
|
6
6
|
import { decoratedLanguagesSchema, languagesSchema, } from './languages.js';
|
|
7
7
|
import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
8
8
|
import { decoratedProductsSchema, productsSchema, } from './products.js';
|
|
9
|
-
import { decoratedTabsSchema, tabsSchema } from './tabs.js';
|
|
9
|
+
import { decoratedTabsSchema, tabsSchema, } from './tabs.js';
|
|
10
10
|
import { decoratedVersionsSchema, versionsSchema, } from './version.js';
|
|
11
11
|
const baseNavigationSchema = z.object({ global: globalSchema.optional() });
|
|
12
12
|
export const navigationSchema = z
|
|
@@ -5,15 +5,15 @@ export declare const baseMenuItemSchema: z.ZodObject<{
|
|
|
5
5
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
6
6
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
7
7
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
8
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
8
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
name: string;
|
|
11
11
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
12
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
12
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
name: string;
|
|
15
15
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
16
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
16
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
17
17
|
}>]>>;
|
|
18
18
|
description: z.ZodOptional<z.ZodString>;
|
|
19
19
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22,7 +22,7 @@ export declare const baseMenuItemSchema: z.ZodObject<{
|
|
|
22
22
|
icon?: string | {
|
|
23
23
|
name: string;
|
|
24
24
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
25
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
25
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
26
26
|
} | undefined;
|
|
27
27
|
description?: string | undefined;
|
|
28
28
|
hidden?: boolean | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const baseMenuItemSchema: z.ZodObject<{
|
|
|
31
31
|
icon?: string | {
|
|
32
32
|
name: string;
|
|
33
33
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
34
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
34
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
35
35
|
} | undefined;
|
|
36
36
|
description?: string | undefined;
|
|
37
37
|
hidden?: boolean | undefined;
|
|
@@ -42,15 +42,15 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<z.objectUtil.extend
|
|
|
42
42
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
43
43
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
44
44
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
45
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
45
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
name: string;
|
|
48
48
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
49
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
49
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
name: string;
|
|
52
52
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
53
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
53
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
54
54
|
}>]>>;
|
|
55
55
|
description: z.ZodOptional<z.ZodString>;
|
|
56
56
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -62,7 +62,7 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<z.objectUtil.extend
|
|
|
62
62
|
icon?: string | {
|
|
63
63
|
name: string;
|
|
64
64
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
65
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
65
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
66
66
|
} | undefined;
|
|
67
67
|
description?: string | undefined;
|
|
68
68
|
hidden?: boolean | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<z.objectUtil.extend
|
|
|
72
72
|
icon?: string | {
|
|
73
73
|
name: string;
|
|
74
74
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
75
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
75
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
76
76
|
} | undefined;
|
|
77
77
|
description?: string | undefined;
|
|
78
78
|
hidden?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
|
|
|
8
8
|
icon?: string | {
|
|
9
9
|
name: string;
|
|
10
10
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
11
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
11
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
12
12
|
} | undefined;
|
|
13
13
|
expanded?: boolean | undefined;
|
|
14
14
|
public?: boolean | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
|
|
|
31
31
|
icon?: string | {
|
|
32
32
|
name: string;
|
|
33
33
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
34
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
34
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
35
35
|
} | undefined;
|
|
36
36
|
expanded?: boolean | undefined;
|
|
37
37
|
public?: boolean | undefined;
|
|
@@ -74,15 +74,15 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputTy
|
|
|
74
74
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
75
75
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
76
76
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
77
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
77
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
name: string;
|
|
80
80
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
81
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
81
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
name: string;
|
|
84
84
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
85
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
85
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
86
86
|
}>]>>;
|
|
87
87
|
iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
88
88
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -103,7 +103,7 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputTy
|
|
|
103
103
|
icon?: string | {
|
|
104
104
|
name: string;
|
|
105
105
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
106
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
106
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
107
107
|
} | undefined;
|
|
108
108
|
expanded?: boolean | undefined;
|
|
109
109
|
public?: boolean | undefined;
|
|
@@ -137,15 +137,15 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputTy
|
|
|
137
137
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
138
138
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
139
139
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
140
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
140
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
name: string;
|
|
143
143
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
144
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
144
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
145
145
|
}, {
|
|
146
146
|
name: string;
|
|
147
147
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
148
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
148
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
149
149
|
}>]>>;
|
|
150
150
|
iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
151
151
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -166,7 +166,7 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputTy
|
|
|
166
166
|
icon?: string | {
|
|
167
167
|
name: string;
|
|
168
168
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
169
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
169
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
170
170
|
} | undefined;
|
|
171
171
|
expanded?: boolean | undefined;
|
|
172
172
|
public?: boolean | undefined;
|
|
@@ -6,15 +6,15 @@ export declare const baseProductSchema: z.ZodObject<{
|
|
|
6
6
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
7
7
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
8
8
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
9
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
9
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
name: string;
|
|
12
12
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
13
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
13
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
name: string;
|
|
16
16
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
17
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
17
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
18
18
|
}>]>>;
|
|
19
19
|
color: z.ZodOptional<z.ZodObject<{
|
|
20
20
|
light: z.ZodOptional<z.ZodString>;
|
|
@@ -34,7 +34,7 @@ export declare const baseProductSchema: z.ZodObject<{
|
|
|
34
34
|
icon?: string | {
|
|
35
35
|
name: string;
|
|
36
36
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
37
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
37
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
38
38
|
} | undefined;
|
|
39
39
|
color?: {
|
|
40
40
|
light?: string | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const baseProductSchema: z.ZodObject<{
|
|
|
48
48
|
icon?: string | {
|
|
49
49
|
name: string;
|
|
50
50
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
51
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
51
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
52
52
|
} | undefined;
|
|
53
53
|
color?: {
|
|
54
54
|
light?: string | undefined;
|
|
@@ -68,15 +68,15 @@ export declare const nonRecursiveProductSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
68
68
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
69
69
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
70
70
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
71
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
71
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
name: string;
|
|
74
74
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
75
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
75
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
name: string;
|
|
78
78
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
79
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
79
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
80
80
|
}>]>>;
|
|
81
81
|
color: z.ZodOptional<z.ZodObject<{
|
|
82
82
|
light: z.ZodOptional<z.ZodString>;
|
|
@@ -99,7 +99,7 @@ export declare const nonRecursiveProductSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
99
99
|
icon?: string | {
|
|
100
100
|
name: string;
|
|
101
101
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
102
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
102
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
103
103
|
} | undefined;
|
|
104
104
|
color?: {
|
|
105
105
|
light?: string | undefined;
|
|
@@ -114,7 +114,7 @@ export declare const nonRecursiveProductSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
114
114
|
icon?: string | {
|
|
115
115
|
name: string;
|
|
116
116
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
117
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
117
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
118
118
|
} | undefined;
|
|
119
119
|
color?: {
|
|
120
120
|
light?: string | undefined;
|
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { TabNavigation } from './divisionNav.js';
|
|
3
|
+
export declare const tabAlignSchema: z.ZodEnum<["start", "end"]>;
|
|
4
|
+
export type TabAlign = z.infer<typeof tabAlignSchema>;
|
|
3
5
|
export declare const baseTabSchema: z.ZodObject<{
|
|
4
6
|
tab: z.ZodString;
|
|
5
7
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
6
8
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
7
9
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
8
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
10
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
9
11
|
}, "strip", z.ZodTypeAny, {
|
|
10
12
|
name: string;
|
|
11
13
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
12
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
14
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
13
15
|
}, {
|
|
14
16
|
name: string;
|
|
15
17
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
16
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
18
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
17
19
|
}>]>>;
|
|
18
20
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
align: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
|
|
19
22
|
}, "strip", z.ZodTypeAny, {
|
|
20
23
|
tab: string;
|
|
21
24
|
icon?: string | {
|
|
22
25
|
name: string;
|
|
23
26
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
24
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
27
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
25
28
|
} | undefined;
|
|
26
29
|
hidden?: boolean | undefined;
|
|
30
|
+
align?: "start" | "end" | undefined;
|
|
27
31
|
}, {
|
|
28
32
|
tab: string;
|
|
29
33
|
icon?: string | {
|
|
30
34
|
name: string;
|
|
31
35
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
32
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
36
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
33
37
|
} | undefined;
|
|
34
38
|
hidden?: boolean | undefined;
|
|
39
|
+
align?: "start" | "end" | undefined;
|
|
35
40
|
}>;
|
|
36
41
|
export type BaseTabSchema = z.infer<typeof baseTabSchema>;
|
|
37
42
|
export declare const nonRecursiveTabSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -39,17 +44,18 @@ export declare const nonRecursiveTabSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
39
44
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
40
45
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
41
46
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
42
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
47
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
43
48
|
}, "strip", z.ZodTypeAny, {
|
|
44
49
|
name: string;
|
|
45
50
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
46
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
51
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
47
52
|
}, {
|
|
48
53
|
name: string;
|
|
49
54
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
50
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
55
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
51
56
|
}>]>>;
|
|
52
57
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
align: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
|
|
53
59
|
}, {
|
|
54
60
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
55
61
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -58,18 +64,20 @@ export declare const nonRecursiveTabSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
58
64
|
icon?: string | {
|
|
59
65
|
name: string;
|
|
60
66
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
61
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
67
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
62
68
|
} | undefined;
|
|
63
69
|
hidden?: boolean | undefined;
|
|
70
|
+
align?: "start" | "end" | undefined;
|
|
64
71
|
}, {
|
|
65
72
|
href: string;
|
|
66
73
|
tab: string;
|
|
67
74
|
icon?: string | {
|
|
68
75
|
name: string;
|
|
69
76
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
70
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
77
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
71
78
|
} | undefined;
|
|
72
79
|
hidden?: boolean | undefined;
|
|
80
|
+
align?: "start" | "end" | undefined;
|
|
73
81
|
}>;
|
|
74
82
|
export declare const tabSchema: z.ZodType<TabNavigation<'default'>>;
|
|
75
83
|
export declare const decoratedTabSchema: z.ZodType<TabNavigation<'decorated'>>;
|
|
@@ -13,10 +13,12 @@ import { decoratedMenuSchema, menuSchema } from './menu.js';
|
|
|
13
13
|
import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
14
14
|
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
15
15
|
import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
16
|
+
export const tabAlignSchema = z.enum(['start', 'end']).describe('Tab alignment in the navigation');
|
|
16
17
|
export const baseTabSchema = z.object({
|
|
17
18
|
tab: z.string().nonempty().describe('The name of the tab'),
|
|
18
19
|
icon: iconSchema.optional(),
|
|
19
20
|
hidden: hiddenSchema.optional(),
|
|
21
|
+
align: tabAlignSchema.optional(),
|
|
20
22
|
});
|
|
21
23
|
export const nonRecursiveTabSchema = baseTabSchema.extend({ href: hrefSchema });
|
|
22
24
|
export const tabSchema = z.union([
|
|
@@ -2,14 +2,14 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const iconSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
3
3
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
4
4
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
5
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
name: string;
|
|
8
8
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
9
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
9
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
10
10
|
}, {
|
|
11
11
|
name: string;
|
|
12
12
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
13
|
-
library?: "fontawesome" | "lucide" | undefined;
|
|
13
|
+
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
14
14
|
}>]>;
|
|
15
15
|
export type IconConfig = z.infer<typeof iconSchema>;
|
|
@@ -2,7 +2,7 @@ import { iconTypes, iconLibraries } from '@mintlify/models';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
const iconNameSchema = z
|
|
4
4
|
.string({
|
|
5
|
-
invalid_type_error: 'Anchor icon must be the name of a Font Awesome or
|
|
5
|
+
invalid_type_error: 'Anchor icon must be the name of a Font Awesome, Lucide, or Tabler icon. Browse their libraries to see all the available icons: https://fontawesome.com/icons, https://lucide.dev/icons, https://tabler.io/icons',
|
|
6
6
|
})
|
|
7
7
|
.refine((icon) => !icon.startsWith('fa-'), "Icon does not need to start with 'fa-'. Please delete 'fa-' and keep the rest of the icon name");
|
|
8
8
|
export const iconSchema = z
|