@hero-design/rn 8.124.2 → 8.125.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 (31) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/assets/fonts/BeVietnamPro-Medium.ttf +0 -0
  3. package/assets/fonts/BeVietnamPro-MediumItalic.ttf +0 -0
  4. package/es/index.js +200 -136
  5. package/lib/index.js +200 -136
  6. package/package.json +1 -1
  7. package/src/components/RichTextEditor/RichTextEditor.tsx +88 -74
  8. package/src/components/Search/StyledSearch.tsx +1 -1
  9. package/src/components/TextInput/StyledTextInput.tsx +74 -24
  10. package/src/components/TextInput/index.tsx +126 -103
  11. package/src/components/Typography/Body/StyledBody.tsx +16 -8
  12. package/src/components/Typography/Body/index.tsx +12 -3
  13. package/src/components/Typography/Caption/StyledCaption.tsx +10 -2
  14. package/src/components/Typography/Caption/index.tsx +1 -1
  15. package/src/components/Typography/Label/StyledLabel.tsx +4 -5
  16. package/src/components/Typography/Label/index.tsx +7 -0
  17. package/src/components/Typography/types.ts +1 -0
  18. package/src/theme/components/textInput.ts +32 -19
  19. package/src/theme/components/typography.ts +2 -0
  20. package/src/theme/global/typography.ts +6 -0
  21. package/types/components/TextInput/StyledTextInput.d.ts +29 -15
  22. package/types/components/Typography/Body/StyledBody.d.ts +1 -1
  23. package/types/components/Typography/Body/index.d.ts +6 -3
  24. package/types/components/Typography/Caption/StyledCaption.d.ts +1 -1
  25. package/types/components/Typography/Caption/index.d.ts +1 -1
  26. package/types/components/Typography/Label/StyledLabel.d.ts +1 -0
  27. package/types/components/Typography/Label/index.d.ts +6 -1
  28. package/types/components/Typography/types.d.ts +1 -0
  29. package/types/theme/components/textInput.d.ts +17 -5
  30. package/types/theme/components/typography.d.ts +2 -0
  31. package/types/theme/global/typography.d.ts +2 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.125.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#5056](https://github.com/Thinkei/hero-design/pull/5056) [`cfcde1b64b7e5d5c7fff9cde859b238b3f85b8e3`](https://github.com/Thinkei/hero-design/commit/cfcde1b64b7e5d5c7fff9cde859b238b3f85b8e3) Thanks [@phucdph](https://github.com/phucdph)! - Add medium weight (BeVietnamPro-Medium) support to Typography components
8
+
9
+ - `Typography.Body`: new `variant="regular-medium"` and `variant="small-medium"` (neutral typeface only)
10
+ - `Typography.Caption`: new `fontWeight="medium"` option
11
+ - `Typography.Label`: new `fontWeight="medium"` option (default: `"regular"`)
12
+ - Playful typeface gracefully falls back to regular when medium variant is used
13
+
14
+ ### Patch Changes
15
+
16
+ - [#5039](https://github.com/Thinkei/hero-design/pull/5039) [`dec68a38346ab7c64e92ed24f385a65ea079a86b`](https://github.com/Thinkei/hero-design/commit/dec68a38346ab7c64e92ed24f385a65ea079a86b) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput][richtexteditor] Redesign TextInput and RichTextEditor components
17
+
3
18
  ## 8.124.2
4
19
 
5
20
  ### Patch Changes