@planningcenter/emoji-keyboard 3.42.2-qa-staging.4 → 3.42.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.
package/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# @planningcenter/emoji-keyboard
|
|
2
|
+
|
|
3
|
+
Vendored fork of [rn-emoji-keyboard](https://github.com/TheWidlarzGroup/rn-emoji-keyboard) for Chat. Consumed in-repo by `@planningcenter/chat-react-native` — it is not published.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
Components in this package use `SafeAreaView` from `react-native-safe-area-context`, which only works inside a `SafeAreaProvider`. React Navigation renders one automatically, so every app that consumes this package through `@planningcenter/chat-react-native` (Services, ChurchCenterApp, the sandbox apps) is already covered. If this package is ever used outside a React Navigation tree, the consumer must wrap it in a `SafeAreaProvider` itself.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/emoji-keyboard",
|
|
3
|
-
"version": "3.42.2
|
|
3
|
+
"version": "3.42.2",
|
|
4
4
|
"description": "Vendored fork of rn-emoji-keyboard (MIT, The Widlarz Group) for Planning Center Chat",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^18.0.0 || ^19.0.0",
|
|
24
|
-
"react-native": "*"
|
|
24
|
+
"react-native": "*",
|
|
25
|
+
"react-native-safe-area-context": ">=4.0.0"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@react-native/eslint-config": "~0.83.0",
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
"prettier": "^3.4.2",
|
|
35
36
|
"react": "19.2.0",
|
|
36
37
|
"react-native": "0.83.6",
|
|
38
|
+
"react-native-safe-area-context": "~5.6.2",
|
|
37
39
|
"typescript": "~5.9.2"
|
|
38
40
|
},
|
|
39
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "c67ad284f4c7047831a37cc7826ff827e0637f2d"
|
|
40
42
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react'
|
|
2
|
-
import {
|
|
2
|
+
import { View, type ViewProps } from 'react-native'
|
|
3
|
+
import { SafeAreaView } from 'react-native-safe-area-context'
|
|
3
4
|
|
|
4
5
|
type ConditionalContainerTypes = {
|
|
5
6
|
children: ReactNode
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
View,
|
|
5
5
|
FlatList,
|
|
6
6
|
Animated,
|
|
7
|
-
SafeAreaView,
|
|
8
7
|
Platform,
|
|
9
8
|
type ListRenderItemInfo,
|
|
10
9
|
type NativeScrollEvent,
|
|
11
10
|
type NativeSyntheticEvent,
|
|
12
11
|
} from 'react-native'
|
|
12
|
+
import { SafeAreaView } from 'react-native-safe-area-context'
|
|
13
13
|
import { KeyboardContext } from '../contexts/KeyboardContext'
|
|
14
14
|
import { useKeyboardStore } from '../store/useKeyboardStore'
|
|
15
15
|
import { type EmojisByCategory } from '../types'
|