@planningcenter/doxy-web
Advanced tools
Comparing version 2.2.0 to 2.2.1-rc.0
@@ -295,2 +295,3 @@ import React, { useRef, useEffect, useState, forwardRef } from 'react'; | ||
const isTouchDevice = window.matchMedia("(pointer:coarse)").matches || window.matchMedia("(any-pointer:coarse)").matches; | ||
const NumberSpinner = _ref => { | ||
@@ -325,3 +326,3 @@ let { | ||
"sm-number-spinner": size === "sm", | ||
focused: focus | ||
focused: !isTouchDevice && focus | ||
}), | ||
@@ -349,5 +350,6 @@ "data-testid": "numberSpinner", | ||
onWheel: e => e.target.blur(), | ||
readOnly: isTouchDevice, | ||
step: "1", | ||
type: "number", | ||
value: value | ||
value: Number(value).toString() | ||
}), /*#__PURE__*/React.createElement("button", { | ||
@@ -354,0 +356,0 @@ "aria-label": "increment input value", |
@@ -304,2 +304,3 @@ 'use strict'; | ||
const isTouchDevice = window.matchMedia("(pointer:coarse)").matches || window.matchMedia("(any-pointer:coarse)").matches; | ||
const NumberSpinner = _ref => { | ||
@@ -334,3 +335,3 @@ let { | ||
"sm-number-spinner": size === "sm", | ||
focused: focus | ||
focused: !isTouchDevice && focus | ||
}), | ||
@@ -358,5 +359,6 @@ "data-testid": "numberSpinner", | ||
onWheel: e => e.target.blur(), | ||
readOnly: isTouchDevice, | ||
step: "1", | ||
type: "number", | ||
value: value | ||
value: Number(value).toString() | ||
}), /*#__PURE__*/React__default["default"].createElement("button", { | ||
@@ -363,0 +365,0 @@ "aria-label": "increment input value", |
{ | ||
"name": "@planningcenter/doxy-web", | ||
"version": "2.2.0", | ||
"version": "2.2.1-rc.0", | ||
"description": "Doxy for Church Center Web", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
592324
11709
1