@butternutbox/pawprint-native 0.24.1 → 0.24.2

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.
@@ -7,12 +7,12 @@
7
7
  CJS Build start
8
8
  ESM Build start
9
9
  DTS Build start
10
- CJS dist/index.cjs 554.55 KB
10
+ CJS dist/index.cjs 554.62 KB
11
11
  CJS dist/index.cjs.map 1.08 MB
12
- CJS ⚡️ Build success in 6712ms
13
- ESM dist/index.js 523.91 KB
12
+ CJS ⚡️ Build success in 7560ms
13
+ ESM dist/index.js 523.98 KB
14
14
  ESM dist/index.js.map 1.08 MB
15
- ESM ⚡️ Build success in 6712ms
16
- DTS ⚡️ Build success in 18388ms
17
- DTS dist/index.d.cts 103.07 KB
18
- DTS dist/index.d.ts 103.07 KB
15
+ ESM ⚡️ Build success in 7564ms
16
+ DTS ⚡️ Build success in 22152ms
17
+ DTS dist/index.d.cts 103.19 KB
18
+ DTS dist/index.d.ts 103.19 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @butternutbox/pawprint-native
2
2
 
3
+ ## 0.24.2
4
+
5
+ ### Patch Changes
6
+
7
+ - f0bb467: add step count to product card quantity changer
8
+
3
9
  ## 0.24.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -12286,6 +12286,7 @@ var ProductDisplayCard = React66__default.default.forwardRef(
12286
12286
  incrementDisabled = false,
12287
12287
  decrementDisabled = false,
12288
12288
  minQuantity = 1,
12289
+ quantityStep = 1,
12289
12290
  image,
12290
12291
  imageBackgroundColor,
12291
12292
  thumbnailWidth,
@@ -12307,6 +12308,7 @@ var ProductDisplayCard = React66__default.default.forwardRef(
12307
12308
  "incrementDisabled",
12308
12309
  "decrementDisabled",
12309
12310
  "minQuantity",
12311
+ "quantityStep",
12310
12312
  "image",
12311
12313
  "imageBackgroundColor",
12312
12314
  "thumbnailWidth",
@@ -12362,8 +12364,8 @@ var ProductDisplayCard = React66__default.default.forwardRef(
12362
12364
  handleQuantityChange(value);
12363
12365
  }
12364
12366
  },
12365
- onIncrement: () => handleQuantityChange(quantity + 1),
12366
- onDecrement: () => handleQuantityChange(quantity - 1),
12367
+ onIncrement: () => handleQuantityChange(quantity + quantityStep),
12368
+ onDecrement: () => handleQuantityChange(quantity - quantityStep),
12367
12369
  min: minQuantity,
12368
12370
  accessible: true,
12369
12371
  accessibilityLabel: `Quantity: ${quantity}`,