expo-native-sheet-emojis 1.5.0 → 1.6.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.
@@ -65,7 +65,7 @@ class EmojiCategoryStrip: UIView, UICollectionViewDataSource, UICollectionViewDe
65
65
  dividerLine.leadingAnchor.constraint(equalTo: leadingAnchor),
66
66
  dividerLine.trailingAnchor.constraint(equalTo: trailingAnchor),
67
67
  dividerLine.bottomAnchor.constraint(equalTo: bottomAnchor),
68
- dividerLine.heightAnchor.constraint(equalToConstant: 1.0 / UIScreen.main.scale),
68
+ dividerLine.heightAnchor.constraint(equalToConstant: 0.5),
69
69
  ])
70
70
  }
71
71
 
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'EmojiSheetModule'
3
- s.version = '1.5.0'
3
+ s.version = '1.6.0'
4
4
  s.summary = 'Native emoji picker bottom sheet for React Native'
5
5
  s.description = 'A fully native iOS/Android emoji picker presented in a bottom sheet with search, skin tones, and theming support.'
6
6
  s.author = ''
@@ -58,16 +58,16 @@ public class EmojiSheetModule: Module {
58
58
  view.updateRecentLimit(limit ?? 30)
59
59
  }
60
60
  Prop("showSearch") { (view, show: Bool?) in
61
- view.updateShowSearch(show ?? false)
61
+ view.updateShowSearch(show ?? true)
62
62
  }
63
63
  Prop("showRecents") { (view, show: Bool?) in
64
- view.updateShowRecents(show ?? false)
64
+ view.updateShowRecents(show ?? true)
65
65
  }
66
66
  Prop("enableSkinTones") { (view, enable: Bool?) in
67
- view.updateEnableSkinTones(enable ?? false)
67
+ view.updateEnableSkinTones(enable ?? true)
68
68
  }
69
69
  Prop("enableHaptics") { (view, enable: Bool?) in
70
- view.updateEnableHaptics(enable ?? false)
70
+ view.updateEnableHaptics(enable ?? true)
71
71
  }
72
72
  Prop("enableAnimations") { (view, enable: Bool?) in
73
73
  view.updateEnableAnimations(enable ?? false)
@@ -114,13 +114,13 @@ public class EmojiSheetModule: Module {
114
114
  let snapPoints = (options["snapPoints"] as? [Double]) ?? [0.5, 1.0]
115
115
  let columns = (options["columns"] as? Int) ?? 7
116
116
  let emojiSize = options["emojiSize"] as? Double ?? 32
117
- let showSearch = (options["showSearch"] as? Bool) ?? false
118
- let showRecents = (options["showRecents"] as? Bool) ?? false
119
- let enableSkinTones = (options["enableSkinTones"] as? Bool) ?? false
117
+ let showSearch = (options["showSearch"] as? Bool) ?? true
118
+ let showRecents = (options["showRecents"] as? Bool) ?? true
119
+ let enableSkinTones = (options["enableSkinTones"] as? Bool) ?? true
120
120
  let enableHaptics = (options["enableHaptics"] as? Bool) ?? true
121
121
  let enableAnimations = (options["enableAnimations"] as? Bool) ?? false
122
122
  let recentLimit = (options["recentLimit"] as? Int) ?? 30
123
- let gestureEnabled = (options["gestureEnabled"] as? Bool) ?? false
123
+ let gestureEnabled = (options["gestureEnabled"] as? Bool) ?? true
124
124
  let backdropOpacity = options["backdropOpacity"] as? Double ?? (isDark ? 0.4 : 0.22)
125
125
  let categoryBarPosition = (options["categoryBarPosition"] as? String) ?? "top"
126
126
  let categoryNames = options["categoryNames"] as? [String: String]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-native-sheet-emojis",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "A fully native emoji picker bottom sheet for React Native. Built with Swift and Kotlin for maximum performance. Features search with multilingual keywords, skin tones, frequently used tracking, theming, and configurable layout.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",