@broberg/bodymap 0.13.2 → 0.13.3

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.
package/dist/three.cjs CHANGED
@@ -312,6 +312,7 @@ function webglAvailable() {
312
312
  }
313
313
  }
314
314
  var INTENSITY_SIZE = 46;
315
+ var TOUCH_MIN = 44;
315
316
  function shouldShowHint(opts) {
316
317
  if (opts.openRegion) return false;
317
318
  if (opts.hint === false) return false;
@@ -824,7 +825,7 @@ function BodyMap3D(props) {
824
825
  "data-testid": "bodymap3d-close",
825
826
  "aria-label": L.close,
826
827
  onClick: () => setSelected(null),
827
- style: { ...btn(chrome), width: 40, height: 40, minWidth: 40, padding: 0, borderRadius: "50%", fontSize: 20, lineHeight: 1, color: chrome.mutedText, borderColor: chrome.border, background: chrome.panelBg },
828
+ style: { ...btn(chrome), width: TOUCH_MIN, height: TOUCH_MIN, minWidth: TOUCH_MIN, padding: 0, borderRadius: "50%", fontSize: 20, lineHeight: 1, color: chrome.mutedText, borderColor: chrome.border, background: chrome.panelBg },
828
829
  children: "\xD7"
829
830
  }
830
831
  )
@@ -879,6 +880,7 @@ function BodyMap3D(props) {
879
880
  exports.BodyMap3D = BodyMap3D;
880
881
  exports.INTENSITY_SIZE = INTENSITY_SIZE;
881
882
  exports.TAP_MAX_DISTANCE = TAP_MAX_DISTANCE;
883
+ exports.TOUCH_MIN = TOUCH_MIN;
882
884
  exports.ensureNormals = ensureNormals;
883
885
  exports.isTap = isTap;
884
886
  exports.seamBlend = seamBlend;