@lets-events/react 7.0.0 → 7.1.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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +6 -375
- package/dist/index.d.ts +6 -375
- package/dist/index.js +270 -202
- package/dist/index.mjs +234 -165
- package/package.json +1 -1
- package/src/components/Calendar/index.tsx +46 -37
- package/src/components/Calendar/styledComponents.ts +17 -6
- package/src/components/TextField.tsx +16 -13
- package/src/components/TimePicker.tsx +64 -42
- package/src/hooks/useOnClickOutside.tsx +20 -0
package/dist/index.mjs
CHANGED
|
@@ -2629,13 +2629,16 @@ var InputAddon = styled(TextStyle, {
|
|
|
2629
2629
|
boxSizing: "border-box",
|
|
2630
2630
|
border: "1px solid $dark300",
|
|
2631
2631
|
height: "$40",
|
|
2632
|
-
padding: "0",
|
|
2632
|
+
padding: "0 $12",
|
|
2633
2633
|
color: "$dark600",
|
|
2634
2634
|
borderRadius: "$sm 0px 0px $sm",
|
|
2635
2635
|
borderRightWidth: "0px",
|
|
2636
2636
|
margin: "auto 0",
|
|
2637
2637
|
display: "flex",
|
|
2638
|
-
|
|
2638
|
+
flexWrap: "nowrap",
|
|
2639
|
+
alignItems: "center",
|
|
2640
|
+
whiteSpace: "nowrap",
|
|
2641
|
+
lineHeight: 1
|
|
2639
2642
|
});
|
|
2640
2643
|
function TextField(_a) {
|
|
2641
2644
|
var _b = _a, {
|
|
@@ -3589,7 +3592,28 @@ function Modal(_a) {
|
|
|
3589
3592
|
}
|
|
3590
3593
|
|
|
3591
3594
|
// src/components/Calendar/index.tsx
|
|
3592
|
-
import { useEffect, useState } from "react";
|
|
3595
|
+
import { useRef, useEffect as useEffect2, useState } from "react";
|
|
3596
|
+
|
|
3597
|
+
// src/hooks/useOnClickOutside.tsx
|
|
3598
|
+
import { useEffect } from "react";
|
|
3599
|
+
function useOnClickOutside(ref, handler) {
|
|
3600
|
+
useEffect(() => {
|
|
3601
|
+
const listener = (event) => {
|
|
3602
|
+
if (!ref.current || ref.current.contains(event.target)) {
|
|
3603
|
+
return;
|
|
3604
|
+
}
|
|
3605
|
+
handler();
|
|
3606
|
+
};
|
|
3607
|
+
document.addEventListener("mousedown", listener);
|
|
3608
|
+
document.addEventListener("touchstart", listener);
|
|
3609
|
+
return () => {
|
|
3610
|
+
document.removeEventListener("mousedown", listener);
|
|
3611
|
+
document.removeEventListener("touchstart", listener);
|
|
3612
|
+
};
|
|
3613
|
+
}, [ref, handler]);
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
// src/components/Calendar/index.tsx
|
|
3593
3617
|
import { DayPicker } from "react-day-picker";
|
|
3594
3618
|
|
|
3595
3619
|
// ../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js
|
|
@@ -4596,9 +4620,6 @@ var ptBR = {
|
|
|
4596
4620
|
}
|
|
4597
4621
|
};
|
|
4598
4622
|
|
|
4599
|
-
// src/components/Calendar/index.tsx
|
|
4600
|
-
import { Dialog as Calendaradix2 } from "@radix-ui/themes";
|
|
4601
|
-
|
|
4602
4623
|
// ../../node_modules/date-fns/addDays.js
|
|
4603
4624
|
function addDays(date, amount, options) {
|
|
4604
4625
|
const _date = toDate(date, options == null ? void 0 : options.in);
|
|
@@ -7484,18 +7505,26 @@ function cleanEscapedString2(input) {
|
|
|
7484
7505
|
}
|
|
7485
7506
|
|
|
7486
7507
|
// src/components/Calendar/styledComponents.ts
|
|
7487
|
-
import { Dialog as Calendaradix } from "@radix-ui/themes";
|
|
7488
7508
|
var CalendarStyled = styled("div", {
|
|
7489
7509
|
fontFamily: "$default",
|
|
7490
7510
|
lineHeight: "$base",
|
|
7491
7511
|
fontSize: "$14",
|
|
7492
|
-
|
|
7493
|
-
|
|
7512
|
+
borderRadius: "$sm",
|
|
7513
|
+
position: "relative"
|
|
7494
7514
|
});
|
|
7495
|
-
var
|
|
7496
|
-
|
|
7515
|
+
var CalendarButtonStyled = styled("button", {
|
|
7516
|
+
backgroundColor: "transparent",
|
|
7517
|
+
border: "none",
|
|
7518
|
+
maxWidth: "200px",
|
|
7519
|
+
padding: "0",
|
|
7520
|
+
"> div > div": {
|
|
7521
|
+
paddingLeft: "1rem",
|
|
7522
|
+
"input": {
|
|
7523
|
+
textAlign: "right"
|
|
7524
|
+
}
|
|
7525
|
+
}
|
|
7497
7526
|
});
|
|
7498
|
-
var CalendarContentStyled = styled(
|
|
7527
|
+
var CalendarContentStyled = styled("div", {
|
|
7499
7528
|
fontFamily: "$default",
|
|
7500
7529
|
lineHeight: "$base",
|
|
7501
7530
|
fontSize: "$14",
|
|
@@ -7503,7 +7532,11 @@ var CalendarContentStyled = styled(Calendaradix.Content, {
|
|
|
7503
7532
|
maxWidth: "fit-content",
|
|
7504
7533
|
border: "1px solid $neutral300",
|
|
7505
7534
|
borderRadius: "$sm",
|
|
7506
|
-
boxShadow: "0px 2px 8px 0px $shadow50"
|
|
7535
|
+
boxShadow: "0px 2px 8px 0px $shadow50",
|
|
7536
|
+
position: "absolute",
|
|
7537
|
+
left: "0",
|
|
7538
|
+
backgroundColor: "$neutral50",
|
|
7539
|
+
zIndex: "999999"
|
|
7507
7540
|
});
|
|
7508
7541
|
var CalendarFooterStyled = styled("div", {
|
|
7509
7542
|
borderTop: "2px solid $neutral100",
|
|
@@ -7691,20 +7724,25 @@ function Calendar(_a) {
|
|
|
7691
7724
|
calendarLayout,
|
|
7692
7725
|
selected,
|
|
7693
7726
|
setSelected,
|
|
7694
|
-
|
|
7727
|
+
position = "bottom"
|
|
7695
7728
|
} = _b, props = __objRest(_b, [
|
|
7696
7729
|
"action",
|
|
7697
7730
|
"actionText",
|
|
7698
7731
|
"calendarLayout",
|
|
7699
7732
|
"selected",
|
|
7700
7733
|
"setSelected",
|
|
7701
|
-
"
|
|
7734
|
+
"position"
|
|
7702
7735
|
]);
|
|
7703
7736
|
const [inputValue, setInputValue] = useState("");
|
|
7737
|
+
const [showContainer, setShowCalendar] = useState(false);
|
|
7738
|
+
const dropdownRef = useRef(null);
|
|
7739
|
+
useOnClickOutside(dropdownRef, () => {
|
|
7740
|
+
console.warn("Clicked outside");
|
|
7741
|
+
setShowCalendar(false);
|
|
7742
|
+
});
|
|
7704
7743
|
const today = /* @__PURE__ */ new Date();
|
|
7705
7744
|
const maxDate = addYears(today, 20);
|
|
7706
|
-
|
|
7707
|
-
console.log("selected", selected);
|
|
7745
|
+
useEffect2(() => {
|
|
7708
7746
|
if (selected) {
|
|
7709
7747
|
setInputValue(format(selected, "dd/MM/yyyy"));
|
|
7710
7748
|
} else {
|
|
@@ -7721,8 +7759,8 @@ function Calendar(_a) {
|
|
|
7721
7759
|
console.warn("Data inv\xE1lida inserida no input:", masked);
|
|
7722
7760
|
}
|
|
7723
7761
|
};
|
|
7724
|
-
return /* @__PURE__ */ jsx14(
|
|
7725
|
-
/* @__PURE__ */ jsx14(
|
|
7762
|
+
return /* @__PURE__ */ jsx14("div", { children: /* @__PURE__ */ jsxs5(CalendarStyled, __spreadProps(__spreadValues({}, props), { ref: dropdownRef, children: [
|
|
7763
|
+
/* @__PURE__ */ jsx14(CalendarButtonStyled, { onClick: () => setShowCalendar((prev) => !prev), children: /* @__PURE__ */ jsx14(
|
|
7726
7764
|
TextField,
|
|
7727
7765
|
{
|
|
7728
7766
|
placeholder: "00/00/0000",
|
|
@@ -7730,57 +7768,72 @@ function Calendar(_a) {
|
|
|
7730
7768
|
value: inputValue,
|
|
7731
7769
|
onChange: handleInputChange,
|
|
7732
7770
|
inputMode: "numeric",
|
|
7771
|
+
textAlign: "right",
|
|
7733
7772
|
children: /* @__PURE__ */ jsx14(TextFieldSlot, { children: /* @__PURE__ */ jsx14(Icon_default, { name: "calendar", size: "xl" }) })
|
|
7734
7773
|
}
|
|
7735
7774
|
) }),
|
|
7736
|
-
/* @__PURE__ */ jsxs5(
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7775
|
+
showContainer && /* @__PURE__ */ jsxs5(
|
|
7776
|
+
CalendarContentStyled,
|
|
7777
|
+
{
|
|
7778
|
+
style: position === "top" ? { bottom: "110%" } : { top: "110%" },
|
|
7779
|
+
children: [
|
|
7780
|
+
/* @__PURE__ */ jsx14(Box, { children: /* @__PURE__ */ jsx14(DayPickerWrapperStyled, { children: /* @__PURE__ */ jsx14(
|
|
7781
|
+
DayPicker,
|
|
7782
|
+
{
|
|
7783
|
+
mode: "single",
|
|
7784
|
+
captionLayout: calendarLayout,
|
|
7785
|
+
selected,
|
|
7786
|
+
onSelect: setSelected,
|
|
7787
|
+
required: true,
|
|
7788
|
+
locale: ptBR,
|
|
7789
|
+
disabled: { before: today },
|
|
7790
|
+
startMonth: today,
|
|
7791
|
+
endMonth: maxDate
|
|
7792
|
+
}
|
|
7793
|
+
) }) }),
|
|
7794
|
+
action && /* @__PURE__ */ jsx14(CalendarFooterStyled, { children: /* @__PURE__ */ jsx14(
|
|
7795
|
+
Button,
|
|
7796
|
+
{
|
|
7797
|
+
variant: "text",
|
|
7798
|
+
color: "brand",
|
|
7799
|
+
onClick: () => {
|
|
7800
|
+
setShowCalendar(false);
|
|
7801
|
+
},
|
|
7802
|
+
typography: "buttonMedium",
|
|
7803
|
+
fontWeight: "medium",
|
|
7804
|
+
children: actionText != null ? actionText : "Aplicar"
|
|
7805
|
+
}
|
|
7806
|
+
) })
|
|
7807
|
+
]
|
|
7808
|
+
}
|
|
7809
|
+
)
|
|
7764
7810
|
] })) });
|
|
7765
7811
|
}
|
|
7766
7812
|
|
|
7767
7813
|
// src/components/TimePicker.tsx
|
|
7768
|
-
import { useCallback, useState as useState2 } from "react";
|
|
7769
|
-
import { Dialog as TimePickerRadix } from "@radix-ui/themes";
|
|
7814
|
+
import { useCallback, useRef as useRef2, useState as useState2 } from "react";
|
|
7770
7815
|
import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
7771
7816
|
var TimePickerStyled = styled("div", {
|
|
7817
|
+
position: "relative",
|
|
7772
7818
|
fontFamily: "$default",
|
|
7773
7819
|
lineHeight: "$base",
|
|
7774
7820
|
fontSize: "$14",
|
|
7775
7821
|
maxWidth: "200px",
|
|
7776
|
-
borderRadius: "$sm"
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7822
|
+
borderRadius: "$sm",
|
|
7823
|
+
"> div > div": {
|
|
7824
|
+
paddingLeft: "1rem",
|
|
7825
|
+
input: {
|
|
7826
|
+
textAlign: "right"
|
|
7827
|
+
}
|
|
7828
|
+
}
|
|
7780
7829
|
});
|
|
7781
|
-
var
|
|
7830
|
+
var TimePickerDropdownStyled = styled("div", {
|
|
7831
|
+
position: "absolute",
|
|
7832
|
+
left: 0,
|
|
7833
|
+
zIndex: 10,
|
|
7782
7834
|
width: "100%",
|
|
7783
7835
|
maxWidth: "8.875rem",
|
|
7836
|
+
backgroundColor: "$neutral50",
|
|
7784
7837
|
border: "1px solid $neutral300",
|
|
7785
7838
|
borderRadius: "$sm",
|
|
7786
7839
|
boxShadow: "0px 2px 8px 0px $shadow50"
|
|
@@ -7800,15 +7853,27 @@ var TimerPickerContentStyled = styled("div", {
|
|
|
7800
7853
|
padding: "$16 $16 $8 ",
|
|
7801
7854
|
"& > div:nth-child(2)": {
|
|
7802
7855
|
order: 2
|
|
7856
|
+
},
|
|
7857
|
+
input: {
|
|
7858
|
+
padding: "0",
|
|
7859
|
+
textAlign: "center!important"
|
|
7803
7860
|
}
|
|
7804
7861
|
});
|
|
7805
|
-
function TimePicker({
|
|
7862
|
+
function TimePicker({
|
|
7863
|
+
selected,
|
|
7864
|
+
setSelected,
|
|
7865
|
+
position = "bottom"
|
|
7866
|
+
}) {
|
|
7806
7867
|
const [hours, setHours] = useState2("00");
|
|
7807
7868
|
const [minutes, setMinutes] = useState2("00");
|
|
7869
|
+
const [isOpen, setIsOpen] = useState2(false);
|
|
7870
|
+
const dropdownRef = useRef2(null);
|
|
7871
|
+
useOnClickOutside(dropdownRef, () => setIsOpen(false));
|
|
7808
7872
|
const pad = (num) => String(num).padStart(2, "0");
|
|
7809
7873
|
const handleInputValue = useCallback(
|
|
7810
7874
|
(time) => {
|
|
7811
7875
|
setSelected(time);
|
|
7876
|
+
setIsOpen(false);
|
|
7812
7877
|
},
|
|
7813
7878
|
[setSelected]
|
|
7814
7879
|
);
|
|
@@ -7836,8 +7901,8 @@ function TimePicker({ selected, setSelected }) {
|
|
|
7836
7901
|
},
|
|
7837
7902
|
[hours, minutes]
|
|
7838
7903
|
);
|
|
7839
|
-
return /* @__PURE__ */
|
|
7840
|
-
/* @__PURE__ */ jsx15(
|
|
7904
|
+
return /* @__PURE__ */ jsxs6(TimePickerStyled, { ref: dropdownRef, children: [
|
|
7905
|
+
/* @__PURE__ */ jsx15(
|
|
7841
7906
|
TextField,
|
|
7842
7907
|
{
|
|
7843
7908
|
value: selected,
|
|
@@ -7846,119 +7911,124 @@ function TimePicker({ selected, setSelected }) {
|
|
|
7846
7911
|
placeholder: "00:00",
|
|
7847
7912
|
typography: "labelSmall",
|
|
7848
7913
|
fontWeight: "regular",
|
|
7914
|
+
onClick: () => setIsOpen((prev) => !prev),
|
|
7849
7915
|
children: /* @__PURE__ */ jsx15(TextFieldSlot, { children: /* @__PURE__ */ jsx15(Icon_default, { name: "clock", size: "xl" }) })
|
|
7850
7916
|
}
|
|
7851
|
-
)
|
|
7852
|
-
/* @__PURE__ */ jsxs6(
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
{
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
children: /* @__PURE__ */ jsxs6(
|
|
7870
|
-
"svg",
|
|
7917
|
+
),
|
|
7918
|
+
isOpen && /* @__PURE__ */ jsxs6(
|
|
7919
|
+
TimePickerDropdownStyled,
|
|
7920
|
+
{
|
|
7921
|
+
style: position === "top" ? { bottom: "110%" } : { top: "110%" },
|
|
7922
|
+
children: [
|
|
7923
|
+
/* @__PURE__ */ jsxs6(TimerPickerContentStyled, { children: [
|
|
7924
|
+
["hours", "minutes"].map((unit) => /* @__PURE__ */ jsxs6(
|
|
7925
|
+
Box,
|
|
7926
|
+
{
|
|
7927
|
+
style: {
|
|
7928
|
+
display: "flex",
|
|
7929
|
+
alignItems: "center",
|
|
7930
|
+
flexDirection: "column"
|
|
7931
|
+
},
|
|
7932
|
+
children: [
|
|
7933
|
+
/* @__PURE__ */ jsx15(
|
|
7934
|
+
Button,
|
|
7871
7935
|
{
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
"
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7936
|
+
variant: "text",
|
|
7937
|
+
onClick: () => handleIncrement(unit),
|
|
7938
|
+
children: /* @__PURE__ */ jsxs6(
|
|
7939
|
+
"svg",
|
|
7940
|
+
{
|
|
7941
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7942
|
+
width: "32",
|
|
7943
|
+
height: "32",
|
|
7944
|
+
viewBox: "0 0 32 32",
|
|
7945
|
+
fill: "none",
|
|
7946
|
+
children: [
|
|
7947
|
+
/* @__PURE__ */ jsx15(
|
|
7948
|
+
"path",
|
|
7949
|
+
{
|
|
7950
|
+
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",
|
|
7951
|
+
fill: "white"
|
|
7952
|
+
}
|
|
7953
|
+
),
|
|
7954
|
+
/* @__PURE__ */ jsx15(
|
|
7955
|
+
"path",
|
|
7956
|
+
{
|
|
7957
|
+
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",
|
|
7958
|
+
fill: "#808289"
|
|
7959
|
+
}
|
|
7960
|
+
)
|
|
7961
|
+
]
|
|
7962
|
+
}
|
|
7963
|
+
)
|
|
7893
7964
|
}
|
|
7894
|
-
)
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
),
|
|
7910
|
-
/* @__PURE__ */ jsx15(
|
|
7911
|
-
Button,
|
|
7912
|
-
{
|
|
7913
|
-
variant: "text",
|
|
7914
|
-
onClick: () => handleDecrement(unit),
|
|
7915
|
-
children: /* @__PURE__ */ jsxs6(
|
|
7916
|
-
"svg",
|
|
7965
|
+
),
|
|
7966
|
+
/* @__PURE__ */ jsx15(
|
|
7967
|
+
TextField,
|
|
7968
|
+
{
|
|
7969
|
+
value: unit === "hours" ? hours : minutes,
|
|
7970
|
+
onChange: (e) => handleInputValue(e.target.value),
|
|
7971
|
+
type: "text",
|
|
7972
|
+
placeholder: "00",
|
|
7973
|
+
typography: "labelSmall",
|
|
7974
|
+
fontWeight: "regular",
|
|
7975
|
+
textAlign: "center"
|
|
7976
|
+
}
|
|
7977
|
+
),
|
|
7978
|
+
/* @__PURE__ */ jsx15(
|
|
7979
|
+
Button,
|
|
7917
7980
|
{
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
"
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7981
|
+
variant: "text",
|
|
7982
|
+
onClick: () => handleDecrement(unit),
|
|
7983
|
+
children: /* @__PURE__ */ jsxs6(
|
|
7984
|
+
"svg",
|
|
7985
|
+
{
|
|
7986
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7987
|
+
width: "32",
|
|
7988
|
+
height: "32",
|
|
7989
|
+
viewBox: "0 0 32 32",
|
|
7990
|
+
fill: "none",
|
|
7991
|
+
children: [
|
|
7992
|
+
/* @__PURE__ */ jsx15(
|
|
7993
|
+
"path",
|
|
7994
|
+
{
|
|
7995
|
+
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",
|
|
7996
|
+
fill: "white"
|
|
7997
|
+
}
|
|
7998
|
+
),
|
|
7999
|
+
/* @__PURE__ */ jsx15(
|
|
8000
|
+
"path",
|
|
8001
|
+
{
|
|
8002
|
+
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",
|
|
8003
|
+
fill: "#808289"
|
|
8004
|
+
}
|
|
8005
|
+
)
|
|
8006
|
+
]
|
|
8007
|
+
}
|
|
8008
|
+
)
|
|
7939
8009
|
}
|
|
7940
8010
|
)
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
] })
|
|
8011
|
+
]
|
|
8012
|
+
},
|
|
8013
|
+
unit
|
|
8014
|
+
)),
|
|
8015
|
+
/* @__PURE__ */ jsx15(Text, { children: ":" })
|
|
8016
|
+
] }),
|
|
8017
|
+
/* @__PURE__ */ jsx15(TimePickerFooterStyled, { children: /* @__PURE__ */ jsx15(
|
|
8018
|
+
Button,
|
|
8019
|
+
{
|
|
8020
|
+
variant: "text",
|
|
8021
|
+
color: "brand",
|
|
8022
|
+
onClick: () => handleInputValue(`${hours}:${minutes}`),
|
|
8023
|
+
typography: "buttonMedium",
|
|
8024
|
+
fontWeight: "medium",
|
|
8025
|
+
children: "Aplicar"
|
|
8026
|
+
}
|
|
8027
|
+
) })
|
|
8028
|
+
]
|
|
8029
|
+
}
|
|
8030
|
+
)
|
|
8031
|
+
] });
|
|
7962
8032
|
}
|
|
7963
8033
|
|
|
7964
8034
|
// src/components/Alert.tsx
|
|
@@ -8573,10 +8643,9 @@ export {
|
|
|
8573
8643
|
TextFieldStyled,
|
|
8574
8644
|
TextStyle,
|
|
8575
8645
|
TimePicker,
|
|
8576
|
-
|
|
8646
|
+
TimePickerDropdownStyled,
|
|
8577
8647
|
TimePickerFooterStyled,
|
|
8578
8648
|
TimePickerStyled,
|
|
8579
|
-
TimePickerTitleStyled,
|
|
8580
8649
|
TimerPickerContentStyled
|
|
8581
8650
|
};
|
|
8582
8651
|
/*! Bundled license information:
|