@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.
Files changed (80) hide show
  1. package/esm/@ui/@types/icon.d.ts +1 -1
  2. package/esm/@ui/@types/icon.d.ts.map +1 -1
  3. package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts.map +1 -1
  4. package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js +7 -3
  5. package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js.map +1 -1
  6. package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts +5 -1
  7. package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts.map +1 -1
  8. package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js +7 -4
  9. package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js.map +1 -1
  10. package/esm/@ui/UiAsyncTable/UiAsyncTable/constants.d.ts +1 -1
  11. package/esm/@ui/UiAsyncTable/UiAsyncTable/constants.js +1 -1
  12. package/esm/@ui/UiAsyncTable/types.d.ts +10 -0
  13. package/esm/@ui/UiAsyncTable/types.d.ts.map +1 -1
  14. package/esm/@ui/UiDate/UiDate.d.ts.map +1 -1
  15. package/esm/@ui/UiDate/UiDate.js +1 -1
  16. package/esm/@ui/UiDate/UiDate.js.map +1 -1
  17. package/esm/@ui/UiDrawer/UiDrawer.d.ts +1 -1
  18. package/esm/@ui/UiDrawer/UiDrawer.d.ts.map +1 -1
  19. package/esm/@ui/UiDrawer/UiDrawer.js +2 -2
  20. package/esm/@ui/UiDrawer/UiDrawer.js.map +1 -1
  21. package/esm/@ui/UiFocusManager/UiAutofocus.d.ts +1 -2
  22. package/esm/@ui/UiFocusManager/UiAutofocus.d.ts.map +1 -1
  23. package/esm/@ui/UiFocusManager/UiAutofocus.js +2 -11
  24. package/esm/@ui/UiFocusManager/UiAutofocus.js.map +1 -1
  25. package/esm/@ui/UiIcon/UiIcon.d.ts +1 -1
  26. package/esm/@ui/UiIcon/UiIcon.d.ts.map +1 -1
  27. package/esm/@ui/UiIcon/UiIcon.js.map +1 -1
  28. package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
  29. package/esm/@ui/UiIcon/icons.js +1 -0
  30. package/esm/@ui/UiIcon/icons.js.map +1 -1
  31. package/esm/@ui/UiTags/interactions.d.ts.map +1 -1
  32. package/esm/@ui/UiTags/interactions.js +0 -1
  33. package/esm/@ui/UiTags/interactions.js.map +1 -1
  34. package/esm/@ui/hooks/useListWithActionsFocus.d.ts.map +1 -1
  35. package/esm/@ui/hooks/useListWithActionsFocus.js +1 -1
  36. package/esm/@ui/hooks/useListWithActionsFocus.js.map +1 -1
  37. package/esm/Datepicker/Datepicker.d.ts +1 -0
  38. package/esm/Datepicker/Datepicker.d.ts.map +1 -1
  39. package/esm/Datepicker/Datepicker.js +9 -24
  40. package/esm/Datepicker/Datepicker.js.map +1 -1
  41. package/esm/Dialog/DialogBase.d.ts.map +1 -1
  42. package/esm/Dialog/DialogBase.js +5 -12
  43. package/esm/Dialog/DialogBase.js.map +1 -1
  44. package/esm/Dialog/DialogCloseButton.d.ts.map +1 -1
  45. package/esm/Dialog/DialogCloseButton.js +1 -0
  46. package/esm/Dialog/DialogCloseButton.js.map +1 -1
  47. package/esm/Dialog/ExportDialogBase.d.ts.map +1 -1
  48. package/esm/Dialog/ExportDialogBase.js +1 -1
  49. package/esm/Dialog/ExportDialogBase.js.map +1 -1
  50. package/esm/Dialog/typings.d.ts +0 -1
  51. package/esm/Dialog/typings.d.ts.map +1 -1
  52. package/esm/Dropdown/DropdownInvertableSelect.d.ts +14 -1
  53. package/esm/Dropdown/DropdownInvertableSelect.d.ts.map +1 -1
  54. package/esm/Dropdown/DropdownInvertableSelect.js +4 -3
  55. package/esm/Dropdown/DropdownInvertableSelect.js.map +1 -1
  56. package/esm/Header/Header.d.ts.map +1 -1
  57. package/esm/Header/Header.js +1 -3
  58. package/esm/Header/Header.js.map +1 -1
  59. package/esm/List/InvertableSelect/InvertableSelectVirtualised.d.ts.map +1 -1
  60. package/esm/List/InvertableSelect/InvertableSelectVirtualised.js +8 -1
  61. package/esm/List/InvertableSelect/InvertableSelectVirtualised.js.map +1 -1
  62. package/esm/index.d.ts +2 -2
  63. package/esm/index.d.ts.map +1 -1
  64. package/esm/index.js +1 -0
  65. package/esm/index.js.map +1 -1
  66. package/esm/sdk-ui-kit.d.ts +32 -7
  67. package/esm/utils/dateTimeConfig.d.ts.map +1 -1
  68. package/esm/utils/dateTimeConfig.js +2 -4
  69. package/esm/utils/dateTimeConfig.js.map +1 -1
  70. package/package.json +15 -15
  71. package/src/@ui/UiAsyncTable/asyncTable.scss +2 -1
  72. package/src/@ui/UiIcon/UiIcon.scss +4 -0
  73. package/src/@ui/defaultTheme.scss +2 -0
  74. package/styles/css/bubble.css +2 -2
  75. package/styles/css/datepicker.css +352 -234
  76. package/styles/css/datepicker.css.map +1 -1
  77. package/styles/css/main.css +359 -235
  78. package/styles/css/main.css.map +1 -1
  79. package/styles/scss/bubble.scss +1 -1
  80. package/styles/scss/datepicker.scss +39 -22
@@ -149,6 +149,7 @@
149
149
  rgba(176, 190, 202, 0.1)
150
150
  );
151
151
  --gd-table-totalBackgroundColor: var(--gd-palette-complementary-2-from-theme, rgba(176, 190, 202, 0.2));
152
+ --gd-table-overallTotalBackgroundColor: var(--gd-palette-complementary-5-t60, rgba(176, 190, 202, 0.4));
152
153
  --gd-table-totalValueColor: var(--gd-palette-complementary-9, #000);
153
154
  --gd-table-valueColor: var(--gd-palette-complementary-8, #464e56);
154
155
  --gd-kpi-primaryMeasureColor: var(--gd-palette-complementary-9, #000);
@@ -268,6 +269,7 @@
268
269
  --gd-palette-complementary-0-t10: rgba(255, 255, 255, 0.95);
269
270
  --gd-palette-complementary-0-t50: rgba(255, 255, 255, 0.5);
270
271
  --gd-palette-complementary-5-t40: rgba(176, 190, 202, 0.6);
272
+ --gd-palette-complementary-5-t60: rgba(176, 190, 202, 0.4);
271
273
  --gd-palette-complementary-9-t80: rgba(0, 0, 0, 0.2);
272
274
  --gd-palette-complementary-9-t85: rgba(0, 0, 0, 0.15);
273
275
  --gd-palette-complementary-9-t90: rgba(0, 0, 0, 0.1);
@@ -774,6 +776,9 @@
774
776
  .gd-ui-kit-icon--color-complementary-9 {
775
777
  --gd-icon-fill-color: var(--gd-palette-complementary-9);
776
778
  }
779
+ .gd-ui-kit-icon--color-currentColor {
780
+ --gd-icon-fill-color: currentColor;
781
+ }
777
782
  .gd-ui-kit-icon path {
778
783
  transition: var(--gd-transition-all);
779
784
  }
@@ -1740,6 +1745,7 @@
1740
1745
  }
1741
1746
  .gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell {
1742
1747
  transition: var(--gd-transition-all);
1748
+ border-bottom: 2px solid var(--gd-palette-complementary-3);
1743
1749
  }
1744
1750
  .gd-ui-kit-async-table__header .gd-ui-kit-async-table__cell--sortable {
1745
1751
  cursor: pointer;
@@ -1766,7 +1772,7 @@
1766
1772
  align-items: center;
1767
1773
  overflow: hidden;
1768
1774
  box-sizing: border-box;
1769
- border-bottom: 1px solid var(--gd-palette-complementary-2);
1775
+ border-bottom: 1px solid var(--gd-palette-complementary-3);
1770
1776
  }
1771
1777
  .gd-ui-kit-async-table__cell--bold {
1772
1778
  font-weight: 700;
@@ -2890,7 +2896,7 @@
2890
2896
  word-break: break-word;
2891
2897
  pointer-events: auto;
2892
2898
  }
2893
- .bubble .bubble-content .content a {
2899
+ .bubble .bubble-content .content a:not(.gd-ui-kit-link) {
2894
2900
  color: var(--gd-palette-complementary-0, #fff);
2895
2901
  opacity: 0.8;
2896
2902
  text-decoration: underline;
@@ -2904,7 +2910,7 @@
2904
2910
  -webkit-transition-timing-function: ease-in-out;
2905
2911
  transition-timing-function: ease-in-out;
2906
2912
  }
2907
- .bubble .bubble-content .content a:hover {
2913
+ .bubble .bubble-content .content a:not(.gd-ui-kit-link):hover {
2908
2914
  opacity: 1;
2909
2915
  }
2910
2916
  .bubble .bubble-content .content,
@@ -4052,320 +4058,424 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
4052
4058
  text-decoration: underline;
4053
4059
  }
4054
4060
 
4055
- .rdp {
4056
- --rdp-cell-size: 40px; /* Size of the day cells. */
4057
- --rdp-caption-font-size: 18px; /* Font size for the caption labels. */
4058
- --rdp-accent-color: #0000ff; /* Accent color for the background of selected days. */
4059
- --rdp-background-color: #e7edff; /* Background color for the hovered/focused elements. */
4060
- --rdp-accent-color-dark: #3003e1; /* Accent color for the background of selected days (to use in dark-mode). */
4061
- --rdp-background-color-dark: #180270; /* Background color for the hovered/focused elements (to use in dark-mode). */
4062
- --rdp-outline: 2px solid var(--rdp-accent-color); /* Outline border for focused elements */
4063
- --rdp-outline-selected: 3px solid var(--rdp-accent-color); /* Outline border for focused _and_ selected elements */
4064
- --rdp-selected-color: #fff; /* Color of selected day text */
4065
- margin: 1em;
4061
+ /* Variables declaration */
4062
+ .rdp-root {
4063
+ --rdp-accent-color: blue; /* The accent color used for selected days and UI elements. */
4064
+ --rdp-accent-background-color: #f0f0ff; /* The accent background color used for selected days and UI elements. */
4065
+ --rdp-day-height: 44px; /* The height of the day cells. */
4066
+ --rdp-day-width: 44px; /* The width of the day cells. */
4067
+ --rdp-day_button-border-radius: 100%; /* The border radius of the day cells. */
4068
+ --rdp-day_button-border: 2px solid transparent; /* The border of the day cells. */
4069
+ --rdp-day_button-height: 42px; /* The height of the day cells. */
4070
+ --rdp-day_button-width: 42px; /* The width of the day cells. */
4071
+ --rdp-selected-border: 2px solid var(--rdp-accent-color); /* The border of the selected days. */
4072
+ --rdp-disabled-opacity: 0.5; /* The opacity of the disabled days. */
4073
+ --rdp-outside-opacity: 0.75; /* The opacity of the days outside the current month. */
4074
+ --rdp-today-color: var(--rdp-accent-color); /* The color of the today's date. */
4075
+ --rdp-dropdown-gap: 0.5rem; /* The gap between the dropdowns used in the month captons. */
4076
+ --rdp-months-gap: 2rem; /* The gap between the months in the multi-month view. */
4077
+ --rdp-nav_button-disabled-opacity: 0.5; /* The opacity of the disabled navigation buttons. */
4078
+ --rdp-nav_button-height: 2.25rem; /* The height of the navigation buttons. */
4079
+ --rdp-nav_button-width: 2.25rem; /* The width of the navigation buttons. */
4080
+ --rdp-nav-height: 2.75rem; /* The height of the navigation bar. */
4081
+ --rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
4082
+ --rdp-range_middle-color: inherit; /* The color of the range text. */
4083
+ --rdp-range_start-color: white; /* The color of the range text. */
4084
+ --rdp-range_start-background: linear-gradient(
4085
+ var(--rdp-gradient-direction),
4086
+ transparent 50%,
4087
+ var(--rdp-range_middle-background-color) 50%
4088
+ ); /* Used for the background of the start of the selected range. */
4089
+ --rdp-range_start-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the start of the selected range. */
4090
+ --rdp-range_end-background: linear-gradient(
4091
+ var(--rdp-gradient-direction),
4092
+ var(--rdp-range_middle-background-color) 50%,
4093
+ transparent 50%
4094
+ ); /* Used for the background of the end of the selected range. */
4095
+ --rdp-range_end-color: white; /* The color of the range text. */
4096
+ --rdp-range_end-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the end of the selected range. */
4097
+ --rdp-week_number-border-radius: 100%; /* The border radius of the week number. */
4098
+ --rdp-week_number-border: 2px solid transparent; /* The border of the week number. */
4099
+ --rdp-week_number-height: var(--rdp-day-height); /* The height of the week number cells. */
4100
+ --rdp-week_number-opacity: 0.75; /* The opacity of the week number. */
4101
+ --rdp-week_number-width: var(--rdp-day-width); /* The width of the week number cells. */
4102
+ --rdp-weeknumber-text-align: center; /* The text alignment of the weekday cells. */
4103
+ --rdp-weekday-opacity: 0.75; /* The opacity of the weekday. */
4104
+ --rdp-weekday-padding: 0.5rem 0rem; /* The padding of the weekday. */
4105
+ --rdp-weekday-text-align: center; /* The text alignment of the weekday cells. */
4106
+ --rdp-gradient-direction: 90deg;
4107
+ --rdp-animation_duration: 0.3s;
4108
+ --rdp-animation_timing: cubic-bezier(0.4, 0, 0.2, 1);
4109
+ }
4110
+
4111
+ .rdp-root[dir=rtl] {
4112
+ --rdp-gradient-direction: -90deg;
4113
+ }
4114
+
4115
+ .rdp-root[data-broadcast-calendar=true] {
4116
+ --rdp-outside-opacity: unset;
4117
+ }
4118
+
4119
+ /* Root of the component. */
4120
+ .rdp-root {
4121
+ position: relative; /* Required to position the navigation toolbar. */
4122
+ box-sizing: border-box;
4066
4123
  }
4067
4124
 
4068
- /* Hide elements for devices that are not screen readers */
4069
- .rdp-vhidden {
4125
+ .rdp-root * {
4070
4126
  box-sizing: border-box;
4071
- padding: 0;
4072
- margin: 0;
4073
- background: transparent;
4074
- border: 0;
4075
- -moz-appearance: none;
4076
- -webkit-appearance: none;
4077
- appearance: none;
4078
- position: absolute !important;
4079
- top: 0;
4080
- width: 1px !important;
4081
- height: 1px !important;
4082
- padding: 0 !important;
4083
- overflow: hidden !important;
4084
- clip: rect(1px, 1px, 1px, 1px) !important;
4085
- border: 0 !important;
4086
4127
  }
4087
4128
 
4088
- /* Buttons */
4089
- .rdp-button_reset {
4090
- appearance: none;
4091
- position: relative;
4092
- margin: 0;
4093
- padding: 0;
4094
- cursor: default;
4095
- color: inherit;
4129
+ .rdp-day {
4130
+ width: var(--rdp-day-width);
4131
+ height: var(--rdp-day-height);
4132
+ text-align: center;
4133
+ }
4134
+
4135
+ .rdp-day_button {
4096
4136
  background: none;
4137
+ padding: 0;
4138
+ margin: 0;
4139
+ cursor: pointer;
4097
4140
  font: inherit;
4098
- -moz-appearance: none;
4099
- -webkit-appearance: none;
4141
+ color: inherit;
4142
+ justify-content: center;
4143
+ align-items: center;
4144
+ display: flex;
4145
+ width: var(--rdp-day_button-width);
4146
+ height: var(--rdp-day_button-height);
4147
+ border: var(--rdp-day_button-border);
4148
+ border-radius: var(--rdp-day_button-border-radius);
4100
4149
  }
4101
4150
 
4102
- .rdp-button_reset:focus-visible {
4103
- /* Make sure to reset outline only when :focus-visible is supported */
4104
- outline: none;
4151
+ .rdp-day_button:disabled {
4152
+ cursor: revert;
4105
4153
  }
4106
4154
 
4107
- .rdp-button {
4108
- border: 2px solid transparent;
4155
+ .rdp-caption_label {
4156
+ z-index: 1;
4157
+ position: relative;
4158
+ display: inline-flex;
4159
+ align-items: center;
4160
+ white-space: nowrap;
4161
+ border: 0;
4109
4162
  }
4110
4163
 
4111
- .rdp-button[disabled]:not(.rdp-day_selected) {
4112
- opacity: 0.25;
4164
+ .rdp-dropdown:focus-visible ~ .rdp-caption_label {
4165
+ outline: 5px auto Highlight;
4166
+ /* biome-ignore lint/suspicious/noDuplicateProperties: backward compatibility */
4167
+ outline: 5px auto -webkit-focus-ring-color;
4113
4168
  }
4114
4169
 
4115
- .rdp-button:not([disabled]) {
4170
+ .rdp-button_next,
4171
+ .rdp-button_previous {
4172
+ border: none;
4173
+ background: none;
4174
+ padding: 0;
4175
+ margin: 0;
4116
4176
  cursor: pointer;
4117
- }
4118
-
4119
- .rdp-button:focus-visible:not([disabled]) {
4177
+ font: inherit;
4120
4178
  color: inherit;
4121
- background-color: var(--rdp-background-color);
4122
- border: var(--rdp-outline);
4179
+ -moz-appearance: none;
4180
+ -webkit-appearance: none;
4181
+ display: inline-flex;
4182
+ align-items: center;
4183
+ justify-content: center;
4184
+ position: relative;
4185
+ appearance: none;
4186
+ width: var(--rdp-nav_button-width);
4187
+ height: var(--rdp-nav_button-height);
4123
4188
  }
4124
4189
 
4125
- .rdp-button:hover:not([disabled]):not(.rdp-day_selected) {
4126
- background-color: var(--rdp-background-color);
4190
+ .rdp-button_next:disabled,
4191
+ .rdp-button_next[aria-disabled=true],
4192
+ .rdp-button_previous:disabled,
4193
+ .rdp-button_previous[aria-disabled=true] {
4194
+ cursor: revert;
4195
+ opacity: var(--rdp-nav_button-disabled-opacity);
4127
4196
  }
4128
4197
 
4129
- .rdp-months {
4130
- display: flex;
4198
+ .rdp-chevron {
4199
+ display: inline-block;
4200
+ fill: var(--rdp-accent-color);
4131
4201
  }
4132
4202
 
4133
- .rdp-month {
4134
- margin: 0 1em;
4203
+ .rdp-root[dir=rtl] .rdp-nav .rdp-chevron {
4204
+ transform: rotate(180deg);
4205
+ transform-origin: 50%;
4135
4206
  }
4136
4207
 
4137
- .rdp-month:first-child {
4138
- margin-left: 0;
4208
+ .rdp-dropdowns {
4209
+ position: relative;
4210
+ display: inline-flex;
4211
+ align-items: center;
4212
+ gap: var(--rdp-dropdown-gap);
4139
4213
  }
4140
4214
 
4141
- .rdp-month:last-child {
4142
- margin-right: 0;
4215
+ .rdp-dropdown {
4216
+ z-index: 2;
4217
+ /* Reset */
4218
+ opacity: 0;
4219
+ appearance: none;
4220
+ position: absolute;
4221
+ inset-block-start: 0;
4222
+ inset-block-end: 0;
4223
+ inset-inline-start: 0;
4224
+ width: 100%;
4225
+ margin: 0;
4226
+ padding: 0;
4227
+ cursor: inherit;
4228
+ border: none;
4229
+ line-height: inherit;
4143
4230
  }
4144
4231
 
4145
- .rdp-table {
4146
- margin: 0;
4147
- max-width: calc(var(--rdp-cell-size) * 7);
4148
- border-collapse: collapse;
4232
+ .rdp-dropdown_root {
4233
+ position: relative;
4234
+ display: inline-flex;
4235
+ align-items: center;
4149
4236
  }
4150
4237
 
4151
- .rdp-with_weeknumber .rdp-table {
4152
- max-width: calc(var(--rdp-cell-size) * 8);
4153
- border-collapse: collapse;
4238
+ .rdp-dropdown_root[data-disabled=true] .rdp-chevron {
4239
+ opacity: var(--rdp-disabled-opacity);
4154
4240
  }
4155
4241
 
4156
- .rdp-caption {
4242
+ .rdp-month_caption {
4157
4243
  display: flex;
4158
- align-items: center;
4159
- justify-content: space-between;
4160
- padding: 0;
4161
- text-align: left;
4244
+ align-content: center;
4245
+ height: var(--rdp-nav-height);
4246
+ font-weight: bold;
4247
+ font-size: large;
4162
4248
  }
4163
4249
 
4164
- .rdp-multiple_months .rdp-caption {
4250
+ .rdp-root[data-nav-layout=around] .rdp-month,
4251
+ .rdp-root[data-nav-layout=after] .rdp-month {
4165
4252
  position: relative;
4166
- display: block;
4167
- text-align: center;
4168
4253
  }
4169
4254
 
4170
- .rdp-caption_dropdowns {
4255
+ .rdp-root[data-nav-layout=around] .rdp-month_caption {
4256
+ justify-content: center;
4257
+ margin-inline-start: var(--rdp-nav_button-width);
4258
+ margin-inline-end: var(--rdp-nav_button-width);
4171
4259
  position: relative;
4260
+ }
4261
+
4262
+ .rdp-root[data-nav-layout=around] .rdp-button_previous {
4263
+ position: absolute;
4264
+ inset-inline-start: 0;
4265
+ top: 0;
4266
+ height: var(--rdp-nav-height);
4172
4267
  display: inline-flex;
4173
4268
  }
4174
4269
 
4175
- .rdp-caption_label {
4176
- position: relative;
4177
- z-index: 1;
4270
+ .rdp-root[data-nav-layout=around] .rdp-button_next {
4271
+ position: absolute;
4272
+ inset-inline-end: 0;
4273
+ top: 0;
4274
+ height: var(--rdp-nav-height);
4178
4275
  display: inline-flex;
4179
- align-items: center;
4180
- margin: 0;
4181
- padding: 0 0.25em;
4182
- white-space: nowrap;
4183
- color: currentColor;
4184
- border: 0;
4185
- border: 2px solid transparent;
4186
- font-family: inherit;
4187
- font-size: var(--rdp-caption-font-size);
4188
- font-weight: bold;
4276
+ justify-content: center;
4189
4277
  }
4190
4278
 
4191
- .rdp-nav {
4192
- white-space: nowrap;
4279
+ .rdp-months {
4280
+ position: relative;
4281
+ display: flex;
4282
+ flex-wrap: wrap;
4283
+ gap: var(--rdp-months-gap);
4284
+ max-width: fit-content;
4193
4285
  }
4194
4286
 
4195
- .rdp-multiple_months .rdp-caption_start .rdp-nav {
4196
- position: absolute;
4197
- top: 50%;
4198
- left: 0;
4199
- transform: translateY(-50%);
4287
+ .rdp-month_grid {
4288
+ border-collapse: collapse;
4200
4289
  }
4201
4290
 
4202
- .rdp-multiple_months .rdp-caption_end .rdp-nav {
4291
+ .rdp-nav {
4203
4292
  position: absolute;
4204
- top: 50%;
4205
- right: 0;
4206
- transform: translateY(-50%);
4293
+ inset-block-start: 0;
4294
+ inset-inline-end: 0;
4295
+ display: flex;
4296
+ align-items: center;
4297
+ height: var(--rdp-nav-height);
4207
4298
  }
4208
4299
 
4209
- .rdp-nav_button {
4210
- display: inline-flex;
4211
- align-items: center;
4212
- justify-content: center;
4213
- width: var(--rdp-cell-size);
4214
- height: var(--rdp-cell-size);
4215
- padding: 0.25em;
4216
- border-radius: 100%;
4300
+ .rdp-weekday {
4301
+ opacity: var(--rdp-weekday-opacity);
4302
+ padding: var(--rdp-weekday-padding);
4303
+ font-weight: 500;
4304
+ font-size: smaller;
4305
+ text-align: var(--rdp-weekday-text-align);
4306
+ text-transform: var(--rdp-weekday-text-transform);
4217
4307
  }
4218
4308
 
4219
- /* ---------- */
4220
- /* Dropdowns */
4221
- /* ---------- */
4222
- .rdp-dropdown_year,
4223
- .rdp-dropdown_month {
4224
- position: relative;
4225
- display: inline-flex;
4226
- align-items: center;
4309
+ .rdp-week_number {
4310
+ opacity: var(--rdp-week_number-opacity);
4311
+ font-weight: 400;
4312
+ font-size: small;
4313
+ height: var(--rdp-week_number-height);
4314
+ width: var(--rdp-week_number-width);
4315
+ border: var(--rdp-week_number-border);
4316
+ border-radius: var(--rdp-week_number-border-radius);
4317
+ text-align: var(--rdp-weeknumber-text-align);
4227
4318
  }
4228
4319
 
4229
- .rdp-dropdown {
4230
- appearance: none;
4231
- position: absolute;
4232
- z-index: 2;
4233
- top: 0;
4234
- bottom: 0;
4235
- left: 0;
4236
- width: 100%;
4237
- margin: 0;
4238
- padding: 0;
4239
- cursor: inherit;
4240
- opacity: 0;
4241
- border: none;
4242
- background-color: transparent;
4243
- font-family: inherit;
4244
- font-size: inherit;
4245
- line-height: inherit;
4320
+ /* DAY MODIFIERS */
4321
+ .rdp-today:not(.rdp-outside) {
4322
+ color: var(--rdp-today-color);
4246
4323
  }
4247
4324
 
4248
- .rdp-dropdown[disabled] {
4249
- opacity: unset;
4250
- color: unset;
4325
+ .rdp-selected {
4326
+ font-weight: bold;
4327
+ font-size: large;
4251
4328
  }
4252
4329
 
4253
- .rdp-dropdown:focus-visible:not([disabled]) + .rdp-caption_label {
4254
- background-color: var(--rdp-background-color);
4255
- border: var(--rdp-outline);
4256
- border-radius: 6px;
4330
+ .rdp-selected .rdp-day_button {
4331
+ border: var(--rdp-selected-border);
4257
4332
  }
4258
4333
 
4259
- .rdp-dropdown_icon {
4260
- margin: 0 0 0 5px;
4334
+ .rdp-outside {
4335
+ opacity: var(--rdp-outside-opacity);
4261
4336
  }
4262
4337
 
4263
- .rdp-head {
4264
- border: 0;
4338
+ .rdp-disabled {
4339
+ opacity: var(--rdp-disabled-opacity);
4265
4340
  }
4266
4341
 
4267
- .rdp-head_row,
4268
- .rdp-row {
4269
- height: 100%;
4342
+ .rdp-hidden {
4343
+ visibility: hidden;
4344
+ color: var(--rdp-range_start-color);
4270
4345
  }
4271
4346
 
4272
- .rdp-head_cell {
4273
- vertical-align: middle;
4274
- font-size: 0.75em;
4275
- font-weight: 700;
4276
- text-align: center;
4277
- height: 100%;
4278
- height: var(--rdp-cell-size);
4279
- padding: 0;
4280
- text-transform: uppercase;
4347
+ .rdp-range_start {
4348
+ background: var(--rdp-range_start-background);
4281
4349
  }
4282
4350
 
4283
- .rdp-tbody {
4284
- border: 0;
4351
+ .rdp-range_start .rdp-day_button {
4352
+ background-color: var(--rdp-range_start-date-background-color);
4353
+ color: var(--rdp-range_start-color);
4285
4354
  }
4286
4355
 
4287
- .rdp-tfoot {
4288
- margin: 0.5em;
4356
+ .rdp-range_middle {
4357
+ background-color: var(--rdp-range_middle-background-color);
4289
4358
  }
4290
4359
 
4291
- .rdp-cell {
4292
- width: var(--rdp-cell-size);
4293
- height: 100%;
4294
- height: var(--rdp-cell-size);
4295
- padding: 0;
4296
- text-align: center;
4360
+ .rdp-range_middle .rdp-day_button {
4361
+ border: unset;
4362
+ border-radius: unset;
4363
+ color: var(--rdp-range_middle-color);
4297
4364
  }
4298
4365
 
4299
- .rdp-weeknumber {
4300
- font-size: 0.75em;
4366
+ .rdp-range_end {
4367
+ background: var(--rdp-range_end-background);
4368
+ color: var(--rdp-range_end-color);
4301
4369
  }
4302
4370
 
4303
- .rdp-weeknumber,
4304
- .rdp-day {
4305
- display: flex;
4306
- overflow: hidden;
4307
- align-items: center;
4308
- justify-content: center;
4309
- box-sizing: border-box;
4310
- width: var(--rdp-cell-size);
4311
- max-width: var(--rdp-cell-size);
4312
- height: var(--rdp-cell-size);
4313
- margin: 0;
4314
- border: 2px solid transparent;
4315
- border-radius: 100%;
4371
+ .rdp-range_end .rdp-day_button {
4372
+ color: var(--rdp-range_start-color);
4373
+ background-color: var(--rdp-range_end-date-background-color);
4316
4374
  }
4317
4375
 
4318
- .rdp-day_today:not(.rdp-day_outside) {
4319
- font-weight: bold;
4376
+ .rdp-range_start.rdp-range_end {
4377
+ background: revert;
4320
4378
  }
4321
4379
 
4322
- .rdp-day_selected,
4323
- .rdp-day_selected:focus-visible,
4324
- .rdp-day_selected:hover {
4325
- color: var(--rdp-selected-color);
4326
- opacity: 1;
4327
- background-color: var(--rdp-accent-color);
4380
+ .rdp-focusable {
4381
+ cursor: pointer;
4328
4382
  }
4329
4383
 
4330
- .rdp-day_outside {
4331
- opacity: 0.5;
4384
+ @keyframes rdp-slide_in_left {
4385
+ 0% {
4386
+ transform: translateX(-100%);
4387
+ }
4388
+ 100% {
4389
+ transform: translateX(0);
4390
+ }
4391
+ }
4392
+ @keyframes rdp-slide_in_right {
4393
+ 0% {
4394
+ transform: translateX(100%);
4395
+ }
4396
+ 100% {
4397
+ transform: translateX(0);
4398
+ }
4399
+ }
4400
+ @keyframes rdp-slide_out_left {
4401
+ 0% {
4402
+ transform: translateX(0);
4403
+ }
4404
+ 100% {
4405
+ transform: translateX(-100%);
4406
+ }
4407
+ }
4408
+ @keyframes rdp-slide_out_right {
4409
+ 0% {
4410
+ transform: translateX(0);
4411
+ }
4412
+ 100% {
4413
+ transform: translateX(100%);
4414
+ }
4415
+ }
4416
+ .rdp-weeks_before_enter {
4417
+ animation: rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4332
4418
  }
4333
4419
 
4334
- .rdp-day_selected:focus-visible {
4335
- /* Since the background is the same use again the outline */
4336
- outline: var(--rdp-outline);
4337
- outline-offset: 2px;
4338
- z-index: 1;
4420
+ .rdp-weeks_before_exit {
4421
+ animation: rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4339
4422
  }
4340
4423
 
4341
- .rdp:not([dir=rtl]) .rdp-day_range_start:not(.rdp-day_range_end) {
4342
- border-top-right-radius: 0;
4343
- border-bottom-right-radius: 0;
4424
+ .rdp-weeks_after_enter {
4425
+ animation: rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4344
4426
  }
4345
4427
 
4346
- .rdp:not([dir=rtl]) .rdp-day_range_end:not(.rdp-day_range_start) {
4347
- border-top-left-radius: 0;
4348
- border-bottom-left-radius: 0;
4428
+ .rdp-weeks_after_exit {
4429
+ animation: rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4349
4430
  }
4350
4431
 
4351
- .rdp[dir=rtl] .rdp-day_range_start:not(.rdp-day_range_end) {
4352
- border-top-left-radius: 0;
4353
- border-bottom-left-radius: 0;
4432
+ .rdp-root[dir=rtl] .rdp-weeks_after_enter {
4433
+ animation: rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4354
4434
  }
4355
4435
 
4356
- .rdp[dir=rtl] .rdp-day_range_end:not(.rdp-day_range_start) {
4357
- border-top-right-radius: 0;
4358
- border-bottom-right-radius: 0;
4436
+ .rdp-root[dir=rtl] .rdp-weeks_before_exit {
4437
+ animation: rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4359
4438
  }
4360
4439
 
4361
- .rdp-day_range_end.rdp-day_range_start {
4362
- border-radius: 100%;
4440
+ .rdp-root[dir=rtl] .rdp-weeks_before_enter {
4441
+ animation: rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4363
4442
  }
4364
4443
 
4365
- .rdp-day_range_middle {
4366
- border-radius: 0;
4444
+ .rdp-root[dir=rtl] .rdp-weeks_after_exit {
4445
+ animation: rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4367
4446
  }
4368
4447
 
4448
+ @keyframes rdp-fade_in {
4449
+ from {
4450
+ opacity: 0;
4451
+ }
4452
+ to {
4453
+ opacity: 1;
4454
+ }
4455
+ }
4456
+ @keyframes rdp-fade_out {
4457
+ from {
4458
+ opacity: 1;
4459
+ }
4460
+ to {
4461
+ opacity: 0;
4462
+ }
4463
+ }
4464
+ .rdp-caption_after_enter {
4465
+ animation: rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4466
+ }
4467
+
4468
+ .rdp-caption_after_exit {
4469
+ animation: rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4470
+ }
4471
+
4472
+ .rdp-caption_before_enter {
4473
+ animation: rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4474
+ }
4475
+
4476
+ .rdp-caption_before_exit {
4477
+ animation: rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
4478
+ }
4369
4479
 
4370
4480
  /* ==========================================================================
4371
4481
  Datepicker
@@ -4454,23 +4564,28 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
4454
4564
  .gd-datepicker-picker .rdp-button {
4455
4565
  line-height: 16px;
4456
4566
  }
4567
+ .gd-datepicker-picker .rdp-months {
4568
+ position: unset;
4569
+ }
4457
4570
  .gd-datepicker-picker .rdp-nav {
4458
4571
  position: absolute;
4459
- top: 1.05em;
4572
+ top: 18px;
4573
+ height: 29px;
4460
4574
  right: 0;
4461
4575
  left: 0;
4462
4576
  padding: 0 0.5rem;
4577
+ display: flex;
4578
+ justify-content: space-between;
4463
4579
  }
4464
- .gd-datepicker-picker .rdp-nav_button {
4465
- position: absolute;
4466
- width: 1.5rem;
4467
- height: 1.5rem;
4580
+ .gd-datepicker-picker .rdp-nav button {
4581
+ width: 29px;
4582
+ height: 29px;
4468
4583
  cursor: pointer;
4469
4584
  }
4470
- .gd-datepicker-picker .rdp-nav_button:hover {
4585
+ .gd-datepicker-picker .rdp-nav button:hover {
4471
4586
  color: var(--gd-palette-complementary-6, #94a1ad);
4472
4587
  }
4473
- .gd-datepicker-picker .rdp-nav_button_previous {
4588
+ .gd-datepicker-picker .rdp-button_previous {
4474
4589
  left: 0.8em;
4475
4590
  display: block;
4476
4591
  width: 2em;
@@ -4481,7 +4596,7 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
4481
4596
  font-family: "Indigo", sans-serif;
4482
4597
  font-size: 18px;
4483
4598
  }
4484
- .gd-datepicker-picker .rdp-nav_button_next {
4599
+ .gd-datepicker-picker .rdp-button_next {
4485
4600
  right: 1em;
4486
4601
  display: block;
4487
4602
  width: 2em;
@@ -4492,10 +4607,14 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
4492
4607
  font-family: "Indigo", sans-serif;
4493
4608
  font-size: 18px;
4494
4609
  }
4495
- .gd-datepicker-picker .rdp-caption {
4610
+ .gd-datepicker-picker .rdp-chevron {
4611
+ fill: currentColor;
4612
+ }
4613
+ .gd-datepicker-picker .rdp-month_caption {
4496
4614
  display: flex;
4497
4615
  justify-content: center;
4498
- margin-bottom: 0.6em;
4616
+ margin-bottom: 10px;
4617
+ height: 29px;
4499
4618
  }
4500
4619
  .gd-datepicker-picker .rdp-caption_label {
4501
4620
  font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
@@ -4504,10 +4623,10 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
4504
4623
  font-weight: normal;
4505
4624
  color: var(--gd-palette-complementary-9, #000);
4506
4625
  }
4507
- .gd-datepicker-picker .rdp-table {
4626
+ .gd-datepicker-picker .rdp-month_grid {
4508
4627
  margin-top: 10px;
4509
4628
  }
4510
- .gd-datepicker-picker .rdp-head_cell {
4629
+ .gd-datepicker-picker .rdp-weekday {
4511
4630
  display: table-cell;
4512
4631
  color: var(--gd-palette-complementary-8-from-theme, #94a1ad);
4513
4632
  cursor: help;
@@ -4517,7 +4636,7 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
4517
4636
  text-transform: none;
4518
4637
  text-align: center;
4519
4638
  }
4520
- .gd-datepicker-picker .rdp-head_cell span {
4639
+ .gd-datepicker-picker .rdp-weekday span {
4521
4640
  text-decoration: none;
4522
4641
  border-bottom: none;
4523
4642
  }
@@ -4527,28 +4646,33 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
4527
4646
  font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
4528
4647
  font-size: 14px;
4529
4648
  font-weight: 700;
4530
- text-align: center;
4531
4649
  border-radius: 0;
4532
4650
  }
4533
- .gd-datepicker-picker .rdp-day:not([disabled]):not(.rdp-day_selected):hover {
4651
+ .gd-datepicker-picker .rdp-day:not([disabled]):not(.rdp-selected):hover {
4534
4652
  background: var(--gd-palette-complementary-2, #ebeff4);
4535
4653
  cursor: pointer;
4536
4654
  }
4537
- .gd-datepicker-picker .rdp-day_disabled {
4655
+ .gd-datepicker-picker .rdp-day button {
4656
+ position: relative;
4657
+ left: 50%;
4658
+ transform: translateX(-50%);
4659
+ text-align: center;
4660
+ }
4661
+ .gd-datepicker-picker .rdp-disabled {
4538
4662
  color: var(--gd-palette-complementary-5, #b0beca);
4539
4663
  cursor: default;
4540
4664
  font-weight: 400;
4541
4665
  }
4542
- .gd-datepicker-picker .rdp-day_outside {
4666
+ .gd-datepicker-picker .rdp-outside {
4543
4667
  color: var(--gd-palette-complementary-7-from-theme, #687581);
4544
4668
  cursor: default;
4545
4669
  font-weight: 400;
4546
4670
  opacity: 1;
4547
4671
  }
4548
- .gd-datepicker-picker .rdp-day_outside.rdp-day_selected {
4672
+ .gd-datepicker-picker .rdp-outside.rdp-selected {
4549
4673
  font-weight: 700;
4550
4674
  }
4551
- .gd-datepicker-picker .rdp-day_selected:not(.rdp-day_disabled) {
4675
+ .gd-datepicker-picker .rdp-selected:not(.rdp-disabled) {
4552
4676
  color: var(--gd-palette-complementary-0, #fff);
4553
4677
  background: var(--gd-palette-primary-base, #14b2e2);
4554
4678
  }