react-calendar-datetime 2.0.2 → 2.0.4
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 +2 -2
- package/package.json +16 -6
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[](https://www.npmjs.com/package/react-calendar-datetime)
|
|
2
2
|
[](https://www.npmjs.com/package/react-calendar-datetime)
|
|
3
3
|
[](https://bundlephobia.com/package/react-calendar-datetime)
|
|
4
|
-
[](https://github.com
|
|
4
|
+
[](https://github.com/kirilinsky/react-calendar-datetime/blob/main/LICENSE)
|
|
5
5
|
|
|
6
6
|
# Calendar component for React (i18n)
|
|
7
7
|
|
|
@@ -81,7 +81,7 @@ Basic commands for development and building:
|
|
|
81
81
|
|
|
82
82
|
- **Weekday Headers:** Added localized day-of-week labels (Mon, Tue, etc.) above the date grid.
|
|
83
83
|
- **Built-in Themes:** Introduced 5 color palettes using CSS variables.
|
|
84
|
-
- **Flexible Layout:** New `
|
|
84
|
+
- **Flexible Layout:** New `months` prop allows the date grid to adapt and fill the container width.
|
|
85
85
|
- **Expanded Locales:** Added `es` (Spanish) and `sr` (Serbian) support.
|
|
86
86
|
- **Smart Presets:** Labels like "yesterday" or "month ago" are now fully localized via a dedicated i18n engine.
|
|
87
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-calendar-datetime",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "React date and time calendar component (with presets and locale)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -46,11 +46,21 @@
|
|
|
46
46
|
"typescript": "^5.9.3"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
|
-
"react
|
|
50
|
-
"calendar
|
|
51
|
-
"
|
|
52
|
-
"datetime
|
|
53
|
-
"
|
|
49
|
+
"react",
|
|
50
|
+
"calendar",
|
|
51
|
+
"datepicker",
|
|
52
|
+
"datetime-picker",
|
|
53
|
+
"time-picker",
|
|
54
|
+
"react-calendar",
|
|
55
|
+
"react-datepicker",
|
|
56
|
+
"dayjs",
|
|
57
|
+
"localization",
|
|
58
|
+
"multi-language",
|
|
59
|
+
"themes",
|
|
60
|
+
"customizable",
|
|
61
|
+
"presets",
|
|
62
|
+
"lightweight",
|
|
63
|
+
"typescript"
|
|
54
64
|
],
|
|
55
65
|
"engines": {
|
|
56
66
|
"node": ">=18.0.0"
|