@ehfuse/mui-form-controls 3.0.14 → 3.0.16
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/LICENSE +21 -21
- package/README.md +312 -312
- package/dist/Select.d.ts +3 -0
- package/dist/address.js.map +1 -1
- package/dist/address.mjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +4 -4
- package/dist/types.d.ts +22 -0
- package/package.json +90 -90
package/dist/types.d.ts
CHANGED
|
@@ -160,6 +160,28 @@ export type LabelSelectOption = {
|
|
|
160
160
|
/** 호버 시 브라우저 기본 툴팁(네이티브 `title`)로 표시할 안내 문구입니다. */
|
|
161
161
|
title?: string;
|
|
162
162
|
};
|
|
163
|
+
export type SelectOption = {
|
|
164
|
+
value: string | number | boolean;
|
|
165
|
+
label: React.ReactNode;
|
|
166
|
+
readonly?: boolean;
|
|
167
|
+
disabled?: boolean;
|
|
168
|
+
title?: string;
|
|
169
|
+
};
|
|
170
|
+
export type SelectProps = Omit<MuiSelectProps, "value" | "onChange" | "defaultValue" | "form"> & BaseTextFieldProps & {
|
|
171
|
+
label?: React.ReactNode;
|
|
172
|
+
value?: string | number | boolean;
|
|
173
|
+
onChange?: (event: SelectChangeEvent<string | number>) => void;
|
|
174
|
+
options: SelectOption[];
|
|
175
|
+
inputProps?: InputBaseComponentProps;
|
|
176
|
+
enableWheel?: boolean;
|
|
177
|
+
showLabel?: boolean;
|
|
178
|
+
emptyLabel?: React.ReactNode;
|
|
179
|
+
showEmptyOption?: boolean;
|
|
180
|
+
fullWidth?: boolean;
|
|
181
|
+
formControlProps?: Omit<FormControlProps, "children">;
|
|
182
|
+
name?: string;
|
|
183
|
+
suffix?: React.ReactNode;
|
|
184
|
+
};
|
|
163
185
|
export type LabelSelectProps = Omit<MuiSelectProps, "value" | "onChange" | "defaultValue" | "form"> & BaseTextFieldProps & {
|
|
164
186
|
label: string;
|
|
165
187
|
value?: string | number;
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ehfuse/mui-form-controls",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "Material-UI form controls and text fields for complex forms",
|
|
5
|
-
"private": false,
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
8
|
-
},
|
|
9
|
-
"main": "dist/index.js",
|
|
10
|
-
"module": "dist/index.mjs",
|
|
11
|
-
"types": "dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.mjs",
|
|
16
|
-
"require": "./dist/index.js"
|
|
17
|
-
},
|
|
18
|
-
"./address": {
|
|
19
|
-
"types": "./dist/address.d.ts",
|
|
20
|
-
"import": "./dist/address.mjs",
|
|
21
|
-
"require": "./dist/address.js"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"files": [
|
|
25
|
-
"dist"
|
|
26
|
-
],
|
|
27
|
-
"scripts": {
|
|
28
|
-
"build": "node build.mjs",
|
|
29
|
-
"build:types": "tsc --emitDeclarationOnly",
|
|
30
|
-
"prepublishOnly": "npm run build"
|
|
31
|
-
},
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/ehfuse/mui-form-controls.git"
|
|
35
|
-
},
|
|
36
|
-
"keywords": [
|
|
37
|
-
"react",
|
|
38
|
-
"mui",
|
|
39
|
-
"material-ui",
|
|
40
|
-
"form",
|
|
41
|
-
"controls",
|
|
42
|
-
"textfield",
|
|
43
|
-
"textarea",
|
|
44
|
-
"select",
|
|
45
|
-
"autocomplete",
|
|
46
|
-
"checkbox",
|
|
47
|
-
"switch",
|
|
48
|
-
"radio",
|
|
49
|
-
"slider",
|
|
50
|
-
"search",
|
|
51
|
-
"password",
|
|
52
|
-
"clear-button",
|
|
53
|
-
"input"
|
|
54
|
-
],
|
|
55
|
-
"author": "김영진 (Kim Young Jin) <ehfuse@gmail.com>",
|
|
56
|
-
"license": "MIT",
|
|
57
|
-
"bugs": {
|
|
58
|
-
"url": "https://github.com/ehfuse/mui-form-controls/issues"
|
|
59
|
-
},
|
|
60
|
-
"homepage": "https://github.com/ehfuse/mui-form-controls#readme",
|
|
61
|
-
"devDependencies": {
|
|
62
|
-
"@ehfuse/alerts": "^1.1.2",
|
|
63
|
-
"@ehfuse/overlay-scrollbar": "^1.6.9",
|
|
64
|
-
"@types/react": "^19.2.7",
|
|
65
|
-
"@types/react-daum-postcode": "^1.3.4",
|
|
66
|
-
"@types/react-dom": "^19.2.3",
|
|
67
|
-
"esbuild": "^0.27.0",
|
|
68
|
-
"react-daum-postcode": "^4.0.0",
|
|
69
|
-
"typescript": "^5.9.3"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"@base-ui/react": "^1.1.0",
|
|
73
|
-
"@ehfuse/alerts": ">=1.1.0",
|
|
74
|
-
"@ehfuse/forma": ">=3.1.0",
|
|
75
|
-
"@ehfuse/mui-datetime-picker": "^1.0.13",
|
|
76
|
-
"@ehfuse/overlay-scrollbar": ">=1.6.9",
|
|
77
|
-
"@emotion/react": "^11.0.0",
|
|
78
|
-
"@emotion/styled": "^11.0.0",
|
|
79
|
-
"@mui/icons-material": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
80
|
-
"@mui/material": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
81
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
82
|
-
"react-daum-postcode": "^3.0.0 || ^4.0.0",
|
|
83
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
84
|
-
},
|
|
85
|
-
"peerDependenciesMeta": {
|
|
86
|
-
"react-daum-postcode": {
|
|
87
|
-
"optional": true
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ehfuse/mui-form-controls",
|
|
3
|
+
"version": "3.0.16",
|
|
4
|
+
"description": "Material-UI form controls and text fields for complex forms",
|
|
5
|
+
"private": false,
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"module": "dist/index.mjs",
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.mjs",
|
|
16
|
+
"require": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./address": {
|
|
19
|
+
"types": "./dist/address.d.ts",
|
|
20
|
+
"import": "./dist/address.mjs",
|
|
21
|
+
"require": "./dist/address.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "node build.mjs",
|
|
29
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
30
|
+
"prepublishOnly": "npm run build"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/ehfuse/mui-form-controls.git"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"react",
|
|
38
|
+
"mui",
|
|
39
|
+
"material-ui",
|
|
40
|
+
"form",
|
|
41
|
+
"controls",
|
|
42
|
+
"textfield",
|
|
43
|
+
"textarea",
|
|
44
|
+
"select",
|
|
45
|
+
"autocomplete",
|
|
46
|
+
"checkbox",
|
|
47
|
+
"switch",
|
|
48
|
+
"radio",
|
|
49
|
+
"slider",
|
|
50
|
+
"search",
|
|
51
|
+
"password",
|
|
52
|
+
"clear-button",
|
|
53
|
+
"input"
|
|
54
|
+
],
|
|
55
|
+
"author": "김영진 (Kim Young Jin) <ehfuse@gmail.com>",
|
|
56
|
+
"license": "MIT",
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/ehfuse/mui-form-controls/issues"
|
|
59
|
+
},
|
|
60
|
+
"homepage": "https://github.com/ehfuse/mui-form-controls#readme",
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@ehfuse/alerts": "^1.1.2",
|
|
63
|
+
"@ehfuse/overlay-scrollbar": "^1.6.9",
|
|
64
|
+
"@types/react": "^19.2.7",
|
|
65
|
+
"@types/react-daum-postcode": "^1.3.4",
|
|
66
|
+
"@types/react-dom": "^19.2.3",
|
|
67
|
+
"esbuild": "^0.27.0",
|
|
68
|
+
"react-daum-postcode": "^4.0.0",
|
|
69
|
+
"typescript": "^5.9.3"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"@base-ui/react": "^1.1.0",
|
|
73
|
+
"@ehfuse/alerts": ">=1.1.0",
|
|
74
|
+
"@ehfuse/forma": ">=3.1.0",
|
|
75
|
+
"@ehfuse/mui-datetime-picker": "^1.0.13",
|
|
76
|
+
"@ehfuse/overlay-scrollbar": ">=1.6.9",
|
|
77
|
+
"@emotion/react": "^11.0.0",
|
|
78
|
+
"@emotion/styled": "^11.0.0",
|
|
79
|
+
"@mui/icons-material": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
80
|
+
"@mui/material": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
81
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
82
|
+
"react-daum-postcode": "^3.0.0 || ^4.0.0",
|
|
83
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependenciesMeta": {
|
|
86
|
+
"react-daum-postcode": {
|
|
87
|
+
"optional": true
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|