@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.
Files changed (42) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/es/index.js +62 -62
  3. package/lib/index.js +61 -61
  4. package/package.json +4 -4
  5. package/src/components/BottomSheet/StyledBottomSheet.tsx +10 -0
  6. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +326 -292
  7. package/src/components/BottomSheet/index.tsx +46 -26
  8. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -18
  9. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +180 -177
  10. package/src/components/List/StyledBasicListItem.tsx +1 -0
  11. package/src/components/List/__tests__/BasicListItem.spec.tsx +37 -13
  12. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +162 -1
  13. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +6 -2
  14. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
  15. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +3 -1
  16. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +4 -1
  17. package/src/components/RichTextEditor/RichTextEditor.tsx +1 -3
  18. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +8 -36
  19. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
  20. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +17 -5
  21. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +4712 -4669
  22. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
  23. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +16 -4
  24. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +4285 -4242
  25. package/src/components/TextInput/StyledTextInput.tsx +11 -16
  26. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
  27. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +18 -36
  28. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +55 -237
  29. package/src/components/TextInput/index.tsx +27 -27
  30. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -18
  31. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +180 -177
  32. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -2
  33. package/src/theme/components/list.ts +5 -2
  34. package/src/theme/global/colors/swag.ts +1 -0
  35. package/src/theme/global/colors/types.ts +1 -0
  36. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -2
  37. package/types/components/BottomSheet/index.d.ts +6 -1
  38. package/types/components/TextInput/StyledTextInput.d.ts +3 -9
  39. package/types/components/TextInput/index.d.ts +4 -4
  40. package/types/theme/components/list.d.ts +1 -0
  41. package/types/theme/global/colors/types.d.ts +1 -0
  42. package/types/theme/global/index.d.ts +1 -0
@@ -20,7 +20,8 @@ exports[`Option renders correctly 1`] = `
20
20
  Array [
21
21
  Object {
22
22
  "alignItems": "center",
23
- "backgroundColor": "#f3e6f6",
23
+ "backgroundColor": "#ECE8EF",
24
+ "borderRadius": 4,
24
25
  "flexDirection": "row",
25
26
  "opacity": 1,
26
27
  "padding": 16,
@@ -198,7 +198,8 @@ exports[`OptionList render isLoading correctly 1`] = `
198
198
  Array [
199
199
  Object {
200
200
  "alignItems": "center",
201
- "backgroundColor": "#f3e6f6",
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": "#f3e6f6",
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": "#f3e6f6",
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": "#f3e6f6",
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,