@stylexjs/shared 0.17.0 → 0.17.2
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/lib/index.d.ts
CHANGED
|
@@ -18,10 +18,18 @@ import {
|
|
|
18
18
|
PSEUDO_ELEMENT_PRIORITY as _PSEUDO_ELEMENT_PRIORITY,
|
|
19
19
|
} from './utils/property-priorities';
|
|
20
20
|
export declare const getAtRulePriority: typeof _getAtRulePriority;
|
|
21
|
+
export declare type getAtRulePriority = typeof getAtRulePriority;
|
|
21
22
|
export declare const getPseudoElementPriority: typeof _getPseudoElementPriority;
|
|
23
|
+
export declare type getPseudoElementPriority = typeof getPseudoElementPriority;
|
|
22
24
|
export declare const getPseudoClassPriority: typeof _getPseudoClassPriority;
|
|
25
|
+
export declare type getPseudoClassPriority = typeof getPseudoClassPriority;
|
|
23
26
|
export declare const getDefaultPriority: typeof _getDefaultPriority;
|
|
27
|
+
export declare type getDefaultPriority = typeof getDefaultPriority;
|
|
24
28
|
export declare const getPriority: typeof _getPriority;
|
|
29
|
+
export declare type getPriority = typeof getPriority;
|
|
25
30
|
export declare const PSEUDO_CLASS_PRIORITIES: typeof _PSEUDO_CLASS_PRIORITIES;
|
|
31
|
+
export declare type PSEUDO_CLASS_PRIORITIES = typeof PSEUDO_CLASS_PRIORITIES;
|
|
26
32
|
export declare const AT_RULE_PRIORITIES: typeof _AT_RULE_PRIORITIES;
|
|
33
|
+
export declare type AT_RULE_PRIORITIES = typeof AT_RULE_PRIORITIES;
|
|
27
34
|
export declare const PSEUDO_ELEMENT_PRIORITY: typeof _PSEUDO_ELEMENT_PRIORITY;
|
|
35
|
+
export declare type PSEUDO_ELEMENT_PRIORITY = typeof PSEUDO_ELEMENT_PRIORITY;
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
export declare const PSEUDO_CLASS_PRIORITIES: Readonly<{
|
|
11
11
|
[$$Key$$: string]: number;
|
|
12
12
|
}>;
|
|
13
|
+
export declare type PSEUDO_CLASS_PRIORITIES = typeof PSEUDO_CLASS_PRIORITIES;
|
|
13
14
|
type AtRulePriorities = { '@supports': 30; '@media': 200; '@container': 300 };
|
|
14
15
|
export declare const AT_RULE_PRIORITIES: Readonly<AtRulePriorities>;
|
|
16
|
+
export declare type AT_RULE_PRIORITIES = typeof AT_RULE_PRIORITIES;
|
|
15
17
|
export declare const PSEUDO_ELEMENT_PRIORITY: number;
|
|
18
|
+
export declare type PSEUDO_ELEMENT_PRIORITY = typeof PSEUDO_ELEMENT_PRIORITY;
|
|
16
19
|
export declare function getAtRulePriority(key: string): number | void;
|
|
17
20
|
export declare function getPseudoElementPriority(key: string): number | void;
|
|
18
21
|
export declare function getPseudoClassPriority(key: string): number | void;
|