zss-engine 0.2.68 → 0.2.70
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/cjs/utils/helper.js
CHANGED
|
@@ -8,6 +8,7 @@ exports.isDevelopment = process.env.NODE_ENV === 'development';
|
|
|
8
8
|
exports.isTestingDevelopment = process.env.NODE_ENV === 'test' || exports.isDevelopment;
|
|
9
9
|
const exception = [
|
|
10
10
|
'animation-iteration-count',
|
|
11
|
+
'aspect-ratio',
|
|
11
12
|
'column-count',
|
|
12
13
|
'columns',
|
|
13
14
|
'fill-opacity',
|
|
@@ -23,14 +24,17 @@ const exception = [
|
|
|
23
24
|
'grid-row',
|
|
24
25
|
'grid-row-end',
|
|
25
26
|
'grid-row-start',
|
|
27
|
+
'hyphenate-limit-chars',
|
|
26
28
|
'initial-letter',
|
|
27
29
|
'line-height',
|
|
30
|
+
'math-depth',
|
|
28
31
|
'opacity',
|
|
29
32
|
'order',
|
|
30
33
|
'orphans',
|
|
31
34
|
'scale',
|
|
32
35
|
'shape-image-threshold',
|
|
33
36
|
'stop-opacity',
|
|
37
|
+
'stroke-miterlimit',
|
|
34
38
|
'stroke-opacity',
|
|
35
39
|
'tab-size',
|
|
36
40
|
'widows',
|
package/dist/esm/utils/helper.js
CHANGED
|
@@ -5,6 +5,7 @@ export const isDevelopment = process.env.NODE_ENV === 'development';
|
|
|
5
5
|
export const isTestingDevelopment = process.env.NODE_ENV === 'test' || isDevelopment;
|
|
6
6
|
const exception = [
|
|
7
7
|
'animation-iteration-count',
|
|
8
|
+
'aspect-ratio',
|
|
8
9
|
'column-count',
|
|
9
10
|
'columns',
|
|
10
11
|
'fill-opacity',
|
|
@@ -20,14 +21,17 @@ const exception = [
|
|
|
20
21
|
'grid-row',
|
|
21
22
|
'grid-row-end',
|
|
22
23
|
'grid-row-start',
|
|
24
|
+
'hyphenate-limit-chars',
|
|
23
25
|
'initial-letter',
|
|
24
26
|
'line-height',
|
|
27
|
+
'math-depth',
|
|
25
28
|
'opacity',
|
|
26
29
|
'order',
|
|
27
30
|
'orphans',
|
|
28
31
|
'scale',
|
|
29
32
|
'shape-image-threshold',
|
|
30
33
|
'stop-opacity',
|
|
34
|
+
'stroke-miterlimit',
|
|
31
35
|
'stroke-opacity',
|
|
32
36
|
'tab-size',
|
|
33
37
|
'widows',
|
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 {};
|