Type Alias: DeprecatedUI<T>
DeprecatedUI<
T
>: {button
:T
;button_reset
:T
;caption
:T
;caption_between
:T
;caption_dropdowns
:T
;caption_end
:T
;caption_start
:T
;cell
:T
;day_disabled
:T
;day_hidden
:T
;day_outside
:T
;day_range_end
:T
;day_range_middle
:T
;day_range_start
:T
;day_selected
:T
;day_today
:T
;dropdown_icon
:T
;dropdown_month
:T
;dropdown_year
:T
;head
:T
;head_cell
:T
;head_row
:T
;multiple_months
:T
;nav_button
:T
;nav_button_next
:T
;nav_button_previous
:T
;nav_icon
:T
;row
:T
;table
:T
;tbody
:T
;tfoot
:T
;vhidden
:T
;weeknumber
:T
;with_weeknumber
:T
; }
Deprecated UI elements and flags.
These elements were used in previous version of DayPicker and are kept here to help the transition to the new UI elements.
<DayPicker classNames={{
- cell: "my-cell",
+ day: "my-cell",
- day: "my-day",
+ day_button: "my-day",
- day_disabled: "my-day_disabled",
+ disabled: "my-day_disabled",
// etc.
}}/>
Type Parameters
Type Parameter |
---|
T extends CSSProperties | string |
Type declaration
Name | Type | Description |
---|---|---|
button | T | This element was applied to the style of any button in DayPicker and it is replaced by UI.PreviousMonthButton and UI.NextMonthButton. Deprecated |
button_reset | T | This element was resetting the style of any button in DayPicker and it is replaced by UI.PreviousMonthButton and UI.NextMonthButton. Deprecated |
caption | T | This element has been renamed to UI.MonthCaption. Deprecated |
caption_between | T | This element has been removed. Captions are styled via UI.MonthCaption. Deprecated |
caption_dropdowns | T | This element has been renamed to UI.Dropdowns. Deprecated |
caption_end | T | This element has been removed. Captions are styled via UI.MonthCaption. Deprecated |
caption_start | T | This element has been removed. Deprecated |
cell | T | This element has been renamed to UI.Day. Deprecated |
day_disabled | T | This element has been renamed to DayFlag.disabled. Deprecated |
day_hidden | T | This element has been renamed to DayFlag.hidden. Deprecated |
day_outside | T | This element has been renamed to DayFlag.outside. Deprecated |
day_range_end | T | This element has been renamed to SelectionState.range_end. Deprecated |
day_range_middle | T | This element has been renamed to SelectionState.range_middle. Deprecated |
day_range_start | T | This element has been renamed to SelectionState.range_start. Deprecated |
day_selected | T | This element has been renamed to SelectionState.selected. Deprecated |
day_today | T | This element has been renamed to DayFlag.today. Deprecated |
dropdown_icon | T | This element has been removed. The dropdown icon is now UI.Chevron inside a UI.CaptionLabel. Deprecated |
dropdown_month | T | This element has been renamed to UI.MonthsDropdown. Deprecated |
dropdown_year | T | This element has been renamed to UI.YearsDropdown. Deprecated |
head | T | This element has been removed. Deprecated |
head_cell | T | This element has been renamed to UI.Weekday. Deprecated |
head_row | T | This element has been renamed to UI.Weekdays. Deprecated |
multiple_months | T | This flag has been removed. Use data-multiple-months in your CSS selectors. Deprecated |
nav_button | T | This element has been removed. To style the navigation buttons, use UI.PreviousMonthButton and UI.NextMonthButton. Deprecated |
nav_button_next | T | This element has been renamed to UI.NextMonthButton. Deprecated |
nav_button_previous | T | This element has been renamed to UI.PreviousMonthButton. Deprecated |
nav_icon | T | This element has been removed. The dropdown icon is now UI.Chevron inside a UI.NextMonthButton or a UI.PreviousMonthButton. Deprecated |
row | T | This element has been renamed to UI.Week. Deprecated |
table | T | This element has been renamed to UI.MonthGrid. Deprecated |
tbody | T | This element has been renamed to UI.Weeks. Deprecated |
tfoot | T | This element has been removed. The UI.Footer is now a single element below the months. Deprecated |
vhidden | T | This flag has been removed. There are no "visually hidden" elements in DayPicker 9. Deprecated |
weeknumber | T | This element has been renamed. Use UI.WeekNumber instead. Deprecated |
with_weeknumber | T | This flag has been removed. Use data-week-numbers in your CSS. Deprecated |
Deprecated
Since
9.0.1