@lets-events/react 12.6.0 → 12.6.2

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/dist/index.mjs CHANGED
@@ -1712,6 +1712,13 @@ var ButtonStyled = styled(ButtonRadix, {
1712
1712
  full: {
1713
1713
  borderRadius: "$full"
1714
1714
  }
1715
+ },
1716
+ isCircle: {
1717
+ true: {
1718
+ borderRadius: "$full",
1719
+ padding: 0,
1720
+ aspectRatio: "1"
1721
+ }
1715
1722
  }
1716
1723
  },
1717
1724
  compoundVariants: [
@@ -1745,7 +1752,118 @@ var SpinningDiv = styled("div", {
1745
1752
 
1746
1753
  // src/components/Button/index.tsx
1747
1754
  import { Button as ButtonRadix2 } from "@radix-ui/themes";
1755
+
1756
+ // src/components/Flex.tsx
1757
+ import { Flex as FlexRadix } from "@radix-ui/themes";
1748
1758
  import { jsx as jsx3 } from "react/jsx-runtime";
1759
+ var FlexStyled = styled(FlexRadix, {
1760
+ variants: {
1761
+ display: {
1762
+ "flex": { display: "flex" },
1763
+ "inline-flex": { display: "inline-flex" }
1764
+ },
1765
+ align: {
1766
+ start: { alignItems: "flex-start" },
1767
+ center: { alignItems: "center" },
1768
+ end: { alignItems: "flex-end" },
1769
+ stretch: { alignItems: "stretch" },
1770
+ baseline: { alignItems: "baseline" }
1771
+ },
1772
+ justify: {
1773
+ start: { justifyContent: "flex-start" },
1774
+ center: { justifyContent: "center" },
1775
+ end: { justifyContent: "flex-end" },
1776
+ between: { justifyContent: "space-between" },
1777
+ around: { justifyContent: "space-around" },
1778
+ evenly: { justifyContent: "space-evenly" }
1779
+ },
1780
+ direction: {
1781
+ row: { flexDirection: "row" },
1782
+ column: { flexDirection: "column" },
1783
+ "row-reverse": { flexDirection: "row-reverse" },
1784
+ "column-reverse": { flexDirection: "column-reverse" }
1785
+ },
1786
+ gap: {
1787
+ 0: { gap: "0px" },
1788
+ 2: { gap: "$2" },
1789
+ 4: { gap: "$4" },
1790
+ 6: { gap: "$6" },
1791
+ 8: { gap: "$8" },
1792
+ 10: { gap: "$10" },
1793
+ 12: { gap: "$12" },
1794
+ 14: { gap: "$14" },
1795
+ 16: { gap: "$16" },
1796
+ 20: { gap: "$20" },
1797
+ 22: { gap: "$22" },
1798
+ 24: { gap: "$24" },
1799
+ 32: { gap: "$32" },
1800
+ 36: { gap: "$36" },
1801
+ 40: { gap: "$40" },
1802
+ 48: { gap: "$48" },
1803
+ 56: { gap: "$56" },
1804
+ 64: { gap: "$64" },
1805
+ 72: { gap: "$72" },
1806
+ 80: { gap: "$80" },
1807
+ full: { gap: "$full" }
1808
+ },
1809
+ gapY: {
1810
+ 2: { gap: "$2" },
1811
+ 4: { gap: "$4" },
1812
+ 6: { gap: "$6" },
1813
+ 8: { gap: "$8" },
1814
+ 10: { gap: "$10" },
1815
+ 12: { gap: "$12" },
1816
+ 14: { gap: "$14" },
1817
+ 16: { gap: "$16" },
1818
+ 20: { gap: "$20" },
1819
+ 22: { gap: "$22" },
1820
+ 24: { gap: "$24" },
1821
+ 32: { gap: "$32" },
1822
+ 36: { gap: "$36" },
1823
+ 40: { gap: "$40" },
1824
+ 48: { gap: "$48" },
1825
+ 56: { gap: "$56" },
1826
+ 64: { gap: "$64" },
1827
+ 72: { gap: "$72" },
1828
+ 80: { gap: "$80" },
1829
+ full: { gap: "$full" }
1830
+ },
1831
+ gapX: {
1832
+ 2: { gap: "$2" },
1833
+ 4: { gap: "$4" },
1834
+ 6: { gap: "$6" },
1835
+ 8: { gap: "$8" },
1836
+ 10: { gap: "$10" },
1837
+ 12: { gap: "$12" },
1838
+ 14: { gap: "$14" },
1839
+ 16: { gap: "$16" },
1840
+ 20: { gap: "$20" },
1841
+ 22: { gap: "$22" },
1842
+ 24: { gap: "$24" },
1843
+ 32: { gap: "$32" },
1844
+ 36: { gap: "$36" },
1845
+ 40: { gap: "$40" },
1846
+ 48: { gap: "$48" },
1847
+ 56: { gap: "$56" },
1848
+ 64: { gap: "$64" },
1849
+ 72: { gap: "$72" },
1850
+ 80: { gap: "$80" },
1851
+ full: { gap: "$full" }
1852
+ }
1853
+ },
1854
+ defaultVariants: {
1855
+ display: "flex",
1856
+ direction: "row",
1857
+ gap: 10
1858
+ }
1859
+ });
1860
+ function Flex(_a) {
1861
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1862
+ return /* @__PURE__ */ jsx3(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
1863
+ }
1864
+
1865
+ // src/components/Button/index.tsx
1866
+ import { jsx as jsx4, jsxs } from "react/jsx-runtime";
1749
1867
  function Button(_a) {
1750
1868
  var _b = _a, { asChild, children, loading } = _b, props = __objRest(_b, ["asChild", "children", "loading"]);
1751
1869
  const Component = asChild ? ButtonRadix2 : "button";
@@ -1764,12 +1882,34 @@ function Button(_a) {
1764
1882
  return "md";
1765
1883
  }
1766
1884
  }, [size]);
1767
- return /* @__PURE__ */ jsx3(ButtonStyled, __spreadProps(__spreadValues({ as: Component }, props), { disabled: disabled || loading, children: loading ? /* @__PURE__ */ jsx3(SpinningDiv, { children: /* @__PURE__ */ jsx3(Icon_default, { name: "circle-notch", size: spinnerSize }) }) : children }));
1885
+ return /* @__PURE__ */ jsx4(ButtonStyled, __spreadProps(__spreadValues({ as: Component }, props), { disabled: disabled || loading, children: /* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
1886
+ /* @__PURE__ */ jsx4(
1887
+ Flex,
1888
+ {
1889
+ justify: "center",
1890
+ align: "center",
1891
+ css: { visibility: loading ? "hidden" : void 0 },
1892
+ children
1893
+ }
1894
+ ),
1895
+ loading && /* @__PURE__ */ jsx4(
1896
+ "div",
1897
+ {
1898
+ style: {
1899
+ position: "absolute",
1900
+ top: "50%",
1901
+ left: "50%",
1902
+ transform: "translate(-50%, -50%)"
1903
+ },
1904
+ children: /* @__PURE__ */ jsx4(SpinningDiv, { children: /* @__PURE__ */ jsx4(Icon_default, { name: "circle-notch", size: spinnerSize }) })
1905
+ }
1906
+ )
1907
+ ] }) }));
1768
1908
  }
1769
1909
 
1770
1910
  // src/components/ButtonGroup.tsx
1771
- import { Button as Button2, Flex } from "@radix-ui/themes";
1772
- import { jsx as jsx4 } from "react/jsx-runtime";
1911
+ import { Button as Button2, Flex as Flex2 } from "@radix-ui/themes";
1912
+ import { jsx as jsx5 } from "react/jsx-runtime";
1773
1913
  var ButtonItemStyled = styled(Button2, {
1774
1914
  fontFamily: "$default",
1775
1915
  letterSpacing: 0,
@@ -1783,7 +1923,7 @@ var ButtonItemStyled = styled(Button2, {
1783
1923
  }
1784
1924
  }
1785
1925
  });
1786
- var ButtonGroupStyled = styled(Flex, {
1926
+ var ButtonGroupStyled = styled(Flex2, {
1787
1927
  display: "flex",
1788
1928
  borderRadius: "$md",
1789
1929
  overflow: "hidden",
@@ -2235,16 +2375,16 @@ var ButtonGroupStyled = styled(Flex, {
2235
2375
  });
2236
2376
  function ButtonItem(_a) {
2237
2377
  var _b = _a, { children, active } = _b, props = __objRest(_b, ["children", "active"]);
2238
- return /* @__PURE__ */ jsx4(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
2378
+ return /* @__PURE__ */ jsx5(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
2239
2379
  }
2240
2380
  function ButtonGroup(_a) {
2241
2381
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2242
- return /* @__PURE__ */ jsx4(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2382
+ return /* @__PURE__ */ jsx5(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2243
2383
  }
2244
2384
 
2245
2385
  // src/components/Avatar.tsx
2246
2386
  import { Avatar as AvatarRadix } from "@radix-ui/themes";
2247
- import { jsx as jsx5 } from "react/jsx-runtime";
2387
+ import { jsx as jsx6 } from "react/jsx-runtime";
2248
2388
  var AvatarStyled = styled(AvatarRadix, {
2249
2389
  fontFamily: "$default",
2250
2390
  color: "$gray100",
@@ -2289,125 +2429,14 @@ var AvatarStyled = styled(AvatarRadix, {
2289
2429
  });
2290
2430
  function Avatar(_a) {
2291
2431
  var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
2292
- return /* @__PURE__ */ jsx5(AvatarStyled, __spreadValues({ as: AvatarRadix }, props));
2432
+ return /* @__PURE__ */ jsx6(AvatarStyled, __spreadValues({ as: AvatarRadix }, props));
2293
2433
  }
2294
2434
 
2295
2435
  // src/components/TextField.tsx
2296
2436
  import React from "react";
2297
2437
  import { TextField as TextFieldRadix } from "@radix-ui/themes";
2298
-
2299
- // src/components/Flex.tsx
2300
- import { Flex as FlexRadix } from "@radix-ui/themes";
2301
- import { jsx as jsx6 } from "react/jsx-runtime";
2302
- var FlexStyled = styled(FlexRadix, {
2303
- variants: {
2304
- display: {
2305
- "flex": { display: "flex" },
2306
- "inline-flex": { display: "inline-flex" }
2307
- },
2308
- align: {
2309
- start: { alignItems: "flex-start" },
2310
- center: { alignItems: "center" },
2311
- end: { alignItems: "flex-end" },
2312
- stretch: { alignItems: "stretch" },
2313
- baseline: { alignItems: "baseline" }
2314
- },
2315
- justify: {
2316
- start: { justifyContent: "flex-start" },
2317
- center: { justifyContent: "center" },
2318
- end: { justifyContent: "flex-end" },
2319
- between: { justifyContent: "space-between" },
2320
- around: { justifyContent: "space-around" },
2321
- evenly: { justifyContent: "space-evenly" }
2322
- },
2323
- direction: {
2324
- row: { flexDirection: "row" },
2325
- column: { flexDirection: "column" },
2326
- "row-reverse": { flexDirection: "row-reverse" },
2327
- "column-reverse": { flexDirection: "column-reverse" }
2328
- },
2329
- gap: {
2330
- 0: { gap: "0px" },
2331
- 2: { gap: "$2" },
2332
- 4: { gap: "$4" },
2333
- 6: { gap: "$6" },
2334
- 8: { gap: "$8" },
2335
- 10: { gap: "$10" },
2336
- 12: { gap: "$12" },
2337
- 14: { gap: "$14" },
2338
- 16: { gap: "$16" },
2339
- 20: { gap: "$20" },
2340
- 22: { gap: "$22" },
2341
- 24: { gap: "$24" },
2342
- 32: { gap: "$32" },
2343
- 36: { gap: "$36" },
2344
- 40: { gap: "$40" },
2345
- 48: { gap: "$48" },
2346
- 56: { gap: "$56" },
2347
- 64: { gap: "$64" },
2348
- 72: { gap: "$72" },
2349
- 80: { gap: "$80" },
2350
- full: { gap: "$full" }
2351
- },
2352
- gapY: {
2353
- 2: { gap: "$2" },
2354
- 4: { gap: "$4" },
2355
- 6: { gap: "$6" },
2356
- 8: { gap: "$8" },
2357
- 10: { gap: "$10" },
2358
- 12: { gap: "$12" },
2359
- 14: { gap: "$14" },
2360
- 16: { gap: "$16" },
2361
- 20: { gap: "$20" },
2362
- 22: { gap: "$22" },
2363
- 24: { gap: "$24" },
2364
- 32: { gap: "$32" },
2365
- 36: { gap: "$36" },
2366
- 40: { gap: "$40" },
2367
- 48: { gap: "$48" },
2368
- 56: { gap: "$56" },
2369
- 64: { gap: "$64" },
2370
- 72: { gap: "$72" },
2371
- 80: { gap: "$80" },
2372
- full: { gap: "$full" }
2373
- },
2374
- gapX: {
2375
- 2: { gap: "$2" },
2376
- 4: { gap: "$4" },
2377
- 6: { gap: "$6" },
2378
- 8: { gap: "$8" },
2379
- 10: { gap: "$10" },
2380
- 12: { gap: "$12" },
2381
- 14: { gap: "$14" },
2382
- 16: { gap: "$16" },
2383
- 20: { gap: "$20" },
2384
- 22: { gap: "$22" },
2385
- 24: { gap: "$24" },
2386
- 32: { gap: "$32" },
2387
- 36: { gap: "$36" },
2388
- 40: { gap: "$40" },
2389
- 48: { gap: "$48" },
2390
- 56: { gap: "$56" },
2391
- 64: { gap: "$64" },
2392
- 72: { gap: "$72" },
2393
- 80: { gap: "$80" },
2394
- full: { gap: "$full" }
2395
- }
2396
- },
2397
- defaultVariants: {
2398
- display: "flex",
2399
- direction: "row",
2400
- gap: 10
2401
- }
2402
- });
2403
- function Flex2(_a) {
2404
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2405
- return /* @__PURE__ */ jsx6(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
2406
- }
2407
-
2408
- // src/components/TextField.tsx
2409
2438
  import { format, useMask, unformat } from "@react-input/mask";
2410
- import { jsx as jsx7, jsxs } from "react/jsx-runtime";
2439
+ import { jsx as jsx7, jsxs as jsxs2 } from "react/jsx-runtime";
2411
2440
  var TextFieldStyled = styled(TextFieldRadix.Root, {
2412
2441
  height: "$40",
2413
2442
  fontFamily: "$default",
@@ -2639,8 +2668,8 @@ var TextField = React.forwardRef(
2639
2668
  updateCharCountBadge();
2640
2669
  (_a2 = props.onInput) == null ? void 0 : _a2.call(props, e);
2641
2670
  };
2642
- return /* @__PURE__ */ jsxs(Flex2, { direction: "column", css: { width: "100%", position: "relative" }, children: [
2643
- /* @__PURE__ */ jsxs(Flex2, { gap: "0", css: { width: "100%" }, children: [
2671
+ return /* @__PURE__ */ jsxs2(Flex, { direction: "column", css: { width: "100%", position: "relative" }, children: [
2672
+ /* @__PURE__ */ jsxs2(Flex, { gap: "0", css: { width: "100%" }, children: [
2644
2673
  !!addon && /* @__PURE__ */ jsx7(
2645
2674
  InputAddon,
2646
2675
  {
@@ -2649,7 +2678,7 @@ var TextField = React.forwardRef(
2649
2678
  children: addon
2650
2679
  }
2651
2680
  ),
2652
- /* @__PURE__ */ jsxs(
2681
+ /* @__PURE__ */ jsxs2(
2653
2682
  TextFieldStyled,
2654
2683
  __spreadProps(__spreadValues({
2655
2684
  color: hasError ? "error" : color || "default",
@@ -3081,7 +3110,7 @@ function CheckboxItem(_a) {
3081
3110
 
3082
3111
  // src/components/Filter.tsx
3083
3112
  import { Theme, DropdownMenu } from "@radix-ui/themes";
3084
- import { jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
3113
+ import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
3085
3114
  var FilterContentStyled = styled(DropdownMenu.Content, {
3086
3115
  background: "white",
3087
3116
  padding: "$8 $12",
@@ -3191,8 +3220,8 @@ function Filter(_a) {
3191
3220
  "typography",
3192
3221
  "fontWeight"
3193
3222
  ]);
3194
- return /* @__PURE__ */ jsx10(Theme, { children: /* @__PURE__ */ jsx10(DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs2(FilterStyled, { typography, fontWeight, children: [
3195
- /* @__PURE__ */ jsx10(DropdownMenu.Trigger, { children: /* @__PURE__ */ jsxs2("button", { "aria-label": placeholder || "Fitrar", children: [
3223
+ return /* @__PURE__ */ jsx10(Theme, { children: /* @__PURE__ */ jsx10(DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs3(FilterStyled, { typography, fontWeight, children: [
3224
+ /* @__PURE__ */ jsx10(DropdownMenu.Trigger, { children: /* @__PURE__ */ jsxs3("button", { "aria-label": placeholder || "Fitrar", children: [
3196
3225
  /* @__PURE__ */ jsx10(Icon, { name: "filter" }),
3197
3226
  /* @__PURE__ */ jsx10("span", { children: placeholder || "Fitrar" }),
3198
3227
  /* @__PURE__ */ jsx10(DropdownMenu.TriggerIcon, {})
@@ -3227,7 +3256,7 @@ import React2, {
3227
3256
  } from "react";
3228
3257
  import { faChevronDown, faChevronUp } from "@fortawesome/free-solid-svg-icons";
3229
3258
  import { FontAwesomeIcon as FontAwesomeIcon2 } from "@fortawesome/react-fontawesome";
3230
- import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
3259
+ import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
3231
3260
  var DropdownMenuItemStyled = styled("div", {
3232
3261
  fontFamily: "$default",
3233
3262
  color: "$dark600",
@@ -3392,7 +3421,7 @@ function DropdownMenu2(_a) {
3392
3421
  document.removeEventListener("keydown", handleEscape);
3393
3422
  };
3394
3423
  }, [isOpen]);
3395
- return /* @__PURE__ */ jsxs3(
3424
+ return /* @__PURE__ */ jsxs4(
3396
3425
  DropdownMenuStyled,
3397
3426
  __spreadProps(__spreadValues({
3398
3427
  ref: dropdownRef,
@@ -3401,7 +3430,7 @@ function DropdownMenu2(_a) {
3401
3430
  color
3402
3431
  }, props), {
3403
3432
  children: [
3404
- /* @__PURE__ */ jsxs3(
3433
+ /* @__PURE__ */ jsxs4(
3405
3434
  "button",
3406
3435
  {
3407
3436
  "aria-label": placeholder || "Filtrar",
@@ -3605,7 +3634,7 @@ import { Box as BoxRadix } from "@radix-ui/themes";
3605
3634
  var Box = BoxRadix;
3606
3635
 
3607
3636
  // src/components/Modal.tsx
3608
- import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
3637
+ import { jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
3609
3638
  var ModalContentStyled = styled(ModalRadix.Content, {
3610
3639
  fontFamily: "$default",
3611
3640
  lineHeight: "$base",
@@ -3666,7 +3695,7 @@ function Modal(_a) {
3666
3695
  "maxWidth"
3667
3696
  ]);
3668
3697
  const { onOpenChange } = props;
3669
- return /* @__PURE__ */ jsxs4(ModalRadix.Root, __spreadProps(__spreadValues({}, props), { children: [
3698
+ return /* @__PURE__ */ jsxs5(ModalRadix.Root, __spreadProps(__spreadValues({}, props), { children: [
3670
3699
  trigger && /* @__PURE__ */ jsx13(ModalRadix.Trigger, { asChild: true, children: trigger }),
3671
3700
  /* @__PURE__ */ jsx13(ModalRadix.Portal, { children: /* @__PURE__ */ jsx13(
3672
3701
  ModalOverlay,
@@ -3674,14 +3703,14 @@ function Modal(_a) {
3674
3703
  css: {
3675
3704
  zIndex
3676
3705
  },
3677
- children: /* @__PURE__ */ jsxs4(
3706
+ children: /* @__PURE__ */ jsxs5(
3678
3707
  ModalContentStyled,
3679
3708
  {
3680
3709
  css: {
3681
3710
  maxWidth
3682
3711
  },
3683
3712
  children: [
3684
- title && /* @__PURE__ */ jsxs4(ModalHeaderStyled, { children: [
3713
+ title && /* @__PURE__ */ jsxs5(ModalHeaderStyled, { children: [
3685
3714
  /* @__PURE__ */ jsx13(ModalTitleStyled, { asChild: true, children: /* @__PURE__ */ jsx13(Text, { typography: "headline6", fontWeight: "medium", children: title }) }),
3686
3715
  (onOpenChange || trigger) && /* @__PURE__ */ jsx13(ModalRadix.Close, { asChild: true, children: /* @__PURE__ */ jsx13(ModalIconClose, { name: "close", size: "xl" }) })
3687
3716
  ] }),
@@ -3762,7 +3791,7 @@ function useOnClickOutside(ref, handler) {
3762
3791
  }
3763
3792
 
3764
3793
  // src/components/MenuDropdown/index.tsx
3765
- import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
3794
+ import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
3766
3795
  function MenuDropdown({
3767
3796
  children,
3768
3797
  isOpen,
@@ -3772,7 +3801,7 @@ function MenuDropdown({
3772
3801
  useOnClickOutside(dropdownItemsContainerRef, () => {
3773
3802
  setIsOpen(false);
3774
3803
  });
3775
- return /* @__PURE__ */ jsxs5(MenuDropdownContainerStyled, { children: [
3804
+ return /* @__PURE__ */ jsxs6(MenuDropdownContainerStyled, { children: [
3776
3805
  /* @__PURE__ */ jsx14(TriggerButtonStyled, { onClick: () => setIsOpen(!isOpen), children: /* @__PURE__ */ jsx14(Icon_default, { name: "ellipsis", size: "xl", color: "#FFFFFF" }) }),
3777
3806
  isOpen && /* @__PURE__ */ jsx14(MenuItemsContainerStyled, { ref: dropdownItemsContainerRef, children })
3778
3807
  ] });
@@ -7922,7 +7951,7 @@ var DayPickerWrapperStyled = styled("div", {
7922
7951
  });
7923
7952
 
7924
7953
  // src/components/Calendar/index.tsx
7925
- import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
7954
+ import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
7926
7955
  function formatToDateMask(value) {
7927
7956
  const numeric = value.replace(/\D/g, "").slice(0, 8);
7928
7957
  const parts = numeric.match(/^(\d{0,2})(\d{0,2})(\d{0,4})$/);
@@ -7983,7 +8012,7 @@ function Calendar(_a) {
7983
8012
  console.warn("Data inv\xE1lida inserida no input:", masked);
7984
8013
  }
7985
8014
  };
7986
- return /* @__PURE__ */ jsx15("div", { children: /* @__PURE__ */ jsxs6(CalendarStyled, __spreadProps(__spreadValues({}, props), { expand, ref: dropdownRef, children: [
8015
+ return /* @__PURE__ */ jsx15("div", { children: /* @__PURE__ */ jsxs7(CalendarStyled, __spreadProps(__spreadValues({}, props), { expand, ref: dropdownRef, children: [
7987
8016
  /* @__PURE__ */ jsx15(
7988
8017
  CalendarButtonStyled,
7989
8018
  {
@@ -8005,7 +8034,7 @@ function Calendar(_a) {
8005
8034
  )
8006
8035
  }
8007
8036
  ),
8008
- showContainer && /* @__PURE__ */ jsxs6(CalendarContentStyled, { position, children: [
8037
+ showContainer && /* @__PURE__ */ jsxs7(CalendarContentStyled, { position, children: [
8009
8038
  /* @__PURE__ */ jsx15(Box, { children: /* @__PURE__ */ jsx15(DayPickerWrapperStyled, { children: /* @__PURE__ */ jsx15(
8010
8039
  DayPicker,
8011
8040
  {
@@ -8041,7 +8070,7 @@ function Calendar(_a) {
8041
8070
  // src/components/DoubleCalendar/index.tsx
8042
8071
  import { useRef as useRef4, useEffect as useEffect4, useState as useState3 } from "react";
8043
8072
  import { DayPicker as DayPicker2 } from "react-day-picker";
8044
- import { jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
8073
+ import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
8045
8074
  function DoubleCalendar(_a) {
8046
8075
  var _b = _a, {
8047
8076
  action,
@@ -8090,7 +8119,7 @@ function DoubleCalendar(_a) {
8090
8119
  setEndValue("");
8091
8120
  }
8092
8121
  }, [selected]);
8093
- return /* @__PURE__ */ jsx16("div", { children: /* @__PURE__ */ jsxs7(CalendarStyled, __spreadProps(__spreadValues({}, props), { expand, ref: dropdownRef, children: [
8122
+ return /* @__PURE__ */ jsx16("div", { children: /* @__PURE__ */ jsxs8(CalendarStyled, __spreadProps(__spreadValues({}, props), { expand, ref: dropdownRef, children: [
8094
8123
  /* @__PURE__ */ jsx16(
8095
8124
  CalendarButtonStyled,
8096
8125
  {
@@ -8118,7 +8147,7 @@ function DoubleCalendar(_a) {
8118
8147
  ) })
8119
8148
  }
8120
8149
  ),
8121
- showContainer && /* @__PURE__ */ jsxs7(CalendarContentStyled, { position, children: [
8150
+ showContainer && /* @__PURE__ */ jsxs8(CalendarContentStyled, { position, children: [
8122
8151
  /* @__PURE__ */ jsx16(Box, { children: /* @__PURE__ */ jsx16(DayPickerWrapperStyled, { children: /* @__PURE__ */ jsx16(
8123
8152
  DayPicker2,
8124
8153
  {
@@ -8134,7 +8163,7 @@ function DoubleCalendar(_a) {
8134
8163
  toMonth: maxDate
8135
8164
  }
8136
8165
  ) }) }),
8137
- action && /* @__PURE__ */ jsxs7(CalendarFooterStyled, { children: [
8166
+ action && /* @__PURE__ */ jsxs8(CalendarFooterStyled, { children: [
8138
8167
  /* @__PURE__ */ jsx16("div", { style: { textAlign: "center", padding: "1rem" }, children: /* @__PURE__ */ jsx16("span", { children: `${(selected == null ? void 0 : selected.from) ? format2(selected.from, "dd/MM/yyyy") : "00/00/0000"} \u2014 ${(selected == null ? void 0 : selected.to) ? format2(selected.to, "dd/MM/yyyy") : "00/00/0000"}` }) }),
8139
8168
  /* @__PURE__ */ jsx16(
8140
8169
  Button,
@@ -8268,7 +8297,7 @@ var GoBackButtonStyled = styled("button", {
8268
8297
  });
8269
8298
 
8270
8299
  // src/components/Drawer/index.tsx
8271
- import { Fragment, jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
8300
+ import { Fragment, jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
8272
8301
  function Drawer({
8273
8302
  isOpen,
8274
8303
  onClose,
@@ -8295,7 +8324,7 @@ function Drawer({
8295
8324
  document.body.style.paddingRight = "";
8296
8325
  };
8297
8326
  }, [isOpen]);
8298
- return /* @__PURE__ */ jsxs8(Fragment, { children: [
8327
+ return /* @__PURE__ */ jsxs9(Fragment, { children: [
8299
8328
  /* @__PURE__ */ jsx17(
8300
8329
  DrawerOverlayStyled,
8301
8330
  {
@@ -8315,7 +8344,7 @@ function Drawer({
8315
8344
  maxWidth: "100%"
8316
8345
  },
8317
8346
  open: isOpen,
8318
- children: /* @__PURE__ */ jsxs8(
8347
+ children: /* @__PURE__ */ jsxs9(
8319
8348
  DrawerContainerStyled,
8320
8349
  {
8321
8350
  open: isOpen,
@@ -8323,8 +8352,8 @@ function Drawer({
8323
8352
  backgroundColor: colors[backgroundColor != null ? backgroundColor : "neutral50"]
8324
8353
  },
8325
8354
  children: [
8326
- /* @__PURE__ */ jsxs8(DrawerHeaderDiv, { children: [
8327
- /* @__PURE__ */ jsxs8(Flex2, { gap: 8, align: "center", children: [
8355
+ /* @__PURE__ */ jsxs9(DrawerHeaderDiv, { children: [
8356
+ /* @__PURE__ */ jsxs9(Flex, { gap: 8, align: "center", children: [
8328
8357
  goBackIcon && goBackIcon && /* @__PURE__ */ jsx17(GoBackButtonStyled, { type: "button", onClick: goBackAction, children: goBackIcon }),
8329
8358
  /* @__PURE__ */ jsx17(DrawerHeaderTitle, { children: title })
8330
8359
  ] }),
@@ -8341,7 +8370,7 @@ function Drawer({
8341
8370
 
8342
8371
  // src/components/TimePicker.tsx
8343
8372
  import { useCallback, useRef as useRef6, useState as useState4 } from "react";
8344
- import { jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
8373
+ import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
8345
8374
  var TimePickerStyled = styled("div", {
8346
8375
  position: "relative",
8347
8376
  width: "fit-content",
@@ -8498,7 +8527,7 @@ function TimePicker({
8498
8527
  },
8499
8528
  [hours, minutes]
8500
8529
  );
8501
- return /* @__PURE__ */ jsxs9(TimePickerStyled, { ref: dropdownRef, expand, children: [
8530
+ return /* @__PURE__ */ jsxs10(TimePickerStyled, { ref: dropdownRef, expand, children: [
8502
8531
  /* @__PURE__ */ jsx18(
8503
8532
  TimePickerButtonStyled,
8504
8533
  {
@@ -8520,13 +8549,13 @@ function TimePicker({
8520
8549
  )
8521
8550
  }
8522
8551
  ),
8523
- isOpen && /* @__PURE__ */ jsxs9(
8552
+ isOpen && /* @__PURE__ */ jsxs10(
8524
8553
  TimePickerDropdownStyled,
8525
8554
  {
8526
8555
  style: position === "top" ? { bottom: "110%", left: "0" } : position === "top-right" ? { bottom: "110%", right: "0" } : position === "bottom-right" ? { top: "110%", right: "0" } : { top: "110%", left: "0" },
8527
8556
  children: [
8528
- /* @__PURE__ */ jsxs9(TimerPickerContentStyled, { children: [
8529
- ["hours", "minutes"].map((unit) => /* @__PURE__ */ jsxs9(
8557
+ /* @__PURE__ */ jsxs10(TimerPickerContentStyled, { children: [
8558
+ ["hours", "minutes"].map((unit) => /* @__PURE__ */ jsxs10(
8530
8559
  Box,
8531
8560
  {
8532
8561
  style: {
@@ -8541,7 +8570,7 @@ function TimePicker({
8541
8570
  type: "button",
8542
8571
  variant: "text",
8543
8572
  onClick: () => handleIncrement(unit),
8544
- children: /* @__PURE__ */ jsxs9(
8573
+ children: /* @__PURE__ */ jsxs10(
8545
8574
  "svg",
8546
8575
  {
8547
8576
  xmlns: "http://www.w3.org/2000/svg",
@@ -8613,7 +8642,7 @@ function TimePicker({
8613
8642
  type: "button",
8614
8643
  variant: "text",
8615
8644
  onClick: () => handleDecrement(unit),
8616
- children: /* @__PURE__ */ jsxs9(
8645
+ children: /* @__PURE__ */ jsxs10(
8617
8646
  "svg",
8618
8647
  {
8619
8648
  xmlns: "http://www.w3.org/2000/svg",
@@ -8670,7 +8699,7 @@ function TimePicker({
8670
8699
 
8671
8700
  // src/components/Alert.tsx
8672
8701
  import { Theme as Theme2, AlertDialog } from "@radix-ui/themes";
8673
- import { Fragment as Fragment2, jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
8702
+ import { Fragment as Fragment2, jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
8674
8703
  var AlertDialogSimpleStyled = styled(AlertDialog.Content, {
8675
8704
  fontFamily: "$default",
8676
8705
  lineHeight: "$base",
@@ -8784,19 +8813,19 @@ function Alert(_a) {
8784
8813
  "completAlert",
8785
8814
  "simpleAlert"
8786
8815
  ]);
8787
- return /* @__PURE__ */ jsxs10(Fragment2, { children: [
8788
- simpleAlert && /* @__PURE__ */ jsx19(Theme2, { children: /* @__PURE__ */ jsxs10(AlertDialog.Root, { children: [
8816
+ return /* @__PURE__ */ jsxs11(Fragment2, { children: [
8817
+ simpleAlert && /* @__PURE__ */ jsx19(Theme2, { children: /* @__PURE__ */ jsxs11(AlertDialog.Root, { children: [
8789
8818
  /* @__PURE__ */ jsx19(AlertDialog.Trigger, { children: trigger }),
8790
- /* @__PURE__ */ jsx19(Fragment2, { children: /* @__PURE__ */ jsxs10(AlertDialogSimpleStyled, __spreadProps(__spreadValues({}, props), { children: [
8819
+ /* @__PURE__ */ jsx19(Fragment2, { children: /* @__PURE__ */ jsxs11(AlertDialogSimpleStyled, __spreadProps(__spreadValues({}, props), { children: [
8791
8820
  /* @__PURE__ */ jsx19(AlertDialogDescriptionStyled, { children: simpleAlert.description }),
8792
8821
  simpleAlert.cancel && /* @__PURE__ */ jsx19(AlertDialog.Cancel, { children: /* @__PURE__ */ jsx19(Button, { variant: "text", children: /* @__PURE__ */ jsx19(Icon_default, { name: "close" }) }) })
8793
8822
  ] })) })
8794
8823
  ] }) }),
8795
- completAlert && /* @__PURE__ */ jsx19(Theme2, { children: /* @__PURE__ */ jsxs10(AlertDialog.Root, { children: [
8824
+ completAlert && /* @__PURE__ */ jsx19(Theme2, { children: /* @__PURE__ */ jsxs11(AlertDialog.Root, { children: [
8796
8825
  /* @__PURE__ */ jsx19(AlertDialog.Trigger, { children: trigger }),
8797
- /* @__PURE__ */ jsxs10(AlertDialogCompleteStyled, { children: [
8798
- /* @__PURE__ */ jsxs10(AlertDialogRowStyled, { className: "le-alert-dialog-row", children: [
8799
- color === "success" && /* @__PURE__ */ jsxs10(
8826
+ /* @__PURE__ */ jsxs11(AlertDialogCompleteStyled, { children: [
8827
+ /* @__PURE__ */ jsxs11(AlertDialogRowStyled, { className: "le-alert-dialog-row", children: [
8828
+ color === "success" && /* @__PURE__ */ jsxs11(
8800
8829
  "svg",
8801
8830
  {
8802
8831
  width: "56",
@@ -8816,7 +8845,7 @@ function Alert(_a) {
8816
8845
  ]
8817
8846
  }
8818
8847
  ),
8819
- color === "error" && /* @__PURE__ */ jsxs10(
8848
+ color === "error" && /* @__PURE__ */ jsxs11(
8820
8849
  "svg",
8821
8850
  {
8822
8851
  width: "56",
@@ -8836,7 +8865,7 @@ function Alert(_a) {
8836
8865
  ]
8837
8866
  }
8838
8867
  ),
8839
- color === "warning" && /* @__PURE__ */ jsxs10(
8868
+ color === "warning" && /* @__PURE__ */ jsxs11(
8840
8869
  "svg",
8841
8870
  {
8842
8871
  width: "56",
@@ -8856,7 +8885,7 @@ function Alert(_a) {
8856
8885
  ]
8857
8886
  }
8858
8887
  ),
8859
- color === "info" && /* @__PURE__ */ jsxs10(
8888
+ color === "info" && /* @__PURE__ */ jsxs11(
8860
8889
  "svg",
8861
8890
  {
8862
8891
  width: "40",
@@ -8877,7 +8906,7 @@ function Alert(_a) {
8877
8906
  }
8878
8907
  ),
8879
8908
  completAlert.title && /* @__PURE__ */ jsx19(AlertDialogTitleStyled, { children: completAlert.title }),
8880
- /* @__PURE__ */ jsxs10(AlertDialogDescriptionStyled, { children: [
8909
+ /* @__PURE__ */ jsxs11(AlertDialogDescriptionStyled, { children: [
8881
8910
  completAlert.subtitle && /* @__PURE__ */ jsx19(
8882
8911
  Text,
8883
8912
  {
@@ -8892,7 +8921,7 @@ function Alert(_a) {
8892
8921
  ] })
8893
8922
  ] }),
8894
8923
  completAlert.onAction || completAlert.cancel ? /* @__PURE__ */ jsx19(AlertDialoghrStyled, {}) : null,
8895
- /* @__PURE__ */ jsx19(AlertDialogRowStyled, { children: /* @__PURE__ */ jsxs10(Flex2, { gap: "10", justify: "end", width: "100%", children: [
8924
+ /* @__PURE__ */ jsx19(AlertDialogRowStyled, { children: /* @__PURE__ */ jsxs11(Flex, { gap: "10", justify: "end", width: "100%", children: [
8896
8925
  completAlert.onAction && /* @__PURE__ */ jsx19(AlertDialog.Action, { children: /* @__PURE__ */ jsx19(
8897
8926
  Button,
8898
8927
  {
@@ -9204,7 +9233,7 @@ function Card(_a) {
9204
9233
  // src/components/TextareaField.tsx
9205
9234
  import { TextArea as TextAreaRadix } from "@radix-ui/themes";
9206
9235
  import React9, { useRef as useRef7, useState as useState5, useEffect as useEffect6 } from "react";
9207
- import { jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
9236
+ import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
9208
9237
  var TextareaFieldStyle = styled(TextAreaRadix, {
9209
9238
  display: "flex",
9210
9239
  flex: 1,
@@ -9271,7 +9300,7 @@ var TextareaField = React9.forwardRef((_a, forwardedRef) => {
9271
9300
  }
9272
9301
  (_a2 = props.onInput) == null ? void 0 : _a2.call(props, e);
9273
9302
  };
9274
- return /* @__PURE__ */ jsxs11(Flex2, { direction: "column", align: "end", style: { position: "relative" }, children: [
9303
+ return /* @__PURE__ */ jsxs12(Flex, { direction: "column", align: "end", style: { position: "relative" }, children: [
9275
9304
  maxLength && /* @__PURE__ */ jsx23(Badge, { size: "sm", color: "grey", style: { position: "absolute", right: 0, top: "-1.75rem" }, children: remaining }),
9276
9305
  /* @__PURE__ */ jsx23(TextareaContainer, { color, children: /* @__PURE__ */ jsx23(
9277
9306
  TextareaFieldStyle,
@@ -9419,7 +9448,7 @@ var ToastClose = styled(ToastPrimitive.Close, {
9419
9448
  });
9420
9449
 
9421
9450
  // src/components/Toast/components/ToastItem.tsx
9422
- import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
9451
+ import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
9423
9452
  function ToastItem({
9424
9453
  toast,
9425
9454
  onRemove
@@ -9431,7 +9460,7 @@ function ToastItem({
9431
9460
  onRemove(toast.id);
9432
9461
  }
9433
9462
  };
9434
- return /* @__PURE__ */ jsxs12(
9463
+ return /* @__PURE__ */ jsxs13(
9435
9464
  ToastRoot,
9436
9465
  {
9437
9466
  type: toast.type,
@@ -9450,7 +9479,7 @@ function ToastItem({
9450
9479
  // src/components/Toast/components/ToastProvider.tsx
9451
9480
  import { createContext, useState as useState7 } from "react";
9452
9481
  import * as ToastPrimitive2 from "@radix-ui/react-toast";
9453
- import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
9482
+ import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
9454
9483
  var ToastContext = createContext(null);
9455
9484
  function ToastProvider({
9456
9485
  children,
@@ -9486,7 +9515,7 @@ function ToastProvider({
9486
9515
  removeToast,
9487
9516
  removeAllToasts
9488
9517
  };
9489
- return /* @__PURE__ */ jsx25(ToastContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs13(ToastPrimitive2.Provider, { swipeDirection, children: [
9518
+ return /* @__PURE__ */ jsx25(ToastContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs14(ToastPrimitive2.Provider, { swipeDirection, children: [
9490
9519
  children,
9491
9520
  toasts.map((toast) => /* @__PURE__ */ jsx25(ToastItem, { toast, onRemove: removeToast }, toast.id)),
9492
9521
  /* @__PURE__ */ jsx25(ToastViewport, {})
@@ -9505,7 +9534,7 @@ var useToast = () => {
9505
9534
 
9506
9535
  // src/components/Tooltip/index.tsx
9507
9536
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
9508
- import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
9537
+ import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
9509
9538
  var TooltipProvider = TooltipPrimitive.Provider;
9510
9539
  var TooltipRoot = TooltipPrimitive.Root;
9511
9540
  var TooltipTrigger = TooltipPrimitive.Trigger;
@@ -9544,9 +9573,9 @@ function Tooltip({
9544
9573
  delayDuration = 200,
9545
9574
  side = "top"
9546
9575
  }) {
9547
- return /* @__PURE__ */ jsx26(TooltipProvider, { children: /* @__PURE__ */ jsxs14(TooltipRoot, { delayDuration, children: [
9576
+ return /* @__PURE__ */ jsx26(TooltipProvider, { children: /* @__PURE__ */ jsxs15(TooltipRoot, { delayDuration, children: [
9548
9577
  /* @__PURE__ */ jsx26(TooltipTrigger, { asChild: true, children }),
9549
- /* @__PURE__ */ jsxs14(TooltipContent, { side, sideOffset: 5, children: [
9578
+ /* @__PURE__ */ jsxs15(TooltipContent, { side, sideOffset: 5, children: [
9550
9579
  typeof content === "string" ? /* @__PURE__ */ jsx26(Text, { typography: "tooltip", children: content }) : content,
9551
9580
  /* @__PURE__ */ jsx26(TooltipArrow, {})
9552
9581
  ] })
@@ -9625,7 +9654,7 @@ var CloseBtnStyled = styled("button", {
9625
9654
  background: "none",
9626
9655
  border: "none"
9627
9656
  });
9628
- var StyledFlexWithMaxHeight = styled(Flex2, {
9657
+ var StyledFlexWithMaxHeight = styled(Flex, {
9629
9658
  variants: {
9630
9659
  hasMaxHeight: {
9631
9660
  true: {
@@ -9651,7 +9680,7 @@ var StyledFlexWithMaxHeight = styled(Flex2, {
9651
9680
  hasMaxHeight: false
9652
9681
  }
9653
9682
  });
9654
- var StyledFlexSelectedItems = styled(Flex2, {
9683
+ var StyledFlexSelectedItems = styled(Flex, {
9655
9684
  overflowY: "auto",
9656
9685
  margin: "8px 0",
9657
9686
  "&::-webkit-scrollbar": {
@@ -9711,7 +9740,7 @@ var ButtonSelectAllStyled = styled("button", {
9711
9740
  });
9712
9741
 
9713
9742
  // src/components/MultiSelect/index.tsx
9714
- import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
9743
+ import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
9715
9744
  var MultiSelect = React10.forwardRef(
9716
9745
  ({
9717
9746
  placeholder,
@@ -9782,9 +9811,9 @@ var MultiSelect = React10.forwardRef(
9782
9811
  },
9783
9812
  [disabled]
9784
9813
  );
9785
- return /* @__PURE__ */ jsxs15(Theme3, { style: width !== "100%" ? { width } : void 0, children: [
9786
- /* @__PURE__ */ jsxs15(DropdownMenu4.Root, { open: isOpen, onOpenChange: setIsOpen, children: [
9787
- /* @__PURE__ */ jsx27(DropdownMenu4.Trigger, { children: /* @__PURE__ */ jsxs15(
9814
+ return /* @__PURE__ */ jsxs16(Theme3, { style: width !== "100%" ? { width } : void 0, children: [
9815
+ /* @__PURE__ */ jsxs16(DropdownMenu4.Root, { open: isOpen, onOpenChange: setIsOpen, children: [
9816
+ /* @__PURE__ */ jsx27(DropdownMenu4.Trigger, { children: /* @__PURE__ */ jsxs16(
9788
9817
  StyledTrigger,
9789
9818
  {
9790
9819
  ref: (r) => {
@@ -9834,7 +9863,7 @@ var MultiSelect = React10.forwardRef(
9834
9863
  onValueChange == null ? void 0 : onValueChange(v);
9835
9864
  setAllOptionsSelected((v || []).length === options.length);
9836
9865
  },
9837
- children: /* @__PURE__ */ jsxs15(
9866
+ children: /* @__PURE__ */ jsxs16(
9838
9867
  StyledFlexWithMaxHeight,
9839
9868
  {
9840
9869
  direction: "column",
@@ -9842,7 +9871,7 @@ var MultiSelect = React10.forwardRef(
9842
9871
  hasMaxHeight: !!maxHeight,
9843
9872
  style: maxHeight ? { maxHeight } : void 0,
9844
9873
  children: [
9845
- selectedAllOptions && /* @__PURE__ */ jsxs15(
9874
+ selectedAllOptions && /* @__PURE__ */ jsxs16(
9846
9875
  ButtonSelectAllStyled,
9847
9876
  {
9848
9877
  css: itemStyle,
@@ -9882,8 +9911,8 @@ var MultiSelect = React10.forwardRef(
9882
9911
  align: selectedOrientation === "column" ? "start" : "center",
9883
9912
  justify: "start",
9884
9913
  css: __spreadValues({}, selectedScroll && { maxHeight: maxHeight || "400px" }),
9885
- children: allOptionsSelected ? /* @__PURE__ */ jsxs15(
9886
- Flex2,
9914
+ children: allOptionsSelected ? /* @__PURE__ */ jsxs16(
9915
+ Flex,
9887
9916
  {
9888
9917
  gap: 4,
9889
9918
  align: "center",
@@ -9913,8 +9942,8 @@ var MultiSelect = React10.forwardRef(
9913
9942
  ]
9914
9943
  },
9915
9944
  "all-selected"
9916
- ) : selectedValues.map((value) => /* @__PURE__ */ jsxs15(
9917
- Flex2,
9945
+ ) : selectedValues.map((value) => /* @__PURE__ */ jsxs16(
9946
+ Flex,
9918
9947
  {
9919
9948
  gap: 4,
9920
9949
  align: "center",
@@ -10151,20 +10180,22 @@ function Section(_a) {
10151
10180
  // src/components/FormFields/subComponents/ErrorFormMessage.tsx
10152
10181
  import { faXmarkCircle } from "@fortawesome/free-solid-svg-icons";
10153
10182
  import { FontAwesomeIcon as FontAwesomeIcon4 } from "@fortawesome/react-fontawesome";
10154
- import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
10183
+ import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
10155
10184
  var ErrorFormMessage = ({ message: message2 }) => {
10156
10185
  if (!message2) return null;
10157
10186
  if (typeof message2 !== "string") {
10158
10187
  return null;
10159
10188
  }
10160
- return /* @__PURE__ */ jsxs16(Flex2, { justify: "start", align: "center", gap: 6, children: [
10189
+ return /* @__PURE__ */ jsxs17(Flex, { justify: "start", align: "center", gap: 6, children: [
10161
10190
  /* @__PURE__ */ jsx31(FontAwesomeIcon4, { icon: faXmarkCircle, color: colors.error600, size: "1x" }),
10162
10191
  /* @__PURE__ */ jsx31(Text, { typography: "bodyXS", fontWeight: "medium", color: "error600", children: message2 })
10163
10192
  ] });
10164
10193
  };
10165
10194
 
10166
10195
  // src/components/FormFields/subComponents/FormLabel.tsx
10167
- import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
10196
+ import { FontAwesomeIcon as FontAwesomeIcon5 } from "@fortawesome/react-fontawesome";
10197
+ import { faAsterisk } from "@fortawesome/free-solid-svg-icons";
10198
+ import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
10168
10199
  var FormLabel = ({
10169
10200
  name,
10170
10201
  label,
@@ -10172,24 +10203,24 @@ var FormLabel = ({
10172
10203
  required
10173
10204
  }) => {
10174
10205
  if (!label) return null;
10175
- return /* @__PURE__ */ jsxs17(
10176
- Text,
10177
- {
10178
- typography: "labelMedium",
10179
- fontWeight: "medium",
10180
- color: haveError ? "error600" : "dark700",
10181
- id: `${name}-label`,
10182
- children: [
10183
- label,
10184
- !required && /* @__PURE__ */ jsx32(Text, { color: "dark500", children: " (opcional)" })
10185
- ]
10186
- }
10187
- );
10206
+ return /* @__PURE__ */ jsxs18(Flex, { align: "start", gap: 6, children: [
10207
+ /* @__PURE__ */ jsx32(
10208
+ Text,
10209
+ {
10210
+ typography: "labelMedium",
10211
+ fontWeight: "medium",
10212
+ color: haveError ? "error600" : "dark700",
10213
+ id: `${name}-label`,
10214
+ children: label
10215
+ }
10216
+ ),
10217
+ required && /* @__PURE__ */ jsx32(FontAwesomeIcon5, { icon: faAsterisk, fontSize: "8px", color: "#AD1F2B" })
10218
+ ] });
10188
10219
  };
10189
10220
 
10190
10221
  // src/components/FormFields/TextAreaFormField.tsx
10191
10222
  import { useFormContext } from "react-hook-form";
10192
- import { jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
10223
+ import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
10193
10224
  var TextAreaFormField = (_a) => {
10194
10225
  var _b = _a, {
10195
10226
  name,
@@ -10221,7 +10252,7 @@ var TextAreaFormField = (_a) => {
10221
10252
  required: required ? validationErrorMessage : false,
10222
10253
  validate
10223
10254
  };
10224
- return /* @__PURE__ */ jsxs18(Flex2, { direction: "column", children: [
10255
+ return /* @__PURE__ */ jsxs19(Flex, { direction: "column", children: [
10225
10256
  /* @__PURE__ */ jsx33(
10226
10257
  FormLabel,
10227
10258
  {
@@ -10251,7 +10282,7 @@ import {
10251
10282
  } from "react-hook-form";
10252
10283
  import { useCallback as useCallback3, useMemo as useMemo3 } from "react";
10253
10284
  import { format as format3, unformat as unformat2 } from "@react-input/mask";
10254
- import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
10285
+ import { jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
10255
10286
  var TextFormField = (_a) => {
10256
10287
  var _b = _a, {
10257
10288
  name,
@@ -10306,7 +10337,7 @@ var TextFormField = (_a) => {
10306
10337
  if (valueFormatter) value = valueFormatter.unformat(value);
10307
10338
  formChange(value);
10308
10339
  };
10309
- return /* @__PURE__ */ jsxs19(Flex2, { direction: "column", children: [
10340
+ return /* @__PURE__ */ jsxs20(Flex, { direction: "column", children: [
10310
10341
  label && /* @__PURE__ */ jsx34(
10311
10342
  FormLabel,
10312
10343
  {
@@ -10358,7 +10389,7 @@ var Form = (_a) => {
10358
10389
 
10359
10390
  // src/components/FormFields/MultiSelectFormField.tsx
10360
10391
  import { useController as useController2 } from "react-hook-form";
10361
- import { jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
10392
+ import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
10362
10393
  var MultiSelectFormField = (_a) => {
10363
10394
  var _b = _a, {
10364
10395
  name,
@@ -10389,7 +10420,7 @@ var MultiSelectFormField = (_a) => {
10389
10420
  const handleChange = (v) => {
10390
10421
  onChange(v);
10391
10422
  };
10392
- return /* @__PURE__ */ jsxs20(Flex2, { direction: "column", children: [
10423
+ return /* @__PURE__ */ jsxs21(Flex, { direction: "column", children: [
10393
10424
  /* @__PURE__ */ jsx36(
10394
10425
  FormLabel,
10395
10426
  {
@@ -10465,7 +10496,7 @@ var PhoneFormField = ({
10465
10496
 
10466
10497
  // src/components/FormFields/CPFFormField.tsx
10467
10498
  import { useFormContext as useFormContext3, useWatch } from "react-hook-form";
10468
- import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
10499
+ import { jsx as jsx38, jsxs as jsxs22 } from "react/jsx-runtime";
10469
10500
  var isValidCPF = (cpf) => {
10470
10501
  cpf = cpf.replace(/[^\d]+/g, "");
10471
10502
  if (cpf.length !== 11 || /^(\d)\1{10}$/.test(cpf)) return false;
@@ -10491,7 +10522,7 @@ var CPFFormField = ({
10491
10522
  }) => {
10492
10523
  const { control, setValue } = useFormContext3();
10493
10524
  const foreigner = useWatch({ name: "foreigner", control });
10494
- return /* @__PURE__ */ jsxs21(Flex2, { direction: "column", children: [
10525
+ return /* @__PURE__ */ jsxs22(Flex, { direction: "column", children: [
10495
10526
  /* @__PURE__ */ jsx38(
10496
10527
  TextFormField,
10497
10528
  {
@@ -10694,7 +10725,7 @@ function getNestedValue(obj, path) {
10694
10725
  }
10695
10726
 
10696
10727
  // src/components/FormFields/SelectFormField.tsx
10697
- import { jsx as jsx42, jsxs as jsxs22 } from "react/jsx-runtime";
10728
+ import { jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
10698
10729
  var SelectFormField = ({
10699
10730
  name,
10700
10731
  label,
@@ -10715,7 +10746,7 @@ var SelectFormField = ({
10715
10746
  const validationRules = __spreadValues({
10716
10747
  required: required ? validationErrorMessage : false
10717
10748
  }, validation);
10718
- return /* @__PURE__ */ jsxs22(Flex2, { direction: "column", children: [
10749
+ return /* @__PURE__ */ jsxs23(Flex, { direction: "column", children: [
10719
10750
  /* @__PURE__ */ jsx42(
10720
10751
  FormLabel,
10721
10752
  {
@@ -10798,7 +10829,7 @@ function CountryFormField({
10798
10829
  language = "pt-BR"
10799
10830
  }) {
10800
10831
  const countries2 = useCountries(language);
10801
- return /* @__PURE__ */ jsx43(Flex2, { direction: "column", children: /* @__PURE__ */ jsx43(
10832
+ return /* @__PURE__ */ jsx43(Flex, { direction: "column", children: /* @__PURE__ */ jsx43(
10802
10833
  SelectFormField,
10803
10834
  {
10804
10835
  label,
@@ -10978,7 +11009,7 @@ function CityFormField({
10978
11009
  }
10979
11010
 
10980
11011
  // src/components/FormFields/AddressFormFields/index.tsx
10981
- import { jsx as jsx47, jsxs as jsxs23 } from "react/jsx-runtime";
11012
+ import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
10982
11013
  function getNestedValue2(obj, path) {
10983
11014
  return path.split(".").reduce((acc, key) => acc == null ? void 0 : acc[key], obj);
10984
11015
  }
@@ -11028,7 +11059,7 @@ function AddressFormFields({
11028
11059
  console.error("Erro ao buscar CEP");
11029
11060
  });
11030
11061
  };
11031
- return /* @__PURE__ */ jsxs23(AddressContainerStyled, { layout, children: [
11062
+ return /* @__PURE__ */ jsxs24(AddressContainerStyled, { layout, children: [
11032
11063
  /* @__PURE__ */ jsx47(
11033
11064
  FormLabel,
11034
11065
  {
@@ -11107,7 +11138,7 @@ function AddressFormFields({
11107
11138
 
11108
11139
  // src/components/FormFields/RadioGroupFormField.tsx
11109
11140
  import { Controller as Controller3, useFormContext as useFormContext7 } from "react-hook-form";
11110
- import { jsx as jsx48, jsxs as jsxs24 } from "react/jsx-runtime";
11141
+ import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
11111
11142
  var RadioGroupFormField = ({
11112
11143
  name,
11113
11144
  label,
@@ -11129,7 +11160,7 @@ var RadioGroupFormField = ({
11129
11160
  const validationRules = {
11130
11161
  required: required ? validationErrorMessage : false
11131
11162
  };
11132
- return /* @__PURE__ */ jsxs24(Flex2, { direction: "column", children: [
11163
+ return /* @__PURE__ */ jsxs25(Flex, { direction: "column", children: [
11133
11164
  /* @__PURE__ */ jsx48(
11134
11165
  FormLabel,
11135
11166
  {
@@ -11154,10 +11185,7 @@ var RadioGroupFormField = ({
11154
11185
  color: haveError ? "error" : color,
11155
11186
  fontWeight,
11156
11187
  disabled,
11157
- children: options.map((option) => /* @__PURE__ */ jsxs24("label", { children: [
11158
- /* @__PURE__ */ jsx48(RadioItem, { value: option.value }),
11159
- option.label
11160
- ] }, option.value))
11188
+ children: /* @__PURE__ */ jsx48(Flex, { direction: "column", children: options.map((option) => /* @__PURE__ */ jsx48(RadioItem, { value: option.value, children: /* @__PURE__ */ jsx48(Text, { typography: "labelSmall", children: option.label }) }, option.value)) })
11161
11189
  }
11162
11190
  )
11163
11191
  }
@@ -11168,7 +11196,7 @@ var RadioGroupFormField = ({
11168
11196
 
11169
11197
  // src/components/FormFields/CheckboxGroupFormField.tsx
11170
11198
  import { Controller as Controller4, useFormContext as useFormContext8 } from "react-hook-form";
11171
- import { jsx as jsx49, jsxs as jsxs25 } from "react/jsx-runtime";
11199
+ import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
11172
11200
  var CheckboxGroupFormField = ({
11173
11201
  name,
11174
11202
  label,
@@ -11191,7 +11219,7 @@ var CheckboxGroupFormField = ({
11191
11219
  required: required ? validationErrorMessage : false,
11192
11220
  validate: required ? (value) => (value == null ? void 0 : value.length) > 0 || validationErrorMessage : void 0
11193
11221
  };
11194
- return /* @__PURE__ */ jsxs25(Flex2, { direction: "column", children: [
11222
+ return /* @__PURE__ */ jsxs26(Flex, { direction: "column", children: [
11195
11223
  /* @__PURE__ */ jsx49(
11196
11224
  FormLabel,
11197
11225
  {
@@ -11236,7 +11264,7 @@ var CheckboxGroupFormField = ({
11236
11264
 
11237
11265
  // src/components/FormFields/SwitchFormField.tsx
11238
11266
  import { useFormContext as useFormContext9, Controller as Controller5 } from "react-hook-form";
11239
- import { jsx as jsx50, jsxs as jsxs26 } from "react/jsx-runtime";
11267
+ import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
11240
11268
  var SwitchFormField = ({
11241
11269
  name,
11242
11270
  label,
@@ -11250,7 +11278,7 @@ var SwitchFormField = ({
11250
11278
  if (watch) {
11251
11279
  watchForm(name);
11252
11280
  }
11253
- return /* @__PURE__ */ jsxs26(Flex2, { justify: "between", style: { margin: "1rem 0" }, children: [
11281
+ return /* @__PURE__ */ jsxs27(Flex, { justify: "between", style: { margin: "1rem 0" }, children: [
11254
11282
  /* @__PURE__ */ jsx50(Text, { typography: "labelMedium", fontWeight: "regular", children: label }),
11255
11283
  /* @__PURE__ */ jsx50(
11256
11284
  Controller5,
@@ -12354,7 +12382,7 @@ var QuillEditor = styled("div", {
12354
12382
  });
12355
12383
 
12356
12384
  // src/components/RichEditor/QuillComponent.tsx
12357
- import { jsx as jsx52, jsxs as jsxs27 } from "react/jsx-runtime";
12385
+ import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
12358
12386
  var QuillComponent = ({
12359
12387
  value = "",
12360
12388
  onChange,
@@ -12616,7 +12644,7 @@ var QuillComponent = ({
12616
12644
  document.addEventListener("mousedown", handleClickOutside);
12617
12645
  return () => document.removeEventListener("mousedown", handleClickOutside);
12618
12646
  }, [showVideoModal, showLinkModal, handleVideoCancel, handleLinkCancel]);
12619
- return /* @__PURE__ */ jsx52(QuillContainer, { className, children: /* @__PURE__ */ jsxs27(QuillEditor, { style: { position: "relative" }, children: [
12647
+ return /* @__PURE__ */ jsx52(QuillContainer, { className, children: /* @__PURE__ */ jsxs28(QuillEditor, { style: { position: "relative" }, children: [
12620
12648
  /* @__PURE__ */ jsx52("div", { ref: quillRef }),
12621
12649
  showVideoModal && /* @__PURE__ */ jsx52(
12622
12650
  "div",
@@ -12635,7 +12663,7 @@ var QuillComponent = ({
12635
12663
  zIndex: 1e3,
12636
12664
  width: "fit-content"
12637
12665
  },
12638
- children: /* @__PURE__ */ jsxs27(Flex2, { gap: 8, align: "center", children: [
12666
+ children: /* @__PURE__ */ jsxs28(Flex, { gap: 8, align: "center", children: [
12639
12667
  /* @__PURE__ */ jsx52(
12640
12668
  Text,
12641
12669
  {
@@ -12705,7 +12733,7 @@ var QuillComponent = ({
12705
12733
  zIndex: 1e3,
12706
12734
  width: "fit-content"
12707
12735
  },
12708
- children: /* @__PURE__ */ jsxs27(Flex2, { gap: 8, align: "center", children: [
12736
+ children: /* @__PURE__ */ jsxs28(Flex, { gap: 8, align: "center", children: [
12709
12737
  /* @__PURE__ */ jsx52(
12710
12738
  Text,
12711
12739
  {
@@ -12777,7 +12805,7 @@ var RichEditor_default = RichEditor;
12777
12805
 
12778
12806
  // src/components/FormFields/RichEditorFormField.tsx
12779
12807
  import { useState as useState12 } from "react";
12780
- import { Fragment as Fragment5, jsx as jsx54, jsxs as jsxs28 } from "react/jsx-runtime";
12808
+ import { Fragment as Fragment5, jsx as jsx54, jsxs as jsxs29 } from "react/jsx-runtime";
12781
12809
  var RichEditorFormField = (_a) => {
12782
12810
  var _b = _a, {
12783
12811
  name,
@@ -12820,8 +12848,8 @@ var RichEditorFormField = (_a) => {
12820
12848
  const fieldError = fieldState.error;
12821
12849
  const haveError = !!fieldError;
12822
12850
  const errorMsg = fieldError == null ? void 0 : fieldError.message;
12823
- return /* @__PURE__ */ jsxs28(Flex2, { direction: "column", children: [
12824
- maxLength ? /* @__PURE__ */ jsxs28(Flex2, { direction: "row", justify: "between", children: [
12851
+ return /* @__PURE__ */ jsxs29(Flex, { direction: "column", children: [
12852
+ maxLength ? /* @__PURE__ */ jsxs29(Flex, { direction: "row", justify: "between", children: [
12825
12853
  label && /* @__PURE__ */ jsx54(
12826
12854
  FormLabel,
12827
12855
  {
@@ -12860,7 +12888,7 @@ var RichEditorFormField = (_a) => {
12860
12888
  // src/components/FormFields/CalendarFormField.tsx
12861
12889
  import { useController as useController4 } from "react-hook-form";
12862
12890
  import { useCallback as useCallback5 } from "react";
12863
- import { jsx as jsx55, jsxs as jsxs29 } from "react/jsx-runtime";
12891
+ import { jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
12864
12892
  var CalendarFormField = (_a) => {
12865
12893
  var _b = _a, {
12866
12894
  name,
@@ -12909,7 +12937,7 @@ var CalendarFormField = (_a) => {
12909
12937
  const handleCalendarChange = (date) => {
12910
12938
  setSelected(date);
12911
12939
  };
12912
- return /* @__PURE__ */ jsxs29(Flex2, { direction: "column", style: { flex: "1" }, children: [
12940
+ return /* @__PURE__ */ jsxs30(Flex, { direction: "column", style: { flex: "1" }, children: [
12913
12941
  label && /* @__PURE__ */ jsx55(
12914
12942
  FormLabel,
12915
12943
  {
@@ -12939,7 +12967,7 @@ var CalendarFormField = (_a) => {
12939
12967
  // src/components/FormFields/DoubleCalendarFormField.tsx
12940
12968
  import { useCallback as useCallback6 } from "react";
12941
12969
  import { useController as useController5 } from "react-hook-form";
12942
- import { jsx as jsx56, jsxs as jsxs30 } from "react/jsx-runtime";
12970
+ import { jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
12943
12971
  var DoubleCalendarFormField = (_a) => {
12944
12972
  var _b = _a, {
12945
12973
  name,
@@ -12988,7 +13016,7 @@ var DoubleCalendarFormField = (_a) => {
12988
13016
  const handleCalendarChange = (range) => {
12989
13017
  setSelected(range);
12990
13018
  };
12991
- return /* @__PURE__ */ jsxs30(Flex2, { direction: "column", style: { flex: "1" }, children: [
13019
+ return /* @__PURE__ */ jsxs31(Flex, { direction: "column", style: { flex: "1" }, children: [
12992
13020
  label && /* @__PURE__ */ jsx56(FormLabel, { name, label, required, haveError }),
12993
13021
  /* @__PURE__ */ jsx56(
12994
13022
  DoubleCalendar,
@@ -13011,7 +13039,7 @@ var DoubleCalendarFormField = (_a) => {
13011
13039
  // src/components/FormFields/TimePickerFormField.tsx
13012
13040
  import { useController as useController6 } from "react-hook-form";
13013
13041
  import { useCallback as useCallback7 } from "react";
13014
- import { jsx as jsx57, jsxs as jsxs31 } from "react/jsx-runtime";
13042
+ import { jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
13015
13043
  var TimePickerFormField = (_a) => {
13016
13044
  var _b = _a, {
13017
13045
  name,
@@ -13054,7 +13082,7 @@ var TimePickerFormField = (_a) => {
13054
13082
  const handleTimePickerChange = (time) => {
13055
13083
  setSelected(time);
13056
13084
  };
13057
- return /* @__PURE__ */ jsxs31(Flex2, { direction: "column", style: { flex: "1" }, children: [
13085
+ return /* @__PURE__ */ jsxs32(Flex, { direction: "column", style: { flex: "1" }, children: [
13058
13086
  label && /* @__PURE__ */ jsx57(
13059
13087
  FormLabel,
13060
13088
  {
@@ -13222,7 +13250,7 @@ export {
13222
13250
  ErrorFormMessage,
13223
13251
  Filter,
13224
13252
  FilterItem,
13225
- Flex2 as Flex,
13253
+ Flex,
13226
13254
  FlexStyled,
13227
13255
  Form,
13228
13256
  FormLabel,