@hero-design/rn 8.56.1 → 8.57.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 (48) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +31 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +5240 -4333
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +5239 -4332
  7. package/package.json +7 -6
  8. package/src/components/Button/StyledButton.tsx +16 -30
  9. package/src/components/Calendar/__tests__/index.spec.tsx +5 -5
  10. package/src/components/Carousel/CardCarousel.tsx +7 -10
  11. package/src/components/Carousel/__tests__/index.spec.tsx +14 -0
  12. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +32 -29
  13. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  14. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  15. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  16. package/src/components/Icon/IconList.ts +4 -0
  17. package/src/components/PinInput/index.tsx +1 -1
  18. package/src/components/Tabs/SceneView.tsx +6 -4
  19. package/src/components/Tabs/ScrollableTabs.tsx +8 -2
  20. package/src/components/Tabs/{ScrollableTabsHeader.tsx → ScrollableTabsHeader/ScrollableTabsHeader.tsx} +73 -42
  21. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.ts +45 -0
  22. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.ts +91 -0
  23. package/src/components/Tabs/StyledScrollableTabs.tsx +14 -3
  24. package/src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx +7 -3
  25. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +42 -6
  26. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +623 -3
  27. package/src/components/Tabs/__tests__/useInitHighlightedAnimation.spec.tsx +56 -0
  28. package/src/components/Tabs/__tests__/useInitUnderlinedAnimation.spec.tsx +65 -0
  29. package/src/components/TextInput/__tests__/index.spec.tsx +148 -1
  30. package/src/components/TextInput/index.tsx +135 -57
  31. package/src/components/Toast/ToastContext.ts +20 -2
  32. package/src/components/Toast/ToastProvider.tsx +7 -4
  33. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +2 -2
  34. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  35. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
  36. package/src/theme/components/typography.ts +1 -1
  37. package/types/components/Carousel/CardCarousel.d.ts +1 -0
  38. package/types/components/Icon/IconList.d.ts +1 -1
  39. package/types/components/Icon/index.d.ts +1 -1
  40. package/types/components/Icon/utils.d.ts +1 -1
  41. package/types/components/Tabs/ScrollableTabs.d.ts +4 -1
  42. package/types/components/Tabs/{ScrollableTabsHeader.d.ts → ScrollableTabsHeader/ScrollableTabsHeader.d.ts} +7 -3
  43. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +9 -0
  44. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +10 -0
  45. package/types/components/Tabs/StyledScrollableTabs.d.ts +5 -1
  46. package/types/components/Tabs/index.d.ts +1 -1
  47. package/types/components/TextInput/index.d.ts +29 -1
  48. package/types/components/Toast/ToastContext.d.ts +1 -0
@@ -2,4 +2,4 @@
2
2
  src/index.ts → lib/index.js, es/index.js...
3
3
  (!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
4
4
  (!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
5
- created lib/index.js, es/index.js in 43.9s
5
+ created lib/index.js, es/index.js in 57.2s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.57.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2717](https://github.com/Thinkei/hero-design/pull/2717) [`7d56b99af`](https://github.com/Thinkei/hero-design/commit/7d56b99afa8cf585f78c2aba57e97817f9365441) Thanks [@ttkien](https://github.com/ttkien)! - refactor card carousel to reduce cognitive comlexity to 15
8
+
9
+ - [#2738](https://github.com/Thinkei/hero-design/pull/2738) [`819421b35`](https://github.com/Thinkei/hero-design/commit/819421b357b3e87f36326759c636b9958622215c) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - Upgrade Expo SDK to 49
10
+
11
+ - [#2719](https://github.com/Thinkei/hero-design/pull/2719) [`6985126e1`](https://github.com/Thinkei/hero-design/commit/6985126e14c4a1e43d9daf029afcbf21937d040e) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput] refactor code
12
+
13
+ - [#2716](https://github.com/Thinkei/hero-design/pull/2716) [`481838499`](https://github.com/Thinkei/hero-design/commit/4818384992a154a309b6c66099069822082f2f77) Thanks [@phucdph](https://github.com/phucdph)! - Fix typing issue
14
+
15
+ - Updated dependencies [[`819421b35`](https://github.com/Thinkei/hero-design/commit/819421b357b3e87f36326759c636b9958622215c)]:
16
+ - @hero-design/react-native-month-year-picker@8.42.7
17
+
18
+ ## 8.57.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#2708](https://github.com/Thinkei/hero-design/pull/2708) [`9e6e0f4ca`](https://github.com/Thinkei/hero-design/commit/9e6e0f4ca9495ba9834926da6c5b05a8d0b093a0) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Tabs.Scroll] Add variant prop and underlined variant
23
+
24
+ - [#2715](https://github.com/Thinkei/hero-design/pull/2715) [`28295d111`](https://github.com/Thinkei/hero-design/commit/28295d1110f158644f3711c154102d0a3f8e8e7d) Thanks [@dangkhoa2708](https://github.com/dangkhoa2708)! - Add new icon: map-outlined
25
+
26
+ - [#2706](https://github.com/Thinkei/hero-design/pull/2706) [`5ea1013e7`](https://github.com/Thinkei/hero-design/commit/5ea1013e782bae67336ec4c112ce2f9298e3f0d3) Thanks [@ducminhleeh](https://github.com/ducminhleeh)! - Add new icons: explore_nearby, local_mall_outlined and shopping_basket_outlined
27
+
28
+ ### Patch Changes
29
+
30
+ - [#2714](https://github.com/Thinkei/hero-design/pull/2714) [`39a2871cd`](https://github.com/Thinkei/hero-design/commit/39a2871cdd0873bfe585a974cffb23b035e271df) Thanks [@ttkien](https://github.com/ttkien)! - [Typography.Body] Fix font of playful variant
31
+
32
+ - [#2709](https://github.com/Thinkei/hero-design/pull/2709) [`7aa65f3b2`](https://github.com/Thinkei/hero-design/commit/7aa65f3b20babe50cd39a81160d3a495d5828347) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - Resolve @hero-design/rn sonarqube issues
33
+
3
34
  ## 8.56.1
4
35
 
5
36
  ### Patch Changes
Binary file