forked from akveo/react-native-ui-kitten
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.spec.tsx.snap
142 lines (135 loc) · 3.38 KB
/
style.spec.tsx.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`@style: consumer service methods check * style mapping creates valid themedStyle prop 1`] = `
Object {
"borderColor": "#8992A3",
"borderRadius": 18,
"borderWidth": 2,
"height": 36,
"highlightBackgroundColor": "#DDE1EB",
"highlightBorderRadius": 30,
"highlightHeight": 60,
"highlightWidth": 60,
"selectBackgroundColor": "transparent",
"selectBorderRadius": 12,
"selectHeight": 24,
"selectWidth": 24,
"textColor": "#c8cedb",
"textFontSize": 16,
"textFontWeight": "500",
"textMarginLeft": 12,
"width": 36,
}
`;
exports[`@style: ui component checks * default appearance styled properly 1`] = `
Object {
"borderColor": "#A6AEBD",
"borderRadius": 18,
"borderWidth": 2,
"height": 36,
"highlightBackgroundColor": "transparent",
"highlightBorderRadius": 30,
"highlightHeight": 60,
"highlightWidth": 60,
"selectBackgroundColor": "transparent",
"selectBorderRadius": 12,
"selectHeight": 24,
"selectWidth": 24,
"textColor": "#000000",
"textFontSize": 16,
"textFontWeight": "500",
"textMarginLeft": 12,
"width": 36,
}
`;
exports[`@style: ui component checks * default appearance styled properly 2`] = `
Object {
"borderColor": "#DDE1EB",
"borderRadius": 18,
"borderWidth": 2,
"height": 36,
"highlightBackgroundColor": "transparent",
"highlightBorderRadius": 30,
"highlightHeight": 60,
"highlightWidth": 60,
"selectBackgroundColor": "transparent",
"selectBorderRadius": 12,
"selectHeight": 24,
"selectWidth": 24,
"textColor": "#c8cedb",
"textFontSize": 16,
"textFontWeight": "500",
"textMarginLeft": 12,
"width": 36,
}
`;
exports[`@style: ui component checks * dispatch action works properly 1`] = `
Object {
"borderColor": "#8992A3",
"borderRadius": 18,
"borderWidth": 2,
"height": 36,
"highlightBackgroundColor": "#DDE1EB",
"highlightBorderRadius": 30,
"highlightHeight": 60,
"highlightWidth": 60,
"selectBackgroundColor": "transparent",
"selectBorderRadius": 12,
"selectHeight": 24,
"selectWidth": 24,
"textColor": "#000000",
"textFontSize": 16,
"textFontWeight": "500",
"textMarginLeft": 12,
"width": 36,
}
`;
exports[`@style: ui component checks * provides correct styles on theme change 1`] = `
Object {
"borderColor": "#A6AEBD",
"borderRadius": 18,
"borderWidth": 2,
"height": 36,
"highlightBackgroundColor": "transparent",
"highlightBorderRadius": 30,
"highlightHeight": 60,
"highlightWidth": 60,
"selectBackgroundColor": "transparent",
"selectBorderRadius": 12,
"selectHeight": 24,
"selectWidth": 24,
"textColor": "#000000",
"textFontSize": 16,
"textFontWeight": "500",
"textMarginLeft": 12,
"width": 36,
}
`;
exports[`@style: ui component checks * provides correct styles on theme change 2`] = `
Object {
"borderColor": "#A6AEBD",
"borderRadius": 18,
"borderWidth": 2,
"height": 36,
"highlightBackgroundColor": "transparent",
"highlightBorderRadius": 30,
"highlightHeight": 60,
"highlightWidth": 60,
"selectBackgroundColor": "transparent",
"selectBorderRadius": 12,
"selectHeight": 24,
"selectWidth": 24,
"textColor": "#FFFFFF",
"textFontSize": 16,
"textFontWeight": "500",
"textMarginLeft": 12,
"width": 36,
}
`;
exports[`@style-sheet: service checks * creates themedStyle property for mapping properly 1`] = `
Object {
"prop1": "#3366FF",
"prop2": "#2541CC",
"prop3": "#A6AEBD",
"prop4": 42,
}
`;