@tamagui/helpers 2.7.7 → 3.0.0-beta.637.1
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/clamp.cjs +16 -19
- package/dist/cjs/clamp.native.cjs +30 -0
- package/dist/cjs/clamp.native.js +17 -19
- package/dist/cjs/clamp.native.js.map +1 -1
- package/dist/cjs/composeEventHandlers.cjs +26 -32
- package/dist/cjs/composeEventHandlers.native.cjs +43 -0
- package/dist/cjs/composeEventHandlers.native.js +28 -34
- package/dist/cjs/composeEventHandlers.native.js.map +1 -1
- package/dist/cjs/index.cjs +13 -11
- package/dist/cjs/index.native.cjs +31 -0
- package/dist/cjs/index.native.js +13 -10
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/reservedThemeProps.cjs +43 -0
- package/dist/cjs/reservedThemeProps.native.cjs +45 -0
- package/dist/cjs/reservedThemeProps.native.js +47 -0
- package/dist/cjs/reservedThemeProps.native.js.map +1 -0
- package/dist/cjs/shouldRenderNativePlatform.cjs +38 -37
- package/dist/cjs/shouldRenderNativePlatform.native.cjs +71 -0
- package/dist/cjs/shouldRenderNativePlatform.native.js +55 -59
- package/dist/cjs/shouldRenderNativePlatform.native.js.map +1 -1
- package/dist/cjs/themeClassNames.cjs +39 -0
- package/dist/cjs/themeClassNames.native.cjs +42 -0
- package/dist/cjs/themeClassNames.native.js +44 -0
- package/dist/cjs/themeClassNames.native.js.map +1 -0
- package/dist/cjs/tokenCategories.cjs +79 -0
- package/dist/cjs/tokenCategories.native.cjs +80 -0
- package/dist/cjs/tokenCategories.native.js +82 -0
- package/dist/cjs/tokenCategories.native.js.map +1 -0
- package/dist/cjs/types.cjs +19 -20
- package/dist/cjs/types.native.cjs +37 -0
- package/dist/cjs/types.native.js +19 -19
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/validStyleProps.cjs +240 -297
- package/dist/cjs/validStyleProps.native.cjs +277 -0
- package/dist/cjs/validStyleProps.native.js +236 -290
- package/dist/cjs/validStyleProps.native.js.map +1 -1
- package/dist/cjs/webOnlyStyleProps.cjs +85 -86
- package/dist/cjs/webOnlyStyleProps.native.cjs +106 -0
- package/dist/cjs/webOnlyStyleProps.native.js +85 -85
- package/dist/cjs/webOnlyStyleProps.native.js.map +1 -1
- package/dist/cjs/withStaticProperties.cjs +25 -30
- package/dist/cjs/withStaticProperties.native.cjs +38 -0
- package/dist/cjs/withStaticProperties.native.js +26 -30
- package/dist/cjs/withStaticProperties.native.js.map +1 -1
- package/dist/esm/clamp.mjs +2 -1
- package/dist/esm/clamp.mjs.map +1 -1
- package/dist/esm/clamp.native.js +3 -2
- package/dist/esm/clamp.native.js.map +1 -1
- package/dist/esm/composeEventHandlers.mjs +12 -14
- package/dist/esm/composeEventHandlers.mjs.map +1 -1
- package/dist/esm/composeEventHandlers.native.js +14 -17
- package/dist/esm/composeEventHandlers.native.js.map +1 -1
- package/dist/esm/index.js +21 -9
- package/dist/esm/index.mjs +21 -9
- package/dist/esm/index.native.js +21 -9
- package/dist/esm/reservedThemeProps.mjs +22 -0
- package/dist/esm/reservedThemeProps.mjs.map +1 -0
- package/dist/esm/reservedThemeProps.native.js +22 -0
- package/dist/esm/reservedThemeProps.native.js.map +1 -0
- package/dist/esm/shouldRenderNativePlatform.mjs +25 -19
- package/dist/esm/shouldRenderNativePlatform.mjs.map +1 -1
- package/dist/esm/shouldRenderNativePlatform.native.js +42 -42
- package/dist/esm/shouldRenderNativePlatform.native.js.map +1 -1
- package/dist/esm/themeClassNames.mjs +18 -0
- package/dist/esm/themeClassNames.mjs.map +1 -0
- package/dist/esm/themeClassNames.native.js +19 -0
- package/dist/esm/themeClassNames.native.js.map +1 -0
- package/dist/esm/tokenCategories.mjs +58 -0
- package/dist/esm/tokenCategories.mjs.map +1 -0
- package/dist/esm/tokenCategories.native.js +57 -0
- package/dist/esm/tokenCategories.native.js.map +1 -0
- package/dist/esm/types.mjs +1 -0
- package/dist/esm/types.mjs.map +1 -1
- package/dist/esm/types.native.js +1 -0
- package/dist/esm/types.native.js.map +1 -1
- package/dist/esm/validStyleProps.mjs +218 -272
- package/dist/esm/validStyleProps.mjs.map +1 -1
- package/dist/esm/validStyleProps.native.js +214 -266
- package/dist/esm/validStyleProps.native.js.map +1 -1
- package/dist/esm/webOnlyStyleProps.mjs +68 -67
- package/dist/esm/webOnlyStyleProps.mjs.map +1 -1
- package/dist/esm/webOnlyStyleProps.native.js +68 -67
- package/dist/esm/webOnlyStyleProps.native.js.map +1 -1
- package/dist/esm/withStaticProperties.mjs +11 -12
- package/dist/esm/withStaticProperties.mjs.map +1 -1
- package/dist/esm/withStaticProperties.native.js +12 -13
- package/dist/esm/withStaticProperties.native.js.map +1 -1
- package/package.json +13 -4
- package/src/composeEventHandlers.ts +6 -10
- package/src/index.ts +3 -0
- package/src/reservedThemeProps.ts +29 -0
- package/src/themeClassNames.ts +28 -0
- package/src/tokenCategories.ts +67 -0
- package/src/validStyleProps.ts +37 -79
- package/src/webOnlyStyleProps.ts +6 -3
- package/types/composeEventHandlers.d.ts.map +1 -1
- package/types/index.d.ts +3 -0
- package/types/index.d.ts.map +1 -1
- package/types/reservedThemeProps.d.ts +12 -0
- package/types/reservedThemeProps.d.ts.map +1 -0
- package/types/themeClassNames.d.ts +11 -0
- package/types/themeClassNames.d.ts.map +1 -0
- package/types/tokenCategories.d.ts +58 -0
- package/types/tokenCategories.d.ts.map +1 -0
- package/types/validStyleProps.d.ts +535 -560
- package/types/validStyleProps.d.ts.map +1 -1
- package/types/webOnlyStyleProps.d.ts +31 -29
- package/types/webOnlyStyleProps.d.ts.map +1 -1
- package/types/withStaticProperties.d.ts.map +1 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
|
@@ -1,105 +1,104 @@
|
|
|
1
|
+
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
for (var name in all) __defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
10
11
|
};
|
|
11
12
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
19
20
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
21
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
22
|
var webOnlyStyleProps_exports = {};
|
|
24
23
|
__export(webOnlyStyleProps_exports, {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
|
|
25
|
+
nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
|
|
26
|
+
webOnlyStylePropsText: () => webOnlyStylePropsText,
|
|
27
|
+
webOnlyStylePropsView: () => webOnlyStylePropsView
|
|
29
28
|
});
|
|
30
29
|
module.exports = __toCommonJS(webOnlyStyleProps_exports);
|
|
31
30
|
const nonAnimatableWebViewProps = {
|
|
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
|
-
willChange: true
|
|
31
|
+
backgroundAttachment: true,
|
|
32
|
+
backgroundBlendMode: true,
|
|
33
|
+
backgroundClip: true,
|
|
34
|
+
backgroundOrigin: true,
|
|
35
|
+
backgroundRepeat: true,
|
|
36
|
+
borderBottomStyle: true,
|
|
37
|
+
borderLeftStyle: true,
|
|
38
|
+
borderRightStyle: true,
|
|
39
|
+
borderTopStyle: true,
|
|
40
|
+
contain: true,
|
|
41
|
+
containerType: true,
|
|
42
|
+
containerName: true,
|
|
43
|
+
content: true,
|
|
44
|
+
float: true,
|
|
45
|
+
maskBorderMode: true,
|
|
46
|
+
maskBorderRepeat: true,
|
|
47
|
+
maskClip: true,
|
|
48
|
+
maskComposite: true,
|
|
49
|
+
maskMode: true,
|
|
50
|
+
maskOrigin: true,
|
|
51
|
+
maskRepeat: true,
|
|
52
|
+
maskType: true,
|
|
53
|
+
objectFit: true,
|
|
54
|
+
overflowBlock: true,
|
|
55
|
+
overflowInline: true,
|
|
56
|
+
overflowX: true,
|
|
57
|
+
overflowY: true,
|
|
58
|
+
scrollbarWidth: true,
|
|
59
|
+
textWrap: true,
|
|
60
|
+
touchAction: true,
|
|
61
|
+
transformStyle: true,
|
|
62
|
+
willChange: true
|
|
65
63
|
};
|
|
66
64
|
const nonAnimatableWebTextProps = {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
whiteSpace: true,
|
|
66
|
+
wordWrap: true,
|
|
67
|
+
textOverflow: true,
|
|
68
|
+
WebkitBoxOrient: true
|
|
71
69
|
};
|
|
72
70
|
const webOnlyStylePropsView = {
|
|
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
|
-
|
|
71
|
+
...nonAnimatableWebViewProps,
|
|
72
|
+
transition: true,
|
|
73
|
+
backdropFilter: true,
|
|
74
|
+
WebkitBackdropFilter: true,
|
|
75
|
+
borderTop: true,
|
|
76
|
+
borderRight: true,
|
|
77
|
+
borderBottom: true,
|
|
78
|
+
borderLeft: true,
|
|
79
|
+
backgroundPosition: true,
|
|
80
|
+
backgroundSize: true,
|
|
81
|
+
borderImage: true,
|
|
82
|
+
caretColor: true,
|
|
83
|
+
clipPath: true,
|
|
84
|
+
mask: true,
|
|
85
|
+
maskBorder: true,
|
|
86
|
+
maskBorderOutset: true,
|
|
87
|
+
maskBorderSlice: true,
|
|
88
|
+
maskBorderSource: true,
|
|
89
|
+
maskBorderWidth: true,
|
|
90
|
+
maskImage: true,
|
|
91
|
+
maskPosition: true,
|
|
92
|
+
maskSize: true,
|
|
93
|
+
objectPosition: true,
|
|
94
|
+
textEmphasis: true,
|
|
95
|
+
userSelect: true,
|
|
96
|
+
overflowWrap: true,
|
|
97
|
+
wordWrap: true,
|
|
98
|
+
resize: true
|
|
99
99
|
};
|
|
100
100
|
const webOnlyStylePropsText = {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
};
|
|
101
|
+
...nonAnimatableWebTextProps,
|
|
102
|
+
textDecorationDistance: true,
|
|
103
|
+
WebkitLineClamp: true
|
|
104
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var webOnlyStyleProps_exports = {};
|
|
25
|
+
__export(webOnlyStyleProps_exports, {
|
|
26
|
+
nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
|
|
27
|
+
nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
|
|
28
|
+
webOnlyStylePropsText: () => webOnlyStylePropsText,
|
|
29
|
+
webOnlyStylePropsView: () => webOnlyStylePropsView
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(webOnlyStyleProps_exports);
|
|
32
|
+
var nonAnimatableWebViewProps = {
|
|
33
|
+
backgroundAttachment: true,
|
|
34
|
+
backgroundBlendMode: true,
|
|
35
|
+
backgroundClip: true,
|
|
36
|
+
backgroundOrigin: true,
|
|
37
|
+
backgroundRepeat: true,
|
|
38
|
+
borderBottomStyle: true,
|
|
39
|
+
borderLeftStyle: true,
|
|
40
|
+
borderRightStyle: true,
|
|
41
|
+
borderTopStyle: true,
|
|
42
|
+
contain: true,
|
|
43
|
+
containerType: true,
|
|
44
|
+
containerName: true,
|
|
45
|
+
content: true,
|
|
46
|
+
float: true,
|
|
47
|
+
maskBorderMode: true,
|
|
48
|
+
maskBorderRepeat: true,
|
|
49
|
+
maskClip: true,
|
|
50
|
+
maskComposite: true,
|
|
51
|
+
maskMode: true,
|
|
52
|
+
maskOrigin: true,
|
|
53
|
+
maskRepeat: true,
|
|
54
|
+
maskType: true,
|
|
55
|
+
objectFit: true,
|
|
56
|
+
overflowBlock: true,
|
|
57
|
+
overflowInline: true,
|
|
58
|
+
overflowX: true,
|
|
59
|
+
overflowY: true,
|
|
60
|
+
scrollbarWidth: true,
|
|
61
|
+
textWrap: true,
|
|
62
|
+
touchAction: true,
|
|
63
|
+
transformStyle: true,
|
|
64
|
+
willChange: true
|
|
65
|
+
};
|
|
66
|
+
var nonAnimatableWebTextProps = {
|
|
67
|
+
whiteSpace: true,
|
|
68
|
+
wordWrap: true,
|
|
69
|
+
textOverflow: true,
|
|
70
|
+
WebkitBoxOrient: true
|
|
71
|
+
};
|
|
72
|
+
var webOnlyStylePropsView = {
|
|
73
|
+
...nonAnimatableWebViewProps,
|
|
74
|
+
transition: true,
|
|
75
|
+
backdropFilter: true,
|
|
76
|
+
WebkitBackdropFilter: true,
|
|
77
|
+
borderTop: true,
|
|
78
|
+
borderRight: true,
|
|
79
|
+
borderBottom: true,
|
|
80
|
+
borderLeft: true,
|
|
81
|
+
backgroundPosition: true,
|
|
82
|
+
backgroundSize: true,
|
|
83
|
+
borderImage: true,
|
|
84
|
+
caretColor: true,
|
|
85
|
+
clipPath: true,
|
|
86
|
+
mask: true,
|
|
87
|
+
maskBorder: true,
|
|
88
|
+
maskBorderOutset: true,
|
|
89
|
+
maskBorderSlice: true,
|
|
90
|
+
maskBorderSource: true,
|
|
91
|
+
maskBorderWidth: true,
|
|
92
|
+
maskImage: true,
|
|
93
|
+
maskPosition: true,
|
|
94
|
+
maskSize: true,
|
|
95
|
+
objectPosition: true,
|
|
96
|
+
textEmphasis: true,
|
|
97
|
+
userSelect: true,
|
|
98
|
+
overflowWrap: true,
|
|
99
|
+
wordWrap: true,
|
|
100
|
+
resize: true
|
|
101
|
+
};
|
|
102
|
+
var webOnlyStylePropsText = {
|
|
103
|
+
...nonAnimatableWebTextProps,
|
|
104
|
+
textDecorationDistance: true,
|
|
105
|
+
WebkitLineClamp: true
|
|
106
|
+
};
|
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
12
13
|
};
|
|
13
14
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
21
22
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
24
|
var webOnlyStyleProps_exports = {};
|
|
26
25
|
__export(webOnlyStyleProps_exports, {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
|
|
27
|
+
nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
|
|
28
|
+
webOnlyStylePropsText: () => webOnlyStylePropsText,
|
|
29
|
+
webOnlyStylePropsView: () => webOnlyStylePropsView
|
|
31
30
|
});
|
|
32
31
|
module.exports = __toCommonJS(webOnlyStyleProps_exports);
|
|
33
32
|
var nonAnimatableWebViewProps = {
|
|
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
|
-
willChange: true
|
|
33
|
+
backgroundAttachment: true,
|
|
34
|
+
backgroundBlendMode: true,
|
|
35
|
+
backgroundClip: true,
|
|
36
|
+
backgroundOrigin: true,
|
|
37
|
+
backgroundRepeat: true,
|
|
38
|
+
borderBottomStyle: true,
|
|
39
|
+
borderLeftStyle: true,
|
|
40
|
+
borderRightStyle: true,
|
|
41
|
+
borderTopStyle: true,
|
|
42
|
+
contain: true,
|
|
43
|
+
containerType: true,
|
|
44
|
+
containerName: true,
|
|
45
|
+
content: true,
|
|
46
|
+
float: true,
|
|
47
|
+
maskBorderMode: true,
|
|
48
|
+
maskBorderRepeat: true,
|
|
49
|
+
maskClip: true,
|
|
50
|
+
maskComposite: true,
|
|
51
|
+
maskMode: true,
|
|
52
|
+
maskOrigin: true,
|
|
53
|
+
maskRepeat: true,
|
|
54
|
+
maskType: true,
|
|
55
|
+
objectFit: true,
|
|
56
|
+
overflowBlock: true,
|
|
57
|
+
overflowInline: true,
|
|
58
|
+
overflowX: true,
|
|
59
|
+
overflowY: true,
|
|
60
|
+
scrollbarWidth: true,
|
|
61
|
+
textWrap: true,
|
|
62
|
+
touchAction: true,
|
|
63
|
+
transformStyle: true,
|
|
64
|
+
willChange: true
|
|
67
65
|
};
|
|
68
66
|
var nonAnimatableWebTextProps = {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
whiteSpace: true,
|
|
68
|
+
wordWrap: true,
|
|
69
|
+
textOverflow: true,
|
|
70
|
+
WebkitBoxOrient: true
|
|
73
71
|
};
|
|
74
72
|
var webOnlyStylePropsView = {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
73
|
+
...nonAnimatableWebViewProps,
|
|
74
|
+
transition: true,
|
|
75
|
+
backdropFilter: true,
|
|
76
|
+
WebkitBackdropFilter: true,
|
|
77
|
+
borderTop: true,
|
|
78
|
+
borderRight: true,
|
|
79
|
+
borderBottom: true,
|
|
80
|
+
borderLeft: true,
|
|
81
|
+
backgroundPosition: true,
|
|
82
|
+
backgroundSize: true,
|
|
83
|
+
borderImage: true,
|
|
84
|
+
caretColor: true,
|
|
85
|
+
clipPath: true,
|
|
86
|
+
mask: true,
|
|
87
|
+
maskBorder: true,
|
|
88
|
+
maskBorderOutset: true,
|
|
89
|
+
maskBorderSlice: true,
|
|
90
|
+
maskBorderSource: true,
|
|
91
|
+
maskBorderWidth: true,
|
|
92
|
+
maskImage: true,
|
|
93
|
+
maskPosition: true,
|
|
94
|
+
maskSize: true,
|
|
95
|
+
objectPosition: true,
|
|
96
|
+
textEmphasis: true,
|
|
97
|
+
userSelect: true,
|
|
98
|
+
overflowWrap: true,
|
|
99
|
+
wordWrap: true,
|
|
100
|
+
resize: true
|
|
101
101
|
};
|
|
102
102
|
var webOnlyStylePropsText = {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
WebkitLineClamp: true
|
|
103
|
+
...nonAnimatableWebTextProps,
|
|
104
|
+
textDecorationDistance: true,
|
|
105
|
+
WebkitLineClamp: true
|
|
107
106
|
};
|
|
107
|
+
|
|
108
108
|
//# sourceMappingURL=webOnlyStyleProps.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"webOnlyStyleProps.native.js","names":[],"sources":["cjs/webOnlyStyleProps.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar webOnlyStyleProps_exports = {};\n__export(webOnlyStyleProps_exports, {\n nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,\n nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,\n webOnlyStylePropsText: () => webOnlyStylePropsText,\n webOnlyStylePropsView: () => webOnlyStylePropsView\n});\nmodule.exports = __toCommonJS(webOnlyStyleProps_exports);\nvar nonAnimatableWebViewProps = {\n backgroundAttachment: true,\n backgroundBlendMode: true,\n backgroundClip: true,\n backgroundOrigin: true,\n backgroundRepeat: true,\n borderBottomStyle: true,\n borderLeftStyle: true,\n borderRightStyle: true,\n borderTopStyle: true,\n contain: true,\n containerType: true,\n containerName: true,\n content: true,\n float: true,\n maskBorderMode: true,\n maskBorderRepeat: true,\n maskClip: true,\n maskComposite: true,\n maskMode: true,\n maskOrigin: true,\n maskRepeat: true,\n maskType: true,\n objectFit: true,\n overflowBlock: true,\n overflowInline: true,\n overflowX: true,\n overflowY: true,\n scrollbarWidth: true,\n textWrap: true,\n touchAction: true,\n transformStyle: true,\n willChange: true\n};\nvar nonAnimatableWebTextProps = {\n whiteSpace: true,\n wordWrap: true,\n textOverflow: true,\n WebkitBoxOrient: true\n};\nvar webOnlyStylePropsView = {\n ...nonAnimatableWebViewProps,\n transition: true,\n backdropFilter: true,\n WebkitBackdropFilter: true,\n borderTop: true,\n borderRight: true,\n borderBottom: true,\n borderLeft: true,\n backgroundPosition: true,\n backgroundSize: true,\n borderImage: true,\n caretColor: true,\n clipPath: true,\n mask: true,\n maskBorder: true,\n maskBorderOutset: true,\n maskBorderSlice: true,\n maskBorderSource: true,\n maskBorderWidth: true,\n maskImage: true,\n maskPosition: true,\n maskSize: true,\n objectPosition: true,\n textEmphasis: true,\n userSelect: true,\n // real style keys, not DOM attributes: without these an authored value falls\n // through to viewProps and reaches the element as an unknown attribute\n overflowWrap: true,\n wordWrap: true,\n resize: true\n};\nvar webOnlyStylePropsText = {\n ...nonAnimatableWebTextProps,\n textDecorationDistance: true,\n // cursor: now cross-platform - in stylePropsView\n WebkitLineClamp: true\n};\n//# sourceMappingURL=webOnlyStyleProps.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,4BAA4B,CAAC;AACjC,SAAS,2BAA2B;CAClC,iCAAiC;CACjC,iCAAiC;CACjC,6BAA6B;CAC7B,6BAA6B;AAC/B,CAAC;AACD,OAAO,UAAU,aAAa,yBAAyB;AACvD,IAAI,4BAA4B;CAC9B,sBAAsB;CACtB,qBAAqB;CACrB,gBAAgB;CAChB,kBAAkB;CAClB,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,kBAAkB;CAClB,gBAAgB;CAChB,SAAS;CACT,eAAe;CACf,eAAe;CACf,SAAS;CACT,OAAO;CACP,gBAAgB;CAChB,kBAAkB;CAClB,UAAU;CACV,eAAe;CACf,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,UAAU;CACV,WAAW;CACX,eAAe;CACf,gBAAgB;CAChB,WAAW;CACX,WAAW;CACX,gBAAgB;CAChB,UAAU;CACV,aAAa;CACb,gBAAgB;CAChB,YAAY;AACd;AACA,IAAI,4BAA4B;CAC9B,YAAY;CACZ,UAAU;CACV,cAAc;CACd,iBAAiB;AACnB;AACA,IAAI,wBAAwB;CAC1B,GAAG;CACH,YAAY;CACZ,gBAAgB;CAChB,sBAAsB;CACtB,WAAW;CACX,aAAa;CACb,cAAc;CACd,YAAY;CACZ,oBAAoB;CACpB,gBAAgB;CAChB,aAAa;CACb,YAAY;CACZ,UAAU;CACV,MAAM;CACN,YAAY;CACZ,kBAAkB;CAClB,iBAAiB;CACjB,kBAAkB;CAClB,iBAAiB;CACjB,WAAW;CACX,cAAc;CACd,UAAU;CACV,gBAAgB;CAChB,cAAc;CACd,YAAY;CAGZ,cAAc;CACd,UAAU;CACV,QAAQ;AACV;AACA,IAAI,wBAAwB;CAC1B,GAAG;CACH,wBAAwB;CAExB,iBAAiB;AACnB"}
|
|
@@ -1,41 +1,36 @@
|
|
|
1
|
+
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
for (var name in all) __defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
10
11
|
};
|
|
11
12
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
19
20
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
21
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
22
|
var withStaticProperties_exports = {};
|
|
24
|
-
__export(withStaticProperties_exports, {
|
|
25
|
-
withStaticProperties: () => withStaticProperties
|
|
26
|
-
});
|
|
23
|
+
__export(withStaticProperties_exports, { withStaticProperties: () => withStaticProperties });
|
|
27
24
|
module.exports = __toCommonJS(withStaticProperties_exports);
|
|
28
|
-
const Decorated = /* @__PURE__ */Symbol();
|
|
25
|
+
const Decorated = /* @__PURE__ */ Symbol();
|
|
29
26
|
const withStaticProperties = (component, staticProps) => {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
return out;
|
|
41
|
-
};
|
|
27
|
+
const out = (() => {
|
|
28
|
+
if (component[Decorated]) {
|
|
29
|
+
return typeof component === "function" ? Object.assign(component.bind(null), component) : { ...component };
|
|
30
|
+
}
|
|
31
|
+
return component;
|
|
32
|
+
})();
|
|
33
|
+
Object.assign(out, staticProps);
|
|
34
|
+
out[Decorated] = true;
|
|
35
|
+
return out;
|
|
36
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var withStaticProperties_exports = {};
|
|
25
|
+
__export(withStaticProperties_exports, { withStaticProperties: () => withStaticProperties });
|
|
26
|
+
module.exports = __toCommonJS(withStaticProperties_exports);
|
|
27
|
+
var Decorated = /* @__PURE__ */ Symbol();
|
|
28
|
+
var withStaticProperties = function(component, staticProps) {
|
|
29
|
+
var out = (function() {
|
|
30
|
+
if (component[Decorated]) {
|
|
31
|
+
return typeof component === "function" ? Object.assign(component.bind(null), component) : { ...component };
|
|
32
|
+
}
|
|
33
|
+
return component;
|
|
34
|
+
})();
|
|
35
|
+
Object.assign(out, staticProps);
|
|
36
|
+
out[Decorated] = true;
|
|
37
|
+
return out;
|
|
38
|
+
};
|