@gem-sdk/components 2.0.0-dev.517 → 2.0.0-dev.518

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.
@@ -9,7 +9,8 @@ const getContainerAttrs = ({ uid, isDisabled = true, isDisableByLiquid })=>{
9
9
  const getButtonAttrs = ({ buttonSide })=>{
10
10
  return {
11
11
  title: buttonSide === 'left' ? 'Decrement' : 'Increment',
12
- 'aria-label': buttonSide === 'left' ? 'decrement' : 'increment'
12
+ 'aria-label': buttonSide === 'left' ? 'decrement' : 'increment',
13
+ type: 'button'
13
14
  };
14
15
  };
15
16
  const getInputAttr = ({ isLiquid, qtyStyle, quantity, currentVariant, defaultQty })=>{
@@ -360,13 +360,6 @@ const ProductQuantitySettings = [
360
360
  width: '1px 1px 1px 1px',
361
361
  color: 'line-1',
362
362
  isCustom: true
363
- },
364
- hover: {
365
- borderType: 'none',
366
- border: 'none',
367
- borderWidth: '1px',
368
- width: '1px 1px 1px 1px',
369
- isCustom: true
370
363
  }
371
364
  }
372
365
  }
@@ -522,7 +515,8 @@ const ProductQuantitySettings = [
522
515
  devices: {
523
516
  desktop: {
524
517
  default: {
525
- normal: 1
518
+ normal: 1,
519
+ hover: 1
526
520
  }
527
521
  }
528
522
  },
@@ -7,7 +7,8 @@ const getContainerAttrs = ({ uid, isDisabled = true, isDisableByLiquid })=>{
7
7
  const getButtonAttrs = ({ buttonSide })=>{
8
8
  return {
9
9
  title: buttonSide === 'left' ? 'Decrement' : 'Increment',
10
- 'aria-label': buttonSide === 'left' ? 'decrement' : 'increment'
10
+ 'aria-label': buttonSide === 'left' ? 'decrement' : 'increment',
11
+ type: 'button'
11
12
  };
12
13
  };
13
14
  const getInputAttr = ({ isLiquid, qtyStyle, quantity, currentVariant, defaultQty })=>{
@@ -358,13 +358,6 @@ const ProductQuantitySettings = [
358
358
  width: '1px 1px 1px 1px',
359
359
  color: 'line-1',
360
360
  isCustom: true
361
- },
362
- hover: {
363
- borderType: 'none',
364
- border: 'none',
365
- borderWidth: '1px',
366
- width: '1px 1px 1px 1px',
367
- isCustom: true
368
361
  }
369
362
  }
370
363
  }
@@ -520,7 +513,8 @@ const ProductQuantitySettings = [
520
513
  devices: {
521
514
  desktop: {
522
515
  default: {
523
- normal: 1
516
+ normal: 1,
517
+ hover: 1
524
518
  }
525
519
  }
526
520
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.517",
3
+ "version": "2.0.0-dev.518",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",