@ehfuse/mui-form-controls 3.0.17 → 3.0.18

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
@@ -165,6 +165,28 @@ export type LabelSelectOption = {
165
165
  /** 호버 시 브라우저 기본 툴팁(네이티브 `title`)로 표시할 안내 문구입니다. */
166
166
  title?: string;
167
167
  };
168
+ export type SelectOption = {
169
+ value: string | number | boolean;
170
+ label: React.ReactNode;
171
+ readonly?: boolean;
172
+ disabled?: boolean;
173
+ title?: string;
174
+ };
175
+ export type SelectProps = Omit<MuiSelectProps, "value" | "onChange" | "defaultValue" | "form"> & BaseTextFieldProps & {
176
+ label?: React.ReactNode;
177
+ value?: string | number | boolean;
178
+ onChange?: (event: SelectChangeEvent<string | number>) => void;
179
+ options: SelectOption[];
180
+ inputProps?: InputBaseComponentProps;
181
+ enableWheel?: boolean;
182
+ showLabel?: boolean;
183
+ emptyLabel?: React.ReactNode;
184
+ showEmptyOption?: boolean;
185
+ fullWidth?: boolean;
186
+ formControlProps?: Omit<FormControlProps, "children">;
187
+ name?: string;
188
+ suffix?: React.ReactNode;
189
+ };
168
190
  export type LabelSelectProps = Omit<MuiSelectProps, "value" | "onChange" | "defaultValue" | "form"> & BaseTextFieldProps & {
169
191
  label: string;
170
192
  value?: string | number;
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@ehfuse/mui-form-controls",
3
- "version": "3.0.17",
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.18",
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,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>>;