@ehfuse/mui-form-controls 3.1.9 → 3.1.10
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 +1 -1
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +3 -3
- package/dist/types.d.ts +4 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -420,7 +420,8 @@ export type JuminInfo = {
|
|
|
420
420
|
* notched outline·`InputLabel`에 적용(미지정 시 `theme.palette.error`). `helperText` 색은 MUI 기본.
|
|
421
421
|
*
|
|
422
422
|
* `showInvalidTooltip`이 `true`이면 `finalError`일 때 MUI `Tooltip`으로 안내 문구를 연다(오류가 해소되면 닫힌다).
|
|
423
|
-
* 툴팁은 `placement="top"`·`arrow`로 입력 영역(앵커)을
|
|
423
|
+
* 툴팁은 `placement="top"`·`arrow`로 입력 영역(앵커)을 가리키며, Dialog 등 transform 컨테이너 안에서는 기본 `disablePortal: true`로 위치를 맞춘다.
|
|
424
|
+
* Popper는 값·포커스·레이아웃 변경 시 `update()`로 재계산한다. `invalidTooltipSlotProps`로 Popper를 추가 조정할 수 있다.
|
|
424
425
|
*
|
|
425
426
|
* @see isJuminValueValid
|
|
426
427
|
* @see isJuminValueInvalidState
|
|
@@ -437,6 +438,8 @@ export type JuminTextFieldProps = Omit<TextFieldProps, "type" | "onChange" | "va
|
|
|
437
438
|
onChange?: (info: JuminInfo) => void;
|
|
438
439
|
/** `true`이면 유효하지 않을 때(`finalError`) 툴팁 표시를 허용한다. 기본 `false`. */
|
|
439
440
|
showInvalidTooltip?: boolean;
|
|
441
|
+
/** `showInvalidTooltip`용 MUI Tooltip `slotProps`. 기본 Popper는 `disablePortal: true`. */
|
|
442
|
+
invalidTooltipSlotProps?: import("@mui/material/Tooltip").TooltipProps["slotProps"];
|
|
440
443
|
};
|
|
441
444
|
/**
|
|
442
445
|
* 커스텀 도메인 정의 (아이콘 포함)
|