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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +16 -6
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  [![npm version](https://img.shields.io/npm/v/react-calendar-datetime.svg?style=flat-square)](https://www.npmjs.com/package/react-calendar-datetime)
2
2
  [![npm downloads](https://img.shields.io/npm/dm/react-calendar-datetime.svg?style=flat-square)](https://www.npmjs.com/package/react-calendar-datetime)
3
3
  [![bundle size](https://img.shields.io/bundlephobia/minzip/react-calendar-datetime?style=flat-square)](https://bundlephobia.com/package/react-calendar-datetime)
4
- [![license](https://img.shields.io/npm/l/react-calendar-datetime.svg?style=flat-square)](https://github.com/твоё_имя/react-calendar-datetime/blob/main/LICENSE)
4
+ [![license](https://img.shields.io/npm/l/react-calendar-datetime.svg?style=flat-square)](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 `showMonths` prop allows the date grid to adapt and fill the container width.
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.2",
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 datepicker",
50
- "calendar date time",
51
- "react calendar date time",
52
- "datetime picker",
53
- "calendar locale react datetimepicker"
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"