@pure-ds/core 0.7.6 → 0.7.8
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/types/public/assets/js/pds-ask.d.ts +2 -1
- package/dist/types/public/assets/js/pds-ask.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds-autocomplete.d.ts +25 -36
- package/dist/types/public/assets/js/pds-autocomplete.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds-enhancers.d.ts +4 -4
- package/dist/types/public/assets/js/pds-enhancers.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds-manager.d.ts +444 -159
- package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds-toast.d.ts +7 -6
- package/dist/types/public/assets/js/pds-toast.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds.d.ts +4 -3
- package/dist/types/public/assets/js/pds.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-generator.d.ts.map +1 -1
- package/package.json +2 -1
- package/packages/pds-cli/bin/pds-setup-mcp.js +20 -2
- package/packages/pds-cli/bin/postinstall.mjs +3 -0
- package/public/assets/js/app.js +2 -2
- package/public/assets/js/pds-manager.js +3 -1
- package/public/assets/pds/core/pds-manager.js +3 -1
- package/readme.md +34 -7
- package/src/js/pds-core/pds-generator.js +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare function Ia(): Promise<void>;
|
|
2
|
+
declare function qt(r?: {}): {
|
|
3
3
|
source: string;
|
|
4
4
|
type: string;
|
|
5
5
|
confidence: number;
|
|
@@ -12,7 +12,7 @@ export function convertBrandGuidelinesToPatch(input?: {}): {
|
|
|
12
12
|
template: any;
|
|
13
13
|
meta: any;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
declare function ct(r?: {}): {
|
|
16
16
|
source: string;
|
|
17
17
|
type: string;
|
|
18
18
|
confidence: number;
|
|
@@ -25,7 +25,7 @@ export function convertTailwindHtmlToPds(input?: {}): {
|
|
|
25
25
|
template: any;
|
|
26
26
|
meta: any;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
declare function O(r?: {}): {
|
|
29
29
|
source: string;
|
|
30
30
|
type: string;
|
|
31
31
|
confidence: number;
|
|
@@ -38,23 +38,23 @@ export function createImportResult(input?: {}): {
|
|
|
38
38
|
template: any;
|
|
39
39
|
meta: any;
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
declare function na(): {
|
|
42
42
|
directMappings: any;
|
|
43
43
|
ignoredPatterns: any;
|
|
44
44
|
nonPdsClassPatterns: any;
|
|
45
45
|
rulesJsonPath: string;
|
|
46
46
|
};
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
declare function Pa(r: any): Promise<any>;
|
|
48
|
+
declare function za(): {
|
|
49
49
|
id: string;
|
|
50
50
|
name: string;
|
|
51
51
|
}[];
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
declare function Jn(r: any): boolean;
|
|
53
|
+
declare function Fa(r?: {}): Promise<any>;
|
|
54
|
+
declare function $r(r?: {}): Promise<any>;
|
|
55
|
+
declare function fr(r: any, e?: {}): Promise<any>;
|
|
56
|
+
declare function et(r?: {}): Promise<any>;
|
|
57
|
+
declare function Ea(r?: {}): Promise<{
|
|
58
58
|
source: string;
|
|
59
59
|
type: string;
|
|
60
60
|
confidence: number;
|
|
@@ -67,7 +67,7 @@ export function runLiveImport(request?: {}): Promise<{
|
|
|
67
67
|
template: any;
|
|
68
68
|
meta: any;
|
|
69
69
|
}>;
|
|
70
|
-
|
|
70
|
+
declare function Ra(r?: {}): Promise<{
|
|
71
71
|
createdAt: number;
|
|
72
72
|
createdAtIso: string;
|
|
73
73
|
sourceType: string;
|
|
@@ -95,15 +95,15 @@ export function saveLiveImportHistory(input?: {}): Promise<{
|
|
|
95
95
|
resultSnapshot: any;
|
|
96
96
|
id: any;
|
|
97
97
|
}>;
|
|
98
|
-
|
|
98
|
+
declare function qn(r: any, e: any, { emitReady: t, emitConfigChanged: n, applyResolvedTheme: o, setupSystemListenerIfNeeded: a }: {
|
|
99
99
|
emitReady: any;
|
|
100
100
|
emitConfigChanged: any;
|
|
101
101
|
applyResolvedTheme: any;
|
|
102
102
|
setupSystemListenerIfNeeded: any;
|
|
103
103
|
}): Promise<{
|
|
104
104
|
generator: {
|
|
105
|
-
"__#private@#
|
|
106
|
-
"__#private@#
|
|
105
|
+
"__#private@#e": any;
|
|
106
|
+
"__#private@#o": any;
|
|
107
107
|
options: {
|
|
108
108
|
debug: boolean;
|
|
109
109
|
};
|
|
@@ -215,7 +215,9 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
215
215
|
hover: string;
|
|
216
216
|
};
|
|
217
217
|
};
|
|
218
|
-
spacing:
|
|
218
|
+
spacing: {
|
|
219
|
+
0: string;
|
|
220
|
+
};
|
|
219
221
|
radius: {
|
|
220
222
|
none: string;
|
|
221
223
|
xs: string;
|
|
@@ -430,7 +432,9 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
430
432
|
hover: string;
|
|
431
433
|
};
|
|
432
434
|
};
|
|
433
|
-
spacing:
|
|
435
|
+
spacing: {
|
|
436
|
+
0: string;
|
|
437
|
+
};
|
|
434
438
|
radius: {
|
|
435
439
|
none: string;
|
|
436
440
|
xs: string;
|
|
@@ -537,13 +541,13 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
537
541
|
externalPath: any;
|
|
538
542
|
};
|
|
539
543
|
};
|
|
540
|
-
"__#private@#
|
|
544
|
+
"__#private@#z"(e?: {}): {
|
|
541
545
|
light: number;
|
|
542
546
|
dark: number;
|
|
543
547
|
};
|
|
544
|
-
"__#private@#
|
|
545
|
-
"__#private@#
|
|
546
|
-
"__#private@#
|
|
548
|
+
"__#private@#f"(e: any): number;
|
|
549
|
+
"__#private@#h"(e: {}, t: any): {};
|
|
550
|
+
"__#private@#E"(e: any, t?: {}): {
|
|
547
551
|
primary: {
|
|
548
552
|
50: string;
|
|
549
553
|
100: string;
|
|
@@ -650,7 +654,7 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
650
654
|
hover: string;
|
|
651
655
|
};
|
|
652
656
|
};
|
|
653
|
-
"__#private@#
|
|
657
|
+
"__#private@#r"(e: any): {
|
|
654
658
|
50: string;
|
|
655
659
|
100: string;
|
|
656
660
|
200: string;
|
|
@@ -662,9 +666,9 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
662
666
|
800: string;
|
|
663
667
|
900: string;
|
|
664
668
|
};
|
|
665
|
-
"__#private@#
|
|
666
|
-
"__#private@#
|
|
667
|
-
"__#private@#
|
|
669
|
+
"__#private@#T"(e: any): string;
|
|
670
|
+
"__#private@#A"(e: any): string;
|
|
671
|
+
"__#private@#b"(e: any): {
|
|
668
672
|
50: string;
|
|
669
673
|
100: string;
|
|
670
674
|
200: string;
|
|
@@ -676,7 +680,7 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
676
680
|
800: string;
|
|
677
681
|
900: string;
|
|
678
682
|
};
|
|
679
|
-
"__#private@#
|
|
683
|
+
"__#private@#y"(e: any): {
|
|
680
684
|
base: any;
|
|
681
685
|
subtle: string;
|
|
682
686
|
elevated: string;
|
|
@@ -685,16 +689,16 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
685
689
|
inverse: string;
|
|
686
690
|
hover: string;
|
|
687
691
|
};
|
|
688
|
-
"__#private@#
|
|
692
|
+
"__#private@#L"(e: any): {
|
|
689
693
|
base: any;
|
|
690
694
|
subtle: any;
|
|
691
695
|
elevated: any;
|
|
692
696
|
sunken: string;
|
|
693
697
|
overlay: any;
|
|
694
698
|
};
|
|
695
|
-
"__#private@#
|
|
696
|
-
"__#private@#
|
|
697
|
-
"__#private@#
|
|
699
|
+
"__#private@#R"(e: any, t?: number): string;
|
|
700
|
+
"__#private@#v"(e: any): string;
|
|
701
|
+
"__#private@#F"(e: any, t?: string, n?: {}): {
|
|
698
702
|
surface: {
|
|
699
703
|
fieldset: {
|
|
700
704
|
base: any;
|
|
@@ -720,48 +724,34 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
720
724
|
warning: {};
|
|
721
725
|
danger: {};
|
|
722
726
|
};
|
|
723
|
-
"__#private@#
|
|
727
|
+
"__#private@#c"(e: any): {
|
|
724
728
|
r: number;
|
|
725
729
|
g: number;
|
|
726
730
|
b: number;
|
|
727
731
|
};
|
|
728
|
-
"__#private@#
|
|
729
|
-
"__#private@#
|
|
730
|
-
"__#private@#
|
|
731
|
-
"__#private@#
|
|
732
|
-
"__#private@#
|
|
733
|
-
"__#private@#
|
|
734
|
-
"__#private@#
|
|
732
|
+
"__#private@#p"(e: any): number;
|
|
733
|
+
"__#private@#d"(e: any, t: any): number;
|
|
734
|
+
"__#private@#x"(e: any, t?: number): string;
|
|
735
|
+
"__#private@#w"(e: any, t?: number): string;
|
|
736
|
+
"__#private@#P"(e: any, t: any, n?: number): string;
|
|
737
|
+
"__#private@#I"(e: any, t: any, n: any): string;
|
|
738
|
+
"__#private@#N"(e: any): {
|
|
735
739
|
base: any;
|
|
736
740
|
subtle: any;
|
|
737
741
|
elevated: string;
|
|
738
742
|
sunken: any;
|
|
739
743
|
overlay: string;
|
|
740
744
|
};
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
"__#private@#
|
|
746
|
-
"__#private@#
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
* @param {Object} surfaceShades - Object with surface color variants (base, subtle, elevated, etc.)
|
|
752
|
-
* @returns {Object} Smart tokens for each surface with text, icon, shadow, and border colors
|
|
753
|
-
*/
|
|
754
|
-
"__#private@#generateSmartSurfaceTokens"(surfaceShades: any, shadowOpacityConfig?: {}): any;
|
|
755
|
-
"__#private@#lightenColor"(hexColor: any, factor?: number): string;
|
|
756
|
-
"__#private@#adjustColorsForDarkMode"(colorScale: any): {};
|
|
757
|
-
"__#private@#dimColorForDarkMode"(hexColor: any, dimFactor?: number): string;
|
|
758
|
-
/**
|
|
759
|
-
* Generate spacing tokens based on the provided configuration.
|
|
760
|
-
* @param {Object} spatialConfig
|
|
761
|
-
* @returns { String } CSS spacing tokens
|
|
762
|
-
*/
|
|
763
|
-
generateSpacingTokens(spatialConfig: any): string;
|
|
764
|
-
"__#private@#generateRadiusTokens"(shapeConfig: any): {
|
|
745
|
+
"__#private@#j"(e?: {}, t?: string, n?: number): any;
|
|
746
|
+
"__#private@#k"(e?: {}, t?: number): any;
|
|
747
|
+
"__#private@#S"(e: any, t?: {}): {};
|
|
748
|
+
"__#private@#$"(e: any, t?: number): string;
|
|
749
|
+
"__#private@#i"(e: any): {};
|
|
750
|
+
"__#private@#B"(e: any, t?: number): string;
|
|
751
|
+
generateSpacingTokens(e: any): {
|
|
752
|
+
0: string;
|
|
753
|
+
};
|
|
754
|
+
"__#private@#O"(e: any): {
|
|
765
755
|
none: string;
|
|
766
756
|
xs: string;
|
|
767
757
|
sm: string;
|
|
@@ -770,13 +760,13 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
770
760
|
xl: string;
|
|
771
761
|
full: string;
|
|
772
762
|
};
|
|
773
|
-
"__#private@#
|
|
763
|
+
"__#private@#_"(e: any): {
|
|
774
764
|
hairline: string;
|
|
775
765
|
thin: string;
|
|
776
766
|
medium: string;
|
|
777
767
|
thick: string;
|
|
778
768
|
};
|
|
779
|
-
generateTypographyTokens(
|
|
769
|
+
generateTypographyTokens(e: any): {
|
|
780
770
|
fontFamily: {
|
|
781
771
|
headings: any;
|
|
782
772
|
body: any;
|
|
@@ -805,7 +795,7 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
805
795
|
relaxed: any;
|
|
806
796
|
};
|
|
807
797
|
};
|
|
808
|
-
"__#private@#
|
|
798
|
+
"__#private@#C"(e: any): {
|
|
809
799
|
sm: string;
|
|
810
800
|
base: string;
|
|
811
801
|
md: string;
|
|
@@ -813,7 +803,7 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
813
803
|
xl: string;
|
|
814
804
|
inner: string;
|
|
815
805
|
};
|
|
816
|
-
"__#private@#
|
|
806
|
+
"__#private@#D"(e: any): {
|
|
817
807
|
maxWidth: any;
|
|
818
808
|
maxWidthSm: any;
|
|
819
809
|
maxWidthMd: any;
|
|
@@ -833,21 +823,21 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
833
823
|
heroSpacing: string;
|
|
834
824
|
footerSpacing: string;
|
|
835
825
|
};
|
|
836
|
-
"__#private@#
|
|
826
|
+
"__#private@#M"(e?: {}, t?: {}): {
|
|
837
827
|
sm: any;
|
|
838
828
|
md: any;
|
|
839
829
|
lg: any;
|
|
840
830
|
xl: any;
|
|
841
831
|
};
|
|
842
|
-
"__#private@#
|
|
843
|
-
"__#private@#
|
|
844
|
-
"__#private@#
|
|
845
|
-
"__#private@#
|
|
832
|
+
"__#private@#u"(e: any, t: any): boolean;
|
|
833
|
+
"__#private@#n"(e: any, t: any): any;
|
|
834
|
+
"__#private@#s"(e: any, t: any): any;
|
|
835
|
+
"__#private@#W"(e: any): {
|
|
846
836
|
fast: string;
|
|
847
837
|
normal: string;
|
|
848
838
|
slow: string;
|
|
849
839
|
};
|
|
850
|
-
"__#private@#
|
|
840
|
+
"__#private@#U"(e: any): {
|
|
851
841
|
dropdown: any;
|
|
852
842
|
sticky: any;
|
|
853
843
|
fixed: any;
|
|
@@ -857,7 +847,7 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
857
847
|
tooltip: any;
|
|
858
848
|
notification: any;
|
|
859
849
|
};
|
|
860
|
-
"__#private@#
|
|
850
|
+
"__#private@#H"(e: any): {
|
|
861
851
|
set: any;
|
|
862
852
|
weight: any;
|
|
863
853
|
defaultSize: string;
|
|
@@ -867,45 +857,45 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
867
857
|
spritePath: any;
|
|
868
858
|
externalPath: any;
|
|
869
859
|
};
|
|
870
|
-
"__#private@#
|
|
871
|
-
"__#private@#
|
|
872
|
-
"__#private@#
|
|
873
|
-
"__#private@#
|
|
874
|
-
"__#private@#
|
|
875
|
-
"__#private@#
|
|
876
|
-
"__#private@#
|
|
877
|
-
"__#private@#
|
|
878
|
-
"__#private@#
|
|
879
|
-
"__#private@#
|
|
880
|
-
"__#private@#
|
|
881
|
-
"__#private@#
|
|
882
|
-
"__#private@#
|
|
883
|
-
"__#private@#
|
|
884
|
-
"__#private@#
|
|
885
|
-
"__#private@#
|
|
886
|
-
"__#private@#
|
|
887
|
-
"__#private@#
|
|
888
|
-
"__#private@#
|
|
889
|
-
"__#private@#
|
|
890
|
-
"__#private@#
|
|
891
|
-
"__#private@#
|
|
892
|
-
"__#private@#
|
|
893
|
-
"__#private@#
|
|
894
|
-
"__#private@#
|
|
895
|
-
"__#private@#
|
|
896
|
-
"__#private@#
|
|
897
|
-
"__#private@#
|
|
898
|
-
"__#private@#
|
|
899
|
-
"__#private@#
|
|
900
|
-
"__#private@#
|
|
901
|
-
"__#private@#
|
|
902
|
-
"__#private@#
|
|
903
|
-
"__#private@#
|
|
860
|
+
"__#private@#q"(e: any): string;
|
|
861
|
+
"__#private@#G"(e: any): string;
|
|
862
|
+
"__#private@#V"(e: any): string;
|
|
863
|
+
"__#private@#J"(e: any): string;
|
|
864
|
+
"__#private@#Y"(e: any): string;
|
|
865
|
+
"__#private@#Q"(e: any): string;
|
|
866
|
+
"__#private@#g"(e: any): string;
|
|
867
|
+
"__#private@#K"(e: any): string;
|
|
868
|
+
"__#private@#Z"(e: any): string;
|
|
869
|
+
"__#private@#X"(e: any): string;
|
|
870
|
+
"__#private@#ee"(e: any): string;
|
|
871
|
+
"__#private@#te"(e: any, t: any): string;
|
|
872
|
+
"__#private@#re"(e: any, t: any): string;
|
|
873
|
+
"__#private@#ne"(e: any): string;
|
|
874
|
+
"__#private@#oe"(e: any): string;
|
|
875
|
+
"__#private@#ae"(): string;
|
|
876
|
+
"__#private@#ie"(): string;
|
|
877
|
+
"__#private@#se"(): "" | "/* Liquid glass utility (opt-in via options.liquidGlassEffects) */\n.liquid-glass {\n border-radius: var(--radius-lg);\n /* Subtle translucent fill blended with surface */\n background: color-mix(in oklab, var(--color-surface-subtle) 45%, transparent);\n\n background-image: linear-gradient(\n 135deg,\n rgba(255,255,255,0.35),\n rgba(255,255,255,0.12)\n );\n /* Frosted glass blur + saturation */\n -webkit-backdrop-filter: blur(12px) saturate(140%);\n backdrop-filter: blur(12px) saturate(140%);\n /* Soft inner highlight and outer depth */\n box-shadow:\n inset 0 1px 0 rgba(255,255,255,0.6),\n inset 0 -40px 80px rgba(255,255,255,0.12),\n 0 10px 30px rgba(0,0,0,0.10);\n /* Glossy border with slight light and dark edges */\n border: var(--border-width-thin) solid color-mix(in oklab, var(--color-primary-500) 22%, transparent);\n outline: 1px solid color-mix(in oklab, #ffffff 18%, transparent);\n outline-offset: -1px;\n}\n\nhtml[data-theme=\"dark\"] .liquid-glass {\n background: color-mix(in oklab, var(--color-surface-inverse) 45%, transparent);\n background-image: linear-gradient(\n 135deg,\n color-mix(in oklab, var(--color-primary-300) 40%, transparent),\n color-mix(in oklab, var(--color-surface-overlay) 48%, transparent)\n );\n box-shadow:\n inset 0 1px 0 rgba(255,255,255,0.12),\n inset 0 -40px 80px rgba(0,0,0,0.55),\n 0 18px 38px rgba(0,0,0,0.65);\n border: var(--border-width-thin) solid color-mix(in oklab, var(--color-primary-300) 26%, transparent);\n outline: 1px solid color-mix(in oklab, #ffffff 16%, transparent);\n}\n\n/* Fallback when backdrop-filter isn't supported */\n@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {\n .liquid-glass {\n /* Strengthen fill a bit to compensate for lack of blur */\n background: color-mix(in oklab, var(--color-surface-subtle) 70%, rgba(255,255,255,0.4));\n box-shadow:\n inset 0 1px 0 rgba(255,255,255,0.6),\n 0 10px 24px rgba(0,0,0,0.08);\n }\n\n html[data-theme=\"dark\"] .liquid-glass {\n background: color-mix(in oklab, var(--color-surface-inverse) 70%, transparent);\n box-shadow:\n inset 0 1px 0 rgba(255,255,255,0.1),\n 0 18px 32px rgba(0,0,0,0.58);\n }\n}\n";
|
|
878
|
+
"__#private@#le"(): string;
|
|
879
|
+
"__#private@#ce"(): string;
|
|
880
|
+
"__#private@#de"(): string;
|
|
881
|
+
"__#private@#pe"(): string;
|
|
882
|
+
"__#private@#ue"(): string;
|
|
883
|
+
"__#private@#ge"(): string;
|
|
884
|
+
"__#private@#me"(): string;
|
|
885
|
+
"__#private@#fe"(): string;
|
|
886
|
+
"__#private@#he"(): string;
|
|
887
|
+
"__#private@#be"(): string;
|
|
888
|
+
"__#private@#ye"(): string;
|
|
889
|
+
"__#private@#ve"(): string;
|
|
890
|
+
"__#private@#xe"(): string;
|
|
891
|
+
"__#private@#we"(): string;
|
|
892
|
+
"__#private@#ke"(): string;
|
|
893
|
+
"__#private@#a"(e: any): {
|
|
904
894
|
h: number;
|
|
905
895
|
s: number;
|
|
906
896
|
l: number;
|
|
907
897
|
};
|
|
908
|
-
"__#private@#
|
|
898
|
+
"__#private@#t"(e: any, t: any, n: any): string;
|
|
909
899
|
getTokens(): {
|
|
910
900
|
colors: {
|
|
911
901
|
primary: {
|
|
@@ -1014,7 +1004,9 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
1014
1004
|
hover: string;
|
|
1015
1005
|
};
|
|
1016
1006
|
};
|
|
1017
|
-
spacing:
|
|
1007
|
+
spacing: {
|
|
1008
|
+
0: string;
|
|
1009
|
+
};
|
|
1018
1010
|
radius: {
|
|
1019
1011
|
none: string;
|
|
1020
1012
|
xs: string;
|
|
@@ -1122,41 +1114,353 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
1122
1114
|
};
|
|
1123
1115
|
};
|
|
1124
1116
|
exportCSS(): string;
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
"__#private@#
|
|
1130
|
-
"__#private@#
|
|
1131
|
-
"__#private@#
|
|
1132
|
-
"__#private@#generateComponentsLayer"(): string;
|
|
1133
|
-
"__#private@#generateUtilitiesLayer"(): string;
|
|
1134
|
-
/**
|
|
1135
|
-
* Create constructable stylesheets for each layer
|
|
1136
|
-
*/
|
|
1137
|
-
"__#private@#createConstructableStylesheets"(): void;
|
|
1138
|
-
"__#private@#updateConstructableStylesheets"(): void;
|
|
1117
|
+
"__#private@#Se"(): void;
|
|
1118
|
+
"__#private@#$e"(): string;
|
|
1119
|
+
"__#private@#Ce"(): string;
|
|
1120
|
+
"__#private@#Me"(): string;
|
|
1121
|
+
"__#private@#ze"(): string;
|
|
1122
|
+
"__#private@#Ee"(): void;
|
|
1123
|
+
"__#private@#Te"(): void;
|
|
1139
1124
|
get tokensCSS(): any;
|
|
1140
1125
|
get primitivesCSS(): any;
|
|
1141
1126
|
get componentsCSS(): any;
|
|
1142
1127
|
get utilitiesCSS(): any;
|
|
1143
1128
|
get layeredCSS(): string;
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1129
|
+
get compiled(): {
|
|
1130
|
+
tokens: {
|
|
1131
|
+
colors: {
|
|
1132
|
+
primary: {
|
|
1133
|
+
50: string;
|
|
1134
|
+
100: string;
|
|
1135
|
+
200: string;
|
|
1136
|
+
300: string;
|
|
1137
|
+
400: string;
|
|
1138
|
+
500: any;
|
|
1139
|
+
600: string;
|
|
1140
|
+
700: string;
|
|
1141
|
+
800: string;
|
|
1142
|
+
900: string;
|
|
1143
|
+
};
|
|
1144
|
+
secondary: {
|
|
1145
|
+
50: string;
|
|
1146
|
+
100: string;
|
|
1147
|
+
200: string;
|
|
1148
|
+
300: string;
|
|
1149
|
+
400: string;
|
|
1150
|
+
500: any;
|
|
1151
|
+
600: string;
|
|
1152
|
+
700: string;
|
|
1153
|
+
800: string;
|
|
1154
|
+
900: string;
|
|
1155
|
+
};
|
|
1156
|
+
accent: {
|
|
1157
|
+
50: string;
|
|
1158
|
+
100: string;
|
|
1159
|
+
200: string;
|
|
1160
|
+
300: string;
|
|
1161
|
+
400: string;
|
|
1162
|
+
500: any;
|
|
1163
|
+
600: string;
|
|
1164
|
+
700: string;
|
|
1165
|
+
800: string;
|
|
1166
|
+
900: string;
|
|
1167
|
+
};
|
|
1168
|
+
success: {
|
|
1169
|
+
50: string;
|
|
1170
|
+
100: string;
|
|
1171
|
+
200: string;
|
|
1172
|
+
300: string;
|
|
1173
|
+
400: string;
|
|
1174
|
+
500: any;
|
|
1175
|
+
600: string;
|
|
1176
|
+
700: string;
|
|
1177
|
+
800: string;
|
|
1178
|
+
900: string;
|
|
1179
|
+
};
|
|
1180
|
+
warning: {
|
|
1181
|
+
50: string;
|
|
1182
|
+
100: string;
|
|
1183
|
+
200: string;
|
|
1184
|
+
300: string;
|
|
1185
|
+
400: string;
|
|
1186
|
+
500: any;
|
|
1187
|
+
600: string;
|
|
1188
|
+
700: string;
|
|
1189
|
+
800: string;
|
|
1190
|
+
900: string;
|
|
1191
|
+
};
|
|
1192
|
+
danger: {
|
|
1193
|
+
50: string;
|
|
1194
|
+
100: string;
|
|
1195
|
+
200: string;
|
|
1196
|
+
300: string;
|
|
1197
|
+
400: string;
|
|
1198
|
+
500: any;
|
|
1199
|
+
600: string;
|
|
1200
|
+
700: string;
|
|
1201
|
+
800: string;
|
|
1202
|
+
900: string;
|
|
1203
|
+
};
|
|
1204
|
+
info: {
|
|
1205
|
+
50: string;
|
|
1206
|
+
100: string;
|
|
1207
|
+
200: string;
|
|
1208
|
+
300: string;
|
|
1209
|
+
400: string;
|
|
1210
|
+
500: any;
|
|
1211
|
+
600: string;
|
|
1212
|
+
700: string;
|
|
1213
|
+
800: string;
|
|
1214
|
+
900: string;
|
|
1215
|
+
};
|
|
1216
|
+
gray: {
|
|
1217
|
+
50: string;
|
|
1218
|
+
100: string;
|
|
1219
|
+
200: string;
|
|
1220
|
+
300: string;
|
|
1221
|
+
400: string;
|
|
1222
|
+
500: any;
|
|
1223
|
+
600: string;
|
|
1224
|
+
700: string;
|
|
1225
|
+
800: string;
|
|
1226
|
+
900: string;
|
|
1227
|
+
};
|
|
1228
|
+
surface: {
|
|
1229
|
+
base: any;
|
|
1230
|
+
subtle: string;
|
|
1231
|
+
elevated: string;
|
|
1232
|
+
sunken: string;
|
|
1233
|
+
overlay: string;
|
|
1234
|
+
inverse: string;
|
|
1235
|
+
hover: string;
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
spacing: {
|
|
1239
|
+
0: string;
|
|
1240
|
+
};
|
|
1241
|
+
radius: {
|
|
1242
|
+
none: string;
|
|
1243
|
+
xs: string;
|
|
1244
|
+
sm: string;
|
|
1245
|
+
md: string;
|
|
1246
|
+
lg: string;
|
|
1247
|
+
xl: string;
|
|
1248
|
+
full: string;
|
|
1249
|
+
};
|
|
1250
|
+
borderWidths: {
|
|
1251
|
+
hairline: string;
|
|
1252
|
+
thin: string;
|
|
1253
|
+
medium: string;
|
|
1254
|
+
thick: string;
|
|
1255
|
+
};
|
|
1256
|
+
typography: {
|
|
1257
|
+
fontFamily: {
|
|
1258
|
+
headings: any;
|
|
1259
|
+
body: any;
|
|
1260
|
+
mono: any;
|
|
1261
|
+
};
|
|
1262
|
+
fontSize: {
|
|
1263
|
+
xs: string;
|
|
1264
|
+
sm: string;
|
|
1265
|
+
base: string;
|
|
1266
|
+
lg: string;
|
|
1267
|
+
xl: string;
|
|
1268
|
+
"2xl": string;
|
|
1269
|
+
"3xl": string;
|
|
1270
|
+
"4xl": string;
|
|
1271
|
+
};
|
|
1272
|
+
fontWeight: {
|
|
1273
|
+
light: any;
|
|
1274
|
+
normal: any;
|
|
1275
|
+
medium: any;
|
|
1276
|
+
semibold: any;
|
|
1277
|
+
bold: any;
|
|
1278
|
+
};
|
|
1279
|
+
lineHeight: {
|
|
1280
|
+
tight: any;
|
|
1281
|
+
normal: any;
|
|
1282
|
+
relaxed: any;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
shadows: {
|
|
1286
|
+
sm: string;
|
|
1287
|
+
base: string;
|
|
1288
|
+
md: string;
|
|
1289
|
+
lg: string;
|
|
1290
|
+
xl: string;
|
|
1291
|
+
inner: string;
|
|
1292
|
+
};
|
|
1293
|
+
layout: {
|
|
1294
|
+
maxWidth: any;
|
|
1295
|
+
maxWidthSm: any;
|
|
1296
|
+
maxWidthMd: any;
|
|
1297
|
+
maxWidthLg: any;
|
|
1298
|
+
maxWidthXl: any;
|
|
1299
|
+
minHeight: string;
|
|
1300
|
+
containerPadding: any;
|
|
1301
|
+
breakpoints: {
|
|
1302
|
+
sm: any;
|
|
1303
|
+
md: any;
|
|
1304
|
+
lg: any;
|
|
1305
|
+
xl: any;
|
|
1306
|
+
};
|
|
1307
|
+
pageMargin: string;
|
|
1308
|
+
sectionGap: string;
|
|
1309
|
+
containerGap: string;
|
|
1310
|
+
heroSpacing: string;
|
|
1311
|
+
footerSpacing: string;
|
|
1312
|
+
};
|
|
1313
|
+
transitions: {
|
|
1314
|
+
fast: string;
|
|
1315
|
+
normal: string;
|
|
1316
|
+
slow: string;
|
|
1317
|
+
};
|
|
1318
|
+
zIndex: {
|
|
1319
|
+
dropdown: any;
|
|
1320
|
+
sticky: any;
|
|
1321
|
+
fixed: any;
|
|
1322
|
+
modal: any;
|
|
1323
|
+
drawer: any;
|
|
1324
|
+
popover: any;
|
|
1325
|
+
tooltip: any;
|
|
1326
|
+
notification: any;
|
|
1327
|
+
};
|
|
1328
|
+
icons: {
|
|
1329
|
+
set: any;
|
|
1330
|
+
weight: any;
|
|
1331
|
+
defaultSize: string;
|
|
1332
|
+
sizes: {
|
|
1333
|
+
[k: string]: string;
|
|
1334
|
+
};
|
|
1335
|
+
spritePath: any;
|
|
1336
|
+
externalPath: any;
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
layers: {
|
|
1340
|
+
tokens: {
|
|
1341
|
+
css: any;
|
|
1342
|
+
size: any;
|
|
1343
|
+
sizeKB: string;
|
|
1344
|
+
};
|
|
1345
|
+
primitives: {
|
|
1346
|
+
css: any;
|
|
1347
|
+
size: any;
|
|
1348
|
+
sizeKB: string;
|
|
1349
|
+
};
|
|
1350
|
+
components: {
|
|
1351
|
+
css: any;
|
|
1352
|
+
size: any;
|
|
1353
|
+
sizeKB: string;
|
|
1354
|
+
};
|
|
1355
|
+
utilities: {
|
|
1356
|
+
css: any;
|
|
1357
|
+
size: any;
|
|
1358
|
+
sizeKB: string;
|
|
1359
|
+
};
|
|
1360
|
+
combined: {
|
|
1361
|
+
css: string;
|
|
1362
|
+
size: number;
|
|
1363
|
+
sizeKB: string;
|
|
1364
|
+
};
|
|
1365
|
+
};
|
|
1366
|
+
config: {
|
|
1367
|
+
design: any;
|
|
1368
|
+
preset: any;
|
|
1369
|
+
debug: boolean;
|
|
1370
|
+
};
|
|
1371
|
+
capabilities: {
|
|
1372
|
+
constructableStylesheets: boolean;
|
|
1373
|
+
blobURLs: boolean;
|
|
1374
|
+
shadowDOM: boolean;
|
|
1375
|
+
};
|
|
1376
|
+
references: {
|
|
1377
|
+
ontology: any;
|
|
1378
|
+
enums: any;
|
|
1379
|
+
};
|
|
1380
|
+
meta: {
|
|
1381
|
+
generatedAt: string;
|
|
1382
|
+
totalSize: any;
|
|
1383
|
+
totalSizeKB: string;
|
|
1384
|
+
layerCount: number;
|
|
1385
|
+
tokenGroups: number;
|
|
1386
|
+
};
|
|
1387
|
+
helpers: {
|
|
1388
|
+
getColorScales: () => {
|
|
1389
|
+
name: string;
|
|
1390
|
+
scale: {
|
|
1391
|
+
50: string;
|
|
1392
|
+
100: string;
|
|
1393
|
+
200: string;
|
|
1394
|
+
300: string;
|
|
1395
|
+
400: string;
|
|
1396
|
+
500: any;
|
|
1397
|
+
600: string;
|
|
1398
|
+
700: string;
|
|
1399
|
+
800: string;
|
|
1400
|
+
900: string;
|
|
1401
|
+
} | {
|
|
1402
|
+
50: string;
|
|
1403
|
+
100: string;
|
|
1404
|
+
200: string;
|
|
1405
|
+
300: string;
|
|
1406
|
+
400: string;
|
|
1407
|
+
500: any;
|
|
1408
|
+
600: string;
|
|
1409
|
+
700: string;
|
|
1410
|
+
800: string;
|
|
1411
|
+
900: string;
|
|
1412
|
+
} | {
|
|
1413
|
+
base: any;
|
|
1414
|
+
subtle: string;
|
|
1415
|
+
elevated: string;
|
|
1416
|
+
sunken: string;
|
|
1417
|
+
overlay: string;
|
|
1418
|
+
inverse: string;
|
|
1419
|
+
hover: string;
|
|
1420
|
+
};
|
|
1421
|
+
}[];
|
|
1422
|
+
getColorScale: (e: any) => any;
|
|
1423
|
+
getSpacingValues: () => {
|
|
1424
|
+
key: string;
|
|
1425
|
+
value: string;
|
|
1426
|
+
}[];
|
|
1427
|
+
getTypography: () => {
|
|
1428
|
+
fontFamily: {
|
|
1429
|
+
headings: any;
|
|
1430
|
+
body: any;
|
|
1431
|
+
mono: any;
|
|
1432
|
+
};
|
|
1433
|
+
fontSize: {
|
|
1434
|
+
xs: string;
|
|
1435
|
+
sm: string;
|
|
1436
|
+
base: string;
|
|
1437
|
+
lg: string;
|
|
1438
|
+
xl: string;
|
|
1439
|
+
"2xl": string;
|
|
1440
|
+
"3xl": string;
|
|
1441
|
+
"4xl": string;
|
|
1442
|
+
};
|
|
1443
|
+
fontWeight: {
|
|
1444
|
+
light: any;
|
|
1445
|
+
normal: any;
|
|
1446
|
+
medium: any;
|
|
1447
|
+
semibold: any;
|
|
1448
|
+
bold: any;
|
|
1449
|
+
};
|
|
1450
|
+
lineHeight: {
|
|
1451
|
+
tight: any;
|
|
1452
|
+
normal: any;
|
|
1453
|
+
relaxed: any;
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
getLayerCSS: (e: any) => any;
|
|
1457
|
+
usesEnumValue: (e: any, t: any) => boolean;
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1152
1460
|
get tokensStylesheet(): any;
|
|
1153
1461
|
get primitivesStylesheet(): any;
|
|
1154
1462
|
get componentsStylesheet(): any;
|
|
1155
1463
|
get utilitiesStylesheet(): any;
|
|
1156
|
-
/**
|
|
1157
|
-
* Generate CSS module files for export
|
|
1158
|
-
* Returns object with filename => content
|
|
1159
|
-
*/
|
|
1160
1464
|
getCSSModules(): {
|
|
1161
1465
|
"pds-tokens.css.js": string;
|
|
1162
1466
|
"pds-primitives.css.js": string;
|
|
@@ -1164,37 +1468,18 @@ export function startLive(PDS3: any, config: any, { emitReady, emitConfigChanged
|
|
|
1164
1468
|
"pds-utilities.css.js": string;
|
|
1165
1469
|
"pds-styles.css.js": string;
|
|
1166
1470
|
};
|
|
1167
|
-
"__#private@#
|
|
1471
|
+
"__#private@#l"(e: any, t: any): string;
|
|
1168
1472
|
};
|
|
1169
1473
|
config: {
|
|
1170
1474
|
design: any;
|
|
1171
1475
|
preset: any;
|
|
1172
1476
|
} | {
|
|
1173
|
-
design: {
|
|
1174
|
-
colors: unknown;
|
|
1175
|
-
} | {
|
|
1176
|
-
typography: unknown;
|
|
1177
|
-
} | {
|
|
1178
|
-
spatialRhythm: unknown;
|
|
1179
|
-
} | {
|
|
1180
|
-
shape: unknown;
|
|
1181
|
-
} | {
|
|
1182
|
-
behavior: unknown;
|
|
1183
|
-
} | {
|
|
1184
|
-
layout: unknown;
|
|
1185
|
-
} | {
|
|
1186
|
-
advanced: unknown;
|
|
1187
|
-
} | {
|
|
1188
|
-
a11y: unknown;
|
|
1189
|
-
} | {
|
|
1190
|
-
components: unknown;
|
|
1191
|
-
} | {
|
|
1192
|
-
icons: unknown;
|
|
1193
|
-
};
|
|
1477
|
+
design: {};
|
|
1194
1478
|
} | {
|
|
1195
1479
|
debug: boolean;
|
|
1196
1480
|
};
|
|
1197
1481
|
theme: string;
|
|
1198
1482
|
autoDefiner: {};
|
|
1199
1483
|
}>;
|
|
1484
|
+
export { Ia as clearLiveImportHistory, qt as convertBrandGuidelinesToPatch, ct as convertTailwindHtmlToPds, O as createImportResult, na as describeTailwindConversionRules, Pa as getLiveImportHistoryEntry, za as getLiveImportSources, Jn as isImportResult, Fa as listLiveImportHistory, $r as listLiveTemplates, fr as loadGoogleFont, et as loadLiveTemplateCatalog, Ea as runLiveImport, Ra as saveLiveImportHistory, qn as startLive };
|
|
1200
1485
|
//# sourceMappingURL=pds-manager.d.ts.map
|