@indico-data/design-system 2.42.0 → 2.42.1
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/jest.config.js +1 -0
- package/lib/components/forms/date/datePicker/DatePicker.d.ts +1 -0
- package/lib/index.css +306 -2
- package/lib/index.esm.css +306 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +4 -2
- package/src/components/forms/date/datePicker/DatePicker.tsx +2 -0
- package/src/components/forms/date/datePicker/styles/DatePicker.scss +0 -2
- package/src/components/pill/Pill.mdx +2 -2
package/jest.config.js
CHANGED
package/lib/index.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import 'react-day-picker/style.css';
|
|
2
1
|
@import './assets/fonts/mulish/mulish.css';
|
|
3
2
|
:root {
|
|
4
3
|
--pf-font-family-base: "Mulish", sans-serif;
|
|
@@ -5003,4 +5002,309 @@ p,
|
|
|
5003
5002
|
100% {
|
|
5004
5003
|
transform: rotate(360deg);
|
|
5005
5004
|
}
|
|
5006
|
-
}
|
|
5005
|
+
}
|
|
5006
|
+
/* Variables declaration */
|
|
5007
|
+
/* prettier-ignore */
|
|
5008
|
+
.rdp-root {
|
|
5009
|
+
--rdp-accent-color: blue; /* The accent color used for selected days and UI elements. */
|
|
5010
|
+
--rdp-accent-background-color: #f0f0ff; /* The accent background color used for selected days and UI elements. */
|
|
5011
|
+
--rdp-font-family: system-ui; /* The font family used by the calendar. Note that `inherit`does not work here. */
|
|
5012
|
+
|
|
5013
|
+
--rdp-day-font: inherit; /* The font used for the day cells. */
|
|
5014
|
+
--rdp-day-height: 2.75rem; /* The height of the day cells. */
|
|
5015
|
+
--rdp-day-width: 2.75rem; /* The width of the day cells. */
|
|
5016
|
+
|
|
5017
|
+
--rdp-day_button-border-radius: 100%; /* The border radius of the day cells. */
|
|
5018
|
+
--rdp-day_button-border: 2px solid transparent; /* The border of the day cells. */
|
|
5019
|
+
--rdp-day_button-height: var(--rdp-day-width); /* The height of the day cells. */
|
|
5020
|
+
--rdp-day_button-width: var(--rdp-day-height); /* The width of the day cells. */
|
|
5021
|
+
|
|
5022
|
+
--rdp-selected-border: 2px solid var(--rdp-accent-color); /* The border of the selected days. */
|
|
5023
|
+
--rdp-selected-font: bold large var(--rdp-font-family); /* The font of the selected days. */
|
|
5024
|
+
--rdp-disabled-opacity: 0.5; /* The opacity of the disabled days. */
|
|
5025
|
+
--rdp-outside-opacity: 0.75; /* The opacity of the days outside the current month. */
|
|
5026
|
+
--rdp-today-color: var(--rdp-accent-color); /* The color of the today's date. */
|
|
5027
|
+
|
|
5028
|
+
--rdp-dropdown-gap: 0.5rem;/* The gap between the dropdowns used in the month captons. */
|
|
5029
|
+
|
|
5030
|
+
--rdp-month_caption-font: bold larger var(--rdp-font-family); /* The font of the month caption. */
|
|
5031
|
+
--rdp-months-gap: 2rem; /* The gap between the months in the multi-month view. */
|
|
5032
|
+
|
|
5033
|
+
--rdp-nav_button-disabled-opacity: 0.5; /* The opacity of the disabled navigation buttons. */
|
|
5034
|
+
--rdp-nav_button-height: 2.25rem; /* The height of the navigation buttons. */
|
|
5035
|
+
--rdp-nav_button-width: 2.25rem; /* The width of the navigation buttons. */
|
|
5036
|
+
--rdp-nav-height: 2.75rem; /* The height of the navigation bar. */
|
|
5037
|
+
|
|
5038
|
+
--rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
|
|
5039
|
+
--rdp-range_middle-font: normal medium var(--rdp-font-family); /* The font for days in the middle of a range. */
|
|
5040
|
+
--rdp-range_middle-foreground-color: white; /* The font for days in the middle of a range. */
|
|
5041
|
+
--rdp-range_middle-color: inherit;/* The color of the range text. */
|
|
5042
|
+
|
|
5043
|
+
--rdp-range_start-color: white; /* The color of the range text. */
|
|
5044
|
+
--rdp-range_start-background: linear-gradient(var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50%); /* Used for the background of the start of the selected range. */
|
|
5045
|
+
--rdp-range_start-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the start of the selected range. */
|
|
5046
|
+
|
|
5047
|
+
--rdp-range_end-background: linear-gradient(var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50%); /* Used for the background of the end of the selected range. */
|
|
5048
|
+
--rdp-range_end-color: white;/* The color of the range text. */
|
|
5049
|
+
--rdp-range_end-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the end of the selected range. */
|
|
5050
|
+
|
|
5051
|
+
--rdp-week_number-border-radius: 100%; /* The border radius of the week number. */
|
|
5052
|
+
--rdp-week_number-border: 2px solid transparent; /* The border of the week number. */
|
|
5053
|
+
--rdp-week_number-font: 400 small var(--rdp-font-family); /* The font of the week number cells. */
|
|
5054
|
+
--rdp-week_number-height: var(--rdp-day-height); /* The height of the week number cells. */
|
|
5055
|
+
--rdp-week_number-opacity: 0.75; /* The opacity of the week number. */
|
|
5056
|
+
--rdp-week_number-width: var(--rdp-day-width); /* The width of the week number cells. */
|
|
5057
|
+
--rdp-weeknumber-text-align: center; /* The text alignment of the weekday cells. */
|
|
5058
|
+
|
|
5059
|
+
--rdp-weekday-font: 500 smaller var(--rdp-font-family); /* The font of the weekday. */
|
|
5060
|
+
--rdp-weekday-opacity: 0.75; /* The opacity of the weekday. */
|
|
5061
|
+
--rdp-weekday-padding: 0.5rem 0rem; /* The padding of the weekday. */
|
|
5062
|
+
--rdp-weekday-text-align: center; /* The text alignment of the weekday cells. */
|
|
5063
|
+
|
|
5064
|
+
--rdp-gradient-direction: 90deg;
|
|
5065
|
+
}
|
|
5066
|
+
|
|
5067
|
+
.rdp-root[dir="rtl"] {
|
|
5068
|
+
--rdp-gradient-direction: -90deg;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
/* Root of the component. */
|
|
5072
|
+
.rdp-root {
|
|
5073
|
+
position: relative; /* Required to position the navigation toolbar. */
|
|
5074
|
+
box-sizing: border-box;
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
.rdp-root * {
|
|
5078
|
+
box-sizing: border-box;
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
.rdp-day {
|
|
5082
|
+
width: var(--rdp-day-width);
|
|
5083
|
+
height: var(--rdp-day-height);
|
|
5084
|
+
font: var(--rdp-day-font);
|
|
5085
|
+
text-align: center;
|
|
5086
|
+
}
|
|
5087
|
+
|
|
5088
|
+
.rdp-day_button {
|
|
5089
|
+
background: none;
|
|
5090
|
+
padding: 0;
|
|
5091
|
+
margin: 0;
|
|
5092
|
+
cursor: pointer;
|
|
5093
|
+
font: inherit;
|
|
5094
|
+
color: inherit;
|
|
5095
|
+
justify-content: center;
|
|
5096
|
+
align-items: center;
|
|
5097
|
+
display: flex;
|
|
5098
|
+
|
|
5099
|
+
width: var(--rdp-day_button-width);
|
|
5100
|
+
height: var(--rdp-day_button-height);
|
|
5101
|
+
border: var(--rdp-day_button-border);
|
|
5102
|
+
border-radius: var(--rdp-day_button-border-radius);
|
|
5103
|
+
}
|
|
5104
|
+
|
|
5105
|
+
.rdp-day_button:disabled {
|
|
5106
|
+
cursor: revert;
|
|
5107
|
+
}
|
|
5108
|
+
|
|
5109
|
+
.rdp-caption_label {
|
|
5110
|
+
z-index: 1;
|
|
5111
|
+
|
|
5112
|
+
position: relative;
|
|
5113
|
+
display: inline-flex;
|
|
5114
|
+
align-items: center;
|
|
5115
|
+
|
|
5116
|
+
white-space: nowrap;
|
|
5117
|
+
border: 0;
|
|
5118
|
+
}
|
|
5119
|
+
|
|
5120
|
+
.rdp-button_next,
|
|
5121
|
+
.rdp-button_previous {
|
|
5122
|
+
border: none;
|
|
5123
|
+
background: none;
|
|
5124
|
+
padding: 0;
|
|
5125
|
+
margin: 0;
|
|
5126
|
+
cursor: pointer;
|
|
5127
|
+
font: inherit;
|
|
5128
|
+
color: inherit;
|
|
5129
|
+
-moz-appearance: none;
|
|
5130
|
+
-webkit-appearance: none;
|
|
5131
|
+
display: inline-flex;
|
|
5132
|
+
align-items: center;
|
|
5133
|
+
justify-content: center;
|
|
5134
|
+
position: relative;
|
|
5135
|
+
appearance: none;
|
|
5136
|
+
|
|
5137
|
+
width: var(--rdp-nav_button-width);
|
|
5138
|
+
height: var(--rdp-nav_button-height);
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
.rdp-button_next:disabled,
|
|
5142
|
+
.rdp-button_previous:disabled {
|
|
5143
|
+
cursor: revert;
|
|
5144
|
+
|
|
5145
|
+
opacity: var(--rdp-nav_button-disabled-opacity);
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
.rdp-chevron {
|
|
5149
|
+
display: inline-block;
|
|
5150
|
+
fill: var(--rdp-accent-color);
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron {
|
|
5154
|
+
transform: rotate(180deg);
|
|
5155
|
+
}
|
|
5156
|
+
|
|
5157
|
+
.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron {
|
|
5158
|
+
transform: rotate(180deg);
|
|
5159
|
+
transform-origin: 50%;
|
|
5160
|
+
}
|
|
5161
|
+
|
|
5162
|
+
.rdp-dropdowns {
|
|
5163
|
+
position: relative;
|
|
5164
|
+
display: inline-flex;
|
|
5165
|
+
align-items: center;
|
|
5166
|
+
gap: var(--rdp-dropdown-gap);
|
|
5167
|
+
}
|
|
5168
|
+
.rdp-dropdown {
|
|
5169
|
+
z-index: 2;
|
|
5170
|
+
|
|
5171
|
+
/* Reset */
|
|
5172
|
+
opacity: 0;
|
|
5173
|
+
-webkit-appearance: none;
|
|
5174
|
+
-moz-appearance: none;
|
|
5175
|
+
appearance: none;
|
|
5176
|
+
position: absolute;
|
|
5177
|
+
inset-block-start: 0;
|
|
5178
|
+
inset-block-end: 0;
|
|
5179
|
+
inset-inline-start: 0;
|
|
5180
|
+
width: 100%;
|
|
5181
|
+
margin: 0;
|
|
5182
|
+
padding: 0;
|
|
5183
|
+
cursor: inherit;
|
|
5184
|
+
border: none;
|
|
5185
|
+
line-height: inherit;
|
|
5186
|
+
}
|
|
5187
|
+
|
|
5188
|
+
.rdp-dropdown_root {
|
|
5189
|
+
position: relative;
|
|
5190
|
+
display: inline-flex;
|
|
5191
|
+
align-items: center;
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
.rdp-dropdown_root[data-disabled="true"] .rdp-chevron {
|
|
5195
|
+
opacity: var(--rdp-disabled-opacity);
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
.rdp-month_caption {
|
|
5199
|
+
display: flex;
|
|
5200
|
+
align-content: center;
|
|
5201
|
+
height: var(--rdp-nav-height);
|
|
5202
|
+
font: var(--rdp-month_caption-font);
|
|
5203
|
+
}
|
|
5204
|
+
|
|
5205
|
+
.rdp-months {
|
|
5206
|
+
position: relative;
|
|
5207
|
+
display: flex;
|
|
5208
|
+
flex-wrap: wrap;
|
|
5209
|
+
gap: var(--rdp-months-gap);
|
|
5210
|
+
max-width: -moz-fit-content;
|
|
5211
|
+
max-width: fit-content;
|
|
5212
|
+
}
|
|
5213
|
+
|
|
5214
|
+
.rdp-month_grid {
|
|
5215
|
+
border-collapse: collapse;
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5218
|
+
.rdp-nav {
|
|
5219
|
+
position: absolute;
|
|
5220
|
+
inset-block-start: 0;
|
|
5221
|
+
inset-inline-end: 0;
|
|
5222
|
+
|
|
5223
|
+
display: flex;
|
|
5224
|
+
align-items: center;
|
|
5225
|
+
|
|
5226
|
+
height: var(--rdp-nav-height);
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5229
|
+
.rdp-weekday {
|
|
5230
|
+
opacity: var(--rdp-weekday-opacity);
|
|
5231
|
+
padding: var(--rdp-weekday-padding);
|
|
5232
|
+
font: var(--rdp-weekday-font);
|
|
5233
|
+
text-align: var(--rdp-weekday-text-align);
|
|
5234
|
+
text-transform: var(--rdp-weekday-text-transform);
|
|
5235
|
+
}
|
|
5236
|
+
|
|
5237
|
+
.rdp-week_number {
|
|
5238
|
+
opacity: var(--rdp-week_number-opacity);
|
|
5239
|
+
font: var(--rdp-week_number-font);
|
|
5240
|
+
height: var(--rdp-week_number-height);
|
|
5241
|
+
width: var(--rdp-week_number-width);
|
|
5242
|
+
border: var(--rdp-week_number-border);
|
|
5243
|
+
border-radius: var(--rdp-week_number-border-radius);
|
|
5244
|
+
text-align: var(--rdp-weeknumber-text-align);
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
/* DAY MODIFIERS */
|
|
5248
|
+
.rdp-today:not(.rdp-outside) {
|
|
5249
|
+
color: var(--rdp-today-color);
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
.rdp-selected {
|
|
5253
|
+
font: var(--rdp-selected-font);
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
.rdp-selected .rdp-day_button {
|
|
5257
|
+
border: var(--rdp-selected-border);
|
|
5258
|
+
}
|
|
5259
|
+
|
|
5260
|
+
.rdp-outside {
|
|
5261
|
+
opacity: var(--rdp-outside-opacity);
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
.rdp-disabled {
|
|
5265
|
+
opacity: var(--rdp-disabled-opacity);
|
|
5266
|
+
}
|
|
5267
|
+
|
|
5268
|
+
.rdp-hidden {
|
|
5269
|
+
visibility: hidden;
|
|
5270
|
+
color: var(--rdp-range_start-color);
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5273
|
+
.rdp-range_start {
|
|
5274
|
+
background: var(--rdp-range_start-background);
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5277
|
+
.rdp-range_start .rdp-day_button {
|
|
5278
|
+
background-color: var(--rdp-range_start-date-background-color);
|
|
5279
|
+
color: var(--rdp-range_start-color);
|
|
5280
|
+
}
|
|
5281
|
+
|
|
5282
|
+
.rdp-range_middle {
|
|
5283
|
+
background-color: var(--rdp-range_middle-background-color);
|
|
5284
|
+
font: var(--rdp-range_middle-font);
|
|
5285
|
+
}
|
|
5286
|
+
|
|
5287
|
+
.rdp-range_middle .rdp-day_button {
|
|
5288
|
+
border-color: transparent;
|
|
5289
|
+
border: unset;
|
|
5290
|
+
border-radius: unset;
|
|
5291
|
+
color: var(--rdp-range_middle-color);
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
.rdp-range_end {
|
|
5295
|
+
background: var(--rdp-range_end-background);
|
|
5296
|
+
color: var(--rdp-range_end-color);
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5299
|
+
.rdp-range_end .rdp-day_button {
|
|
5300
|
+
color: var(--rdp-range_start-color);
|
|
5301
|
+
background-color: var(--rdp-range_end-date-background-color);
|
|
5302
|
+
}
|
|
5303
|
+
|
|
5304
|
+
.rdp-range_start.rdp-range_end {
|
|
5305
|
+
background: revert;
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
|
+
.rdp-focusable {
|
|
5309
|
+
cursor: pointer;
|
|
5310
|
+
}
|
package/lib/index.esm.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import 'react-day-picker/style.css';
|
|
2
1
|
@import './assets/fonts/mulish/mulish.css';
|
|
3
2
|
:root {
|
|
4
3
|
--pf-font-family-base: "Mulish", sans-serif;
|
|
@@ -5003,4 +5002,309 @@ p,
|
|
|
5003
5002
|
100% {
|
|
5004
5003
|
transform: rotate(360deg);
|
|
5005
5004
|
}
|
|
5006
|
-
}
|
|
5005
|
+
}
|
|
5006
|
+
/* Variables declaration */
|
|
5007
|
+
/* prettier-ignore */
|
|
5008
|
+
.rdp-root {
|
|
5009
|
+
--rdp-accent-color: blue; /* The accent color used for selected days and UI elements. */
|
|
5010
|
+
--rdp-accent-background-color: #f0f0ff; /* The accent background color used for selected days and UI elements. */
|
|
5011
|
+
--rdp-font-family: system-ui; /* The font family used by the calendar. Note that `inherit`does not work here. */
|
|
5012
|
+
|
|
5013
|
+
--rdp-day-font: inherit; /* The font used for the day cells. */
|
|
5014
|
+
--rdp-day-height: 2.75rem; /* The height of the day cells. */
|
|
5015
|
+
--rdp-day-width: 2.75rem; /* The width of the day cells. */
|
|
5016
|
+
|
|
5017
|
+
--rdp-day_button-border-radius: 100%; /* The border radius of the day cells. */
|
|
5018
|
+
--rdp-day_button-border: 2px solid transparent; /* The border of the day cells. */
|
|
5019
|
+
--rdp-day_button-height: var(--rdp-day-width); /* The height of the day cells. */
|
|
5020
|
+
--rdp-day_button-width: var(--rdp-day-height); /* The width of the day cells. */
|
|
5021
|
+
|
|
5022
|
+
--rdp-selected-border: 2px solid var(--rdp-accent-color); /* The border of the selected days. */
|
|
5023
|
+
--rdp-selected-font: bold large var(--rdp-font-family); /* The font of the selected days. */
|
|
5024
|
+
--rdp-disabled-opacity: 0.5; /* The opacity of the disabled days. */
|
|
5025
|
+
--rdp-outside-opacity: 0.75; /* The opacity of the days outside the current month. */
|
|
5026
|
+
--rdp-today-color: var(--rdp-accent-color); /* The color of the today's date. */
|
|
5027
|
+
|
|
5028
|
+
--rdp-dropdown-gap: 0.5rem;/* The gap between the dropdowns used in the month captons. */
|
|
5029
|
+
|
|
5030
|
+
--rdp-month_caption-font: bold larger var(--rdp-font-family); /* The font of the month caption. */
|
|
5031
|
+
--rdp-months-gap: 2rem; /* The gap between the months in the multi-month view. */
|
|
5032
|
+
|
|
5033
|
+
--rdp-nav_button-disabled-opacity: 0.5; /* The opacity of the disabled navigation buttons. */
|
|
5034
|
+
--rdp-nav_button-height: 2.25rem; /* The height of the navigation buttons. */
|
|
5035
|
+
--rdp-nav_button-width: 2.25rem; /* The width of the navigation buttons. */
|
|
5036
|
+
--rdp-nav-height: 2.75rem; /* The height of the navigation bar. */
|
|
5037
|
+
|
|
5038
|
+
--rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
|
|
5039
|
+
--rdp-range_middle-font: normal medium var(--rdp-font-family); /* The font for days in the middle of a range. */
|
|
5040
|
+
--rdp-range_middle-foreground-color: white; /* The font for days in the middle of a range. */
|
|
5041
|
+
--rdp-range_middle-color: inherit;/* The color of the range text. */
|
|
5042
|
+
|
|
5043
|
+
--rdp-range_start-color: white; /* The color of the range text. */
|
|
5044
|
+
--rdp-range_start-background: linear-gradient(var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50%); /* Used for the background of the start of the selected range. */
|
|
5045
|
+
--rdp-range_start-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the start of the selected range. */
|
|
5046
|
+
|
|
5047
|
+
--rdp-range_end-background: linear-gradient(var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50%); /* Used for the background of the end of the selected range. */
|
|
5048
|
+
--rdp-range_end-color: white;/* The color of the range text. */
|
|
5049
|
+
--rdp-range_end-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the end of the selected range. */
|
|
5050
|
+
|
|
5051
|
+
--rdp-week_number-border-radius: 100%; /* The border radius of the week number. */
|
|
5052
|
+
--rdp-week_number-border: 2px solid transparent; /* The border of the week number. */
|
|
5053
|
+
--rdp-week_number-font: 400 small var(--rdp-font-family); /* The font of the week number cells. */
|
|
5054
|
+
--rdp-week_number-height: var(--rdp-day-height); /* The height of the week number cells. */
|
|
5055
|
+
--rdp-week_number-opacity: 0.75; /* The opacity of the week number. */
|
|
5056
|
+
--rdp-week_number-width: var(--rdp-day-width); /* The width of the week number cells. */
|
|
5057
|
+
--rdp-weeknumber-text-align: center; /* The text alignment of the weekday cells. */
|
|
5058
|
+
|
|
5059
|
+
--rdp-weekday-font: 500 smaller var(--rdp-font-family); /* The font of the weekday. */
|
|
5060
|
+
--rdp-weekday-opacity: 0.75; /* The opacity of the weekday. */
|
|
5061
|
+
--rdp-weekday-padding: 0.5rem 0rem; /* The padding of the weekday. */
|
|
5062
|
+
--rdp-weekday-text-align: center; /* The text alignment of the weekday cells. */
|
|
5063
|
+
|
|
5064
|
+
--rdp-gradient-direction: 90deg;
|
|
5065
|
+
}
|
|
5066
|
+
|
|
5067
|
+
.rdp-root[dir="rtl"] {
|
|
5068
|
+
--rdp-gradient-direction: -90deg;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
/* Root of the component. */
|
|
5072
|
+
.rdp-root {
|
|
5073
|
+
position: relative; /* Required to position the navigation toolbar. */
|
|
5074
|
+
box-sizing: border-box;
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
.rdp-root * {
|
|
5078
|
+
box-sizing: border-box;
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
.rdp-day {
|
|
5082
|
+
width: var(--rdp-day-width);
|
|
5083
|
+
height: var(--rdp-day-height);
|
|
5084
|
+
font: var(--rdp-day-font);
|
|
5085
|
+
text-align: center;
|
|
5086
|
+
}
|
|
5087
|
+
|
|
5088
|
+
.rdp-day_button {
|
|
5089
|
+
background: none;
|
|
5090
|
+
padding: 0;
|
|
5091
|
+
margin: 0;
|
|
5092
|
+
cursor: pointer;
|
|
5093
|
+
font: inherit;
|
|
5094
|
+
color: inherit;
|
|
5095
|
+
justify-content: center;
|
|
5096
|
+
align-items: center;
|
|
5097
|
+
display: flex;
|
|
5098
|
+
|
|
5099
|
+
width: var(--rdp-day_button-width);
|
|
5100
|
+
height: var(--rdp-day_button-height);
|
|
5101
|
+
border: var(--rdp-day_button-border);
|
|
5102
|
+
border-radius: var(--rdp-day_button-border-radius);
|
|
5103
|
+
}
|
|
5104
|
+
|
|
5105
|
+
.rdp-day_button:disabled {
|
|
5106
|
+
cursor: revert;
|
|
5107
|
+
}
|
|
5108
|
+
|
|
5109
|
+
.rdp-caption_label {
|
|
5110
|
+
z-index: 1;
|
|
5111
|
+
|
|
5112
|
+
position: relative;
|
|
5113
|
+
display: inline-flex;
|
|
5114
|
+
align-items: center;
|
|
5115
|
+
|
|
5116
|
+
white-space: nowrap;
|
|
5117
|
+
border: 0;
|
|
5118
|
+
}
|
|
5119
|
+
|
|
5120
|
+
.rdp-button_next,
|
|
5121
|
+
.rdp-button_previous {
|
|
5122
|
+
border: none;
|
|
5123
|
+
background: none;
|
|
5124
|
+
padding: 0;
|
|
5125
|
+
margin: 0;
|
|
5126
|
+
cursor: pointer;
|
|
5127
|
+
font: inherit;
|
|
5128
|
+
color: inherit;
|
|
5129
|
+
-moz-appearance: none;
|
|
5130
|
+
-webkit-appearance: none;
|
|
5131
|
+
display: inline-flex;
|
|
5132
|
+
align-items: center;
|
|
5133
|
+
justify-content: center;
|
|
5134
|
+
position: relative;
|
|
5135
|
+
appearance: none;
|
|
5136
|
+
|
|
5137
|
+
width: var(--rdp-nav_button-width);
|
|
5138
|
+
height: var(--rdp-nav_button-height);
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
.rdp-button_next:disabled,
|
|
5142
|
+
.rdp-button_previous:disabled {
|
|
5143
|
+
cursor: revert;
|
|
5144
|
+
|
|
5145
|
+
opacity: var(--rdp-nav_button-disabled-opacity);
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
.rdp-chevron {
|
|
5149
|
+
display: inline-block;
|
|
5150
|
+
fill: var(--rdp-accent-color);
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron {
|
|
5154
|
+
transform: rotate(180deg);
|
|
5155
|
+
}
|
|
5156
|
+
|
|
5157
|
+
.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron {
|
|
5158
|
+
transform: rotate(180deg);
|
|
5159
|
+
transform-origin: 50%;
|
|
5160
|
+
}
|
|
5161
|
+
|
|
5162
|
+
.rdp-dropdowns {
|
|
5163
|
+
position: relative;
|
|
5164
|
+
display: inline-flex;
|
|
5165
|
+
align-items: center;
|
|
5166
|
+
gap: var(--rdp-dropdown-gap);
|
|
5167
|
+
}
|
|
5168
|
+
.rdp-dropdown {
|
|
5169
|
+
z-index: 2;
|
|
5170
|
+
|
|
5171
|
+
/* Reset */
|
|
5172
|
+
opacity: 0;
|
|
5173
|
+
-webkit-appearance: none;
|
|
5174
|
+
-moz-appearance: none;
|
|
5175
|
+
appearance: none;
|
|
5176
|
+
position: absolute;
|
|
5177
|
+
inset-block-start: 0;
|
|
5178
|
+
inset-block-end: 0;
|
|
5179
|
+
inset-inline-start: 0;
|
|
5180
|
+
width: 100%;
|
|
5181
|
+
margin: 0;
|
|
5182
|
+
padding: 0;
|
|
5183
|
+
cursor: inherit;
|
|
5184
|
+
border: none;
|
|
5185
|
+
line-height: inherit;
|
|
5186
|
+
}
|
|
5187
|
+
|
|
5188
|
+
.rdp-dropdown_root {
|
|
5189
|
+
position: relative;
|
|
5190
|
+
display: inline-flex;
|
|
5191
|
+
align-items: center;
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
.rdp-dropdown_root[data-disabled="true"] .rdp-chevron {
|
|
5195
|
+
opacity: var(--rdp-disabled-opacity);
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
.rdp-month_caption {
|
|
5199
|
+
display: flex;
|
|
5200
|
+
align-content: center;
|
|
5201
|
+
height: var(--rdp-nav-height);
|
|
5202
|
+
font: var(--rdp-month_caption-font);
|
|
5203
|
+
}
|
|
5204
|
+
|
|
5205
|
+
.rdp-months {
|
|
5206
|
+
position: relative;
|
|
5207
|
+
display: flex;
|
|
5208
|
+
flex-wrap: wrap;
|
|
5209
|
+
gap: var(--rdp-months-gap);
|
|
5210
|
+
max-width: -moz-fit-content;
|
|
5211
|
+
max-width: fit-content;
|
|
5212
|
+
}
|
|
5213
|
+
|
|
5214
|
+
.rdp-month_grid {
|
|
5215
|
+
border-collapse: collapse;
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5218
|
+
.rdp-nav {
|
|
5219
|
+
position: absolute;
|
|
5220
|
+
inset-block-start: 0;
|
|
5221
|
+
inset-inline-end: 0;
|
|
5222
|
+
|
|
5223
|
+
display: flex;
|
|
5224
|
+
align-items: center;
|
|
5225
|
+
|
|
5226
|
+
height: var(--rdp-nav-height);
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5229
|
+
.rdp-weekday {
|
|
5230
|
+
opacity: var(--rdp-weekday-opacity);
|
|
5231
|
+
padding: var(--rdp-weekday-padding);
|
|
5232
|
+
font: var(--rdp-weekday-font);
|
|
5233
|
+
text-align: var(--rdp-weekday-text-align);
|
|
5234
|
+
text-transform: var(--rdp-weekday-text-transform);
|
|
5235
|
+
}
|
|
5236
|
+
|
|
5237
|
+
.rdp-week_number {
|
|
5238
|
+
opacity: var(--rdp-week_number-opacity);
|
|
5239
|
+
font: var(--rdp-week_number-font);
|
|
5240
|
+
height: var(--rdp-week_number-height);
|
|
5241
|
+
width: var(--rdp-week_number-width);
|
|
5242
|
+
border: var(--rdp-week_number-border);
|
|
5243
|
+
border-radius: var(--rdp-week_number-border-radius);
|
|
5244
|
+
text-align: var(--rdp-weeknumber-text-align);
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
/* DAY MODIFIERS */
|
|
5248
|
+
.rdp-today:not(.rdp-outside) {
|
|
5249
|
+
color: var(--rdp-today-color);
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
.rdp-selected {
|
|
5253
|
+
font: var(--rdp-selected-font);
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
.rdp-selected .rdp-day_button {
|
|
5257
|
+
border: var(--rdp-selected-border);
|
|
5258
|
+
}
|
|
5259
|
+
|
|
5260
|
+
.rdp-outside {
|
|
5261
|
+
opacity: var(--rdp-outside-opacity);
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
.rdp-disabled {
|
|
5265
|
+
opacity: var(--rdp-disabled-opacity);
|
|
5266
|
+
}
|
|
5267
|
+
|
|
5268
|
+
.rdp-hidden {
|
|
5269
|
+
visibility: hidden;
|
|
5270
|
+
color: var(--rdp-range_start-color);
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5273
|
+
.rdp-range_start {
|
|
5274
|
+
background: var(--rdp-range_start-background);
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5277
|
+
.rdp-range_start .rdp-day_button {
|
|
5278
|
+
background-color: var(--rdp-range_start-date-background-color);
|
|
5279
|
+
color: var(--rdp-range_start-color);
|
|
5280
|
+
}
|
|
5281
|
+
|
|
5282
|
+
.rdp-range_middle {
|
|
5283
|
+
background-color: var(--rdp-range_middle-background-color);
|
|
5284
|
+
font: var(--rdp-range_middle-font);
|
|
5285
|
+
}
|
|
5286
|
+
|
|
5287
|
+
.rdp-range_middle .rdp-day_button {
|
|
5288
|
+
border-color: transparent;
|
|
5289
|
+
border: unset;
|
|
5290
|
+
border-radius: unset;
|
|
5291
|
+
color: var(--rdp-range_middle-color);
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
.rdp-range_end {
|
|
5295
|
+
background: var(--rdp-range_end-background);
|
|
5296
|
+
color: var(--rdp-range_end-color);
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5299
|
+
.rdp-range_end .rdp-day_button {
|
|
5300
|
+
color: var(--rdp-range_start-color);
|
|
5301
|
+
background-color: var(--rdp-range_end-date-background-color);
|
|
5302
|
+
}
|
|
5303
|
+
|
|
5304
|
+
.rdp-range_start.rdp-range_end {
|
|
5305
|
+
background: revert;
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
|
+
.rdp-focusable {
|
|
5309
|
+
cursor: pointer;
|
|
5310
|
+
}
|