@contentful/f36-datepicker 4.54.2 → 4.54.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.mdx +4 -2
- package/package.json +6 -6
package/README.mdx
CHANGED
|
@@ -66,9 +66,11 @@ You can use Datepicker with the [FormControl](/components/form-control) in order
|
|
|
66
66
|
|
|
67
67
|
### Limiting the date range
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
Set mininum and/or maximum dates to limit users to choose from a specific period in time.
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
Use the `fromDate` and `toDate` properties to control time frames.
|
|
72
|
+
|
|
73
|
+
```jsx file=./examples/Datepicker/LimitingTheDateRange.tsx
|
|
72
74
|
|
|
73
75
|
```
|
|
74
76
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/f36-datepicker",
|
|
3
|
-
"version": "4.54.
|
|
3
|
+
"version": "4.54.4",
|
|
4
4
|
"description": "Forma 36: Datepicker component",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@contentful/f36-core": "^4.54.
|
|
10
|
-
"@contentful/f36-typography": "^4.54.
|
|
11
|
-
"@contentful/f36-forms": "^4.54.
|
|
12
|
-
"@contentful/f36-popover": "^4.54.
|
|
9
|
+
"@contentful/f36-core": "^4.54.4",
|
|
10
|
+
"@contentful/f36-typography": "^4.54.4",
|
|
11
|
+
"@contentful/f36-forms": "^4.54.4",
|
|
12
|
+
"@contentful/f36-popover": "^4.54.4",
|
|
13
13
|
"@contentful/f36-icons": "^4.27.0",
|
|
14
|
-
"@contentful/f36-button": "^4.54.
|
|
14
|
+
"@contentful/f36-button": "^4.54.4",
|
|
15
15
|
"@contentful/f36-tokens": "^4.0.2",
|
|
16
16
|
"emotion": "^10.0.17",
|
|
17
17
|
"date-fns": "^2.28.0",
|