@ehfuse/mui-form-controls 3.1.61 → 3.1.62

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/types.d.ts CHANGED
@@ -51,6 +51,15 @@ export type BaseTextFieldProps = {
51
51
  debounce?: number;
52
52
  form?: FormLike | null;
53
53
  disableInternalState?: boolean;
54
+ /**
55
+ * IME 조합 중에도 form 으로 값을 emit 할지 여부 (기본값: true).
56
+ * true: "표시 = 내부 state(internalValue), 통지 = 항상 emit" 으로 분리한다.
57
+ * 조합 중에도 form 값이 화면값과 일치해, form 값으로 버튼 활성/조건부 렌더를 제어하는 UI 가 즉시 반응한다.
58
+ * emit 한 값이 value prop 으로 되돌아와도 lastEmittedValue 가드로 setInternalValue 를 타지 않아 조합 세션/커서는 보존된다.
59
+ * false: 조합 중에는 표시만 갱신하고 emit 은 compositionend/blur 까지 미룬다(3.1.61 이전 동작).
60
+ * (disableInternalState 경로는 진짜 controlled 라 이 옵션과 무관하게 항상 그대로 onChange 한다.)
61
+ */
62
+ emitDuringComposition?: boolean;
54
63
  };
55
64
  export type LongPressToggleProps = {
56
65
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/mui-form-controls",
3
- "version": "3.1.61",
3
+ "version": "3.1.62",
4
4
  "description": "Material-UI form controls and text fields for complex forms",
5
5
  "private": false,
6
6
  "publishConfig": {