@hero-design/rn-work-uikit 1.3.1 → 1.4.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 (36) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/index.js +19228 -186
  3. package/package.json +3 -2
  4. package/src/components/FormGroup/__tests__/__snapshots__/index.spec.tsx.snap +880 -0
  5. package/src/components/FormGroup/__tests__/index.spec.tsx +179 -0
  6. package/src/components/FormGroup/__tests__/utils.spec.ts +73 -0
  7. package/src/components/FormGroup/index.tsx +97 -0
  8. package/src/components/FormGroup/utils.ts +67 -0
  9. package/src/components/RichTextEditor/EditorEvent.ts +7 -0
  10. package/src/components/RichTextEditor/EditorToolbar.tsx +216 -0
  11. package/src/components/RichTextEditor/MentionList.tsx +99 -0
  12. package/src/components/RichTextEditor/RichTextEditor.tsx +88 -0
  13. package/src/components/RichTextEditor/RichTextEditorInput.tsx +286 -0
  14. package/src/components/RichTextEditor/StyledRichTextEditor.tsx +18 -0
  15. package/src/components/RichTextEditor/StyledToolbar.ts +32 -0
  16. package/src/components/RichTextEditor/__mocks__/hero-editor.js +3 -0
  17. package/src/components/RichTextEditor/__mocks__/heroEditorApp.ts +2 -0
  18. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +144 -0
  19. package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +105 -0
  20. package/src/components/RichTextEditor/__tests__/RichTextEditorInput.spec.tsx +136 -0
  21. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +414 -0
  22. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +13 -0
  23. package/src/components/RichTextEditor/constants.ts +9 -0
  24. package/src/{hero-editor.d.ts → components/RichTextEditor/hero-editor.d.ts} +6 -0
  25. package/src/components/RichTextEditor/heroEditorApp.ts +3 -0
  26. package/src/components/RichTextEditor/index.tsx +20 -0
  27. package/src/components/RichTextEditor/types.ts +87 -0
  28. package/src/components/RichTextEditor/utils/events.ts +31 -0
  29. package/src/components/RichTextEditor/utils/rnWebView.tsx +30 -0
  30. package/src/components/TextInput/InputComponent.tsx +59 -18
  31. package/src/components/TextInput/InputRow.tsx +13 -7
  32. package/src/components/TextInput/index.tsx +20 -11
  33. package/src/components/TextInput/types.ts +29 -4
  34. package/src/index.ts +2 -1
  35. package/stats/1.4.0/rn-work-uikit-stats.html +4844 -0
  36. package/stats/1.3.1/rn-work-uikit-stats.html +0 -4844
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @hero-design/rn-work-uikit
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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
8
+
9
+ - [#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
10
+ [TextInput] update typings
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`3fd150ed0925245f0c9df0956681f19becac09c7`](https://github.com/Thinkei/hero-design/commit/3fd150ed0925245f0c9df0956681f19becac09c7), [`3b1be909daf4d17abe49f37672ecde1ad048ae05`](https://github.com/Thinkei/hero-design/commit/3b1be909daf4d17abe49f37672ecde1ad048ae05)]:
15
+ - @hero-design/rn@8.103.5
16
+
3
17
  ## 1.3.1
4
18
 
5
19
  ### Patch Changes