@lets-events/react 12.9.3 → 12.10.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.
Files changed (94) hide show
  1. package/.eslintrc.json +2 -2
  2. package/.turbo/turbo-build.log +21 -19
  3. package/CHANGELOG.md +12 -0
  4. package/dist/index.d.mts +15 -2
  5. package/dist/index.d.ts +15 -2
  6. package/dist/index.js +299 -203
  7. package/dist/index.mjs +267 -172
  8. package/package.json +1 -1
  9. package/src/components/Alert.tsx +303 -303
  10. package/src/components/Avatar.tsx +55 -55
  11. package/src/components/Badge.tsx +123 -123
  12. package/src/components/Box.tsx +3 -3
  13. package/src/components/Button/index.tsx +74 -62
  14. package/src/components/Button/styledComponents.ts +361 -320
  15. package/src/components/ButtonGroup.tsx +484 -484
  16. package/src/components/Calendar/index.tsx +168 -168
  17. package/src/components/Calendar/styledComponents.ts +480 -480
  18. package/src/components/Card.tsx +67 -67
  19. package/src/components/CheckboxGroup.tsx +176 -176
  20. package/src/components/Container.tsx +39 -39
  21. package/src/components/Divider.tsx +7 -7
  22. package/src/components/DoubleCalendar/index.tsx +182 -182
  23. package/src/components/Drawer/index.tsx +100 -100
  24. package/src/components/Drawer/styledComponents.ts +103 -103
  25. package/src/components/Dropdown.tsx +302 -302
  26. package/src/components/Filter.tsx +164 -164
  27. package/src/components/Flex.tsx +118 -118
  28. package/src/components/FormFields/AddressFormFields/CityFormField.tsx +111 -111
  29. package/src/components/FormFields/AddressFormFields/CountryFormField.tsx +33 -33
  30. package/src/components/FormFields/AddressFormFields/PostalCodeFormField.tsx +39 -39
  31. package/src/components/FormFields/AddressFormFields/StateFormField.tsx +32 -32
  32. package/src/components/FormFields/AddressFormFields/index.tsx +141 -141
  33. package/src/components/FormFields/BirthDateFormField.tsx +84 -84
  34. package/src/components/FormFields/CNPJFormField.tsx +87 -87
  35. package/src/components/FormFields/CPFFormField.tsx +78 -78
  36. package/src/components/FormFields/CalendarFormField.tsx +98 -98
  37. package/src/components/FormFields/CheckboxGroupFormField.tsx +91 -91
  38. package/src/components/FormFields/DateAndTimeFormField.tsx +217 -217
  39. package/src/components/FormFields/DoubleCalendarFormField.tsx +96 -96
  40. package/src/components/FormFields/EmailFormField.tsx +27 -27
  41. package/src/components/FormFields/Form.tsx +39 -39
  42. package/src/components/FormFields/IdentityDocumentNumberFormField.tsx +32 -32
  43. package/src/components/FormFields/MultiSelectFormField.tsx +64 -64
  44. package/src/components/FormFields/PhoneFormField.tsx +40 -40
  45. package/src/components/FormFields/RadioGroupFormField.tsx +86 -86
  46. package/src/components/FormFields/RichEditorFormField.tsx +103 -103
  47. package/src/components/FormFields/SelectFormField.tsx +113 -113
  48. package/src/components/FormFields/SwitchFormField.tsx +46 -46
  49. package/src/components/FormFields/TextAreaFormField.tsx +61 -61
  50. package/src/components/FormFields/TextFormField.tsx +112 -112
  51. package/src/components/FormFields/TimePickerFormField.tsx +88 -88
  52. package/src/components/FormFields/subComponents/ErrorFormMessage.tsx +36 -36
  53. package/src/components/FormFields/subComponents/FormLabel.tsx +36 -36
  54. package/src/components/FormFields/utils/validation.ts +23 -23
  55. package/src/components/Grid.tsx +137 -137
  56. package/src/components/Icon.tsx +47 -47
  57. package/src/components/MenuDropdown/index.tsx +38 -38
  58. package/src/components/MenuDropdown/styledComponents.ts +31 -31
  59. package/src/components/Modal.tsx +110 -110
  60. package/src/components/MultiSelect/index.tsx +305 -305
  61. package/src/components/MultiSelect/styledComponents.ts +160 -160
  62. package/src/components/RadioGroup.tsx +210 -210
  63. package/src/components/RichEditor/QuillComponent.tsx +468 -468
  64. package/src/components/RichEditor/RichEditor.tsx +49 -49
  65. package/src/components/RichEditor/RichTextPresenter.tsx +18 -18
  66. package/src/components/RichEditor/index.ts +3 -3
  67. package/src/components/RichEditor/styledComponents.ts +1170 -1170
  68. package/src/components/Section.tsx +33 -33
  69. package/src/components/Step.tsx +164 -164
  70. package/src/components/Switch.tsx +108 -108
  71. package/src/components/Text.tsx +38 -38
  72. package/src/components/TextField.tsx +372 -372
  73. package/src/components/TextareaField.tsx +116 -116
  74. package/src/components/TimePicker.tsx +357 -357
  75. package/src/components/Toast/components/ToastItem.tsx +41 -41
  76. package/src/components/Toast/components/ToastProvider.tsx +63 -63
  77. package/src/components/Toast/hooks/useToast.ts +12 -12
  78. package/src/components/Toast/index.tsx +5 -5
  79. package/src/components/Toast/styles/index.ts +135 -135
  80. package/src/components/Toast/types/index.ts +46 -46
  81. package/src/components/ToggleElement/index.tsx +58 -0
  82. package/src/components/Tooltip/index.tsx +73 -73
  83. package/src/components/Tooltip/styles.ts +77 -77
  84. package/src/hooks/useCountries.ts +41 -41
  85. package/src/hooks/useImageUpload.ts +139 -139
  86. package/src/hooks/useOnClickOutside.tsx +42 -42
  87. package/src/index.tsx +72 -72
  88. package/src/styles/index.ts +41 -41
  89. package/src/types/typographyValues.ts +178 -178
  90. package/src/utils/getNestedValue.ts +3 -3
  91. package/src/utils/states.ts +29 -29
  92. package/src/utils/uploadService.ts +180 -180
  93. package/tsconfig.json +3 -3
  94. package/tsup.config.ts +38 -38
@@ -1,480 +1,480 @@
1
- import { styled } from "../../styles";
2
-
3
- export const CalendarStyled = styled("div", {
4
- fontFamily: "$default",
5
- lineHeight: "$base",
6
- fontSize: "$14",
7
- borderRadius: "$sm",
8
- position: "relative",
9
- width: "fit-content",
10
- variants: {
11
- expand: {
12
- true: {
13
- width: "100%",
14
- flex: "1",
15
- display: "flex",
16
- },
17
- },
18
- },
19
- });
20
- export const CalendarButtonStyled = styled("button", {
21
- backgroundColor: "transparent",
22
- border: "none",
23
- maxWidth: "200px",
24
- padding: "0",
25
- cursor: "pointer",
26
- "> div > div": {
27
- paddingLeft: "0",
28
- input: {
29
- textAlign: "right",
30
- },
31
- },
32
- variants: {
33
- expand: {
34
- true: {
35
- flex: "1",
36
- display: "flex",
37
- maxWidth: "100%",
38
- },
39
- },
40
- },
41
- });
42
- export const CalendarContentStyled = styled("div", {
43
- fontFamily: "$default",
44
- lineHeight: "$base",
45
- fontSize: "$14",
46
- maxWidth: "fit-content",
47
- border: "1px solid $neutral300",
48
- borderRadius: "$sm",
49
- boxShadow: "0px 2px 8px 0px $shadow50",
50
- position: "absolute",
51
- backgroundColor: "$neutral50",
52
- zIndex: "999999",
53
- variants: {
54
- position: {
55
- top: {
56
- bottom: "110%",
57
- left: "0",
58
- },
59
- bottom: {
60
- top: "110%",
61
- left: "0",
62
- },
63
- "top-right": {
64
- bottom: "110%",
65
- right: "0",
66
- },
67
- "bottom-right": {
68
- top: "110%",
69
- right: "0",
70
- },
71
- },
72
- },
73
- });
74
-
75
- export const CalendarFooterStyled = styled("div", {
76
- borderTop: "2px solid $neutral100",
77
- padding: "$4 $16",
78
- display: "flex",
79
- gap: "1rem",
80
- alignItems: "center",
81
- height: "3rem",
82
- variants: {
83
- actionAlign: {
84
- left: {
85
- justifyContent: "flex-start",
86
- },
87
- center: {
88
- justifyContent: "center",
89
- },
90
- right: {
91
- justifyContent: "flex-end",
92
- },
93
- },
94
- },
95
- defaultVariants: {
96
- actionAlign: "right",
97
- },
98
- "@media (max-width: 748px)": {
99
- gap: "0",
100
- padding: "$4 $12",
101
- "> div": {
102
- padding: "0!important",
103
- },
104
- },
105
- });
106
-
107
- export const DayPickerWrapperStyled = styled("div", {
108
- ".rt-TextFieldInput": {
109
- fontFamily: "$default",
110
- fontSize: "$14",
111
- color: "$dark500",
112
- },
113
- ".rdp-root": {
114
- padding: "0 $8",
115
- },
116
- ".rdp-today .rdp-day_button": {
117
- color: "$brand500",
118
- textDecoration: "underline",
119
- },
120
- ".rdp-day.rdp-disabled .rdp-day_button": {
121
- color: "$dark400",
122
- },
123
- ".rdp-day_button": {
124
- height: "32px",
125
- width: "32px",
126
- borderRadius: "$sm",
127
- fontSize: "$14",
128
- color: "$text",
129
- backgroundColor: "transparent",
130
- border: "1px solid transparent",
131
- transition: "all 0.2s ease-in-out",
132
- cursor: "pointer",
133
- display: "flex",
134
- alignItems: "center",
135
- justifyContent: "center",
136
- },
137
- ".rdp-day_button:hover": {
138
- backgroundColor: "$dark100",
139
- borderColor: "$brand600",
140
- },
141
- ".rdp-day.rdp-disabled .rdp-day_button:hover": {
142
- backgroundColor: "transparent",
143
- borderColor: "transparent",
144
- },
145
- ".rdp-nav": {
146
- position: "absolute",
147
- width: "100%",
148
- left: "0",
149
- display: "flex",
150
- justifyContent: "space-between",
151
- },
152
- ".rdp-nav .rdp-chevron": {
153
- display: "none",
154
- },
155
- ".rdp-nav .rdp-button_previous": {
156
- display: "block",
157
- backgroundImage:
158
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cg%20transform='scale(-1,1)%20translate(-32,0)'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/g%3E%3C/svg%3E\")",
159
- backgroundRepeat: "no-repeat",
160
- backgroundPosition: "center",
161
- backgroundSize: "cover",
162
- width: "32px",
163
- height: "32px",
164
- },
165
- ".rdp-nav .rdp-button_next": {
166
- display: "block",
167
- backgroundImage:
168
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
169
- backgroundRepeat: "no-repeat",
170
- backgroundPosition: "center",
171
- backgroundSize: "cover",
172
- width: "32px",
173
- height: "32px",
174
- },
175
- ".rdp-nav .rdp-button_previous:hover": {
176
- backgroundImage:
177
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M12.2937%2015.2938C11.9031%2015.6844%2011.9031%2016.3188%2012.2937%2016.7094L17.2937%2021.7094C17.6844%2022.1%2018.3187%2022.1%2018.7094%2021.7094C19.1%2021.3188%2019.1%2020.6844%2018.7094%2020.2938L14.4156%2016L18.7062%2011.7063C19.0969%2011.3156%2019.0969%2010.6813%2018.7062%2010.2906C18.3156%209.90002%2017.6812%209.90002%2017.2906%2010.2906L12.2906%2015.2906L12.2937%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
178
- transition: "all 0.2s ease-in-out",
179
- },
180
- ".rdp-nav .rdp-button_next:hover": {
181
- backgroundImage:
182
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
183
- transition: "all 0.2s ease-in-out",
184
- },
185
- ".rdp-nav button": {
186
- border: "none",
187
- backgroundColor: "transparent",
188
- cursor: "pointer",
189
- },
190
- ".rdp-months": {
191
- display: "flex",
192
- columnGap: "$16",
193
- alignItems: "flex-start",
194
- paddingTop: "$12",
195
- },
196
- ".rdp-month": {
197
- marginTop: "0",
198
- paddingTop: "$6",
199
- },
200
- ".rdp-month_caption": {
201
- display: "flex",
202
- alignItems: "center",
203
- justifyContent: "center",
204
- width: "calc(100% - 64px)",
205
- margin: "0 auto",
206
- columnGap: "12px",
207
- },
208
- ".rdp-dropdowns span, .rdp-caption_label": {
209
- fontSize: "$16",
210
- fontWeight: "$regular",
211
- lineHeight: "$20",
212
- textTransform: "capitalize",
213
- },
214
- ".rdp-day.rdp-selected .rdp-day_button": {
215
- backgroundColor: "$brand500",
216
- color: "$neutral50",
217
- borderColor: "$brand600",
218
- borderRadius: "0.5rem",
219
- },
220
- ".rdp-dropdowns": {
221
- display: "flex",
222
- alignItems: "center",
223
- justifyContent: "center",
224
- width: "calc(100% - 64px)",
225
- columnGap: "12px",
226
- },
227
- ".rdp-dropdowns .rdp-caption_label": {
228
- display: "none",
229
- },
230
- ".rdp-dropdown.rdp-months_dropdown, .rdp-dropdown.rdp-years_dropdown": {
231
- border: "none",
232
- backgroundColor: "transparent",
233
- textTransform: "capitalize",
234
- height: "1.25rem",
235
- position: "relative",
236
- fontFamily: "$default",
237
- fontSize: "$16",
238
- lineHeight: "1.25rem",
239
- appearance: "none",
240
- WebkitAppearance: "none",
241
- MozAppearance: "none",
242
- paddingRight: "1.25rem",
243
- zIndex: "3",
244
- },
245
- ".rdp-dropdown:focus, .rdp-dropdown:focus-visible, .rdp-dropdown:active": {
246
- border: "none",
247
- outline: "none",
248
- boxShadow: "none",
249
- },
250
- ".rdp-dropdown.rdp-months_dropdown:focus, .rdp-dropdown.rdp-years_dropdown:focus":
251
- {
252
- border: "none",
253
- },
254
- ".rdp-dropdown_root": {
255
- position: "relative",
256
- },
257
- ".rdp-dropdown_root::after": {
258
- content: "",
259
- height: "1.25rem",
260
- width: "1.25rem",
261
- position: "absolute",
262
- top: "0",
263
- right: "0",
264
- display: "block",
265
- backgroundColor: "$neutral50",
266
- backgroundImage:
267
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='11'%20height='20'%20viewBox='0%200%2011%2020'%20fill='none'%3E%3Crect%20width='11'%20height='20'%20fill='white'/%3E%3Cpath%20d='M5.9414%202.68359C5.69726%202.43945%205.30077%202.43945%205.05663%202.68359L2.55663%205.18359C2.37695%205.36328%202.32421%205.63086%202.42187%205.86523C2.51952%206.09961%202.74609%206.25195%202.99999%206.25195H7.99999C8.25195%206.25195%208.48046%206.09961%208.57812%205.86523C8.67578%205.63086%208.62109%205.36328%208.44335%205.18359L5.94335%202.68359H5.9414Z'%20fill='%23808289'/%3E%3Cpath%20d='M5.05858%2017.3164C5.30272%2017.5605%205.69921%2017.5605%205.94335%2017.3164L8.44335%2014.8164C8.62304%2014.6367%208.67577%2014.3691%208.57811%2014.1348C8.48046%2013.9004%208.25389%2013.748%207.99999%2013.748L2.99999%2013.75C2.74804%2013.75%202.51952%2013.9023%202.42186%2014.1367C2.32421%2014.3711%202.37889%2014.6387%202.55663%2014.8184L5.05663%2017.3184L5.05858%2017.3164Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
268
- backgroundRepeat: "no-repeat",
269
- backgroundPosition: "center",
270
- borderRadius: "0.5rem",
271
- zIndex: "2",
272
- },
273
- ".rdp-weekday": {
274
- textTransform: "uppercase",
275
- fontWeight: "$regular",
276
- fontSize: "0px",
277
- },
278
- ".rdp-weekday::first-letter": {
279
- fontSize: "$14",
280
- },
281
- ".rdp-month_grid": {
282
- marginTop: "$16",
283
- paddingTop: "$16",
284
- borderTop: "2px solid $neutral100",
285
- },
286
- "@media (max-width: 748px)": {
287
- ".rdp-months": {
288
- flexDirection: "column",
289
- alignItems: "center",
290
- padding: "16px"
291
- },
292
- }
293
- });
294
- export const DayPickerWrapperStyledToDoubleCalendar = styled("div", {
295
- ".rt-TextFieldInput": {
296
- fontFamily: "$default",
297
- fontSize: "$14",
298
- color: "$dark500",
299
- },
300
- ".rdp-root": {
301
- padding: "0 $8",
302
- },
303
- ".rdp-today .rdp-day_button": {
304
- color: "$brand500",
305
- textDecoration: "underline",
306
- },
307
- ".rdp-day.rdp-disabled .rdp-day_button": {
308
- color: "$dark400",
309
- },
310
- ".rdp-day_button": {
311
- height: "26px",
312
- width: "26px",
313
- borderRadius: "$sm",
314
- fontSize: "$14",
315
- color: "$text",
316
- backgroundColor: "transparent",
317
- border: "1px solid transparent",
318
- transition: "all 0.2s ease-in-out",
319
- cursor: "pointer",
320
- display: "flex",
321
- alignItems: "center",
322
- justifyContent: "center",
323
- },
324
- ".rdp-day_button:hover": {
325
- backgroundColor: "$dark100",
326
- borderColor: "$brand600",
327
- },
328
- ".rdp-day.rdp-disabled .rdp-day_button:hover": {
329
- backgroundColor: "transparent",
330
- borderColor: "transparent",
331
- },
332
- ".rdp-nav": {
333
- position: "absolute",
334
- width: "100%",
335
- left: "0",
336
- display: "flex",
337
- justifyContent: "space-between",
338
- },
339
- ".rdp-nav .rdp-chevron": {
340
- display: "none",
341
- },
342
- ".rdp-nav .rdp-button_previous": {
343
- display: "block",
344
- backgroundImage:
345
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cg%20transform='scale(-1,1)%20translate(-32,0)'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/g%3E%3C/svg%3E\")",
346
- backgroundRepeat: "no-repeat",
347
- backgroundPosition: "center",
348
- backgroundSize: "cover",
349
- width: "32px",
350
- height: "32px",
351
- },
352
- ".rdp-nav .rdp-button_next": {
353
- display: "block",
354
- backgroundImage:
355
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
356
- backgroundRepeat: "no-repeat",
357
- backgroundPosition: "center",
358
- backgroundSize: "cover",
359
- width: "32px",
360
- height: "32px",
361
- },
362
- ".rdp-nav .rdp-button_previous:hover": {
363
- backgroundImage:
364
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M12.2937%2015.2938C11.9031%2015.6844%2011.9031%2016.3188%2012.2937%2016.7094L17.2937%2021.7094C17.6844%2022.1%2018.3187%2022.1%2018.7094%2021.7094C19.1%2021.3188%2019.1%2020.6844%2018.7094%2020.2938L14.4156%2016L18.7062%2011.7063C19.0969%2011.3156%2019.0969%2010.6813%2018.7062%2010.2906C18.3156%209.90002%2017.6812%209.90002%2017.2906%2010.2906L12.2906%2015.2906L12.2937%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
365
- transition: "all 0.2s ease-in-out",
366
- },
367
- ".rdp-nav .rdp-button_next:hover": {
368
- backgroundImage:
369
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
370
- transition: "all 0.2s ease-in-out",
371
- },
372
- ".rdp-nav button": {
373
- border: "none",
374
- backgroundColor: "transparent",
375
- cursor: "pointer",
376
- },
377
- ".rdp-months": {
378
- display: "flex",
379
- columnGap: "$8",
380
- alignItems: "flex-start",
381
- paddingTop: "$12",
382
- },
383
- ".rdp-month": {
384
- marginTop: "0",
385
- paddingTop: "$6",
386
- },
387
- ".rdp-month_caption": {
388
- display: "flex",
389
- alignItems: "center",
390
- justifyContent: "center",
391
- width: "calc(100% - 64px)",
392
- margin: "0 auto",
393
- columnGap: "12px",
394
- },
395
- ".rdp-dropdowns span, .rdp-caption_label": {
396
- fontSize: "$16",
397
- fontWeight: "$regular",
398
- lineHeight: "$20",
399
- textTransform: "capitalize",
400
- },
401
- ".rdp-day.rdp-selected .rdp-day_button": {
402
- backgroundColor: "$brand500",
403
- color: "$neutral50",
404
- borderColor: "$brand600",
405
- borderRadius: "0.5rem",
406
- },
407
- ".rdp-dropdowns": {
408
- display: "flex",
409
- alignItems: "center",
410
- justifyContent: "center",
411
- width: "calc(100% - 64px)",
412
- columnGap: "12px",
413
- },
414
- ".rdp-dropdowns .rdp-caption_label": {
415
- display: "none",
416
- },
417
- ".rdp-dropdown.rdp-months_dropdown, .rdp-dropdown.rdp-years_dropdown": {
418
- border: "none",
419
- backgroundColor: "transparent",
420
- textTransform: "capitalize",
421
- height: "1.25rem",
422
- position: "relative",
423
- fontFamily: "$default",
424
- fontSize: "$16",
425
- lineHeight: "1.25rem",
426
- appearance: "none",
427
- WebkitAppearance: "none",
428
- MozAppearance: "none",
429
- paddingRight: "1.25rem",
430
- zIndex: "3",
431
- },
432
- ".rdp-dropdown:focus, .rdp-dropdown:focus-visible, .rdp-dropdown:active": {
433
- border: "none",
434
- outline: "none",
435
- boxShadow: "none",
436
- },
437
- ".rdp-dropdown.rdp-months_dropdown:focus, .rdp-dropdown.rdp-years_dropdown:focus":
438
- {
439
- border: "none",
440
- },
441
- ".rdp-dropdown_root": {
442
- position: "relative",
443
- },
444
- ".rdp-dropdown_root::after": {
445
- content: "",
446
- height: "1.25rem",
447
- width: "1.25rem",
448
- position: "absolute",
449
- top: "0",
450
- right: "0",
451
- display: "block",
452
- backgroundColor: "$neutral50",
453
- backgroundImage:
454
- "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='11'%20height='20'%20viewBox='0%200%2011%2020'%20fill='none'%3E%3Crect%20width='11'%20height='20'%20fill='white'/%3E%3Cpath%20d='M5.9414%202.68359C5.69726%202.43945%205.30077%202.43945%205.05663%202.68359L2.55663%205.18359C2.37695%205.36328%202.32421%205.63086%202.42187%205.86523C2.51952%206.09961%202.74609%206.25195%202.99999%206.25195H7.99999C8.25195%206.25195%208.48046%206.09961%208.57812%205.86523C8.67578%205.63086%208.62109%205.36328%208.44335%205.18359L5.94335%202.68359H5.9414Z'%20fill='%23808289'/%3E%3Cpath%20d='M5.05858%2017.3164C5.30272%2017.5605%205.69921%2017.5605%205.94335%2017.3164L8.44335%2014.8164C8.62304%2014.6367%208.67577%2014.3691%208.57811%2014.1348C8.48046%2013.9004%208.25389%2013.748%207.99999%2013.748L2.99999%2013.75C2.74804%2013.75%202.51952%2013.9023%202.42186%2014.1367C2.32421%2014.3711%202.37889%2014.6387%202.55663%2014.8184L5.05663%2017.3184L5.05858%2017.3164Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
455
- backgroundRepeat: "no-repeat",
456
- backgroundPosition: "center",
457
- borderRadius: "0.5rem",
458
- zIndex: "2",
459
- },
460
- ".rdp-weekday": {
461
- textTransform: "uppercase",
462
- fontWeight: "$regular",
463
- fontSize: "0px",
464
- },
465
- ".rdp-weekday::first-letter": {
466
- fontSize: "$14",
467
- },
468
- ".rdp-month_grid": {
469
- marginTop: "$16",
470
- paddingTop: "$16",
471
- borderTop: "2px solid $neutral100",
472
- },
473
- "@media (max-width: 748px)": {
474
- ".rdp-months": {
475
- flexDirection: "column",
476
- alignItems: "center",
477
- padding: "16px"
478
- },
479
- }
480
- });
1
+ import { styled } from "../../styles";
2
+
3
+ export const CalendarStyled = styled("div", {
4
+ fontFamily: "$default",
5
+ lineHeight: "$base",
6
+ fontSize: "$14",
7
+ borderRadius: "$sm",
8
+ position: "relative",
9
+ width: "fit-content",
10
+ variants: {
11
+ expand: {
12
+ true: {
13
+ width: "100%",
14
+ flex: "1",
15
+ display: "flex",
16
+ },
17
+ },
18
+ },
19
+ });
20
+ export const CalendarButtonStyled = styled("button", {
21
+ backgroundColor: "transparent",
22
+ border: "none",
23
+ maxWidth: "200px",
24
+ padding: "0",
25
+ cursor: "pointer",
26
+ "> div > div": {
27
+ paddingLeft: "0",
28
+ input: {
29
+ textAlign: "right",
30
+ },
31
+ },
32
+ variants: {
33
+ expand: {
34
+ true: {
35
+ flex: "1",
36
+ display: "flex",
37
+ maxWidth: "100%",
38
+ },
39
+ },
40
+ },
41
+ });
42
+ export const CalendarContentStyled = styled("div", {
43
+ fontFamily: "$default",
44
+ lineHeight: "$base",
45
+ fontSize: "$14",
46
+ maxWidth: "fit-content",
47
+ border: "1px solid $neutral300",
48
+ borderRadius: "$sm",
49
+ boxShadow: "0px 2px 8px 0px $shadow50",
50
+ position: "absolute",
51
+ backgroundColor: "$neutral50",
52
+ zIndex: "999999",
53
+ variants: {
54
+ position: {
55
+ top: {
56
+ bottom: "110%",
57
+ left: "0",
58
+ },
59
+ bottom: {
60
+ top: "110%",
61
+ left: "0",
62
+ },
63
+ "top-right": {
64
+ bottom: "110%",
65
+ right: "0",
66
+ },
67
+ "bottom-right": {
68
+ top: "110%",
69
+ right: "0",
70
+ },
71
+ },
72
+ },
73
+ });
74
+
75
+ export const CalendarFooterStyled = styled("div", {
76
+ borderTop: "2px solid $neutral100",
77
+ padding: "$4 $16",
78
+ display: "flex",
79
+ gap: "1rem",
80
+ alignItems: "center",
81
+ height: "3rem",
82
+ variants: {
83
+ actionAlign: {
84
+ left: {
85
+ justifyContent: "flex-start",
86
+ },
87
+ center: {
88
+ justifyContent: "center",
89
+ },
90
+ right: {
91
+ justifyContent: "flex-end",
92
+ },
93
+ },
94
+ },
95
+ defaultVariants: {
96
+ actionAlign: "right",
97
+ },
98
+ "@media (max-width: 748px)": {
99
+ gap: "0",
100
+ padding: "$4 $12",
101
+ "> div": {
102
+ padding: "0!important",
103
+ },
104
+ },
105
+ });
106
+
107
+ export const DayPickerWrapperStyled = styled("div", {
108
+ ".rt-TextFieldInput": {
109
+ fontFamily: "$default",
110
+ fontSize: "$14",
111
+ color: "$dark500",
112
+ },
113
+ ".rdp-root": {
114
+ padding: "0 $8",
115
+ },
116
+ ".rdp-today .rdp-day_button": {
117
+ color: "$brand500",
118
+ textDecoration: "underline",
119
+ },
120
+ ".rdp-day.rdp-disabled .rdp-day_button": {
121
+ color: "$dark400",
122
+ },
123
+ ".rdp-day_button": {
124
+ height: "32px",
125
+ width: "32px",
126
+ borderRadius: "$sm",
127
+ fontSize: "$14",
128
+ color: "$text",
129
+ backgroundColor: "transparent",
130
+ border: "1px solid transparent",
131
+ transition: "all 0.2s ease-in-out",
132
+ cursor: "pointer",
133
+ display: "flex",
134
+ alignItems: "center",
135
+ justifyContent: "center",
136
+ },
137
+ ".rdp-day_button:hover": {
138
+ backgroundColor: "$dark100",
139
+ borderColor: "$brand600",
140
+ },
141
+ ".rdp-day.rdp-disabled .rdp-day_button:hover": {
142
+ backgroundColor: "transparent",
143
+ borderColor: "transparent",
144
+ },
145
+ ".rdp-nav": {
146
+ position: "absolute",
147
+ width: "100%",
148
+ left: "0",
149
+ display: "flex",
150
+ justifyContent: "space-between",
151
+ },
152
+ ".rdp-nav .rdp-chevron": {
153
+ display: "none",
154
+ },
155
+ ".rdp-nav .rdp-button_previous": {
156
+ display: "block",
157
+ backgroundImage:
158
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cg%20transform='scale(-1,1)%20translate(-32,0)'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/g%3E%3C/svg%3E\")",
159
+ backgroundRepeat: "no-repeat",
160
+ backgroundPosition: "center",
161
+ backgroundSize: "cover",
162
+ width: "32px",
163
+ height: "32px",
164
+ },
165
+ ".rdp-nav .rdp-button_next": {
166
+ display: "block",
167
+ backgroundImage:
168
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
169
+ backgroundRepeat: "no-repeat",
170
+ backgroundPosition: "center",
171
+ backgroundSize: "cover",
172
+ width: "32px",
173
+ height: "32px",
174
+ },
175
+ ".rdp-nav .rdp-button_previous:hover": {
176
+ backgroundImage:
177
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M12.2937%2015.2938C11.9031%2015.6844%2011.9031%2016.3188%2012.2937%2016.7094L17.2937%2021.7094C17.6844%2022.1%2018.3187%2022.1%2018.7094%2021.7094C19.1%2021.3188%2019.1%2020.6844%2018.7094%2020.2938L14.4156%2016L18.7062%2011.7063C19.0969%2011.3156%2019.0969%2010.6813%2018.7062%2010.2906C18.3156%209.90002%2017.6812%209.90002%2017.2906%2010.2906L12.2906%2015.2906L12.2937%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
178
+ transition: "all 0.2s ease-in-out",
179
+ },
180
+ ".rdp-nav .rdp-button_next:hover": {
181
+ backgroundImage:
182
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
183
+ transition: "all 0.2s ease-in-out",
184
+ },
185
+ ".rdp-nav button": {
186
+ border: "none",
187
+ backgroundColor: "transparent",
188
+ cursor: "pointer",
189
+ },
190
+ ".rdp-months": {
191
+ display: "flex",
192
+ columnGap: "$16",
193
+ alignItems: "flex-start",
194
+ paddingTop: "$12",
195
+ },
196
+ ".rdp-month": {
197
+ marginTop: "0",
198
+ paddingTop: "$6",
199
+ },
200
+ ".rdp-month_caption": {
201
+ display: "flex",
202
+ alignItems: "center",
203
+ justifyContent: "center",
204
+ width: "calc(100% - 64px)",
205
+ margin: "0 auto",
206
+ columnGap: "12px",
207
+ },
208
+ ".rdp-dropdowns span, .rdp-caption_label": {
209
+ fontSize: "$16",
210
+ fontWeight: "$regular",
211
+ lineHeight: "$20",
212
+ textTransform: "capitalize",
213
+ },
214
+ ".rdp-day.rdp-selected .rdp-day_button": {
215
+ backgroundColor: "$brand500",
216
+ color: "$neutral50",
217
+ borderColor: "$brand600",
218
+ borderRadius: "0.5rem",
219
+ },
220
+ ".rdp-dropdowns": {
221
+ display: "flex",
222
+ alignItems: "center",
223
+ justifyContent: "center",
224
+ width: "calc(100% - 64px)",
225
+ columnGap: "12px",
226
+ },
227
+ ".rdp-dropdowns .rdp-caption_label": {
228
+ display: "none",
229
+ },
230
+ ".rdp-dropdown.rdp-months_dropdown, .rdp-dropdown.rdp-years_dropdown": {
231
+ border: "none",
232
+ backgroundColor: "transparent",
233
+ textTransform: "capitalize",
234
+ height: "1.25rem",
235
+ position: "relative",
236
+ fontFamily: "$default",
237
+ fontSize: "$16",
238
+ lineHeight: "1.25rem",
239
+ appearance: "none",
240
+ WebkitAppearance: "none",
241
+ MozAppearance: "none",
242
+ paddingRight: "1.25rem",
243
+ zIndex: "3",
244
+ },
245
+ ".rdp-dropdown:focus, .rdp-dropdown:focus-visible, .rdp-dropdown:active": {
246
+ border: "none",
247
+ outline: "none",
248
+ boxShadow: "none",
249
+ },
250
+ ".rdp-dropdown.rdp-months_dropdown:focus, .rdp-dropdown.rdp-years_dropdown:focus":
251
+ {
252
+ border: "none",
253
+ },
254
+ ".rdp-dropdown_root": {
255
+ position: "relative",
256
+ },
257
+ ".rdp-dropdown_root::after": {
258
+ content: "",
259
+ height: "1.25rem",
260
+ width: "1.25rem",
261
+ position: "absolute",
262
+ top: "0",
263
+ right: "0",
264
+ display: "block",
265
+ backgroundColor: "$neutral50",
266
+ backgroundImage:
267
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='11'%20height='20'%20viewBox='0%200%2011%2020'%20fill='none'%3E%3Crect%20width='11'%20height='20'%20fill='white'/%3E%3Cpath%20d='M5.9414%202.68359C5.69726%202.43945%205.30077%202.43945%205.05663%202.68359L2.55663%205.18359C2.37695%205.36328%202.32421%205.63086%202.42187%205.86523C2.51952%206.09961%202.74609%206.25195%202.99999%206.25195H7.99999C8.25195%206.25195%208.48046%206.09961%208.57812%205.86523C8.67578%205.63086%208.62109%205.36328%208.44335%205.18359L5.94335%202.68359H5.9414Z'%20fill='%23808289'/%3E%3Cpath%20d='M5.05858%2017.3164C5.30272%2017.5605%205.69921%2017.5605%205.94335%2017.3164L8.44335%2014.8164C8.62304%2014.6367%208.67577%2014.3691%208.57811%2014.1348C8.48046%2013.9004%208.25389%2013.748%207.99999%2013.748L2.99999%2013.75C2.74804%2013.75%202.51952%2013.9023%202.42186%2014.1367C2.32421%2014.3711%202.37889%2014.6387%202.55663%2014.8184L5.05663%2017.3184L5.05858%2017.3164Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
268
+ backgroundRepeat: "no-repeat",
269
+ backgroundPosition: "center",
270
+ borderRadius: "0.5rem",
271
+ zIndex: "2",
272
+ },
273
+ ".rdp-weekday": {
274
+ textTransform: "uppercase",
275
+ fontWeight: "$regular",
276
+ fontSize: "0px",
277
+ },
278
+ ".rdp-weekday::first-letter": {
279
+ fontSize: "$14",
280
+ },
281
+ ".rdp-month_grid": {
282
+ marginTop: "$16",
283
+ paddingTop: "$16",
284
+ borderTop: "2px solid $neutral100",
285
+ },
286
+ "@media (max-width: 748px)": {
287
+ ".rdp-months": {
288
+ flexDirection: "column",
289
+ alignItems: "center",
290
+ padding: "16px"
291
+ },
292
+ }
293
+ });
294
+ export const DayPickerWrapperStyledToDoubleCalendar = styled("div", {
295
+ ".rt-TextFieldInput": {
296
+ fontFamily: "$default",
297
+ fontSize: "$14",
298
+ color: "$dark500",
299
+ },
300
+ ".rdp-root": {
301
+ padding: "0 $8",
302
+ },
303
+ ".rdp-today .rdp-day_button": {
304
+ color: "$brand500",
305
+ textDecoration: "underline",
306
+ },
307
+ ".rdp-day.rdp-disabled .rdp-day_button": {
308
+ color: "$dark400",
309
+ },
310
+ ".rdp-day_button": {
311
+ height: "26px",
312
+ width: "26px",
313
+ borderRadius: "$sm",
314
+ fontSize: "$14",
315
+ color: "$text",
316
+ backgroundColor: "transparent",
317
+ border: "1px solid transparent",
318
+ transition: "all 0.2s ease-in-out",
319
+ cursor: "pointer",
320
+ display: "flex",
321
+ alignItems: "center",
322
+ justifyContent: "center",
323
+ },
324
+ ".rdp-day_button:hover": {
325
+ backgroundColor: "$dark100",
326
+ borderColor: "$brand600",
327
+ },
328
+ ".rdp-day.rdp-disabled .rdp-day_button:hover": {
329
+ backgroundColor: "transparent",
330
+ borderColor: "transparent",
331
+ },
332
+ ".rdp-nav": {
333
+ position: "absolute",
334
+ width: "100%",
335
+ left: "0",
336
+ display: "flex",
337
+ justifyContent: "space-between",
338
+ },
339
+ ".rdp-nav .rdp-chevron": {
340
+ display: "none",
341
+ },
342
+ ".rdp-nav .rdp-button_previous": {
343
+ display: "block",
344
+ backgroundImage:
345
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cg%20transform='scale(-1,1)%20translate(-32,0)'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/g%3E%3C/svg%3E\")",
346
+ backgroundRepeat: "no-repeat",
347
+ backgroundPosition: "center",
348
+ backgroundSize: "cover",
349
+ width: "32px",
350
+ height: "32px",
351
+ },
352
+ ".rdp-nav .rdp-button_next": {
353
+ display: "block",
354
+ backgroundImage:
355
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='white'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
356
+ backgroundRepeat: "no-repeat",
357
+ backgroundPosition: "center",
358
+ backgroundSize: "cover",
359
+ width: "32px",
360
+ height: "32px",
361
+ },
362
+ ".rdp-nav .rdp-button_previous:hover": {
363
+ backgroundImage:
364
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M12.2937%2015.2938C11.9031%2015.6844%2011.9031%2016.3188%2012.2937%2016.7094L17.2937%2021.7094C17.6844%2022.1%2018.3187%2022.1%2018.7094%2021.7094C19.1%2021.3188%2019.1%2020.6844%2018.7094%2020.2938L14.4156%2016L18.7062%2011.7063C19.0969%2011.3156%2019.0969%2010.6813%2018.7062%2010.2906C18.3156%209.90002%2017.6812%209.90002%2017.2906%2010.2906L12.2906%2015.2906L12.2937%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
365
+ transition: "all 0.2s ease-in-out",
366
+ },
367
+ ".rdp-nav .rdp-button_next:hover": {
368
+ backgroundImage:
369
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%3E%3Cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H24C28.4183%200%2032%203.58172%2032%208V24C32%2028.4183%2028.4183%2032%2024%2032H8C3.58172%2032%200%2028.4183%200%2024V8Z'%20fill='%23F4F4F4'/%3E%3Cpath%20d='M19.7062%2015.2938C20.0969%2015.6844%2020.0969%2016.3188%2019.7062%2016.7094L14.7062%2021.7094C14.3156%2022.1%2013.6812%2022.1%2013.2906%2021.7094C12.9%2021.3188%2012.9%2020.6844%2013.2906%2020.2938L17.5844%2016L13.2937%2011.7063C12.9031%2011.3156%2012.9031%2010.6813%2013.2937%2010.2906C13.6844%209.90002%2014.3187%209.90002%2014.7094%2010.2906L19.7094%2015.2906L19.7062%2015.2938Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
370
+ transition: "all 0.2s ease-in-out",
371
+ },
372
+ ".rdp-nav button": {
373
+ border: "none",
374
+ backgroundColor: "transparent",
375
+ cursor: "pointer",
376
+ },
377
+ ".rdp-months": {
378
+ display: "flex",
379
+ columnGap: "$8",
380
+ alignItems: "flex-start",
381
+ paddingTop: "$12",
382
+ },
383
+ ".rdp-month": {
384
+ marginTop: "0",
385
+ paddingTop: "$6",
386
+ },
387
+ ".rdp-month_caption": {
388
+ display: "flex",
389
+ alignItems: "center",
390
+ justifyContent: "center",
391
+ width: "calc(100% - 64px)",
392
+ margin: "0 auto",
393
+ columnGap: "12px",
394
+ },
395
+ ".rdp-dropdowns span, .rdp-caption_label": {
396
+ fontSize: "$16",
397
+ fontWeight: "$regular",
398
+ lineHeight: "$20",
399
+ textTransform: "capitalize",
400
+ },
401
+ ".rdp-day.rdp-selected .rdp-day_button": {
402
+ backgroundColor: "$brand500",
403
+ color: "$neutral50",
404
+ borderColor: "$brand600",
405
+ borderRadius: "0.5rem",
406
+ },
407
+ ".rdp-dropdowns": {
408
+ display: "flex",
409
+ alignItems: "center",
410
+ justifyContent: "center",
411
+ width: "calc(100% - 64px)",
412
+ columnGap: "12px",
413
+ },
414
+ ".rdp-dropdowns .rdp-caption_label": {
415
+ display: "none",
416
+ },
417
+ ".rdp-dropdown.rdp-months_dropdown, .rdp-dropdown.rdp-years_dropdown": {
418
+ border: "none",
419
+ backgroundColor: "transparent",
420
+ textTransform: "capitalize",
421
+ height: "1.25rem",
422
+ position: "relative",
423
+ fontFamily: "$default",
424
+ fontSize: "$16",
425
+ lineHeight: "1.25rem",
426
+ appearance: "none",
427
+ WebkitAppearance: "none",
428
+ MozAppearance: "none",
429
+ paddingRight: "1.25rem",
430
+ zIndex: "3",
431
+ },
432
+ ".rdp-dropdown:focus, .rdp-dropdown:focus-visible, .rdp-dropdown:active": {
433
+ border: "none",
434
+ outline: "none",
435
+ boxShadow: "none",
436
+ },
437
+ ".rdp-dropdown.rdp-months_dropdown:focus, .rdp-dropdown.rdp-years_dropdown:focus":
438
+ {
439
+ border: "none",
440
+ },
441
+ ".rdp-dropdown_root": {
442
+ position: "relative",
443
+ },
444
+ ".rdp-dropdown_root::after": {
445
+ content: "",
446
+ height: "1.25rem",
447
+ width: "1.25rem",
448
+ position: "absolute",
449
+ top: "0",
450
+ right: "0",
451
+ display: "block",
452
+ backgroundColor: "$neutral50",
453
+ backgroundImage:
454
+ "url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='11'%20height='20'%20viewBox='0%200%2011%2020'%20fill='none'%3E%3Crect%20width='11'%20height='20'%20fill='white'/%3E%3Cpath%20d='M5.9414%202.68359C5.69726%202.43945%205.30077%202.43945%205.05663%202.68359L2.55663%205.18359C2.37695%205.36328%202.32421%205.63086%202.42187%205.86523C2.51952%206.09961%202.74609%206.25195%202.99999%206.25195H7.99999C8.25195%206.25195%208.48046%206.09961%208.57812%205.86523C8.67578%205.63086%208.62109%205.36328%208.44335%205.18359L5.94335%202.68359H5.9414Z'%20fill='%23808289'/%3E%3Cpath%20d='M5.05858%2017.3164C5.30272%2017.5605%205.69921%2017.5605%205.94335%2017.3164L8.44335%2014.8164C8.62304%2014.6367%208.67577%2014.3691%208.57811%2014.1348C8.48046%2013.9004%208.25389%2013.748%207.99999%2013.748L2.99999%2013.75C2.74804%2013.75%202.51952%2013.9023%202.42186%2014.1367C2.32421%2014.3711%202.37889%2014.6387%202.55663%2014.8184L5.05663%2017.3184L5.05858%2017.3164Z'%20fill='%23808289'/%3E%3C/svg%3E\")",
455
+ backgroundRepeat: "no-repeat",
456
+ backgroundPosition: "center",
457
+ borderRadius: "0.5rem",
458
+ zIndex: "2",
459
+ },
460
+ ".rdp-weekday": {
461
+ textTransform: "uppercase",
462
+ fontWeight: "$regular",
463
+ fontSize: "0px",
464
+ },
465
+ ".rdp-weekday::first-letter": {
466
+ fontSize: "$14",
467
+ },
468
+ ".rdp-month_grid": {
469
+ marginTop: "$16",
470
+ paddingTop: "$16",
471
+ borderTop: "2px solid $neutral100",
472
+ },
473
+ "@media (max-width: 748px)": {
474
+ ".rdp-months": {
475
+ flexDirection: "column",
476
+ alignItems: "center",
477
+ padding: "16px"
478
+ },
479
+ }
480
+ });