@daryasidorovich/modsen-datepicker 1.0.3 → 1.0.5
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 +5 -5
- package/dist/index.d.ts +1 -1
- package/package.json +3 -7
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ const Example = () => {
|
|
|
86
86
|
|
|
87
87
|
<div align="center">
|
|
88
88
|
|
|
89
|
-

|
|
89
|
+

|
|
90
90
|
</div>
|
|
91
91
|
|
|
92
92
|
### RangePicker
|
|
@@ -122,7 +122,7 @@ const Example = () => {
|
|
|
122
122
|
|
|
123
123
|
<div align="center">
|
|
124
124
|
|
|
125
|
-

|
|
125
|
+

|
|
126
126
|
</div>
|
|
127
127
|
|
|
128
128
|
### BaseCalendar
|
|
@@ -159,7 +159,7 @@ const Example = () => {
|
|
|
159
159
|
|
|
160
160
|
<div align="center">
|
|
161
161
|
|
|
162
|
-

|
|
162
|
+

|
|
163
163
|
</div>
|
|
164
164
|
|
|
165
165
|
## Callbacks
|
|
@@ -183,7 +183,7 @@ The input is `masked` (dd/mm/yyyy) and validated:
|
|
|
183
183
|
- **Out of range** — if minDate or maxDate is set and the value falls outside, the input shows the corresponding error and the value is rejected.
|
|
184
184
|
|
|
185
185
|
<div align="center">
|
|
186
|
-

|
|
186
|
+

|
|
187
187
|
|
|
188
188
|
</div>
|
|
189
189
|
|
|
@@ -298,5 +298,5 @@ The library ships with light and dark themes out of the box — no extra configu
|
|
|
298
298
|
|
|
299
299
|
<div align="center">
|
|
300
300
|
|
|
301
|
-

|
|
301
|
+

|
|
302
302
|
</div>
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FIRST_DAY_OF_WEEK } from './constants/firstDayOfWeek';
|
|
2
2
|
import { MODES } from './constants/modes';
|
|
3
3
|
export { BaseCalendar } from './components/BaseCalendar';
|
|
4
|
-
export type { BaseCalendarProps, CalendarProps, } from './components/
|
|
4
|
+
export type { BaseCalendarProps, CalendarProps, } from './components/CalendarGrid/types';
|
|
5
5
|
export type { DatePickerProps } from './components/DatePicker';
|
|
6
6
|
export { DatePicker } from './components/DatePicker';
|
|
7
7
|
export type { RangePickerProps } from './components/RangePicker';
|
package/package.json
CHANGED
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daryasidorovich/modsen-datepicker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.
|
|
7
|
-
"typings": "
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"typings": "dist/index.d.ts",
|
|
8
8
|
"style": "index.css",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"docs",
|
|
12
12
|
"README.md"
|
|
13
13
|
],
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/DashaSidorovich/modsen-datepicker"
|
|
17
|
-
},
|
|
18
14
|
"keywords": [
|
|
19
15
|
"React",
|
|
20
16
|
"Javascript",
|