@medusajs/draft-order 2.23.1-snapshot-20261126110249 → 2.23.1

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.
@@ -6098,7 +6098,7 @@ var EmailForm = ({ order }) => {
6098
6098
  var schema$3 = zod.z.object({ email: zod.z.string().email() });
6099
6099
  var handle$7 = { permissions: EDIT_DRAFT_ORDER_PERMISSIONS };
6100
6100
  // src/admin/components/inputs/number-input.tsx
6101
- var NumberInput = (0, react.forwardRef)(({ value, onChange, size = "base", min = 0, max = 100, step = 1, className, disabled, ...props }, ref) => {
6101
+ var NumberInput = (0, react.forwardRef)(({ value, onChange, size = "base", min = 0, max, step = 1, className, disabled, ...props }, ref) => {
6102
6102
  const handleChange = (event) => {
6103
6103
  const newValue = event.target.value === "" ? min : Number(event.target.value);
6104
6104
  if (!isNaN(newValue) && (max === void 0 || newValue <= max) && (min === void 0 || newValue >= min)) onChange(newValue);