@clickpalm/react 1.1.0 → 1.1.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
@@ -271,7 +271,7 @@ var StyledButton = styled("button", {
271
271
  primary: {
272
272
  color: "$white",
273
273
  backgroundImage: "linear-gradient(to bottom, $ignite_light, $ignite_dark)",
274
- "&:not(:disabled):hover": {
274
+ "&:not(:disabled):is(:hover, :focus)": {
275
275
  background: "$ignite_dark"
276
276
  },
277
277
  "&:disabled": {
@@ -281,7 +281,7 @@ var StyledButton = styled("button", {
281
281
  secondary: {
282
282
  color: "$clickpalm_mid",
283
283
  border: "2px solid $ignite_light",
284
- "&:not(:disabled):hover": {
284
+ "&:not(:disabled):is(:hover, :focus)": {
285
285
  border: "2px solid $ignite_dark"
286
286
  },
287
287
  "&:disabled": {
@@ -291,7 +291,7 @@ var StyledButton = styled("button", {
291
291
  tertiary: {
292
292
  color: "$ignite_light",
293
293
  border: "3px solid $clickpalm_mid",
294
- "&:not(:disabled):hover": {
294
+ "&:not(:disabled):is(:hover, :focus)": {
295
295
  color: "$ignite_dark"
296
296
  },
297
297
  "&:disabled": {
@@ -967,6 +967,9 @@ var Calendar2 = ({ label, onChange }) => {
967
967
  ] });
968
968
  };
969
969
 
970
+ // src/components/Checkbox/index.tsx
971
+ import { forwardRef as forwardRef2 } from "react";
972
+
970
973
  // src/components/Checkbox/styles.ts
971
974
  import * as Checkbox from "@radix-ui/react-checkbox";
972
975
  var StyledWrapper = styled("div", {
@@ -1081,24 +1084,27 @@ var Span = styled("span", {
1081
1084
 
1082
1085
  // src/components/Checkbox/index.tsx
1083
1086
  import { jsx as jsx18, jsxs as jsxs3 } from "react/jsx-runtime";
1084
- function Checkbox2({ label, checked, onCheckedChange, errorMessage, ...rest }) {
1085
- return /* @__PURE__ */ jsxs3("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1086
- /* @__PURE__ */ jsxs3(StyledWrapper, { hasError: !!errorMessage, children: [
1087
- /* @__PURE__ */ jsx18(
1088
- CheckboxContainer,
1089
- {
1090
- checked,
1091
- onCheckedChange,
1092
- hasError: !!errorMessage,
1093
- ...rest,
1094
- children: /* @__PURE__ */ jsx18(CheckboxIndicator, { asChild: true, children: /* @__PURE__ */ jsx18(Icon, { name: "Check", size: 16 }) })
1095
- }
1096
- ),
1097
- /* @__PURE__ */ jsx18(CheckboxLabel, { children: label })
1098
- ] }),
1099
- errorMessage && /* @__PURE__ */ jsx18(Span, { children: errorMessage })
1100
- ] });
1101
- }
1087
+ var Checkbox2 = forwardRef2(
1088
+ ({ label, checked, onCheckedChange, errorMessage, ...rest }, ref) => {
1089
+ return /* @__PURE__ */ jsxs3("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1090
+ /* @__PURE__ */ jsxs3(StyledWrapper, { hasError: !!errorMessage, children: [
1091
+ /* @__PURE__ */ jsx18(
1092
+ CheckboxContainer,
1093
+ {
1094
+ ref,
1095
+ checked,
1096
+ onCheckedChange,
1097
+ hasError: !!errorMessage,
1098
+ ...rest,
1099
+ children: /* @__PURE__ */ jsx18(CheckboxIndicator, { asChild: true, children: /* @__PURE__ */ jsx18(Icon, { name: "Check", size: 16 }) })
1100
+ }
1101
+ ),
1102
+ /* @__PURE__ */ jsx18(CheckboxLabel, { children: label })
1103
+ ] }),
1104
+ errorMessage && /* @__PURE__ */ jsx18(Span, { children: errorMessage })
1105
+ ] });
1106
+ }
1107
+ );
1102
1108
  Checkbox2.displayName = "Checkbox";
1103
1109
 
1104
1110
  // src/components/Datepicker/index.tsx
@@ -1109,7 +1115,7 @@ import { DayPicker as DayPicker2 } from "react-day-picker";
1109
1115
  import "react-day-picker/dist/style.css";
1110
1116
 
1111
1117
  // src/components/Input/index.tsx
1112
- import React, { forwardRef as forwardRef2, useRef as useRef2 } from "react";
1118
+ import React, { forwardRef as forwardRef3, useRef as useRef2 } from "react";
1113
1119
 
1114
1120
  // src/components/Input/styles.ts
1115
1121
  var StyledWrapper2 = styled("div", {
@@ -1207,7 +1213,7 @@ var Span2 = styled("span", {
1207
1213
 
1208
1214
  // src/components/Input/index.tsx
1209
1215
  import { jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
1210
- var Input2 = forwardRef2(
1216
+ var Input2 = forwardRef3(
1211
1217
  ({ prefix, suffix, label, errorMessage, noMargin = false, ...props }, forwardedRef) => {
1212
1218
  const localInputRef = useRef2(null);
1213
1219
  const inputRef = forwardedRef || localInputRef;
@@ -1393,7 +1399,9 @@ var Datepicker = ({ label, value, onChange }) => {
1393
1399
  };
1394
1400
 
1395
1401
  // src/components/Hr.tsx
1396
- var Hr = styled("hr", {
1402
+ import { forwardRef as forwardRef4 } from "react";
1403
+ import { jsx as jsx21 } from "react/jsx-runtime";
1404
+ var StyledHr = styled("hr", {
1397
1405
  border: "none",
1398
1406
  height: "1px",
1399
1407
  width: "100%",
@@ -1408,6 +1416,10 @@ var Hr = styled("hr", {
1408
1416
  }
1409
1417
  }
1410
1418
  });
1419
+ var Hr = forwardRef4(function Hr2({ children, ...props }, ref) {
1420
+ return /* @__PURE__ */ jsx21(StyledHr, { ref, ...props, children });
1421
+ });
1422
+ Hr.displayName = "Hr";
1411
1423
 
1412
1424
  // src/components/Modal/index.tsx
1413
1425
  import * as Dialog2 from "@radix-ui/react-dialog";
@@ -1465,16 +1477,16 @@ var StyledDivider = styled2("hr", {
1465
1477
  });
1466
1478
 
1467
1479
  // src/components/Modal/index.tsx
1468
- import { jsx as jsx21, jsxs as jsxs6 } from "react/jsx-runtime";
1480
+ import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
1469
1481
  var Modal = ({ open, onOpenChange, title, children }) => {
1470
- return /* @__PURE__ */ jsx21(Dialog2.Root, { open, onOpenChange, children: /* @__PURE__ */ jsxs6(Dialog2.Portal, { children: [
1471
- /* @__PURE__ */ jsx21(StyledOverlay, {}),
1482
+ return /* @__PURE__ */ jsx22(Dialog2.Root, { open, onOpenChange, children: /* @__PURE__ */ jsxs6(Dialog2.Portal, { children: [
1483
+ /* @__PURE__ */ jsx22(StyledOverlay, {}),
1472
1484
  /* @__PURE__ */ jsxs6(StyledContent, { children: [
1473
1485
  /* @__PURE__ */ jsxs6(Wrapper, { children: [
1474
- /* @__PURE__ */ jsx21(StyledTitle, { children: title }),
1475
- /* @__PURE__ */ jsx21(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx21(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx21(Icon, { name: "Closed", size: 8 }) }) })
1486
+ /* @__PURE__ */ jsx22(StyledTitle, { children: title }),
1487
+ /* @__PURE__ */ jsx22(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx22(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx22(Icon, { name: "Closed", size: 8 }) }) })
1476
1488
  ] }),
1477
- /* @__PURE__ */ jsx21(StyledDivider, {}),
1489
+ /* @__PURE__ */ jsx22(StyledDivider, {}),
1478
1490
  children
1479
1491
  ] })
1480
1492
  ] }) });
@@ -1511,7 +1523,7 @@ var StyledIndicator = styled(Progress.Indicator, {
1511
1523
  });
1512
1524
 
1513
1525
  // src/components/ProgressBar/index.tsx
1514
- import { jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
1526
+ import { jsx as jsx23, jsxs as jsxs7 } from "react/jsx-runtime";
1515
1527
  var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1516
1528
  const [progress2, setProgress] = useState3(0);
1517
1529
  useEffect3(() => {
@@ -1520,14 +1532,14 @@ var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1520
1532
  }, [value]);
1521
1533
  const valueLabel = `${Math.round(progress2 / max * 100)}%`;
1522
1534
  return /* @__PURE__ */ jsxs7(StyledWrapper3, { children: [
1523
- /* @__PURE__ */ jsx22("label", { style: { fontSize: 16, alignSelf: "flex-start" }, children: label }),
1524
- /* @__PURE__ */ jsx22(
1535
+ /* @__PURE__ */ jsx23("label", { style: { fontSize: 16, alignSelf: "flex-start" }, children: label }),
1536
+ /* @__PURE__ */ jsx23(
1525
1537
  StyledRoot,
1526
1538
  {
1527
1539
  value: progress2,
1528
1540
  "aria-valuetext": valueLabel,
1529
1541
  ...rest,
1530
- children: /* @__PURE__ */ jsx22(
1542
+ children: /* @__PURE__ */ jsx23(
1531
1543
  StyledIndicator,
1532
1544
  {
1533
1545
  style: { transform: `translateX(-${100 - progress2}%)` }
@@ -1631,7 +1643,7 @@ var Span3 = styled("span", {
1631
1643
  });
1632
1644
 
1633
1645
  // src/components/Radio/index.tsx
1634
- import { jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
1646
+ import { jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
1635
1647
  var Radio = ({
1636
1648
  labels,
1637
1649
  value,
@@ -1641,7 +1653,7 @@ var Radio = ({
1641
1653
  errorMessage
1642
1654
  }) => {
1643
1655
  return /* @__PURE__ */ jsxs8("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1644
- /* @__PURE__ */ jsx23(
1656
+ /* @__PURE__ */ jsx24(
1645
1657
  StyledRoot2,
1646
1658
  {
1647
1659
  value,
@@ -1651,26 +1663,26 @@ var Radio = ({
1651
1663
  required,
1652
1664
  loop: true,
1653
1665
  children: labels.map((label, index) => /* @__PURE__ */ jsxs8(Wrapper2, { children: [
1654
- /* @__PURE__ */ jsx23(
1666
+ /* @__PURE__ */ jsx24(
1655
1667
  StyledItem,
1656
1668
  {
1657
1669
  value: label,
1658
1670
  id: `radio-${index}`,
1659
1671
  "aria-label": label,
1660
1672
  hasError: !!errorMessage,
1661
- children: /* @__PURE__ */ jsx23(StyledIndicator2, {})
1673
+ children: /* @__PURE__ */ jsx24(StyledIndicator2, {})
1662
1674
  }
1663
1675
  ),
1664
- /* @__PURE__ */ jsx23(ItemLabel, { htmlFor: `radio-${index}`, children: label })
1676
+ /* @__PURE__ */ jsx24(ItemLabel, { htmlFor: `radio-${index}`, children: label })
1665
1677
  ] }, label))
1666
1678
  }
1667
1679
  ),
1668
- errorMessage && /* @__PURE__ */ jsx23(Span3, { children: errorMessage })
1680
+ errorMessage && /* @__PURE__ */ jsx24(Span3, { children: errorMessage })
1669
1681
  ] });
1670
1682
  };
1671
1683
 
1672
1684
  // src/components/Spacing.tsx
1673
- import { jsx as jsx24 } from "react/jsx-runtime";
1685
+ import { jsx as jsx25 } from "react/jsx-runtime";
1674
1686
  var spacingMap = {
1675
1687
  xs: 8,
1676
1688
  sm: 12,
@@ -1682,7 +1694,7 @@ var spacingMap = {
1682
1694
  };
1683
1695
  var Spacing = ({ size, axis = "vertical" }) => {
1684
1696
  const style = axis === "vertical" ? { height: spacingMap[size], width: "100%" } : { width: spacingMap[size], height: "100%" };
1685
- return /* @__PURE__ */ jsx24("div", { style, "data-testid": `spacing-${size}-${axis}` });
1697
+ return /* @__PURE__ */ jsx25("div", { style, "data-testid": `spacing-${size}-${axis}` });
1686
1698
  };
1687
1699
 
1688
1700
  // src/components/Switch/styles.ts
@@ -1780,7 +1792,7 @@ var Span4 = styled("span", {
1780
1792
  });
1781
1793
 
1782
1794
  // src/components/Switch/index.tsx
1783
- import { jsx as jsx25, jsxs as jsxs9 } from "react/jsx-runtime";
1795
+ import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1784
1796
  var Switch2 = ({
1785
1797
  label,
1786
1798
  checked,
@@ -1793,7 +1805,7 @@ var Switch2 = ({
1793
1805
  }) => {
1794
1806
  return /* @__PURE__ */ jsxs9("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1795
1807
  /* @__PURE__ */ jsxs9(Wrapper3, { hasError: !!errorMessage, children: [
1796
- /* @__PURE__ */ jsx25(
1808
+ /* @__PURE__ */ jsx26(
1797
1809
  StyledRoot3,
1798
1810
  {
1799
1811
  id,
@@ -1803,12 +1815,12 @@ var Switch2 = ({
1803
1815
  hasError: !!errorMessage,
1804
1816
  disabled,
1805
1817
  required,
1806
- children: /* @__PURE__ */ jsx25(StyledThumb, {})
1818
+ children: /* @__PURE__ */ jsx26(StyledThumb, {})
1807
1819
  }
1808
1820
  ),
1809
- label && /* @__PURE__ */ jsx25(Label2, { htmlFor: id, children: label })
1821
+ label && /* @__PURE__ */ jsx26(Label2, { htmlFor: id, children: label })
1810
1822
  ] }),
1811
- errorMessage && /* @__PURE__ */ jsx25(Span4, { children: errorMessage })
1823
+ errorMessage && /* @__PURE__ */ jsx26(Span4, { children: errorMessage })
1812
1824
  ] });
1813
1825
  };
1814
1826
 
@@ -1894,9 +1906,9 @@ var TabsContent = styled(Tabs.Content, {
1894
1906
  });
1895
1907
 
1896
1908
  // src/components/Tabs/index.tsx
1897
- import { Fragment, jsx as jsx26, jsxs as jsxs10 } from "react/jsx-runtime";
1909
+ import { Fragment, jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
1898
1910
  var TabsItem = ({ children }) => {
1899
- return /* @__PURE__ */ jsx26(Fragment, { children });
1911
+ return /* @__PURE__ */ jsx27(Fragment, { children });
1900
1912
  };
1901
1913
  var Tabs2 = ({ defaultValue, colorContent, children }) => {
1902
1914
  const items = [];
@@ -1953,21 +1965,21 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
1953
1965
  ref: rootRef,
1954
1966
  children: [
1955
1967
  /* @__PURE__ */ jsxs10("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
1956
- hasOverflow && /* @__PURE__ */ jsx26(
1968
+ hasOverflow && /* @__PURE__ */ jsx27(
1957
1969
  Button,
1958
1970
  {
1959
1971
  variant: "secondary",
1960
1972
  size: "sm",
1961
1973
  onClick: () => scroll("left"),
1962
- children: /* @__PURE__ */ jsx26(Icon, { name: "TriangleLeft", size: 64 })
1974
+ children: /* @__PURE__ */ jsx27(Icon, { name: "TriangleLeft", size: 64 })
1963
1975
  }
1964
1976
  ),
1965
- /* @__PURE__ */ jsx26(
1977
+ /* @__PURE__ */ jsx27(
1966
1978
  TabsList,
1967
1979
  {
1968
1980
  ref: listRef,
1969
1981
  scrollable: hasOverflow,
1970
- children: items.map((item) => /* @__PURE__ */ jsx26(
1982
+ children: items.map((item) => /* @__PURE__ */ jsx27(
1971
1983
  TabsTrigger,
1972
1984
  {
1973
1985
  value: item.value,
@@ -1978,17 +1990,17 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
1978
1990
  ))
1979
1991
  }
1980
1992
  ),
1981
- hasOverflow && /* @__PURE__ */ jsx26(
1993
+ hasOverflow && /* @__PURE__ */ jsx27(
1982
1994
  Button,
1983
1995
  {
1984
1996
  variant: "secondary",
1985
1997
  size: "sm",
1986
1998
  onClick: () => scroll("right"),
1987
- children: /* @__PURE__ */ jsx26(Icon, { name: "TriangleRight", size: 64 })
1999
+ children: /* @__PURE__ */ jsx27(Icon, { name: "TriangleRight", size: 64 })
1988
2000
  }
1989
2001
  )
1990
2002
  ] }),
1991
- items.map((item) => /* @__PURE__ */ jsx26(
2003
+ items.map((item) => /* @__PURE__ */ jsx27(
1992
2004
  TabsContent,
1993
2005
  {
1994
2006
  colorContent,
@@ -2004,7 +2016,7 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
2004
2016
  Tabs2.Item = TabsItem;
2005
2017
 
2006
2018
  // src/components/TextArea.tsx
2007
- import { jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
2019
+ import { jsx as jsx28, jsxs as jsxs11 } from "react/jsx-runtime";
2008
2020
  var Wrapper4 = styled("div", {
2009
2021
  display: "flex",
2010
2022
  flexDirection: "column"
@@ -2082,9 +2094,9 @@ var Span5 = styled("span", {
2082
2094
  var TextArea = ({ label, id, htmlFor, errorMessage, ...props }) => {
2083
2095
  const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2084
2096
  return /* @__PURE__ */ jsxs11(Wrapper4, { children: [
2085
- label && /* @__PURE__ */ jsx27(StyledLabel2, { htmlFor: textAreaId, children: label }),
2086
- /* @__PURE__ */ jsx27(TextAreaElement, { id: textAreaId, ...props, hasError: !!errorMessage }),
2087
- errorMessage && /* @__PURE__ */ jsx27(Span5, { children: errorMessage })
2097
+ label && /* @__PURE__ */ jsx28(StyledLabel2, { htmlFor: textAreaId, children: label }),
2098
+ /* @__PURE__ */ jsx28(TextAreaElement, { id: textAreaId, ...props, hasError: !!errorMessage }),
2099
+ errorMessage && /* @__PURE__ */ jsx28(Span5, { children: errorMessage })
2088
2100
  ] });
2089
2101
  };
2090
2102
  TextArea.displayName = "TextArea";
@@ -2140,7 +2152,7 @@ var TooltipArrow = styled(RadixTooltip.Arrow, {
2140
2152
  });
2141
2153
 
2142
2154
  // src/components/Tooltip/index.tsx
2143
- import { jsx as jsx28, jsxs as jsxs12 } from "react/jsx-runtime";
2155
+ import { jsx as jsx29, jsxs as jsxs12 } from "react/jsx-runtime";
2144
2156
  var Tooltip = ({
2145
2157
  content,
2146
2158
  children,
@@ -2150,19 +2162,16 @@ var Tooltip = ({
2150
2162
  onOpenChange,
2151
2163
  delayDuration = 100
2152
2164
  }) => {
2153
- return /* @__PURE__ */ jsx28(RadixTooltip2.Provider, { children: /* @__PURE__ */ jsxs12(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2154
- /* @__PURE__ */ jsx28(TooltipTrigger, { asChild: true, children }),
2165
+ return /* @__PURE__ */ jsx29(RadixTooltip2.Provider, { children: /* @__PURE__ */ jsxs12(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2166
+ /* @__PURE__ */ jsx29(TooltipTrigger, { asChild: true, children }),
2155
2167
  /* @__PURE__ */ jsxs12(TooltipContent, { side, sideOffset, children: [
2156
2168
  content,
2157
- /* @__PURE__ */ jsx28(TooltipArrow, {})
2169
+ /* @__PURE__ */ jsx29(TooltipArrow, {})
2158
2170
  ] })
2159
2171
  ] }) });
2160
2172
  };
2161
2173
  Tooltip.displayName = "Tooltip";
2162
2174
 
2163
- // src/components/Loader/index.tsx
2164
- import { useEffect as useEffect5, useRef as useRef5, useState as useState5 } from "react";
2165
-
2166
2175
  // src/components/Loader/style.ts
2167
2176
  var Content4 = styled("div", {
2168
2177
  position: "relative",
@@ -2179,13 +2188,16 @@ var Overlay2 = styled("div", {
2179
2188
  alignItems: "center",
2180
2189
  backgroundColor: "rgba(255, 255, 255, 0.6)",
2181
2190
  zIndex: 999,
2191
+ transition: "opacity 0.3s ease-in-out",
2182
2192
  variants: {
2183
2193
  show: {
2184
2194
  true: {
2185
- opacity: 1
2195
+ opacity: 1,
2196
+ pointerEvents: "auto"
2186
2197
  },
2187
2198
  false: {
2188
- opacity: 0
2199
+ opacity: 0,
2200
+ pointerEvents: "none"
2189
2201
  }
2190
2202
  },
2191
2203
  fullscreen: {
@@ -2197,7 +2209,11 @@ var Overlay2 = styled("div", {
2197
2209
  bottom: 0
2198
2210
  },
2199
2211
  false: {
2200
- position: "absolute"
2212
+ position: "absolute",
2213
+ top: 0,
2214
+ left: 0,
2215
+ width: "100%",
2216
+ height: "100%"
2201
2217
  }
2202
2218
  }
2203
2219
  }
@@ -2234,33 +2250,14 @@ var Spinner = styled("span", {
2234
2250
  });
2235
2251
 
2236
2252
  // src/components/Loader/index.tsx
2237
- import { Fragment as Fragment2, jsx as jsx29, jsxs as jsxs13 } from "react/jsx-runtime";
2238
- var Loader = ({ show, fullscreen }) => {
2239
- const ref = useRef5(null);
2240
- const [parentRect, setParentRect] = useState5(null);
2241
- useEffect5(() => {
2242
- if (!fullscreen && ref.current?.parentElement) {
2243
- const rect = ref.current.parentElement.getBoundingClientRect();
2244
- setParentRect(rect);
2245
- }
2246
- }, [fullscreen, show]);
2247
- if (!show)
2248
- return null;
2249
- const overlayStyles = fullscreen ? { position: "fixed", top: 0, left: 0, right: 0, bottom: 0 } : parentRect ? {
2250
- top: parentRect.top + window.scrollY,
2251
- left: parentRect.left + window.scrollX,
2252
- width: parentRect.width,
2253
- height: parentRect.height
2254
- } : {};
2255
- return /* @__PURE__ */ jsxs13(Fragment2, { children: [
2256
- /* @__PURE__ */ jsx29("div", { ref, style: { display: "none" } }),
2257
- /* @__PURE__ */ jsx29(Overlay2, { show: true, fullscreen, style: overlayStyles, children: /* @__PURE__ */ jsx29(SpinnerContainer, { children: /* @__PURE__ */ jsx29(Spinner, {}) }) })
2258
- ] });
2253
+ import { jsx as jsx30 } from "react/jsx-runtime";
2254
+ var Loader = ({ show, fullscreen = false }) => {
2255
+ return /* @__PURE__ */ jsx30(Overlay2, { show, fullscreen, children: /* @__PURE__ */ jsx30(SpinnerContainer, { children: /* @__PURE__ */ jsx30(Spinner, {}) }) });
2259
2256
  };
2260
2257
  Loader.displayName = "Loader";
2261
2258
 
2262
2259
  // src/components/MaskedInput/index.tsx
2263
- import { forwardRef as forwardRef3, useState as useState6, useRef as useRef6 } from "react";
2260
+ import { forwardRef as forwardRef5, useState as useState5, useRef as useRef5 } from "react";
2264
2261
 
2265
2262
  // src/components/MaskedInput/utils.ts
2266
2263
  var MAX_LENGTHS = {
@@ -2324,11 +2321,11 @@ var applyMask = (value, maskType) => {
2324
2321
  };
2325
2322
 
2326
2323
  // src/components/MaskedInput/index.tsx
2327
- import { jsx as jsx30 } from "react/jsx-runtime";
2328
- var MaskedInput = forwardRef3(
2324
+ import { jsx as jsx31 } from "react/jsx-runtime";
2325
+ var MaskedInput = forwardRef5(
2329
2326
  ({ maskType, onChange, ...props }, ref) => {
2330
- const [value, setValue] = useState6("");
2331
- const inputRef = useRef6(null);
2327
+ const [value, setValue] = useState5("");
2328
+ const inputRef = useRef5(null);
2332
2329
  const handleChange = (e) => {
2333
2330
  const { value: inputValue, selectionStart } = e.target;
2334
2331
  const isBackspace = value.length > inputValue.length;
@@ -2361,7 +2358,7 @@ var MaskedInput = forwardRef3(
2361
2358
  onChange(syntheticEvent);
2362
2359
  }
2363
2360
  };
2364
- return /* @__PURE__ */ jsx30(
2361
+ return /* @__PURE__ */ jsx31(
2365
2362
  Input2,
2366
2363
  {
2367
2364
  ...props,
@@ -2376,7 +2373,7 @@ var MaskedInput = forwardRef3(
2376
2373
  MaskedInput.displayName = "MaskedInput";
2377
2374
 
2378
2375
  // src/components/Box.tsx
2379
- import { jsx as jsx31 } from "react/jsx-runtime";
2376
+ import { jsx as jsx32 } from "react/jsx-runtime";
2380
2377
  var StyledBox = styled("div", {
2381
2378
  padding: "$5",
2382
2379
  borderRadius: "$md",
@@ -2398,13 +2395,13 @@ var StyledBox = styled("div", {
2398
2395
  }
2399
2396
  });
2400
2397
  var Box = (props) => {
2401
- return /* @__PURE__ */ jsx31(StyledBox, { ...props });
2398
+ return /* @__PURE__ */ jsx32(StyledBox, { ...props });
2402
2399
  };
2403
2400
  Box.displayName = "Box";
2404
2401
 
2405
- // src/components/Text.tsx
2406
- import { jsx as jsx32 } from "react/jsx-runtime";
2407
- var StyledText = styled("p", {
2402
+ // src/components/Paragraph.tsx
2403
+ import { jsx as jsx33 } from "react/jsx-runtime";
2404
+ var StyledParagraph = styled("p", {
2408
2405
  fontFamily: "$default",
2409
2406
  lineHeight: "$short",
2410
2407
  margin: 0,
@@ -2443,13 +2440,15 @@ var StyledText = styled("p", {
2443
2440
  lineHeight: "short"
2444
2441
  }
2445
2442
  });
2446
- var Text = (props) => {
2447
- return /* @__PURE__ */ jsx32(StyledText, { ...props });
2443
+ var Paragraph = (props) => {
2444
+ return /* @__PURE__ */ jsx33(StyledParagraph, { ...props });
2448
2445
  };
2449
- Text.displayName = "Text";
2446
+ Paragraph.displayName = "Paragraph";
2450
2447
 
2451
2448
  // src/components/Heading.tsx
2452
- var Heading = styled("h2", {
2449
+ import { forwardRef as forwardRef6 } from "react";
2450
+ import { jsx as jsx34 } from "react/jsx-runtime";
2451
+ var StyledHeading = styled("h2", {
2453
2452
  fontFamily: "$default",
2454
2453
  lineHeight: "$shorter",
2455
2454
  margin: 0,
@@ -2470,12 +2469,15 @@ var Heading = styled("h2", {
2470
2469
  size: "md"
2471
2470
  }
2472
2471
  });
2472
+ var Heading = forwardRef6(function Heading2({ children, ...props }, ref) {
2473
+ return /* @__PURE__ */ jsx34(StyledHeading, { ref, ...props, children });
2474
+ });
2473
2475
  Heading.displayName = "Heading";
2474
2476
 
2475
2477
  // src/components/Select/index.tsx
2476
2478
  import { TriangleDownIcon, TriangleUpIcon } from "@radix-ui/react-icons";
2477
2479
  import * as CustomSelect from "@radix-ui/react-select";
2478
- import { useState as useState7 } from "react";
2480
+ import { useState as useState6 } from "react";
2479
2481
 
2480
2482
  // src/components/Select/styles.ts
2481
2483
  import * as Select from "@radix-ui/react-select";
@@ -2497,7 +2499,7 @@ var StyledTrigger = styled(Select.Trigger, {
2497
2499
  alignItems: "center",
2498
2500
  justifyContent: "space-between",
2499
2501
  marginBottom: "$6",
2500
- padding: "$3 $4",
2502
+ padding: "$4 $4",
2501
2503
  boxSizing: "border-box",
2502
2504
  borderRadius: "$md",
2503
2505
  border: "1px solid $gray_mid",
@@ -2592,7 +2594,7 @@ var Span6 = styled("span", {
2592
2594
  });
2593
2595
 
2594
2596
  // src/components/Select/index.tsx
2595
- import { jsx as jsx33, jsxs as jsxs14 } from "react/jsx-runtime";
2597
+ import { jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
2596
2598
  function Select2({
2597
2599
  value,
2598
2600
  onValueChange,
@@ -2602,10 +2604,10 @@ function Select2({
2602
2604
  errorMessage,
2603
2605
  ...rest
2604
2606
  }) {
2605
- const [open, setOpen] = useState7(false);
2606
- return /* @__PURE__ */ jsxs14(StyledWrapper4, { children: [
2607
- label && /* @__PURE__ */ jsx33(Label3, { children: label }),
2608
- /* @__PURE__ */ jsxs14(
2607
+ const [open, setOpen] = useState6(false);
2608
+ return /* @__PURE__ */ jsxs13(StyledWrapper4, { children: [
2609
+ label && /* @__PURE__ */ jsx35(Label3, { children: label }),
2610
+ /* @__PURE__ */ jsxs13(
2609
2611
  CustomSelect.Root,
2610
2612
  {
2611
2613
  value,
@@ -2613,21 +2615,21 @@ function Select2({
2613
2615
  onOpenChange: setOpen,
2614
2616
  ...rest,
2615
2617
  children: [
2616
- /* @__PURE__ */ jsxs14(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, children: [
2617
- /* @__PURE__ */ jsx33(CustomSelect.Value, { placeholder }),
2618
- /* @__PURE__ */ jsx33(StyledIcon, { open, children: /* @__PURE__ */ jsx33(TriangleDownIcon, {}) })
2618
+ /* @__PURE__ */ jsxs13(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, children: [
2619
+ /* @__PURE__ */ jsx35(CustomSelect.Value, { placeholder }),
2620
+ /* @__PURE__ */ jsx35(StyledIcon, { open, children: /* @__PURE__ */ jsx35(TriangleDownIcon, {}) })
2619
2621
  ] }),
2620
- errorMessage && /* @__PURE__ */ jsx33(Span6, { children: errorMessage }),
2621
- /* @__PURE__ */ jsx33(CustomSelect.Portal, { children: /* @__PURE__ */ jsxs14(
2622
+ errorMessage && /* @__PURE__ */ jsx35(Span6, { children: errorMessage }),
2623
+ /* @__PURE__ */ jsx35(CustomSelect.Portal, { children: /* @__PURE__ */ jsxs13(
2622
2624
  StyledContent2,
2623
2625
  {
2624
2626
  side: "bottom",
2625
2627
  align: "start",
2626
2628
  position: "popper",
2627
2629
  children: [
2628
- /* @__PURE__ */ jsx33(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ jsx33(TriangleUpIcon, {}) }),
2629
- /* @__PURE__ */ jsx33(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx33(StyledItem2, { value: item.value, children: /* @__PURE__ */ jsx33(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2630
- /* @__PURE__ */ jsx33(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ jsx33(TriangleDownIcon, {}) })
2630
+ /* @__PURE__ */ jsx35(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ jsx35(TriangleUpIcon, {}) }),
2631
+ /* @__PURE__ */ jsx35(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx35(StyledItem2, { value: item.value, children: /* @__PURE__ */ jsx35(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2632
+ /* @__PURE__ */ jsx35(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ jsx35(TriangleDownIcon, {}) })
2631
2633
  ]
2632
2634
  }
2633
2635
  ) })
@@ -2704,9 +2706,9 @@ var Value2 = styled("div", {
2704
2706
  });
2705
2707
 
2706
2708
  // src/components/LabelledValue/index.tsx
2707
- import { jsx as jsx34, jsxs as jsxs15 } from "react/jsx-runtime";
2709
+ import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2708
2710
  function LabelledValue({ position = "vertical", withRow = false, children }) {
2709
- return /* @__PURE__ */ jsx34(Container, { position, children: Children2.map(children, (child) => {
2711
+ return /* @__PURE__ */ jsx36(Container, { position, children: Children2.map(children, (child) => {
2710
2712
  if (isValidElement2(child)) {
2711
2713
  return cloneElement(child, { position, withRow });
2712
2714
  }
@@ -2714,9 +2716,9 @@ function LabelledValue({ position = "vertical", withRow = false, children }) {
2714
2716
  }) });
2715
2717
  }
2716
2718
  function Item3({ label, value, position = "vertical", withRow = false }) {
2717
- return /* @__PURE__ */ jsxs15(ItemWrapper, { position, withRow, children: [
2718
- /* @__PURE__ */ jsx34(Label4, { children: label }),
2719
- /* @__PURE__ */ jsx34(Value2, { children: value })
2719
+ return /* @__PURE__ */ jsxs14(ItemWrapper, { position, withRow, children: [
2720
+ /* @__PURE__ */ jsx36(Label4, { children: label }),
2721
+ /* @__PURE__ */ jsx36(Value2, { children: value })
2720
2722
  ] });
2721
2723
  }
2722
2724
  LabelledValue.Item = Item3;
@@ -2726,18 +2728,29 @@ import * as OneTimePasswordField2 from "@radix-ui/react-one-time-password-field"
2726
2728
 
2727
2729
  // src/components/OneTimePassword/styles.ts
2728
2730
  import * as OneTimePasswordField from "@radix-ui/react-one-time-password-field";
2729
- var StyledWrapper5 = styled("div", {
2731
+ var Container2 = styled("div", {
2730
2732
  display: "flex",
2731
2733
  flexDirection: "column",
2732
2734
  justifyContent: "center",
2733
2735
  alignItems: "center",
2734
- gap: "$5",
2735
- marginBottom: "$6"
2736
+ marginBottom: "$6",
2737
+ width: "100%"
2736
2738
  });
2737
- var StyledRoot4 = styled(OneTimePasswordField.Root, {
2739
+ var StyledWrapper5 = styled("div", {
2738
2740
  display: "flex",
2741
+ flexDirection: "column"
2742
+ });
2743
+ var StyledRoot4 = styled(OneTimePasswordField.Root, {
2744
+ display: "grid",
2739
2745
  gap: "$2",
2740
- flexWrap: "nowrap"
2746
+ gridTemplateColumns: "repeat(var(--otp-length), 1fr)",
2747
+ width: "100%"
2748
+ });
2749
+ var StyledLabel3 = styled(OneTimePasswordField.Root, {
2750
+ display: "flex",
2751
+ justifyContent: "center",
2752
+ alignItems: "center",
2753
+ marginBottom: "$5"
2741
2754
  });
2742
2755
  var StyledInput = styled(OneTimePasswordField.Input, {
2743
2756
  all: "unset",
@@ -2749,13 +2762,14 @@ var StyledInput = styled(OneTimePasswordField.Input, {
2749
2762
  boxSizing: "border-box",
2750
2763
  borderRadius: "$md",
2751
2764
  borderStyle: "solid",
2752
- borderColor: "#C2C2C2",
2765
+ borderColor: "$gray_mid",
2753
2766
  borderWidth: "3px",
2754
2767
  fontSize: "$md",
2755
2768
  color: "$black",
2756
2769
  padding: "0",
2757
- height: "50px",
2758
- width: "53px",
2770
+ width: "100%",
2771
+ aspectRatio: "1 / 1",
2772
+ maxWidth: "53px",
2759
2773
  "&:hover": {
2760
2774
  borderColor: "$gray_dark"
2761
2775
  },
@@ -2763,25 +2777,37 @@ var StyledInput = styled(OneTimePasswordField.Input, {
2763
2777
  borderColor: "$clickpalm_mid"
2764
2778
  }
2765
2779
  });
2780
+ var Span7 = styled("span", {
2781
+ fontFamily: "$default",
2782
+ fontWeight: "$regular",
2783
+ fontSize: "$sm",
2784
+ color: "$danger_dark",
2785
+ alignSelf: "flex-start",
2786
+ paddingLeft: "1px",
2787
+ marginTop: "2px",
2788
+ marginBottom: "$6"
2789
+ });
2766
2790
 
2767
2791
  // src/components/OneTimePassword/index.tsx
2768
- import { jsx as jsx35, jsxs as jsxs16 } from "react/jsx-runtime";
2769
- var OneTimePassword = ({ label, length, value, onValueChange, ...rootProps }) => {
2770
- return /* @__PURE__ */ jsxs16(StyledWrapper5, { children: [
2771
- /* @__PURE__ */ jsx35("label", { children: label }),
2772
- /* @__PURE__ */ jsxs16(
2792
+ import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
2793
+ var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...rootProps }) => {
2794
+ return /* @__PURE__ */ jsx37(Container2, { children: /* @__PURE__ */ jsxs15(StyledWrapper5, { children: [
2795
+ /* @__PURE__ */ jsx37(StyledLabel3, { children: label }),
2796
+ /* @__PURE__ */ jsxs15(
2773
2797
  StyledRoot4,
2774
2798
  {
2775
2799
  value,
2776
2800
  onValueChange,
2777
2801
  ...rootProps,
2802
+ style: { "--otp-length": length },
2778
2803
  children: [
2779
- Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx35(StyledInput, {}, index)),
2780
- /* @__PURE__ */ jsx35(OneTimePasswordField2.HiddenInput, {})
2804
+ Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx37(StyledInput, {}, index)),
2805
+ /* @__PURE__ */ jsx37(OneTimePasswordField2.HiddenInput, {})
2781
2806
  ]
2782
2807
  }
2783
- )
2784
- ] });
2808
+ ),
2809
+ errorMessage && /* @__PURE__ */ jsx37(Span7, { children: errorMessage })
2810
+ ] }) });
2785
2811
  };
2786
2812
  OneTimePassword.displayName = "OneTimePasswordInput";
2787
2813
 
@@ -2950,7 +2976,7 @@ var toast = {
2950
2976
  };
2951
2977
 
2952
2978
  // src/components/Toast/index.tsx
2953
- import { jsx as jsx36, jsxs as jsxs17 } from "react/jsx-runtime";
2979
+ import { jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
2954
2980
  var Toast = () => {
2955
2981
  const [messages, setMessages] = React3.useState([]);
2956
2982
  const [paused, setPaused] = React3.useState(false);
@@ -2966,8 +2992,8 @@ var Toast = () => {
2966
2992
  const removeToast = (id) => {
2967
2993
  setMessages((prev) => prev.filter((msg) => msg.id !== id));
2968
2994
  };
2969
- return /* @__PURE__ */ jsxs17(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
2970
- messages.map((message) => /* @__PURE__ */ jsxs17(
2995
+ return /* @__PURE__ */ jsxs16(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
2996
+ messages.map((message) => /* @__PURE__ */ jsxs16(
2971
2997
  ToastRoot,
2972
2998
  {
2973
2999
  open: true,
@@ -2980,11 +3006,11 @@ var Toast = () => {
2980
3006
  onPause: () => setPaused(true),
2981
3007
  onResume: () => setPaused(false),
2982
3008
  children: [
2983
- /* @__PURE__ */ jsxs17(ToastContent, { children: [
2984
- /* @__PURE__ */ jsx36(ToastTitle, { children: message.title }),
2985
- /* @__PURE__ */ jsx36(ToastDescription, { children: message.description })
3009
+ /* @__PURE__ */ jsxs16(ToastContent, { children: [
3010
+ /* @__PURE__ */ jsx38(ToastTitle, { children: message.title }),
3011
+ message.description && /* @__PURE__ */ jsx38(ToastDescription, { children: message.description })
2986
3012
  ] }),
2987
- /* @__PURE__ */ jsx36(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx36(
3013
+ /* @__PURE__ */ jsx38(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx38(
2988
3014
  "button",
2989
3015
  {
2990
3016
  style: {
@@ -2994,15 +3020,15 @@ var Toast = () => {
2994
3020
  alignItems: "center"
2995
3021
  },
2996
3022
  onClick: () => removeToast(message.id),
2997
- children: /* @__PURE__ */ jsx36(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3023
+ children: /* @__PURE__ */ jsx38(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
2998
3024
  }
2999
3025
  ) }),
3000
- /* @__PURE__ */ jsx36(ToastProgress, { paused, variant: message.variant })
3026
+ /* @__PURE__ */ jsx38(ToastProgress, { paused, variant: message.variant })
3001
3027
  ]
3002
3028
  },
3003
3029
  message.id
3004
3030
  )),
3005
- /* @__PURE__ */ jsx36(ToastViewport, {})
3031
+ /* @__PURE__ */ jsx38(ToastViewport, {})
3006
3032
  ] });
3007
3033
  };
3008
3034
 
@@ -3014,7 +3040,8 @@ var Wrapper5 = styled("div", {
3014
3040
  variants: {
3015
3041
  orientation: {
3016
3042
  horizontal: {
3017
- flexDirection: "row",
3043
+ display: "grid",
3044
+ gridTemplateColumns: "repeat(auto-fit, minmax(100px, 1fr))",
3018
3045
  alignItems: "center",
3019
3046
  gap: "var(--gap)"
3020
3047
  },
@@ -3032,12 +3059,11 @@ var StepItem = styled("div", {
3032
3059
  variants: {
3033
3060
  orientation: {
3034
3061
  horizontal: {
3035
- flex: 1,
3036
3062
  flexDirection: "column",
3037
3063
  textAlign: "center"
3038
3064
  },
3039
3065
  vertical: {
3040
- margin: "$4 0",
3066
+ margin: "$2 0",
3041
3067
  flexDirection: "row"
3042
3068
  }
3043
3069
  }
@@ -3045,7 +3071,7 @@ var StepItem = styled("div", {
3045
3071
  });
3046
3072
  var StepCircle = styled("div", {
3047
3073
  position: "relative",
3048
- zIndex: 999,
3074
+ zIndex: 990,
3049
3075
  width: "var(--circle-size)",
3050
3076
  height: "var(--circle-size)",
3051
3077
  borderRadius: "50%",
@@ -3076,7 +3102,7 @@ var StepCircle = styled("div", {
3076
3102
  left: "50%",
3077
3103
  transform: "translate(-50%, -100%)",
3078
3104
  width: "3px",
3079
- height: "$6",
3105
+ height: "$4",
3080
3106
  backgroundColor: "$clickpalm_dark"
3081
3107
  },
3082
3108
  "&::after": {
@@ -3086,7 +3112,7 @@ var StepCircle = styled("div", {
3086
3112
  left: "50%",
3087
3113
  transform: "translate(-50%, 100%)",
3088
3114
  width: "3px",
3089
- height: "$6",
3115
+ height: "$4",
3090
3116
  backgroundColor: "$clickpalm_dark"
3091
3117
  }
3092
3118
  }
@@ -3238,22 +3264,22 @@ var StepLabel = styled("span", {
3238
3264
  });
3239
3265
 
3240
3266
  // src/components/MultiStep/index.tsx
3241
- import { jsx as jsx37, jsxs as jsxs18 } from "react/jsx-runtime";
3267
+ import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
3242
3268
  var MultiStep = ({
3243
3269
  steps,
3244
3270
  currentStep,
3245
3271
  orientation = "horizontal",
3246
3272
  variant
3247
3273
  }) => {
3248
- return /* @__PURE__ */ jsx37(
3274
+ return /* @__PURE__ */ jsx39(
3249
3275
  Wrapper5,
3250
3276
  {
3251
3277
  orientation,
3252
3278
  children: steps.map((step, index) => {
3253
3279
  const isFirst = index === 0;
3254
3280
  const isLast = index === steps.length - 1;
3255
- return /* @__PURE__ */ jsxs18(StepItem, { orientation, children: [
3256
- /* @__PURE__ */ jsx37(
3281
+ return /* @__PURE__ */ jsxs17(StepItem, { orientation, children: [
3282
+ /* @__PURE__ */ jsx39(
3257
3283
  StepCircle,
3258
3284
  {
3259
3285
  orientation,
@@ -3264,7 +3290,7 @@ var MultiStep = ({
3264
3290
  children: index + 1
3265
3291
  }
3266
3292
  ),
3267
- /* @__PURE__ */ jsx37(
3293
+ /* @__PURE__ */ jsx39(
3268
3294
  StepLabel,
3269
3295
  {
3270
3296
  orientation,
@@ -3280,7 +3306,7 @@ var MultiStep = ({
3280
3306
  MultiStep.displayName = "MultiStep";
3281
3307
 
3282
3308
  // src/components/Carousel/index.tsx
3283
- import { useState as useState9, Children as Children3, cloneElement as cloneElement2 } from "react";
3309
+ import { useState as useState8, Children as Children3, cloneElement as cloneElement2 } from "react";
3284
3310
 
3285
3311
  // src/components/Carousel/styles.ts
3286
3312
  var CarouselContainer = styled("div", {
@@ -3386,13 +3412,13 @@ var CarouselItemContainer = styled("div", {
3386
3412
  });
3387
3413
 
3388
3414
  // src/components/Carousel/index.tsx
3389
- import { jsx as jsx38, jsxs as jsxs19 } from "react/jsx-runtime";
3415
+ import { jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
3390
3416
  var SWIPE_THRESHOLD = 50;
3391
3417
  var Carousel = ({ title, variant, children }) => {
3392
3418
  const items = Children3.toArray(children);
3393
- const [activeIndex, setActiveIndex] = useState9(0);
3394
- const [touchStartX, setTouchStartX] = useState9(null);
3395
- const [touchEndX, setTouchEndX] = useState9(null);
3419
+ const [activeIndex, setActiveIndex] = useState8(0);
3420
+ const [touchStartX, setTouchStartX] = useState8(null);
3421
+ const [touchEndX, setTouchEndX] = useState8(null);
3396
3422
  const prev = () => {
3397
3423
  setActiveIndex((prevIndex) => prevIndex === 0 ? items.length - 1 : prevIndex - 1);
3398
3424
  };
@@ -3420,18 +3446,18 @@ var Carousel = ({ title, variant, children }) => {
3420
3446
  setTouchStartX(null);
3421
3447
  setTouchEndX(null);
3422
3448
  };
3423
- return /* @__PURE__ */ jsxs19(
3449
+ return /* @__PURE__ */ jsxs18(
3424
3450
  CarouselContainer,
3425
3451
  {
3426
3452
  role: "region",
3427
3453
  "aria-roledescription": "carousel",
3428
3454
  "aria-label": "Carousel Component",
3429
3455
  children: [
3430
- /* @__PURE__ */ jsxs19(Wrapper6, { variant, children: [
3431
- /* @__PURE__ */ jsxs19(CarouselHeader, { children: [
3432
- /* @__PURE__ */ jsx38(Title2, { children: title }),
3433
- /* @__PURE__ */ jsxs19(Navigation, { children: [
3434
- /* @__PURE__ */ jsx38(
3456
+ /* @__PURE__ */ jsxs18(Wrapper6, { variant, children: [
3457
+ /* @__PURE__ */ jsxs18(CarouselHeader, { children: [
3458
+ /* @__PURE__ */ jsx40(Title2, { children: title }),
3459
+ /* @__PURE__ */ jsxs18(Navigation, { children: [
3460
+ /* @__PURE__ */ jsx40(
3435
3461
  Button,
3436
3462
  {
3437
3463
  size: "sm",
@@ -3439,10 +3465,10 @@ var Carousel = ({ title, variant, children }) => {
3439
3465
  "aria-label": "Previous Slide",
3440
3466
  onClick: prev,
3441
3467
  tabIndex: 0,
3442
- children: /* @__PURE__ */ jsx38(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3468
+ children: /* @__PURE__ */ jsx40(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3443
3469
  }
3444
3470
  ),
3445
- /* @__PURE__ */ jsx38(
3471
+ /* @__PURE__ */ jsx40(
3446
3472
  Button,
3447
3473
  {
3448
3474
  size: "sm",
@@ -3450,15 +3476,15 @@ var Carousel = ({ title, variant, children }) => {
3450
3476
  "aria-label": "Previous Slide",
3451
3477
  onClick: next,
3452
3478
  tabIndex: 0,
3453
- children: /* @__PURE__ */ jsx38(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3479
+ children: /* @__PURE__ */ jsx40(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3454
3480
  }
3455
3481
  )
3456
3482
  ] })
3457
3483
  ] }),
3458
- /* @__PURE__ */ jsx38(Spacing, { size: "xs" }),
3459
- /* @__PURE__ */ jsx38(Hr, { variant }),
3460
- /* @__PURE__ */ jsx38(Spacing, { size: "xs" }),
3461
- /* @__PURE__ */ jsx38(
3484
+ /* @__PURE__ */ jsx40(Spacing, { size: "xs" }),
3485
+ /* @__PURE__ */ jsx40(Hr, { variant }),
3486
+ /* @__PURE__ */ jsx40(Spacing, { size: "xs" }),
3487
+ /* @__PURE__ */ jsx40(
3462
3488
  CarouselContent,
3463
3489
  {
3464
3490
  onTouchStart,
@@ -3475,8 +3501,8 @@ var Carousel = ({ title, variant, children }) => {
3475
3501
  }
3476
3502
  )
3477
3503
  ] }),
3478
- /* @__PURE__ */ jsx38(Spacing, { size: "md" }),
3479
- /* @__PURE__ */ jsx38(DotsContainer, { children: /* @__PURE__ */ jsx38(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ jsx38(
3504
+ /* @__PURE__ */ jsx40(Spacing, { size: "md" }),
3505
+ /* @__PURE__ */ jsx40(DotsContainer, { children: /* @__PURE__ */ jsx40(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ jsx40(
3480
3506
  DotButton,
3481
3507
  {
3482
3508
  active: idx === activeIndex,
@@ -3492,16 +3518,30 @@ var Carousel = ({ title, variant, children }) => {
3492
3518
  }
3493
3519
  );
3494
3520
  };
3495
- var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx38(CarouselItemContainer, { ...props, style: { ...style }, children });
3521
+ var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx40(CarouselItemContainer, { ...props, style: { ...style }, children });
3496
3522
  Carousel.Item = CarouselItem;
3497
3523
 
3498
3524
  // src/components/PasswordInput.tsx
3499
- import { forwardRef as forwardRef4, useRef as useRef7, useState as useState10, useImperativeHandle } from "react";
3500
- import { jsx as jsx39 } from "react/jsx-runtime";
3501
- var PasswordInput = forwardRef4(
3525
+ import { forwardRef as forwardRef7, useImperativeHandle, useRef as useRef6, useState as useState9 } from "react";
3526
+ import { jsx as jsx41 } from "react/jsx-runtime";
3527
+ var ToggleButton = styled("button", {
3528
+ all: "unset",
3529
+ cursor: "pointer",
3530
+ display: "flex",
3531
+ alignItems: "center",
3532
+ justifyContent: "center",
3533
+ borderRadius: "$sm",
3534
+ padding: "2px",
3535
+ "&:focus-visible": {
3536
+ outline: "none",
3537
+ boxShadow: "0 0 0 2px $colors$ignite_light",
3538
+ borderRadius: "$sm"
3539
+ }
3540
+ });
3541
+ var PasswordInput = forwardRef7(
3502
3542
  ({ value, onChange, ...props }, ref) => {
3503
- const [visible, setVisible] = useState10(false);
3504
- const innerRef = useRef7(null);
3543
+ const [visible, setVisible] = useState9(false);
3544
+ const innerRef = useRef6(null);
3505
3545
  useImperativeHandle(ref, () => innerRef.current);
3506
3546
  const handleToggleVisibility = () => {
3507
3547
  setVisible((v) => !v);
@@ -3512,7 +3552,7 @@ var PasswordInput = forwardRef4(
3512
3552
  }
3513
3553
  }, 0);
3514
3554
  };
3515
- return /* @__PURE__ */ jsx39(
3555
+ return /* @__PURE__ */ jsx41(
3516
3556
  Input2,
3517
3557
  {
3518
3558
  ...props,
@@ -3520,21 +3560,14 @@ var PasswordInput = forwardRef4(
3520
3560
  type: visible ? "text" : "password",
3521
3561
  value,
3522
3562
  onChange,
3523
- suffix: /* @__PURE__ */ jsx39(
3524
- "button",
3563
+ suffix: /* @__PURE__ */ jsx41(
3564
+ ToggleButton,
3525
3565
  {
3526
3566
  type: "button",
3527
3567
  onClick: handleToggleVisibility,
3528
3568
  onMouseDown: (e) => e.preventDefault(),
3529
- style: {
3530
- all: "unset",
3531
- cursor: "pointer",
3532
- display: "flex",
3533
- alignItems: "center",
3534
- justifyContent: "center"
3535
- },
3536
3569
  "aria-label": visible ? "Ocultar senha" : "Mostrar senha",
3537
- children: visible ? /* @__PURE__ */ jsx39(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ jsx39(Icon, { name: "EyeOpen", size: 16, color: "black" })
3570
+ children: visible ? /* @__PURE__ */ jsx41(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ jsx41(Icon, { name: "EyeOpen", size: 16, color: "black" })
3538
3571
  }
3539
3572
  )
3540
3573
  }
@@ -3560,15 +3593,16 @@ export {
3560
3593
  Modal,
3561
3594
  MultiStep,
3562
3595
  OneTimePassword,
3596
+ Paragraph,
3563
3597
  PasswordInput,
3564
3598
  ProgressBar,
3565
3599
  Radio,
3566
3600
  Select2 as Select,
3567
3601
  Spacing,
3568
3602
  Span5 as Span,
3603
+ StyledHr,
3569
3604
  Switch2 as Switch,
3570
3605
  Tabs2 as Tabs,
3571
- Text,
3572
3606
  TextArea,
3573
3607
  TextAreaElement,
3574
3608
  Toast,