@hero-design/rn-work-uikit 1.2.0-alpha.0 → 1.2.0-alpha.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 (28) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/assets/fonts/BeVietnamPro-Bold.ttf +0 -0
  3. package/assets/fonts/BeVietnamPro-Light.ttf +0 -0
  4. package/assets/fonts/BeVietnamPro-Regular.ttf +0 -0
  5. package/assets/fonts/BeVietnamPro-SemiBold.ttf +0 -0
  6. package/assets/fonts/Saiga-Light.otf +0 -0
  7. package/assets/fonts/Saiga-Medium.otf +0 -0
  8. package/assets/fonts/Saiga-Regular.otf +0 -0
  9. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  10. package/lib/index.js +2103 -186
  11. package/package.json +2 -2
  12. package/rollup.config.mjs +2 -3
  13. package/src/__tests__/__snapshots__/index.spec.tsx.snap +10 -29
  14. package/src/components/TextInput/FloatingLabel.tsx +8 -2
  15. package/src/components/TextInput/Group/__tests__/__snapshots__/index.spec.tsx.snap +883 -0
  16. package/src/components/TextInput/Group/__tests__/index.spec.tsx +179 -0
  17. package/src/components/TextInput/Group/__tests__/utils.spec.ts +73 -0
  18. package/src/components/TextInput/Group/index.tsx +102 -0
  19. package/src/components/TextInput/Group/utils.ts +67 -0
  20. package/src/components/TextInput/InputRow.tsx +47 -29
  21. package/src/components/TextInput/MIGRATION.md +133 -0
  22. package/src/components/TextInput/StyledTextInput.tsx +36 -8
  23. package/src/components/TextInput/__tests__/FloatingLabel.spec.tsx +36 -46
  24. package/src/components/TextInput/__tests__/InputRow.spec.tsx +50 -95
  25. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +559 -544
  26. package/src/components/TextInput/__tests__/index.spec.tsx +241 -262
  27. package/src/components/TextInput/index.tsx +39 -17
  28. package/src/components/TextInput/types.ts +7 -0
package/CHANGELOG.md CHANGED
@@ -1,10 +1,40 @@
1
1
  # @hero-design/rn-work-uikit
2
2
 
3
+ ## 1.2.0-alpha.2
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3988](https://github.com/Thinkei/hero-design/pull/3988) [`d0104932d0ca5f4b2bdf9cb2ccf572db4a12bf8e`](https://github.com/Thinkei/hero-design/commit/d0104932d0ca5f4b2bdf9cb2ccf572db4a12bf8e) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput] add TextInput for Work
8
+
9
+ - [`ef1eea9cfb01728a6c49985a15928e349fe06e9d`](https://github.com/Thinkei/hero-design/commit/ef1eea9cfb01728a6c49985a15928e349fe06e9d) Thanks [@TanNguyenEH](https://github.com/TanNguyenEH)! - [TextInput.Group] Add component
10
+
11
+ ### Patch Changes
12
+
13
+ - [`ef1eea9cfb01728a6c49985a15928e349fe06e9d`](https://github.com/Thinkei/hero-design/commit/ef1eea9cfb01728a6c49985a15928e349fe06e9d) Thanks [@TanNguyenEH](https://github.com/TanNguyenEH)! - [TextInput]
14
+
15
+ - Fix issue when label is empty, should show TextInput placeholder
16
+ - Remove un-neccessary animation of TextInput row
17
+
18
+ - [`5522767922928d3fb431f77e8e4853e552010278`](https://github.com/Thinkei/hero-design/commit/5522767922928d3fb431f77e8e4853e552010278) Thanks [@ttkien](https://github.com/ttkien)! - add assets from rn
19
+
20
+ - Updated dependencies [[`ef1eea9cfb01728a6c49985a15928e349fe06e9d`](https://github.com/Thinkei/hero-design/commit/ef1eea9cfb01728a6c49985a15928e349fe06e9d), [`ef1eea9cfb01728a6c49985a15928e349fe06e9d`](https://github.com/Thinkei/hero-design/commit/ef1eea9cfb01728a6c49985a15928e349fe06e9d), [`ef1eea9cfb01728a6c49985a15928e349fe06e9d`](https://github.com/Thinkei/hero-design/commit/ef1eea9cfb01728a6c49985a15928e349fe06e9d)]:
21
+ - @hero-design/rn@8.102.0-alpha.0
22
+
23
+ ## 1.2.0-alpha.1
24
+
25
+ ### Minor Changes
26
+
27
+ - [#3988](https://github.com/Thinkei/hero-design/pull/3988) [`d0104932d0ca5f4b2bdf9cb2ccf572db4a12bf8e`](https://github.com/Thinkei/hero-design/commit/d0104932d0ca5f4b2bdf9cb2ccf572db4a12bf8e) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput] add TextInput for Work
28
+
29
+ ### Patch Changes
30
+
31
+ - [`5522767922928d3fb431f77e8e4853e552010278`](https://github.com/Thinkei/hero-design/commit/5522767922928d3fb431f77e8e4853e552010278) Thanks [@ttkien](https://github.com/ttkien)! - add assets from rn
32
+
3
33
  ## 1.2.0-alpha.0
4
34
 
5
35
  ### Minor Changes
6
36
 
7
- - [`c96a992a3d05781029ab5614d465093f9117bd0d`](https://github.com/Thinkei/hero-design/commit/c96a992a3d05781029ab5614d465093f9117bd0d) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput] add TextInput for Work
37
+ - [#3988](https://github.com/Thinkei/hero-design/pull/3988) [`d0104932d0ca5f4b2bdf9cb2ccf572db4a12bf8e`](https://github.com/Thinkei/hero-design/commit/d0104932d0ca5f4b2bdf9cb2ccf572db4a12bf8e) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput] add TextInput for Work
8
38
 
9
39
  ## 1.1.0
10
40
 
Binary file
Binary file
Binary file