@hero-design/rn 7.22.0 → 7.22.2
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 +2 -2
- package/es/index.js +62 -62
- package/lib/index.js +61 -61
- package/package.json +4 -4
- package/src/components/BottomSheet/StyledBottomSheet.tsx +10 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +326 -292
- package/src/components/BottomSheet/index.tsx +46 -26
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -18
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +180 -177
- package/src/components/List/StyledBasicListItem.tsx +1 -0
- package/src/components/List/__tests__/BasicListItem.spec.tsx +37 -13
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +162 -1
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +6 -2
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +3 -1
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +4 -1
- package/src/components/RichTextEditor/RichTextEditor.tsx +1 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +8 -36
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +17 -5
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +4712 -4669
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +16 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +4285 -4242
- package/src/components/TextInput/StyledTextInput.tsx +11 -16
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +18 -36
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +55 -237
- package/src/components/TextInput/index.tsx +27 -27
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -18
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +180 -177
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -2
- package/src/theme/components/list.ts +5 -2
- package/src/theme/global/colors/swag.ts +1 -0
- package/src/theme/global/colors/types.ts +1 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -2
- package/types/components/BottomSheet/index.d.ts +6 -1
- package/types/components/TextInput/StyledTextInput.d.ts +3 -9
- package/types/components/TextInput/index.d.ts +4 -4
- package/types/theme/components/list.d.ts +1 -0
- package/types/theme/global/colors/types.d.ts +1 -0
- package/types/theme/global/index.d.ts +1 -0
|
@@ -198,7 +198,8 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
198
198
|
Array [
|
|
199
199
|
Object {
|
|
200
200
|
"alignItems": "center",
|
|
201
|
-
"backgroundColor": "#
|
|
201
|
+
"backgroundColor": "#ECE8EF",
|
|
202
|
+
"borderRadius": 4,
|
|
202
203
|
"flexDirection": "row",
|
|
203
204
|
"opacity": 1,
|
|
204
205
|
"padding": 16,
|
|
@@ -423,6 +424,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
423
424
|
Object {
|
|
424
425
|
"alignItems": "center",
|
|
425
426
|
"backgroundColor": "#ffffff",
|
|
427
|
+
"borderRadius": 4,
|
|
426
428
|
"flexDirection": "row",
|
|
427
429
|
"opacity": 1,
|
|
428
430
|
"padding": 16,
|
|
@@ -540,6 +542,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
540
542
|
Object {
|
|
541
543
|
"alignItems": "center",
|
|
542
544
|
"backgroundColor": "#ffffff",
|
|
545
|
+
"borderRadius": 4,
|
|
543
546
|
"flexDirection": "row",
|
|
544
547
|
"opacity": 1,
|
|
545
548
|
"padding": 16,
|
|
@@ -972,7 +975,8 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
972
975
|
Array [
|
|
973
976
|
Object {
|
|
974
977
|
"alignItems": "center",
|
|
975
|
-
"backgroundColor": "#
|
|
978
|
+
"backgroundColor": "#ECE8EF",
|
|
979
|
+
"borderRadius": 4,
|
|
976
980
|
"flexDirection": "row",
|
|
977
981
|
"opacity": 1,
|
|
978
982
|
"padding": 16,
|
|
@@ -1197,6 +1201,7 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1197
1201
|
Object {
|
|
1198
1202
|
"alignItems": "center",
|
|
1199
1203
|
"backgroundColor": "#ffffff",
|
|
1204
|
+
"borderRadius": 4,
|
|
1200
1205
|
"flexDirection": "row",
|
|
1201
1206
|
"opacity": 1,
|
|
1202
1207
|
"padding": 16,
|
|
@@ -1314,6 +1319,7 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1314
1319
|
Object {
|
|
1315
1320
|
"alignItems": "center",
|
|
1316
1321
|
"backgroundColor": "#ffffff",
|
|
1322
|
+
"borderRadius": 4,
|
|
1317
1323
|
"flexDirection": "row",
|
|
1318
1324
|
"opacity": 1,
|
|
1319
1325
|
"padding": 16,
|
|
@@ -1594,7 +1600,8 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1594
1600
|
Array [
|
|
1595
1601
|
Object {
|
|
1596
1602
|
"alignItems": "center",
|
|
1597
|
-
"backgroundColor": "#
|
|
1603
|
+
"backgroundColor": "#ECE8EF",
|
|
1604
|
+
"borderRadius": 4,
|
|
1598
1605
|
"flexDirection": "row",
|
|
1599
1606
|
"opacity": 1,
|
|
1600
1607
|
"padding": 16,
|
|
@@ -1819,6 +1826,7 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1819
1826
|
Object {
|
|
1820
1827
|
"alignItems": "center",
|
|
1821
1828
|
"backgroundColor": "#ffffff",
|
|
1829
|
+
"borderRadius": 4,
|
|
1822
1830
|
"flexDirection": "row",
|
|
1823
1831
|
"opacity": 1,
|
|
1824
1832
|
"padding": 16,
|
|
@@ -1936,6 +1944,7 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
|
|
|
1936
1944
|
Object {
|
|
1937
1945
|
"alignItems": "center",
|
|
1938
1946
|
"backgroundColor": "#ffffff",
|
|
1947
|
+
"borderRadius": 4,
|
|
1939
1948
|
"flexDirection": "row",
|
|
1940
1949
|
"opacity": 1,
|
|
1941
1950
|
"padding": 16,
|
|
@@ -2216,7 +2225,8 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2216
2225
|
Array [
|
|
2217
2226
|
Object {
|
|
2218
2227
|
"alignItems": "center",
|
|
2219
|
-
"backgroundColor": "#
|
|
2228
|
+
"backgroundColor": "#ECE8EF",
|
|
2229
|
+
"borderRadius": 4,
|
|
2220
2230
|
"flexDirection": "row",
|
|
2221
2231
|
"opacity": 1,
|
|
2222
2232
|
"padding": 16,
|
|
@@ -2441,6 +2451,7 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2441
2451
|
Object {
|
|
2442
2452
|
"alignItems": "center",
|
|
2443
2453
|
"backgroundColor": "#ffffff",
|
|
2454
|
+
"borderRadius": 4,
|
|
2444
2455
|
"flexDirection": "row",
|
|
2445
2456
|
"opacity": 1,
|
|
2446
2457
|
"padding": 16,
|
|
@@ -2558,6 +2569,7 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
|
|
|
2558
2569
|
Object {
|
|
2559
2570
|
"alignItems": "center",
|
|
2560
2571
|
"backgroundColor": "#ffffff",
|
|
2572
|
+
"borderRadius": 4,
|
|
2561
2573
|
"flexDirection": "row",
|
|
2562
2574
|
"opacity": 1,
|
|
2563
2575
|
"padding": 16,
|