@hero-design/rn 8.99.1 → 8.99.3
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/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +14 -0
- package/es/index.js +29 -27
- package/lib/index.js +29 -27
- package/package.json +1 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +45 -96
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +15 -32
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +15 -32
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +30 -64
- package/src/components/RichTextEditor/RichTextEditor.tsx +3 -11
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +30 -64
- package/src/components/Select/MultiSelect/OptionList.tsx +6 -4
- package/src/components/Select/MultiSelect/__tests__/OptionList.spec.tsx +45 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +106 -225
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +40 -0
- package/src/components/Select/MultiSelect/__tests__/utils.spec.ts +31 -0
- package/src/components/Select/MultiSelect/index.tsx +3 -2
- package/src/components/Select/MultiSelect/utils.ts +12 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +91 -193
- package/src/components/TextInput/StyledTextInput.tsx +8 -9
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +42 -122
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +246 -520
- package/src/components/TextInput/index.tsx +3 -11
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +30 -64
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +30 -64
- package/stats/8.99.2/rn-stats.html +4842 -0
- package/stats/8.99.3/rn-stats.html +4844 -0
- package/types/components/Select/MultiSelect/utils.d.ts +2 -0
- package/types/components/TextInput/StyledTextInput.d.ts +5 -2
|
@@ -8,40 +8,24 @@ exports[`LabelInsideTextInput renders correctly with themeState default 1`] = `
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
>
|
|
11
|
-
<
|
|
12
|
-
allowFontScaling={false}
|
|
11
|
+
<View
|
|
13
12
|
style={
|
|
14
13
|
[
|
|
15
14
|
{
|
|
15
|
+
"alignContent": "center",
|
|
16
|
+
"alignItems": "center",
|
|
16
17
|
"color": "#001f23",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"lineHeight": 24,
|
|
18
|
+
"flexDirection": "row",
|
|
19
|
+
"marginTop": -2,
|
|
20
|
+
"textAlignVertical": "center",
|
|
21
21
|
},
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
"alignContent": "center",
|
|
25
|
-
"alignItems": "center",
|
|
26
|
-
"color": "#001f23",
|
|
27
|
-
"left": 0,
|
|
28
|
-
"marginTop": -2,
|
|
29
|
-
"position": "absolute",
|
|
30
|
-
"textAlignVertical": "center",
|
|
31
|
-
"top": "50%",
|
|
32
|
-
"zIndex": 1,
|
|
33
|
-
},
|
|
34
|
-
undefined,
|
|
35
|
-
],
|
|
22
|
+
undefined,
|
|
36
23
|
]
|
|
37
24
|
}
|
|
38
|
-
themeIntent="body"
|
|
39
25
|
themeState="default"
|
|
40
|
-
themeTypeface="neutral"
|
|
41
|
-
themeVariant="regular"
|
|
42
26
|
>
|
|
43
27
|
Label
|
|
44
|
-
</
|
|
28
|
+
</View>
|
|
45
29
|
<View
|
|
46
30
|
pointerEvents="box-none"
|
|
47
31
|
position="bottom"
|
|
@@ -73,40 +57,24 @@ exports[`LabelInsideTextInput renders correctly with themeState disabled 1`] = `
|
|
|
73
57
|
}
|
|
74
58
|
}
|
|
75
59
|
>
|
|
76
|
-
<
|
|
77
|
-
allowFontScaling={false}
|
|
60
|
+
<View
|
|
78
61
|
style={
|
|
79
62
|
[
|
|
80
63
|
{
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
64
|
+
"alignContent": "center",
|
|
65
|
+
"alignItems": "center",
|
|
66
|
+
"color": "#bfc1c5",
|
|
67
|
+
"flexDirection": "row",
|
|
68
|
+
"marginTop": -2,
|
|
69
|
+
"textAlignVertical": "center",
|
|
86
70
|
},
|
|
87
|
-
|
|
88
|
-
{
|
|
89
|
-
"alignContent": "center",
|
|
90
|
-
"alignItems": "center",
|
|
91
|
-
"color": "#bfc1c5",
|
|
92
|
-
"left": 0,
|
|
93
|
-
"marginTop": -2,
|
|
94
|
-
"position": "absolute",
|
|
95
|
-
"textAlignVertical": "center",
|
|
96
|
-
"top": "50%",
|
|
97
|
-
"zIndex": 1,
|
|
98
|
-
},
|
|
99
|
-
undefined,
|
|
100
|
-
],
|
|
71
|
+
undefined,
|
|
101
72
|
]
|
|
102
73
|
}
|
|
103
|
-
themeIntent="body"
|
|
104
74
|
themeState="disabled"
|
|
105
|
-
themeTypeface="neutral"
|
|
106
|
-
themeVariant="regular"
|
|
107
75
|
>
|
|
108
76
|
Label
|
|
109
|
-
</
|
|
77
|
+
</View>
|
|
110
78
|
<View
|
|
111
79
|
pointerEvents="box-none"
|
|
112
80
|
position="bottom"
|
|
@@ -138,40 +106,24 @@ exports[`LabelInsideTextInput renders correctly with themeState error 1`] = `
|
|
|
138
106
|
}
|
|
139
107
|
}
|
|
140
108
|
>
|
|
141
|
-
<
|
|
142
|
-
allowFontScaling={false}
|
|
109
|
+
<View
|
|
143
110
|
style={
|
|
144
111
|
[
|
|
145
112
|
{
|
|
113
|
+
"alignContent": "center",
|
|
114
|
+
"alignItems": "center",
|
|
146
115
|
"color": "#001f23",
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"lineHeight": 24,
|
|
116
|
+
"flexDirection": "row",
|
|
117
|
+
"marginTop": -2,
|
|
118
|
+
"textAlignVertical": "center",
|
|
151
119
|
},
|
|
152
|
-
|
|
153
|
-
{
|
|
154
|
-
"alignContent": "center",
|
|
155
|
-
"alignItems": "center",
|
|
156
|
-
"color": "#001f23",
|
|
157
|
-
"left": 0,
|
|
158
|
-
"marginTop": -2,
|
|
159
|
-
"position": "absolute",
|
|
160
|
-
"textAlignVertical": "center",
|
|
161
|
-
"top": "50%",
|
|
162
|
-
"zIndex": 1,
|
|
163
|
-
},
|
|
164
|
-
undefined,
|
|
165
|
-
],
|
|
120
|
+
undefined,
|
|
166
121
|
]
|
|
167
122
|
}
|
|
168
|
-
themeIntent="body"
|
|
169
123
|
themeState="error"
|
|
170
|
-
themeTypeface="neutral"
|
|
171
|
-
themeVariant="regular"
|
|
172
124
|
>
|
|
173
125
|
Label
|
|
174
|
-
</
|
|
126
|
+
</View>
|
|
175
127
|
<View
|
|
176
128
|
pointerEvents="box-none"
|
|
177
129
|
position="bottom"
|
|
@@ -203,40 +155,24 @@ exports[`LabelInsideTextInput renders correctly with themeState filled 1`] = `
|
|
|
203
155
|
}
|
|
204
156
|
}
|
|
205
157
|
>
|
|
206
|
-
<
|
|
207
|
-
allowFontScaling={false}
|
|
158
|
+
<View
|
|
208
159
|
style={
|
|
209
160
|
[
|
|
210
161
|
{
|
|
162
|
+
"alignContent": "center",
|
|
163
|
+
"alignItems": "center",
|
|
211
164
|
"color": "#001f23",
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"lineHeight": 24,
|
|
165
|
+
"flexDirection": "row",
|
|
166
|
+
"marginTop": -2,
|
|
167
|
+
"textAlignVertical": "center",
|
|
216
168
|
},
|
|
217
|
-
|
|
218
|
-
{
|
|
219
|
-
"alignContent": "center",
|
|
220
|
-
"alignItems": "center",
|
|
221
|
-
"color": "#001f23",
|
|
222
|
-
"left": 0,
|
|
223
|
-
"marginTop": -2,
|
|
224
|
-
"position": "absolute",
|
|
225
|
-
"textAlignVertical": "center",
|
|
226
|
-
"top": "50%",
|
|
227
|
-
"zIndex": 1,
|
|
228
|
-
},
|
|
229
|
-
undefined,
|
|
230
|
-
],
|
|
169
|
+
undefined,
|
|
231
170
|
]
|
|
232
171
|
}
|
|
233
|
-
themeIntent="body"
|
|
234
172
|
themeState="filled"
|
|
235
|
-
themeTypeface="neutral"
|
|
236
|
-
themeVariant="regular"
|
|
237
173
|
>
|
|
238
174
|
Label
|
|
239
|
-
</
|
|
175
|
+
</View>
|
|
240
176
|
<View
|
|
241
177
|
pointerEvents="box-none"
|
|
242
178
|
position="bottom"
|
|
@@ -268,40 +204,24 @@ exports[`LabelInsideTextInput renders correctly with themeState readonly 1`] = `
|
|
|
268
204
|
}
|
|
269
205
|
}
|
|
270
206
|
>
|
|
271
|
-
<
|
|
272
|
-
allowFontScaling={false}
|
|
207
|
+
<View
|
|
273
208
|
style={
|
|
274
209
|
[
|
|
275
210
|
{
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"
|
|
211
|
+
"alignContent": "center",
|
|
212
|
+
"alignItems": "center",
|
|
213
|
+
"color": "#808f91",
|
|
214
|
+
"flexDirection": "row",
|
|
215
|
+
"marginTop": -2,
|
|
216
|
+
"textAlignVertical": "center",
|
|
281
217
|
},
|
|
282
|
-
|
|
283
|
-
{
|
|
284
|
-
"alignContent": "center",
|
|
285
|
-
"alignItems": "center",
|
|
286
|
-
"color": "#808f91",
|
|
287
|
-
"left": 0,
|
|
288
|
-
"marginTop": -2,
|
|
289
|
-
"position": "absolute",
|
|
290
|
-
"textAlignVertical": "center",
|
|
291
|
-
"top": "50%",
|
|
292
|
-
"zIndex": 1,
|
|
293
|
-
},
|
|
294
|
-
undefined,
|
|
295
|
-
],
|
|
218
|
+
undefined,
|
|
296
219
|
]
|
|
297
220
|
}
|
|
298
|
-
themeIntent="body"
|
|
299
221
|
themeState="readonly"
|
|
300
|
-
themeTypeface="neutral"
|
|
301
|
-
themeVariant="regular"
|
|
302
222
|
>
|
|
303
223
|
Label
|
|
304
|
-
</
|
|
224
|
+
</View>
|
|
305
225
|
<View
|
|
306
226
|
pointerEvents="box-none"
|
|
307
227
|
position="bottom"
|