-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update documentation for new v3.0
- Loading branch information
1 parent
f7b98a9
commit cc386b9
Showing
32 changed files
with
453 additions
and
766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
docs/en/learn/date-range/maximum-and-minimum-date-to-display.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Maximum and Minimum Date for Display | ||
|
||
The parameters `settings.range.min` and `settings.range.max define the range of dates that can be displayed in the calendar, but they do not affect the calendar's lifecycle. They simply specify which dates are allowed for display and selection. | ||
The parameters `displayDateMin` and `displayDateMax define the range of dates that can be displayed in the calendar, but they do not affect the calendar's lifecycle. They simply specify which dates are allowed for display and selection. | ||
|
||
For example, if the parameter `settings.visibility.disabled` is set to `true`, the minimum and maximum years available for user viewing will be determined by the values of the `date.min` and `date.max` parameters. | ||
For example, if the parameter `displayDisabledDates` is set to `true`, the minimum and maximum years available for user viewing will be determined by the values of the `dateMin` and `dateMax` parameters. | ||
|
||
<Sandbox example="date-range-maximum-and-minimum-date-to-display" /> | ||
|
||
Changing the `settings.visibility.disabled` parameter allows you to control the available dates for viewing and selection in the calendar. | ||
Changing the `displayDisabledDates` parameter allows you to control the available dates for viewing and selection in the calendar. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Week Numbers | ||
|
||
For example, in Norway, it's very common to denote dates using week numbers. | ||
You can enable the display of week numbers in the calendar by setting the `settings.visibility.weekNumbers` parameter to `true`. | ||
You can enable the display of week numbers in the calendar by setting the `enableWeekNumbers` parameter to `true`. | ||
|
||
<Sandbox example="internationalization-week-numbers" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Multiple | ||
|
||
The calendar type `'multiple'` displays multiple months, allowing you to select days in each of them. This calendar type is useful when a user needs to choose multiple dates in different months, but for this, you need to use the `settings.selection.day` parameter and set its value to `'multiple'`. | ||
The calendar type `'multiple'` displays multiple months, allowing you to select days in each of them. This calendar type is useful when a user needs to choose multiple dates in different months, but for this, you need to use the `selectionDatesMode` parameter and set its value to `'multiple'`. | ||
|
||
Example code for creating a calendar with the type `'multiple'`. | ||
|
||
<Sandbox example="type-of-calendar-multiple" vertically={false} height={680} /> | ||
|
||
If you need to select date ranges in each month, you can use the `settings.selection.day` parameter and set its value to `'multiple-ranged'`. This allows you to select date ranges, not just individual days. | ||
If you need to select date ranges in each month, you can use the `selectionDatesMode` parameter and set its value to `'multiple-ranged'`. This allows you to select date ranges, not just individual days. | ||
|
||
<Sandbox example="type-of-calendar-multiple-ranged" vertically={false} height={680} /> |
Oops, something went wrong.