@getvitops/generator 8.2.0 → 8.3.0-alpha.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/CHANGELOG.md +83 -0
- package/assets/css/index.css +7 -0
- package/assets/css/patterns/callout.css +39 -0
- package/assets/css/patterns/embed.css +39 -0
- package/assets/css/patterns/forms.css +14 -0
- package/assets/css/patterns/logos.css +45 -0
- package/assets/css/patterns/section.css +53 -0
- package/assets/css/patterns/sitenav.css +262 -0
- package/assets/css/patterns/stats.css +61 -0
- package/assets/css/patterns/steps.css +98 -0
- package/assets/css/patterns/tone.css +38 -0
- package/assets/js/elements.js +3 -3
- package/config.schema.json +126 -10
- package/dist/config-D5xuz8--.mjs +1807 -0
- package/dist/config-D5xuz8--.mjs.map +1 -0
- package/dist/config.d.mts +77 -18
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +1 -1
- package/dist/index.d.mts +32 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +558 -41
- package/dist/index.mjs.map +1 -1
- package/dist/schema-C-P9dF9F.d.mts +337 -0
- package/dist/schema-C-P9dF9F.d.mts.map +1 -0
- package/dist/tokens-CaIGQQLk.mjs +740 -0
- package/dist/tokens-CaIGQQLk.mjs.map +1 -0
- package/dist/tokens-DH5cpvKd.d.mts +242 -0
- package/dist/tokens-DH5cpvKd.d.mts.map +1 -0
- package/dist/tokens.d.mts +1 -1
- package/dist/tokens.mjs +1 -1
- package/package.json +4 -4
- package/schema.json +95 -5
package/dist/config.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as DesignSystem } from "./schema-
|
|
1
|
+
import { t as DesignSystem } from "./schema-C-P9dF9F.mjs";
|
|
2
2
|
import { AD_PROVIDERS, AdPropertySchema, AdProvider, BIGIN_DATA_CENTERS, CRM_PROVIDERS, CrmProviderConfig, IndexNowSchema, IndexingSchema, ReviewLocationSchema, ReviewsSchema, SearchConsoleSchema, SearchConsoleSetupSchema } from "@getvitops/config";
|
|
3
3
|
import * as z from "@zod/mini";
|
|
4
4
|
declare const PostalAddressSchema: z.ZodMiniObject<{
|
|
5
|
-
streetAddress: z.ZodMiniString<string
|
|
5
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6
6
|
addressLocality: z.ZodMiniString<string>;
|
|
7
7
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
8
8
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -13,7 +13,7 @@ declare const ContactObjectSchema: z.ZodMiniObject<{
|
|
|
13
13
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
14
14
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
15
15
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
16
|
-
streetAddress: z.ZodMiniString<string
|
|
16
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
17
17
|
addressLocality: z.ZodMiniString<string>;
|
|
18
18
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
19
19
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -118,7 +118,7 @@ declare const PlanSchema: z.ZodMiniObject<{
|
|
|
118
118
|
* anything without a registered template. Add a member here and a matching entry
|
|
119
119
|
* in `legal/templates/index.ts` — the two are checked against each other.
|
|
120
120
|
*/
|
|
121
|
-
export declare const JURISDICTIONS: readonly ["ca"];
|
|
121
|
+
export declare const JURISDICTIONS: readonly ["ca", "qc"];
|
|
122
122
|
export type Jurisdiction = (typeof JURISDICTIONS)[number];
|
|
123
123
|
/**
|
|
124
124
|
* The country each template set frames cross-border transfers as *leaving*.
|
|
@@ -135,6 +135,7 @@ export type Jurisdiction = (typeof JURISDICTIONS)[number];
|
|
|
135
135
|
*/
|
|
136
136
|
export declare const JURISDICTION_COUNTRIES: {
|
|
137
137
|
ca: string;
|
|
138
|
+
qc: string;
|
|
138
139
|
};
|
|
139
140
|
declare const SiteSectionSchema: z.ZodMiniObject<{
|
|
140
141
|
defaultLocale: z.ZodMiniString<string>;
|
|
@@ -523,6 +524,7 @@ declare const SiteSectionSchema: z.ZodMiniObject<{
|
|
|
523
524
|
legal: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
524
525
|
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
525
526
|
ca: "ca";
|
|
527
|
+
qc: "qc";
|
|
526
528
|
}>>;
|
|
527
529
|
privacyPolicy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
528
530
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -533,13 +535,15 @@ declare const SiteSectionSchema: z.ZodMiniObject<{
|
|
|
533
535
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
534
536
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
535
537
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
536
|
-
streetAddress: z.ZodMiniString<string
|
|
538
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
537
539
|
addressLocality: z.ZodMiniString<string>;
|
|
538
540
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
539
541
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
540
542
|
addressCountry: z.ZodMiniString<string>;
|
|
541
543
|
}, z.core.$strict>>;
|
|
542
544
|
}, z.core.$strict>]>>;
|
|
545
|
+
privacyOfficerTitle: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
546
|
+
impactAssessments: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
543
547
|
retention: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
544
548
|
processors: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
545
549
|
name: z.ZodMiniString<string>;
|
|
@@ -619,12 +623,13 @@ declare const OrganizationSectionSchema: z.ZodMiniObject<{
|
|
|
619
623
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
620
624
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
621
625
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
622
|
-
streetAddress: z.ZodMiniString<string
|
|
626
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
623
627
|
addressLocality: z.ZodMiniString<string>;
|
|
624
628
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
625
629
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
626
630
|
addressCountry: z.ZodMiniString<string>;
|
|
627
631
|
}, z.core.$strict>>;
|
|
632
|
+
description: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
628
633
|
taxID: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
629
634
|
vatID: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
630
635
|
sameAs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniURL>>;
|
|
@@ -633,7 +638,7 @@ declare const OrganizationSectionSchema: z.ZodMiniObject<{
|
|
|
633
638
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
634
639
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
635
640
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
636
|
-
streetAddress: z.ZodMiniString<string
|
|
641
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
637
642
|
addressLocality: z.ZodMiniString<string>;
|
|
638
643
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
639
644
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -647,7 +652,7 @@ declare const OrganizationSectionSchema: z.ZodMiniObject<{
|
|
|
647
652
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
648
653
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
649
654
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
650
|
-
streetAddress: z.ZodMiniString<string
|
|
655
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
651
656
|
addressLocality: z.ZodMiniString<string>;
|
|
652
657
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
653
658
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -755,7 +760,10 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
755
760
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
756
761
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
757
762
|
}, z.core.$strict>>>;
|
|
758
|
-
shadows: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string
|
|
763
|
+
shadows: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
764
|
+
box: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
765
|
+
drop: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
766
|
+
}, z.core.$strict>]>>>>;
|
|
759
767
|
fonts: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>>;
|
|
760
768
|
typeScale: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
761
769
|
base: z.ZodMiniString<string>;
|
|
@@ -770,6 +778,19 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
770
778
|
minRatio: z.ZodMiniNumber<number>;
|
|
771
779
|
}, z.core.$strict>>;
|
|
772
780
|
}, z.core.$strict>>>;
|
|
781
|
+
layout: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
782
|
+
widths: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
783
|
+
measure: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
784
|
+
breakout: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
785
|
+
spotlight: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
786
|
+
nav: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
787
|
+
}, z.core.$strict>>;
|
|
788
|
+
regionSpace: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
789
|
+
min: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
790
|
+
preferred: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
791
|
+
max: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
792
|
+
}, z.core.$strict>>;
|
|
793
|
+
}, z.core.$strict>>>;
|
|
773
794
|
spaceScale: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
774
795
|
base: z.ZodMiniString<string>;
|
|
775
796
|
ratio: z.ZodMiniNumber<number>;
|
|
@@ -820,8 +841,10 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
820
841
|
palette: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
821
842
|
seed: z.ZodMiniString<string>;
|
|
822
843
|
anchors: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
844
|
+
acknowledgeOffLadder: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
823
845
|
}, z.core.$strict>, z.ZodMiniObject<{
|
|
824
846
|
tones: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>;
|
|
847
|
+
acknowledgeOffLadder: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
825
848
|
}, z.core.$strict>]>>>;
|
|
826
849
|
roles: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
827
850
|
hue: z.ZodMiniString<string>;
|
|
@@ -829,6 +852,11 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
829
852
|
surface: "surface";
|
|
830
853
|
chromatic: "chromatic";
|
|
831
854
|
}>>;
|
|
855
|
+
solid: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniString<string>]>>;
|
|
856
|
+
foreground: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
857
|
+
light: "light";
|
|
858
|
+
dark: "dark";
|
|
859
|
+
}>>;
|
|
832
860
|
}, z.core.$strict>]>>>;
|
|
833
861
|
utilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
834
862
|
fill: "fill";
|
|
@@ -863,12 +891,13 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
863
891
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
864
892
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
865
893
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
866
|
-
streetAddress: z.ZodMiniString<string
|
|
894
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
867
895
|
addressLocality: z.ZodMiniString<string>;
|
|
868
896
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
869
897
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
870
898
|
addressCountry: z.ZodMiniString<string>;
|
|
871
899
|
}, z.core.$strict>>;
|
|
900
|
+
description: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
872
901
|
taxID: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
873
902
|
vatID: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
874
903
|
sameAs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniURL>>;
|
|
@@ -877,7 +906,7 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
877
906
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
878
907
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
879
908
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
880
|
-
streetAddress: z.ZodMiniString<string
|
|
909
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
881
910
|
addressLocality: z.ZodMiniString<string>;
|
|
882
911
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
883
912
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -891,7 +920,7 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
891
920
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
892
921
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
893
922
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
894
|
-
streetAddress: z.ZodMiniString<string
|
|
923
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
895
924
|
addressLocality: z.ZodMiniString<string>;
|
|
896
925
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
897
926
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1365,6 +1394,7 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1365
1394
|
legal: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1366
1395
|
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1367
1396
|
ca: "ca";
|
|
1397
|
+
qc: "qc";
|
|
1368
1398
|
}>>;
|
|
1369
1399
|
privacyPolicy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1370
1400
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -1375,13 +1405,15 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1375
1405
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
1376
1406
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1377
1407
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1378
|
-
streetAddress: z.ZodMiniString<string
|
|
1408
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1379
1409
|
addressLocality: z.ZodMiniString<string>;
|
|
1380
1410
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1381
1411
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1382
1412
|
addressCountry: z.ZodMiniString<string>;
|
|
1383
1413
|
}, z.core.$strict>>;
|
|
1384
1414
|
}, z.core.$strict>]>>;
|
|
1415
|
+
privacyOfficerTitle: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1416
|
+
impactAssessments: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1385
1417
|
retention: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1386
1418
|
processors: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1387
1419
|
name: z.ZodMiniString<string>;
|
|
@@ -1487,7 +1519,10 @@ export declare const configJsonSchema: {
|
|
|
1487
1519
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1488
1520
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1489
1521
|
}, z.core.$strict>>>;
|
|
1490
|
-
shadows: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string
|
|
1522
|
+
shadows: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1523
|
+
box: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1524
|
+
drop: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1525
|
+
}, z.core.$strict>]>>>>;
|
|
1491
1526
|
fonts: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>>;
|
|
1492
1527
|
typeScale: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1493
1528
|
base: z.ZodMiniString<string>;
|
|
@@ -1502,6 +1537,19 @@ export declare const configJsonSchema: {
|
|
|
1502
1537
|
minRatio: z.ZodMiniNumber<number>;
|
|
1503
1538
|
}, z.core.$strict>>;
|
|
1504
1539
|
}, z.core.$strict>>>;
|
|
1540
|
+
layout: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1541
|
+
widths: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1542
|
+
measure: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1543
|
+
breakout: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1544
|
+
spotlight: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1545
|
+
nav: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1546
|
+
}, z.core.$strict>>;
|
|
1547
|
+
regionSpace: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1548
|
+
min: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1549
|
+
preferred: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1550
|
+
max: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1551
|
+
}, z.core.$strict>>;
|
|
1552
|
+
}, z.core.$strict>>>;
|
|
1505
1553
|
spaceScale: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1506
1554
|
base: z.ZodMiniString<string>;
|
|
1507
1555
|
ratio: z.ZodMiniNumber<number>;
|
|
@@ -1552,8 +1600,10 @@ export declare const configJsonSchema: {
|
|
|
1552
1600
|
palette: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1553
1601
|
seed: z.ZodMiniString<string>;
|
|
1554
1602
|
anchors: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1603
|
+
acknowledgeOffLadder: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1555
1604
|
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1556
1605
|
tones: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>;
|
|
1606
|
+
acknowledgeOffLadder: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1557
1607
|
}, z.core.$strict>]>>>;
|
|
1558
1608
|
roles: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1559
1609
|
hue: z.ZodMiniString<string>;
|
|
@@ -1561,6 +1611,11 @@ export declare const configJsonSchema: {
|
|
|
1561
1611
|
surface: "surface";
|
|
1562
1612
|
chromatic: "chromatic";
|
|
1563
1613
|
}>>;
|
|
1614
|
+
solid: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniString<string>]>>;
|
|
1615
|
+
foreground: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1616
|
+
light: "light";
|
|
1617
|
+
dark: "dark";
|
|
1618
|
+
}>>;
|
|
1564
1619
|
}, z.core.$strict>]>>>;
|
|
1565
1620
|
utilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
1566
1621
|
fill: "fill";
|
|
@@ -1595,12 +1650,13 @@ export declare const configJsonSchema: {
|
|
|
1595
1650
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
1596
1651
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1597
1652
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1598
|
-
streetAddress: z.ZodMiniString<string
|
|
1653
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1599
1654
|
addressLocality: z.ZodMiniString<string>;
|
|
1600
1655
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1601
1656
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1602
1657
|
addressCountry: z.ZodMiniString<string>;
|
|
1603
1658
|
}, z.core.$strict>>;
|
|
1659
|
+
description: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
1604
1660
|
taxID: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1605
1661
|
vatID: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1606
1662
|
sameAs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniURL>>;
|
|
@@ -1609,7 +1665,7 @@ export declare const configJsonSchema: {
|
|
|
1609
1665
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
1610
1666
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1611
1667
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1612
|
-
streetAddress: z.ZodMiniString<string
|
|
1668
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1613
1669
|
addressLocality: z.ZodMiniString<string>;
|
|
1614
1670
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1615
1671
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1623,7 +1679,7 @@ export declare const configJsonSchema: {
|
|
|
1623
1679
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
1624
1680
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1625
1681
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1626
|
-
streetAddress: z.ZodMiniString<string
|
|
1682
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1627
1683
|
addressLocality: z.ZodMiniString<string>;
|
|
1628
1684
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1629
1685
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2097,6 +2153,7 @@ export declare const configJsonSchema: {
|
|
|
2097
2153
|
legal: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2098
2154
|
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2099
2155
|
ca: "ca";
|
|
2156
|
+
qc: "qc";
|
|
2100
2157
|
}>>;
|
|
2101
2158
|
privacyPolicy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2102
2159
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -2107,13 +2164,15 @@ export declare const configJsonSchema: {
|
|
|
2107
2164
|
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
2108
2165
|
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2109
2166
|
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2110
|
-
streetAddress: z.ZodMiniString<string
|
|
2167
|
+
streetAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2111
2168
|
addressLocality: z.ZodMiniString<string>;
|
|
2112
2169
|
addressRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2113
2170
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2114
2171
|
addressCountry: z.ZodMiniString<string>;
|
|
2115
2172
|
}, z.core.$strict>>;
|
|
2116
2173
|
}, z.core.$strict>]>>;
|
|
2174
|
+
privacyOfficerTitle: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2175
|
+
impactAssessments: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2117
2176
|
retention: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2118
2177
|
processors: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2119
2178
|
name: z.ZodMiniString<string>;
|
package/dist/config.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.mts","names":[],"sources":["../src/config.ts"],"mappings":";;;cA4KM,qBAAmB,EAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"config.d.mts","names":[],"sources":["../src/config.ts"],"mappings":";;;cA4KM,qBAAmB,EAAA;;;;;;GAYxB,EAAA,KAAA;cAEK,qBAAmB,EAAA;;;;;;;;;;;GAKvB,EAAA,KAAA;YAKU,gBAAgB,EAAE,aAAa;YAC/B,gBAAgB,EAAE,aAAa;;;;;;;;;;cAuKrC,kBAAgB,EAAA;;;;;;;;;;GAgBpB,EAAA,KAAA;qBA+BW,gBAAc,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsBzB,EAAA,KAAA;;;;;;;;;;;;cAuJI,YAAU,EAAA;;;GASd,EAAA,KAAA;;;;;;;;qBAaW;YAED,uBAAuB;;;;;;;;;;;;;;qBAetB;;;;cAoDP,mBAAiB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAKD;EACN;EAAU,MAAM;EAAQ;;EACxB;EAAW;EAAiB,QAAQ,EAAE,KAAK;;;;;;;;;;;;;;;;iBAoBhC;EACf;EACA,QAAQ,KAAK;;qBAEF,mBAAmB,eAAe;;;;;;wBAmH/B,eAAe,iBAAiB;;;;;;;;;;;;wBAsShC,4BACd;EAEM,cAAc;IAAiB;;EAC/B;IAAc;MAAW,sBAAsB;;;;;;;;;;;;;;;;;wBAgCvC,sBAAsB,KAAK,SAAS;KAsB/C,qBAAqB,QAAQ;EAAkB;EAAuB;;;;;;;;wBAQ3D,aACd,cAAc,eAAe,qBAC7B,cACC;;;;;;;;;;;;;;;;;;;;wBA0Da,cAAc,gBAAgB,mBAAyB;;;;;;;;;;;;;;;;;wBAiDvD,SAAS;;iBAKR;;EAEf,cAAc;;EAEd,SAAS;;EAET;;;;;;;;;;;;;;;;wBAiBc,aACd,cACA;EAAQ;EAAgB;IACvB;;wBAsBa,WAAW;;wBAeX,UAAU,QAAQ,yBAAyB,QAAQ;;;;;;;;;;;;wBAqCnD,iBAAiB,cAAc;qBAWlC,QAAS,cAAc;;wBAIpB,MAAM,cAAc,gBAAgB;;;;;;;;;;wBAgBpC,WAAW,eAAe;;;;;;;;;;;wBAsB1B,aAAa,gBAAgB,cAAS"}
|
package/dist/config.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as resolveTheme, E as validateConfig, S as resolvePrivacyContact, T as stripNulls, _ as getAt, a as CONFIG_VERSION, b as resolveConfig, c as JURISDICTIONS, d as SiteFontSchema, f as configJsonSchema, g as formatConfig, h as experimentDimensionWarnings, i as CONFIG_SCHEMA_URL, l as JURISDICTION_COUNTRIES, m as designSystemPath, n as BIGIN_DATA_CENTERS, o as CRM_PROVIDERS, p as deepMerge, r as CONFIG_SCHEMA_LOCAL_PATH, s as ConfigSchema, t as AD_PROVIDERS, u as PLAN_CAPABILITIES, v as isConfig, w as setAt, x as resolveInput, y as mergePatch } from "./config-
|
|
1
|
+
import { C as resolveTheme, E as validateConfig, S as resolvePrivacyContact, T as stripNulls, _ as getAt, a as CONFIG_VERSION, b as resolveConfig, c as JURISDICTIONS, d as SiteFontSchema, f as configJsonSchema, g as formatConfig, h as experimentDimensionWarnings, i as CONFIG_SCHEMA_URL, l as JURISDICTION_COUNTRIES, m as designSystemPath, n as BIGIN_DATA_CENTERS, o as CRM_PROVIDERS, p as deepMerge, r as CONFIG_SCHEMA_LOCAL_PATH, s as ConfigSchema, t as AD_PROVIDERS, u as PLAN_CAPABILITIES, v as isConfig, w as setAt, x as resolveInput, y as mergePatch } from "./config-D5xuz8--.mjs";
|
|
2
2
|
|
|
3
3
|
export { AD_PROVIDERS, BIGIN_DATA_CENTERS, CONFIG_SCHEMA_LOCAL_PATH, CONFIG_SCHEMA_URL, CONFIG_VERSION, CRM_PROVIDERS, ConfigSchema, JURISDICTIONS, JURISDICTION_COUNTRIES, PLAN_CAPABILITIES, SiteFontSchema, configJsonSchema, deepMerge, designSystemPath, experimentDimensionWarnings, formatConfig, getAt, isConfig, mergePatch, resolveConfig, resolveInput, resolvePrivacyContact, resolveTheme, setAt, stripNulls, validateConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as ValidationResult, i as SCHEMA_URL, n as DesignSystemSchema, o as jsonSchema, r as SCHEMA_LOCAL_PATH, s as validate, t as DesignSystem } from "./schema-
|
|
1
|
+
import { a as ValidationResult, i as SCHEMA_URL, n as DesignSystemSchema, o as jsonSchema, r as SCHEMA_LOCAL_PATH, s as validate, t as DesignSystem } from "./schema-C-P9dF9F.mjs";
|
|
2
2
|
import { AD_PROVIDERS, AdProvider, BIGIN_DATA_CENTERS, CONFIG_SCHEMA_LOCAL_PATH, CONFIG_SCHEMA_URL, CONFIG_VERSION, CRM_PROVIDERS, Config, ConfigSchema, ConfigValidationResult, ContactObject, CrmProviderConfig, JURISDICTIONS, JURISDICTION_COUNTRIES, Jurisdiction, OrganizationConfig, PLAN_CAPABILITIES, PlanCapability, PostalAddress, ResolvedInput, SiteAdProperty, SiteExperiment, SiteFont, SiteFontSchema, SiteIndexNow, SiteIndexing, SitePlan, SiteReviewLocation, SiteReviews, SiteSearchConsole, SiteSearchConsoleSetup, SiteSection, configJsonSchema, deepMerge, designSystemPath, experimentDimensionWarnings, formatConfig, getAt, isConfig, mergePatch, resolveConfig, resolveInput, resolvePrivacyContact, resolveTheme, setAt, stripNulls, validateConfig } from "./config.mjs";
|
|
3
3
|
import { a as spriteId, i as loadIconSvg, n as IconSpriteResult, r as buildIconSprite, t as IconSpriteOptions } from "./icons-sprite-CQ5Zj4go.mjs";
|
|
4
|
-
import { C as roleHue, S as TYPO_KEYMAP, _ as DARK_SEL, a as RoleKind, b as RoleSpec, c as expandPalette, f as patchToOverrideCss, g as BASE_HOOK, h as validateColorContract, i as NUMERIC_STEPS, l as functionalRole, m as tokenVar, n as ExpandedHue, o as buildReverseIndex, p as tokenClass, r as FunctionalRole, s as checkContrast, t as CONTRAST, v as REQUIRED_ROLES, w as roleKind, x as TW_CLASH, y as ROLE_TOKEN_KEYS } from "./tokens-
|
|
4
|
+
import { C as roleHue, S as TYPO_KEYMAP, T as roleSolidOptions, _ as DARK_SEL, a as RoleKind, b as RoleSpec, c as expandPalette, f as patchToOverrideCss, g as BASE_HOOK, h as validateColorContract, i as NUMERIC_STEPS, l as functionalRole, m as tokenVar, n as ExpandedHue, o as buildReverseIndex, p as tokenClass, r as FunctionalRole, s as checkContrast, t as CONTRAST, v as REQUIRED_ROLES, w as roleKind, x as TW_CLASH, y as ROLE_TOKEN_KEYS } from "./tokens-DH5cpvKd.mjs";
|
|
5
5
|
import { ContentNode } from "@getvitops/utils";
|
|
6
6
|
type Format = 'bricks' | 'css' | 'tailwind' | 'design';
|
|
7
7
|
/**
|
|
@@ -276,6 +276,13 @@ interface TierEntry {
|
|
|
276
276
|
* generator), so the check runs from the side that can see both.
|
|
277
277
|
*/
|
|
278
278
|
emdash?: string[];
|
|
279
|
+
/**
|
|
280
|
+
* Why this pattern's web component deliberately has no `emdash` block. A shipped `wc-*`
|
|
281
|
+
* (in `elements.js` or its own bundle) must set `emdash` OR this — `tiers.test.ts`
|
|
282
|
+
* enforces it — so "no block" is always a decision with a reason on the page, never an
|
|
283
|
+
* omission nobody noticed. Meaningless alongside `emdash`; the guard rejects both.
|
|
284
|
+
*/
|
|
285
|
+
emdashExempt?: string;
|
|
279
286
|
/** The one line an agent needs: what to actually write. */
|
|
280
287
|
use: string;
|
|
281
288
|
}
|
|
@@ -597,11 +604,28 @@ interface PolicyVars {
|
|
|
597
604
|
countries: string | undefined;
|
|
598
605
|
consentModel: 'opt-in' | 'opt-out' | 'none';
|
|
599
606
|
cookieCategories: string[];
|
|
607
|
+
/** Name of the privacy contact, when `privacyOfficer` is an inline contact with one. */
|
|
608
|
+
privacyOfficerName: string | undefined;
|
|
609
|
+
/** Title of the person in charge of privacy, as declared (`privacyOfficerTitle`). */
|
|
610
|
+
privacyOfficerTitle: string | undefined;
|
|
611
|
+
/** `legal.privacyPolicy.impactAssessments === true` — an attestation, never inferred. */
|
|
612
|
+
transferAssessment: boolean;
|
|
613
|
+
/**
|
|
614
|
+
* Technologies on the site that can identify or profile a visitor, as noun
|
|
615
|
+
* phrases: providers that set cookies, session replay, ad attribution, ad pixels.
|
|
616
|
+
* Derived from what the config already enables; empty when none is.
|
|
617
|
+
*/
|
|
618
|
+
trackingTechnologies: string[];
|
|
619
|
+
/** A form asks for a newsletter/subscription — the one signal that the site sends commercial e-mail. */
|
|
620
|
+
newsletterSignup: boolean;
|
|
600
621
|
}
|
|
601
622
|
export declare function derivePolicyVars(cfg: Config): PolicyVars;
|
|
602
623
|
declare function cookiesCa(v: PolicyVars): string;
|
|
624
|
+
declare function cookiesQc(v: PolicyVars): string;
|
|
603
625
|
declare function privacyCa(v: PolicyVars): string;
|
|
626
|
+
declare function privacyQc(v: PolicyVars): string;
|
|
604
627
|
declare function termsCa(v: PolicyVars): string;
|
|
628
|
+
declare function termsQc(v: PolicyVars): string;
|
|
605
629
|
type LegalDoc = 'privacy' | 'terms' | 'cookies';
|
|
606
630
|
type DocSet = Record<LegalDoc, (v: PolicyVars) => string>;
|
|
607
631
|
export declare const TEMPLATES: {
|
|
@@ -610,6 +634,11 @@ export declare const TEMPLATES: {
|
|
|
610
634
|
terms: typeof termsCa;
|
|
611
635
|
cookies: typeof cookiesCa;
|
|
612
636
|
};
|
|
637
|
+
qc: {
|
|
638
|
+
privacy: typeof privacyQc;
|
|
639
|
+
terms: typeof termsQc;
|
|
640
|
+
cookies: typeof cookiesQc;
|
|
641
|
+
};
|
|
613
642
|
};
|
|
614
643
|
/** Stable output order, independent of which docs a given config enables. */
|
|
615
644
|
export declare const DOC_ORDER: LegalDoc[];
|
|
@@ -718,5 +747,5 @@ export declare function defaultSiteConfig(opts?: {
|
|
|
718
747
|
url?: string | undefined;
|
|
719
748
|
locale?: string | undefined;
|
|
720
749
|
}): Config;
|
|
721
|
-
export { AD_PROVIDERS, type AdProvider, BASE_HOOK, BIGIN_DATA_CENTERS, type Block, CONFIG_SCHEMA_LOCAL_PATH, CONFIG_SCHEMA_URL, CONFIG_VERSION, CONTRAST, CRM_PROVIDERS, type ColorUtility, type Config, ConfigSchema, type ConfigValidationResult, type ContactObject, type CrmProviderConfig, DARK_SEL, type DesignSystem, DesignSystemSchema, type DocSet, type ExpandedHue, type Format, type FunctionalRole, type GenerateLegalOptions, type GenerateOptions, type GenerateResult, type IconSpriteOptions, type IconSpriteResult, JURISDICTIONS, JURISDICTION_COUNTRIES, type JsonSchemaNode, type Jurisdiction, type KnownProcessorKey, type LegalDoc, type LegalOutput, NUMERIC_STEPS, type OrganizationConfig, PLAN_CAPABILITIES, type PlanCapability, type PolicyVars, type PostalAddress, type Processor, type ProcessorStorage, REQUIRED_ROLES, ROLE_TOKEN_KEYS, type RenderRobotsOptions, type ResolvedInput, type RoleKind, type RoleSpec, SCHEMA_LOCAL_PATH, SCHEMA_URL, type SchemaTreeNode, type SchemaTreeOptions, type SiteAdProperty, type SiteExperiment, type SiteFont, SiteFontSchema, type SiteIndexNow, type SiteIndexing, type SitePlan, type SiteReviewLocation, type SiteReviews, type SiteSearchConsole, type SiteSearchConsoleSetup, type SiteSection, type Span, type StylesheetFormat, TW_CLASH, TYPO_KEYMAP, type Tier, type TierAstro, type TierCss, type TierEntry, type TierProjection, type TierWc, type ValidationResult, buildIconSprite, buildReverseIndex, checkContrast, configJsonSchema, deepMerge, designSystemPath, expandPalette, experimentDimensionWarnings, formatConfig, functionalRole, getAt, isConfig, jsonSchema, loadIconSvg, mergePatch, patchToOverrideCss, resolveConfig, resolveInput, resolvePrivacyContact, resolveTheme, roleHue, roleKind, setAt, spriteId, stripNulls, tokenClass, tokenVar, validate, validateColorContract, validateConfig };
|
|
750
|
+
export { AD_PROVIDERS, type AdProvider, BASE_HOOK, BIGIN_DATA_CENTERS, type Block, CONFIG_SCHEMA_LOCAL_PATH, CONFIG_SCHEMA_URL, CONFIG_VERSION, CONTRAST, CRM_PROVIDERS, type ColorUtility, type Config, ConfigSchema, type ConfigValidationResult, type ContactObject, type CrmProviderConfig, DARK_SEL, type DesignSystem, DesignSystemSchema, type DocSet, type ExpandedHue, type Format, type FunctionalRole, type GenerateLegalOptions, type GenerateOptions, type GenerateResult, type IconSpriteOptions, type IconSpriteResult, JURISDICTIONS, JURISDICTION_COUNTRIES, type JsonSchemaNode, type Jurisdiction, type KnownProcessorKey, type LegalDoc, type LegalOutput, NUMERIC_STEPS, type OrganizationConfig, PLAN_CAPABILITIES, type PlanCapability, type PolicyVars, type PostalAddress, type Processor, type ProcessorStorage, REQUIRED_ROLES, ROLE_TOKEN_KEYS, type RenderRobotsOptions, type ResolvedInput, type RoleKind, type RoleSpec, SCHEMA_LOCAL_PATH, SCHEMA_URL, type SchemaTreeNode, type SchemaTreeOptions, type SiteAdProperty, type SiteExperiment, type SiteFont, SiteFontSchema, type SiteIndexNow, type SiteIndexing, type SitePlan, type SiteReviewLocation, type SiteReviews, type SiteSearchConsole, type SiteSearchConsoleSetup, type SiteSection, type Span, type StylesheetFormat, TW_CLASH, TYPO_KEYMAP, type Tier, type TierAstro, type TierCss, type TierEntry, type TierProjection, type TierWc, type ValidationResult, buildIconSprite, buildReverseIndex, checkContrast, configJsonSchema, deepMerge, designSystemPath, expandPalette, experimentDimensionWarnings, formatConfig, functionalRole, getAt, isConfig, jsonSchema, loadIconSvg, mergePatch, patchToOverrideCss, resolveConfig, resolveInput, resolvePrivacyContact, resolveTheme, roleHue, roleKind, roleSolidOptions, setAt, spriteId, stripNulls, tokenClass, tokenVar, validate, validateColorContract, validateConfig };
|
|
722
751
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/generate.ts","../src/docs.ts","../src/tiers.ts","../src/token-refs.ts","../src/legal/providers.ts","../src/legal/derive.ts","../src/legal/templates/cookies.ca.ts","../src/legal/templates/privacy.ca.ts","../src/legal/templates/terms.ca.ts","../src/legal/templates/index.ts","../src/legal/render.ts","../src/legal/index.ts","../src/robots.ts","../src/index.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/generate.ts","../src/docs.ts","../src/tiers.ts","../src/token-refs.ts","../src/legal/providers.ts","../src/legal/derive.ts","../src/legal/templates/cookies.ca.ts","../src/legal/templates/cookies.qc.ts","../src/legal/templates/privacy.ca.ts","../src/legal/templates/privacy.qc.ts","../src/legal/templates/terms.ca.ts","../src/legal/templates/terms.qc.ts","../src/legal/templates/index.ts","../src/legal/render.ts","../src/legal/index.ts","../src/robots.ts","../src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