@lets-events/react 12.6.1 → 12.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @lets-events/react@12.6.1 build
2
+ > @lets-events/react@12.6.3 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,11 +9,11 @@
9
9
  CLI Target: es6
10
10
  ESM Build start
11
11
  CJS Build start
12
- ESM dist\index.mjs 389.01 KB
13
- ESM ⚡️ Build success in 203ms
14
- CJS dist\index.js 404.02 KB
15
- CJS ⚡️ Build success in 203ms
12
+ ESM dist\index.mjs 389.21 KB
13
+ ESM ⚡️ Build success in 204ms
14
+ CJS dist\index.js 404.22 KB
15
+ CJS ⚡️ Build success in 205ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 4551ms
18
- DTS dist\index.d.mts 402.83 KB
19
- DTS dist\index.d.ts 402.83 KB
17
+ DTS ⚡️ Build success in 4468ms
18
+ DTS dist\index.d.mts 402.87 KB
19
+ DTS dist\index.d.ts 402.87 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 12.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix tooltip
8
+
9
+ ## 12.6.2
10
+
11
+ ### Patch Changes
12
+
13
+ - fix button
14
+
3
15
  ## 12.6.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -422,6 +422,7 @@ declare const ButtonStyled: _stitches_react_types_styled_component.StyledCompone
422
422
  fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
423
423
  outlinedBgColor?: "transparent" | "neutral" | undefined;
424
424
  radii?: "full" | undefined;
425
+ isCircle?: boolean | "true" | undefined;
425
426
  }, {
426
427
  md: "(max-width: 690px)";
427
428
  }, _stitches_react_types_css_util.CSS<{
@@ -12757,7 +12758,7 @@ interface TooltipProps {
12757
12758
  children: React$1.ReactNode;
12758
12759
  content: React$1.ReactNode;
12759
12760
  delayDuration?: number;
12760
- side?: 'top' | 'right' | 'bottom' | 'left';
12761
+ side?: "top" | "right" | "bottom" | "left";
12761
12762
  }
12762
12763
  declare function Tooltip({ children, content, delayDuration, side, }: TooltipProps): react_jsx_runtime.JSX.Element;
12763
12764
 
package/dist/index.d.ts CHANGED
@@ -422,6 +422,7 @@ declare const ButtonStyled: _stitches_react_types_styled_component.StyledCompone
422
422
  fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
423
423
  outlinedBgColor?: "transparent" | "neutral" | undefined;
424
424
  radii?: "full" | undefined;
425
+ isCircle?: boolean | "true" | undefined;
425
426
  }, {
426
427
  md: "(max-width: 690px)";
427
428
  }, _stitches_react_types_css_util.CSS<{
@@ -12757,7 +12758,7 @@ interface TooltipProps {
12757
12758
  children: React$1.ReactNode;
12758
12759
  content: React$1.ReactNode;
12759
12760
  delayDuration?: number;
12760
- side?: 'top' | 'right' | 'bottom' | 'left';
12761
+ side?: "top" | "right" | "bottom" | "left";
12761
12762
  }
12762
12763
  declare function Tooltip({ children, content, delayDuration, side, }: TooltipProps): react_jsx_runtime.JSX.Element;
12763
12764
 
package/dist/index.js CHANGED
@@ -905,7 +905,7 @@ __export(index_exports, {
905
905
  ErrorFormMessage: () => ErrorFormMessage,
906
906
  Filter: () => Filter,
907
907
  FilterItem: () => FilterItem,
908
- Flex: () => Flex2,
908
+ Flex: () => Flex,
909
909
  FlexStyled: () => FlexStyled,
910
910
  Form: () => Form,
911
911
  FormLabel: () => FormLabel,
@@ -1830,6 +1830,13 @@ var ButtonStyled = styled(import_themes2.Button, {
1830
1830
  full: {
1831
1831
  borderRadius: "$full"
1832
1832
  }
1833
+ },
1834
+ isCircle: {
1835
+ true: {
1836
+ borderRadius: "$full",
1837
+ padding: 0,
1838
+ aspectRatio: "1"
1839
+ }
1833
1840
  }
1834
1841
  },
1835
1842
  compoundVariants: [
@@ -1862,11 +1869,122 @@ var SpinningDiv = styled("div", {
1862
1869
  });
1863
1870
 
1864
1871
  // src/components/Button/index.tsx
1872
+ var import_themes4 = require("@radix-ui/themes");
1873
+
1874
+ // src/components/Flex.tsx
1865
1875
  var import_themes3 = require("@radix-ui/themes");
1866
1876
  var import_jsx_runtime3 = require("react/jsx-runtime");
1877
+ var FlexStyled = styled(import_themes3.Flex, {
1878
+ variants: {
1879
+ display: {
1880
+ "flex": { display: "flex" },
1881
+ "inline-flex": { display: "inline-flex" }
1882
+ },
1883
+ align: {
1884
+ start: { alignItems: "flex-start" },
1885
+ center: { alignItems: "center" },
1886
+ end: { alignItems: "flex-end" },
1887
+ stretch: { alignItems: "stretch" },
1888
+ baseline: { alignItems: "baseline" }
1889
+ },
1890
+ justify: {
1891
+ start: { justifyContent: "flex-start" },
1892
+ center: { justifyContent: "center" },
1893
+ end: { justifyContent: "flex-end" },
1894
+ between: { justifyContent: "space-between" },
1895
+ around: { justifyContent: "space-around" },
1896
+ evenly: { justifyContent: "space-evenly" }
1897
+ },
1898
+ direction: {
1899
+ row: { flexDirection: "row" },
1900
+ column: { flexDirection: "column" },
1901
+ "row-reverse": { flexDirection: "row-reverse" },
1902
+ "column-reverse": { flexDirection: "column-reverse" }
1903
+ },
1904
+ gap: {
1905
+ 0: { gap: "0px" },
1906
+ 2: { gap: "$2" },
1907
+ 4: { gap: "$4" },
1908
+ 6: { gap: "$6" },
1909
+ 8: { gap: "$8" },
1910
+ 10: { gap: "$10" },
1911
+ 12: { gap: "$12" },
1912
+ 14: { gap: "$14" },
1913
+ 16: { gap: "$16" },
1914
+ 20: { gap: "$20" },
1915
+ 22: { gap: "$22" },
1916
+ 24: { gap: "$24" },
1917
+ 32: { gap: "$32" },
1918
+ 36: { gap: "$36" },
1919
+ 40: { gap: "$40" },
1920
+ 48: { gap: "$48" },
1921
+ 56: { gap: "$56" },
1922
+ 64: { gap: "$64" },
1923
+ 72: { gap: "$72" },
1924
+ 80: { gap: "$80" },
1925
+ full: { gap: "$full" }
1926
+ },
1927
+ gapY: {
1928
+ 2: { gap: "$2" },
1929
+ 4: { gap: "$4" },
1930
+ 6: { gap: "$6" },
1931
+ 8: { gap: "$8" },
1932
+ 10: { gap: "$10" },
1933
+ 12: { gap: "$12" },
1934
+ 14: { gap: "$14" },
1935
+ 16: { gap: "$16" },
1936
+ 20: { gap: "$20" },
1937
+ 22: { gap: "$22" },
1938
+ 24: { gap: "$24" },
1939
+ 32: { gap: "$32" },
1940
+ 36: { gap: "$36" },
1941
+ 40: { gap: "$40" },
1942
+ 48: { gap: "$48" },
1943
+ 56: { gap: "$56" },
1944
+ 64: { gap: "$64" },
1945
+ 72: { gap: "$72" },
1946
+ 80: { gap: "$80" },
1947
+ full: { gap: "$full" }
1948
+ },
1949
+ gapX: {
1950
+ 2: { gap: "$2" },
1951
+ 4: { gap: "$4" },
1952
+ 6: { gap: "$6" },
1953
+ 8: { gap: "$8" },
1954
+ 10: { gap: "$10" },
1955
+ 12: { gap: "$12" },
1956
+ 14: { gap: "$14" },
1957
+ 16: { gap: "$16" },
1958
+ 20: { gap: "$20" },
1959
+ 22: { gap: "$22" },
1960
+ 24: { gap: "$24" },
1961
+ 32: { gap: "$32" },
1962
+ 36: { gap: "$36" },
1963
+ 40: { gap: "$40" },
1964
+ 48: { gap: "$48" },
1965
+ 56: { gap: "$56" },
1966
+ 64: { gap: "$64" },
1967
+ 72: { gap: "$72" },
1968
+ 80: { gap: "$80" },
1969
+ full: { gap: "$full" }
1970
+ }
1971
+ },
1972
+ defaultVariants: {
1973
+ display: "flex",
1974
+ direction: "row",
1975
+ gap: 10
1976
+ }
1977
+ });
1978
+ function Flex(_a) {
1979
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1980
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
1981
+ }
1982
+
1983
+ // src/components/Button/index.tsx
1984
+ var import_jsx_runtime4 = require("react/jsx-runtime");
1867
1985
  function Button(_a) {
1868
1986
  var _b = _a, { asChild, children, loading } = _b, props = __objRest(_b, ["asChild", "children", "loading"]);
1869
- const Component = asChild ? import_themes3.Button : "button";
1987
+ const Component = asChild ? import_themes4.Button : "button";
1870
1988
  const { size, disabled } = props;
1871
1989
  const spinnerSize = (0, import_react2.useMemo)(() => {
1872
1990
  switch (size) {
@@ -1882,9 +2000,17 @@ function Button(_a) {
1882
2000
  return "md";
1883
2001
  }
1884
2002
  }, [size]);
1885
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ButtonStyled, __spreadProps(__spreadValues({ as: Component }, props), { disabled: disabled || loading, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { position: "relative" }, children: [
1886
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: { visibility: loading ? "hidden" : void 0 }, children }),
1887
- loading && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2003
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ButtonStyled, __spreadProps(__spreadValues({ as: Component }, props), { disabled: disabled || loading, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { position: "relative" }, children: [
2004
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2005
+ Flex,
2006
+ {
2007
+ justify: "center",
2008
+ align: "center",
2009
+ css: { visibility: loading ? "hidden" : void 0 },
2010
+ children
2011
+ }
2012
+ ),
2013
+ loading && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1888
2014
  "div",
1889
2015
  {
1890
2016
  style: {
@@ -1893,16 +2019,16 @@ function Button(_a) {
1893
2019
  left: "50%",
1894
2020
  transform: "translate(-50%, -50%)"
1895
2021
  },
1896
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SpinningDiv, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "circle-notch", size: spinnerSize }) })
2022
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SpinningDiv, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon_default, { name: "circle-notch", size: spinnerSize }) })
1897
2023
  }
1898
2024
  )
1899
2025
  ] }) }));
1900
2026
  }
1901
2027
 
1902
2028
  // src/components/ButtonGroup.tsx
1903
- var import_themes4 = require("@radix-ui/themes");
1904
- var import_jsx_runtime4 = require("react/jsx-runtime");
1905
- var ButtonItemStyled = styled(import_themes4.Button, {
2029
+ var import_themes5 = require("@radix-ui/themes");
2030
+ var import_jsx_runtime5 = require("react/jsx-runtime");
2031
+ var ButtonItemStyled = styled(import_themes5.Button, {
1906
2032
  fontFamily: "$default",
1907
2033
  letterSpacing: 0,
1908
2034
  border: 0,
@@ -1915,7 +2041,7 @@ var ButtonItemStyled = styled(import_themes4.Button, {
1915
2041
  }
1916
2042
  }
1917
2043
  });
1918
- var ButtonGroupStyled = styled(import_themes4.Flex, {
2044
+ var ButtonGroupStyled = styled(import_themes5.Flex, {
1919
2045
  display: "flex",
1920
2046
  borderRadius: "$md",
1921
2047
  overflow: "hidden",
@@ -2367,17 +2493,17 @@ var ButtonGroupStyled = styled(import_themes4.Flex, {
2367
2493
  });
2368
2494
  function ButtonItem(_a) {
2369
2495
  var _b = _a, { children, active } = _b, props = __objRest(_b, ["children", "active"]);
2370
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
2496
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
2371
2497
  }
2372
2498
  function ButtonGroup(_a) {
2373
2499
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2374
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2500
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2375
2501
  }
2376
2502
 
2377
2503
  // src/components/Avatar.tsx
2378
- var import_themes5 = require("@radix-ui/themes");
2379
- var import_jsx_runtime5 = require("react/jsx-runtime");
2380
- var AvatarStyled = styled(import_themes5.Avatar, {
2504
+ var import_themes6 = require("@radix-ui/themes");
2505
+ var import_jsx_runtime6 = require("react/jsx-runtime");
2506
+ var AvatarStyled = styled(import_themes6.Avatar, {
2381
2507
  fontFamily: "$default",
2382
2508
  color: "$gray100",
2383
2509
  letterSpacing: "0px",
@@ -2421,123 +2547,12 @@ var AvatarStyled = styled(import_themes5.Avatar, {
2421
2547
  });
2422
2548
  function Avatar(_a) {
2423
2549
  var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
2424
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarStyled, __spreadValues({ as: import_themes5.Avatar }, props));
2550
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AvatarStyled, __spreadValues({ as: import_themes6.Avatar }, props));
2425
2551
  }
2426
2552
 
2427
2553
  // src/components/TextField.tsx
2428
2554
  var import_react3 = __toESM(require("react"));
2429
2555
  var import_themes7 = require("@radix-ui/themes");
2430
-
2431
- // src/components/Flex.tsx
2432
- var import_themes6 = require("@radix-ui/themes");
2433
- var import_jsx_runtime6 = require("react/jsx-runtime");
2434
- var FlexStyled = styled(import_themes6.Flex, {
2435
- variants: {
2436
- display: {
2437
- "flex": { display: "flex" },
2438
- "inline-flex": { display: "inline-flex" }
2439
- },
2440
- align: {
2441
- start: { alignItems: "flex-start" },
2442
- center: { alignItems: "center" },
2443
- end: { alignItems: "flex-end" },
2444
- stretch: { alignItems: "stretch" },
2445
- baseline: { alignItems: "baseline" }
2446
- },
2447
- justify: {
2448
- start: { justifyContent: "flex-start" },
2449
- center: { justifyContent: "center" },
2450
- end: { justifyContent: "flex-end" },
2451
- between: { justifyContent: "space-between" },
2452
- around: { justifyContent: "space-around" },
2453
- evenly: { justifyContent: "space-evenly" }
2454
- },
2455
- direction: {
2456
- row: { flexDirection: "row" },
2457
- column: { flexDirection: "column" },
2458
- "row-reverse": { flexDirection: "row-reverse" },
2459
- "column-reverse": { flexDirection: "column-reverse" }
2460
- },
2461
- gap: {
2462
- 0: { gap: "0px" },
2463
- 2: { gap: "$2" },
2464
- 4: { gap: "$4" },
2465
- 6: { gap: "$6" },
2466
- 8: { gap: "$8" },
2467
- 10: { gap: "$10" },
2468
- 12: { gap: "$12" },
2469
- 14: { gap: "$14" },
2470
- 16: { gap: "$16" },
2471
- 20: { gap: "$20" },
2472
- 22: { gap: "$22" },
2473
- 24: { gap: "$24" },
2474
- 32: { gap: "$32" },
2475
- 36: { gap: "$36" },
2476
- 40: { gap: "$40" },
2477
- 48: { gap: "$48" },
2478
- 56: { gap: "$56" },
2479
- 64: { gap: "$64" },
2480
- 72: { gap: "$72" },
2481
- 80: { gap: "$80" },
2482
- full: { gap: "$full" }
2483
- },
2484
- gapY: {
2485
- 2: { gap: "$2" },
2486
- 4: { gap: "$4" },
2487
- 6: { gap: "$6" },
2488
- 8: { gap: "$8" },
2489
- 10: { gap: "$10" },
2490
- 12: { gap: "$12" },
2491
- 14: { gap: "$14" },
2492
- 16: { gap: "$16" },
2493
- 20: { gap: "$20" },
2494
- 22: { gap: "$22" },
2495
- 24: { gap: "$24" },
2496
- 32: { gap: "$32" },
2497
- 36: { gap: "$36" },
2498
- 40: { gap: "$40" },
2499
- 48: { gap: "$48" },
2500
- 56: { gap: "$56" },
2501
- 64: { gap: "$64" },
2502
- 72: { gap: "$72" },
2503
- 80: { gap: "$80" },
2504
- full: { gap: "$full" }
2505
- },
2506
- gapX: {
2507
- 2: { gap: "$2" },
2508
- 4: { gap: "$4" },
2509
- 6: { gap: "$6" },
2510
- 8: { gap: "$8" },
2511
- 10: { gap: "$10" },
2512
- 12: { gap: "$12" },
2513
- 14: { gap: "$14" },
2514
- 16: { gap: "$16" },
2515
- 20: { gap: "$20" },
2516
- 22: { gap: "$22" },
2517
- 24: { gap: "$24" },
2518
- 32: { gap: "$32" },
2519
- 36: { gap: "$36" },
2520
- 40: { gap: "$40" },
2521
- 48: { gap: "$48" },
2522
- 56: { gap: "$56" },
2523
- 64: { gap: "$64" },
2524
- 72: { gap: "$72" },
2525
- 80: { gap: "$80" },
2526
- full: { gap: "$full" }
2527
- }
2528
- },
2529
- defaultVariants: {
2530
- display: "flex",
2531
- direction: "row",
2532
- gap: 10
2533
- }
2534
- });
2535
- function Flex2(_a) {
2536
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2537
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
2538
- }
2539
-
2540
- // src/components/TextField.tsx
2541
2556
  var import_mask = require("@react-input/mask");
2542
2557
  var import_jsx_runtime7 = require("react/jsx-runtime");
2543
2558
  var TextFieldStyled = styled(import_themes7.TextField.Root, {
@@ -2771,8 +2786,8 @@ var TextField = import_react3.default.forwardRef(
2771
2786
  updateCharCountBadge();
2772
2787
  (_a2 = props.onInput) == null ? void 0 : _a2.call(props, e);
2773
2788
  };
2774
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Flex2, { direction: "column", css: { width: "100%", position: "relative" }, children: [
2775
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Flex2, { gap: "0", css: { width: "100%" }, children: [
2789
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Flex, { direction: "column", css: { width: "100%", position: "relative" }, children: [
2790
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Flex, { gap: "0", css: { width: "100%" }, children: [
2776
2791
  !!addon && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2777
2792
  InputAddon,
2778
2793
  {
@@ -8452,7 +8467,7 @@ function Drawer({
8452
8467
  },
8453
8468
  children: [
8454
8469
  /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(DrawerHeaderDiv, { children: [
8455
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(Flex2, { gap: 8, align: "center", children: [
8470
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(Flex, { gap: 8, align: "center", children: [
8456
8471
  goBackIcon && goBackIcon && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(GoBackButtonStyled, { type: "button", onClick: goBackAction, children: goBackIcon }),
8457
8472
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DrawerHeaderTitle, { children: title })
8458
8473
  ] }),
@@ -9020,7 +9035,7 @@ function Alert(_a) {
9020
9035
  ] })
9021
9036
  ] }),
9022
9037
  completAlert.onAction || completAlert.cancel ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialoghrStyled, {}) : null,
9023
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogRowStyled, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(Flex2, { gap: "10", justify: "end", width: "100%", children: [
9038
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogRowStyled, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(Flex, { gap: "10", justify: "end", width: "100%", children: [
9024
9039
  completAlert.onAction && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_themes13.AlertDialog.Action, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
9025
9040
  Button,
9026
9041
  {
@@ -9399,7 +9414,7 @@ var TextareaField = import_react13.default.forwardRef((_a, forwardedRef) => {
9399
9414
  }
9400
9415
  (_a2 = props.onInput) == null ? void 0 : _a2.call(props, e);
9401
9416
  };
9402
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Flex2, { direction: "column", align: "end", style: { position: "relative" }, children: [
9417
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Flex, { direction: "column", align: "end", style: { position: "relative" }, children: [
9403
9418
  maxLength && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Badge, { size: "sm", color: "grey", style: { position: "absolute", right: 0, top: "-1.75rem" }, children: remaining }),
9404
9419
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(TextareaContainer, { color, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
9405
9420
  TextareaFieldStyle,
@@ -9675,7 +9690,7 @@ function Tooltip({
9675
9690
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(TooltipRoot, { delayDuration, children: [
9676
9691
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(TooltipTrigger, { asChild: true, children }),
9677
9692
  /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(TooltipContent, { side, sideOffset: 5, children: [
9678
- typeof content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text, { typography: "tooltip", children: content }) : content,
9693
+ typeof content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text, { typography: "tooltip", color: "grey50", children: content }) : content,
9679
9694
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(TooltipArrow, {})
9680
9695
  ] })
9681
9696
  ] }) });
@@ -9749,7 +9764,7 @@ var CloseBtnStyled = styled("button", {
9749
9764
  background: "none",
9750
9765
  border: "none"
9751
9766
  });
9752
- var StyledFlexWithMaxHeight = styled(Flex2, {
9767
+ var StyledFlexWithMaxHeight = styled(Flex, {
9753
9768
  variants: {
9754
9769
  hasMaxHeight: {
9755
9770
  true: {
@@ -9775,7 +9790,7 @@ var StyledFlexWithMaxHeight = styled(Flex2, {
9775
9790
  hasMaxHeight: false
9776
9791
  }
9777
9792
  });
9778
- var StyledFlexSelectedItems = styled(Flex2, {
9793
+ var StyledFlexSelectedItems = styled(Flex, {
9779
9794
  overflowY: "auto",
9780
9795
  margin: "8px 0",
9781
9796
  "&::-webkit-scrollbar": {
@@ -10007,7 +10022,7 @@ var MultiSelect = import_react18.default.forwardRef(
10007
10022
  justify: "start",
10008
10023
  css: __spreadValues({}, selectedScroll && { maxHeight: maxHeight || "400px" }),
10009
10024
  children: allOptionsSelected ? /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
10010
- Flex2,
10025
+ Flex,
10011
10026
  {
10012
10027
  gap: 4,
10013
10028
  align: "center",
@@ -10038,7 +10053,7 @@ var MultiSelect = import_react18.default.forwardRef(
10038
10053
  },
10039
10054
  "all-selected"
10040
10055
  ) : selectedValues.map((value) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
10041
- Flex2,
10056
+ Flex,
10042
10057
  {
10043
10058
  gap: 4,
10044
10059
  align: "center",
@@ -10281,7 +10296,7 @@ var ErrorFormMessage = ({ message: message2 }) => {
10281
10296
  if (typeof message2 !== "string") {
10282
10297
  return null;
10283
10298
  }
10284
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Flex2, { justify: "start", align: "center", gap: 6, children: [
10299
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Flex, { justify: "start", align: "center", gap: 6, children: [
10285
10300
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react_fontawesome4.FontAwesomeIcon, { icon: import_free_solid_svg_icons4.faXmarkCircle, color: colors.error600, size: "1x" }),
10286
10301
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Text, { typography: "bodyXS", fontWeight: "medium", color: "error600", children: message2 })
10287
10302
  ] });
@@ -10298,7 +10313,7 @@ var FormLabel = ({
10298
10313
  required
10299
10314
  }) => {
10300
10315
  if (!label) return null;
10301
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Flex2, { align: "start", gap: 6, children: [
10316
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Flex, { align: "start", gap: 6, children: [
10302
10317
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
10303
10318
  Text,
10304
10319
  {
@@ -10347,7 +10362,7 @@ var TextAreaFormField = (_a) => {
10347
10362
  required: required ? validationErrorMessage : false,
10348
10363
  validate
10349
10364
  };
10350
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Flex2, { direction: "column", children: [
10365
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Flex, { direction: "column", children: [
10351
10366
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
10352
10367
  FormLabel,
10353
10368
  {
@@ -10430,7 +10445,7 @@ var TextFormField = (_a) => {
10430
10445
  if (valueFormatter) value = valueFormatter.unformat(value);
10431
10446
  formChange(value);
10432
10447
  };
10433
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Flex2, { direction: "column", children: [
10448
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Flex, { direction: "column", children: [
10434
10449
  label && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
10435
10450
  FormLabel,
10436
10451
  {
@@ -10510,7 +10525,7 @@ var MultiSelectFormField = (_a) => {
10510
10525
  const handleChange = (v) => {
10511
10526
  onChange(v);
10512
10527
  };
10513
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Flex2, { direction: "column", children: [
10528
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Flex, { direction: "column", children: [
10514
10529
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
10515
10530
  FormLabel,
10516
10531
  {
@@ -10612,7 +10627,7 @@ var CPFFormField = ({
10612
10627
  }) => {
10613
10628
  const { control, setValue } = (0, import_react_hook_form5.useFormContext)();
10614
10629
  const foreigner = (0, import_react_hook_form5.useWatch)({ name: "foreigner", control });
10615
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Flex2, { direction: "column", children: [
10630
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Flex, { direction: "column", children: [
10616
10631
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
10617
10632
  TextFormField,
10618
10633
  {
@@ -10836,7 +10851,7 @@ var SelectFormField = ({
10836
10851
  const validationRules = __spreadValues({
10837
10852
  required: required ? validationErrorMessage : false
10838
10853
  }, validation);
10839
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Flex2, { direction: "column", children: [
10854
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Flex, { direction: "column", children: [
10840
10855
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
10841
10856
  FormLabel,
10842
10857
  {
@@ -10919,7 +10934,7 @@ function CountryFormField({
10919
10934
  language = "pt-BR"
10920
10935
  }) {
10921
10936
  const countries2 = useCountries(language);
10922
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Flex2, { direction: "column", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
10937
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Flex, { direction: "column", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
10923
10938
  SelectFormField,
10924
10939
  {
10925
10940
  label,
@@ -11250,7 +11265,7 @@ var RadioGroupFormField = ({
11250
11265
  const validationRules = {
11251
11266
  required: required ? validationErrorMessage : false
11252
11267
  };
11253
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Flex2, { direction: "column", children: [
11268
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Flex, { direction: "column", children: [
11254
11269
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
11255
11270
  FormLabel,
11256
11271
  {
@@ -11275,7 +11290,7 @@ var RadioGroupFormField = ({
11275
11290
  color: haveError ? "error" : color,
11276
11291
  fontWeight,
11277
11292
  disabled,
11278
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Flex2, { direction: "column", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(RadioItem, { value: option.value, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Text, { typography: "labelSmall", children: option.label }) }, option.value)) })
11293
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Flex, { direction: "column", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(RadioItem, { value: option.value, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Text, { typography: "labelSmall", children: option.label }) }, option.value)) })
11279
11294
  }
11280
11295
  )
11281
11296
  }
@@ -11309,7 +11324,7 @@ var CheckboxGroupFormField = ({
11309
11324
  required: required ? validationErrorMessage : false,
11310
11325
  validate: required ? (value) => (value == null ? void 0 : value.length) > 0 || validationErrorMessage : void 0
11311
11326
  };
11312
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Flex2, { direction: "column", children: [
11327
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Flex, { direction: "column", children: [
11313
11328
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11314
11329
  FormLabel,
11315
11330
  {
@@ -11368,7 +11383,7 @@ var SwitchFormField = ({
11368
11383
  if (watch) {
11369
11384
  watchForm(name);
11370
11385
  }
11371
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Flex2, { justify: "between", style: { margin: "1rem 0" }, children: [
11386
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Flex, { justify: "between", style: { margin: "1rem 0" }, children: [
11372
11387
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Text, { typography: "labelMedium", fontWeight: "regular", children: label }),
11373
11388
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
11374
11389
  import_react_hook_form11.Controller,
@@ -12753,7 +12768,7 @@ var QuillComponent = ({
12753
12768
  zIndex: 1e3,
12754
12769
  width: "fit-content"
12755
12770
  },
12756
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Flex2, { gap: 8, align: "center", children: [
12771
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Flex, { gap: 8, align: "center", children: [
12757
12772
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
12758
12773
  Text,
12759
12774
  {
@@ -12823,7 +12838,7 @@ var QuillComponent = ({
12823
12838
  zIndex: 1e3,
12824
12839
  width: "fit-content"
12825
12840
  },
12826
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Flex2, { gap: 8, align: "center", children: [
12841
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Flex, { gap: 8, align: "center", children: [
12827
12842
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
12828
12843
  Text,
12829
12844
  {
@@ -12938,8 +12953,8 @@ var RichEditorFormField = (_a) => {
12938
12953
  const fieldError = fieldState.error;
12939
12954
  const haveError = !!fieldError;
12940
12955
  const errorMsg = fieldError == null ? void 0 : fieldError.message;
12941
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Flex2, { direction: "column", children: [
12942
- maxLength ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Flex2, { direction: "row", justify: "between", children: [
12956
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Flex, { direction: "column", children: [
12957
+ maxLength ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Flex, { direction: "row", justify: "between", children: [
12943
12958
  label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
12944
12959
  FormLabel,
12945
12960
  {
@@ -13027,7 +13042,7 @@ var CalendarFormField = (_a) => {
13027
13042
  const handleCalendarChange = (date) => {
13028
13043
  setSelected(date);
13029
13044
  };
13030
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Flex2, { direction: "column", style: { flex: "1" }, children: [
13045
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Flex, { direction: "column", style: { flex: "1" }, children: [
13031
13046
  label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
13032
13047
  FormLabel,
13033
13048
  {
@@ -13106,7 +13121,7 @@ var DoubleCalendarFormField = (_a) => {
13106
13121
  const handleCalendarChange = (range) => {
13107
13122
  setSelected(range);
13108
13123
  };
13109
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Flex2, { direction: "column", style: { flex: "1" }, children: [
13124
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Flex, { direction: "column", style: { flex: "1" }, children: [
13110
13125
  label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(FormLabel, { name, label, required, haveError }),
13111
13126
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
13112
13127
  DoubleCalendar,
@@ -13172,7 +13187,7 @@ var TimePickerFormField = (_a) => {
13172
13187
  const handleTimePickerChange = (time) => {
13173
13188
  setSelected(time);
13174
13189
  };
13175
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Flex2, { direction: "column", style: { flex: "1" }, children: [
13190
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Flex, { direction: "column", style: { flex: "1" }, children: [
13176
13191
  label && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
13177
13192
  FormLabel,
13178
13193
  {