@hero-design/rn 8.134.0 → 8.135.1

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 (43) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +2302 -1748
  4. package/jest.config.js +1 -1
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +2299 -1744
  7. package/package.json +2 -2
  8. package/src/components/Calendar/CalendarRange.tsx +1 -1
  9. package/src/components/Calendar/index.tsx +1 -1
  10. package/src/components/DatePicker/hooks/useFormatDate.ts +1 -1
  11. package/src/components/DatePicker/types.ts +1 -1
  12. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  13. package/src/components/Icon/IconList.ts +0 -4
  14. package/src/components/List/BasicListItem.tsx +2 -2
  15. package/src/components/List/index.tsx +3 -0
  16. package/src/components/LocaleProvider/index.tsx +1 -1
  17. package/src/components/LocaleProvider/utils.ts +2 -3
  18. package/src/components/SectionList/SectionList.tsx +181 -0
  19. package/src/components/SectionList/StyledSectionList.tsx +65 -0
  20. package/src/components/SectionList/index.tsx +4 -0
  21. package/src/components/TimePicker/TimePickerAndroid.tsx +1 -1
  22. package/src/components/TimePicker/TimePickerIOS.tsx +1 -1
  23. package/src/components/TimePicker/types.ts +1 -1
  24. package/src/index.ts +2 -0
  25. package/src/theme/components/sectionList.ts +31 -0
  26. package/src/theme/getTheme.ts +3 -0
  27. package/src/types.ts +1 -0
  28. package/types/components/DatePicker/types.d.ts +1 -1
  29. package/types/components/Icon/IconList.d.ts +1 -1
  30. package/types/components/Icon/index.d.ts +1 -1
  31. package/types/components/List/BasicListItem.d.ts +2 -2
  32. package/types/components/List/index.d.ts +2 -0
  33. package/types/components/LocaleProvider/utils.d.ts +1 -1
  34. package/types/components/Radio/StyledRadio.d.ts +1 -1
  35. package/types/components/SectionList/SectionList.d.ts +66 -0
  36. package/types/components/SectionList/StyledSectionList.d.ts +33 -0
  37. package/types/components/SectionList/index.d.ts +3 -0
  38. package/types/components/TextInput/index.d.ts +1 -1
  39. package/types/components/TimePicker/types.d.ts +1 -1
  40. package/types/index.d.ts +2 -1
  41. package/types/theme/components/sectionList.d.ts +23 -0
  42. package/types/theme/getTheme.d.ts +2 -0
  43. package/types/types.d.ts +1 -0
package/jest.config.js CHANGED
@@ -19,6 +19,6 @@ module.exports = {
19
19
  roots: ['<rootDir>/src'],
20
20
  snapshotSerializers: ['@emotion/jest/serializer'],
21
21
  transformIgnorePatterns: [
22
- 'node_modules/(?!((jest-)?@react-native|@emotion/.*|react-native|react-native-pager-view|@react-native-community|@react-native-masked-view|expo-linear-gradient|nanoid|d3|d3-.*|internmap|delaunator|robust-predicates)/)',
22
+ 'node_modules/(?!((jest-)?@react-native|@emotion/.*|react-native|react-native-pager-view|@react-native-community|@react-native-masked-view|expo-linear-gradient|nanoid|d3|d3-.*|internmap|delaunator|robust-predicates|date-fns)/)',
23
23
  ],
24
24
  };