@ehfuse/mui-form-controls 3.1.19 → 3.1.21

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.
@@ -33,8 +33,8 @@ export type NumberFieldProps = BaseNumberField.Root.Props & {
33
33
  * 타이핑한 값을 그대로 보여주고, 비포커스 상태에서만 0을 빈칸으로 표시한다.
34
34
  *
35
35
  * `default`·`stepper` 두 variant 모두에 적용된다.
36
- * 0을 그대로 `0`으로 표시하려면 `clearWhenZero={false}`로 끈다.
37
- * @default true
36
+ * 0을 빈칸으로 표시하려면 `clearWhenZero={true}`로 켠다.
37
+ * @default false
38
38
  */
39
39
  clearWhenZero?: boolean;
40
40
  /**
@@ -9,7 +9,7 @@
9
9
  */
10
10
  import * as React from "react";
11
11
  import { type ThousandSeparatorProp } from "../utils/number";
12
- export declare function useNumberFieldLiveGrouping({ thousandSeparator, locale, format, clearWhenZero, }: {
12
+ export declare function useNumberFieldLiveGrouping({ thousandSeparator, locale, format, clearWhenZero, min, max, }: {
13
13
  thousandSeparator?: ThousandSeparatorProp;
14
14
  locale?: Intl.LocalesArgument;
15
15
  format?: Intl.NumberFormatOptions;
@@ -19,6 +19,10 @@ export declare function useNumberFieldLiveGrouping({ thousandSeparator, locale,
19
19
  * @default false
20
20
  */
21
21
  clearWhenZero?: boolean;
22
+ /** 입력 중 즉시 경계값으로 고정하기 위한 최소값 */
23
+ min?: number;
24
+ /** 입력 중 즉시 경계값으로 고정하기 위한 최대값 */
25
+ max?: number;
22
26
  }): {
23
27
  getDisplayValue: (baseInputValue: string) => string;
24
28
  syncBaseInputValue: (baseInputValue: string) => void;