@momo-kits/foundation 0.92.6-rc.13 → 0.92.6-rc.15

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.
@@ -75,9 +75,10 @@ const StackScreen: React.FC<ScreenParams> = props => {
75
75
  const onScreenLoad = () => {
76
76
  clearTimeout(tracked.current.timeoutLoad);
77
77
  if (!tracked.current?.releaseLoad) {
78
- navigator?.maxApi?.dispatchFunction?.('autoTracking', {
78
+ context.autoTracking?.({
79
79
  appId: context.appId,
80
80
  code: context.code,
81
+ buildNumber: context.buildNumber,
81
82
  screenName,
82
83
  componentName: 'Screen',
83
84
  state: 'load',
@@ -97,9 +98,10 @@ const StackScreen: React.FC<ScreenParams> = props => {
97
98
  const onScreenInteraction = () => {
98
99
  clearTimeout(tracked.current.timeoutInteraction);
99
100
  if (!tracked.current?.releaseInteraction) {
100
- navigator?.maxApi?.dispatchFunction?.('autoTracking', {
101
+ context.autoTracking?.({
101
102
  appId: context.appId,
102
103
  code: context.code,
104
+ buildNumber: context.buildNumber,
103
105
  screenName,
104
106
  componentName: 'Screen',
105
107
  state: 'interaction',
package/Input/Input.tsx CHANGED
@@ -169,7 +169,7 @@ const Input = forwardRef(
169
169
  <TextInput
170
170
  {...props}
171
171
  accessibilityLabel={accessibilityLabel}
172
- editable={editable && !disabled}
172
+ editable={editable || !disabled}
173
173
  secureTextEntry={secure}
174
174
  textAlignVertical="center"
175
175
  ref={inputRef}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.6-rc.13",
3
+ "version": "0.92.6-rc.15",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},