expo-snowui 1.7.59 → 1.7.61

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.
@@ -27,7 +27,7 @@ export const SnowTarget = props => {
27
27
  if (props.innerStyle) {
28
28
  innerStyle.push(props.innerStyle);
29
29
  }
30
- return focusWrap(/*#__PURE__*/_jsx(SnowView, {
30
+ return focusWrap(/*#__PURE__*/_jsx(View, {
31
31
  style: outerStyle,
32
32
  children: /*#__PURE__*/_jsx(View, {
33
33
  style: innerStyle
@@ -1 +1 @@
1
- {"version":3,"names":["View","useFocusContext","useStyleContext","SnowView","jsx","_jsx","SnowTarget","props","SnowStyle","isFocused","focusWrap","canFocus","outerStyle","component","target","outer","push","innerStyle","inner","focused","style","children"],"sourceRoot":"../../../../src","sources":["component/wired/snow-target.js"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASC,eAAe,QAAQ,qCAAkC;AAClE,SAASC,eAAe,QAAQ,qCAAkC;AAElE,OAAOC,QAAQ,MAAM,gBAAa;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAElC,OAAO,MAAMC,UAAU,GAAIC,KAAK,IAAK;EACjC,MAAM;IAAEC;EAAU,CAAC,GAAGN,eAAe,CAACK,KAAK,CAAC;EAC5C,MAAM;IAAEE,SAAS;IAAEC;EAAU,CAAC,GAAGT,eAAe,CAAC,QAAQ,EAAE;IAAE,GAAGM,KAAK;IAAEI,QAAQ,EAAE;EAAK,CAAC,CAAC;EAExF,IAAIC,UAAU,GAAG,CAACJ,SAAS,CAACK,SAAS,CAACC,MAAM,CAACC,KAAK,CAAC;EAEnD,IAAIR,KAAK,CAACK,UAAU,EAAE;IAClBA,UAAU,CAACI,IAAI,CAACT,KAAK,CAACK,UAAU,CAAC;EACrC;EAEA,IAAIK,UAAU,GAAG,CAACT,SAAS,CAACK,SAAS,CAACC,MAAM,CAACI,KAAK,CAAC;EACnD,IAAIT,SAAS,EAAE;IACXQ,UAAU,CAACD,IAAI,CAACR,SAAS,CAACK,SAAS,CAACC,MAAM,CAACK,OAAO,CAAC;EACvD;EAEA,IAAIZ,KAAK,CAACU,UAAU,EAAE;IAClBA,UAAU,CAACD,IAAI,CAACT,KAAK,CAACU,UAAU,CAAC;EACrC;EAEA,OAAOP,SAAS,cACZL,IAAA,CAACF,QAAQ;IAACiB,KAAK,EAAER,UAAW;IAAAS,QAAA,eACxBhB,IAAA,CAACL,IAAI;MAACoB,KAAK,EAAEH;IAAW,CAAE;EAAC,CACrB,CACd,CAAC;AACL,CAAC;AAED,eAAeX,UAAU","ignoreList":[]}
1
+ {"version":3,"names":["View","useFocusContext","useStyleContext","SnowView","jsx","_jsx","SnowTarget","props","SnowStyle","isFocused","focusWrap","canFocus","outerStyle","component","target","outer","push","innerStyle","inner","focused","style","children"],"sourceRoot":"../../../../src","sources":["component/wired/snow-target.js"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASC,eAAe,QAAQ,qCAAkC;AAClE,SAASC,eAAe,QAAQ,qCAAkC;AAElE,OAAOC,QAAQ,MAAM,gBAAa;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAElC,OAAO,MAAMC,UAAU,GAAIC,KAAK,IAAK;EACjC,MAAM;IAAEC;EAAU,CAAC,GAAGN,eAAe,CAACK,KAAK,CAAC;EAC5C,MAAM;IAAEE,SAAS;IAAEC;EAAU,CAAC,GAAGT,eAAe,CAAC,QAAQ,EAAE;IAAE,GAAGM,KAAK;IAAEI,QAAQ,EAAE;EAAK,CAAC,CAAC;EAExF,IAAIC,UAAU,GAAG,CAACJ,SAAS,CAACK,SAAS,CAACC,MAAM,CAACC,KAAK,CAAC;EAEnD,IAAIR,KAAK,CAACK,UAAU,EAAE;IAClBA,UAAU,CAACI,IAAI,CAACT,KAAK,CAACK,UAAU,CAAC;EACrC;EAEA,IAAIK,UAAU,GAAG,CAACT,SAAS,CAACK,SAAS,CAACC,MAAM,CAACI,KAAK,CAAC;EACnD,IAAIT,SAAS,EAAE;IACXQ,UAAU,CAACD,IAAI,CAACR,SAAS,CAACK,SAAS,CAACC,MAAM,CAACK,OAAO,CAAC;EACvD;EAEA,IAAIZ,KAAK,CAACU,UAAU,EAAE;IAClBA,UAAU,CAACD,IAAI,CAACT,KAAK,CAACU,UAAU,CAAC;EACrC;EAEA,OAAOP,SAAS,cACZL,IAAA,CAACL,IAAI;IAACoB,KAAK,EAAER,UAAW;IAAAS,QAAA,eACpBhB,IAAA,CAACL,IAAI;MAACoB,KAAK,EAAEH;IAAW,CAAE;EAAC,CACzB,CACV,CAAC;AACL,CAAC;AAED,eAAeX,UAAU","ignoreList":[]}
@@ -235,7 +235,7 @@ export function InputContextProvider(props) {
235
235
  listener.onPress?.();
236
236
  break;
237
237
  case 'longSelect':
238
- if (action === 1) {
238
+ if (action === 0) {
239
239
  listener.onLongPress?.();
240
240
  }
241
241
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-snowui",
3
- "version": "1.7.59",
3
+ "version": "1.7.61",
4
4
  "description": "GUI components and contexts shared by snowsuite apps",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -25,9 +25,9 @@ export const SnowTarget = (props) => {
25
25
  }
26
26
 
27
27
  return focusWrap(
28
- <SnowView style={outerStyle}>
28
+ <View style={outerStyle}>
29
29
  <View style={innerStyle} />
30
- </SnowView>
30
+ </View>
31
31
  )
32
32
  }
33
33
 
@@ -193,7 +193,7 @@ export function InputContextProvider(props) {
193
193
  listener.onPress?.()
194
194
  break
195
195
  case 'longSelect':
196
- if (action === 1) {
196
+ if (action === 0) {
197
197
  listener.onLongPress?.()
198
198
  }
199
199
  break