@ehfuse/mui-form-controls 3.0.45 → 3.0.46

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
@@ -170,6 +170,7 @@ export type AutocompleteProps = BaseTextFieldProps & {
170
170
  hideEmptyMessage?: boolean;
171
171
  autoFocus?: boolean;
172
172
  blurOnSelect?: boolean;
173
+ moveFocusOnSelect?: boolean;
173
174
  clearOnBlur?: boolean;
174
175
  disablePortal?: boolean;
175
176
  freeSolo?: boolean;
@@ -222,6 +223,7 @@ export type LabelSelectProps = Omit<MuiSelectProps, "value" | "onChange" | "defa
222
223
  options: LabelSelectOption[];
223
224
  inputProps?: InputBaseComponentProps;
224
225
  enableWheel?: boolean;
226
+ moveFocusOnSelect?: boolean;
225
227
  showLabel?: boolean;
226
228
  emptyLabel?: string;
227
229
  showEmptyOption?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/mui-form-controls",
3
- "version": "3.0.45",
3
+ "version": "3.0.46",
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>;