@fluentui-react-native/experimental-shadow 0.2.23 → 0.2.24
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/CHANGELOG.json +16 -1
- package/CHANGELOG.md +10 -2
- package/lib/Shadow.d.ts.map +1 -1
- package/lib/Shadow.js +3 -3
- package/lib/Shadow.js.map +1 -1
- package/lib-commonjs/Shadow.d.ts.map +1 -1
- package/lib-commonjs/Shadow.js +3 -3
- package/lib-commonjs/Shadow.js.map +1 -1
- package/package.json +1 -1
- package/src/Shadow.tsx +27 -0
- package/src/__tests__/__snapshots__/Shadow.test.tsx.snap +144 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/experimental-shadow",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 04 Oct 2022 17:24:24 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/experimental-shadow_v0.2.24",
|
|
7
|
+
"version": "0.2.24",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "78454019+lyzhan7@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/experimental-shadow",
|
|
13
|
+
"commit": "fa9c8fe626780f63740b4330eaeaa405bc2dbc01",
|
|
14
|
+
"comment": "Get Shadow working with layout props"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 30 Sep 2022 08:04:44 GMT",
|
|
6
21
|
"tag": "@fluentui-react-native/experimental-shadow_v0.2.23",
|
|
7
22
|
"version": "0.2.23",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/experimental-shadow
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 04 Oct 2022 17:24:24 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.2.24
|
|
8
|
+
|
|
9
|
+
Tue, 04 Oct 2022 17:24:24 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Get Shadow working with layout props (78454019+lyzhan7@users.noreply.github.com)
|
|
14
|
+
|
|
7
15
|
## 0.2.23
|
|
8
16
|
|
|
9
|
-
Fri, 30 Sep 2022 08:
|
|
17
|
+
Fri, 30 Sep 2022 08:04:44 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
package/lib/Shadow.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../src/Shadow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAMzD,eAAO,MAAM,MAAM,4EAyBjB,CAAC;
|
|
1
|
+
{"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../src/Shadow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAMzD,eAAO,MAAM,MAAM,4EAyBjB,CAAC;AAkHH,eAAe,MAAM,CAAC"}
|
package/lib/Shadow.js
CHANGED
|
@@ -50,7 +50,7 @@ var getStylePropsForShadowViews = memoize(getStylePropsForShadowViewsWorker);
|
|
|
50
50
|
function getStylePropsForShadowViewsWorker(childStyleProps, shadowToken) {
|
|
51
51
|
if (childStyleProps === void 0) { childStyleProps = {}; }
|
|
52
52
|
var shadowTokenStyleSet = getShadowTokenStyleSet(shadowToken);
|
|
53
|
-
var borderBottomWidth = childStyleProps.borderBottomWidth, borderEndWidth = childStyleProps.borderEndWidth, borderLeftWidth = childStyleProps.borderLeftWidth, borderRightWidth = childStyleProps.borderRightWidth, borderStartWidth = childStyleProps.borderStartWidth, borderTopWidth = childStyleProps.borderTopWidth, borderWidth = childStyleProps.borderWidth, margin = childStyleProps.margin, marginBottom = childStyleProps.marginBottom, marginEnd = childStyleProps.marginEnd, marginHorizontal = childStyleProps.marginHorizontal, marginLeft = childStyleProps.marginLeft, marginRight = childStyleProps.marginRight, marginStart = childStyleProps.marginStart, marginTop = childStyleProps.marginTop, marginVertical = childStyleProps.marginVertical, padding = childStyleProps.padding, paddingBottom = childStyleProps.paddingBottom, paddingEnd = childStyleProps.paddingEnd, paddingHorizontal = childStyleProps.paddingHorizontal, paddingLeft = childStyleProps.paddingLeft, paddingRight = childStyleProps.paddingRight, paddingStart = childStyleProps.paddingStart, paddingTop = childStyleProps.paddingTop, paddingVertical = childStyleProps.paddingVertical, restOfChildStyleProps = __rest(childStyleProps, ["borderBottomWidth", "borderEndWidth", "borderLeftWidth", "borderRightWidth", "borderStartWidth", "borderTopWidth", "borderWidth", "margin", "marginBottom", "marginEnd", "marginHorizontal", "marginLeft", "marginRight", "marginStart", "marginTop", "marginVertical", "padding", "paddingBottom", "paddingEnd", "paddingHorizontal", "paddingLeft", "paddingRight", "paddingStart", "paddingTop", "paddingVertical"]);
|
|
53
|
+
var borderBottomWidth = childStyleProps.borderBottomWidth, borderEndWidth = childStyleProps.borderEndWidth, borderLeftWidth = childStyleProps.borderLeftWidth, borderRightWidth = childStyleProps.borderRightWidth, borderStartWidth = childStyleProps.borderStartWidth, borderTopWidth = childStyleProps.borderTopWidth, borderWidth = childStyleProps.borderWidth, margin = childStyleProps.margin, marginBottom = childStyleProps.marginBottom, marginEnd = childStyleProps.marginEnd, marginHorizontal = childStyleProps.marginHorizontal, marginLeft = childStyleProps.marginLeft, marginRight = childStyleProps.marginRight, marginStart = childStyleProps.marginStart, marginTop = childStyleProps.marginTop, marginVertical = childStyleProps.marginVertical, padding = childStyleProps.padding, paddingBottom = childStyleProps.paddingBottom, paddingEnd = childStyleProps.paddingEnd, paddingHorizontal = childStyleProps.paddingHorizontal, paddingLeft = childStyleProps.paddingLeft, paddingRight = childStyleProps.paddingRight, paddingStart = childStyleProps.paddingStart, paddingTop = childStyleProps.paddingTop, paddingVertical = childStyleProps.paddingVertical, alignItems = childStyleProps.alignItems, flexWrap = childStyleProps.flexWrap, flexDirection = childStyleProps.flexDirection, start = childStyleProps.start, end = childStyleProps.end, left = childStyleProps.left, right = childStyleProps.right, top = childStyleProps.top, bottom = childStyleProps.bottom, restOfChildStyleProps = __rest(childStyleProps, ["borderBottomWidth", "borderEndWidth", "borderLeftWidth", "borderRightWidth", "borderStartWidth", "borderTopWidth", "borderWidth", "margin", "marginBottom", "marginEnd", "marginHorizontal", "marginLeft", "marginRight", "marginStart", "marginTop", "marginVertical", "padding", "paddingBottom", "paddingEnd", "paddingHorizontal", "paddingLeft", "paddingRight", "paddingStart", "paddingTop", "paddingVertical", "alignItems", "flexWrap", "flexDirection", "start", "end", "left", "right", "top", "bottom"]);
|
|
54
54
|
if (__DEV__) {
|
|
55
55
|
if (!childStyleProps.backgroundColor) {
|
|
56
56
|
console.warn('The View that the Shadow is set on must have a background color set');
|
|
@@ -58,10 +58,10 @@ function getStylePropsForShadowViewsWorker(childStyleProps, shadowToken) {
|
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
60
|
inner: {
|
|
61
|
-
style: __assign(__assign({ borderBottomWidth: borderBottomWidth, borderEndWidth: borderEndWidth, borderLeftWidth: borderLeftWidth, borderRightWidth: borderRightWidth, borderStartWidth: borderStartWidth, borderTopWidth: borderTopWidth, borderWidth: borderWidth, padding: padding, paddingBottom: paddingBottom, paddingEnd: paddingEnd, paddingHorizontal: paddingHorizontal, paddingLeft: paddingLeft, paddingRight: paddingRight, paddingStart: paddingStart, paddingTop: paddingTop, paddingVertical: paddingVertical }, shadowTokenStyleSet.key), restOfChildStyleProps),
|
|
61
|
+
style: __assign(__assign({ borderBottomWidth: borderBottomWidth, borderEndWidth: borderEndWidth, borderLeftWidth: borderLeftWidth, borderRightWidth: borderRightWidth, borderStartWidth: borderStartWidth, borderTopWidth: borderTopWidth, borderWidth: borderWidth, padding: padding, paddingBottom: paddingBottom, paddingEnd: paddingEnd, paddingHorizontal: paddingHorizontal, paddingLeft: paddingLeft, paddingRight: paddingRight, paddingStart: paddingStart, paddingTop: paddingTop, paddingVertical: paddingVertical, alignItems: alignItems, flexWrap: flexWrap, flexDirection: flexDirection }, shadowTokenStyleSet.key), restOfChildStyleProps),
|
|
62
62
|
},
|
|
63
63
|
outer: {
|
|
64
|
-
style: __assign(__assign({ margin: margin, marginBottom: marginBottom, marginEnd: marginEnd, marginHorizontal: marginHorizontal, marginLeft: marginLeft, marginRight: marginRight, marginStart: marginStart, marginTop: marginTop, marginVertical: marginVertical }, shadowTokenStyleSet.ambient), restOfChildStyleProps),
|
|
64
|
+
style: __assign(__assign({ margin: margin, marginBottom: marginBottom, marginEnd: marginEnd, marginHorizontal: marginHorizontal, marginLeft: marginLeft, marginRight: marginRight, marginStart: marginStart, marginTop: marginTop, marginVertical: marginVertical, start: start, end: end, left: left, right: right, top: top, bottom: bottom }, shadowTokenStyleSet.ambient), restOfChildStyleProps),
|
|
65
65
|
},
|
|
66
66
|
};
|
|
67
67
|
}
|
package/lib/Shadow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shadow.js","sourceRoot":"","sources":["../src/Shadow.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAa,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAe,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAG3D,MAAM,CAAC,IAAM,MAAM,G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Ae,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../src/Shadow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAMzD,eAAO,MAAM,MAAM,4EAyBjB,CAAC;
|
|
1
|
+
{"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../src/Shadow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAMzD,eAAO,MAAM,MAAM,4EAyBjB,CAAC;AAkHH,eAAe,MAAM,CAAC"}
|
package/lib-commonjs/Shadow.js
CHANGED
|
@@ -72,7 +72,7 @@ var getStylePropsForShadowViews = (0, framework_2.memoize)(getStylePropsForShado
|
|
|
72
72
|
function getStylePropsForShadowViewsWorker(childStyleProps, shadowToken) {
|
|
73
73
|
if (childStyleProps === void 0) { childStyleProps = {}; }
|
|
74
74
|
var shadowTokenStyleSet = (0, shadowStyle_1.getShadowTokenStyleSet)(shadowToken);
|
|
75
|
-
var borderBottomWidth = childStyleProps.borderBottomWidth, borderEndWidth = childStyleProps.borderEndWidth, borderLeftWidth = childStyleProps.borderLeftWidth, borderRightWidth = childStyleProps.borderRightWidth, borderStartWidth = childStyleProps.borderStartWidth, borderTopWidth = childStyleProps.borderTopWidth, borderWidth = childStyleProps.borderWidth, margin = childStyleProps.margin, marginBottom = childStyleProps.marginBottom, marginEnd = childStyleProps.marginEnd, marginHorizontal = childStyleProps.marginHorizontal, marginLeft = childStyleProps.marginLeft, marginRight = childStyleProps.marginRight, marginStart = childStyleProps.marginStart, marginTop = childStyleProps.marginTop, marginVertical = childStyleProps.marginVertical, padding = childStyleProps.padding, paddingBottom = childStyleProps.paddingBottom, paddingEnd = childStyleProps.paddingEnd, paddingHorizontal = childStyleProps.paddingHorizontal, paddingLeft = childStyleProps.paddingLeft, paddingRight = childStyleProps.paddingRight, paddingStart = childStyleProps.paddingStart, paddingTop = childStyleProps.paddingTop, paddingVertical = childStyleProps.paddingVertical, restOfChildStyleProps = __rest(childStyleProps, ["borderBottomWidth", "borderEndWidth", "borderLeftWidth", "borderRightWidth", "borderStartWidth", "borderTopWidth", "borderWidth", "margin", "marginBottom", "marginEnd", "marginHorizontal", "marginLeft", "marginRight", "marginStart", "marginTop", "marginVertical", "padding", "paddingBottom", "paddingEnd", "paddingHorizontal", "paddingLeft", "paddingRight", "paddingStart", "paddingTop", "paddingVertical"]);
|
|
75
|
+
var borderBottomWidth = childStyleProps.borderBottomWidth, borderEndWidth = childStyleProps.borderEndWidth, borderLeftWidth = childStyleProps.borderLeftWidth, borderRightWidth = childStyleProps.borderRightWidth, borderStartWidth = childStyleProps.borderStartWidth, borderTopWidth = childStyleProps.borderTopWidth, borderWidth = childStyleProps.borderWidth, margin = childStyleProps.margin, marginBottom = childStyleProps.marginBottom, marginEnd = childStyleProps.marginEnd, marginHorizontal = childStyleProps.marginHorizontal, marginLeft = childStyleProps.marginLeft, marginRight = childStyleProps.marginRight, marginStart = childStyleProps.marginStart, marginTop = childStyleProps.marginTop, marginVertical = childStyleProps.marginVertical, padding = childStyleProps.padding, paddingBottom = childStyleProps.paddingBottom, paddingEnd = childStyleProps.paddingEnd, paddingHorizontal = childStyleProps.paddingHorizontal, paddingLeft = childStyleProps.paddingLeft, paddingRight = childStyleProps.paddingRight, paddingStart = childStyleProps.paddingStart, paddingTop = childStyleProps.paddingTop, paddingVertical = childStyleProps.paddingVertical, alignItems = childStyleProps.alignItems, flexWrap = childStyleProps.flexWrap, flexDirection = childStyleProps.flexDirection, start = childStyleProps.start, end = childStyleProps.end, left = childStyleProps.left, right = childStyleProps.right, top = childStyleProps.top, bottom = childStyleProps.bottom, restOfChildStyleProps = __rest(childStyleProps, ["borderBottomWidth", "borderEndWidth", "borderLeftWidth", "borderRightWidth", "borderStartWidth", "borderTopWidth", "borderWidth", "margin", "marginBottom", "marginEnd", "marginHorizontal", "marginLeft", "marginRight", "marginStart", "marginTop", "marginVertical", "padding", "paddingBottom", "paddingEnd", "paddingHorizontal", "paddingLeft", "paddingRight", "paddingStart", "paddingTop", "paddingVertical", "alignItems", "flexWrap", "flexDirection", "start", "end", "left", "right", "top", "bottom"]);
|
|
76
76
|
if (__DEV__) {
|
|
77
77
|
if (!childStyleProps.backgroundColor) {
|
|
78
78
|
console.warn('The View that the Shadow is set on must have a background color set');
|
|
@@ -80,10 +80,10 @@ function getStylePropsForShadowViewsWorker(childStyleProps, shadowToken) {
|
|
|
80
80
|
}
|
|
81
81
|
return {
|
|
82
82
|
inner: {
|
|
83
|
-
style: __assign(__assign({ borderBottomWidth: borderBottomWidth, borderEndWidth: borderEndWidth, borderLeftWidth: borderLeftWidth, borderRightWidth: borderRightWidth, borderStartWidth: borderStartWidth, borderTopWidth: borderTopWidth, borderWidth: borderWidth, padding: padding, paddingBottom: paddingBottom, paddingEnd: paddingEnd, paddingHorizontal: paddingHorizontal, paddingLeft: paddingLeft, paddingRight: paddingRight, paddingStart: paddingStart, paddingTop: paddingTop, paddingVertical: paddingVertical }, shadowTokenStyleSet.key), restOfChildStyleProps),
|
|
83
|
+
style: __assign(__assign({ borderBottomWidth: borderBottomWidth, borderEndWidth: borderEndWidth, borderLeftWidth: borderLeftWidth, borderRightWidth: borderRightWidth, borderStartWidth: borderStartWidth, borderTopWidth: borderTopWidth, borderWidth: borderWidth, padding: padding, paddingBottom: paddingBottom, paddingEnd: paddingEnd, paddingHorizontal: paddingHorizontal, paddingLeft: paddingLeft, paddingRight: paddingRight, paddingStart: paddingStart, paddingTop: paddingTop, paddingVertical: paddingVertical, alignItems: alignItems, flexWrap: flexWrap, flexDirection: flexDirection }, shadowTokenStyleSet.key), restOfChildStyleProps),
|
|
84
84
|
},
|
|
85
85
|
outer: {
|
|
86
|
-
style: __assign(__assign({ margin: margin, marginBottom: marginBottom, marginEnd: marginEnd, marginHorizontal: marginHorizontal, marginLeft: marginLeft, marginRight: marginRight, marginStart: marginStart, marginTop: marginTop, marginVertical: marginVertical }, shadowTokenStyleSet.ambient), restOfChildStyleProps),
|
|
86
|
+
style: __assign(__assign({ margin: margin, marginBottom: marginBottom, marginEnd: marginEnd, marginHorizontal: marginHorizontal, marginLeft: marginLeft, marginRight: marginRight, marginStart: marginStart, marginTop: marginTop, marginVertical: marginVertical, start: start, end: end, left: left, right: right, top: top, bottom: bottom }, shadowTokenStyleSet.ambient), restOfChildStyleProps),
|
|
87
87
|
},
|
|
88
88
|
};
|
|
89
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shadow.js","sourceRoot":"","sources":["../src/Shadow.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAC/B,6CAA+C;AAC/C,+CAAyD;AACzD,8DAA+E;AAC/E,6CAAuD;AACvD,8DAA2D;AAG9C,QAAA,MAAM,GAAG,IAAA,2BAAe,EAAC,UAAC,KAAkB;IACvD,OAAO,UAAC,KAAkB,EAAE,QAAyB;QACnD,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;YACtB,OAAO,0CAAG,QAAQ,CAAI,CAAC;SACxB;QAED,IAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAyB,CAAC;QAC/E,IAAM,KAAK,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;QAE/B,IAAI,OAAO,EAAE;YACX,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC9B,OAAO,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;aACjD;SACF;QAED,IAAM,KAA6C,KAAK,CAAC,KAAK,EAA/C,UAAU,WAAA,EAAK,gBAAgB,cAAxC,SAA0C,CAAc,CAAC;QAE/D,IAAM,oBAAoB,GAAG,2BAA2B,CAAC,UAAU,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;QACxF,IAAM,oBAAoB,GAAG,IAAA,sBA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,GAAG,GACvB,qBAAqB,CACzB;SACF;QACD,KAAK,EAAE;YACL,KAAK,sBACH,MAAM,QAAA,EACN,YAAY,cAAA,EACZ,SAAS,WAAA,EACT,gBAAgB,kBAAA,EAChB,UAAU,YAAA,EACV,WAAW,aAAA,EACX,WAAW,aAAA,EACX,SAAS,WAAA,EACT,cAAc,gBAAA,EAEd,KAAK,OAAA,EACL,GAAG,KAAA,EACH,IAAI,MAAA,EACJ,KAAK,OAAA,EACL,GAAG,KAAA,EACH,MAAM,QAAA,IAEH,mBAAmB,CAAC,OAAO,GAC3B,qBAAqB,CACzB;SACF;KACF,CAAC;AACJ,CAAC;AAED,cAAM,CAAC,WAAW,GAAG,yBAAU,CAAC;AAEhC,kBAAe,cAAM,CAAC"}
|
package/package.json
CHANGED
package/src/Shadow.tsx
CHANGED
|
@@ -66,6 +66,18 @@ function getStylePropsForShadowViewsWorker(childStyleProps: ViewStyle = {}, shad
|
|
|
66
66
|
paddingTop,
|
|
67
67
|
paddingVertical,
|
|
68
68
|
|
|
69
|
+
alignItems,
|
|
70
|
+
|
|
71
|
+
flexWrap,
|
|
72
|
+
flexDirection,
|
|
73
|
+
|
|
74
|
+
start,
|
|
75
|
+
end,
|
|
76
|
+
left,
|
|
77
|
+
right,
|
|
78
|
+
top,
|
|
79
|
+
bottom,
|
|
80
|
+
|
|
69
81
|
...restOfChildStyleProps
|
|
70
82
|
} = childStyleProps;
|
|
71
83
|
|
|
@@ -85,6 +97,7 @@ function getStylePropsForShadowViewsWorker(childStyleProps: ViewStyle = {}, shad
|
|
|
85
97
|
borderStartWidth,
|
|
86
98
|
borderTopWidth,
|
|
87
99
|
borderWidth,
|
|
100
|
+
|
|
88
101
|
padding,
|
|
89
102
|
paddingBottom,
|
|
90
103
|
paddingEnd,
|
|
@@ -94,6 +107,12 @@ function getStylePropsForShadowViewsWorker(childStyleProps: ViewStyle = {}, shad
|
|
|
94
107
|
paddingStart,
|
|
95
108
|
paddingTop,
|
|
96
109
|
paddingVertical,
|
|
110
|
+
|
|
111
|
+
alignItems,
|
|
112
|
+
|
|
113
|
+
flexWrap,
|
|
114
|
+
flexDirection,
|
|
115
|
+
|
|
97
116
|
...shadowTokenStyleSet.key,
|
|
98
117
|
...restOfChildStyleProps,
|
|
99
118
|
},
|
|
@@ -109,6 +128,14 @@ function getStylePropsForShadowViewsWorker(childStyleProps: ViewStyle = {}, shad
|
|
|
109
128
|
marginStart,
|
|
110
129
|
marginTop,
|
|
111
130
|
marginVertical,
|
|
131
|
+
|
|
132
|
+
start,
|
|
133
|
+
end,
|
|
134
|
+
left,
|
|
135
|
+
right,
|
|
136
|
+
top,
|
|
137
|
+
bottom,
|
|
138
|
+
|
|
112
139
|
...shadowTokenStyleSet.ambient,
|
|
113
140
|
...restOfChildStyleProps,
|
|
114
141
|
},
|
|
@@ -5,6 +5,9 @@ exports[`Shadow component tests Brand shadow (depth=2) 1`] = `
|
|
|
5
5
|
style={
|
|
6
6
|
Object {
|
|
7
7
|
"backgroundColor": "red",
|
|
8
|
+
"bottom": undefined,
|
|
9
|
+
"end": undefined,
|
|
10
|
+
"left": undefined,
|
|
8
11
|
"margin": undefined,
|
|
9
12
|
"marginBottom": undefined,
|
|
10
13
|
"marginEnd": undefined,
|
|
@@ -14,6 +17,7 @@ exports[`Shadow component tests Brand shadow (depth=2) 1`] = `
|
|
|
14
17
|
"marginStart": undefined,
|
|
15
18
|
"marginTop": undefined,
|
|
16
19
|
"marginVertical": undefined,
|
|
20
|
+
"right": undefined,
|
|
17
21
|
"shadowColor": "#000000",
|
|
18
22
|
"shadowOffset": Object {
|
|
19
23
|
"height": 0,
|
|
@@ -21,12 +25,15 @@ exports[`Shadow component tests Brand shadow (depth=2) 1`] = `
|
|
|
21
25
|
},
|
|
22
26
|
"shadowOpacity": 0.3,
|
|
23
27
|
"shadowRadius": 1,
|
|
28
|
+
"start": undefined,
|
|
29
|
+
"top": undefined,
|
|
24
30
|
}
|
|
25
31
|
}
|
|
26
32
|
>
|
|
27
33
|
<View
|
|
28
34
|
style={
|
|
29
35
|
Object {
|
|
36
|
+
"alignItems": undefined,
|
|
30
37
|
"backgroundColor": "red",
|
|
31
38
|
"borderBottomWidth": undefined,
|
|
32
39
|
"borderEndWidth": undefined,
|
|
@@ -35,6 +42,8 @@ exports[`Shadow component tests Brand shadow (depth=2) 1`] = `
|
|
|
35
42
|
"borderStartWidth": undefined,
|
|
36
43
|
"borderTopWidth": undefined,
|
|
37
44
|
"borderWidth": undefined,
|
|
45
|
+
"flexDirection": undefined,
|
|
46
|
+
"flexWrap": undefined,
|
|
38
47
|
"padding": undefined,
|
|
39
48
|
"paddingBottom": undefined,
|
|
40
49
|
"paddingEnd": undefined,
|
|
@@ -66,6 +75,9 @@ exports[`Shadow component tests Brand shadow (depth=4) 1`] = `
|
|
|
66
75
|
style={
|
|
67
76
|
Object {
|
|
68
77
|
"backgroundColor": "red",
|
|
78
|
+
"bottom": undefined,
|
|
79
|
+
"end": undefined,
|
|
80
|
+
"left": undefined,
|
|
69
81
|
"margin": undefined,
|
|
70
82
|
"marginBottom": undefined,
|
|
71
83
|
"marginEnd": undefined,
|
|
@@ -75,6 +87,7 @@ exports[`Shadow component tests Brand shadow (depth=4) 1`] = `
|
|
|
75
87
|
"marginStart": undefined,
|
|
76
88
|
"marginTop": undefined,
|
|
77
89
|
"marginVertical": undefined,
|
|
90
|
+
"right": undefined,
|
|
78
91
|
"shadowColor": "#000000",
|
|
79
92
|
"shadowOffset": Object {
|
|
80
93
|
"height": 0,
|
|
@@ -82,12 +95,15 @@ exports[`Shadow component tests Brand shadow (depth=4) 1`] = `
|
|
|
82
95
|
},
|
|
83
96
|
"shadowOpacity": 0.3,
|
|
84
97
|
"shadowRadius": 1,
|
|
98
|
+
"start": undefined,
|
|
99
|
+
"top": undefined,
|
|
85
100
|
}
|
|
86
101
|
}
|
|
87
102
|
>
|
|
88
103
|
<View
|
|
89
104
|
style={
|
|
90
105
|
Object {
|
|
106
|
+
"alignItems": undefined,
|
|
91
107
|
"backgroundColor": "red",
|
|
92
108
|
"borderBottomWidth": undefined,
|
|
93
109
|
"borderEndWidth": undefined,
|
|
@@ -96,6 +112,8 @@ exports[`Shadow component tests Brand shadow (depth=4) 1`] = `
|
|
|
96
112
|
"borderStartWidth": undefined,
|
|
97
113
|
"borderTopWidth": undefined,
|
|
98
114
|
"borderWidth": undefined,
|
|
115
|
+
"flexDirection": undefined,
|
|
116
|
+
"flexWrap": undefined,
|
|
99
117
|
"padding": undefined,
|
|
100
118
|
"paddingBottom": undefined,
|
|
101
119
|
"paddingEnd": undefined,
|
|
@@ -127,6 +145,9 @@ exports[`Shadow component tests Brand shadow (depth=8) 1`] = `
|
|
|
127
145
|
style={
|
|
128
146
|
Object {
|
|
129
147
|
"backgroundColor": "red",
|
|
148
|
+
"bottom": undefined,
|
|
149
|
+
"end": undefined,
|
|
150
|
+
"left": undefined,
|
|
130
151
|
"margin": undefined,
|
|
131
152
|
"marginBottom": undefined,
|
|
132
153
|
"marginEnd": undefined,
|
|
@@ -136,6 +157,7 @@ exports[`Shadow component tests Brand shadow (depth=8) 1`] = `
|
|
|
136
157
|
"marginStart": undefined,
|
|
137
158
|
"marginTop": undefined,
|
|
138
159
|
"marginVertical": undefined,
|
|
160
|
+
"right": undefined,
|
|
139
161
|
"shadowColor": "#000000",
|
|
140
162
|
"shadowOffset": Object {
|
|
141
163
|
"height": 0,
|
|
@@ -143,12 +165,15 @@ exports[`Shadow component tests Brand shadow (depth=8) 1`] = `
|
|
|
143
165
|
},
|
|
144
166
|
"shadowOpacity": 0.3,
|
|
145
167
|
"shadowRadius": 1,
|
|
168
|
+
"start": undefined,
|
|
169
|
+
"top": undefined,
|
|
146
170
|
}
|
|
147
171
|
}
|
|
148
172
|
>
|
|
149
173
|
<View
|
|
150
174
|
style={
|
|
151
175
|
Object {
|
|
176
|
+
"alignItems": undefined,
|
|
152
177
|
"backgroundColor": "red",
|
|
153
178
|
"borderBottomWidth": undefined,
|
|
154
179
|
"borderEndWidth": undefined,
|
|
@@ -157,6 +182,8 @@ exports[`Shadow component tests Brand shadow (depth=8) 1`] = `
|
|
|
157
182
|
"borderStartWidth": undefined,
|
|
158
183
|
"borderTopWidth": undefined,
|
|
159
184
|
"borderWidth": undefined,
|
|
185
|
+
"flexDirection": undefined,
|
|
186
|
+
"flexWrap": undefined,
|
|
160
187
|
"padding": undefined,
|
|
161
188
|
"paddingBottom": undefined,
|
|
162
189
|
"paddingEnd": undefined,
|
|
@@ -188,6 +215,9 @@ exports[`Shadow component tests Brand shadow (depth=16) 1`] = `
|
|
|
188
215
|
style={
|
|
189
216
|
Object {
|
|
190
217
|
"backgroundColor": "red",
|
|
218
|
+
"bottom": undefined,
|
|
219
|
+
"end": undefined,
|
|
220
|
+
"left": undefined,
|
|
191
221
|
"margin": undefined,
|
|
192
222
|
"marginBottom": undefined,
|
|
193
223
|
"marginEnd": undefined,
|
|
@@ -197,6 +227,7 @@ exports[`Shadow component tests Brand shadow (depth=16) 1`] = `
|
|
|
197
227
|
"marginStart": undefined,
|
|
198
228
|
"marginTop": undefined,
|
|
199
229
|
"marginVertical": undefined,
|
|
230
|
+
"right": undefined,
|
|
200
231
|
"shadowColor": "#000000",
|
|
201
232
|
"shadowOffset": Object {
|
|
202
233
|
"height": 0,
|
|
@@ -204,12 +235,15 @@ exports[`Shadow component tests Brand shadow (depth=16) 1`] = `
|
|
|
204
235
|
},
|
|
205
236
|
"shadowOpacity": 0.3,
|
|
206
237
|
"shadowRadius": 1,
|
|
238
|
+
"start": undefined,
|
|
239
|
+
"top": undefined,
|
|
207
240
|
}
|
|
208
241
|
}
|
|
209
242
|
>
|
|
210
243
|
<View
|
|
211
244
|
style={
|
|
212
245
|
Object {
|
|
246
|
+
"alignItems": undefined,
|
|
213
247
|
"backgroundColor": "red",
|
|
214
248
|
"borderBottomWidth": undefined,
|
|
215
249
|
"borderEndWidth": undefined,
|
|
@@ -218,6 +252,8 @@ exports[`Shadow component tests Brand shadow (depth=16) 1`] = `
|
|
|
218
252
|
"borderStartWidth": undefined,
|
|
219
253
|
"borderTopWidth": undefined,
|
|
220
254
|
"borderWidth": undefined,
|
|
255
|
+
"flexDirection": undefined,
|
|
256
|
+
"flexWrap": undefined,
|
|
221
257
|
"padding": undefined,
|
|
222
258
|
"paddingBottom": undefined,
|
|
223
259
|
"paddingEnd": undefined,
|
|
@@ -249,6 +285,9 @@ exports[`Shadow component tests Brand shadow (depth=28) 1`] = `
|
|
|
249
285
|
style={
|
|
250
286
|
Object {
|
|
251
287
|
"backgroundColor": "red",
|
|
288
|
+
"bottom": undefined,
|
|
289
|
+
"end": undefined,
|
|
290
|
+
"left": undefined,
|
|
252
291
|
"margin": undefined,
|
|
253
292
|
"marginBottom": undefined,
|
|
254
293
|
"marginEnd": undefined,
|
|
@@ -258,6 +297,7 @@ exports[`Shadow component tests Brand shadow (depth=28) 1`] = `
|
|
|
258
297
|
"marginStart": undefined,
|
|
259
298
|
"marginTop": undefined,
|
|
260
299
|
"marginVertical": undefined,
|
|
300
|
+
"right": undefined,
|
|
261
301
|
"shadowColor": "#000000",
|
|
262
302
|
"shadowOffset": Object {
|
|
263
303
|
"height": 0,
|
|
@@ -265,12 +305,15 @@ exports[`Shadow component tests Brand shadow (depth=28) 1`] = `
|
|
|
265
305
|
},
|
|
266
306
|
"shadowOpacity": 0.3,
|
|
267
307
|
"shadowRadius": 4,
|
|
308
|
+
"start": undefined,
|
|
309
|
+
"top": undefined,
|
|
268
310
|
}
|
|
269
311
|
}
|
|
270
312
|
>
|
|
271
313
|
<View
|
|
272
314
|
style={
|
|
273
315
|
Object {
|
|
316
|
+
"alignItems": undefined,
|
|
274
317
|
"backgroundColor": "red",
|
|
275
318
|
"borderBottomWidth": undefined,
|
|
276
319
|
"borderEndWidth": undefined,
|
|
@@ -279,6 +322,8 @@ exports[`Shadow component tests Brand shadow (depth=28) 1`] = `
|
|
|
279
322
|
"borderStartWidth": undefined,
|
|
280
323
|
"borderTopWidth": undefined,
|
|
281
324
|
"borderWidth": undefined,
|
|
325
|
+
"flexDirection": undefined,
|
|
326
|
+
"flexWrap": undefined,
|
|
282
327
|
"padding": undefined,
|
|
283
328
|
"paddingBottom": undefined,
|
|
284
329
|
"paddingEnd": undefined,
|
|
@@ -310,6 +355,9 @@ exports[`Shadow component tests Brand shadow (depth=64) 1`] = `
|
|
|
310
355
|
style={
|
|
311
356
|
Object {
|
|
312
357
|
"backgroundColor": "red",
|
|
358
|
+
"bottom": undefined,
|
|
359
|
+
"end": undefined,
|
|
360
|
+
"left": undefined,
|
|
313
361
|
"margin": undefined,
|
|
314
362
|
"marginBottom": undefined,
|
|
315
363
|
"marginEnd": undefined,
|
|
@@ -319,6 +367,7 @@ exports[`Shadow component tests Brand shadow (depth=64) 1`] = `
|
|
|
319
367
|
"marginStart": undefined,
|
|
320
368
|
"marginTop": undefined,
|
|
321
369
|
"marginVertical": undefined,
|
|
370
|
+
"right": undefined,
|
|
322
371
|
"shadowColor": "#000000",
|
|
323
372
|
"shadowOffset": Object {
|
|
324
373
|
"height": 0,
|
|
@@ -326,12 +375,15 @@ exports[`Shadow component tests Brand shadow (depth=64) 1`] = `
|
|
|
326
375
|
},
|
|
327
376
|
"shadowOpacity": 0.3,
|
|
328
377
|
"shadowRadius": 4,
|
|
378
|
+
"start": undefined,
|
|
379
|
+
"top": undefined,
|
|
329
380
|
}
|
|
330
381
|
}
|
|
331
382
|
>
|
|
332
383
|
<View
|
|
333
384
|
style={
|
|
334
385
|
Object {
|
|
386
|
+
"alignItems": undefined,
|
|
335
387
|
"backgroundColor": "red",
|
|
336
388
|
"borderBottomWidth": undefined,
|
|
337
389
|
"borderEndWidth": undefined,
|
|
@@ -340,6 +392,8 @@ exports[`Shadow component tests Brand shadow (depth=64) 1`] = `
|
|
|
340
392
|
"borderStartWidth": undefined,
|
|
341
393
|
"borderTopWidth": undefined,
|
|
342
394
|
"borderWidth": undefined,
|
|
395
|
+
"flexDirection": undefined,
|
|
396
|
+
"flexWrap": undefined,
|
|
343
397
|
"padding": undefined,
|
|
344
398
|
"paddingBottom": undefined,
|
|
345
399
|
"paddingEnd": undefined,
|
|
@@ -371,6 +425,9 @@ exports[`Shadow component tests Pressable that has a shadow 1`] = `
|
|
|
371
425
|
style={
|
|
372
426
|
Object {
|
|
373
427
|
"backgroundColor": "red",
|
|
428
|
+
"bottom": undefined,
|
|
429
|
+
"end": undefined,
|
|
430
|
+
"left": undefined,
|
|
374
431
|
"margin": undefined,
|
|
375
432
|
"marginBottom": undefined,
|
|
376
433
|
"marginEnd": undefined,
|
|
@@ -380,6 +437,7 @@ exports[`Shadow component tests Pressable that has a shadow 1`] = `
|
|
|
380
437
|
"marginStart": undefined,
|
|
381
438
|
"marginTop": undefined,
|
|
382
439
|
"marginVertical": undefined,
|
|
440
|
+
"right": undefined,
|
|
383
441
|
"shadowColor": "#000000",
|
|
384
442
|
"shadowOffset": Object {
|
|
385
443
|
"height": 0,
|
|
@@ -387,6 +445,8 @@ exports[`Shadow component tests Pressable that has a shadow 1`] = `
|
|
|
387
445
|
},
|
|
388
446
|
"shadowOpacity": 0.12,
|
|
389
447
|
"shadowRadius": 1,
|
|
448
|
+
"start": undefined,
|
|
449
|
+
"top": undefined,
|
|
390
450
|
}
|
|
391
451
|
}
|
|
392
452
|
>
|
|
@@ -404,6 +464,7 @@ exports[`Shadow component tests Pressable that has a shadow 1`] = `
|
|
|
404
464
|
onStartShouldSetResponder={[Function]}
|
|
405
465
|
style={
|
|
406
466
|
Object {
|
|
467
|
+
"alignItems": undefined,
|
|
407
468
|
"backgroundColor": "red",
|
|
408
469
|
"borderBottomWidth": undefined,
|
|
409
470
|
"borderEndWidth": undefined,
|
|
@@ -412,6 +473,8 @@ exports[`Shadow component tests Pressable that has a shadow 1`] = `
|
|
|
412
473
|
"borderStartWidth": undefined,
|
|
413
474
|
"borderTopWidth": undefined,
|
|
414
475
|
"borderWidth": undefined,
|
|
476
|
+
"flexDirection": undefined,
|
|
477
|
+
"flexWrap": undefined,
|
|
415
478
|
"padding": undefined,
|
|
416
479
|
"paddingBottom": undefined,
|
|
417
480
|
"paddingEnd": undefined,
|
|
@@ -439,6 +502,9 @@ exports[`Shadow component tests Shadow (depth=2) 1`] = `
|
|
|
439
502
|
style={
|
|
440
503
|
Object {
|
|
441
504
|
"backgroundColor": "red",
|
|
505
|
+
"bottom": undefined,
|
|
506
|
+
"end": undefined,
|
|
507
|
+
"left": undefined,
|
|
442
508
|
"margin": undefined,
|
|
443
509
|
"marginBottom": undefined,
|
|
444
510
|
"marginEnd": undefined,
|
|
@@ -448,6 +514,7 @@ exports[`Shadow component tests Shadow (depth=2) 1`] = `
|
|
|
448
514
|
"marginStart": undefined,
|
|
449
515
|
"marginTop": undefined,
|
|
450
516
|
"marginVertical": undefined,
|
|
517
|
+
"right": undefined,
|
|
451
518
|
"shadowColor": "#000000",
|
|
452
519
|
"shadowOffset": Object {
|
|
453
520
|
"height": 0,
|
|
@@ -455,12 +522,15 @@ exports[`Shadow component tests Shadow (depth=2) 1`] = `
|
|
|
455
522
|
},
|
|
456
523
|
"shadowOpacity": 0.12,
|
|
457
524
|
"shadowRadius": 1,
|
|
525
|
+
"start": undefined,
|
|
526
|
+
"top": undefined,
|
|
458
527
|
}
|
|
459
528
|
}
|
|
460
529
|
>
|
|
461
530
|
<View
|
|
462
531
|
style={
|
|
463
532
|
Object {
|
|
533
|
+
"alignItems": undefined,
|
|
464
534
|
"backgroundColor": "red",
|
|
465
535
|
"borderBottomWidth": undefined,
|
|
466
536
|
"borderEndWidth": undefined,
|
|
@@ -469,6 +539,8 @@ exports[`Shadow component tests Shadow (depth=2) 1`] = `
|
|
|
469
539
|
"borderStartWidth": undefined,
|
|
470
540
|
"borderTopWidth": undefined,
|
|
471
541
|
"borderWidth": undefined,
|
|
542
|
+
"flexDirection": undefined,
|
|
543
|
+
"flexWrap": undefined,
|
|
472
544
|
"padding": undefined,
|
|
473
545
|
"paddingBottom": undefined,
|
|
474
546
|
"paddingEnd": undefined,
|
|
@@ -500,6 +572,9 @@ exports[`Shadow component tests Shadow (depth=4) 1`] = `
|
|
|
500
572
|
style={
|
|
501
573
|
Object {
|
|
502
574
|
"backgroundColor": "red",
|
|
575
|
+
"bottom": undefined,
|
|
576
|
+
"end": undefined,
|
|
577
|
+
"left": undefined,
|
|
503
578
|
"margin": undefined,
|
|
504
579
|
"marginBottom": undefined,
|
|
505
580
|
"marginEnd": undefined,
|
|
@@ -509,6 +584,7 @@ exports[`Shadow component tests Shadow (depth=4) 1`] = `
|
|
|
509
584
|
"marginStart": undefined,
|
|
510
585
|
"marginTop": undefined,
|
|
511
586
|
"marginVertical": undefined,
|
|
587
|
+
"right": undefined,
|
|
512
588
|
"shadowColor": "#000000",
|
|
513
589
|
"shadowOffset": Object {
|
|
514
590
|
"height": 0,
|
|
@@ -516,12 +592,15 @@ exports[`Shadow component tests Shadow (depth=4) 1`] = `
|
|
|
516
592
|
},
|
|
517
593
|
"shadowOpacity": 0.12,
|
|
518
594
|
"shadowRadius": 1,
|
|
595
|
+
"start": undefined,
|
|
596
|
+
"top": undefined,
|
|
519
597
|
}
|
|
520
598
|
}
|
|
521
599
|
>
|
|
522
600
|
<View
|
|
523
601
|
style={
|
|
524
602
|
Object {
|
|
603
|
+
"alignItems": undefined,
|
|
525
604
|
"backgroundColor": "red",
|
|
526
605
|
"borderBottomWidth": undefined,
|
|
527
606
|
"borderEndWidth": undefined,
|
|
@@ -530,6 +609,8 @@ exports[`Shadow component tests Shadow (depth=4) 1`] = `
|
|
|
530
609
|
"borderStartWidth": undefined,
|
|
531
610
|
"borderTopWidth": undefined,
|
|
532
611
|
"borderWidth": undefined,
|
|
612
|
+
"flexDirection": undefined,
|
|
613
|
+
"flexWrap": undefined,
|
|
533
614
|
"padding": undefined,
|
|
534
615
|
"paddingBottom": undefined,
|
|
535
616
|
"paddingEnd": undefined,
|
|
@@ -561,6 +642,9 @@ exports[`Shadow component tests Shadow (depth=8) 1`] = `
|
|
|
561
642
|
style={
|
|
562
643
|
Object {
|
|
563
644
|
"backgroundColor": "red",
|
|
645
|
+
"bottom": undefined,
|
|
646
|
+
"end": undefined,
|
|
647
|
+
"left": undefined,
|
|
564
648
|
"margin": undefined,
|
|
565
649
|
"marginBottom": undefined,
|
|
566
650
|
"marginEnd": undefined,
|
|
@@ -570,6 +654,7 @@ exports[`Shadow component tests Shadow (depth=8) 1`] = `
|
|
|
570
654
|
"marginStart": undefined,
|
|
571
655
|
"marginTop": undefined,
|
|
572
656
|
"marginVertical": undefined,
|
|
657
|
+
"right": undefined,
|
|
573
658
|
"shadowColor": "#000000",
|
|
574
659
|
"shadowOffset": Object {
|
|
575
660
|
"height": 0,
|
|
@@ -577,12 +662,15 @@ exports[`Shadow component tests Shadow (depth=8) 1`] = `
|
|
|
577
662
|
},
|
|
578
663
|
"shadowOpacity": 0.12,
|
|
579
664
|
"shadowRadius": 1,
|
|
665
|
+
"start": undefined,
|
|
666
|
+
"top": undefined,
|
|
580
667
|
}
|
|
581
668
|
}
|
|
582
669
|
>
|
|
583
670
|
<View
|
|
584
671
|
style={
|
|
585
672
|
Object {
|
|
673
|
+
"alignItems": undefined,
|
|
586
674
|
"backgroundColor": "red",
|
|
587
675
|
"borderBottomWidth": undefined,
|
|
588
676
|
"borderEndWidth": undefined,
|
|
@@ -591,6 +679,8 @@ exports[`Shadow component tests Shadow (depth=8) 1`] = `
|
|
|
591
679
|
"borderStartWidth": undefined,
|
|
592
680
|
"borderTopWidth": undefined,
|
|
593
681
|
"borderWidth": undefined,
|
|
682
|
+
"flexDirection": undefined,
|
|
683
|
+
"flexWrap": undefined,
|
|
594
684
|
"padding": undefined,
|
|
595
685
|
"paddingBottom": undefined,
|
|
596
686
|
"paddingEnd": undefined,
|
|
@@ -622,6 +712,9 @@ exports[`Shadow component tests Shadow (depth=16) 1`] = `
|
|
|
622
712
|
style={
|
|
623
713
|
Object {
|
|
624
714
|
"backgroundColor": "red",
|
|
715
|
+
"bottom": undefined,
|
|
716
|
+
"end": undefined,
|
|
717
|
+
"left": undefined,
|
|
625
718
|
"margin": undefined,
|
|
626
719
|
"marginBottom": undefined,
|
|
627
720
|
"marginEnd": undefined,
|
|
@@ -631,6 +724,7 @@ exports[`Shadow component tests Shadow (depth=16) 1`] = `
|
|
|
631
724
|
"marginStart": undefined,
|
|
632
725
|
"marginTop": undefined,
|
|
633
726
|
"marginVertical": undefined,
|
|
727
|
+
"right": undefined,
|
|
634
728
|
"shadowColor": "#000000",
|
|
635
729
|
"shadowOffset": Object {
|
|
636
730
|
"height": 0,
|
|
@@ -638,12 +732,15 @@ exports[`Shadow component tests Shadow (depth=16) 1`] = `
|
|
|
638
732
|
},
|
|
639
733
|
"shadowOpacity": 0.12,
|
|
640
734
|
"shadowRadius": 1,
|
|
735
|
+
"start": undefined,
|
|
736
|
+
"top": undefined,
|
|
641
737
|
}
|
|
642
738
|
}
|
|
643
739
|
>
|
|
644
740
|
<View
|
|
645
741
|
style={
|
|
646
742
|
Object {
|
|
743
|
+
"alignItems": undefined,
|
|
647
744
|
"backgroundColor": "red",
|
|
648
745
|
"borderBottomWidth": undefined,
|
|
649
746
|
"borderEndWidth": undefined,
|
|
@@ -652,6 +749,8 @@ exports[`Shadow component tests Shadow (depth=16) 1`] = `
|
|
|
652
749
|
"borderStartWidth": undefined,
|
|
653
750
|
"borderTopWidth": undefined,
|
|
654
751
|
"borderWidth": undefined,
|
|
752
|
+
"flexDirection": undefined,
|
|
753
|
+
"flexWrap": undefined,
|
|
655
754
|
"padding": undefined,
|
|
656
755
|
"paddingBottom": undefined,
|
|
657
756
|
"paddingEnd": undefined,
|
|
@@ -683,6 +782,9 @@ exports[`Shadow component tests Shadow (depth=28) 1`] = `
|
|
|
683
782
|
style={
|
|
684
783
|
Object {
|
|
685
784
|
"backgroundColor": "red",
|
|
785
|
+
"bottom": undefined,
|
|
786
|
+
"end": undefined,
|
|
787
|
+
"left": undefined,
|
|
686
788
|
"margin": undefined,
|
|
687
789
|
"marginBottom": undefined,
|
|
688
790
|
"marginEnd": undefined,
|
|
@@ -692,6 +794,7 @@ exports[`Shadow component tests Shadow (depth=28) 1`] = `
|
|
|
692
794
|
"marginStart": undefined,
|
|
693
795
|
"marginTop": undefined,
|
|
694
796
|
"marginVertical": undefined,
|
|
797
|
+
"right": undefined,
|
|
695
798
|
"shadowColor": "#000000",
|
|
696
799
|
"shadowOffset": Object {
|
|
697
800
|
"height": 0,
|
|
@@ -699,12 +802,15 @@ exports[`Shadow component tests Shadow (depth=28) 1`] = `
|
|
|
699
802
|
},
|
|
700
803
|
"shadowOpacity": 0.2,
|
|
701
804
|
"shadowRadius": 4,
|
|
805
|
+
"start": undefined,
|
|
806
|
+
"top": undefined,
|
|
702
807
|
}
|
|
703
808
|
}
|
|
704
809
|
>
|
|
705
810
|
<View
|
|
706
811
|
style={
|
|
707
812
|
Object {
|
|
813
|
+
"alignItems": undefined,
|
|
708
814
|
"backgroundColor": "red",
|
|
709
815
|
"borderBottomWidth": undefined,
|
|
710
816
|
"borderEndWidth": undefined,
|
|
@@ -713,6 +819,8 @@ exports[`Shadow component tests Shadow (depth=28) 1`] = `
|
|
|
713
819
|
"borderStartWidth": undefined,
|
|
714
820
|
"borderTopWidth": undefined,
|
|
715
821
|
"borderWidth": undefined,
|
|
822
|
+
"flexDirection": undefined,
|
|
823
|
+
"flexWrap": undefined,
|
|
716
824
|
"padding": undefined,
|
|
717
825
|
"paddingBottom": undefined,
|
|
718
826
|
"paddingEnd": undefined,
|
|
@@ -744,6 +852,9 @@ exports[`Shadow component tests Shadow (depth=64) 1`] = `
|
|
|
744
852
|
style={
|
|
745
853
|
Object {
|
|
746
854
|
"backgroundColor": "red",
|
|
855
|
+
"bottom": undefined,
|
|
856
|
+
"end": undefined,
|
|
857
|
+
"left": undefined,
|
|
747
858
|
"margin": undefined,
|
|
748
859
|
"marginBottom": undefined,
|
|
749
860
|
"marginEnd": undefined,
|
|
@@ -753,6 +864,7 @@ exports[`Shadow component tests Shadow (depth=64) 1`] = `
|
|
|
753
864
|
"marginStart": undefined,
|
|
754
865
|
"marginTop": undefined,
|
|
755
866
|
"marginVertical": undefined,
|
|
867
|
+
"right": undefined,
|
|
756
868
|
"shadowColor": "#000000",
|
|
757
869
|
"shadowOffset": Object {
|
|
758
870
|
"height": 0,
|
|
@@ -760,12 +872,15 @@ exports[`Shadow component tests Shadow (depth=64) 1`] = `
|
|
|
760
872
|
},
|
|
761
873
|
"shadowOpacity": 0.2,
|
|
762
874
|
"shadowRadius": 4,
|
|
875
|
+
"start": undefined,
|
|
876
|
+
"top": undefined,
|
|
763
877
|
}
|
|
764
878
|
}
|
|
765
879
|
>
|
|
766
880
|
<View
|
|
767
881
|
style={
|
|
768
882
|
Object {
|
|
883
|
+
"alignItems": undefined,
|
|
769
884
|
"backgroundColor": "red",
|
|
770
885
|
"borderBottomWidth": undefined,
|
|
771
886
|
"borderEndWidth": undefined,
|
|
@@ -774,6 +889,8 @@ exports[`Shadow component tests Shadow (depth=64) 1`] = `
|
|
|
774
889
|
"borderStartWidth": undefined,
|
|
775
890
|
"borderTopWidth": undefined,
|
|
776
891
|
"borderWidth": undefined,
|
|
892
|
+
"flexDirection": undefined,
|
|
893
|
+
"flexWrap": undefined,
|
|
777
894
|
"padding": undefined,
|
|
778
895
|
"paddingBottom": undefined,
|
|
779
896
|
"paddingEnd": undefined,
|
|
@@ -806,6 +923,9 @@ exports[`Shadow component tests Shadow on a child with border radius 1`] = `
|
|
|
806
923
|
Object {
|
|
807
924
|
"backgroundColor": "red",
|
|
808
925
|
"borderRadius": 2,
|
|
926
|
+
"bottom": undefined,
|
|
927
|
+
"end": undefined,
|
|
928
|
+
"left": undefined,
|
|
809
929
|
"margin": undefined,
|
|
810
930
|
"marginBottom": undefined,
|
|
811
931
|
"marginEnd": undefined,
|
|
@@ -815,6 +935,7 @@ exports[`Shadow component tests Shadow on a child with border radius 1`] = `
|
|
|
815
935
|
"marginStart": undefined,
|
|
816
936
|
"marginTop": undefined,
|
|
817
937
|
"marginVertical": undefined,
|
|
938
|
+
"right": undefined,
|
|
818
939
|
"shadowColor": "#000000",
|
|
819
940
|
"shadowOffset": Object {
|
|
820
941
|
"height": 0,
|
|
@@ -822,12 +943,15 @@ exports[`Shadow component tests Shadow on a child with border radius 1`] = `
|
|
|
822
943
|
},
|
|
823
944
|
"shadowOpacity": 0.12,
|
|
824
945
|
"shadowRadius": 1,
|
|
946
|
+
"start": undefined,
|
|
947
|
+
"top": undefined,
|
|
825
948
|
}
|
|
826
949
|
}
|
|
827
950
|
>
|
|
828
951
|
<View
|
|
829
952
|
style={
|
|
830
953
|
Object {
|
|
954
|
+
"alignItems": undefined,
|
|
831
955
|
"backgroundColor": "red",
|
|
832
956
|
"borderBottomWidth": undefined,
|
|
833
957
|
"borderEndWidth": undefined,
|
|
@@ -837,6 +961,8 @@ exports[`Shadow component tests Shadow on a child with border radius 1`] = `
|
|
|
837
961
|
"borderStartWidth": undefined,
|
|
838
962
|
"borderTopWidth": undefined,
|
|
839
963
|
"borderWidth": undefined,
|
|
964
|
+
"flexDirection": undefined,
|
|
965
|
+
"flexWrap": undefined,
|
|
840
966
|
"padding": undefined,
|
|
841
967
|
"paddingBottom": undefined,
|
|
842
968
|
"paddingEnd": undefined,
|
|
@@ -868,6 +994,9 @@ exports[`Shadow component tests Shadow on a child with border width 1`] = `
|
|
|
868
994
|
style={
|
|
869
995
|
Object {
|
|
870
996
|
"backgroundColor": "red",
|
|
997
|
+
"bottom": undefined,
|
|
998
|
+
"end": undefined,
|
|
999
|
+
"left": undefined,
|
|
871
1000
|
"margin": undefined,
|
|
872
1001
|
"marginBottom": undefined,
|
|
873
1002
|
"marginEnd": undefined,
|
|
@@ -877,6 +1006,7 @@ exports[`Shadow component tests Shadow on a child with border width 1`] = `
|
|
|
877
1006
|
"marginStart": undefined,
|
|
878
1007
|
"marginTop": undefined,
|
|
879
1008
|
"marginVertical": undefined,
|
|
1009
|
+
"right": undefined,
|
|
880
1010
|
"shadowColor": "#000000",
|
|
881
1011
|
"shadowOffset": Object {
|
|
882
1012
|
"height": 0,
|
|
@@ -884,12 +1014,15 @@ exports[`Shadow component tests Shadow on a child with border width 1`] = `
|
|
|
884
1014
|
},
|
|
885
1015
|
"shadowOpacity": 0.12,
|
|
886
1016
|
"shadowRadius": 1,
|
|
1017
|
+
"start": undefined,
|
|
1018
|
+
"top": undefined,
|
|
887
1019
|
}
|
|
888
1020
|
}
|
|
889
1021
|
>
|
|
890
1022
|
<View
|
|
891
1023
|
style={
|
|
892
1024
|
Object {
|
|
1025
|
+
"alignItems": undefined,
|
|
893
1026
|
"backgroundColor": "red",
|
|
894
1027
|
"borderBottomWidth": undefined,
|
|
895
1028
|
"borderEndWidth": undefined,
|
|
@@ -898,6 +1031,8 @@ exports[`Shadow component tests Shadow on a child with border width 1`] = `
|
|
|
898
1031
|
"borderStartWidth": undefined,
|
|
899
1032
|
"borderTopWidth": undefined,
|
|
900
1033
|
"borderWidth": 2,
|
|
1034
|
+
"flexDirection": undefined,
|
|
1035
|
+
"flexWrap": undefined,
|
|
901
1036
|
"padding": undefined,
|
|
902
1037
|
"paddingBottom": undefined,
|
|
903
1038
|
"paddingEnd": undefined,
|
|
@@ -929,6 +1064,9 @@ exports[`Shadow component tests Shadow on a child with margin and padding 1`] =
|
|
|
929
1064
|
style={
|
|
930
1065
|
Object {
|
|
931
1066
|
"backgroundColor": "red",
|
|
1067
|
+
"bottom": undefined,
|
|
1068
|
+
"end": undefined,
|
|
1069
|
+
"left": undefined,
|
|
932
1070
|
"margin": 2,
|
|
933
1071
|
"marginBottom": undefined,
|
|
934
1072
|
"marginEnd": undefined,
|
|
@@ -938,6 +1076,7 @@ exports[`Shadow component tests Shadow on a child with margin and padding 1`] =
|
|
|
938
1076
|
"marginStart": undefined,
|
|
939
1077
|
"marginTop": undefined,
|
|
940
1078
|
"marginVertical": undefined,
|
|
1079
|
+
"right": undefined,
|
|
941
1080
|
"shadowColor": "#000000",
|
|
942
1081
|
"shadowOffset": Object {
|
|
943
1082
|
"height": 0,
|
|
@@ -945,12 +1084,15 @@ exports[`Shadow component tests Shadow on a child with margin and padding 1`] =
|
|
|
945
1084
|
},
|
|
946
1085
|
"shadowOpacity": 0.12,
|
|
947
1086
|
"shadowRadius": 1,
|
|
1087
|
+
"start": undefined,
|
|
1088
|
+
"top": undefined,
|
|
948
1089
|
}
|
|
949
1090
|
}
|
|
950
1091
|
>
|
|
951
1092
|
<View
|
|
952
1093
|
style={
|
|
953
1094
|
Object {
|
|
1095
|
+
"alignItems": undefined,
|
|
954
1096
|
"backgroundColor": "red",
|
|
955
1097
|
"borderBottomWidth": undefined,
|
|
956
1098
|
"borderEndWidth": undefined,
|
|
@@ -959,6 +1101,8 @@ exports[`Shadow component tests Shadow on a child with margin and padding 1`] =
|
|
|
959
1101
|
"borderStartWidth": undefined,
|
|
960
1102
|
"borderTopWidth": undefined,
|
|
961
1103
|
"borderWidth": undefined,
|
|
1104
|
+
"flexDirection": undefined,
|
|
1105
|
+
"flexWrap": undefined,
|
|
962
1106
|
"padding": 2,
|
|
963
1107
|
"paddingBottom": undefined,
|
|
964
1108
|
"paddingEnd": undefined,
|