@medusajs/draft-order 2.23.1-snapshot-20261126101410 → 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);
@@ -6073,7 +6073,7 @@ var EmailForm = ({ order }) => {
6073
6073
  var schema$3 = z.object({ email: z.string().email() });
6074
6074
  var handle$7 = { permissions: EDIT_DRAFT_ORDER_PERMISSIONS };
6075
6075
  // src/admin/components/inputs/number-input.tsx
6076
- var NumberInput = forwardRef(({ value, onChange, size = "base", min = 0, max = 100, step = 1, className, disabled, ...props }, ref) => {
6076
+ var NumberInput = forwardRef(({ value, onChange, size = "base", min = 0, max, step = 1, className, disabled, ...props }, ref) => {
6077
6077
  const handleChange = (event) => {
6078
6078
  const newValue = event.target.value === "" ? min : Number(event.target.value);
6079
6079
  if (!isNaN(newValue) && (max === void 0 || newValue <= max) && (min === void 0 || newValue >= min)) onChange(newValue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/draft-order",
3
- "version": "2.23.1-snapshot-20261126101410",
3
+ "version": "2.23.1",
4
4
  "description": "A draft order plugin for Medusa.",
5
5
  "author": "Medusa (https://medusajs.com)",
6
6
  "license": "MIT",
@@ -50,7 +50,7 @@
50
50
  "@ariakit/react": "^0.4.15",
51
51
  "@babel/runtime": "^8.0.10",
52
52
  "@hookform/resolvers": "6.0.0",
53
- "@medusajs/js-sdk": "2.23.1-snapshot-20261126101410",
53
+ "@medusajs/js-sdk": "2.23.1",
54
54
  "@tanstack/react-query": "5.107.1",
55
55
  "@uiw/react-json-view": "^2.0.0-alpha.17",
56
56
  "date-fns": "^4.4.0",
@@ -62,25 +62,25 @@
62
62
  "zod": "4.6.7"
63
63
  },
64
64
  "devDependencies": {
65
- "@medusajs/admin-sdk": "2.23.1-snapshot-20261126101410",
66
- "@medusajs/cli": "2.23.1-snapshot-20261126101410",
67
- "@medusajs/dashboard": "2.23.1-snapshot-20261126101410",
68
- "@medusajs/framework": "2.23.1-snapshot-20261126101410",
69
- "@medusajs/icons": "2.23.1-snapshot-20261126101410",
70
- "@medusajs/test-utils": "2.23.1-snapshot-20261126101410",
71
- "@medusajs/types": "2.23.1-snapshot-20261126101410",
72
- "@medusajs/ui": "4.3.1-snapshot-20261126101410",
73
- "@medusajs/ui-preset": "2.23.1-snapshot-20261126101410",
65
+ "@medusajs/admin-sdk": "2.23.1",
66
+ "@medusajs/cli": "2.23.1",
67
+ "@medusajs/dashboard": "2.23.1",
68
+ "@medusajs/framework": "2.23.1",
69
+ "@medusajs/icons": "2.23.1",
70
+ "@medusajs/test-utils": "2.23.1",
71
+ "@medusajs/types": "2.23.1",
72
+ "@medusajs/ui": "4.3.1",
73
+ "@medusajs/ui-preset": "2.23.1",
74
74
  "cross-env": "^10.1.0"
75
75
  },
76
76
  "peerDependencies": {
77
- "@medusajs/admin-sdk": "2.23.1-snapshot-20261126101410",
78
- "@medusajs/cli": "2.23.1-snapshot-20261126101410",
79
- "@medusajs/dashboard": "2.23.1-snapshot-20261126101410",
80
- "@medusajs/framework": "2.23.1-snapshot-20261126101410",
81
- "@medusajs/icons": "2.23.1-snapshot-20261126101410",
82
- "@medusajs/test-utils": "2.23.1-snapshot-20261126101410",
83
- "@medusajs/ui": "4.3.1-snapshot-20261126101410",
77
+ "@medusajs/admin-sdk": "2.23.1",
78
+ "@medusajs/cli": "2.23.1",
79
+ "@medusajs/dashboard": "2.23.1",
80
+ "@medusajs/framework": "2.23.1",
81
+ "@medusajs/icons": "2.23.1",
82
+ "@medusajs/test-utils": "2.23.1",
83
+ "@medusajs/ui": "4.3.1",
84
84
  "react": "^19.3.1",
85
85
  "react-dom": "^19.3.1",
86
86
  "react-router-dom": "^6.30.4 || ^7.0.0"