@varlet/ui 1.26.6 → 1.26.9-alpha.1648745668357

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.
@@ -198,4 +198,8 @@ export function formatStyleVars(styleVars) {
198
198
  styles[cssVar] = value;
199
199
  return styles;
200
200
  }, {});
201
+ }
202
+ export function supportTouch() {
203
+ var inBrowser = typeof window !== 'undefined';
204
+ return inBrowser && 'ontouchstart' in window;
201
205
  }