next-flow-design 1.5.12 → 1.5.13

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
@@ -1086,7 +1086,7 @@ let p = class extends R {
1086
1086
  // 限制值在 min/max 范围内
1087
1087
  clampValue(t) {
1088
1088
  let e = t;
1089
- return this.min !== null && (e = Math.max(e, this.min)), this.max !== null && (e = Math.min(e, this.max)), e;
1089
+ return this.min !== null && this.min !== void 0 && (e = Math.max(e, this.min)), this.max !== null && this.max !== void 0 && (e = Math.min(e, this.max)), e;
1090
1090
  }
1091
1091
  // 步进按钮处理
1092
1092
  handleStepChange(t) {
@@ -846,7 +846,7 @@ let u = class extends W {
846
846
  // 限制值在 min/max 范围内
847
847
  clampValue(t) {
848
848
  let e = t;
849
- return this.min !== null && (e = Math.max(e, this.min)), this.max !== null && (e = Math.min(e, this.max)), e;
849
+ return this.min !== null && this.min !== void 0 && (e = Math.max(e, this.min)), this.max !== null && this.max !== void 0 && (e = Math.min(e, this.max)), e;
850
850
  }
851
851
  // 步进按钮处理
852
852
  handleStepChange(t) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-flow-design",
3
- "version": "1.5.12",
3
+ "version": "1.5.13",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -91,7 +91,6 @@
91
91
  "LICENSE"
92
92
  ],
93
93
  "dependencies": {
94
- "@popperjs/core": "^2.11.8",
95
- "next-flow-design": "^1.5.11"
94
+ "@popperjs/core": "^2.11.8"
96
95
  }
97
96
  }