@ehfuse/mui-form-controls 2.0.3 → 2.0.5
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/README.md +4 -15
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -8
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +1 -8
- package/dist/index.mjs.map +4 -4
- package/dist/types.d.ts +0 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,10 +35,9 @@ MUI 기반 폼 컨트롤과 텍스트 필드 컴포넌트 모음
|
|
|
35
35
|
| ---------------- | --------------------------------------------------------- | ------------------------------------ |
|
|
36
36
|
| **ButtonGroup** | 버튼 그룹 컴포넌트 | [API](./docs/ko/api.md#buttongroup) |
|
|
37
37
|
| **Checkbox** | MUI Checkbox 래퍼 (폼 통합) | [API](./docs/ko/api.md#checkbox) |
|
|
38
|
-
| **LabelSelect** | MUI Select 기반 선택 필드 (
|
|
38
|
+
| **LabelSelect** | MUI Select 기반 선택 필드 (권장: 라벨 포함, form 바인딩) | [API](./docs/ko/api.md#labelselect) |
|
|
39
39
|
| **RadioGroup** | MUI RadioGroup 래퍼 (폼 통합) | [API](./docs/ko/api.md#radiogroup) |
|
|
40
40
|
| **Rating** | 평점 입력 컴포넌트 | [API](./docs/ko/api.md#rating) |
|
|
41
|
-
| **Select** | MUI Select 기반 선택 필드 (라벨 미포함) | [API](./docs/ko/api.md#select) |
|
|
42
41
|
| **Slider** | MUI Slider 래퍼 (폼 통합) | [API](./docs/ko/api.md#slider) |
|
|
43
42
|
| **Stepper** | 스텝 진행 표시 컴포넌트 | [API](./docs/ko/api.md#stepper) |
|
|
44
43
|
| **Switch** | MUI Switch 래퍼 (폼 통합) | [API](./docs/ko/api.md#switch) |
|
|
@@ -98,7 +97,6 @@ import {
|
|
|
98
97
|
Stepper,
|
|
99
98
|
NumberField,
|
|
100
99
|
NumberSpinner,
|
|
101
|
-
Select,
|
|
102
100
|
LabelSelect,
|
|
103
101
|
Autocomplete,
|
|
104
102
|
Checkbox,
|
|
@@ -204,18 +202,7 @@ import {
|
|
|
204
202
|
maxTime="18:00"
|
|
205
203
|
/>
|
|
206
204
|
|
|
207
|
-
// 선택 필드 (
|
|
208
|
-
<Select
|
|
209
|
-
name="status"
|
|
210
|
-
form={form}
|
|
211
|
-
options={[
|
|
212
|
-
{ value: 'active', label: '활성' },
|
|
213
|
-
{ value: 'inactive', label: '비활성' },
|
|
214
|
-
]}
|
|
215
|
-
emptyLabel="상태 선택"
|
|
216
|
-
/>
|
|
217
|
-
|
|
218
|
-
// 선택 필드 (라벨 포함)
|
|
205
|
+
// 선택 필드 (권장: LabelSelect)
|
|
219
206
|
<LabelSelect
|
|
220
207
|
name="category"
|
|
221
208
|
label="카테고리"
|
|
@@ -255,6 +242,8 @@ import {
|
|
|
255
242
|
/>
|
|
256
243
|
```
|
|
257
244
|
|
|
245
|
+
> 선택 입력은 예제/문서 기준으로 `LabelSelect`를 사용합니다.
|
|
246
|
+
|
|
258
247
|
## Boolean 필드 표준 패턴
|
|
259
248
|
|
|
260
249
|
`Switch`를 boolean 입력의 기본 form-binding 컴포넌트로 사용합니다.
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export { Stepper } from "./Stepper";
|
|
|
23
23
|
export { NumberField, NumberSpinner } from "./NumberField";
|
|
24
24
|
export type { NumberFieldProps } from "./NumberField";
|
|
25
25
|
export { Autocomplete } from "./Autocomplete";
|
|
26
|
-
export { Select } from "./Select";
|
|
27
26
|
export { LabelSelect } from "./LabelSelect";
|
|
28
27
|
export { PhoneTextField } from "./PhoneTextField";
|
|
29
28
|
export { AddressTextField } from "./AddressTextField";
|
|
@@ -38,4 +37,4 @@ export { BizNumTextField } from "./BizNumTextField";
|
|
|
38
37
|
export { CardNumTextField } from "./CardNumTextField";
|
|
39
38
|
export { useKoreanHolidays, useKoreanHolidaysRange } from "./hooks";
|
|
40
39
|
export { CardIcon, VisaIcon, MastercardIcon, AmexIcon, JcbIcon, DinersIcon, DiscoverIcon, UnionPayIcon, BcIcon, } from "./icons";
|
|
41
|
-
export type { SearchTextFieldProps, ClearTextFieldProps, PasswordTextFieldProps, TextFieldProps, TextAreaProps, CheckboxProps, SwitchProps, RadioGroupProps, RadioOption, DateRangeProps, SliderProps, RatingProps, ToggleButtonProps, ToggleButtonGroupProps, ToggleButtonGroupOption, ButtonGroupProps, StepperProps, AutocompleteProps, AutocompleteOption,
|
|
40
|
+
export type { SearchTextFieldProps, ClearTextFieldProps, PasswordTextFieldProps, TextFieldProps, TextAreaProps, CheckboxProps, SwitchProps, RadioGroupProps, RadioOption, DateRangeProps, SliderProps, RatingProps, ToggleButtonProps, ToggleButtonGroupProps, ToggleButtonGroupOption, ButtonGroupProps, StepperProps, AutocompleteProps, AutocompleteOption, LabelSelectProps, LabelSelectOption, PasswordValidationRules, PasswordValidationResult, PhoneTextFieldProps, PhoneFormat, AddressTextFieldProps, DaumPostcodeData, NumberTextFieldProps, JuminTextFieldProps, JuminInfo, VerificationCodeTextFieldProps, VerificationCodeType, EmailTextFieldProps, CustomDomain, DateTextFieldProps, DateFormat, TimeTextFieldProps, TimeFormat, DateTimeTextFieldProps, DateTimeFormat, BizNumTextFieldProps, CardNumTextFieldProps, SelectChangeEvent, } from "./types";
|