@moises.ai/design-system 3.9.6 → 3.9.7

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/index.js CHANGED
@@ -5578,6 +5578,7 @@ const p1 = ({
5578
5578
  type: "button",
5579
5579
  "aria-label": "increment",
5580
5580
  onClick: i,
5581
+ disabled: t != null && e <= t,
5581
5582
  style: {
5582
5583
  backgroundColor: "var(--neutral-alpha-3 )"
5583
5584
  },
@@ -5604,6 +5605,7 @@ const p1 = ({
5604
5605
  type: "button",
5605
5606
  "aria-label": "decrement",
5606
5607
  onClick: o,
5608
+ disabled: r != null && e >= r,
5607
5609
  style: {
5608
5610
  backgroundColor: "var(--neutral-alpha-3 )"
5609
5611
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moises.ai/design-system",
3
- "version": "3.9.6",
3
+ "version": "3.9.7",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -35,6 +35,7 @@ export const NumberPicker = ({
35
35
  type="button"
36
36
  aria-label="increment"
37
37
  onClick={onDecrement}
38
+ disabled={min != null && value <= min}
38
39
  style={{
39
40
  backgroundColor: 'var(--neutral-alpha-3 )',
40
41
  }}
@@ -59,6 +60,7 @@ export const NumberPicker = ({
59
60
  type="button"
60
61
  aria-label="decrement"
61
62
  onClick={onIncrement}
63
+ disabled={max != null && value >= max}
62
64
  style={{
63
65
  backgroundColor: 'var(--neutral-alpha-3 )',
64
66
  }}