@pure-ds/core 0.5.57 → 0.5.59
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/pds.d.ts +1 -0
- package/dist/types/public/assets/js/pds-manager.d.ts +34 -4
- package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-config.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-generator.d.ts +24 -0
- package/dist/types/src/js/pds-core/pds-generator.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-live.d.ts.map +1 -1
- package/package.json +1 -1
- package/public/assets/js/app.js +134 -134
- package/public/assets/js/pds-manager.js +187 -187
- package/src/js/pds-core/pds-config.js +4 -0
- package/src/js/pds-core/pds-generator.js +87 -16
- package/src/js/pds-core/pds-live.js +60 -0
- package/src/js/pds.d.ts +1 -0
package/dist/types/pds.d.ts
CHANGED
|
@@ -170,6 +170,14 @@ export function startLive(PDS2: any, config: any, { emitReady, applyResolvedThem
|
|
|
170
170
|
xl: string;
|
|
171
171
|
inner: string;
|
|
172
172
|
};
|
|
173
|
+
darkShadows: {
|
|
174
|
+
sm: string;
|
|
175
|
+
base: string;
|
|
176
|
+
md: string;
|
|
177
|
+
lg: string;
|
|
178
|
+
xl: string;
|
|
179
|
+
inner: string;
|
|
180
|
+
};
|
|
173
181
|
layout: {
|
|
174
182
|
maxWidth: any;
|
|
175
183
|
maxWidthSm: any;
|
|
@@ -377,6 +385,14 @@ export function startLive(PDS2: any, config: any, { emitReady, applyResolvedThem
|
|
|
377
385
|
xl: string;
|
|
378
386
|
inner: string;
|
|
379
387
|
};
|
|
388
|
+
darkShadows: {
|
|
389
|
+
sm: string;
|
|
390
|
+
base: string;
|
|
391
|
+
md: string;
|
|
392
|
+
lg: string;
|
|
393
|
+
xl: string;
|
|
394
|
+
inner: string;
|
|
395
|
+
};
|
|
380
396
|
layout: {
|
|
381
397
|
maxWidth: any;
|
|
382
398
|
maxWidthSm: any;
|
|
@@ -423,7 +439,13 @@ export function startLive(PDS2: any, config: any, { emitReady, applyResolvedThem
|
|
|
423
439
|
externalPath: any;
|
|
424
440
|
};
|
|
425
441
|
};
|
|
426
|
-
"__#private@#
|
|
442
|
+
"__#private@#resolveShadowOpacityConfig"(config?: {}): {
|
|
443
|
+
light: number;
|
|
444
|
+
dark: number;
|
|
445
|
+
};
|
|
446
|
+
"__#private@#normalizeOpacity"(value: any): number;
|
|
447
|
+
"__#private@#mergeShadowConfig"(layersConfig: {}, baseShadowOpacity: any): {};
|
|
448
|
+
"__#private@#generateColorTokens"(colorConfig: any, shadowOpacityConfig?: {}): {
|
|
427
449
|
primary: {
|
|
428
450
|
50: string;
|
|
429
451
|
100: string;
|
|
@@ -631,7 +653,7 @@ export function startLive(PDS2: any, config: any, { emitReady, applyResolvedThem
|
|
|
631
653
|
* @param {Object} surfaceShades - Object with surface color variants (base, subtle, elevated, etc.)
|
|
632
654
|
* @returns {Object} Smart tokens for each surface with text, icon, shadow, and border colors
|
|
633
655
|
*/
|
|
634
|
-
"__#private@#generateSmartSurfaceTokens"(surfaceShades: any): any;
|
|
656
|
+
"__#private@#generateSmartSurfaceTokens"(surfaceShades: any, shadowOpacityConfig?: {}): any;
|
|
635
657
|
"__#private@#lightenColor"(hexColor: any, factor?: number): string;
|
|
636
658
|
"__#private@#adjustColorsForDarkMode"(colorScale: any): {};
|
|
637
659
|
"__#private@#dimColorForDarkMode"(hexColor: any, dimFactor?: number): string;
|
|
@@ -757,8 +779,8 @@ export function startLive(PDS2: any, config: any, { emitReady, applyResolvedThem
|
|
|
757
779
|
"__#private@#generateTransitionVariables"(transitions: any): string;
|
|
758
780
|
"__#private@#generateZIndexVariables"(zIndex: any): string;
|
|
759
781
|
"__#private@#generateIconVariables"(icons: any): string;
|
|
760
|
-
"__#private@#generateDarkVariablesOnly"(colors: any): string;
|
|
761
|
-
"__#private@#generateDarkVariablesForTokensLayer"(colors: any): string;
|
|
782
|
+
"__#private@#generateDarkVariablesOnly"(colors: any, darkShadows: any): string;
|
|
783
|
+
"__#private@#generateDarkVariablesForTokensLayer"(colors: any, darkShadows: any): string;
|
|
762
784
|
"__#private@#generateMeshGradientsDarkVariablesOnly"(colors: any): string;
|
|
763
785
|
"__#private@#generateMeshGradientsDark"(colors: any): string;
|
|
764
786
|
"__#private@#generateDarkModeComponentRules"(): string;
|
|
@@ -946,6 +968,14 @@ export function startLive(PDS2: any, config: any, { emitReady, applyResolvedThem
|
|
|
946
968
|
xl: string;
|
|
947
969
|
inner: string;
|
|
948
970
|
};
|
|
971
|
+
darkShadows: {
|
|
972
|
+
sm: string;
|
|
973
|
+
base: string;
|
|
974
|
+
md: string;
|
|
975
|
+
lg: string;
|
|
976
|
+
xl: string;
|
|
977
|
+
inner: string;
|
|
978
|
+
};
|
|
949
979
|
layout: {
|
|
950
980
|
maxWidth: any;
|
|
951
981
|
maxWidthSm: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-manager.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-manager.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-manager.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-manager.js"],"names":[],"mappings":"AA4tSA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAlzLE;;;WAGG;;;QAgCH;;;;;;WAMG;;;;;QA8EH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAogHH;;;WAGG;;;;;;QAwrBH;;WAEG;;;;;;;;QAoFH;;;;;;WAMG;;;;;;QAsKH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA26CJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds.js"],"names":[],"mappings":"AA2nEA;;;;EAAwB;
|
|
1
|
+
{"version":3,"file":"pds.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds.js"],"names":[],"mappings":"AA2nEA;;;;EAAwB;AAmFxB,mDAiBC;AACD,4DAqCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-config.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-config.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-config.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-config.js"],"names":[],"mappings":"AAmnCA;;;;;;GAMG;AACH,kCAJW,MAAM,WACN,MAAM,WACH,GAAG,EAAA,QAchB;AApoCD;;;GAGG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoxBE"}
|
|
@@ -214,6 +214,14 @@ export class Generator {
|
|
|
214
214
|
xl: string;
|
|
215
215
|
inner: string;
|
|
216
216
|
};
|
|
217
|
+
darkShadows: {
|
|
218
|
+
sm: string;
|
|
219
|
+
base: string;
|
|
220
|
+
md: string;
|
|
221
|
+
lg: string;
|
|
222
|
+
xl: string;
|
|
223
|
+
inner: string;
|
|
224
|
+
};
|
|
217
225
|
layout: {
|
|
218
226
|
maxWidth: any;
|
|
219
227
|
maxWidthSm: any;
|
|
@@ -421,6 +429,14 @@ export class Generator {
|
|
|
421
429
|
xl: string;
|
|
422
430
|
inner: string;
|
|
423
431
|
};
|
|
432
|
+
darkShadows: {
|
|
433
|
+
sm: string;
|
|
434
|
+
base: string;
|
|
435
|
+
md: string;
|
|
436
|
+
lg: string;
|
|
437
|
+
xl: string;
|
|
438
|
+
inner: string;
|
|
439
|
+
};
|
|
424
440
|
layout: {
|
|
425
441
|
maxWidth: any;
|
|
426
442
|
maxWidthSm: any;
|
|
@@ -663,6 +679,14 @@ export class Generator {
|
|
|
663
679
|
xl: string;
|
|
664
680
|
inner: string;
|
|
665
681
|
};
|
|
682
|
+
darkShadows: {
|
|
683
|
+
sm: string;
|
|
684
|
+
base: string;
|
|
685
|
+
md: string;
|
|
686
|
+
lg: string;
|
|
687
|
+
xl: string;
|
|
688
|
+
inner: string;
|
|
689
|
+
};
|
|
666
690
|
layout: {
|
|
667
691
|
maxWidth: any;
|
|
668
692
|
maxWidthSm: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-generator.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-generator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-generator.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-generator.js"],"names":[],"mappings":"AA2nKA;;;;;;;;;GASG;AACH,8CALW,MAAM,YAEd;IAAyB,WAAW,GAA5B,MAAM;CACd,GAAU;IAAE,EAAE,EAAE,OAAO,CAAC;I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiCC;IA8eD;;;;OAIG;IACH,kDAyBC;IA0ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6DC;IA22GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEC;IAGD,oBAEC;IA8wBD,qBAEC;IACD,yBAEC;IACD,yBAEC;IACD,wBAEC;IACD,yBAMC;IAED;;;;;;OAMG;IACH,oBA6JC;IAGD,4BAEC;IACD,gCAEC;IACD,gCAEC;IACD,+BAEC;IAmBD;;;OAGG;IACH;;;;;;MAoBC;;CAkBF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-live.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-live.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-live.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-live.js"],"names":[],"mappings":"AA6JA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4QC;0BArayB,oBAAoB"}
|