@lets-events/react 11.2.0 → 11.3.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 (56) hide show
  1. package/.eslintrc.json +2 -2
  2. package/.turbo/turbo-build.log +20 -18
  3. package/CHANGELOG.md +6 -0
  4. package/dist/index.d.mts +771 -12
  5. package/dist/index.d.ts +771 -12
  6. package/dist/index.js +283 -146
  7. package/dist/index.mjs +260 -125
  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 +128 -128
  12. package/src/components/Box.tsx +3 -3
  13. package/src/components/Button/index.tsx +16 -13
  14. package/src/components/Button/styledComponents.ts +287 -276
  15. package/src/components/ButtonGroup.tsx +484 -484
  16. package/src/components/Calendar/index.tsx +136 -136
  17. package/src/components/Calendar/styledComponents.ts +209 -209
  18. package/src/components/Card.tsx +48 -48
  19. package/src/components/CheckboxGroup.tsx +214 -214
  20. package/src/components/Container.tsx +39 -39
  21. package/src/components/Drawer/index.tsx +48 -0
  22. package/src/components/Drawer/styledComponents.ts +46 -0
  23. package/src/components/Dropdown.tsx +167 -167
  24. package/src/components/Filter.tsx +164 -164
  25. package/src/components/Flex.tsx +118 -118
  26. package/src/components/FormFields/ErrorFormMessage.tsx +36 -36
  27. package/src/components/FormFields/Form.tsx +25 -25
  28. package/src/components/FormFields/FormLabel.tsx +29 -29
  29. package/src/components/FormFields/TextAreaFormField.tsx +46 -46
  30. package/src/components/FormFields/TextFormField.tsx +46 -46
  31. package/src/components/Grid.tsx +137 -137
  32. package/src/components/Icon.tsx +47 -47
  33. package/src/components/MenuDropdown/index.tsx +30 -0
  34. package/src/components/MenuDropdown/styledComponents.ts +31 -0
  35. package/src/components/Modal.tsx +90 -90
  36. package/src/components/RadioGroup.tsx +210 -210
  37. package/src/components/Section.tsx +33 -33
  38. package/src/components/Step.tsx +164 -164
  39. package/src/components/Switch.tsx +108 -108
  40. package/src/components/Text.tsx +39 -39
  41. package/src/components/TextField.tsx +315 -315
  42. package/src/components/TextareaField.tsx +128 -128
  43. package/src/components/TimePicker.tsx +298 -298
  44. package/src/components/Toast/components/ToastItem.tsx +41 -41
  45. package/src/components/Toast/components/ToastProvider.tsx +63 -63
  46. package/src/components/Toast/hooks/useToast.ts +12 -12
  47. package/src/components/Toast/index.tsx +5 -5
  48. package/src/components/Toast/styles/index.ts +135 -135
  49. package/src/components/Toast/types/index.ts +46 -46
  50. package/src/components/Tooltip/index.tsx +66 -66
  51. package/src/components/Tooltip/styles.ts +77 -77
  52. package/src/hooks/useOnClickOutside.tsx +20 -20
  53. package/src/index.tsx +42 -40
  54. package/src/styles/index.ts +38 -38
  55. package/src/types/typographyValues.ts +178 -178
  56. package/tsconfig.json +3 -3
package/dist/index.mjs CHANGED
@@ -1823,6 +1823,19 @@ var ButtonStyled = styled(ButtonRadix, {
1823
1823
  borderColor: "$colors$neutral100",
1824
1824
  $$buttonColor: "$colors$neutral300"
1825
1825
  }
1826
+ },
1827
+ menuDropdownItem: {
1828
+ backgroundColor: "transparent",
1829
+ boxShadow: "none",
1830
+ padding: "0.25rem 0.5rem",
1831
+ border: 0,
1832
+ height: "unset",
1833
+ color: "$$buttonColor",
1834
+ width: "100%",
1835
+ borderRadius: 0,
1836
+ "&:hover": {
1837
+ backgroundColor: "$dark100"
1838
+ }
1826
1839
  }
1827
1840
  },
1828
1841
  fontWeight: {
@@ -3619,8 +3632,55 @@ function Modal(_a) {
3619
3632
  ] }));
3620
3633
  }
3621
3634
 
3635
+ // src/components/MenuDropdown/index.tsx
3636
+ import { useState } from "react";
3637
+
3638
+ // src/components/MenuDropdown/styledComponents.ts
3639
+ var MenuDropdownContainerStyled = styled("div", {
3640
+ position: "relative",
3641
+ width: "fit-content"
3642
+ });
3643
+ var TriggerButtonStyled = styled("button", {
3644
+ backgroundColor: "$brand500",
3645
+ boxShadow: "0px 4px 4px 0px #23354314",
3646
+ borderRadius: "$full",
3647
+ border: "none",
3648
+ height: "1.875rem",
3649
+ width: "1.875rem",
3650
+ cursor: "pointer"
3651
+ });
3652
+ var MenuItemsContainerStyled = styled("div", {
3653
+ position: "absolute",
3654
+ right: 0,
3655
+ top: "2.125rem",
3656
+ zIndex: "999",
3657
+ width: "fit-content",
3658
+ minWidth: "5rem",
3659
+ background: "#fff",
3660
+ maxWidth: "18.75rem",
3661
+ margin: "auto",
3662
+ boxShadow: "0px 4px 4px 0px rgba(35, 53, 67, 0.0784313725)",
3663
+ border: "1px solid $dark300",
3664
+ borderRadius: "0.5rem",
3665
+ padding: "0.5rem 0",
3666
+ height: "fit-content"
3667
+ });
3668
+
3669
+ // src/components/MenuDropdown/index.tsx
3670
+ import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
3671
+ function MenuDropdown({ children }) {
3672
+ const [isOpen, setIsOpen] = useState(false);
3673
+ function handleMenuDropdown() {
3674
+ setIsOpen(!isOpen);
3675
+ }
3676
+ return /* @__PURE__ */ jsxs5(MenuDropdownContainerStyled, { children: [
3677
+ /* @__PURE__ */ jsx14(TriggerButtonStyled, { onClick: handleMenuDropdown, children: /* @__PURE__ */ jsx14(Icon_default, { name: "ellipsis", size: "xl", color: "#FFFFFF" }) }),
3678
+ isOpen && /* @__PURE__ */ jsx14(MenuItemsContainerStyled, { children })
3679
+ ] });
3680
+ }
3681
+
3622
3682
  // src/components/Calendar/index.tsx
3623
- import { useRef, useEffect as useEffect2, useState } from "react";
3683
+ import { useRef, useEffect as useEffect2, useState as useState2 } from "react";
3624
3684
 
3625
3685
  // src/hooks/useOnClickOutside.tsx
3626
3686
  import { useEffect } from "react";
@@ -7738,7 +7798,7 @@ var DayPickerWrapperStyled = styled("div", {
7738
7798
  });
7739
7799
 
7740
7800
  // src/components/Calendar/index.tsx
7741
- import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
7801
+ import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
7742
7802
  function formatToDateMask(value) {
7743
7803
  const numeric = value.replace(/\D/g, "").slice(0, 8);
7744
7804
  const parts = numeric.match(/^(\d{0,2})(\d{0,2})(\d{0,4})$/);
@@ -7762,8 +7822,8 @@ function Calendar(_a) {
7762
7822
  "setSelected",
7763
7823
  "position"
7764
7824
  ]);
7765
- const [inputValue, setInputValue] = useState("");
7766
- const [showContainer, setShowCalendar] = useState(false);
7825
+ const [inputValue, setInputValue] = useState2("");
7826
+ const [showContainer, setShowCalendar] = useState2(false);
7767
7827
  const dropdownRef = useRef(null);
7768
7828
  useOnClickOutside(dropdownRef, () => {
7769
7829
  setShowCalendar(false);
@@ -7787,13 +7847,13 @@ function Calendar(_a) {
7787
7847
  console.warn("Data inv\xE1lida inserida no input:", masked);
7788
7848
  }
7789
7849
  };
7790
- return /* @__PURE__ */ jsx14("div", { children: /* @__PURE__ */ jsxs5(CalendarStyled, __spreadProps(__spreadValues({}, props), { ref: dropdownRef, children: [
7791
- /* @__PURE__ */ jsx14(
7850
+ return /* @__PURE__ */ jsx15("div", { children: /* @__PURE__ */ jsxs6(CalendarStyled, __spreadProps(__spreadValues({}, props), { ref: dropdownRef, children: [
7851
+ /* @__PURE__ */ jsx15(
7792
7852
  CalendarButtonStyled,
7793
7853
  {
7794
7854
  type: "button",
7795
7855
  onClick: () => setShowCalendar((prev) => !prev),
7796
- children: /* @__PURE__ */ jsx14(
7856
+ children: /* @__PURE__ */ jsx15(
7797
7857
  TextField,
7798
7858
  {
7799
7859
  placeholder: "00/00/0000",
@@ -7802,17 +7862,17 @@ function Calendar(_a) {
7802
7862
  onChange: handleInputChange,
7803
7863
  inputMode: "numeric",
7804
7864
  textAlign: "right",
7805
- children: /* @__PURE__ */ jsx14(TextFieldSlot, { children: /* @__PURE__ */ jsx14(Icon_default, { name: "calendar", size: "xl" }) })
7865
+ children: /* @__PURE__ */ jsx15(TextFieldSlot, { children: /* @__PURE__ */ jsx15(Icon_default, { name: "calendar", size: "xl" }) })
7806
7866
  }
7807
7867
  )
7808
7868
  }
7809
7869
  ),
7810
- showContainer && /* @__PURE__ */ jsxs5(
7870
+ showContainer && /* @__PURE__ */ jsxs6(
7811
7871
  CalendarContentStyled,
7812
7872
  {
7813
7873
  style: position === "top" ? { bottom: "110%" } : { top: "110%" },
7814
7874
  children: [
7815
- /* @__PURE__ */ jsx14(Box, { children: /* @__PURE__ */ jsx14(DayPickerWrapperStyled, { children: /* @__PURE__ */ jsx14(
7875
+ /* @__PURE__ */ jsx15(Box, { children: /* @__PURE__ */ jsx15(DayPickerWrapperStyled, { children: /* @__PURE__ */ jsx15(
7816
7876
  DayPicker,
7817
7877
  {
7818
7878
  mode: "single",
@@ -7826,7 +7886,7 @@ function Calendar(_a) {
7826
7886
  endMonth: maxDate
7827
7887
  }
7828
7888
  ) }) }),
7829
- action && /* @__PURE__ */ jsx14(CalendarFooterStyled, { children: /* @__PURE__ */ jsx14(
7889
+ action && /* @__PURE__ */ jsx15(CalendarFooterStyled, { children: /* @__PURE__ */ jsx15(
7830
7890
  Button,
7831
7891
  {
7832
7892
  variant: "text",
@@ -7846,9 +7906,82 @@ function Calendar(_a) {
7846
7906
  ] })) });
7847
7907
  }
7848
7908
 
7909
+ // src/components/Drawer/styledComponents.ts
7910
+ var DrawerOverlayStyled = styled("div", {
7911
+ position: "fixed",
7912
+ top: 0,
7913
+ right: 0,
7914
+ width: "100vw",
7915
+ height: "100vh",
7916
+ background: "rgba(0, 0, 0, 0.4)",
7917
+ zIndex: 1e3
7918
+ });
7919
+ var DrawerContainerStyled = styled("div", {
7920
+ position: "absolute",
7921
+ top: 0,
7922
+ right: 0,
7923
+ maxWidth: "calc(100% - 2rem)",
7924
+ height: "100%",
7925
+ background: "$neutral50",
7926
+ display: "flex",
7927
+ flexDirection: "column",
7928
+ boxShadow: "-4px 0 12px rgba(0, 0, 0, 0.2)",
7929
+ padding: "1.5rem 0",
7930
+ overflowY: "auto"
7931
+ });
7932
+ var DrawerHeaderDiv = styled("div", {
7933
+ display: "flex",
7934
+ justifyContent: "space-between",
7935
+ alignItems: "center",
7936
+ borderBottom: "1px solid $neutral300",
7937
+ padding: "0 1.5rem 1rem",
7938
+ position: "relative"
7939
+ });
7940
+ var DrawerHeaderTitle = styled("h2", {
7941
+ fontSize: "1.125rem",
7942
+ fontWeight: "400",
7943
+ fontFamily: "Work Sans",
7944
+ color: "$dark800",
7945
+ margin: "0"
7946
+ });
7947
+ var DrawerHeaderCloseButton = styled("button", {
7948
+ background: "none",
7949
+ border: "none",
7950
+ cursor: "pointer"
7951
+ });
7952
+
7953
+ // src/components/Drawer/index.tsx
7954
+ import { jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
7955
+ function Drawer({
7956
+ isOpen,
7957
+ onClose,
7958
+ width,
7959
+ backgroundColor,
7960
+ title,
7961
+ children
7962
+ }) {
7963
+ if (!isOpen) return null;
7964
+ return /* @__PURE__ */ jsx16(DrawerOverlayStyled, { children: /* @__PURE__ */ jsxs7(
7965
+ DrawerContainerStyled,
7966
+ {
7967
+ style: {
7968
+ width: width != null ? width : "34.25rem",
7969
+ backgroundColor: colors[backgroundColor != null ? backgroundColor : "neutral50"]
7970
+ },
7971
+ children: [
7972
+ /* @__PURE__ */ jsxs7(DrawerHeaderDiv, { children: [
7973
+ /* @__PURE__ */ jsx16(DrawerHeaderTitle, { children: title }),
7974
+ /* @__PURE__ */ jsx16(DrawerHeaderCloseButton, { onClick: onClose, children: /* @__PURE__ */ jsx16(Icon_default, { size: "xl", color: "$dark600", name: "xmark" }) })
7975
+ ] }),
7976
+ children
7977
+ ]
7978
+ }
7979
+ ) });
7980
+ }
7981
+
7849
7982
  // src/components/TimePicker.tsx
7850
- import { useCallback, useRef as useRef2, useState as useState2 } from "react";
7851
- import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
7983
+ import { useCallback, useRef as useRef2, useState as useState3 } from "react";
7984
+ import { jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
7852
7985
  var TimePickerStyled = styled("div", {
7853
7986
  position: "relative",
7854
7987
  fontFamily: "$default",
@@ -7951,11 +8084,11 @@ function TimePicker({
7951
8084
  setSelected,
7952
8085
  position = "bottom"
7953
8086
  }) {
7954
- const [hours, setHours] = useState2("00");
7955
- const [minutes, setMinutes] = useState2("00");
7956
- const [rawHours, setRawHours] = useState2("00");
7957
- const [rawMinutes, setRawMinutes] = useState2("00");
7958
- const [isOpen, setIsOpen] = useState2(false);
8087
+ const [hours, setHours] = useState3("00");
8088
+ const [minutes, setMinutes] = useState3("00");
8089
+ const [rawHours, setRawHours] = useState3("00");
8090
+ const [rawMinutes, setRawMinutes] = useState3("00");
8091
+ const [isOpen, setIsOpen] = useState3(false);
7959
8092
  const dropdownRef = useRef2(null);
7960
8093
  useOnClickOutside(dropdownRef, () => setIsOpen(false));
7961
8094
  const handleIncrement = useCallback(
@@ -7986,13 +8119,13 @@ function TimePicker({
7986
8119
  },
7987
8120
  [hours, minutes]
7988
8121
  );
7989
- return /* @__PURE__ */ jsxs6(TimePickerStyled, { ref: dropdownRef, children: [
7990
- /* @__PURE__ */ jsx15(
8122
+ return /* @__PURE__ */ jsxs8(TimePickerStyled, { ref: dropdownRef, children: [
8123
+ /* @__PURE__ */ jsx17(
7991
8124
  TimePickerButtonStyled,
7992
8125
  {
7993
8126
  type: "button",
7994
8127
  onClick: () => setIsOpen((prev) => !prev),
7995
- children: /* @__PURE__ */ jsx15(
8128
+ children: /* @__PURE__ */ jsx17(
7996
8129
  TextField,
7997
8130
  {
7998
8131
  value: selected,
@@ -8001,18 +8134,18 @@ function TimePicker({
8001
8134
  placeholder: "00:00",
8002
8135
  typography: "labelSmall",
8003
8136
  fontWeight: "regular",
8004
- children: /* @__PURE__ */ jsx15(TextFieldSlot, { children: /* @__PURE__ */ jsx15(Icon_default, { name: "clock", size: "xl" }) })
8137
+ children: /* @__PURE__ */ jsx17(TextFieldSlot, { children: /* @__PURE__ */ jsx17(Icon_default, { name: "clock", size: "xl" }) })
8005
8138
  }
8006
8139
  )
8007
8140
  }
8008
8141
  ),
8009
- isOpen && /* @__PURE__ */ jsxs6(
8142
+ isOpen && /* @__PURE__ */ jsxs8(
8010
8143
  TimePickerDropdownStyled,
8011
8144
  {
8012
8145
  style: position === "top" ? { bottom: "110%" } : { top: "110%" },
8013
8146
  children: [
8014
- /* @__PURE__ */ jsxs6(TimerPickerContentStyled, { children: [
8015
- ["hours", "minutes"].map((unit) => /* @__PURE__ */ jsxs6(
8147
+ /* @__PURE__ */ jsxs8(TimerPickerContentStyled, { children: [
8148
+ ["hours", "minutes"].map((unit) => /* @__PURE__ */ jsxs8(
8016
8149
  Box,
8017
8150
  {
8018
8151
  style: {
@@ -8021,13 +8154,13 @@ function TimePicker({
8021
8154
  flexDirection: "column"
8022
8155
  },
8023
8156
  children: [
8024
- /* @__PURE__ */ jsx15(
8157
+ /* @__PURE__ */ jsx17(
8025
8158
  Button,
8026
8159
  {
8027
8160
  type: "button",
8028
8161
  variant: "text",
8029
8162
  onClick: () => handleIncrement(unit),
8030
- children: /* @__PURE__ */ jsxs6(
8163
+ children: /* @__PURE__ */ jsxs8(
8031
8164
  "svg",
8032
8165
  {
8033
8166
  xmlns: "http://www.w3.org/2000/svg",
@@ -8036,14 +8169,14 @@ function TimePicker({
8036
8169
  viewBox: "0 0 32 32",
8037
8170
  fill: "none",
8038
8171
  children: [
8039
- /* @__PURE__ */ jsx15(
8172
+ /* @__PURE__ */ jsx17(
8040
8173
  "path",
8041
8174
  {
8042
8175
  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",
8043
8176
  fill: "white"
8044
8177
  }
8045
8178
  ),
8046
- /* @__PURE__ */ jsx15(
8179
+ /* @__PURE__ */ jsx17(
8047
8180
  "path",
8048
8181
  {
8049
8182
  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",
@@ -8055,7 +8188,7 @@ function TimePicker({
8055
8188
  )
8056
8189
  }
8057
8190
  ),
8058
- /* @__PURE__ */ jsx15(
8191
+ /* @__PURE__ */ jsx17(
8059
8192
  InputStyled,
8060
8193
  {
8061
8194
  inputMode: "numeric",
@@ -8093,13 +8226,13 @@ function TimePicker({
8093
8226
  }
8094
8227
  }
8095
8228
  ),
8096
- /* @__PURE__ */ jsx15(
8229
+ /* @__PURE__ */ jsx17(
8097
8230
  Button,
8098
8231
  {
8099
8232
  type: "button",
8100
8233
  variant: "text",
8101
8234
  onClick: () => handleDecrement(unit),
8102
- children: /* @__PURE__ */ jsxs6(
8235
+ children: /* @__PURE__ */ jsxs8(
8103
8236
  "svg",
8104
8237
  {
8105
8238
  xmlns: "http://www.w3.org/2000/svg",
@@ -8108,14 +8241,14 @@ function TimePicker({
8108
8241
  viewBox: "0 0 32 32",
8109
8242
  fill: "none",
8110
8243
  children: [
8111
- /* @__PURE__ */ jsx15(
8244
+ /* @__PURE__ */ jsx17(
8112
8245
  "path",
8113
8246
  {
8114
8247
  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",
8115
8248
  fill: "white"
8116
8249
  }
8117
8250
  ),
8118
- /* @__PURE__ */ jsx15(
8251
+ /* @__PURE__ */ jsx17(
8119
8252
  "path",
8120
8253
  {
8121
8254
  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",
@@ -8131,9 +8264,9 @@ function TimePicker({
8131
8264
  },
8132
8265
  unit
8133
8266
  )),
8134
- /* @__PURE__ */ jsx15(Text, { children: ":" })
8267
+ /* @__PURE__ */ jsx17(Text, { children: ":" })
8135
8268
  ] }),
8136
- /* @__PURE__ */ jsx15(TimePickerFooterStyled, { children: /* @__PURE__ */ jsx15(
8269
+ /* @__PURE__ */ jsx17(TimePickerFooterStyled, { children: /* @__PURE__ */ jsx17(
8137
8270
  Button,
8138
8271
  {
8139
8272
  type: "button",
@@ -8156,7 +8289,7 @@ function TimePicker({
8156
8289
 
8157
8290
  // src/components/Alert.tsx
8158
8291
  import { Theme as Theme3, AlertDialog } from "@radix-ui/themes";
8159
- import { Fragment, jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
8292
+ import { Fragment, jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
8160
8293
  var AlertDialogSimpleStyled = styled(AlertDialog.Content, {
8161
8294
  fontFamily: "$default",
8162
8295
  lineHeight: "$base",
@@ -8270,19 +8403,19 @@ function Alert(_a) {
8270
8403
  "completAlert",
8271
8404
  "simpleAlert"
8272
8405
  ]);
8273
- return /* @__PURE__ */ jsxs7(Fragment, { children: [
8274
- simpleAlert && /* @__PURE__ */ jsx16(Theme3, { children: /* @__PURE__ */ jsxs7(AlertDialog.Root, { children: [
8275
- /* @__PURE__ */ jsx16(AlertDialog.Trigger, { children: trigger }),
8276
- /* @__PURE__ */ jsx16(Fragment, { children: /* @__PURE__ */ jsxs7(AlertDialogSimpleStyled, __spreadProps(__spreadValues({}, props), { children: [
8277
- /* @__PURE__ */ jsx16(AlertDialogDescriptionStyled, { children: simpleAlert.description }),
8278
- simpleAlert.cancel && /* @__PURE__ */ jsx16(AlertDialog.Cancel, { children: /* @__PURE__ */ jsx16(Button, { variant: "text", children: /* @__PURE__ */ jsx16(Icon_default, { name: "close" }) }) })
8406
+ return /* @__PURE__ */ jsxs9(Fragment, { children: [
8407
+ simpleAlert && /* @__PURE__ */ jsx18(Theme3, { children: /* @__PURE__ */ jsxs9(AlertDialog.Root, { children: [
8408
+ /* @__PURE__ */ jsx18(AlertDialog.Trigger, { children: trigger }),
8409
+ /* @__PURE__ */ jsx18(Fragment, { children: /* @__PURE__ */ jsxs9(AlertDialogSimpleStyled, __spreadProps(__spreadValues({}, props), { children: [
8410
+ /* @__PURE__ */ jsx18(AlertDialogDescriptionStyled, { children: simpleAlert.description }),
8411
+ simpleAlert.cancel && /* @__PURE__ */ jsx18(AlertDialog.Cancel, { children: /* @__PURE__ */ jsx18(Button, { variant: "text", children: /* @__PURE__ */ jsx18(Icon_default, { name: "close" }) }) })
8279
8412
  ] })) })
8280
8413
  ] }) }),
8281
- completAlert && /* @__PURE__ */ jsx16(Theme3, { children: /* @__PURE__ */ jsxs7(AlertDialog.Root, { children: [
8282
- /* @__PURE__ */ jsx16(AlertDialog.Trigger, { children: trigger }),
8283
- /* @__PURE__ */ jsxs7(AlertDialogCompleteStyled, { children: [
8284
- /* @__PURE__ */ jsxs7(AlertDialogRowStyled, { className: "le-alert-dialog-row", children: [
8285
- color === "success" && /* @__PURE__ */ jsxs7(
8414
+ completAlert && /* @__PURE__ */ jsx18(Theme3, { children: /* @__PURE__ */ jsxs9(AlertDialog.Root, { children: [
8415
+ /* @__PURE__ */ jsx18(AlertDialog.Trigger, { children: trigger }),
8416
+ /* @__PURE__ */ jsxs9(AlertDialogCompleteStyled, { children: [
8417
+ /* @__PURE__ */ jsxs9(AlertDialogRowStyled, { className: "le-alert-dialog-row", children: [
8418
+ color === "success" && /* @__PURE__ */ jsxs9(
8286
8419
  "svg",
8287
8420
  {
8288
8421
  width: "56",
@@ -8291,18 +8424,18 @@ function Alert(_a) {
8291
8424
  fill: "none",
8292
8425
  xmlns: "http://www.w3.org/2000/svg",
8293
8426
  children: [
8294
- /* @__PURE__ */ jsx16("g", { clipPath: "url(#clip0_1428_9995)", children: /* @__PURE__ */ jsx16(
8427
+ /* @__PURE__ */ jsx18("g", { clipPath: "url(#clip0_1428_9995)", children: /* @__PURE__ */ jsx18(
8295
8428
  "path",
8296
8429
  {
8297
8430
  d: "M28 56C35.4261 56 42.548 53.05 47.799 47.799C53.05 42.548 56 35.4261 56 28C56 20.5739 53.05 13.452 47.799 8.20101C42.548 2.94999 35.4261 0 28 0C20.5739 0 13.452 2.94999 8.20101 8.20101C2.94999 13.452 0 20.5739 0 28C0 35.4261 2.94999 42.548 8.20101 47.799C13.452 53.05 20.5739 56 28 56ZM40.3594 22.8594L26.3594 36.8594C25.3312 37.8875 23.6688 37.8875 22.6516 36.8594L15.6516 29.8594C14.6234 28.8312 14.6234 27.1688 15.6516 26.1516C16.6797 25.1344 18.3422 25.1234 19.3594 26.1516L24.5 31.2922L36.6406 19.1406C37.6688 18.1125 39.3312 18.1125 40.3484 19.1406C41.3656 20.1688 41.3766 21.8312 40.3484 22.8484L40.3594 22.8594Z",
8298
8431
  fill: "#1E8535"
8299
8432
  }
8300
8433
  ) }),
8301
- /* @__PURE__ */ jsx16("defs", { children: /* @__PURE__ */ jsx16("clipPath", { id: "clip0_1428_9995", children: /* @__PURE__ */ jsx16("rect", { width: "56", height: "56", fill: "white" }) }) })
8434
+ /* @__PURE__ */ jsx18("defs", { children: /* @__PURE__ */ jsx18("clipPath", { id: "clip0_1428_9995", children: /* @__PURE__ */ jsx18("rect", { width: "56", height: "56", fill: "white" }) }) })
8302
8435
  ]
8303
8436
  }
8304
8437
  ),
8305
- color === "error" && /* @__PURE__ */ jsxs7(
8438
+ color === "error" && /* @__PURE__ */ jsxs9(
8306
8439
  "svg",
8307
8440
  {
8308
8441
  width: "56",
@@ -8311,18 +8444,18 @@ function Alert(_a) {
8311
8444
  fill: "none",
8312
8445
  xmlns: "http://www.w3.org/2000/svg",
8313
8446
  children: [
8314
- /* @__PURE__ */ jsx16("g", { clipPath: "url(#clip0_1428_10022)", children: /* @__PURE__ */ jsx16(
8447
+ /* @__PURE__ */ jsx18("g", { clipPath: "url(#clip0_1428_10022)", children: /* @__PURE__ */ jsx18(
8315
8448
  "path",
8316
8449
  {
8317
8450
  d: "M28 56C35.4261 56 42.548 53.05 47.799 47.799C53.05 42.548 56 35.4261 56 28C56 20.5739 53.05 13.452 47.799 8.20101C42.548 2.94999 35.4261 0 28 0C20.5739 0 13.452 2.94999 8.20101 8.20101C2.94999 13.452 0 20.5739 0 28C0 35.4261 2.94999 42.548 8.20101 47.799C13.452 53.05 20.5739 56 28 56ZM19.1406 19.1406C20.1687 18.1125 21.8312 18.1125 22.8484 19.1406L27.9891 24.2812L33.1297 19.1406C34.1578 18.1125 35.8203 18.1125 36.8375 19.1406C37.8547 20.1687 37.8656 21.8312 36.8375 22.8484L31.6969 27.9891L36.8375 33.1297C37.8656 34.1578 37.8656 35.8203 36.8375 36.8375C35.8094 37.8547 34.1469 37.8656 33.1297 36.8375L27.9891 31.6969L22.8484 36.8375C21.8203 37.8656 20.1578 37.8656 19.1406 36.8375C18.1234 35.8094 18.1125 34.1469 19.1406 33.1297L24.2812 27.9891L19.1406 22.8484C18.1125 21.8203 18.1125 20.1578 19.1406 19.1406Z",
8318
8451
  fill: "#AD1F2B"
8319
8452
  }
8320
8453
  ) }),
8321
- /* @__PURE__ */ jsx16("defs", { children: /* @__PURE__ */ jsx16("clipPath", { id: "clip0_1428_10022", children: /* @__PURE__ */ jsx16("rect", { width: "56", height: "56", fill: "white" }) }) })
8454
+ /* @__PURE__ */ jsx18("defs", { children: /* @__PURE__ */ jsx18("clipPath", { id: "clip0_1428_10022", children: /* @__PURE__ */ jsx18("rect", { width: "56", height: "56", fill: "white" }) }) })
8322
8455
  ]
8323
8456
  }
8324
8457
  ),
8325
- color === "warning" && /* @__PURE__ */ jsxs7(
8458
+ color === "warning" && /* @__PURE__ */ jsxs9(
8326
8459
  "svg",
8327
8460
  {
8328
8461
  width: "56",
@@ -8331,18 +8464,18 @@ function Alert(_a) {
8331
8464
  fill: "none",
8332
8465
  xmlns: "http://www.w3.org/2000/svg",
8333
8466
  children: [
8334
- /* @__PURE__ */ jsx16("g", { clipPath: "url(#clip0_1428_10038)", children: /* @__PURE__ */ jsx16(
8467
+ /* @__PURE__ */ jsx18("g", { clipPath: "url(#clip0_1428_10038)", children: /* @__PURE__ */ jsx18(
8335
8468
  "path",
8336
8469
  {
8337
8470
  d: "M28 56C35.4261 56 42.548 53.05 47.799 47.799C53.05 42.548 56 35.4261 56 28C56 20.5739 53.05 13.452 47.799 8.20101C42.548 2.94999 35.4261 0 28 0C20.5739 0 13.452 2.94999 8.20101 8.20101C2.94999 13.452 0 20.5739 0 28C0 35.4261 2.94999 42.548 8.20101 47.799C13.452 53.05 20.5739 56 28 56ZM28 14C29.4547 14 30.625 15.1703 30.625 16.625V28.875C30.625 30.3297 29.4547 31.5 28 31.5C26.5453 31.5 25.375 30.3297 25.375 28.875V16.625C25.375 15.1703 26.5453 14 28 14ZM24.5 38.5C24.5 37.5717 24.8687 36.6815 25.5251 36.0251C26.1815 35.3688 27.0717 35 28 35C28.9283 35 29.8185 35.3688 30.4749 36.0251C31.1313 36.6815 31.5 37.5717 31.5 38.5C31.5 39.4283 31.1313 40.3185 30.4749 40.9749C29.8185 41.6312 28.9283 42 28 42C27.0717 42 26.1815 41.6312 25.5251 40.9749C24.8687 40.3185 24.5 39.4283 24.5 38.5Z",
8338
8471
  fill: "#CC9A06"
8339
8472
  }
8340
8473
  ) }),
8341
- /* @__PURE__ */ jsx16("defs", { children: /* @__PURE__ */ jsx16("clipPath", { id: "clip0_1428_10038", children: /* @__PURE__ */ jsx16("rect", { width: "56", height: "56", fill: "white" }) }) })
8474
+ /* @__PURE__ */ jsx18("defs", { children: /* @__PURE__ */ jsx18("clipPath", { id: "clip0_1428_10038", children: /* @__PURE__ */ jsx18("rect", { width: "56", height: "56", fill: "white" }) }) })
8342
8475
  ]
8343
8476
  }
8344
8477
  ),
8345
- color === "info" && /* @__PURE__ */ jsxs7(
8478
+ color === "info" && /* @__PURE__ */ jsxs9(
8346
8479
  "svg",
8347
8480
  {
8348
8481
  width: "40",
@@ -8351,35 +8484,35 @@ function Alert(_a) {
8351
8484
  fill: "none",
8352
8485
  xmlns: "http://www.w3.org/2000/svg",
8353
8486
  children: [
8354
- /* @__PURE__ */ jsx16("g", { clipPath: "url(#clip0_1645_46)", children: /* @__PURE__ */ jsx16(
8487
+ /* @__PURE__ */ jsx18("g", { clipPath: "url(#clip0_1645_46)", children: /* @__PURE__ */ jsx18(
8355
8488
  "path",
8356
8489
  {
8357
8490
  d: "M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40ZM20 10C21.0391 10 21.875 10.8359 21.875 11.875V20.625C21.875 21.6641 21.0391 22.5 20 22.5C18.9609 22.5 18.125 21.6641 18.125 20.625V11.875C18.125 10.8359 18.9609 10 20 10ZM17.5 27.5C17.5 26.837 17.7634 26.2011 18.2322 25.7322C18.7011 25.2634 19.337 25 20 25C20.663 25 21.2989 25.2634 21.7678 25.7322C22.2366 26.2011 22.5 26.837 22.5 27.5C22.5 28.163 22.2366 28.7989 21.7678 29.2678C21.2989 29.7366 20.663 30 20 30C19.337 30 18.7011 29.7366 18.2322 29.2678C17.7634 28.7989 17.5 28.163 17.5 27.5Z",
8358
8491
  fill: "#9FB6C7"
8359
8492
  }
8360
8493
  ) }),
8361
- /* @__PURE__ */ jsx16("defs", { children: /* @__PURE__ */ jsx16("clipPath", { id: "clip0_1645_46", children: /* @__PURE__ */ jsx16("rect", { width: "40", height: "40", fill: "white" }) }) })
8494
+ /* @__PURE__ */ jsx18("defs", { children: /* @__PURE__ */ jsx18("clipPath", { id: "clip0_1645_46", children: /* @__PURE__ */ jsx18("rect", { width: "40", height: "40", fill: "white" }) }) })
8362
8495
  ]
8363
8496
  }
8364
8497
  ),
8365
- completAlert.title && /* @__PURE__ */ jsx16(AlertDialogTitleStyled, { children: completAlert.title }),
8366
- /* @__PURE__ */ jsxs7(AlertDialogDescriptionStyled, { children: [
8367
- completAlert.subtitle && /* @__PURE__ */ jsx16(
8498
+ completAlert.title && /* @__PURE__ */ jsx18(AlertDialogTitleStyled, { children: completAlert.title }),
8499
+ /* @__PURE__ */ jsxs9(AlertDialogDescriptionStyled, { children: [
8500
+ completAlert.subtitle && /* @__PURE__ */ jsx18(
8368
8501
  Text,
8369
8502
  {
8370
8503
  css: {
8371
8504
  fontSize: "$16"
8372
8505
  },
8373
8506
  asChild: true,
8374
- children: /* @__PURE__ */ jsx16("h2", { children: completAlert.subtitle })
8507
+ children: /* @__PURE__ */ jsx18("h2", { children: completAlert.subtitle })
8375
8508
  }
8376
8509
  ),
8377
8510
  completAlert.description
8378
8511
  ] })
8379
8512
  ] }),
8380
- completAlert.onAction || completAlert.cancel ? /* @__PURE__ */ jsx16(AlertDialoghrStyled, {}) : null,
8381
- /* @__PURE__ */ jsx16(AlertDialogRowStyled, { children: /* @__PURE__ */ jsxs7(Flex2, { gap: "10", justify: "end", width: "100%", children: [
8382
- completAlert.onAction && /* @__PURE__ */ jsx16(AlertDialog.Action, { children: /* @__PURE__ */ jsx16(
8513
+ completAlert.onAction || completAlert.cancel ? /* @__PURE__ */ jsx18(AlertDialoghrStyled, {}) : null,
8514
+ /* @__PURE__ */ jsx18(AlertDialogRowStyled, { children: /* @__PURE__ */ jsxs9(Flex2, { gap: "10", justify: "end", width: "100%", children: [
8515
+ completAlert.onAction && /* @__PURE__ */ jsx18(AlertDialog.Action, { children: /* @__PURE__ */ jsx18(
8383
8516
  Button,
8384
8517
  {
8385
8518
  variant: "contained",
@@ -8387,7 +8520,7 @@ function Alert(_a) {
8387
8520
  children: completAlert.actionText || "Salvar"
8388
8521
  }
8389
8522
  ) }),
8390
- completAlert.cancel && /* @__PURE__ */ jsx16(AlertDialog.Cancel, { children: /* @__PURE__ */ jsx16(Button, { variant: "outlined", color: "neutral", children: completAlert.cancelText || "Cancelar" }) })
8523
+ completAlert.cancel && /* @__PURE__ */ jsx18(AlertDialog.Cancel, { children: /* @__PURE__ */ jsx18(Button, { variant: "outlined", color: "neutral", children: completAlert.cancelText || "Cancelar" }) })
8391
8524
  ] }) })
8392
8525
  ] })
8393
8526
  ] }) })
@@ -8396,7 +8529,7 @@ function Alert(_a) {
8396
8529
 
8397
8530
  // src/components/Switch.tsx
8398
8531
  import { Switch as RadixSwitch } from "@radix-ui/themes";
8399
- import { jsx as jsx17 } from "react/jsx-runtime";
8532
+ import { jsx as jsx19 } from "react/jsx-runtime";
8400
8533
  var SwitchStyled = styled(RadixSwitch, {
8401
8534
  all: "unset",
8402
8535
  borderRadius: "$full",
@@ -8490,13 +8623,13 @@ var SwitchStyled = styled(RadixSwitch, {
8490
8623
  }
8491
8624
  });
8492
8625
  function Switch(props) {
8493
- return /* @__PURE__ */ jsx17(SwitchStyled, __spreadValues({ color: "brand", defaultChecked: true }, props));
8626
+ return /* @__PURE__ */ jsx19(SwitchStyled, __spreadValues({ color: "brand", defaultChecked: true }, props));
8494
8627
  }
8495
8628
 
8496
8629
  // src/components/Step.tsx
8497
8630
  import React5 from "react";
8498
8631
  import { Box as Box2, Tabs as StepRadix } from "@radix-ui/themes";
8499
- import { jsx as jsx18 } from "react/jsx-runtime";
8632
+ import { jsx as jsx20 } from "react/jsx-runtime";
8500
8633
  var StepStyled = styled("div", {
8501
8634
  fontFamily: "$default",
8502
8635
  color: "$gray100",
@@ -8569,7 +8702,7 @@ var StepListStyled = styled(StepRadix.List, {
8569
8702
  });
8570
8703
  function Step(_a) {
8571
8704
  var _b = _a, { children, defaultValue } = _b, props = __objRest(_b, ["children", "defaultValue"]);
8572
- return /* @__PURE__ */ jsx18(StepRadix.Root, { defaultValue: String(defaultValue), children: /* @__PURE__ */ jsx18(StepStyled, __spreadProps(__spreadValues({}, props), { children })) });
8705
+ return /* @__PURE__ */ jsx20(StepRadix.Root, { defaultValue: String(defaultValue), children: /* @__PURE__ */ jsx20(StepStyled, __spreadProps(__spreadValues({}, props), { children })) });
8573
8706
  }
8574
8707
  function StepTrigger(_a) {
8575
8708
  var _b = _a, {
@@ -8582,7 +8715,7 @@ function StepTrigger(_a) {
8582
8715
  "currentStep"
8583
8716
  ]);
8584
8717
  const isActiveOrPrevious = currentStep !== void 0 && value <= currentStep;
8585
- return /* @__PURE__ */ jsx18(
8718
+ return /* @__PURE__ */ jsx20(
8586
8719
  StepTriggerStyled,
8587
8720
  __spreadProps(__spreadValues({
8588
8721
  "data-filled": isActiveOrPrevious,
@@ -8600,7 +8733,7 @@ function StepContent(_a) {
8600
8733
  "value",
8601
8734
  "children"
8602
8735
  ]);
8603
- return /* @__PURE__ */ jsx18(StepRadix.Content, __spreadProps(__spreadValues({ value: String(value) }, props), { children }));
8736
+ return /* @__PURE__ */ jsx20(StepRadix.Content, __spreadProps(__spreadValues({ value: String(value) }, props), { children }));
8604
8737
  }
8605
8738
  function StepList(_a) {
8606
8739
  var _b = _a, {
@@ -8610,7 +8743,7 @@ function StepList(_a) {
8610
8743
  "children",
8611
8744
  "currentStep"
8612
8745
  ]);
8613
- return /* @__PURE__ */ jsx18(StepListStyled, __spreadProps(__spreadValues({}, props), { children: React5.Children.map(children, (child) => {
8746
+ return /* @__PURE__ */ jsx20(StepListStyled, __spreadProps(__spreadValues({}, props), { children: React5.Children.map(children, (child) => {
8614
8747
  if (React5.isValidElement(child) && child.type === StepTrigger) {
8615
8748
  return React5.cloneElement(child, { currentStep });
8616
8749
  }
@@ -8623,12 +8756,12 @@ function StepWrapper(_a) {
8623
8756
  } = _b, props = __objRest(_b, [
8624
8757
  "children"
8625
8758
  ]);
8626
- return /* @__PURE__ */ jsx18(Box2, __spreadProps(__spreadValues({}, props), { children }));
8759
+ return /* @__PURE__ */ jsx20(Box2, __spreadProps(__spreadValues({}, props), { children }));
8627
8760
  }
8628
8761
 
8629
8762
  // src/components/Card.tsx
8630
8763
  import { Card as CardRadix } from "@radix-ui/themes";
8631
- import { jsx as jsx19 } from "react/jsx-runtime";
8764
+ import { jsx as jsx21 } from "react/jsx-runtime";
8632
8765
  var CardStyled = styled(CardRadix, {
8633
8766
  borderRadius: "$2xl",
8634
8767
  border: "1px solid $dark100",
@@ -8664,13 +8797,13 @@ var CardStyled = styled(CardRadix, {
8664
8797
  });
8665
8798
  function Card(_a) {
8666
8799
  var _b = _a, { asChild, children } = _b, props = __objRest(_b, ["asChild", "children"]);
8667
- return /* @__PURE__ */ jsx19(CardStyled, __spreadProps(__spreadValues({}, props), { children }));
8800
+ return /* @__PURE__ */ jsx21(CardStyled, __spreadProps(__spreadValues({}, props), { children }));
8668
8801
  }
8669
8802
 
8670
8803
  // src/components/TextareaField.tsx
8671
8804
  import { TextArea as TextAreaRadix } from "@radix-ui/themes";
8672
8805
  import React6, { useRef as useRef3 } from "react";
8673
- import { jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
8806
+ import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
8674
8807
  var TextareaFieldStyle = styled(TextAreaRadix, {
8675
8808
  display: "flex",
8676
8809
  flex: 1,
@@ -8749,8 +8882,8 @@ var TextareaField = React6.forwardRef((_a, fowardedRef) => {
8749
8882
  updateCharCountBadge();
8750
8883
  (_a2 = props.onInput) == null ? void 0 : _a2.call(props, e);
8751
8884
  };
8752
- return /* @__PURE__ */ jsxs8(TextareaContainer, { color, children: [
8753
- /* @__PURE__ */ jsx20(
8885
+ return /* @__PURE__ */ jsxs10(TextareaContainer, { color, children: [
8886
+ /* @__PURE__ */ jsx22(
8754
8887
  TextareaFieldStyle,
8755
8888
  __spreadValues({
8756
8889
  rows: 4,
@@ -8768,12 +8901,12 @@ var TextareaField = React6.forwardRef((_a, fowardedRef) => {
8768
8901
  maxLength
8769
8902
  }, props)
8770
8903
  ),
8771
- maxLength && /* @__PURE__ */ jsx20(TextareaLimitIndicator, { children: /* @__PURE__ */ jsx20(Text, { typography: "badgeMedium", ref: badgeRef, children: maxLength }) })
8904
+ maxLength && /* @__PURE__ */ jsx22(TextareaLimitIndicator, { children: /* @__PURE__ */ jsx22(Text, { typography: "badgeMedium", ref: badgeRef, children: maxLength }) })
8772
8905
  ] });
8773
8906
  });
8774
8907
 
8775
8908
  // src/components/Toast/components/ToastItem.tsx
8776
- import { useState as useState3 } from "react";
8909
+ import { useState as useState4 } from "react";
8777
8910
 
8778
8911
  // src/components/Toast/styles/index.ts
8779
8912
  import { keyframes as keyframes2 } from "@stitches/react";
@@ -8899,19 +9032,19 @@ var ToastClose = styled(ToastPrimitive.Close, {
8899
9032
  });
8900
9033
 
8901
9034
  // src/components/Toast/components/ToastItem.tsx
8902
- import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
9035
+ import { jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
8903
9036
  function ToastItem({
8904
9037
  toast,
8905
9038
  onRemove
8906
9039
  }) {
8907
- const [open, setOpen] = useState3(true);
9040
+ const [open, setOpen] = useState4(true);
8908
9041
  const handleOpenChange = (open2) => {
8909
9042
  setOpen(open2);
8910
9043
  if (!open2) {
8911
9044
  onRemove(toast.id);
8912
9045
  }
8913
9046
  };
8914
- return /* @__PURE__ */ jsxs9(
9047
+ return /* @__PURE__ */ jsxs11(
8915
9048
  ToastRoot,
8916
9049
  {
8917
9050
  type: toast.type,
@@ -8919,18 +9052,18 @@ function ToastItem({
8919
9052
  open,
8920
9053
  onOpenChange: handleOpenChange,
8921
9054
  children: [
8922
- (toast == null ? void 0 : toast.icon) && /* @__PURE__ */ jsx21(Icon_default, { name: toast.icon, size: "xl" }),
8923
- /* @__PURE__ */ jsx21("div", { style: { flex: 1 }, children: /* @__PURE__ */ jsx21(Text, { typography: "bodyS", fontWeight: "medium", children: toast.message }) }),
8924
- /* @__PURE__ */ jsx21(ToastClose, { "aria-label": "Close", children: /* @__PURE__ */ jsx21(Icon_default, { name: "xmark", size: "md" }) })
9055
+ (toast == null ? void 0 : toast.icon) && /* @__PURE__ */ jsx23(Icon_default, { name: toast.icon, size: "xl" }),
9056
+ /* @__PURE__ */ jsx23("div", { style: { flex: 1 }, children: /* @__PURE__ */ jsx23(Text, { typography: "bodyS", fontWeight: "medium", children: toast.message }) }),
9057
+ /* @__PURE__ */ jsx23(ToastClose, { "aria-label": "Close", children: /* @__PURE__ */ jsx23(Icon_default, { name: "xmark", size: "md" }) })
8925
9058
  ]
8926
9059
  }
8927
9060
  );
8928
9061
  }
8929
9062
 
8930
9063
  // src/components/Toast/components/ToastProvider.tsx
8931
- import { createContext, useState as useState4 } from "react";
9064
+ import { createContext, useState as useState5 } from "react";
8932
9065
  import * as ToastPrimitive2 from "@radix-ui/react-toast";
8933
- import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
9066
+ import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
8934
9067
  var ToastContext = createContext(null);
8935
9068
  function ToastProvider({
8936
9069
  children,
@@ -8938,7 +9071,7 @@ function ToastProvider({
8938
9071
  maxToasts = 5,
8939
9072
  swipeDirection = "right"
8940
9073
  }) {
8941
- const [toasts, setToasts] = useState4([]);
9074
+ const [toasts, setToasts] = useState5([]);
8942
9075
  const addToast = (toastData) => {
8943
9076
  const id = Math.random().toString(36).substr(2, 9);
8944
9077
  const newToast = __spreadProps(__spreadValues({
@@ -8966,10 +9099,10 @@ function ToastProvider({
8966
9099
  removeToast,
8967
9100
  removeAllToasts
8968
9101
  };
8969
- return /* @__PURE__ */ jsx22(ToastContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs10(ToastPrimitive2.Provider, { swipeDirection, children: [
9102
+ return /* @__PURE__ */ jsx24(ToastContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs12(ToastPrimitive2.Provider, { swipeDirection, children: [
8970
9103
  children,
8971
- toasts.map((toast) => /* @__PURE__ */ jsx22(ToastItem, { toast, onRemove: removeToast }, toast.id)),
8972
- /* @__PURE__ */ jsx22(ToastViewport, {})
9104
+ toasts.map((toast) => /* @__PURE__ */ jsx24(ToastItem, { toast, onRemove: removeToast }, toast.id)),
9105
+ /* @__PURE__ */ jsx24(ToastViewport, {})
8973
9106
  ] }) });
8974
9107
  }
8975
9108
 
@@ -8985,7 +9118,7 @@ var useToast = () => {
8985
9118
 
8986
9119
  // src/components/Tooltip/index.tsx
8987
9120
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
8988
- import { jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
9121
+ import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
8989
9122
  var TooltipProvider = TooltipPrimitive.Provider;
8990
9123
  var TooltipRoot = TooltipPrimitive.Root;
8991
9124
  var TooltipTrigger = TooltipPrimitive.Trigger;
@@ -9024,18 +9157,18 @@ function Tooltip({
9024
9157
  delayDuration = 200,
9025
9158
  side = "top"
9026
9159
  }) {
9027
- return /* @__PURE__ */ jsx23(TooltipProvider, { children: /* @__PURE__ */ jsxs11(TooltipRoot, { delayDuration, children: [
9028
- /* @__PURE__ */ jsx23(TooltipTrigger, { asChild: true, children }),
9029
- /* @__PURE__ */ jsxs11(TooltipContent, { side, sideOffset: 5, children: [
9030
- typeof content === "string" ? /* @__PURE__ */ jsx23(Text, { typography: "tooltip", children: content }) : content,
9031
- /* @__PURE__ */ jsx23(TooltipArrow, {})
9160
+ return /* @__PURE__ */ jsx25(TooltipProvider, { children: /* @__PURE__ */ jsxs13(TooltipRoot, { delayDuration, children: [
9161
+ /* @__PURE__ */ jsx25(TooltipTrigger, { asChild: true, children }),
9162
+ /* @__PURE__ */ jsxs13(TooltipContent, { side, sideOffset: 5, children: [
9163
+ typeof content === "string" ? /* @__PURE__ */ jsx25(Text, { typography: "tooltip", children: content }) : content,
9164
+ /* @__PURE__ */ jsx25(TooltipArrow, {})
9032
9165
  ] })
9033
9166
  ] }) });
9034
9167
  }
9035
9168
 
9036
9169
  // src/components/Grid.tsx
9037
9170
  import { Grid as GridRadix } from "@radix-ui/themes";
9038
- import { jsx as jsx24 } from "react/jsx-runtime";
9171
+ import { jsx as jsx26 } from "react/jsx-runtime";
9039
9172
  var GridStyled = styled(GridRadix, {
9040
9173
  display: "grid",
9041
9174
  variants: {
@@ -9157,12 +9290,12 @@ var GridStyled = styled(GridRadix, {
9157
9290
  });
9158
9291
  function Grid(_a) {
9159
9292
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
9160
- return /* @__PURE__ */ jsx24(GridStyled, __spreadProps(__spreadValues({}, props), { children }));
9293
+ return /* @__PURE__ */ jsx26(GridStyled, __spreadProps(__spreadValues({}, props), { children }));
9161
9294
  }
9162
9295
 
9163
9296
  // src/components/Container.tsx
9164
9297
  import { Container as ContainerRadix } from "@radix-ui/themes";
9165
- import { jsx as jsx25 } from "react/jsx-runtime";
9298
+ import { jsx as jsx27 } from "react/jsx-runtime";
9166
9299
  var ContainerStyled = styled(ContainerRadix, {
9167
9300
  variants: {
9168
9301
  size: {
@@ -9192,12 +9325,12 @@ var ContainerStyled = styled(ContainerRadix, {
9192
9325
  });
9193
9326
  function Container(_a) {
9194
9327
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
9195
- return /* @__PURE__ */ jsx25(ContainerStyled, __spreadProps(__spreadValues({}, props), { children }));
9328
+ return /* @__PURE__ */ jsx27(ContainerStyled, __spreadProps(__spreadValues({}, props), { children }));
9196
9329
  }
9197
9330
 
9198
9331
  // src/components/Section.tsx
9199
9332
  import { Section as SectionRadix } from "@radix-ui/themes";
9200
- import { jsx as jsx26 } from "react/jsx-runtime";
9333
+ import { jsx as jsx28 } from "react/jsx-runtime";
9201
9334
  var SectionStyled = styled(SectionRadix, {
9202
9335
  variants: {
9203
9336
  size: {
@@ -9221,26 +9354,26 @@ var SectionStyled = styled(SectionRadix, {
9221
9354
  });
9222
9355
  function Section(_a) {
9223
9356
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
9224
- return /* @__PURE__ */ jsx26(SectionStyled, __spreadProps(__spreadValues({}, props), { children }));
9357
+ return /* @__PURE__ */ jsx28(SectionStyled, __spreadProps(__spreadValues({}, props), { children }));
9225
9358
  }
9226
9359
 
9227
9360
  // src/components/FormFields/ErrorFormMessage.tsx
9228
9361
  import { faXmarkCircle } from "@fortawesome/free-solid-svg-icons";
9229
9362
  import { FontAwesomeIcon as FontAwesomeIcon2 } from "@fortawesome/react-fontawesome";
9230
- import { jsx as jsx27, jsxs as jsxs12 } from "react/jsx-runtime";
9363
+ import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
9231
9364
  var ErrorFormMessage = ({ message: message2 }) => {
9232
9365
  if (!message2) return null;
9233
9366
  if (typeof message2 !== "string") {
9234
9367
  return null;
9235
9368
  }
9236
- return /* @__PURE__ */ jsxs12(Flex2, { justify: "start", align: "center", gap: 6, children: [
9237
- /* @__PURE__ */ jsx27(FontAwesomeIcon2, { icon: faXmarkCircle, color: colors.error600, size: "1x" }),
9238
- /* @__PURE__ */ jsx27(Text, { typography: "bodyXS", fontWeight: "medium", color: "error600", children: message2 })
9369
+ return /* @__PURE__ */ jsxs14(Flex2, { justify: "start", align: "center", gap: 6, children: [
9370
+ /* @__PURE__ */ jsx29(FontAwesomeIcon2, { icon: faXmarkCircle, color: colors.error600, size: "1x" }),
9371
+ /* @__PURE__ */ jsx29(Text, { typography: "bodyXS", fontWeight: "medium", color: "error600", children: message2 })
9239
9372
  ] });
9240
9373
  };
9241
9374
 
9242
9375
  // src/components/FormFields/FormLabel.tsx
9243
- import { jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
9376
+ import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
9244
9377
  var FormLabel = ({
9245
9378
  name,
9246
9379
  label,
@@ -9248,7 +9381,7 @@ var FormLabel = ({
9248
9381
  required
9249
9382
  }) => {
9250
9383
  if (!label) return null;
9251
- return /* @__PURE__ */ jsxs13(
9384
+ return /* @__PURE__ */ jsxs15(
9252
9385
  Text,
9253
9386
  {
9254
9387
  typography: "labelMedium",
@@ -9257,7 +9390,7 @@ var FormLabel = ({
9257
9390
  id: `${name}-label`,
9258
9391
  children: [
9259
9392
  label,
9260
- !required && /* @__PURE__ */ jsx28(Text, { color: "dark500", children: " (opcional)" })
9393
+ !required && /* @__PURE__ */ jsx30(Text, { color: "dark500", children: " (opcional)" })
9261
9394
  ]
9262
9395
  }
9263
9396
  );
@@ -9265,7 +9398,7 @@ var FormLabel = ({
9265
9398
 
9266
9399
  // src/components/FormFields/TextAreaFormField.tsx
9267
9400
  import { useFormContext } from "react-hook-form";
9268
- import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
9401
+ import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
9269
9402
  var TextAreaFormField = ({
9270
9403
  name,
9271
9404
  label,
@@ -9279,8 +9412,8 @@ var TextAreaFormField = ({
9279
9412
  } = useFormContext();
9280
9413
  const haveError = !!errors[name];
9281
9414
  const errorMsg = (_a = errors[name]) == null ? void 0 : _a.message;
9282
- return /* @__PURE__ */ jsxs14(Flex2, { direction: "column", children: [
9283
- /* @__PURE__ */ jsx29(
9415
+ return /* @__PURE__ */ jsxs16(Flex2, { direction: "column", children: [
9416
+ /* @__PURE__ */ jsx31(
9284
9417
  FormLabel,
9285
9418
  {
9286
9419
  name,
@@ -9289,7 +9422,7 @@ var TextAreaFormField = ({
9289
9422
  haveError
9290
9423
  }
9291
9424
  ),
9292
- /* @__PURE__ */ jsx29(
9425
+ /* @__PURE__ */ jsx31(
9293
9426
  TextareaField,
9294
9427
  __spreadProps(__spreadValues({}, register(name, { required })), {
9295
9428
  placeholder,
@@ -9297,13 +9430,13 @@ var TextAreaFormField = ({
9297
9430
  "aria-labelledby": `${name}-label`
9298
9431
  })
9299
9432
  ),
9300
- /* @__PURE__ */ jsx29(ErrorFormMessage, { message: errorMsg })
9433
+ /* @__PURE__ */ jsx31(ErrorFormMessage, { message: errorMsg })
9301
9434
  ] });
9302
9435
  };
9303
9436
 
9304
9437
  // src/components/FormFields/TextFormField.tsx
9305
9438
  import { useFormContext as useFormContext2 } from "react-hook-form";
9306
- import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
9439
+ import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
9307
9440
  var TextFormField = ({
9308
9441
  name,
9309
9442
  label,
@@ -9317,8 +9450,8 @@ var TextFormField = ({
9317
9450
  } = useFormContext2();
9318
9451
  const haveError = !!errors[name];
9319
9452
  const errorMsg = (_a = errors[name]) == null ? void 0 : _a.message;
9320
- return /* @__PURE__ */ jsxs15(Flex2, { direction: "column", children: [
9321
- /* @__PURE__ */ jsx30(
9453
+ return /* @__PURE__ */ jsxs17(Flex2, { direction: "column", children: [
9454
+ /* @__PURE__ */ jsx32(
9322
9455
  FormLabel,
9323
9456
  {
9324
9457
  name,
@@ -9327,7 +9460,7 @@ var TextFormField = ({
9327
9460
  haveError
9328
9461
  }
9329
9462
  ),
9330
- /* @__PURE__ */ jsx30(
9463
+ /* @__PURE__ */ jsx32(
9331
9464
  TextField,
9332
9465
  __spreadProps(__spreadValues({}, register(name, { required })), {
9333
9466
  placeholder,
@@ -9335,7 +9468,7 @@ var TextFormField = ({
9335
9468
  "aria-labelledby": `${name}-label`
9336
9469
  })
9337
9470
  ),
9338
- /* @__PURE__ */ jsx30(ErrorFormMessage, { message: errorMsg })
9471
+ /* @__PURE__ */ jsx32(ErrorFormMessage, { message: errorMsg })
9339
9472
  ] });
9340
9473
  };
9341
9474
 
@@ -9344,12 +9477,12 @@ import {
9344
9477
  FormProvider,
9345
9478
  useForm
9346
9479
  } from "react-hook-form";
9347
- import { jsx as jsx31 } from "react/jsx-runtime";
9480
+ import { jsx as jsx33 } from "react/jsx-runtime";
9348
9481
  var Form = (_a) => {
9349
9482
  var _b = _a, { onSubmit, children } = _b, props = __objRest(_b, ["onSubmit", "children"]);
9350
9483
  const methods = useForm(props);
9351
9484
  const { handleSubmit } = methods;
9352
- return /* @__PURE__ */ jsx31(FormProvider, __spreadProps(__spreadValues({}, methods), { children: /* @__PURE__ */ jsx31("form", { onSubmit: handleSubmit(onSubmit), children }) }));
9485
+ return /* @__PURE__ */ jsx33(FormProvider, __spreadProps(__spreadValues({}, methods), { children: /* @__PURE__ */ jsx33("form", { onSubmit: handleSubmit(onSubmit), children }) }));
9353
9486
  };
9354
9487
  export {
9355
9488
  Alert,
@@ -9378,6 +9511,7 @@ export {
9378
9511
  CheckboxItem,
9379
9512
  Container,
9380
9513
  ContainerStyled,
9514
+ Drawer,
9381
9515
  DropdownMenu2 as DropdownMenu,
9382
9516
  DropdownMenuItem,
9383
9517
  ErrorFormMessage,
@@ -9391,6 +9525,7 @@ export {
9391
9525
  GridStyled,
9392
9526
  Icon,
9393
9527
  InputStyled,
9528
+ MenuDropdown,
9394
9529
  Modal,
9395
9530
  RadioGroup,
9396
9531
  RadioGroupStyled,