@koslibs/components 1.15.0 → 1.16.0

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 (33) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/components/Datepicker/components/calendar-month.d.ts +8 -0
  3. package/dist/components/Datepicker/components/calendar-month.js +68 -0
  4. package/dist/components/Datepicker/components/range-calendar.d.ts +5 -0
  5. package/dist/components/Datepicker/components/range-calendar.js +78 -0
  6. package/dist/components/Datepicker/datepicker-panel.d.ts +2 -0
  7. package/dist/components/Datepicker/datepicker-panel.js +187 -0
  8. package/dist/components/Datepicker/datepicker.d.ts +2 -0
  9. package/dist/components/Datepicker/datepicker.js +194 -0
  10. package/dist/components/Datepicker/hooks/use-datepicker-draft.d.ts +22 -0
  11. package/dist/components/Datepicker/hooks/use-datepicker-draft.js +105 -0
  12. package/dist/components/Datepicker/hooks/use-datepicker-state.d.ts +23 -0
  13. package/dist/components/Datepicker/hooks/use-datepicker-state.js +106 -0
  14. package/dist/components/Datepicker/hooks/use-datepicker-value.d.ts +8 -0
  15. package/dist/components/Datepicker/hooks/use-datepicker-value.js +31 -0
  16. package/dist/components/Datepicker/hooks/use-range-scroll.d.ts +15 -0
  17. package/dist/components/Datepicker/hooks/use-range-scroll.js +219 -0
  18. package/dist/components/Datepicker/index.d.ts +3 -0
  19. package/dist/components/Datepicker/index.js +2 -0
  20. package/dist/components/Datepicker/index.module.js +37 -0
  21. package/dist/components/Datepicker/index_module.css +251 -0
  22. package/dist/components/Datepicker/panel.module.js +39 -0
  23. package/dist/components/Datepicker/panel_module.css +375 -0
  24. package/dist/components/Datepicker/types.d.ts +133 -0
  25. package/dist/components/Datepicker/types.js +0 -0
  26. package/dist/components/Datepicker/utils/date-utils.d.ts +17 -0
  27. package/dist/components/Datepicker/utils/date-utils.js +80 -0
  28. package/dist/components/Datepicker/utils/range-scroll-geometry.d.ts +15 -0
  29. package/dist/components/Datepicker/utils/range-scroll-geometry.js +29 -0
  30. package/dist/components/Datepicker/vars.css +26 -0
  31. package/dist/index.d.ts +2 -0
  32. package/dist/index.js +1 -0
  33. package/package.json +2 -2
@@ -0,0 +1,251 @@
1
+ @import "../../styles/theme.css";
2
+ @import "./vars.css";
3
+
4
+ .component-XIM8MH {
5
+ --field-background: var(--input-primary-background-color);
6
+ --field-color: var(--input-color);
7
+ --field-label-color: var(--input-label-color);
8
+ --field-icon-color: var(--input-icon-color);
9
+ --field-border: transparent;
10
+ gap: var(--input-gap);
11
+ width: var(--datepicker-width);
12
+ vertical-align: top;
13
+ min-width: 0;
14
+ max-width: 100%;
15
+ font-family: var(--font-primary);
16
+ flex-direction: column;
17
+ display: inline-flex;
18
+
19
+ &.block-bqbbVY {
20
+ width: 100%;
21
+ display: flex;
22
+ }
23
+
24
+ &.secondary-PcSgFC {
25
+ --field-background: var(--input-secondary-background-color);
26
+ }
27
+
28
+ &.readOnly-h13qVH {
29
+ --field-border: var(--input-read-only-border-color);
30
+ }
31
+
32
+ &.error-c8nacQ {
33
+ --field-border: var(--input-error-border-color);
34
+ }
35
+
36
+ &.disabled-khgRiN {
37
+ --field-background: var(--input-disabled-background-color);
38
+ --field-color: var(--input-disabled-color);
39
+ --field-label-color: var(--input-disabled-color);
40
+ --field-icon-color: var(--input-disabled-color);
41
+ --field-border: transparent;
42
+ cursor: not-allowed;
43
+ }
44
+ }
45
+
46
+ .size-40-h9qqeQ {
47
+ --field-height: 40px;
48
+ --field-padding: var(--input-padding-40);
49
+ }
50
+
51
+ .size-48-aaoiXa {
52
+ --field-height: 48px;
53
+ --field-padding: var(--input-padding-48);
54
+ }
55
+
56
+ .size-56-OGJpdt {
57
+ --field-height: 56px;
58
+ --field-padding: var(--input-padding-56);
59
+ }
60
+
61
+ .size-64-kBX3a2 {
62
+ --field-height: 64px;
63
+ --field-padding: var(--input-padding-64);
64
+ }
65
+
66
+ .size-72-BC6gqa {
67
+ --field-height: 72px;
68
+ --field-padding: var(--input-padding-72);
69
+ }
70
+
71
+ .field-fNIrel {
72
+ box-sizing: border-box;
73
+ align-items: center;
74
+ gap: var(--input-gap);
75
+ height: var(--field-height);
76
+ padding: 0 var(--field-padding);
77
+ border-radius: var(--input-border-radius);
78
+ background: var(--field-background);
79
+ box-shadow: inset 0 0 0 1px var(--field-border);
80
+ color: var(--field-color);
81
+ display: flex;
82
+ position: relative;
83
+ }
84
+
85
+ @media (hover: hover) {
86
+ .component-XIM8MH:not(.disabled-khgRiN, .readOnly-h13qVH, .error-c8nacQ) .field-fNIrel:hover {
87
+ box-shadow: inset 0 0 0 1px var(--input-hover-border-color);
88
+ }
89
+ }
90
+
91
+ .component-XIM8MH.hasOutline-HAFy7G:not(.disabled-khgRiN) .field-fNIrel:focus-within, .component-XIM8MH.hasOutline-HAFy7G.open-S1x_K5 .field-fNIrel {
92
+ box-shadow: none;
93
+ outline: 2px solid var(--input-focus-border-color);
94
+ outline-offset: 0;
95
+ }
96
+
97
+ .component-XIM8MH.hasOutline-HAFy7G.error-c8nacQ .field-fNIrel:focus-within, .component-XIM8MH.hasOutline-HAFy7G.error-c8nacQ.open-S1x_K5 .field-fNIrel {
98
+ outline-color: var(--input-error-border-color);
99
+ }
100
+
101
+ .trigger-yqmoik {
102
+ min-width: 0;
103
+ color: inherit;
104
+ text-align: left;
105
+ cursor: pointer;
106
+ appearance: none;
107
+ background: none;
108
+ border: 0;
109
+ outline: none;
110
+ flex: 1;
111
+ align-self: stretch;
112
+ padding: 0;
113
+ }
114
+
115
+ .trigger-yqmoik:after {
116
+ content: "";
117
+ border-radius: inherit;
118
+ position: absolute;
119
+ inset: 0;
120
+ }
121
+
122
+ .valueColumn-yqimvV {
123
+ justify-content: center;
124
+ gap: var(--size-2);
125
+ flex-direction: column;
126
+ min-width: 0;
127
+ height: 100%;
128
+ display: flex;
129
+ }
130
+
131
+ .value-AslTvH {
132
+ width: 100%;
133
+ min-width: 0;
134
+ color: var(--field-color);
135
+ }
136
+
137
+ .placeholder-kZMY22 {
138
+ color: var(--input-placeholder-color);
139
+ }
140
+
141
+ .label-EQek4i, .innerLabel-qjRhOo {
142
+ min-width: 0;
143
+ color: var(--field-label-color);
144
+ overflow-wrap: anywhere;
145
+ }
146
+
147
+ .innerLabel-qjRhOo {
148
+ transform: translateY(calc(50% + var(--size-2) / 2));
149
+ transition: transform .18s, font-size .18s;
150
+ }
151
+
152
+ .component-XIM8MH.labelRaised-X1UZfx .innerLabel-qjRhOo {
153
+ transform: translateY(0);
154
+ }
155
+
156
+ .component-XIM8MH.hasInnerLabel-KmtJKD .value-AslTvH {
157
+ opacity: 0;
158
+ transition: opacity .18s;
159
+ }
160
+
161
+ .component-XIM8MH.hasInnerLabel-KmtJKD.labelRaised-X1UZfx .value-AslTvH {
162
+ opacity: 1;
163
+ }
164
+
165
+ .icon-QZ2qDs {
166
+ pointer-events: none;
167
+ color: var(--field-icon-color);
168
+ flex-shrink: 0;
169
+ display: block;
170
+ }
171
+
172
+ .component-XIM8MH .clear-Rcrq1X {
173
+ z-index: 1;
174
+ width: 18px;
175
+ min-width: 0;
176
+ height: 24px;
177
+ min-height: 0;
178
+ color: var(--field-icon-color);
179
+ flex-shrink: 0;
180
+ justify-content: center;
181
+ align-items: center;
182
+ margin: 0;
183
+ padding: 0;
184
+ display: flex;
185
+ position: relative;
186
+ }
187
+
188
+ .component-XIM8MH .clear-Rcrq1X:hover, .component-XIM8MH .clear-Rcrq1X:active {
189
+ color: var(--field-icon-color);
190
+ }
191
+
192
+ .component-XIM8MH.hasOutline-HAFy7G .clear-Rcrq1X:focus-visible {
193
+ outline: 2px solid var(--input-focus-border-color);
194
+ }
195
+
196
+ .component-XIM8MH.disabled-khgRiN .trigger-yqmoik, .component-XIM8MH.disabled-khgRiN .label-EQek4i {
197
+ cursor: not-allowed;
198
+ }
199
+
200
+ .component-XIM8MH.disabled-khgRiN .placeholder-kZMY22 {
201
+ color: var(--input-disabled-color);
202
+ }
203
+
204
+ .component-XIM8MH.readOnly-h13qVH:not(.disabled-khgRiN) .trigger-yqmoik {
205
+ cursor: default;
206
+ }
207
+
208
+ .component-XIM8MH .message-IkNTrK {
209
+ color: var(--input-hint-color);
210
+ overflow-wrap: anywhere;
211
+ }
212
+
213
+ .component-XIM8MH.error-c8nacQ .message-IkNTrK {
214
+ color: var(--input-error-message-color);
215
+ }
216
+
217
+ .component-XIM8MH.disabled-khgRiN .message-IkNTrK {
218
+ color: var(--input-disabled-color);
219
+ }
220
+
221
+ .popup-a9mcwf {
222
+ --popover-shadow: none;
223
+ }
224
+
225
+ .panelContainer-xno_kL {
226
+ min-width: 0;
227
+ min-height: 0;
228
+ max-height: inherit;
229
+ flex-direction: column;
230
+ display: flex;
231
+ }
232
+
233
+ @media (height <= 700px) {
234
+ .popup-a9mcwf.rangePopup-AVJC5u {
235
+ max-height: calc(100dvh - 16px);
236
+ top: 8px !important;
237
+ left: 50% !important;
238
+ transform: translateX(-50%) !important;
239
+ }
240
+
241
+ .popup-a9mcwf.rangePopup-AVJC5u .panelContainer-xno_kL {
242
+ --datepicker-popup-calendar-height: max(96px, calc(100dvh - 230px));
243
+ }
244
+ }
245
+
246
+ @media (prefers-reduced-motion: reduce) {
247
+ .innerLabel-qjRhOo, .component-XIM8MH.hasInnerLabel-KmtJKD .value-AslTvH {
248
+ transition: none;
249
+ }
250
+ }
251
+
@@ -0,0 +1,39 @@
1
+ import "./panel_module.css";
2
+ const panel_module = {
3
+ panel: "panel-Yl5t0N",
4
+ range: "range-PDIlXe",
5
+ title: "title-ORgvzc",
6
+ fields: "fields-G9X5NH",
7
+ input: "input-qmus0w",
8
+ inputField: "inputField-CJpjrk",
9
+ inputLabel: "inputLabel-zecPMt",
10
+ inputError: "inputError-G3MvZq",
11
+ body: "body-CHCACA",
12
+ singleCalendar: "singleCalendar-waNors",
13
+ navigation: "navigation-rr0ZWk",
14
+ arrow: "arrow-dli_dq",
15
+ weekdays: "weekdays-szhUFV",
16
+ month: "month-ojfniN",
17
+ monthTitle: "monthTitle-uMM8rO",
18
+ days: "days-L0OFe5",
19
+ day: "day-GR9k0b",
20
+ inRange: "inRange-XI5Z3W",
21
+ selected: "selected-Rn_79k",
22
+ rangeStart: "rangeStart-Ga7FdA",
23
+ rangeEnd: "rangeEnd-tPWcVm",
24
+ oneDay: "oneDay-ySm0RF",
25
+ previewEnd: "previewEnd-GpQ9Ct",
26
+ monthButton: "monthButton-Sg7pGr",
27
+ footer: "footer-Qcalpd",
28
+ count: "count-aMO4wG",
29
+ cancel: "cancel-GFcLkD",
30
+ rangeCalendar: "rangeCalendar-GJigFT",
31
+ months: "months-jIb0DO",
32
+ monthWindow: "monthWindow-rLvStO",
33
+ year: "year-MkIbMv",
34
+ monthVisible: "monthVisible-zRAM6M",
35
+ calendars: "calendars-kqa7kX",
36
+ calendarMonths: "calendarMonths-XpAPCj",
37
+ monthBlock: "monthBlock-GdHkqH"
38
+ };
39
+ export default panel_module;
@@ -0,0 +1,375 @@
1
+ @import "../../styles/theme.css";
2
+ @import "./vars.css";
3
+
4
+ .panel-Yl5t0N {
5
+ box-sizing: border-box;
6
+ gap: var(--size-12);
7
+ width: var(--datepicker-panel-width);
8
+ min-width: 0;
9
+ max-width: 100%;
10
+ min-height: 0;
11
+ padding: var(--datepicker-panel-padding);
12
+ border-radius: var(--datepicker-panel-radius);
13
+ background: var(--datepicker-background);
14
+ color: var(--datepicker-color);
15
+ box-shadow: var(--datepicker-panel-shadow);
16
+ font-family: var(--font-primary);
17
+ overscroll-behavior: contain;
18
+ flex-direction: column;
19
+ display: flex;
20
+ overflow-y: auto;
21
+ }
22
+
23
+ .range-PDIlXe {
24
+ width: var(--datepicker-range-width);
25
+ }
26
+
27
+ .panel-Yl5t0N .title-ORgvzc {
28
+ flex-shrink: 0;
29
+ line-height: 24px;
30
+ }
31
+
32
+ .fields-G9X5NH {
33
+ gap: var(--size-12);
34
+ flex-shrink: 0;
35
+ display: flex;
36
+ }
37
+
38
+ .panel-Yl5t0N .input-qmus0w {
39
+ --field-height: 36px;
40
+ --field-padding: 8px;
41
+ --input-gap: 4px;
42
+ flex: 1;
43
+ min-width: 0;
44
+ }
45
+
46
+ .panel-Yl5t0N .inputField-CJpjrk {
47
+ height: 36px;
48
+ }
49
+
50
+ .panel-Yl5t0N .inputLabel-zecPMt {
51
+ font-size: 12px;
52
+ font-weight: 400;
53
+ line-height: 18px;
54
+ }
55
+
56
+ .panel-Yl5t0N .inputLabel-zecPMt > span {
57
+ font-size: inherit;
58
+ font-weight: inherit;
59
+ line-height: inherit;
60
+ }
61
+
62
+ .panel-Yl5t0N .inputError-G3MvZq {
63
+ margin-top: 0;
64
+ }
65
+
66
+ .body-CHCACA {
67
+ flex-shrink: 0;
68
+ min-height: 0;
69
+ }
70
+
71
+ .singleCalendar-waNors {
72
+ align-items: center;
73
+ gap: var(--size-8);
74
+ flex-direction: column;
75
+ display: flex;
76
+ }
77
+
78
+ .navigation-rr0ZWk {
79
+ justify-content: space-between;
80
+ align-items: center;
81
+ width: 308px;
82
+ max-width: 100%;
83
+ height: 24px;
84
+ display: flex;
85
+ }
86
+
87
+ .arrow-dli_dq {
88
+ width: 24px;
89
+ height: 24px;
90
+ color: var(--datepicker-muted-color);
91
+ cursor: pointer;
92
+ background: none;
93
+ border: 0;
94
+ border-radius: 4px;
95
+ justify-content: center;
96
+ align-items: center;
97
+ padding: 0;
98
+ display: flex;
99
+ }
100
+
101
+ .arrow-dli_dq:disabled {
102
+ opacity: .4;
103
+ cursor: default;
104
+ }
105
+
106
+ .arrow-dli_dq:hover:not(:disabled) {
107
+ background: var(--datepicker-hover-background);
108
+ }
109
+
110
+ .weekdays-szhUFV {
111
+ width: 308px;
112
+ max-width: 100%;
113
+ height: 20px;
114
+ color: var(--datepicker-muted-color);
115
+ text-align: center;
116
+ flex-shrink: 0;
117
+ grid-template-columns: repeat(7, minmax(0, 1fr));
118
+ font-size: 12px;
119
+ line-height: 18px;
120
+ display: grid;
121
+ }
122
+
123
+ .month-ojfniN {
124
+ flex-shrink: 0;
125
+ width: 308px;
126
+ max-width: 100%;
127
+ }
128
+
129
+ .monthTitle-uMM8rO {
130
+ margin-bottom: var(--size-8);
131
+ line-height: 21px;
132
+ }
133
+
134
+ .days-L0OFe5 {
135
+ row-gap: var(--datepicker-week-gap);
136
+ grid-template-columns: repeat(7, minmax(0, 1fr));
137
+ display: grid;
138
+ }
139
+
140
+ .day-GR9k0b {
141
+ box-sizing: border-box;
142
+ height: var(--datepicker-day-height);
143
+ border-radius: var(--datepicker-day-radius);
144
+ min-width: 0;
145
+ color: var(--datepicker-color);
146
+ cursor: pointer;
147
+ background: none;
148
+ border: 0;
149
+ padding: 0;
150
+ font-family: inherit;
151
+ font-size: 13px;
152
+ line-height: 19px;
153
+ }
154
+
155
+ .day-GR9k0b:hover {
156
+ background: var(--datepicker-hover-background);
157
+ }
158
+
159
+ .day-GR9k0b.inRange-XI5Z3W {
160
+ background: var(--datepicker-range-background);
161
+ border-radius: 0;
162
+ }
163
+
164
+ .day-GR9k0b.selected-Rn_79k, .day-GR9k0b.rangeStart-Ga7FdA, .day-GR9k0b.rangeEnd-tPWcVm {
165
+ background: var(--datepicker-selected-background);
166
+ font-weight: 600;
167
+ }
168
+
169
+ .day-GR9k0b.rangeStart-Ga7FdA {
170
+ border-radius: var(--datepicker-day-radius) 0 0 var(--datepicker-day-radius);
171
+ }
172
+
173
+ .day-GR9k0b.rangeEnd-tPWcVm {
174
+ border-radius: 0 var(--datepicker-day-radius) var(--datepicker-day-radius) 0;
175
+ }
176
+
177
+ .day-GR9k0b.oneDay-ySm0RF {
178
+ border-radius: var(--datepicker-day-radius);
179
+ }
180
+
181
+ .day-GR9k0b.previewEnd-GpQ9Ct {
182
+ box-shadow: inset 0 0 0 1px var(--datepicker-focus-color);
183
+ }
184
+
185
+ .day-GR9k0b:focus-visible, .arrow-dli_dq:focus-visible, .monthButton-Sg7pGr:focus-visible {
186
+ outline: 2px solid var(--datepicker-focus-color);
187
+ outline-offset: -2px;
188
+ }
189
+
190
+ .footer-Qcalpd {
191
+ z-index: 1;
192
+ background: var(--datepicker-background);
193
+ align-items: center;
194
+ gap: var(--size-8);
195
+ flex-shrink: 0;
196
+ min-height: 40px;
197
+ display: flex;
198
+ position: sticky;
199
+ bottom: 0;
200
+ }
201
+
202
+ .count-aMO4wG {
203
+ flex: 1;
204
+ min-width: 0;
205
+ }
206
+
207
+ .footer-Qcalpd .cancel-GFcLkD {
208
+ min-width: 80px;
209
+ }
210
+
211
+ .rangeCalendar-GJigFT {
212
+ gap: var(--size-16);
213
+ min-height: 0;
214
+ height: min(calc(var(--datepicker-range-calendar-height) + var(--datepicker-months-extra-height)),
215
+ var(--datepicker-popup-calendar-height, 100000px));
216
+ display: flex;
217
+ }
218
+
219
+ .months-jIb0DO {
220
+ --datepicker-month-padding: var(--size-8);
221
+ box-sizing: border-box;
222
+ flex: 0 0 var(--datepicker-months-width);
223
+ min-width: 0;
224
+ height: 100%;
225
+ padding: var(--datepicker-month-padding);
226
+ border-radius: var(--border-radius-8);
227
+ overscroll-behavior: contain;
228
+ background: var(--datepicker-hover-background);
229
+ overflow-anchor: none;
230
+ isolation: isolate;
231
+ position: relative;
232
+ overflow: auto;
233
+ }
234
+
235
+ .monthWindow-rLvStO {
236
+ z-index: -1;
237
+ top: 0;
238
+ right: var(--datepicker-month-padding);
239
+ left: var(--datepicker-month-padding);
240
+ border-radius: var(--border-radius-6);
241
+ background: var(--datepicker-month-selected-background);
242
+ pointer-events: none;
243
+ height: 0;
244
+ position: absolute;
245
+ }
246
+
247
+ .year-MkIbMv {
248
+ height: 18px;
249
+ color: var(--datepicker-muted-color);
250
+ padding: 0 8px;
251
+ font-size: 12px;
252
+ font-weight: 600;
253
+ line-height: 18px;
254
+ }
255
+
256
+ .monthButton-Sg7pGr {
257
+ border-radius: var(--border-radius-6);
258
+ width: 100%;
259
+ height: 36px;
260
+ color: var(--datepicker-color);
261
+ text-align: left;
262
+ cursor: pointer;
263
+ background: none;
264
+ border: 0;
265
+ padding: 0 8px;
266
+ font-family: inherit;
267
+ font-size: 13px;
268
+ display: block;
269
+ }
270
+
271
+ .monthButton-Sg7pGr:hover {
272
+ background: var(--datepicker-month-selected-background);
273
+ }
274
+
275
+ .monthButton-Sg7pGr.monthVisible-zRAM6M {
276
+ font-weight: 600;
277
+ }
278
+
279
+ .calendars-kqa7kX {
280
+ height: calc(100% - var(--datepicker-months-extra-height));
281
+ align-self: center;
282
+ align-items: center;
283
+ gap: var(--size-8);
284
+ flex-direction: column;
285
+ flex: 1;
286
+ min-width: 0;
287
+ min-height: 0;
288
+ display: flex;
289
+ }
290
+
291
+ .calendarMonths-XpAPCj {
292
+ align-items: center;
293
+ gap: var(--size-20);
294
+ overflow-anchor: none;
295
+ flex-direction: column;
296
+ flex: 1;
297
+ width: 100%;
298
+ min-height: 0;
299
+ display: flex;
300
+ position: relative;
301
+ overflow: auto;
302
+ }
303
+
304
+ .monthBlock-GdHkqH {
305
+ flex-shrink: 0;
306
+ justify-content: center;
307
+ width: 100%;
308
+ display: flex;
309
+ }
310
+
311
+ .panel-Yl5t0N, .months-jIb0DO, .calendarMonths-XpAPCj {
312
+ scrollbar-width: auto;
313
+ scrollbar-color: auto;
314
+
315
+ &::-webkit-scrollbar {
316
+ background: none;
317
+ width: 6px;
318
+ height: 6px;
319
+ }
320
+
321
+ &::-webkit-scrollbar-button {
322
+ width: 0;
323
+ height: 0;
324
+ display: none;
325
+ }
326
+
327
+ &::-webkit-scrollbar-track {
328
+ background: none;
329
+ }
330
+
331
+ &::-webkit-scrollbar-track-piece {
332
+ background: none;
333
+ }
334
+
335
+ &::-webkit-scrollbar-corner {
336
+ background: none;
337
+ }
338
+
339
+ &::-webkit-scrollbar-thumb {
340
+ border-radius: var(--border-radius-pill);
341
+ background: var(--datepicker-scrollbar-color);
342
+ }
343
+ }
344
+
345
+ @supports not selector(::-webkit-scrollbar) {
346
+ .panel-Yl5t0N, .months-jIb0DO, .calendarMonths-XpAPCj {
347
+ scrollbar-width: thin;
348
+ scrollbar-color: var(--datepicker-scrollbar-color) transparent;
349
+ }
350
+ }
351
+
352
+ @media (width <= 520px) {
353
+ .rangeCalendar-GJigFT {
354
+ gap: 8px;
355
+ }
356
+
357
+ .months-jIb0DO {
358
+ --datepicker-month-padding: 4px;
359
+ flex-basis: 100px;
360
+ }
361
+
362
+ .monthButton-Sg7pGr {
363
+ padding: 0 4px;
364
+ font-size: 11px;
365
+ }
366
+
367
+ .year-MkIbMv {
368
+ padding: 0 4px;
369
+ }
370
+
371
+ .panel-Yl5t0N {
372
+ padding: 12px;
373
+ }
374
+ }
375
+