@momo-kits/calendar 0.151.1-beta.2 → 0.151.1-beta.21
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/CalendarPro.tsx +1 -1
- package/package.json +20 -20
package/CalendarPro.tsx
CHANGED
|
@@ -85,7 +85,7 @@ const CalendarPro = forwardRef<CalendarProRef, CalendarProProps>(
|
|
|
85
85
|
const [headerKey, setHeaderKey] = useState<string>('');
|
|
86
86
|
const [ownUpdate, setOwnUpdate] = useState<boolean>(false);
|
|
87
87
|
|
|
88
|
-
const converter: any = useMemo(() => LunarDateConverter(), []);
|
|
88
|
+
const converter: any = useMemo(() => new LunarDateConverter(), []);
|
|
89
89
|
|
|
90
90
|
useImperativeHandle(ref, () => ({
|
|
91
91
|
setDoubleDateAndTabIndex: (
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
2
|
+
"name": "@momo-kits/calendar",
|
|
3
|
+
"version": "0.151.1-beta.21",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "index.tsx",
|
|
6
|
+
"peerDependencies": {
|
|
7
|
+
"@momo-kits/foundation": "latest",
|
|
8
|
+
"react": "*",
|
|
9
|
+
"react-native": "*"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@momo-platform/versions": "4.1.11"
|
|
13
|
+
},
|
|
14
|
+
"license": "MoMo",
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"registry": "https://registry.npmjs.org/"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"moment": "^2.24.0"
|
|
20
|
+
}
|
|
21
|
+
}
|