@hero-design/rn 7.23.0 → 7.24.0

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 (73) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +857 -8825
  4. package/lib/assets/fonts/hero-icons.ttf +0 -0
  5. package/lib/index.js +858 -8824
  6. package/package.json +6 -4
  7. package/rollup.config.js +1 -0
  8. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
  9. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +1 -0
  10. package/src/components/Empty/index.tsx +1 -2
  11. package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
  12. package/src/components/Icon/HeroIcon/glyphMap.json +1 -0
  13. package/src/components/Icon/HeroIcon/index.tsx +3 -7
  14. package/src/components/Icon/IconList.ts +8 -5
  15. package/src/components/Icon/index.tsx +1 -0
  16. package/src/components/RichTextEditor/RichTextEditor.tsx +1 -4
  17. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -0
  18. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
  19. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
  20. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
  21. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
  22. package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
  23. package/src/components/Spinner/StyledSpinner.tsx +16 -11
  24. package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +3 -1
  25. package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +42 -31
  26. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
  27. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +532 -72
  28. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
  29. package/src/components/Spinner/index.tsx +6 -1
  30. package/src/components/Swipeable/StyledSwipeable.tsx +11 -0
  31. package/src/components/Swipeable/SwipeableAction.tsx +45 -0
  32. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +37 -0
  33. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +130 -0
  34. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +33 -0
  35. package/src/components/Swipeable/__tests__/index.spec.tsx +34 -0
  36. package/src/components/Swipeable/index.tsx +148 -0
  37. package/src/components/TextInput/StyledTextInput.tsx +6 -12
  38. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +12 -6
  39. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -138
  40. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
  41. package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
  42. package/src/components/TextInput/index.tsx +7 -6
  43. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
  44. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -0
  45. package/src/index.ts +4 -0
  46. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +11 -6
  47. package/src/theme/components/spinner.ts +4 -1
  48. package/src/theme/components/swipeable.ts +13 -0
  49. package/src/theme/components/textInput.ts +0 -5
  50. package/src/theme/getTheme.ts +3 -0
  51. package/src/theme/global/colors/jobs.ts +0 -1
  52. package/src/theme/global/colors/work.ts +0 -2
  53. package/src/types.ts +2 -0
  54. package/testUtils/setup.tsx +13 -0
  55. package/types/components/Empty/index.d.ts +1 -2
  56. package/types/components/Icon/IconList.d.ts +1 -1
  57. package/types/components/Icon/index.d.ts +4 -1
  58. package/types/components/Icon/utils.d.ts +1 -1
  59. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  60. package/types/components/Spinner/StyledSpinner.d.ts +1 -0
  61. package/types/components/Spinner/index.d.ts +5 -1
  62. package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
  63. package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
  64. package/types/components/Swipeable/index.d.ts +41 -0
  65. package/types/components/TextInput/StyledTextInput.d.ts +2 -1
  66. package/types/components/TextInput/index.d.ts +1 -1
  67. package/types/index.d.ts +3 -2
  68. package/types/theme/components/spinner.d.ts +4 -1
  69. package/types/theme/components/swipeable.d.ts +9 -0
  70. package/types/theme/components/textInput.d.ts +0 -5
  71. package/types/theme/getTheme.d.ts +2 -0
  72. package/types/types.d.ts +2 -1
  73. package/src/components/Icon/HeroIcon/selection.json +0 -7029
@@ -38,12 +38,13 @@ exports[`AnimatedSpinner renders correctly 1`] = `
38
38
  "backgroundColor": "#001f23",
39
39
  "borderRadius": 999,
40
40
  "height": 16,
41
- "opacity": 1,
41
+ "opacity": 0.9,
42
42
  "width": 16,
43
43
  },
44
44
  Object {},
45
45
  ]
46
46
  }
47
+ themeIntent="primary"
47
48
  themePosition="topLeft"
48
49
  themeSize="medium"
49
50
  />
@@ -57,12 +58,13 @@ exports[`AnimatedSpinner renders correctly 1`] = `
57
58
  "borderRadius": 999,
58
59
  "height": 16,
59
60
  "marginLeft": 8,
60
- "opacity": 0.75,
61
+ "opacity": 0.675,
61
62
  "width": 16,
62
63
  },
63
64
  Object {},
64
65
  ]
65
66
  }
67
+ themeIntent="primary"
66
68
  themePosition="topRight"
67
69
  themeSize="medium"
68
70
  />
@@ -91,12 +93,13 @@ exports[`AnimatedSpinner renders correctly 1`] = `
91
93
  "backgroundColor": "#001f23",
92
94
  "borderRadius": 999,
93
95
  "height": 16,
94
- "opacity": 0.5,
96
+ "opacity": 0.45,
95
97
  "width": 16,
96
98
  },
97
99
  Object {},
98
100
  ]
99
101
  }
102
+ themeIntent="primary"
100
103
  themePosition="bottomLeft"
101
104
  themeSize="medium"
102
105
  />
@@ -110,12 +113,13 @@ exports[`AnimatedSpinner renders correctly 1`] = `
110
113
  "borderRadius": 999,
111
114
  "height": 16,
112
115
  "marginLeft": 8,
113
- "opacity": 0.25,
116
+ "opacity": 0.225,
114
117
  "width": 16,
115
118
  },
116
119
  Object {},
117
120
  ]
118
121
  }
122
+ themeIntent="primary"
119
123
  themePosition="bottomRight"
120
124
  themeSize="medium"
121
125
  />