@css-hooks/react 2.0.4 → 3.0.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/README.md +30 -33
- package/cjs/index.js +101 -95
- package/esm/index.js +94 -88
- package/package.json +10 -19
- package/tsdoc-metadata.json +11 -0
- package/types/index.d.ts +8 -12
package/README.md
CHANGED
|
@@ -27,18 +27,18 @@ experience without runtime style injection or build steps.
|
|
|
27
27
|
|
|
28
28
|
```jsx
|
|
29
29
|
<button
|
|
30
|
-
style={
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
30
|
+
style={pipe(
|
|
31
|
+
{
|
|
32
|
+
background: "#004982",
|
|
33
|
+
color: "#eeeff0",
|
|
34
|
+
},
|
|
35
|
+
on("&:hover", {
|
|
36
|
+
background: "#1b659c",
|
|
37
|
+
}),
|
|
38
|
+
on("&:active", {
|
|
39
|
+
background: "#9f3131",
|
|
40
|
+
}),
|
|
41
|
+
)}
|
|
42
42
|
>
|
|
43
43
|
Save changes
|
|
44
44
|
</button>
|
|
@@ -50,13 +50,12 @@ experience without runtime style injection or build steps.
|
|
|
50
50
|
<label>
|
|
51
51
|
<input type="checkbox" checked />
|
|
52
52
|
<span
|
|
53
|
-
style={
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
})}
|
|
53
|
+
style={pipe(
|
|
54
|
+
{},
|
|
55
|
+
on(":checked + &", {
|
|
56
|
+
textDecoration: "line-through",
|
|
57
|
+
}),
|
|
58
|
+
)}
|
|
60
59
|
>
|
|
61
60
|
Simplify CSS architecture
|
|
62
61
|
</span>
|
|
@@ -68,24 +67,22 @@ experience without runtime style injection or build steps.
|
|
|
68
67
|
```jsx
|
|
69
68
|
<>
|
|
70
69
|
<span
|
|
71
|
-
style={
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
})}
|
|
70
|
+
style={pipe(
|
|
71
|
+
{},
|
|
72
|
+
on(not("@container (width < 400px)"), {
|
|
73
|
+
display: "none",
|
|
74
|
+
}),
|
|
75
|
+
)}
|
|
78
76
|
>
|
|
79
77
|
sm
|
|
80
78
|
</span>
|
|
81
79
|
<span
|
|
82
|
-
style={
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
})}
|
|
80
|
+
style={pipe(
|
|
81
|
+
{},
|
|
82
|
+
on("@container (width < 400px)", {
|
|
83
|
+
display: "none",
|
|
84
|
+
}),
|
|
85
|
+
)}
|
|
89
86
|
>
|
|
90
87
|
lg
|
|
91
88
|
</span>
|
package/cjs/index.js
CHANGED
|
@@ -1,104 +1,110 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CSS Hooks for {@link https://react.dev | React}
|
|
4
|
+
*
|
|
5
|
+
* @packageDocumentation
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports._unitlessNumbers = exports.createHooks = exports._stringifyValue = void 0;
|
|
9
|
+
const core_1 = require("@css-hooks/core");
|
|
6
10
|
// See https://github.com/facebook/react/blob/main/packages/react-dom-bindings/src/client/CSSPropertyOperations.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
/** @internal */
|
|
12
|
+
function _stringifyValue(value, propertyName) {
|
|
13
|
+
switch (typeof value) {
|
|
14
|
+
case "string":
|
|
15
|
+
return value;
|
|
16
|
+
case "number":
|
|
17
|
+
return `${value}${isUnitlessNumber(propertyName) ? "" : "px"}`;
|
|
18
|
+
default:
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
16
21
|
}
|
|
17
|
-
exports._stringifyValue = _stringifyValue
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
exports._stringifyValue = _stringifyValue;
|
|
23
|
+
/**
|
|
24
|
+
* A {@link @css-hooks/core#CreateHooksFn} configured to use React's
|
|
25
|
+
* `CSSProperties` type and logic for converting CSS values into strings.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
exports.createHooks = (0, core_1.buildHooksSystem)(_stringifyValue);
|
|
22
30
|
/**
|
|
23
31
|
* Following code (c) Meta Platforms, Inc. and affiliates.
|
|
24
32
|
* Source modified to account for custom properties.
|
|
25
33
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
34
|
+
/** @internal */
|
|
35
|
+
exports._unitlessNumbers = new Set([
|
|
36
|
+
"animationIterationCount",
|
|
37
|
+
"aspectRatio",
|
|
38
|
+
"borderImageOutset",
|
|
39
|
+
"borderImageSlice",
|
|
40
|
+
"borderImageWidth",
|
|
41
|
+
"boxFlex",
|
|
42
|
+
"boxFlexGroup",
|
|
43
|
+
"boxOrdinalGroup",
|
|
44
|
+
"columnCount",
|
|
45
|
+
"columns",
|
|
46
|
+
"flex",
|
|
47
|
+
"flexGrow",
|
|
48
|
+
"flexPositive",
|
|
49
|
+
"flexShrink",
|
|
50
|
+
"flexNegative",
|
|
51
|
+
"flexOrder",
|
|
52
|
+
"gridArea",
|
|
53
|
+
"gridRow",
|
|
54
|
+
"gridRowEnd",
|
|
55
|
+
"gridRowSpan",
|
|
56
|
+
"gridRowStart",
|
|
57
|
+
"gridColumn",
|
|
58
|
+
"gridColumnEnd",
|
|
59
|
+
"gridColumnSpan",
|
|
60
|
+
"gridColumnStart",
|
|
61
|
+
"fontWeight",
|
|
62
|
+
"lineClamp",
|
|
63
|
+
"lineHeight",
|
|
64
|
+
"opacity",
|
|
65
|
+
"order",
|
|
66
|
+
"orphans",
|
|
67
|
+
"scale",
|
|
68
|
+
"tabSize",
|
|
69
|
+
"widows",
|
|
70
|
+
"zIndex",
|
|
71
|
+
"zoom",
|
|
72
|
+
"fillOpacity", // SVG-related properties
|
|
73
|
+
"floodOpacity",
|
|
74
|
+
"stopOpacity",
|
|
75
|
+
"strokeDasharray",
|
|
76
|
+
"strokeDashoffset",
|
|
77
|
+
"strokeMiterlimit",
|
|
78
|
+
"strokeOpacity",
|
|
79
|
+
"strokeWidth",
|
|
80
|
+
"MozAnimationIterationCount", // Known Prefixed Properties
|
|
81
|
+
"MozBoxFlex", // TODO: Remove these since they shouldn't be used in modern code
|
|
82
|
+
"MozBoxFlexGroup",
|
|
83
|
+
"MozLineClamp",
|
|
84
|
+
"msAnimationIterationCount",
|
|
85
|
+
"msFlex",
|
|
86
|
+
"msZoom",
|
|
87
|
+
"msFlexGrow",
|
|
88
|
+
"msFlexNegative",
|
|
89
|
+
"msFlexOrder",
|
|
90
|
+
"msFlexPositive",
|
|
91
|
+
"msFlexShrink",
|
|
92
|
+
"msGridColumn",
|
|
93
|
+
"msGridColumnSpan",
|
|
94
|
+
"msGridRow",
|
|
95
|
+
"msGridRowSpan",
|
|
96
|
+
"WebkitAnimationIterationCount",
|
|
97
|
+
"WebkitBoxFlex",
|
|
98
|
+
"WebKitBoxFlexGroup",
|
|
99
|
+
"WebkitBoxOrdinalGroup",
|
|
100
|
+
"WebkitColumnCount",
|
|
101
|
+
"WebkitColumns",
|
|
102
|
+
"WebkitFlex",
|
|
103
|
+
"WebkitFlexGrow",
|
|
104
|
+
"WebkitFlexPositive",
|
|
105
|
+
"WebkitFlexShrink",
|
|
106
|
+
"WebkitLineClamp",
|
|
99
107
|
]);
|
|
100
|
-
exports._unitlessNumbers = _unitlessNumbers;
|
|
101
|
-
|
|
102
108
|
function isUnitlessNumber(name) {
|
|
103
|
-
|
|
109
|
+
return /^--/.test(name) || exports._unitlessNumbers.has(name);
|
|
104
110
|
}
|
package/esm/index.js
CHANGED
|
@@ -1,100 +1,106 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* CSS Hooks for {@link https://react.dev | React}
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
3
6
|
import { buildHooksSystem } from "@css-hooks/core";
|
|
4
|
-
|
|
5
7
|
// See https://github.com/facebook/react/blob/main/packages/react-dom-bindings/src/client/CSSPropertyOperations.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
/** @internal */
|
|
9
|
+
export function _stringifyValue(value, propertyName) {
|
|
10
|
+
switch (typeof value) {
|
|
11
|
+
case "string":
|
|
12
|
+
return value;
|
|
13
|
+
case "number":
|
|
14
|
+
return `${value}${isUnitlessNumber(propertyName) ? "" : "px"}`;
|
|
15
|
+
default:
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
|
-
|
|
19
|
+
/**
|
|
20
|
+
* A {@link @css-hooks/core#CreateHooksFn} configured to use React's
|
|
21
|
+
* `CSSProperties` type and logic for converting CSS values into strings.
|
|
22
|
+
*
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
17
25
|
export const createHooks = buildHooksSystem(_stringifyValue);
|
|
18
|
-
|
|
19
26
|
/**
|
|
20
27
|
* Following code (c) Meta Platforms, Inc. and affiliates.
|
|
21
28
|
* Source modified to account for custom properties.
|
|
22
29
|
*/
|
|
23
|
-
|
|
30
|
+
/** @internal */
|
|
24
31
|
export const _unitlessNumbers = new Set([
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
32
|
+
"animationIterationCount",
|
|
33
|
+
"aspectRatio",
|
|
34
|
+
"borderImageOutset",
|
|
35
|
+
"borderImageSlice",
|
|
36
|
+
"borderImageWidth",
|
|
37
|
+
"boxFlex",
|
|
38
|
+
"boxFlexGroup",
|
|
39
|
+
"boxOrdinalGroup",
|
|
40
|
+
"columnCount",
|
|
41
|
+
"columns",
|
|
42
|
+
"flex",
|
|
43
|
+
"flexGrow",
|
|
44
|
+
"flexPositive",
|
|
45
|
+
"flexShrink",
|
|
46
|
+
"flexNegative",
|
|
47
|
+
"flexOrder",
|
|
48
|
+
"gridArea",
|
|
49
|
+
"gridRow",
|
|
50
|
+
"gridRowEnd",
|
|
51
|
+
"gridRowSpan",
|
|
52
|
+
"gridRowStart",
|
|
53
|
+
"gridColumn",
|
|
54
|
+
"gridColumnEnd",
|
|
55
|
+
"gridColumnSpan",
|
|
56
|
+
"gridColumnStart",
|
|
57
|
+
"fontWeight",
|
|
58
|
+
"lineClamp",
|
|
59
|
+
"lineHeight",
|
|
60
|
+
"opacity",
|
|
61
|
+
"order",
|
|
62
|
+
"orphans",
|
|
63
|
+
"scale",
|
|
64
|
+
"tabSize",
|
|
65
|
+
"widows",
|
|
66
|
+
"zIndex",
|
|
67
|
+
"zoom",
|
|
68
|
+
"fillOpacity", // SVG-related properties
|
|
69
|
+
"floodOpacity",
|
|
70
|
+
"stopOpacity",
|
|
71
|
+
"strokeDasharray",
|
|
72
|
+
"strokeDashoffset",
|
|
73
|
+
"strokeMiterlimit",
|
|
74
|
+
"strokeOpacity",
|
|
75
|
+
"strokeWidth",
|
|
76
|
+
"MozAnimationIterationCount", // Known Prefixed Properties
|
|
77
|
+
"MozBoxFlex", // TODO: Remove these since they shouldn't be used in modern code
|
|
78
|
+
"MozBoxFlexGroup",
|
|
79
|
+
"MozLineClamp",
|
|
80
|
+
"msAnimationIterationCount",
|
|
81
|
+
"msFlex",
|
|
82
|
+
"msZoom",
|
|
83
|
+
"msFlexGrow",
|
|
84
|
+
"msFlexNegative",
|
|
85
|
+
"msFlexOrder",
|
|
86
|
+
"msFlexPositive",
|
|
87
|
+
"msFlexShrink",
|
|
88
|
+
"msGridColumn",
|
|
89
|
+
"msGridColumnSpan",
|
|
90
|
+
"msGridRow",
|
|
91
|
+
"msGridRowSpan",
|
|
92
|
+
"WebkitAnimationIterationCount",
|
|
93
|
+
"WebkitBoxFlex",
|
|
94
|
+
"WebKitBoxFlexGroup",
|
|
95
|
+
"WebkitBoxOrdinalGroup",
|
|
96
|
+
"WebkitColumnCount",
|
|
97
|
+
"WebkitColumns",
|
|
98
|
+
"WebkitFlex",
|
|
99
|
+
"WebkitFlexGrow",
|
|
100
|
+
"WebkitFlexPositive",
|
|
101
|
+
"WebkitFlexShrink",
|
|
102
|
+
"WebkitLineClamp",
|
|
96
103
|
]);
|
|
97
|
-
|
|
98
104
|
function isUnitlessNumber(name) {
|
|
99
|
-
|
|
105
|
+
return /^--/.test(name) || _unitlessNumbers.has(name);
|
|
100
106
|
}
|
package/package.json
CHANGED
|
@@ -1,37 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@css-hooks/react",
|
|
3
3
|
"description": "CSS Hooks for React",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"author": "Nick Saunders",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@css-hooks/core": "
|
|
7
|
+
"@css-hooks/core": "3.0.0"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@microsoft/api-extractor": "^7.39.4",
|
|
11
|
-
"@tsconfig/strictest": "^2.0.1",
|
|
12
11
|
"@types/node": "^20.12.7",
|
|
13
12
|
"@types/react": "^18.2.20",
|
|
14
13
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
15
|
-
"@typescript-eslint/parser": "^7.0.0",
|
|
16
|
-
"ascjs": "^6.0.3",
|
|
17
|
-
"eslint": "^8.50.0",
|
|
18
|
-
"eslint-plugin-compat": "^4.2.0",
|
|
19
14
|
"rimraf": "^5.0.1",
|
|
20
|
-
"
|
|
21
|
-
"typescript": "
|
|
15
|
+
"tsx": "^4.19.1",
|
|
16
|
+
"typescript": "=5.4.2"
|
|
22
17
|
},
|
|
23
18
|
"files": [
|
|
24
19
|
"cjs",
|
|
25
20
|
"esm",
|
|
26
21
|
"types",
|
|
27
|
-
"tsdoc-metadata.json"
|
|
22
|
+
"tsdoc-metadata.json",
|
|
23
|
+
"!**/*.test.*"
|
|
28
24
|
],
|
|
29
25
|
"license": "MIT",
|
|
30
26
|
"main": "cjs",
|
|
31
27
|
"module": "esm",
|
|
32
28
|
"type": "module",
|
|
33
29
|
"peerDependencies": {
|
|
34
|
-
"@types/react": ">=16 <
|
|
30
|
+
"@types/react": ">=16 <20"
|
|
35
31
|
},
|
|
36
32
|
"peerDependenciesMeta": {
|
|
37
33
|
"@types/react": {
|
|
@@ -47,19 +43,14 @@
|
|
|
47
43
|
"types": "types",
|
|
48
44
|
"exports": {
|
|
49
45
|
".": {
|
|
46
|
+
"@css-hooks/source": "./src/index.ts",
|
|
50
47
|
"import": "./esm/index.js",
|
|
51
48
|
"require": "./cjs/index.js",
|
|
52
49
|
"types": "./types/index.d.ts"
|
|
53
50
|
}
|
|
54
51
|
},
|
|
55
|
-
"browserslist": [
|
|
56
|
-
"supports css-variables"
|
|
57
|
-
],
|
|
58
52
|
"scripts": {
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"lint": "eslint src .*.*js *.*js",
|
|
62
|
-
"test": "tsc && node --test",
|
|
63
|
-
"test.watch": "tsc-watch --onSuccess 'node --test'"
|
|
53
|
+
"clean": "rimraf cjs esm types",
|
|
54
|
+
"test": "node --import tsx --conditions @css-hooks/source --test src/index.test.ts"
|
|
64
55
|
}
|
|
65
56
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.43.1"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -3,23 +3,19 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
import type { CSSProperties } from "react";
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare function _stringifyValue(value: unknown, propertyName: string): string | null;
|
|
10
9
|
/**
|
|
11
10
|
* A {@link @css-hooks/core#CreateHooksFn} configured to use React's
|
|
12
11
|
* `CSSProperties` type and logic for converting CSS values into strings.
|
|
13
12
|
*
|
|
14
13
|
* @public
|
|
15
14
|
*/
|
|
16
|
-
export const createHooks: CreateHooksFn<CSSProperties>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
value: unknown,
|
|
22
|
-
): string | null;
|
|
23
|
-
|
|
15
|
+
export declare const createHooks: import("@css-hooks/core").CreateHooksFn<CSSProperties>;
|
|
16
|
+
/**
|
|
17
|
+
* Following code (c) Meta Platforms, Inc. and affiliates.
|
|
18
|
+
* Source modified to account for custom properties.
|
|
19
|
+
*/
|
|
24
20
|
/** @internal */
|
|
25
|
-
export const _unitlessNumbers: Set<string>;
|
|
21
|
+
export declare const _unitlessNumbers: Set<string>;
|