next-flow-design 1.5.11 → 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.css CHANGED
@@ -1 +1 @@
1
- .nf-root{--nf-width: auto;--nf-height: 2rem;--nf-margin: 0;--nf-padding: 0 .75rem;--nf-font-size: .875rem;--nf-text-font-size: calc(var(--nf-font-size) * var(--font-scale));--nf-font-weight: 200;--nf-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;--nf-border-radius: .5rem;--nf-transition: .16s;--nf-transition-fast: .11s;--nf-transition-slow: .3s;color:var(--nf-color);font-weight:var(--nf-font-weight);font-size:var(--nf-font-size);font-family:var(--nf-font-family),sans-serif}.nf-root input,.nf-root textarea{color:inherit;font:inherit}.nf-root,[theme-color=blue].nf-root{--nf-primary-color: #5566dc;--nf-border-color-hover: var(--nf-primary-color);--nf-box-shadow-color-focus: color-mix(in srgb, var(--nf-primary-color), transparent 70%)}.nf-root{--nf-color: #ffffff;--nf-color-secondary: #ffffffaa;--nf-color-disabled: #ffffff66;--nf-background-color: #ffffff10;--nf-background-color-hover: #ffffff10;--nf-background-color-active: #ffffff10;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #ffffff00;--nf-box-shadow-color-hover: #ffffff00;--nf-select-icon-color: #ffffffaa;--nf-icon-color-hover: #ffffffc1;--nf-icon-color-active: #ffffffe1;--nf-dropdown-background: #333333aa;--nf-dropdown-shadow: #00000055;--nf-item-background-hover: #ffffff0d;--nf-item-background-active: #ffffff16;--nf-control-btn-background-hover: #ffffff11;--nf-control-btn-background-active: #ffffff19;--nf-control-divider-color: #ffffff44;--nf-slider-tooltip-background: #000000;--nf-focus-text-color: #ffffff77;--nf-color-picker-card-checker: #ffffff55;--nf-color-picker-card-checker-bg: #ffffff22}@media(prefers-color-scheme:dark){.nf-root{--nf-color: #000000;--nf-color-secondary: #00000080;--nf-color-disabled: #00000066;--nf-background-color: #00000010;--nf-background-color-hover: #00000010;--nf-background-color-active: #00000010;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #00000000;--nf-box-shadow-color-hover: #00000000;--nf-select-icon-color: #00000083;--nf-icon-color-hover: #000000A6;--nf-icon-color-active: #000000C1;--nf-dropdown-background: #ccccccaa;--nf-dropdown-shadow: #00000022;--nf-item-background-hover: #0000000d;--nf-item-background-active: #00000016;--nf-control-btn-background-hover: #00000011;--nf-control-btn-background-active: #00000019;--nf-control-divider-color: #00000033;--nf-slider-tooltip-background: #ffffff;--nf-focus-text-color: #00000077}}[theme=dark].nf-root{--nf-color: #ffffff;--nf-color-secondary: #ffffffaa;--nf-color-disabled: #ffffff66;--nf-background-color: #ffffff10;--nf-background-color-hover: #ffffff10;--nf-background-color-active: #ffffff10;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #ffffff00;--nf-box-shadow-color-hover: #ffffff00;--nf-select-icon-color: #ffffffaa;--nf-icon-color-hover: #ffffffc1;--nf-icon-color-active: #ffffffe1;--nf-dropdown-background: #333333aa;--nf-dropdown-shadow: #00000055;--nf-item-background-hover: #ffffff0d;--nf-item-background-active: #ffffff16;--nf-control-btn-background-hover: #ffffff11;--nf-control-btn-background-active: #ffffff19;--nf-control-divider-color: #ffffff44;--nf-slider-tooltip-background: #000000;--nf-focus-text-color: #ffffff77;--nf-color-picker-card-checker: #ffffff55;--nf-color-picker-card-checker-bg: #ffffff22}[theme=light].nf-root{--nf-color: #000000;--nf-color-secondary: #00000080;--nf-color-disabled: #00000066;--nf-background-color: #00000010;--nf-background-color-hover: #00000010;--nf-background-color-active: #00000010;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #00000000;--nf-box-shadow-color-hover: #00000000;--nf-select-icon-color: #00000083;--nf-icon-color-hover: #000000A6;--nf-icon-color-active: #000000C1;--nf-dropdown-background: #ccccccaa;--nf-dropdown-shadow: #00000022;--nf-item-background-hover: #0000000d;--nf-item-background-active: #00000016;--nf-control-btn-background-hover: #00000011;--nf-control-btn-background-active: #00000019;--nf-control-divider-color: #00000033;--nf-slider-tooltip-background: #ffffff;--nf-focus-text-color: #00000077}
1
+ .nf-root{--nf-width: auto;--nf-height: 2rem;--nf-margin: 0;--nf-padding: 0 .75rem;--nf-font-size: .875rem;--nf-text-font-size: calc(var(--nf-font-size) * var(--font-scale));--nf-font-weight: 200;--nf-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;--nf-border-radius: .5rem;--nf-transition: .16s;--nf-transition-fast: .11s;--nf-transition-slow: .3s;color:var(--nf-color);font-weight:var(--nf-font-weight);font-size:var(--nf-font-size);font-family:var(--nf-font-family),sans-serif}.nf-root input,.nf-root textarea{color:inherit;font:inherit}.nf-root,[theme-color=blue].nf-root{--nf-primary-color: #5566dc;--nf-border-color-hover: var(--nf-primary-color);--nf-box-shadow-color-focus: color-mix(in srgb, var(--nf-primary-color), transparent 70%)}.nf-root{--nf-color: #ffffff;--nf-color-secondary: #ffffffaa;--nf-color-disabled: #ffffff66;--nf-background-color: #ffffff10;--nf-background-color-hover: #ffffff10;--nf-background-color-active: #ffffff10;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #ffffff00;--nf-box-shadow-color-hover: #ffffff00;--nf-select-icon-color: #ffffffaa;--nf-icon-color-hover: #ffffffc1;--nf-icon-color-active: #ffffffe1;--nf-dropdown-background: #333333aa;--nf-dropdown-shadow: #00000055;--nf-item-background-hover: #ffffff0d;--nf-item-background-active: #ffffff16;--nf-control-btn-background-hover: #ffffff11;--nf-control-btn-background-active: #ffffff19;--nf-control-divider-color: #ffffff44;--nf-slider-tooltip-background: #000000;--nf-focus-text-color: #ffffff77;--nf-color-picker-card-checker: #ffffff55;--nf-color-picker-card-checker-bg: #ffffff22}@media(prefers-color-scheme:light){.nf-root{--nf-color: #000000;--nf-color-secondary: #00000080;--nf-color-disabled: #00000066;--nf-background-color: #00000010;--nf-background-color-hover: #00000010;--nf-background-color-active: #00000010;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #00000000;--nf-box-shadow-color-hover: #00000000;--nf-select-icon-color: #00000083;--nf-icon-color-hover: #000000A6;--nf-icon-color-active: #000000C1;--nf-dropdown-background: #ccccccaa;--nf-dropdown-shadow: #00000022;--nf-item-background-hover: #0000000d;--nf-item-background-active: #00000016;--nf-control-btn-background-hover: #00000011;--nf-control-btn-background-active: #00000019;--nf-control-divider-color: #00000033;--nf-slider-tooltip-background: #ffffff;--nf-focus-text-color: #00000077}}[theme=dark].nf-root{--nf-color: #ffffff;--nf-color-secondary: #ffffffaa;--nf-color-disabled: #ffffff66;--nf-background-color: #ffffff10;--nf-background-color-hover: #ffffff10;--nf-background-color-active: #ffffff10;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #ffffff00;--nf-box-shadow-color-hover: #ffffff00;--nf-select-icon-color: #ffffffaa;--nf-icon-color-hover: #ffffffc1;--nf-icon-color-active: #ffffffe1;--nf-dropdown-background: #333333aa;--nf-dropdown-shadow: #00000055;--nf-item-background-hover: #ffffff0d;--nf-item-background-active: #ffffff16;--nf-control-btn-background-hover: #ffffff11;--nf-control-btn-background-active: #ffffff19;--nf-control-divider-color: #ffffff44;--nf-slider-tooltip-background: #000000;--nf-focus-text-color: #ffffff77;--nf-color-picker-card-checker: #ffffff55;--nf-color-picker-card-checker-bg: #ffffff22}[theme=light].nf-root{--nf-color: #000000;--nf-color-secondary: #00000080;--nf-color-disabled: #00000066;--nf-background-color: #00000010;--nf-background-color-hover: #00000010;--nf-background-color-active: #00000010;--nf-border-color: var(--nf-background-color);--nf-box-shadow-color: #00000000;--nf-box-shadow-color-hover: #00000000;--nf-select-icon-color: #00000083;--nf-icon-color-hover: #000000A6;--nf-icon-color-active: #000000C1;--nf-dropdown-background: #ccccccaa;--nf-dropdown-shadow: #00000022;--nf-item-background-hover: #0000000d;--nf-item-background-active: #00000016;--nf-control-btn-background-hover: #00000011;--nf-control-btn-background-active: #00000019;--nf-control-divider-color: #00000033;--nf-slider-tooltip-background: #ffffff;--nf-focus-text-color: #00000077}
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.11",
3
+ "version": "1.5.13",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",