@ehfuse/mui-form-controls 3.3.15 → 3.4.1
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/FormControlsConfig.d.ts +7 -1
- package/dist/MonthTextField.d.ts +8 -0
- package/dist/PeriodTextField.d.ts +26 -0
- package/dist/YearTextField.d.ts +8 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +52 -2
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +52 -2
- package/dist/index.mjs.map +4 -4
- package/dist/types.d.ts +17 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -528,6 +528,7 @@ export type TimeTextFieldProps = Omit<TextFieldProps, "type"> & BaseTextFieldPro
|
|
|
528
528
|
secondStep?: number;
|
|
529
529
|
hideDisabledTime?: boolean;
|
|
530
530
|
pickerCentered?: boolean;
|
|
531
|
+
timePickerVariant?: "list" | "wheel";
|
|
531
532
|
fontSize?: string | number;
|
|
532
533
|
fontColor?: string;
|
|
533
534
|
fontFamily?: string;
|
|
@@ -558,6 +559,21 @@ export type DateTextFieldProps = Omit<TextFieldProps, "type"> & BaseTextFieldPro
|
|
|
558
559
|
onCalendarOpen?: () => void;
|
|
559
560
|
onCalendarClose?: () => void;
|
|
560
561
|
};
|
|
562
|
+
/**
|
|
563
|
+
* 년월 · 년도 텍스트 필드 공용 타입(MonthTextField · YearTextField)
|
|
564
|
+
* 값은 "YYYY-MM" · "YYYY" 문자열. 칸을 벗어나면 displayFormat 의 글("2026년 11월")로 보인다.
|
|
565
|
+
*/
|
|
566
|
+
export type PeriodTextFieldProps = Omit<TextFieldProps, "type"> & BaseTextFieldProps & {
|
|
567
|
+
displayFormat?: (year: number, month: number) => string;
|
|
568
|
+
minDate?: Date;
|
|
569
|
+
maxDate?: Date;
|
|
570
|
+
calendarIcon?: boolean;
|
|
571
|
+
pickerCentered?: boolean;
|
|
572
|
+
};
|
|
573
|
+
/** 년월 텍스트 필드 타입 — 값 "YYYY-MM". */
|
|
574
|
+
export type MonthTextFieldProps = PeriodTextFieldProps;
|
|
575
|
+
/** 년도 텍스트 필드 타입 — 값 "YYYY". */
|
|
576
|
+
export type YearTextFieldProps = PeriodTextFieldProps;
|
|
561
577
|
/**
|
|
562
578
|
* 인증번호 텍스트 필드 타입
|
|
563
579
|
*/
|
|
@@ -673,6 +689,7 @@ export type DateTimeTextFieldProps = Omit<TextFieldProps, "type"> & BaseTextFiel
|
|
|
673
689
|
secondStep?: number;
|
|
674
690
|
hideDisabledTime?: boolean;
|
|
675
691
|
pickerCentered?: boolean;
|
|
692
|
+
timePickerVariant?: "list" | "wheel";
|
|
676
693
|
/**
|
|
677
694
|
* Tab 키 이동 방식 (기본값: "component")
|
|
678
695
|
* - "component": Tab 시 다음 컴포넌트로 이동(기존 동작)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ehfuse/mui-form-controls",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Material-UI form controls and text fields for complex forms",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@base-ui/react": "^1.1.0",
|
|
73
73
|
"@ehfuse/alerts": ">=1.1.0",
|
|
74
74
|
"@ehfuse/forma": "^3.4.0",
|
|
75
|
-
"@ehfuse/mui-datetime-picker": "^1.0.
|
|
75
|
+
"@ehfuse/mui-datetime-picker": "^1.0.24",
|
|
76
76
|
"@ehfuse/overlay-scrollbar": ">=1.6.9",
|
|
77
77
|
"@emotion/react": "^11.0.0",
|
|
78
78
|
"@emotion/styled": "^11.0.0",
|