@ehfuse/mui-form-controls 3.1.51 → 3.1.53

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.
@@ -38,6 +38,7 @@ export declare function parseDateParts(value: string, format: DateFormat): {
38
38
  month: number;
39
39
  day: number;
40
40
  } | null;
41
+ export declare function toDateOnly(value?: Date): Date | undefined;
41
42
  /**
42
43
  * 날짜 유효성 검사
43
44
  */
@@ -5,7 +5,7 @@
5
5
  * @copyright 2025 김영진 (Kim Young Jin)
6
6
  * @author 김영진 (ehfuse@gmail.com)
7
7
  */
8
- export { isLeapYear, getDaysInMonth, getSeparator, formatDate, getMaxLength, getCompleteLength, parseDateParts, validateDate, parseToDate, clampDateValue, extractDateFormat, hasSecondField, constrainDateNumbers, formatDateValue, formatToPlaceholder, getSegmentRange, hasYearInFormat, has2DigitYear, convertYY2YYYY, parseDateWithInternalYear, buildDateOutputValue, dateToNumbers, tryParsePastedDateTimeClipboard, tryParsePastedDateClipboard, } from "./date";
8
+ export { isLeapYear, getDaysInMonth, getSeparator, formatDate, getMaxLength, getCompleteLength, parseDateParts, validateDate, toDateOnly, parseToDate, clampDateValue, extractDateFormat, hasSecondField, constrainDateNumbers, formatDateValue, formatToPlaceholder, getSegmentRange, hasYearInFormat, has2DigitYear, convertYY2YYYY, parseDateWithInternalYear, buildDateOutputValue, dateToNumbers, tryParsePastedDateTimeClipboard, tryParsePastedDateClipboard, } from "./date";
9
9
  export type { ParsedPasteDateTime, ParsedPasteDateOnly } from "./date";
10
10
  export { getTimeFieldCount, is12HourFormat, validateTime, clampTimeValue, } from "./time";
11
11
  export { clampNumberToRange, formatNumber, formatNumberFieldDisplay, isThousandGroupingEnabled, parseNumber, resolveThousandSeparator, stripGroupingFromInput, } from "./number";
package/package.json CHANGED
@@ -1,99 +1,99 @@
1
- {
2
- "name": "@ehfuse/mui-form-controls",
3
- "version": "3.1.51",
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.4.0",
75
- "@ehfuse/mui-datetime-picker": "^1.0.16",
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
- "dependencies": {
91
- "@dnd-kit/core": "^6.3.1",
92
- "@dnd-kit/modifiers": "^9.0.0",
93
- "@dnd-kit/sortable": "^10.0.0",
94
- "@dnd-kit/utilities": "^3.2.2"
95
- },
96
- "allowScripts": {
97
- "esbuild@0.27.0": true
98
- }
99
- }
1
+ {
2
+ "name": "@ehfuse/mui-form-controls",
3
+ "version": "3.1.53",
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.4.0",
75
+ "@ehfuse/mui-datetime-picker": "^1.0.16",
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
+ "dependencies": {
91
+ "@dnd-kit/core": "^6.3.1",
92
+ "@dnd-kit/modifiers": "^9.0.0",
93
+ "@dnd-kit/sortable": "^10.0.0",
94
+ "@dnd-kit/utilities": "^3.2.2"
95
+ },
96
+ "allowScripts": {
97
+ "esbuild@0.27.0": true
98
+ }
99
+ }