@ehfuse/mui-form-controls 3.0.61 → 3.0.63

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
@@ -280,6 +280,10 @@ export type TagsTextFieldProps = Omit<TextFieldProps, "value" | "defaultValue" |
280
280
  allowDuplicates?: boolean;
281
281
  maxTags?: number;
282
282
  chipProps?: Partial<ChipProps>;
283
+ /**
284
+ * `startAdornment` 안 칩들을 감싼 `Box`에 병합되는 sx(`columnGap`/`rowGap`/padding 등).
285
+ * 아웃라인 안쪽 전체·입력 칸은 `sx`(TextField)로 조정하며, 구현상 `sx`는 `.MuiInputBase-root` 아래로 감싸짐.
286
+ */
283
287
  chipsSx?: SxProps<Theme>;
284
288
  deleteIconSx?: SxProps<Theme>;
285
289
  draggable?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/mui-form-controls",
3
- "version": "3.0.61",
3
+ "version": "3.0.63",
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>;