@ehfuse/mui-form-controls 3.3.15 → 3.4.0

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
@@ -558,6 +558,21 @@ export type DateTextFieldProps = Omit<TextFieldProps, "type"> & BaseTextFieldPro
558
558
  onCalendarOpen?: () => void;
559
559
  onCalendarClose?: () => void;
560
560
  };
561
+ /**
562
+ * 년월 · 년도 텍스트 필드 공용 타입(MonthTextField · YearTextField)
563
+ * 값은 "YYYY-MM" · "YYYY" 문자열. 칸을 벗어나면 displayFormat 의 글("2026년 11월")로 보인다.
564
+ */
565
+ export type PeriodTextFieldProps = Omit<TextFieldProps, "type"> & BaseTextFieldProps & {
566
+ displayFormat?: (year: number, month: number) => string;
567
+ minDate?: Date;
568
+ maxDate?: Date;
569
+ calendarIcon?: boolean;
570
+ pickerCentered?: boolean;
571
+ };
572
+ /** 년월 텍스트 필드 타입 — 값 "YYYY-MM". */
573
+ export type MonthTextFieldProps = PeriodTextFieldProps;
574
+ /** 년도 텍스트 필드 타입 — 값 "YYYY". */
575
+ export type YearTextFieldProps = PeriodTextFieldProps;
561
576
  /**
562
577
  * 인증번호 텍스트 필드 타입
563
578
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/mui-form-controls",
3
- "version": "3.3.15",
3
+ "version": "3.4.0",
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.22",
75
+ "@ehfuse/mui-datetime-picker": "^1.0.23",
76
76
  "@ehfuse/overlay-scrollbar": ">=1.6.9",
77
77
  "@emotion/react": "^11.0.0",
78
78
  "@emotion/styled": "^11.0.0",