zss-engine 0.2.68 → 0.2.69
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/package.json
CHANGED
|
@@ -3,6 +3,10 @@ type JSXType = keyof HTMLElementTagNameMap | '*' | ':root';
|
|
|
3
3
|
type HTMLSelector = {
|
|
4
4
|
[K in JSXType]: CSSProperties;
|
|
5
5
|
};
|
|
6
|
+
type ClassName = `.${string}`;
|
|
7
|
+
type ClassNameSelector = {
|
|
8
|
+
[K in ClassName]: CSSProperties;
|
|
9
|
+
};
|
|
6
10
|
type Attribute = `${string}[${string}]${string}`;
|
|
7
11
|
type AttributeSelector = {
|
|
8
12
|
[K in Attribute]: CSSProperties;
|
|
@@ -29,5 +33,5 @@ type KeyframesSelector = {
|
|
|
29
33
|
type QuerySelectorHTML = {
|
|
30
34
|
[K in Query]: CSSHTML;
|
|
31
35
|
};
|
|
32
|
-
export type CSSHTML = HTMLSelector | AttributeSelector | ConsecutiveSelector | PseudoClassSelector | PseudoElementSelector | KeyframesSelector | QuerySelectorHTML;
|
|
36
|
+
export type CSSHTML = HTMLSelector | ClassNameSelector | AttributeSelector | ConsecutiveSelector | PseudoClassSelector | PseudoElementSelector | KeyframesSelector | QuerySelectorHTML;
|
|
33
37
|
export {};
|