@lets-events/react 8.0.0 → 10.0.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 (39) hide show
  1. package/.eslintrc.json +2 -2
  2. package/.turbo/turbo-build.log +18 -19
  3. package/CHANGELOG.md +19 -1
  4. package/dist/index.d.mts +23 -767
  5. package/dist/index.d.ts +23 -767
  6. package/dist/index.js +279 -754
  7. package/dist/index.mjs +215 -688
  8. package/package.json +3 -1
  9. package/src/components/Alert.tsx +303 -303
  10. package/src/components/Avatar.tsx +55 -55
  11. package/src/components/Badge.tsx +128 -128
  12. package/src/components/Box.tsx +3 -3
  13. package/src/components/Button/index.tsx +12 -12
  14. package/src/components/Button/styledComponents.ts +250 -250
  15. package/src/components/ButtonGroup.tsx +484 -484
  16. package/src/components/Calendar/index.tsx +136 -132
  17. package/src/components/Calendar/styledComponents.ts +208 -208
  18. package/src/components/Card.tsx +69 -69
  19. package/src/components/CheckboxGroup.tsx +214 -214
  20. package/src/components/Container.tsx +39 -39
  21. package/src/components/Dropdown.tsx +167 -167
  22. package/src/components/Filter.tsx +164 -164
  23. package/src/components/Flex.tsx +118 -118
  24. package/src/components/Grid.tsx +137 -137
  25. package/src/components/Icon.tsx +47 -47
  26. package/src/components/Modal.tsx +88 -109
  27. package/src/components/RadioGroup.tsx +210 -210
  28. package/src/components/Section.tsx +33 -33
  29. package/src/components/Step.tsx +164 -164
  30. package/src/components/Switch.tsx +108 -108
  31. package/src/components/Text.tsx +30 -30
  32. package/src/components/TextField.tsx +299 -299
  33. package/src/components/TextareaField.tsx +101 -101
  34. package/src/components/TimePicker.tsx +239 -213
  35. package/src/hooks/useOnClickOutside.tsx +20 -20
  36. package/src/index.tsx +31 -31
  37. package/src/styles/index.ts +38 -38
  38. package/src/types/typographyValues.ts +178 -178
  39. package/tsconfig.json +3 -3
@@ -1,101 +1,101 @@
1
- import { TextArea as TextAreaRadix } from '@radix-ui/themes'
2
- import { styled } from '../styles'
3
- import { ComponentProps, useRef } from 'react'
4
- import { typographyValues } from '../types/typographyValues'
5
- import { Text } from './Text'
6
-
7
- export const TextareaFieldStyle = styled(TextAreaRadix, {
8
- display: 'flex',
9
- width: 'fit-content',
10
- flex: 1,
11
- textarea: {
12
- width: '100%',
13
- minHeight: '3.75rem',
14
- border: 'none',
15
- padding: '$12 $14',
16
- fontFamily: '$default',
17
- fontSize: '$16',
18
- outline: 'none',
19
- resize: 'vertical',
20
- },
21
- variants: {
22
- typography: typographyValues,
23
- },
24
- defaultVariants: {
25
- typography: 'bodyM',
26
- },
27
- })
28
-
29
- export type TextareaFieldProps = ComponentProps<typeof TextareaFieldStyle> & {
30
- limit: number
31
- }
32
-
33
- const TextareaContainer = styled('div', {
34
- position: 'relative',
35
- display: 'flex',
36
- overflow: 'hidden',
37
- // width: '100%',
38
- border: '1px solid',
39
- borderColor: '$dark300',
40
- borderRadius: '$2xs',
41
-
42
- '&:has(textarea:focus)': {
43
- border: '1px solid $brand300',
44
- },
45
- '&:has(textarea:disabled)': {
46
- backgroundColor: '$dark100',
47
- color: '$dark400',
48
- border: '1px solid $dark200',
49
- cursor: 'not-allowed',
50
- },
51
- })
52
-
53
- const TextareaLimitIndicator = styled('div', {
54
- position: 'absolute',
55
- bottom: 0,
56
- left: 0,
57
- padding: '$12 $16',
58
- borderTop: '1px solid $neutral300',
59
- width: '100%',
60
- flex: 1,
61
- display: 'flex',
62
- span: {
63
- backgroundColor: '$neutral200',
64
- color: '$neutral700',
65
- borderRadius: '$2xs',
66
- padding: '$4',
67
- },
68
- })
69
-
70
- export function TextareaField({ maxLength, ...props }: TextareaFieldProps) {
71
- const inputRef = useRef<HTMLTextAreaElement>(null)
72
- const badgeRef = useRef<HTMLSpanElement>(null)
73
-
74
- if (!maxLength) {
75
- return (
76
- <TextareaContainer>
77
- <TextareaFieldStyle {...props} ref={inputRef}></TextareaFieldStyle>
78
- </TextareaContainer>
79
- )
80
- }
81
- const handleInput = () => {
82
- const remainingChars = maxLength - (inputRef?.current?.value.length || 0)
83
- if (badgeRef.current) badgeRef.current.textContent = String(remainingChars)
84
- }
85
-
86
- return (
87
- <TextareaContainer css={{ paddingBottom: '3.25rem' }}>
88
- <TextareaFieldStyle
89
- ref={inputRef}
90
- onInput={handleInput}
91
- maxLength={maxLength}
92
- {...props}
93
- ></TextareaFieldStyle>
94
- <TextareaLimitIndicator>
95
- <Text typography={'badgeMedium'} ref={badgeRef}>
96
- {maxLength}
97
- </Text>
98
- </TextareaLimitIndicator>
99
- </TextareaContainer>
100
- )
101
- }
1
+ import { TextArea as TextAreaRadix } from '@radix-ui/themes'
2
+ import { styled } from '../styles'
3
+ import { ComponentProps, useRef } from 'react'
4
+ import { typographyValues } from '../types/typographyValues'
5
+ import { Text } from './Text'
6
+
7
+ export const TextareaFieldStyle = styled(TextAreaRadix, {
8
+ display: 'flex',
9
+ width: 'fit-content',
10
+ flex: 1,
11
+ textarea: {
12
+ width: '100%',
13
+ minHeight: '3.75rem',
14
+ border: 'none',
15
+ padding: '$12 $14',
16
+ fontFamily: '$default',
17
+ fontSize: '$16',
18
+ outline: 'none',
19
+ resize: 'vertical',
20
+ },
21
+ variants: {
22
+ typography: typographyValues,
23
+ },
24
+ defaultVariants: {
25
+ typography: 'bodyM',
26
+ },
27
+ })
28
+
29
+ export type TextareaFieldProps = ComponentProps<typeof TextareaFieldStyle> & {
30
+ limit: number
31
+ }
32
+
33
+ const TextareaContainer = styled('div', {
34
+ position: 'relative',
35
+ display: 'flex',
36
+ overflow: 'hidden',
37
+ // width: '100%',
38
+ border: '1px solid',
39
+ borderColor: '$dark300',
40
+ borderRadius: '$2xs',
41
+
42
+ '&:has(textarea:focus)': {
43
+ border: '1px solid $brand300',
44
+ },
45
+ '&:has(textarea:disabled)': {
46
+ backgroundColor: '$dark100',
47
+ color: '$dark400',
48
+ border: '1px solid $dark200',
49
+ cursor: 'not-allowed',
50
+ },
51
+ })
52
+
53
+ const TextareaLimitIndicator = styled('div', {
54
+ position: 'absolute',
55
+ bottom: 0,
56
+ left: 0,
57
+ padding: '$12 $16',
58
+ borderTop: '1px solid $neutral300',
59
+ width: '100%',
60
+ flex: 1,
61
+ display: 'flex',
62
+ span: {
63
+ backgroundColor: '$neutral200',
64
+ color: '$neutral700',
65
+ borderRadius: '$2xs',
66
+ padding: '$4',
67
+ },
68
+ })
69
+
70
+ export function TextareaField({ maxLength, ...props }: TextareaFieldProps) {
71
+ const inputRef = useRef<HTMLTextAreaElement>(null)
72
+ const badgeRef = useRef<HTMLSpanElement>(null)
73
+
74
+ if (!maxLength) {
75
+ return (
76
+ <TextareaContainer>
77
+ <TextareaFieldStyle {...props} ref={inputRef}></TextareaFieldStyle>
78
+ </TextareaContainer>
79
+ )
80
+ }
81
+ const handleInput = () => {
82
+ const remainingChars = maxLength - (inputRef?.current?.value.length || 0)
83
+ if (badgeRef.current) badgeRef.current.textContent = String(remainingChars)
84
+ }
85
+
86
+ return (
87
+ <TextareaContainer css={{ paddingBottom: '3.25rem' }}>
88
+ <TextareaFieldStyle
89
+ ref={inputRef}
90
+ onInput={handleInput}
91
+ maxLength={maxLength}
92
+ {...props}
93
+ ></TextareaFieldStyle>
94
+ <TextareaLimitIndicator>
95
+ <Text typography={'badgeMedium'} ref={badgeRef}>
96
+ {maxLength}
97
+ </Text>
98
+ </TextareaLimitIndicator>
99
+ </TextareaContainer>
100
+ )
101
+ }
@@ -1,213 +1,239 @@
1
- import React, { useCallback, useRef, useState } from "react";
2
- import { Box } from "./Box";
3
- import { Button } from "./Button";
4
- import { TextField, TextFieldSlot } from "./TextField";
5
- import { Text } from "./Text";
6
- import Icon from "./Icon";
7
- import { styled } from "../styles";
8
- import { useOnClickOutside } from "../hooks/useOnClickOutside";
9
-
10
- export const TimePickerStyled = styled("div", {
11
- position: "relative",
12
- fontFamily: "$default",
13
- lineHeight: "$base",
14
- fontSize: "$14",
15
- maxWidth: "200px",
16
- borderRadius: "$sm",
17
- "> div > div": {
18
- paddingLeft: "1rem",
19
- input: {
20
- textAlign: "right",
21
- },
22
- },
23
- });
24
-
25
- export const TimePickerDropdownStyled = styled("div", {
26
- position: "absolute",
27
- left: 0,
28
- zIndex: 10,
29
- width: "100%",
30
- maxWidth: "8.875rem",
31
- backgroundColor: "$neutral50",
32
- border: "1px solid $neutral300",
33
- borderRadius: "$sm",
34
- boxShadow: "0px 2px 8px 0px $shadow50",
35
- });
36
-
37
- export const TimePickerFooterStyled = styled("div", {
38
- borderTop: "2px solid $neutral100",
39
- padding: "$4 $16",
40
- display: "flex",
41
- justifyContent: "center",
42
- alignItems: "center",
43
- height: "3rem",
44
- });
45
-
46
- export const TimerPickerContentStyled = styled("div", {
47
- display: "flex",
48
- gap: "$16",
49
- alignItems: "center",
50
- padding: "$16 $16 $8 ",
51
- "& > div:nth-child(2)": {
52
- order: 2,
53
- },
54
- input: {
55
- padding: "0",
56
- textAlign: "center!important",
57
- },
58
- });
59
-
60
- export type TimePickerProps = {
61
- selected: string | undefined;
62
- setSelected: React.Dispatch<React.SetStateAction<string | undefined>>;
63
- position?: "bottom" | "top";
64
- };
65
-
66
- export function TimePicker({
67
- selected,
68
- setSelected,
69
- position = "bottom",
70
- }: TimePickerProps) {
71
- const [hours, setHours] = useState("00");
72
- const [minutes, setMinutes] = useState("00");
73
- const [isOpen, setIsOpen] = useState(false);
74
- const dropdownRef = useRef(null);
75
-
76
- useOnClickOutside(dropdownRef, () => setIsOpen(false));
77
-
78
- const pad = (num: number) => String(num).padStart(2, "0");
79
-
80
- const handleInputValue = useCallback(
81
- (time: string) => {
82
- setSelected(time);
83
- setIsOpen(false);
84
- },
85
- [setSelected]
86
- );
87
-
88
- const handleIncrement = useCallback(
89
- (type: "hours" | "minutes") => {
90
- if (type === "hours") {
91
- const next = (parseInt(hours) + 1) % 24;
92
- setHours(pad(next));
93
- } else {
94
- const next = (parseInt(minutes) + 1) % 60;
95
- setMinutes(pad(next));
96
- }
97
- },
98
- [hours, minutes]
99
- );
100
- const handleDecrement = useCallback(
101
- (type: "hours" | "minutes") => {
102
- if (type === "hours") {
103
- const prev = (parseInt(hours) - 1 + 24) % 24;
104
- setHours(pad(prev));
105
- } else {
106
- const prev = (parseInt(minutes) - 1 + 60) % 60;
107
- setMinutes(pad(prev));
108
- }
109
- },
110
- [hours, minutes]
111
- );
112
-
113
- return (
114
- <TimePickerStyled ref={dropdownRef}>
115
- <TextField
116
- value={selected}
117
- readOnly
118
- type="text"
119
- placeholder="00:00"
120
- typography="labelSmall"
121
- fontWeight="regular"
122
- onClick={() => setIsOpen((prev) => !prev)}
123
- >
124
- <TextFieldSlot>
125
- <Icon name="clock" size="xl" />
126
- </TextFieldSlot>
127
- </TextField>
128
-
129
- {isOpen && (
130
- <TimePickerDropdownStyled
131
- style={position === "top" ? { bottom: "110%" } : { top: "110%" }}
132
- >
133
- <TimerPickerContentStyled>
134
- {["hours", "minutes"].map((unit) => (
135
- <Box
136
- key={unit}
137
- style={{
138
- display: "flex",
139
- alignItems: "center",
140
- flexDirection: "column",
141
- }}
142
- >
143
- <Button
144
- variant="text"
145
- onClick={() => handleIncrement(unit as "hours" | "minutes")}
146
- >
147
- <svg
148
- xmlns="http://www.w3.org/2000/svg"
149
- width="32"
150
- height="32"
151
- viewBox="0 0 32 32"
152
- fill="none"
153
- >
154
- <path
155
- d="M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z"
156
- fill="white"
157
- />
158
- <path
159
- d="M16.7063 12.2937C16.3157 11.9031 15.6813 11.9031 15.2907 12.2937L10.2907 17.2937C9.9001 17.6843 9.9001 18.3187 10.2907 18.7093C10.6813 19.1 11.3157 19.1 11.7063 18.7093L16.0001 14.4156L20.2938 18.7062C20.6845 19.0968 21.3188 19.0968 21.7095 18.7062C22.1001 18.3156 22.1001 17.6812 21.7095 17.2906L16.7095 12.2906L16.7063 12.2937Z"
160
- fill="#808289"
161
- />
162
- </svg>
163
- </Button>
164
- <TextField
165
- value={unit === "hours" ? hours : minutes}
166
- onChange={(e) => handleInputValue(e.target.value)}
167
- type="text"
168
- placeholder="00"
169
- typography="labelSmall"
170
- fontWeight="regular"
171
- textAlign="center"
172
- />
173
- <Button
174
- variant="text"
175
- onClick={() => handleDecrement(unit as "hours" | "minutes")}
176
- >
177
- <svg
178
- xmlns="http://www.w3.org/2000/svg"
179
- width="32"
180
- height="32"
181
- viewBox="0 0 32 32"
182
- fill="none"
183
- >
184
- <path
185
- d="M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z"
186
- fill="white"
187
- />
188
- <path
189
- d="M15.2937 19.7063C15.6843 20.0969 16.3187 20.0969 16.7093 19.7063L21.7093 14.7063C22.0999 14.3157 22.0999 13.6813 21.7093 13.2907C21.3187 12.9 20.6843 12.9 20.2937 13.2907L15.9999 17.5844L11.7062 13.2938C11.3155 12.9032 10.6812 12.9032 10.2905 13.2938C9.8999 13.6844 9.8999 14.3188 10.2905 14.7094L15.2905 19.7094L15.2937 19.7063Z"
190
- fill="#808289"
191
- />
192
- </svg>
193
- </Button>
194
- </Box>
195
- ))}
196
- <Text>:</Text>
197
- </TimerPickerContentStyled>
198
- <TimePickerFooterStyled>
199
- <Button
200
- variant="text"
201
- color="brand"
202
- onClick={() => handleInputValue(`${hours}:${minutes}`)}
203
- typography="buttonMedium"
204
- fontWeight="medium"
205
- >
206
- Aplicar
207
- </Button>
208
- </TimePickerFooterStyled>
209
- </TimePickerDropdownStyled>
210
- )}
211
- </TimePickerStyled>
212
- );
213
- }
1
+ import React, { useCallback, useRef, useState } from "react";
2
+ import { Box } from "./Box";
3
+ import { Button } from "./Button";
4
+ import { TextField, TextFieldSlot } from "./TextField";
5
+ import { Text } from "./Text";
6
+ import Icon from "./Icon";
7
+ import { styled } from "../styles";
8
+ import { useOnClickOutside } from "../hooks/useOnClickOutside";
9
+
10
+ export const TimePickerStyled = styled("div", {
11
+ position: "relative",
12
+ fontFamily: "$default",
13
+ lineHeight: "$base",
14
+ fontSize: "$14",
15
+ maxWidth: "200px",
16
+ borderRadius: "$sm",
17
+ "> div > div": {
18
+ paddingLeft: "1rem",
19
+ input: {
20
+ textAlign: "right",
21
+ },
22
+ },
23
+ });
24
+
25
+ export const TimePickerDropdownStyled = styled("div", {
26
+ position: "absolute",
27
+ left: 0,
28
+ zIndex: 10,
29
+ width: "100%",
30
+ maxWidth: "8.875rem",
31
+ backgroundColor: "$neutral50",
32
+ border: "1px solid $neutral300",
33
+ borderRadius: "$sm",
34
+ boxShadow: "0px 2px 8px 0px $shadow50",
35
+ });
36
+
37
+ export const TimePickerFooterStyled = styled("div", {
38
+ borderTop: "2px solid $neutral100",
39
+ padding: "$4 $16",
40
+ display: "flex",
41
+ justifyContent: "center",
42
+ alignItems: "center",
43
+ height: "3rem",
44
+ });
45
+
46
+ export const TimerPickerContentStyled = styled("div", {
47
+ display: "flex",
48
+ gap: "$16",
49
+ alignItems: "center",
50
+ padding: "$16 $16 $8 ",
51
+ "& > div:nth-child(2)": {
52
+ order: 2,
53
+ },
54
+ input: {
55
+ padding: "0",
56
+ textAlign: "center!important",
57
+ },
58
+ });
59
+
60
+ export const InputStyled = styled("input", {
61
+ height: "$40",
62
+ fontFamily: "$default",
63
+ borderRadius: "$sm",
64
+ boxSizing: "border-box",
65
+ color: "$dark500",
66
+ border: "1px solid $dark300",
67
+ position: "relative",
68
+ display: "flex",
69
+ width: "100%",
70
+ alignItems: "center",
71
+ padding: "0",
72
+ outline: "none",
73
+ margin: 0,
74
+ textAlign: "center",
75
+ "&:has(input:focus)": {
76
+ border: "2px solid $brand300",
77
+ },
78
+ "&:has(input:disabled)": {
79
+ backgroundColor: "$dark100",
80
+ color: "$dark400",
81
+ border: "1px solid $dark200",
82
+ cursor: "not-allowed",
83
+ },
84
+ });
85
+
86
+ export type TimePickerProps = {
87
+ selected: string | undefined;
88
+ setSelected: React.Dispatch<React.SetStateAction<string | undefined>>;
89
+ position?: "bottom" | "top";
90
+ };
91
+
92
+ export function TimePicker({
93
+ selected,
94
+ setSelected,
95
+ position = "bottom",
96
+ }: TimePickerProps) {
97
+ const [hours, setHours] = useState("00");
98
+ const [minutes, setMinutes] = useState("00");
99
+ const [isOpen, setIsOpen] = useState(false);
100
+ const dropdownRef = useRef(null);
101
+
102
+ useOnClickOutside(dropdownRef, () => setIsOpen(false));
103
+
104
+ const pad = (num: number) => String(num).padStart(2, "0");
105
+
106
+ const handleInputValue = useCallback(
107
+ (time: string) => {
108
+ setSelected(time);
109
+ setIsOpen(false);
110
+ },
111
+ [setSelected]
112
+ );
113
+
114
+ const handleIncrement = useCallback(
115
+ (type: "hours" | "minutes") => {
116
+ if (type === "hours") {
117
+ const next = (parseInt(hours) + 1) % 24;
118
+ setHours(pad(next));
119
+ } else {
120
+ const next = (parseInt(minutes) + 1) % 60;
121
+ setMinutes(pad(next));
122
+ }
123
+ },
124
+ [hours, minutes]
125
+ );
126
+ const handleDecrement = useCallback(
127
+ (type: "hours" | "minutes") => {
128
+ if (type === "hours") {
129
+ const prev = (parseInt(hours) - 1 + 24) % 24;
130
+ setHours(pad(prev));
131
+ } else {
132
+ const prev = (parseInt(minutes) - 1 + 60) % 60;
133
+ setMinutes(pad(prev));
134
+ }
135
+ },
136
+ [hours, minutes]
137
+ );
138
+
139
+ return (
140
+ <TimePickerStyled ref={dropdownRef}>
141
+ <TextField
142
+ value={selected}
143
+ readOnly
144
+ type="text"
145
+ placeholder="00:00"
146
+ typography="labelSmall"
147
+ fontWeight="regular"
148
+ onClick={() => setIsOpen((prev) => !prev)}
149
+ >
150
+ <TextFieldSlot>
151
+ <Icon name="clock" size="xl" />
152
+ </TextFieldSlot>
153
+ </TextField>
154
+
155
+ {isOpen && (
156
+ <TimePickerDropdownStyled
157
+ style={position === "top" ? { bottom: "110%" } : { top: "110%" }}
158
+ >
159
+ <TimerPickerContentStyled>
160
+ {["hours", "minutes"].map((unit) => (
161
+ <Box
162
+ key={unit}
163
+ style={{
164
+ display: "flex",
165
+ alignItems: "center",
166
+ flexDirection: "column",
167
+ }}
168
+ >
169
+ <Button
170
+ type="button"
171
+ variant="text"
172
+ onClick={() => handleIncrement(unit as "hours" | "minutes")}
173
+ >
174
+ <svg
175
+ xmlns="http://www.w3.org/2000/svg"
176
+ width="32"
177
+ height="32"
178
+ viewBox="0 0 32 32"
179
+ fill="none"
180
+ >
181
+ <path
182
+ d="M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z"
183
+ fill="white"
184
+ />
185
+ <path
186
+ d="M16.7063 12.2937C16.3157 11.9031 15.6813 11.9031 15.2907 12.2937L10.2907 17.2937C9.9001 17.6843 9.9001 18.3187 10.2907 18.7093C10.6813 19.1 11.3157 19.1 11.7063 18.7093L16.0001 14.4156L20.2938 18.7062C20.6845 19.0968 21.3188 19.0968 21.7095 18.7062C22.1001 18.3156 22.1001 17.6812 21.7095 17.2906L16.7095 12.2906L16.7063 12.2937Z"
187
+ fill="#808289"
188
+ />
189
+ </svg>
190
+ </Button>
191
+ <InputStyled
192
+ value={unit === "hours" ? hours : minutes}
193
+ onChange={(e) => handleInputValue(e.target.value)}
194
+ type="text"
195
+ placeholder="00"
196
+ />
197
+ <Button
198
+ type="button"
199
+ variant="text"
200
+ onClick={() => handleDecrement(unit as "hours" | "minutes")}
201
+ >
202
+ <svg
203
+ xmlns="http://www.w3.org/2000/svg"
204
+ width="32"
205
+ height="32"
206
+ viewBox="0 0 32 32"
207
+ fill="none"
208
+ >
209
+ <path
210
+ d="M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z"
211
+ fill="white"
212
+ />
213
+ <path
214
+ d="M15.2937 19.7063C15.6843 20.0969 16.3187 20.0969 16.7093 19.7063L21.7093 14.7063C22.0999 14.3157 22.0999 13.6813 21.7093 13.2907C21.3187 12.9 20.6843 12.9 20.2937 13.2907L15.9999 17.5844L11.7062 13.2938C11.3155 12.9032 10.6812 12.9032 10.2905 13.2938C9.8999 13.6844 9.8999 14.3188 10.2905 14.7094L15.2905 19.7094L15.2937 19.7063Z"
215
+ fill="#808289"
216
+ />
217
+ </svg>
218
+ </Button>
219
+ </Box>
220
+ ))}
221
+ <Text>:</Text>
222
+ </TimerPickerContentStyled>
223
+ <TimePickerFooterStyled>
224
+ <Button
225
+ type="button"
226
+ variant="text"
227
+ color="brand"
228
+ onClick={() => handleInputValue(`${hours}:${minutes}`)}
229
+ typography="buttonMedium"
230
+ fontWeight="medium"
231
+ >
232
+ Aplicar
233
+ </Button>
234
+ </TimePickerFooterStyled>
235
+ </TimePickerDropdownStyled>
236
+ )}
237
+ </TimePickerStyled>
238
+ );
239
+ }