@gooddata/sdk-ui-kit 10.43.0 → 10.44.0-alpha.2
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/esm/@ui/@types/icon.d.ts +1 -1
- package/esm/@ui/@types/icon.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js +7 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts +5 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js +7 -4
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/constants.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/constants.js +1 -1
- package/esm/@ui/UiAsyncTable/types.d.ts +10 -0
- package/esm/@ui/UiAsyncTable/types.d.ts.map +1 -1
- package/esm/@ui/UiDate/UiDate.d.ts.map +1 -1
- package/esm/@ui/UiDate/UiDate.js +1 -1
- package/esm/@ui/UiDate/UiDate.js.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.d.ts +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.d.ts.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.js +2 -2
- package/esm/@ui/UiDrawer/UiDrawer.js.map +1 -1
- package/esm/@ui/UiFocusManager/UiAutofocus.d.ts +1 -2
- package/esm/@ui/UiFocusManager/UiAutofocus.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiAutofocus.js +2 -11
- package/esm/@ui/UiFocusManager/UiAutofocus.js.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts +1 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.js.map +1 -1
- package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.js +1 -0
- package/esm/@ui/UiIcon/icons.js.map +1 -1
- package/esm/@ui/UiTags/interactions.d.ts.map +1 -1
- package/esm/@ui/UiTags/interactions.js +0 -1
- package/esm/@ui/UiTags/interactions.js.map +1 -1
- package/esm/@ui/hooks/useListWithActionsFocus.d.ts.map +1 -1
- package/esm/@ui/hooks/useListWithActionsFocus.js +1 -1
- package/esm/@ui/hooks/useListWithActionsFocus.js.map +1 -1
- package/esm/Datepicker/Datepicker.d.ts +1 -0
- package/esm/Datepicker/Datepicker.d.ts.map +1 -1
- package/esm/Datepicker/Datepicker.js +9 -24
- package/esm/Datepicker/Datepicker.js.map +1 -1
- package/esm/Dialog/DialogBase.d.ts.map +1 -1
- package/esm/Dialog/DialogBase.js +5 -12
- package/esm/Dialog/DialogBase.js.map +1 -1
- package/esm/Dialog/DialogCloseButton.d.ts.map +1 -1
- package/esm/Dialog/DialogCloseButton.js +1 -0
- package/esm/Dialog/DialogCloseButton.js.map +1 -1
- package/esm/Dialog/ExportDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ExportDialogBase.js +1 -1
- package/esm/Dialog/ExportDialogBase.js.map +1 -1
- package/esm/Dialog/typings.d.ts +0 -1
- package/esm/Dialog/typings.d.ts.map +1 -1
- package/esm/Dropdown/DropdownInvertableSelect.d.ts +14 -1
- package/esm/Dropdown/DropdownInvertableSelect.d.ts.map +1 -1
- package/esm/Dropdown/DropdownInvertableSelect.js +4 -3
- package/esm/Dropdown/DropdownInvertableSelect.js.map +1 -1
- package/esm/Header/Header.d.ts.map +1 -1
- package/esm/Header/Header.js +1 -3
- package/esm/Header/Header.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js +8 -1
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js.map +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +32 -7
- package/esm/utils/dateTimeConfig.d.ts.map +1 -1
- package/esm/utils/dateTimeConfig.js +2 -4
- package/esm/utils/dateTimeConfig.js.map +1 -1
- package/package.json +15 -15
- package/src/@ui/UiAsyncTable/asyncTable.scss +2 -1
- package/src/@ui/UiIcon/UiIcon.scss +4 -0
- package/src/@ui/defaultTheme.scss +2 -0
- package/styles/css/bubble.css +2 -2
- package/styles/css/datepicker.css +352 -234
- package/styles/css/datepicker.css.map +1 -1
- package/styles/css/main.css +359 -235
- package/styles/css/main.css.map +1 -1
- package/styles/scss/bubble.scss +1 -1
- package/styles/scss/datepicker.scss +39 -22
|
@@ -1,317 +1,421 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
--rdp-
|
|
4
|
-
--rdp-accent-color: #
|
|
5
|
-
--rdp-
|
|
6
|
-
--rdp-
|
|
7
|
-
--rdp-
|
|
8
|
-
--rdp-
|
|
9
|
-
--rdp-
|
|
10
|
-
--rdp-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
/* Variables declaration */
|
|
2
|
+
.rdp-root {
|
|
3
|
+
--rdp-accent-color: blue; /* The accent color used for selected days and UI elements. */
|
|
4
|
+
--rdp-accent-background-color: #f0f0ff; /* The accent background color used for selected days and UI elements. */
|
|
5
|
+
--rdp-day-height: 44px; /* The height of the day cells. */
|
|
6
|
+
--rdp-day-width: 44px; /* The width of the day cells. */
|
|
7
|
+
--rdp-day_button-border-radius: 100%; /* The border radius of the day cells. */
|
|
8
|
+
--rdp-day_button-border: 2px solid transparent; /* The border of the day cells. */
|
|
9
|
+
--rdp-day_button-height: 42px; /* The height of the day cells. */
|
|
10
|
+
--rdp-day_button-width: 42px; /* The width of the day cells. */
|
|
11
|
+
--rdp-selected-border: 2px solid var(--rdp-accent-color); /* The border of the selected days. */
|
|
12
|
+
--rdp-disabled-opacity: 0.5; /* The opacity of the disabled days. */
|
|
13
|
+
--rdp-outside-opacity: 0.75; /* The opacity of the days outside the current month. */
|
|
14
|
+
--rdp-today-color: var(--rdp-accent-color); /* The color of the today's date. */
|
|
15
|
+
--rdp-dropdown-gap: 0.5rem; /* The gap between the dropdowns used in the month captons. */
|
|
16
|
+
--rdp-months-gap: 2rem; /* The gap between the months in the multi-month view. */
|
|
17
|
+
--rdp-nav_button-disabled-opacity: 0.5; /* The opacity of the disabled navigation buttons. */
|
|
18
|
+
--rdp-nav_button-height: 2.25rem; /* The height of the navigation buttons. */
|
|
19
|
+
--rdp-nav_button-width: 2.25rem; /* The width of the navigation buttons. */
|
|
20
|
+
--rdp-nav-height: 2.75rem; /* The height of the navigation bar. */
|
|
21
|
+
--rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
|
|
22
|
+
--rdp-range_middle-color: inherit; /* The color of the range text. */
|
|
23
|
+
--rdp-range_start-color: white; /* The color of the range text. */
|
|
24
|
+
--rdp-range_start-background: linear-gradient(
|
|
25
|
+
var(--rdp-gradient-direction),
|
|
26
|
+
transparent 50%,
|
|
27
|
+
var(--rdp-range_middle-background-color) 50%
|
|
28
|
+
); /* Used for the background of the start of the selected range. */
|
|
29
|
+
--rdp-range_start-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the start of the selected range. */
|
|
30
|
+
--rdp-range_end-background: linear-gradient(
|
|
31
|
+
var(--rdp-gradient-direction),
|
|
32
|
+
var(--rdp-range_middle-background-color) 50%,
|
|
33
|
+
transparent 50%
|
|
34
|
+
); /* Used for the background of the end of the selected range. */
|
|
35
|
+
--rdp-range_end-color: white; /* The color of the range text. */
|
|
36
|
+
--rdp-range_end-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the end of the selected range. */
|
|
37
|
+
--rdp-week_number-border-radius: 100%; /* The border radius of the week number. */
|
|
38
|
+
--rdp-week_number-border: 2px solid transparent; /* The border of the week number. */
|
|
39
|
+
--rdp-week_number-height: var(--rdp-day-height); /* The height of the week number cells. */
|
|
40
|
+
--rdp-week_number-opacity: 0.75; /* The opacity of the week number. */
|
|
41
|
+
--rdp-week_number-width: var(--rdp-day-width); /* The width of the week number cells. */
|
|
42
|
+
--rdp-weeknumber-text-align: center; /* The text alignment of the weekday cells. */
|
|
43
|
+
--rdp-weekday-opacity: 0.75; /* The opacity of the weekday. */
|
|
44
|
+
--rdp-weekday-padding: 0.5rem 0rem; /* The padding of the weekday. */
|
|
45
|
+
--rdp-weekday-text-align: center; /* The text alignment of the weekday cells. */
|
|
46
|
+
--rdp-gradient-direction: 90deg;
|
|
47
|
+
--rdp-animation_duration: 0.3s;
|
|
48
|
+
--rdp-animation_timing: cubic-bezier(0.4, 0, 0.2, 1);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.rdp-root[dir=rtl] {
|
|
52
|
+
--rdp-gradient-direction: -90deg;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.rdp-root[data-broadcast-calendar=true] {
|
|
56
|
+
--rdp-outside-opacity: unset;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Root of the component. */
|
|
60
|
+
.rdp-root {
|
|
61
|
+
position: relative; /* Required to position the navigation toolbar. */
|
|
16
62
|
box-sizing: border-box;
|
|
17
|
-
padding: 0;
|
|
18
|
-
margin: 0;
|
|
19
|
-
background: transparent;
|
|
20
|
-
border: 0;
|
|
21
|
-
-moz-appearance: none;
|
|
22
|
-
-webkit-appearance: none;
|
|
23
|
-
appearance: none;
|
|
24
|
-
position: absolute !important;
|
|
25
|
-
top: 0;
|
|
26
|
-
width: 1px !important;
|
|
27
|
-
height: 1px !important;
|
|
28
|
-
padding: 0 !important;
|
|
29
|
-
overflow: hidden !important;
|
|
30
|
-
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
31
|
-
border: 0 !important;
|
|
32
63
|
}
|
|
33
64
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
65
|
+
.rdp-root * {
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rdp-day {
|
|
70
|
+
width: var(--rdp-day-width);
|
|
71
|
+
height: var(--rdp-day-height);
|
|
72
|
+
text-align: center;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.rdp-day_button {
|
|
42
76
|
background: none;
|
|
77
|
+
padding: 0;
|
|
78
|
+
margin: 0;
|
|
79
|
+
cursor: pointer;
|
|
43
80
|
font: inherit;
|
|
44
|
-
|
|
45
|
-
-
|
|
81
|
+
color: inherit;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
align-items: center;
|
|
84
|
+
display: flex;
|
|
85
|
+
width: var(--rdp-day_button-width);
|
|
86
|
+
height: var(--rdp-day_button-height);
|
|
87
|
+
border: var(--rdp-day_button-border);
|
|
88
|
+
border-radius: var(--rdp-day_button-border-radius);
|
|
46
89
|
}
|
|
47
90
|
|
|
48
|
-
.rdp-
|
|
49
|
-
|
|
50
|
-
outline: none;
|
|
91
|
+
.rdp-day_button:disabled {
|
|
92
|
+
cursor: revert;
|
|
51
93
|
}
|
|
52
94
|
|
|
53
|
-
.rdp-
|
|
54
|
-
|
|
95
|
+
.rdp-caption_label {
|
|
96
|
+
z-index: 1;
|
|
97
|
+
position: relative;
|
|
98
|
+
display: inline-flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
border: 0;
|
|
55
102
|
}
|
|
56
103
|
|
|
57
|
-
.rdp-
|
|
58
|
-
|
|
104
|
+
.rdp-dropdown:focus-visible ~ .rdp-caption_label {
|
|
105
|
+
outline: 5px auto Highlight;
|
|
106
|
+
/* biome-ignore lint/suspicious/noDuplicateProperties: backward compatibility */
|
|
107
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
59
108
|
}
|
|
60
109
|
|
|
61
|
-
.rdp-
|
|
110
|
+
.rdp-button_next,
|
|
111
|
+
.rdp-button_previous {
|
|
112
|
+
border: none;
|
|
113
|
+
background: none;
|
|
114
|
+
padding: 0;
|
|
115
|
+
margin: 0;
|
|
62
116
|
cursor: pointer;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
.rdp-button:focus-visible:not([disabled]) {
|
|
117
|
+
font: inherit;
|
|
66
118
|
color: inherit;
|
|
67
|
-
|
|
68
|
-
|
|
119
|
+
-moz-appearance: none;
|
|
120
|
+
-webkit-appearance: none;
|
|
121
|
+
display: inline-flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
position: relative;
|
|
125
|
+
appearance: none;
|
|
126
|
+
width: var(--rdp-nav_button-width);
|
|
127
|
+
height: var(--rdp-nav_button-height);
|
|
69
128
|
}
|
|
70
129
|
|
|
71
|
-
.rdp-
|
|
72
|
-
|
|
130
|
+
.rdp-button_next:disabled,
|
|
131
|
+
.rdp-button_next[aria-disabled=true],
|
|
132
|
+
.rdp-button_previous:disabled,
|
|
133
|
+
.rdp-button_previous[aria-disabled=true] {
|
|
134
|
+
cursor: revert;
|
|
135
|
+
opacity: var(--rdp-nav_button-disabled-opacity);
|
|
73
136
|
}
|
|
74
137
|
|
|
75
|
-
.rdp-
|
|
76
|
-
display:
|
|
138
|
+
.rdp-chevron {
|
|
139
|
+
display: inline-block;
|
|
140
|
+
fill: var(--rdp-accent-color);
|
|
77
141
|
}
|
|
78
142
|
|
|
79
|
-
.rdp-
|
|
80
|
-
|
|
143
|
+
.rdp-root[dir=rtl] .rdp-nav .rdp-chevron {
|
|
144
|
+
transform: rotate(180deg);
|
|
145
|
+
transform-origin: 50%;
|
|
81
146
|
}
|
|
82
147
|
|
|
83
|
-
.rdp-
|
|
84
|
-
|
|
148
|
+
.rdp-dropdowns {
|
|
149
|
+
position: relative;
|
|
150
|
+
display: inline-flex;
|
|
151
|
+
align-items: center;
|
|
152
|
+
gap: var(--rdp-dropdown-gap);
|
|
85
153
|
}
|
|
86
154
|
|
|
87
|
-
.rdp-
|
|
88
|
-
|
|
155
|
+
.rdp-dropdown {
|
|
156
|
+
z-index: 2;
|
|
157
|
+
/* Reset */
|
|
158
|
+
opacity: 0;
|
|
159
|
+
appearance: none;
|
|
160
|
+
position: absolute;
|
|
161
|
+
inset-block-start: 0;
|
|
162
|
+
inset-block-end: 0;
|
|
163
|
+
inset-inline-start: 0;
|
|
164
|
+
width: 100%;
|
|
165
|
+
margin: 0;
|
|
166
|
+
padding: 0;
|
|
167
|
+
cursor: inherit;
|
|
168
|
+
border: none;
|
|
169
|
+
line-height: inherit;
|
|
89
170
|
}
|
|
90
171
|
|
|
91
|
-
.rdp-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
172
|
+
.rdp-dropdown_root {
|
|
173
|
+
position: relative;
|
|
174
|
+
display: inline-flex;
|
|
175
|
+
align-items: center;
|
|
95
176
|
}
|
|
96
177
|
|
|
97
|
-
.rdp-
|
|
98
|
-
|
|
99
|
-
border-collapse: collapse;
|
|
178
|
+
.rdp-dropdown_root[data-disabled=true] .rdp-chevron {
|
|
179
|
+
opacity: var(--rdp-disabled-opacity);
|
|
100
180
|
}
|
|
101
181
|
|
|
102
|
-
.rdp-
|
|
182
|
+
.rdp-month_caption {
|
|
103
183
|
display: flex;
|
|
104
|
-
align-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
184
|
+
align-content: center;
|
|
185
|
+
height: var(--rdp-nav-height);
|
|
186
|
+
font-weight: bold;
|
|
187
|
+
font-size: large;
|
|
108
188
|
}
|
|
109
189
|
|
|
110
|
-
.rdp-
|
|
190
|
+
.rdp-root[data-nav-layout=around] .rdp-month,
|
|
191
|
+
.rdp-root[data-nav-layout=after] .rdp-month {
|
|
111
192
|
position: relative;
|
|
112
|
-
display: block;
|
|
113
|
-
text-align: center;
|
|
114
193
|
}
|
|
115
194
|
|
|
116
|
-
.rdp-
|
|
195
|
+
.rdp-root[data-nav-layout=around] .rdp-month_caption {
|
|
196
|
+
justify-content: center;
|
|
197
|
+
margin-inline-start: var(--rdp-nav_button-width);
|
|
198
|
+
margin-inline-end: var(--rdp-nav_button-width);
|
|
117
199
|
position: relative;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.rdp-root[data-nav-layout=around] .rdp-button_previous {
|
|
203
|
+
position: absolute;
|
|
204
|
+
inset-inline-start: 0;
|
|
205
|
+
top: 0;
|
|
206
|
+
height: var(--rdp-nav-height);
|
|
118
207
|
display: inline-flex;
|
|
119
208
|
}
|
|
120
209
|
|
|
121
|
-
.rdp-
|
|
122
|
-
position:
|
|
123
|
-
|
|
210
|
+
.rdp-root[data-nav-layout=around] .rdp-button_next {
|
|
211
|
+
position: absolute;
|
|
212
|
+
inset-inline-end: 0;
|
|
213
|
+
top: 0;
|
|
214
|
+
height: var(--rdp-nav-height);
|
|
124
215
|
display: inline-flex;
|
|
125
|
-
|
|
126
|
-
margin: 0;
|
|
127
|
-
padding: 0 0.25em;
|
|
128
|
-
white-space: nowrap;
|
|
129
|
-
color: currentColor;
|
|
130
|
-
border: 0;
|
|
131
|
-
border: 2px solid transparent;
|
|
132
|
-
font-family: inherit;
|
|
133
|
-
font-size: var(--rdp-caption-font-size);
|
|
134
|
-
font-weight: bold;
|
|
216
|
+
justify-content: center;
|
|
135
217
|
}
|
|
136
218
|
|
|
137
|
-
.rdp-
|
|
138
|
-
|
|
219
|
+
.rdp-months {
|
|
220
|
+
position: relative;
|
|
221
|
+
display: flex;
|
|
222
|
+
flex-wrap: wrap;
|
|
223
|
+
gap: var(--rdp-months-gap);
|
|
224
|
+
max-width: fit-content;
|
|
139
225
|
}
|
|
140
226
|
|
|
141
|
-
.rdp-
|
|
142
|
-
|
|
143
|
-
top: 50%;
|
|
144
|
-
left: 0;
|
|
145
|
-
transform: translateY(-50%);
|
|
227
|
+
.rdp-month_grid {
|
|
228
|
+
border-collapse: collapse;
|
|
146
229
|
}
|
|
147
230
|
|
|
148
|
-
.rdp-
|
|
231
|
+
.rdp-nav {
|
|
149
232
|
position: absolute;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
233
|
+
inset-block-start: 0;
|
|
234
|
+
inset-inline-end: 0;
|
|
235
|
+
display: flex;
|
|
236
|
+
align-items: center;
|
|
237
|
+
height: var(--rdp-nav-height);
|
|
153
238
|
}
|
|
154
239
|
|
|
155
|
-
.rdp-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
border-radius: 100%;
|
|
240
|
+
.rdp-weekday {
|
|
241
|
+
opacity: var(--rdp-weekday-opacity);
|
|
242
|
+
padding: var(--rdp-weekday-padding);
|
|
243
|
+
font-weight: 500;
|
|
244
|
+
font-size: smaller;
|
|
245
|
+
text-align: var(--rdp-weekday-text-align);
|
|
246
|
+
text-transform: var(--rdp-weekday-text-transform);
|
|
163
247
|
}
|
|
164
248
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
249
|
+
.rdp-week_number {
|
|
250
|
+
opacity: var(--rdp-week_number-opacity);
|
|
251
|
+
font-weight: 400;
|
|
252
|
+
font-size: small;
|
|
253
|
+
height: var(--rdp-week_number-height);
|
|
254
|
+
width: var(--rdp-week_number-width);
|
|
255
|
+
border: var(--rdp-week_number-border);
|
|
256
|
+
border-radius: var(--rdp-week_number-border-radius);
|
|
257
|
+
text-align: var(--rdp-weeknumber-text-align);
|
|
173
258
|
}
|
|
174
259
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
z-index: 2;
|
|
179
|
-
top: 0;
|
|
180
|
-
bottom: 0;
|
|
181
|
-
left: 0;
|
|
182
|
-
width: 100%;
|
|
183
|
-
margin: 0;
|
|
184
|
-
padding: 0;
|
|
185
|
-
cursor: inherit;
|
|
186
|
-
opacity: 0;
|
|
187
|
-
border: none;
|
|
188
|
-
background-color: transparent;
|
|
189
|
-
font-family: inherit;
|
|
190
|
-
font-size: inherit;
|
|
191
|
-
line-height: inherit;
|
|
260
|
+
/* DAY MODIFIERS */
|
|
261
|
+
.rdp-today:not(.rdp-outside) {
|
|
262
|
+
color: var(--rdp-today-color);
|
|
192
263
|
}
|
|
193
264
|
|
|
194
|
-
.rdp-
|
|
195
|
-
|
|
196
|
-
|
|
265
|
+
.rdp-selected {
|
|
266
|
+
font-weight: bold;
|
|
267
|
+
font-size: large;
|
|
197
268
|
}
|
|
198
269
|
|
|
199
|
-
.rdp-
|
|
200
|
-
|
|
201
|
-
border: var(--rdp-outline);
|
|
202
|
-
border-radius: 6px;
|
|
270
|
+
.rdp-selected .rdp-day_button {
|
|
271
|
+
border: var(--rdp-selected-border);
|
|
203
272
|
}
|
|
204
273
|
|
|
205
|
-
.rdp-
|
|
206
|
-
|
|
274
|
+
.rdp-outside {
|
|
275
|
+
opacity: var(--rdp-outside-opacity);
|
|
207
276
|
}
|
|
208
277
|
|
|
209
|
-
.rdp-
|
|
210
|
-
|
|
278
|
+
.rdp-disabled {
|
|
279
|
+
opacity: var(--rdp-disabled-opacity);
|
|
211
280
|
}
|
|
212
281
|
|
|
213
|
-
.rdp-
|
|
214
|
-
|
|
215
|
-
|
|
282
|
+
.rdp-hidden {
|
|
283
|
+
visibility: hidden;
|
|
284
|
+
color: var(--rdp-range_start-color);
|
|
216
285
|
}
|
|
217
286
|
|
|
218
|
-
.rdp-
|
|
219
|
-
|
|
220
|
-
font-size: 0.75em;
|
|
221
|
-
font-weight: 700;
|
|
222
|
-
text-align: center;
|
|
223
|
-
height: 100%;
|
|
224
|
-
height: var(--rdp-cell-size);
|
|
225
|
-
padding: 0;
|
|
226
|
-
text-transform: uppercase;
|
|
287
|
+
.rdp-range_start {
|
|
288
|
+
background: var(--rdp-range_start-background);
|
|
227
289
|
}
|
|
228
290
|
|
|
229
|
-
.rdp-
|
|
230
|
-
|
|
291
|
+
.rdp-range_start .rdp-day_button {
|
|
292
|
+
background-color: var(--rdp-range_start-date-background-color);
|
|
293
|
+
color: var(--rdp-range_start-color);
|
|
231
294
|
}
|
|
232
295
|
|
|
233
|
-
.rdp-
|
|
234
|
-
|
|
296
|
+
.rdp-range_middle {
|
|
297
|
+
background-color: var(--rdp-range_middle-background-color);
|
|
235
298
|
}
|
|
236
299
|
|
|
237
|
-
.rdp-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
padding: 0;
|
|
242
|
-
text-align: center;
|
|
300
|
+
.rdp-range_middle .rdp-day_button {
|
|
301
|
+
border: unset;
|
|
302
|
+
border-radius: unset;
|
|
303
|
+
color: var(--rdp-range_middle-color);
|
|
243
304
|
}
|
|
244
305
|
|
|
245
|
-
.rdp-
|
|
246
|
-
|
|
306
|
+
.rdp-range_end {
|
|
307
|
+
background: var(--rdp-range_end-background);
|
|
308
|
+
color: var(--rdp-range_end-color);
|
|
247
309
|
}
|
|
248
310
|
|
|
249
|
-
.rdp-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
overflow: hidden;
|
|
253
|
-
align-items: center;
|
|
254
|
-
justify-content: center;
|
|
255
|
-
box-sizing: border-box;
|
|
256
|
-
width: var(--rdp-cell-size);
|
|
257
|
-
max-width: var(--rdp-cell-size);
|
|
258
|
-
height: var(--rdp-cell-size);
|
|
259
|
-
margin: 0;
|
|
260
|
-
border: 2px solid transparent;
|
|
261
|
-
border-radius: 100%;
|
|
311
|
+
.rdp-range_end .rdp-day_button {
|
|
312
|
+
color: var(--rdp-range_start-color);
|
|
313
|
+
background-color: var(--rdp-range_end-date-background-color);
|
|
262
314
|
}
|
|
263
315
|
|
|
264
|
-
.rdp-
|
|
265
|
-
|
|
316
|
+
.rdp-range_start.rdp-range_end {
|
|
317
|
+
background: revert;
|
|
266
318
|
}
|
|
267
319
|
|
|
268
|
-
.rdp-
|
|
269
|
-
|
|
270
|
-
.rdp-day_selected:hover {
|
|
271
|
-
color: var(--rdp-selected-color);
|
|
272
|
-
opacity: 1;
|
|
273
|
-
background-color: var(--rdp-accent-color);
|
|
320
|
+
.rdp-focusable {
|
|
321
|
+
cursor: pointer;
|
|
274
322
|
}
|
|
275
323
|
|
|
276
|
-
|
|
277
|
-
|
|
324
|
+
@keyframes rdp-slide_in_left {
|
|
325
|
+
0% {
|
|
326
|
+
transform: translateX(-100%);
|
|
327
|
+
}
|
|
328
|
+
100% {
|
|
329
|
+
transform: translateX(0);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
@keyframes rdp-slide_in_right {
|
|
333
|
+
0% {
|
|
334
|
+
transform: translateX(100%);
|
|
335
|
+
}
|
|
336
|
+
100% {
|
|
337
|
+
transform: translateX(0);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
@keyframes rdp-slide_out_left {
|
|
341
|
+
0% {
|
|
342
|
+
transform: translateX(0);
|
|
343
|
+
}
|
|
344
|
+
100% {
|
|
345
|
+
transform: translateX(-100%);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
@keyframes rdp-slide_out_right {
|
|
349
|
+
0% {
|
|
350
|
+
transform: translateX(0);
|
|
351
|
+
}
|
|
352
|
+
100% {
|
|
353
|
+
transform: translateX(100%);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
.rdp-weeks_before_enter {
|
|
357
|
+
animation: rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
278
358
|
}
|
|
279
359
|
|
|
280
|
-
.rdp-
|
|
281
|
-
|
|
282
|
-
outline: var(--rdp-outline);
|
|
283
|
-
outline-offset: 2px;
|
|
284
|
-
z-index: 1;
|
|
360
|
+
.rdp-weeks_before_exit {
|
|
361
|
+
animation: rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
285
362
|
}
|
|
286
363
|
|
|
287
|
-
.rdp
|
|
288
|
-
|
|
289
|
-
border-bottom-right-radius: 0;
|
|
364
|
+
.rdp-weeks_after_enter {
|
|
365
|
+
animation: rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
290
366
|
}
|
|
291
367
|
|
|
292
|
-
.rdp
|
|
293
|
-
|
|
294
|
-
border-bottom-left-radius: 0;
|
|
368
|
+
.rdp-weeks_after_exit {
|
|
369
|
+
animation: rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
295
370
|
}
|
|
296
371
|
|
|
297
|
-
.rdp[dir=rtl] .rdp-
|
|
298
|
-
|
|
299
|
-
border-bottom-left-radius: 0;
|
|
372
|
+
.rdp-root[dir=rtl] .rdp-weeks_after_enter {
|
|
373
|
+
animation: rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
300
374
|
}
|
|
301
375
|
|
|
302
|
-
.rdp[dir=rtl] .rdp-
|
|
303
|
-
|
|
304
|
-
border-bottom-right-radius: 0;
|
|
376
|
+
.rdp-root[dir=rtl] .rdp-weeks_before_exit {
|
|
377
|
+
animation: rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
305
378
|
}
|
|
306
379
|
|
|
307
|
-
.rdp-
|
|
308
|
-
|
|
380
|
+
.rdp-root[dir=rtl] .rdp-weeks_before_enter {
|
|
381
|
+
animation: rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
309
382
|
}
|
|
310
383
|
|
|
311
|
-
.rdp-
|
|
312
|
-
|
|
384
|
+
.rdp-root[dir=rtl] .rdp-weeks_after_exit {
|
|
385
|
+
animation: rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
@keyframes rdp-fade_in {
|
|
389
|
+
from {
|
|
390
|
+
opacity: 0;
|
|
391
|
+
}
|
|
392
|
+
to {
|
|
393
|
+
opacity: 1;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
@keyframes rdp-fade_out {
|
|
397
|
+
from {
|
|
398
|
+
opacity: 1;
|
|
399
|
+
}
|
|
400
|
+
to {
|
|
401
|
+
opacity: 0;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
.rdp-caption_after_enter {
|
|
405
|
+
animation: rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
313
406
|
}
|
|
314
407
|
|
|
408
|
+
.rdp-caption_after_exit {
|
|
409
|
+
animation: rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.rdp-caption_before_enter {
|
|
413
|
+
animation: rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.rdp-caption_before_exit {
|
|
417
|
+
animation: rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
418
|
+
}
|
|
315
419
|
|
|
316
420
|
/* allow vendor prefixes and disable max length */
|
|
317
421
|
/* allow vendor prefixes and disable max length */
|
|
@@ -402,23 +506,28 @@
|
|
|
402
506
|
.gd-datepicker-picker .rdp-button {
|
|
403
507
|
line-height: 16px;
|
|
404
508
|
}
|
|
509
|
+
.gd-datepicker-picker .rdp-months {
|
|
510
|
+
position: unset;
|
|
511
|
+
}
|
|
405
512
|
.gd-datepicker-picker .rdp-nav {
|
|
406
513
|
position: absolute;
|
|
407
|
-
top:
|
|
514
|
+
top: 18px;
|
|
515
|
+
height: 29px;
|
|
408
516
|
right: 0;
|
|
409
517
|
left: 0;
|
|
410
518
|
padding: 0 0.5rem;
|
|
519
|
+
display: flex;
|
|
520
|
+
justify-content: space-between;
|
|
411
521
|
}
|
|
412
|
-
.gd-datepicker-picker .rdp-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
height: 1.5rem;
|
|
522
|
+
.gd-datepicker-picker .rdp-nav button {
|
|
523
|
+
width: 29px;
|
|
524
|
+
height: 29px;
|
|
416
525
|
cursor: pointer;
|
|
417
526
|
}
|
|
418
|
-
.gd-datepicker-picker .rdp-
|
|
527
|
+
.gd-datepicker-picker .rdp-nav button:hover {
|
|
419
528
|
color: var(--gd-palette-complementary-6, #94a1ad);
|
|
420
529
|
}
|
|
421
|
-
.gd-datepicker-picker .rdp-
|
|
530
|
+
.gd-datepicker-picker .rdp-button_previous {
|
|
422
531
|
left: 0.8em;
|
|
423
532
|
display: block;
|
|
424
533
|
width: 2em;
|
|
@@ -429,7 +538,7 @@
|
|
|
429
538
|
font-family: "Indigo", sans-serif;
|
|
430
539
|
font-size: 18px;
|
|
431
540
|
}
|
|
432
|
-
.gd-datepicker-picker .rdp-
|
|
541
|
+
.gd-datepicker-picker .rdp-button_next {
|
|
433
542
|
right: 1em;
|
|
434
543
|
display: block;
|
|
435
544
|
width: 2em;
|
|
@@ -440,10 +549,14 @@
|
|
|
440
549
|
font-family: "Indigo", sans-serif;
|
|
441
550
|
font-size: 18px;
|
|
442
551
|
}
|
|
443
|
-
.gd-datepicker-picker .rdp-
|
|
552
|
+
.gd-datepicker-picker .rdp-chevron {
|
|
553
|
+
fill: currentColor;
|
|
554
|
+
}
|
|
555
|
+
.gd-datepicker-picker .rdp-month_caption {
|
|
444
556
|
display: flex;
|
|
445
557
|
justify-content: center;
|
|
446
|
-
margin-bottom:
|
|
558
|
+
margin-bottom: 10px;
|
|
559
|
+
height: 29px;
|
|
447
560
|
}
|
|
448
561
|
.gd-datepicker-picker .rdp-caption_label {
|
|
449
562
|
font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
|
|
@@ -452,10 +565,10 @@
|
|
|
452
565
|
font-weight: normal;
|
|
453
566
|
color: var(--gd-palette-complementary-9, #000);
|
|
454
567
|
}
|
|
455
|
-
.gd-datepicker-picker .rdp-
|
|
568
|
+
.gd-datepicker-picker .rdp-month_grid {
|
|
456
569
|
margin-top: 10px;
|
|
457
570
|
}
|
|
458
|
-
.gd-datepicker-picker .rdp-
|
|
571
|
+
.gd-datepicker-picker .rdp-weekday {
|
|
459
572
|
display: table-cell;
|
|
460
573
|
color: var(--gd-palette-complementary-8-from-theme, #94a1ad);
|
|
461
574
|
cursor: help;
|
|
@@ -465,7 +578,7 @@
|
|
|
465
578
|
text-transform: none;
|
|
466
579
|
text-align: center;
|
|
467
580
|
}
|
|
468
|
-
.gd-datepicker-picker .rdp-
|
|
581
|
+
.gd-datepicker-picker .rdp-weekday span {
|
|
469
582
|
text-decoration: none;
|
|
470
583
|
border-bottom: none;
|
|
471
584
|
}
|
|
@@ -475,28 +588,33 @@
|
|
|
475
588
|
font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
|
|
476
589
|
font-size: 14px;
|
|
477
590
|
font-weight: 700;
|
|
478
|
-
text-align: center;
|
|
479
591
|
border-radius: 0;
|
|
480
592
|
}
|
|
481
|
-
.gd-datepicker-picker .rdp-day:not([disabled]):not(.rdp-
|
|
593
|
+
.gd-datepicker-picker .rdp-day:not([disabled]):not(.rdp-selected):hover {
|
|
482
594
|
background: var(--gd-palette-complementary-2, #ebeff4);
|
|
483
595
|
cursor: pointer;
|
|
484
596
|
}
|
|
485
|
-
.gd-datepicker-picker .rdp-
|
|
597
|
+
.gd-datepicker-picker .rdp-day button {
|
|
598
|
+
position: relative;
|
|
599
|
+
left: 50%;
|
|
600
|
+
transform: translateX(-50%);
|
|
601
|
+
text-align: center;
|
|
602
|
+
}
|
|
603
|
+
.gd-datepicker-picker .rdp-disabled {
|
|
486
604
|
color: var(--gd-palette-complementary-5, #b0beca);
|
|
487
605
|
cursor: default;
|
|
488
606
|
font-weight: 400;
|
|
489
607
|
}
|
|
490
|
-
.gd-datepicker-picker .rdp-
|
|
608
|
+
.gd-datepicker-picker .rdp-outside {
|
|
491
609
|
color: var(--gd-palette-complementary-7-from-theme, #687581);
|
|
492
610
|
cursor: default;
|
|
493
611
|
font-weight: 400;
|
|
494
612
|
opacity: 1;
|
|
495
613
|
}
|
|
496
|
-
.gd-datepicker-picker .rdp-
|
|
614
|
+
.gd-datepicker-picker .rdp-outside.rdp-selected {
|
|
497
615
|
font-weight: 700;
|
|
498
616
|
}
|
|
499
|
-
.gd-datepicker-picker .rdp-
|
|
617
|
+
.gd-datepicker-picker .rdp-selected:not(.rdp-disabled) {
|
|
500
618
|
color: var(--gd-palette-complementary-0, #fff);
|
|
501
619
|
background: var(--gd-palette-primary-base, #14b2e2);
|
|
502
620
|
}
|