@hero-design/rn-work-uikit 1.3.1 → 1.5.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 (44) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/lib/index.js +19933 -735
  3. package/package.json +3 -2
  4. package/src/components/DatePicker/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  5. package/src/components/FormGroup/__tests__/__snapshots__/index.spec.tsx.snap +903 -0
  6. package/src/components/FormGroup/__tests__/index.spec.tsx +306 -0
  7. package/src/components/FormGroup/__tests__/utils.spec.ts +73 -0
  8. package/src/components/FormGroup/index.tsx +106 -0
  9. package/src/components/FormGroup/utils.ts +67 -0
  10. package/src/components/RichTextEditor/EditorEvent.ts +7 -0
  11. package/src/components/RichTextEditor/EditorToolbar.tsx +216 -0
  12. package/src/components/RichTextEditor/MentionList.tsx +99 -0
  13. package/src/components/RichTextEditor/RichTextEditor.tsx +88 -0
  14. package/src/components/RichTextEditor/RichTextEditorInput.tsx +292 -0
  15. package/src/components/RichTextEditor/StyledRichTextEditor.tsx +15 -0
  16. package/src/components/RichTextEditor/StyledToolbar.ts +32 -0
  17. package/src/components/RichTextEditor/__mocks__/hero-editor.js +3 -0
  18. package/src/components/RichTextEditor/__mocks__/heroEditorApp.ts +2 -0
  19. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +144 -0
  20. package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +105 -0
  21. package/src/components/RichTextEditor/__tests__/RichTextEditorInput.spec.tsx +136 -0
  22. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +414 -0
  23. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +13 -0
  24. package/src/components/RichTextEditor/constants.ts +9 -0
  25. package/src/{hero-editor.d.ts → components/RichTextEditor/hero-editor.d.ts} +6 -0
  26. package/src/components/RichTextEditor/heroEditorApp.ts +3 -0
  27. package/src/components/RichTextEditor/index.tsx +20 -0
  28. package/src/components/RichTextEditor/types.ts +87 -0
  29. package/src/components/RichTextEditor/utils/events.ts +31 -0
  30. package/src/components/RichTextEditor/utils/rnWebView.tsx +30 -0
  31. package/src/components/Select/__tests__/__snapshots__/index.spec.tsx.snap +24 -2
  32. package/src/components/Select/index.tsx +11 -10
  33. package/src/components/TextInput/Group/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  34. package/src/components/TextInput/Group/index.tsx +6 -1
  35. package/src/components/TextInput/InputComponent.tsx +59 -18
  36. package/src/components/TextInput/InputRow.tsx +13 -7
  37. package/src/components/TextInput/StyledTextInput.tsx +3 -3
  38. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +17 -17
  39. package/src/components/TextInput/index.tsx +22 -13
  40. package/src/components/TextInput/types.ts +30 -5
  41. package/src/index.ts +3 -1
  42. package/src/utils/hooks.ts +10 -0
  43. package/stats/1.5.0/rn-work-uikit-stats.html +4844 -0
  44. package/stats/1.3.1/rn-work-uikit-stats.html +0 -4844
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @hero-design/rn-work-uikit
2
2
 
3
+ ## 1.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#4071](https://github.com/Thinkei/hero-design/pull/4071) [`a045cd45b79141f02b6570907033fa3f037b5862`](https://github.com/Thinkei/hero-design/commit/a045cd45b79141f02b6570907033fa3f037b5862) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - - [FormGroup][select] Add Select support
8
+ - [TextInput.Group] Deprecate component
9
+
10
+ ### Patch Changes
11
+
12
+ - [#4077](https://github.com/Thinkei/hero-design/pull/4077) [`fa025fbffdf997d83f77919b78eae2520ddb6e2e`](https://github.com/Thinkei/hero-design/commit/fa025fbffdf997d83f77919b78eae2520ddb6e2e) Thanks [@ttkien](https://github.com/ttkien)! - [RichTextEditor] Fix issue that WebView automatiically reset when height is changed on Android
13
+
14
+ - Updated dependencies [[`3bd134bd08699566d3c25ad157b7ca68f5debc47`](https://github.com/Thinkei/hero-design/commit/3bd134bd08699566d3c25ad157b7ca68f5debc47), [`a045cd45b79141f02b6570907033fa3f037b5862`](https://github.com/Thinkei/hero-design/commit/a045cd45b79141f02b6570907033fa3f037b5862), [`fa025fbffdf997d83f77919b78eae2520ddb6e2e`](https://github.com/Thinkei/hero-design/commit/fa025fbffdf997d83f77919b78eae2520ddb6e2e)]:
15
+ - @hero-design/rn@8.103.6
16
+
17
+ ## 1.4.0
18
+
19
+ ### Minor Changes
20
+
21
+ - [#4072](https://github.com/Thinkei/hero-design/pull/4072) [`33d4792bf262c5be47eea06be2589278e57e190a`](https://github.com/Thinkei/hero-design/commit/33d4792bf262c5be47eea06be2589278e57e190a) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [FormGroup] Create component by cloning TextInput.Group
22
+
23
+ - [#4068](https://github.com/Thinkei/hero-design/pull/4068) [`3fd150ed0925245f0c9df0956681f19becac09c7`](https://github.com/Thinkei/hero-design/commit/3fd150ed0925245f0c9df0956681f19becac09c7) Thanks [@ttkien](https://github.com/ttkien)! - [RichTextEditor] apply new TextInput
24
+ [TextInput] update typings
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`3fd150ed0925245f0c9df0956681f19becac09c7`](https://github.com/Thinkei/hero-design/commit/3fd150ed0925245f0c9df0956681f19becac09c7), [`3b1be909daf4d17abe49f37672ecde1ad048ae05`](https://github.com/Thinkei/hero-design/commit/3b1be909daf4d17abe49f37672ecde1ad048ae05)]:
29
+ - @hero-design/rn@8.103.5
30
+
3
31
  ## 1.3.1
4
32
 
5
33
  ### Patch Changes