@ehfuse/mui-form-controls 3.1.8 → 3.1.9

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
@@ -420,8 +420,7 @@ 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`로 입력 영역(앵커)을 가리키며, Dialog transform 컨테이너 안에서는 기본 `disablePortal: true`로 위치를 맞춘다.
424
- * Popper는 값·포커스·레이아웃 변경 시 `update()`로 재계산한다. `invalidTooltipSlotProps`로 Popper를 추가 조정할 수 있다.
423
+ * 툴팁은 `placement="top"`·`arrow`로 입력 영역(앵커)을 가리키는 화살표를 표시한다. 문구는 패키지 고정 한국어 문구를 쓴다.
425
424
  *
426
425
  * @see isJuminValueValid
427
426
  * @see isJuminValueInvalidState
@@ -438,8 +437,6 @@ export type JuminTextFieldProps = Omit<TextFieldProps, "type" | "onChange" | "va
438
437
  onChange?: (info: JuminInfo) => void;
439
438
  /** `true`이면 유효하지 않을 때(`finalError`) 툴팁 표시를 허용한다. 기본 `false`. */
440
439
  showInvalidTooltip?: boolean;
441
- /** `showInvalidTooltip`용 MUI Tooltip `slotProps`. 기본 Popper는 `disablePortal: true`. */
442
- invalidTooltipSlotProps?: import("@mui/material/Tooltip").TooltipProps["slotProps"];
443
440
  };
444
441
  /**
445
442
  * 커스텀 도메인 정의 (아이콘 포함)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/mui-form-controls",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "description": "Material-UI form controls and text fields for complex forms",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -1,10 +0,0 @@
1
- /**
2
- * SwitchField.tsx
3
- *
4
- * @license MIT
5
- * @copyright 2025 김영진 (Kim Young Jin)
6
- * @author 김영진 (ehfuse@gmail.com)
7
- */
8
- import React from "react";
9
- import type { SwitchFieldProps } from "./types";
10
- export declare const SwitchField: React.ForwardRefExoticComponent<Omit<SwitchFieldProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -1,10 +0,0 @@
1
- /**
2
- * ToggleButtonGroupField.tsx
3
- *
4
- * @license MIT
5
- * @copyright 2025 김영진 (Kim Young Jin)
6
- * @author 김영진 (ehfuse@gmail.com)
7
- */
8
- import React from "react";
9
- import type { ToggleButtonGroupFieldProps } from "./types";
10
- export declare const ToggleButtonGroupField: React.ForwardRefExoticComponent<Omit<ToggleButtonGroupFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,35 +0,0 @@
1
- /**
2
- * 패키지 전역 개발용 콘솔 로그 스위치.
3
- * 앱 진입 시 `setMuiFormControlsDebug(true)` 한 번이면
4
- * DateTextField / TimeTextField / DateTimeTextField 등에서 value 동기화 로그가 출력된다.
5
- * 필드가 많으면 `nameIncludes` / `nameMatch`, 컴포넌트만 골라서는 `scopes`로 범위를 줄일 수 있다.
6
- *
7
- * @license MIT
8
- */
9
- /** value 동기화 로그를 낼 수 있는 컴포넌트 scope (muiFormControlsDevLog 첫 인자와 동일) */
10
- export type MuiFormControlsDebugScope = "DateTextField" | "TimeTextField" | "DateTimeTextField";
11
- export type MuiFormControlsDebugOptions = {
12
- /** `name` prop에 이 부분 문자열이 있을 때만 로그 (여러 필드일 때 노이즈 감소) */
13
- nameIncludes?: string;
14
- /** `name` prop이 이 정규식과 맞을 때만 로그 */
15
- nameMatch?: RegExp;
16
- /**
17
- * 한 개 이상이면 **이 컴포넌트(scope)에서만** 로그.
18
- * 생략 또는 빈 배열이면 scope 제한 없음(이름 필터만 적용).
19
- */
20
- scopes?: MuiFormControlsDebugScope[];
21
- };
22
- /**
23
- * @param enabled 로그 출력 여부
24
- * @param options `scopes` / `nameIncludes` / `nameMatch`로 범위 축소 (조건은 AND)
25
- */
26
- export declare function setMuiFormControlsDebug(enabled: boolean, options?: MuiFormControlsDebugOptions): void;
27
- export declare function getMuiFormControlsDebug(): boolean;
28
- export declare function getMuiFormControlsDebugOptions(): Readonly<MuiFormControlsDebugOptions & {
29
- enabled: boolean;
30
- }>;
31
- /**
32
- * 컴포넌트 내부 전용.
33
- * @param scope 예: "DateTextField"
34
- */
35
- export declare function muiFormControlsDevLog(scope: string, payload: Record<string, unknown>): void;
@@ -1,5 +0,0 @@
1
- import type { SxProps, Theme } from "@mui/material/styles";
2
- export declare const CLOSED_OUTLINED_BORDER_COLOR = "rgba(0, 0, 0, 0.23)";
3
- export declare const CLOSED_OUTLINED_LABEL_COLOR = "rgba(0, 0, 0, 0.6)";
4
- export declare const outlinedFieldFocusToneSx: SxProps<Theme>;
5
- export declare const outlinedFieldReadonlyToneSx: SxProps<Theme>;