@lets-events/react 12.7.2 → 12.7.3

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 (90) hide show
  1. package/.eslintrc.json +2 -2
  2. package/.turbo/turbo-build.log +21 -19
  3. package/CHANGELOG.md +6 -0
  4. package/dist/index.js +15 -1
  5. package/dist/index.mjs +15 -1
  6. package/package.json +1 -1
  7. package/src/components/Alert.tsx +303 -303
  8. package/src/components/Avatar.tsx +55 -55
  9. package/src/components/Badge.tsx +123 -123
  10. package/src/components/Box.tsx +3 -3
  11. package/src/components/Button/index.tsx +62 -62
  12. package/src/components/Button/styledComponents.ts +320 -320
  13. package/src/components/ButtonGroup.tsx +484 -484
  14. package/src/components/Calendar/index.tsx +148 -148
  15. package/src/components/Calendar/styledComponents.ts +273 -259
  16. package/src/components/Card.tsx +67 -67
  17. package/src/components/CheckboxGroup.tsx +176 -176
  18. package/src/components/Container.tsx +39 -39
  19. package/src/components/Divider.tsx +7 -7
  20. package/src/components/DoubleCalendar/index.tsx +170 -170
  21. package/src/components/Drawer/index.tsx +100 -100
  22. package/src/components/Drawer/styledComponents.ts +103 -103
  23. package/src/components/Dropdown.tsx +302 -302
  24. package/src/components/Filter.tsx +164 -164
  25. package/src/components/Flex.tsx +118 -118
  26. package/src/components/FormFields/AddressFormFields/CityFormField.tsx +111 -111
  27. package/src/components/FormFields/AddressFormFields/CountryFormField.tsx +33 -33
  28. package/src/components/FormFields/AddressFormFields/PostalCodeFormField.tsx +39 -39
  29. package/src/components/FormFields/AddressFormFields/StateFormField.tsx +32 -32
  30. package/src/components/FormFields/AddressFormFields/index.tsx +141 -141
  31. package/src/components/FormFields/BirthDateFormField.tsx +84 -84
  32. package/src/components/FormFields/CNPJFormField.tsx +87 -87
  33. package/src/components/FormFields/CPFFormField.tsx +78 -78
  34. package/src/components/FormFields/CalendarFormField.tsx +95 -95
  35. package/src/components/FormFields/CheckboxGroupFormField.tsx +91 -91
  36. package/src/components/FormFields/DoubleCalendarFormField.tsx +93 -93
  37. package/src/components/FormFields/EmailFormField.tsx +27 -27
  38. package/src/components/FormFields/Form.tsx +39 -39
  39. package/src/components/FormFields/IdentityDocumentNumberFormField.tsx +32 -32
  40. package/src/components/FormFields/MultiSelectFormField.tsx +64 -64
  41. package/src/components/FormFields/PhoneFormField.tsx +40 -40
  42. package/src/components/FormFields/RadioGroupFormField.tsx +86 -86
  43. package/src/components/FormFields/RichEditorFormField.tsx +103 -103
  44. package/src/components/FormFields/SelectFormField.tsx +93 -93
  45. package/src/components/FormFields/SwitchFormField.tsx +46 -46
  46. package/src/components/FormFields/TextAreaFormField.tsx +61 -61
  47. package/src/components/FormFields/TextFormField.tsx +112 -112
  48. package/src/components/FormFields/TimePickerFormField.tsx +88 -88
  49. package/src/components/FormFields/subComponents/ErrorFormMessage.tsx +36 -36
  50. package/src/components/FormFields/subComponents/FormLabel.tsx +36 -36
  51. package/src/components/FormFields/utils/validation.ts +23 -23
  52. package/src/components/Grid.tsx +137 -137
  53. package/src/components/Icon.tsx +47 -47
  54. package/src/components/MenuDropdown/index.tsx +38 -38
  55. package/src/components/MenuDropdown/styledComponents.ts +31 -31
  56. package/src/components/Modal.tsx +110 -110
  57. package/src/components/MultiSelect/index.tsx +268 -268
  58. package/src/components/MultiSelect/styledComponents.ts +160 -160
  59. package/src/components/RadioGroup.tsx +210 -210
  60. package/src/components/RichEditor/QuillComponent.tsx +468 -468
  61. package/src/components/RichEditor/RichEditor.tsx +49 -49
  62. package/src/components/RichEditor/RichTextPresenter.tsx +18 -18
  63. package/src/components/RichEditor/index.ts +3 -3
  64. package/src/components/RichEditor/styledComponents.ts +1170 -1170
  65. package/src/components/Section.tsx +33 -33
  66. package/src/components/Step.tsx +164 -164
  67. package/src/components/Switch.tsx +108 -108
  68. package/src/components/Text.tsx +38 -38
  69. package/src/components/TextField.tsx +372 -372
  70. package/src/components/TextareaField.tsx +116 -116
  71. package/src/components/TimePicker.tsx +328 -328
  72. package/src/components/Toast/components/ToastItem.tsx +41 -41
  73. package/src/components/Toast/components/ToastProvider.tsx +63 -63
  74. package/src/components/Toast/hooks/useToast.ts +12 -12
  75. package/src/components/Toast/index.tsx +5 -5
  76. package/src/components/Toast/styles/index.ts +135 -135
  77. package/src/components/Toast/types/index.ts +46 -46
  78. package/src/components/Tooltip/index.tsx +73 -73
  79. package/src/components/Tooltip/styles.ts +77 -77
  80. package/src/hooks/useCountries.ts +41 -41
  81. package/src/hooks/useImageUpload.ts +139 -139
  82. package/src/hooks/useOnClickOutside.tsx +42 -42
  83. package/src/index.tsx +71 -71
  84. package/src/styles/index.ts +41 -41
  85. package/src/types/typographyValues.ts +178 -178
  86. package/src/utils/getNestedValue.ts +3 -3
  87. package/src/utils/states.ts +29 -29
  88. package/src/utils/uploadService.ts +180 -180
  89. package/tsconfig.json +3 -3
  90. package/tsup.config.ts +38 -38
@@ -1,259 +1,273 @@
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
- justifyContent: "flex-end",
81
- alignItems: "center",
82
- height: "3rem",
83
- });
84
-
85
- export const DayPickerWrapperStyled = styled("div", {
86
- ".rt-TextFieldInput": {
87
- fontFamily: "$default",
88
- fontSize: "$14",
89
- color: "$dark500",
90
- },
91
- ".rdp-root": {
92
- padding: "0 $8",
93
- },
94
- ".rdp-today .rdp-day_button": {
95
- color: "$brand500",
96
- textDecoration: "underline",
97
- },
98
- ".rdp-day.rdp-disabled .rdp-day_button": {
99
- color: "$dark400",
100
- },
101
- ".rdp-day_button": {
102
- height: "28px",
103
- width: "28px",
104
- borderRadius: "$sm",
105
- fontSize: "$14",
106
- color: "$text",
107
- backgroundColor: "transparent",
108
- border: "1px solid transparent",
109
- transition: "all 0.2s ease-in-out",
110
- cursor: "pointer",
111
- },
112
- ".rdp-day_button:hover": {
113
- backgroundColor: "$dark100",
114
- borderColor: "$brand500",
115
- },
116
- ".rdp-day.rdp-disabled .rdp-day_button:hover": {
117
- backgroundColor: "transparent",
118
- borderColor: "transparent",
119
- },
120
- ".rdp-nav": {
121
- position: "absolute",
122
- width: "98%",
123
- display: "flex",
124
- justifyContent: "space-between",
125
- },
126
- ".rdp-nav .rdp-chevron": {
127
- display: "none",
128
- },
129
- ".rdp-nav .rdp-button_previous": {
130
- display: "block",
131
- backgroundImage:
132
- "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\")",
133
- backgroundRepeat: "no-repeat",
134
- backgroundPosition: "center",
135
- backgroundSize: "cover",
136
- width: "32px",
137
- height: "32px",
138
- },
139
- ".rdp-nav .rdp-button_next": {
140
- display: "block",
141
- backgroundImage:
142
- "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\")",
143
- backgroundRepeat: "no-repeat",
144
- backgroundPosition: "center",
145
- backgroundSize: "cover",
146
- width: "32px",
147
- height: "32px",
148
- },
149
- ".rdp-nav .rdp-button_previous:hover": {
150
- backgroundImage:
151
- "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\")",
152
- transition: "all 0.2s ease-in-out",
153
- },
154
- ".rdp-nav .rdp-button_next:hover": {
155
- backgroundImage:
156
- "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\")",
157
- transition: "all 0.2s ease-in-out",
158
- },
159
- ".rdp-nav button": {
160
- border: "none",
161
- backgroundColor: "transparent",
162
- cursor: "pointer",
163
- },
164
- ".rdp-months": {
165
- display: "flex",
166
- columnGap: "$16",
167
- alignItems: "flex-start",
168
- paddingTop: "$12",
169
- },
170
- ".rdp-month": {
171
- marginTop: "0",
172
- paddingTop: "$6",
173
- },
174
- ".rdp-month_caption": {
175
- display: "flex",
176
- alignItems: "center",
177
- justifyContent: "center",
178
- width: "calc(100% - 64px)",
179
- margin: "0 auto",
180
- columnGap: "12px",
181
- },
182
- ".rdp-dropdowns span, .rdp-caption_label": {
183
- fontSize: "$16",
184
- fontWeight: "$regular",
185
- lineHeight: "$20",
186
- textTransform: "capitalize",
187
- },
188
- ".rdp-day.rdp-selected .rdp-day_button": {
189
- backgroundColor: "$brand500",
190
- color: "$neutral50",
191
- borderColor: "$brand500",
192
- },
193
- ".rdp-dropdowns": {
194
- display: "flex",
195
- alignItems: "center",
196
- justifyContent: "center",
197
- width: "calc(100% - 64px)",
198
- columnGap: "12px",
199
- },
200
- ".rdp-dropdowns .rdp-caption_label": {
201
- display: "none",
202
- },
203
- ".rdp-dropdown.rdp-months_dropdown, .rdp-dropdown.rdp-years_dropdown": {
204
- border: "none",
205
- backgroundColor: "transparent",
206
- textTransform: "capitalize",
207
- height: "1.25rem",
208
- position: "relative",
209
- fontFamily: "$default",
210
- fontSize: "$16",
211
- lineHeight: "1.25rem",
212
- appearance: "none",
213
- WebkitAppearance: "none",
214
- MozAppearance: "none",
215
- paddingRight: "1.25rem",
216
- zIndex: "3",
217
- },
218
- ".rdp-dropdown:focus, .rdp-dropdown:focus-visible, .rdp-dropdown:active": {
219
- border: "none",
220
- outline: "none",
221
- boxShadow: "none",
222
- },
223
- ".rdp-dropdown.rdp-months_dropdown:focus, .rdp-dropdown.rdp-years_dropdown:focus":
224
- {
225
- border: "none",
226
- },
227
- ".rdp-dropdown_root": {
228
- position: "relative",
229
- },
230
- ".rdp-dropdown_root::after": {
231
- content: "",
232
- height: "1.25rem",
233
- width: "1.25rem",
234
- position: "absolute",
235
- top: "0",
236
- right: "0",
237
- display: "block",
238
- backgroundColor: "$neutral50",
239
- backgroundImage:
240
- "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\")",
241
- backgroundRepeat: "no-repeat",
242
- backgroundPosition: "center",
243
- borderRadius: "0.5rem",
244
- zIndex: "2",
245
- },
246
- ".rdp-weekday": {
247
- textTransform: "uppercase",
248
- fontWeight: "$regular",
249
- fontSize: "0px",
250
- },
251
- ".rdp-weekday::first-letter": {
252
- fontSize: "$14",
253
- },
254
- ".rdp-month_grid": {
255
- marginTop: "$16",
256
- paddingTop: "$16",
257
- borderTop: "2px solid $neutral100",
258
- },
259
- });
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
+ justifyContent: "flex-end",
81
+ alignItems: "center",
82
+ height: "3rem",
83
+ "@media (max-width: 748px)": {
84
+ gap: '0',
85
+ padding: "$4 $12",
86
+ "> div": {
87
+ padding: '0!important',
88
+ }
89
+ }
90
+ });
91
+
92
+ export const DayPickerWrapperStyled = styled("div", {
93
+ ".rt-TextFieldInput": {
94
+ fontFamily: "$default",
95
+ fontSize: "$14",
96
+ color: "$dark500",
97
+ },
98
+ ".rdp-root": {
99
+ padding: "0 $8",
100
+ },
101
+ ".rdp-today .rdp-day_button": {
102
+ color: "$brand500",
103
+ textDecoration: "underline",
104
+ },
105
+ ".rdp-day.rdp-disabled .rdp-day_button": {
106
+ color: "$dark400",
107
+ },
108
+ ".rdp-day_button": {
109
+ height: "28px",
110
+ width: "28px",
111
+ borderRadius: "$sm",
112
+ fontSize: "$14",
113
+ color: "$text",
114
+ backgroundColor: "transparent",
115
+ border: "1px solid transparent",
116
+ transition: "all 0.2s ease-in-out",
117
+ cursor: "pointer",
118
+ },
119
+ ".rdp-day_button:hover": {
120
+ backgroundColor: "$dark100",
121
+ borderColor: "$brand500",
122
+ },
123
+ ".rdp-day.rdp-disabled .rdp-day_button:hover": {
124
+ backgroundColor: "transparent",
125
+ borderColor: "transparent",
126
+ },
127
+ ".rdp-nav": {
128
+ position: "absolute",
129
+ width: "98%",
130
+ display: "flex",
131
+ justifyContent: "space-between",
132
+ },
133
+ ".rdp-nav .rdp-chevron": {
134
+ display: "none",
135
+ },
136
+ ".rdp-nav .rdp-button_previous": {
137
+ display: "block",
138
+ backgroundImage:
139
+ "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\")",
140
+ backgroundRepeat: "no-repeat",
141
+ backgroundPosition: "center",
142
+ backgroundSize: "cover",
143
+ width: "32px",
144
+ height: "32px",
145
+ },
146
+ ".rdp-nav .rdp-button_next": {
147
+ display: "block",
148
+ backgroundImage:
149
+ "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\")",
150
+ backgroundRepeat: "no-repeat",
151
+ backgroundPosition: "center",
152
+ backgroundSize: "cover",
153
+ width: "32px",
154
+ height: "32px",
155
+ },
156
+ ".rdp-nav .rdp-button_previous:hover": {
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%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\")",
159
+ transition: "all 0.2s ease-in-out",
160
+ },
161
+ ".rdp-nav .rdp-button_next:hover": {
162
+ backgroundImage:
163
+ "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\")",
164
+ transition: "all 0.2s ease-in-out",
165
+ },
166
+ ".rdp-nav button": {
167
+ border: "none",
168
+ backgroundColor: "transparent",
169
+ cursor: "pointer",
170
+ },
171
+ ".rdp-months": {
172
+ display: "flex",
173
+ columnGap: "$16",
174
+ alignItems: "flex-start",
175
+ paddingTop: "$12",
176
+ },
177
+ ".rdp-month": {
178
+ marginTop: "0",
179
+ paddingTop: "$6",
180
+ },
181
+ ".rdp-month_caption": {
182
+ display: "flex",
183
+ alignItems: "center",
184
+ justifyContent: "center",
185
+ width: "calc(100% - 64px)",
186
+ margin: "0 auto",
187
+ columnGap: "12px",
188
+ },
189
+ ".rdp-dropdowns span, .rdp-caption_label": {
190
+ fontSize: "$16",
191
+ fontWeight: "$regular",
192
+ lineHeight: "$20",
193
+ textTransform: "capitalize",
194
+ },
195
+ ".rdp-day.rdp-selected .rdp-day_button": {
196
+ backgroundColor: "$brand500",
197
+ color: "$neutral50",
198
+ borderColor: "$brand500",
199
+ },
200
+ ".rdp-dropdowns": {
201
+ display: "flex",
202
+ alignItems: "center",
203
+ justifyContent: "center",
204
+ width: "calc(100% - 64px)",
205
+ columnGap: "12px",
206
+ },
207
+ ".rdp-dropdowns .rdp-caption_label": {
208
+ display: "none",
209
+ },
210
+ ".rdp-dropdown.rdp-months_dropdown, .rdp-dropdown.rdp-years_dropdown": {
211
+ border: "none",
212
+ backgroundColor: "transparent",
213
+ textTransform: "capitalize",
214
+ height: "1.25rem",
215
+ position: "relative",
216
+ fontFamily: "$default",
217
+ fontSize: "$16",
218
+ lineHeight: "1.25rem",
219
+ appearance: "none",
220
+ WebkitAppearance: "none",
221
+ MozAppearance: "none",
222
+ paddingRight: "1.25rem",
223
+ zIndex: "3",
224
+ },
225
+ ".rdp-dropdown:focus, .rdp-dropdown:focus-visible, .rdp-dropdown:active": {
226
+ border: "none",
227
+ outline: "none",
228
+ boxShadow: "none",
229
+ },
230
+ ".rdp-dropdown.rdp-months_dropdown:focus, .rdp-dropdown.rdp-years_dropdown:focus":
231
+ {
232
+ border: "none",
233
+ },
234
+ ".rdp-dropdown_root": {
235
+ position: "relative",
236
+ },
237
+ ".rdp-dropdown_root::after": {
238
+ content: "",
239
+ height: "1.25rem",
240
+ width: "1.25rem",
241
+ position: "absolute",
242
+ top: "0",
243
+ right: "0",
244
+ display: "block",
245
+ backgroundColor: "$neutral50",
246
+ backgroundImage:
247
+ "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\")",
248
+ backgroundRepeat: "no-repeat",
249
+ backgroundPosition: "center",
250
+ borderRadius: "0.5rem",
251
+ zIndex: "2",
252
+ },
253
+ ".rdp-weekday": {
254
+ textTransform: "uppercase",
255
+ fontWeight: "$regular",
256
+ fontSize: "0px",
257
+ },
258
+ ".rdp-weekday::first-letter": {
259
+ fontSize: "$14",
260
+ },
261
+ ".rdp-month_grid": {
262
+ marginTop: "$16",
263
+ paddingTop: "$16",
264
+ borderTop: "2px solid $neutral100",
265
+ },
266
+ "@media (max-width: 748px)": {
267
+ ".rdp-months": {
268
+ flexDirection: "column",
269
+ alignItems: "center",
270
+ padding: "16px"
271
+ },
272
+ }
273
+ });