@pandacss/shared 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -97,7 +97,7 @@ declare const parseJson: (config: string) => any;
|
|
|
97
97
|
* Taken from
|
|
98
98
|
* @see https://github.com/callstack/linaria/blob/049a4ccb77e29f3628353352db21bd446fa04a2e/packages/atomic/src/processors/helpers/propertyPriority.ts
|
|
99
99
|
*/
|
|
100
|
-
declare function getPropertyPriority(property: string): 1 | 2;
|
|
100
|
+
declare function getPropertyPriority(property: string): 0 | 1 | 2;
|
|
101
101
|
|
|
102
102
|
declare function splitBy(value: string, separator?: string): any[];
|
|
103
103
|
declare function splitDotPath(path: string): string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ declare const parseJson: (config: string) => any;
|
|
|
97
97
|
* Taken from
|
|
98
98
|
* @see https://github.com/callstack/linaria/blob/049a4ccb77e29f3628353352db21bd446fa04a2e/packages/atomic/src/processors/helpers/propertyPriority.ts
|
|
99
99
|
*/
|
|
100
|
-
declare function getPropertyPriority(property: string): 1 | 2;
|
|
100
|
+
declare function getPropertyPriority(property: string): 0 | 1 | 2;
|
|
101
101
|
|
|
102
102
|
declare function splitBy(value: string, separator?: string): any[];
|
|
103
103
|
declare function splitDotPath(path: string): string[];
|
package/dist/index.js
CHANGED
|
@@ -736,6 +736,8 @@ var shorthandProperties = {
|
|
|
736
736
|
};
|
|
737
737
|
var longhands = Object.values(shorthandProperties).reduce((a, b) => [...a, ...b], []);
|
|
738
738
|
function getPropertyPriority(property) {
|
|
739
|
+
if (property === "all")
|
|
740
|
+
return 0;
|
|
739
741
|
return longhands.includes(property) ? 2 : 1;
|
|
740
742
|
}
|
|
741
743
|
|
package/dist/index.mjs
CHANGED
|
@@ -649,6 +649,8 @@ var shorthandProperties = {
|
|
|
649
649
|
};
|
|
650
650
|
var longhands = Object.values(shorthandProperties).reduce((a, b) => [...a, ...b], []);
|
|
651
651
|
function getPropertyPriority(property) {
|
|
652
|
+
if (property === "all")
|
|
653
|
+
return 0;
|
|
652
654
|
return longhands.includes(property) ? 2 : 1;
|
|
653
655
|
}
|
|
654
656
|
|