@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.
- package/CHANGELOG.md +28 -0
- package/lib/index.js +19933 -735
- package/package.json +3 -2
- package/src/components/DatePicker/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/FormGroup/__tests__/__snapshots__/index.spec.tsx.snap +903 -0
- package/src/components/FormGroup/__tests__/index.spec.tsx +306 -0
- package/src/components/FormGroup/__tests__/utils.spec.ts +73 -0
- package/src/components/FormGroup/index.tsx +106 -0
- package/src/components/FormGroup/utils.ts +67 -0
- package/src/components/RichTextEditor/EditorEvent.ts +7 -0
- package/src/components/RichTextEditor/EditorToolbar.tsx +216 -0
- package/src/components/RichTextEditor/MentionList.tsx +99 -0
- package/src/components/RichTextEditor/RichTextEditor.tsx +88 -0
- package/src/components/RichTextEditor/RichTextEditorInput.tsx +292 -0
- package/src/components/RichTextEditor/StyledRichTextEditor.tsx +15 -0
- package/src/components/RichTextEditor/StyledToolbar.ts +32 -0
- package/src/components/RichTextEditor/__mocks__/hero-editor.js +3 -0
- package/src/components/RichTextEditor/__mocks__/heroEditorApp.ts +2 -0
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +144 -0
- package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +105 -0
- package/src/components/RichTextEditor/__tests__/RichTextEditorInput.spec.tsx +136 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +414 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +13 -0
- package/src/components/RichTextEditor/constants.ts +9 -0
- package/src/{hero-editor.d.ts → components/RichTextEditor/hero-editor.d.ts} +6 -0
- package/src/components/RichTextEditor/heroEditorApp.ts +3 -0
- package/src/components/RichTextEditor/index.tsx +20 -0
- package/src/components/RichTextEditor/types.ts +87 -0
- package/src/components/RichTextEditor/utils/events.ts +31 -0
- package/src/components/RichTextEditor/utils/rnWebView.tsx +30 -0
- package/src/components/Select/__tests__/__snapshots__/index.spec.tsx.snap +24 -2
- package/src/components/Select/index.tsx +11 -10
- package/src/components/TextInput/Group/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/TextInput/Group/index.tsx +6 -1
- package/src/components/TextInput/InputComponent.tsx +59 -18
- package/src/components/TextInput/InputRow.tsx +13 -7
- package/src/components/TextInput/StyledTextInput.tsx +3 -3
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +17 -17
- package/src/components/TextInput/index.tsx +22 -13
- package/src/components/TextInput/types.ts +30 -5
- package/src/index.ts +3 -1
- package/src/utils/hooks.ts +10 -0
- package/stats/1.5.0/rn-work-uikit-stats.html +4844 -0
- package/stats/1.3.1/rn-work-uikit-stats.html +0 -4844
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn-work-uikit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"@emotion/native": "^11.9.3",
|
|
24
24
|
"@emotion/primitives-core": "11.0.0",
|
|
25
25
|
"@emotion/react": "^11.9.3",
|
|
26
|
-
"@hero-design/rn": "^8.103.
|
|
26
|
+
"@hero-design/rn": "^8.103.6",
|
|
27
|
+
"hero-editor": "^1.15.5"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
30
|
"@hero-design/react-native-month-year-picker": "^8.43.1",
|
|
@@ -32,8 +32,8 @@ exports[`DatePicker renders correctly (snapshot) 1`] = `
|
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
themeFocused={false}
|
|
35
|
+
themeGroupStyleEnabled={false}
|
|
35
36
|
themeHasError={false}
|
|
36
|
-
themeUseGroupStyleEnabled={false}
|
|
37
37
|
>
|
|
38
38
|
<View
|
|
39
39
|
pointerEvents="none"
|
|
@@ -671,8 +671,8 @@ exports[`Dialog renders DatePickerAndroid when OS is android 1`] = `
|
|
|
671
671
|
]
|
|
672
672
|
}
|
|
673
673
|
themeFocused={false}
|
|
674
|
+
themeGroupStyleEnabled={false}
|
|
674
675
|
themeHasError={false}
|
|
675
|
-
themeUseGroupStyleEnabled={false}
|
|
676
676
|
>
|
|
677
677
|
<View
|
|
678
678
|
pointerEvents="none"
|
|
@@ -994,8 +994,8 @@ exports[`Dialog renders DatePickerIOS when OS is iOS 1`] = `
|
|
|
994
994
|
]
|
|
995
995
|
}
|
|
996
996
|
themeFocused={false}
|
|
997
|
+
themeGroupStyleEnabled={false}
|
|
997
998
|
themeHasError={false}
|
|
998
|
-
themeUseGroupStyleEnabled={false}
|
|
999
999
|
>
|
|
1000
1000
|
<View
|
|
1001
1001
|
pointerEvents="none"
|