@clickpalm/react 1.1.0 → 1.1.1

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,14 +2728,18 @@ 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
2736
  marginBottom: "$6"
2736
2737
  });
2738
+ var StyledWrapper5 = styled("div", {
2739
+ display: "flex",
2740
+ flexDirection: "column",
2741
+ gap: "$5"
2742
+ });
2737
2743
  var StyledRoot4 = styled(OneTimePasswordField.Root, {
2738
2744
  display: "flex",
2739
2745
  gap: "$2",
@@ -2749,7 +2755,7 @@ var StyledInput = styled(OneTimePasswordField.Input, {
2749
2755
  boxSizing: "border-box",
2750
2756
  borderRadius: "$md",
2751
2757
  borderStyle: "solid",
2752
- borderColor: "#C2C2C2",
2758
+ borderColor: "$gray_mid",
2753
2759
  borderWidth: "3px",
2754
2760
  fontSize: "$md",
2755
2761
  color: "$black",
@@ -2763,24 +2769,37 @@ var StyledInput = styled(OneTimePasswordField.Input, {
2763
2769
  borderColor: "$clickpalm_mid"
2764
2770
  }
2765
2771
  });
2772
+ var Span7 = styled("span", {
2773
+ fontFamily: "$default",
2774
+ fontWeight: "$regular",
2775
+ fontSize: "$sm",
2776
+ color: "$danger_dark",
2777
+ alignSelf: "flex-start",
2778
+ paddingLeft: "1px",
2779
+ marginTop: "2px",
2780
+ marginBottom: "$6"
2781
+ });
2766
2782
 
2767
2783
  // 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(
2773
- StyledRoot4,
2774
- {
2775
- value,
2776
- onValueChange,
2777
- ...rootProps,
2778
- children: [
2779
- Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx35(StyledInput, {}, index)),
2780
- /* @__PURE__ */ jsx35(OneTimePasswordField2.HiddenInput, {})
2781
- ]
2782
- }
2783
- )
2784
+ import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
2785
+ var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...rootProps }) => {
2786
+ return /* @__PURE__ */ jsxs15(Container2, { children: [
2787
+ /* @__PURE__ */ jsxs15(StyledWrapper5, { children: [
2788
+ /* @__PURE__ */ jsx37("label", { children: label }),
2789
+ /* @__PURE__ */ jsxs15(
2790
+ StyledRoot4,
2791
+ {
2792
+ value,
2793
+ onValueChange,
2794
+ ...rootProps,
2795
+ children: [
2796
+ Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx37(StyledInput, {}, index)),
2797
+ /* @__PURE__ */ jsx37(OneTimePasswordField2.HiddenInput, {})
2798
+ ]
2799
+ }
2800
+ )
2801
+ ] }),
2802
+ errorMessage && /* @__PURE__ */ jsx37(Span7, { children: errorMessage })
2784
2803
  ] });
2785
2804
  };
2786
2805
  OneTimePassword.displayName = "OneTimePasswordInput";
@@ -2950,7 +2969,7 @@ var toast = {
2950
2969
  };
2951
2970
 
2952
2971
  // src/components/Toast/index.tsx
2953
- import { jsx as jsx36, jsxs as jsxs17 } from "react/jsx-runtime";
2972
+ import { jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
2954
2973
  var Toast = () => {
2955
2974
  const [messages, setMessages] = React3.useState([]);
2956
2975
  const [paused, setPaused] = React3.useState(false);
@@ -2966,8 +2985,8 @@ var Toast = () => {
2966
2985
  const removeToast = (id) => {
2967
2986
  setMessages((prev) => prev.filter((msg) => msg.id !== id));
2968
2987
  };
2969
- return /* @__PURE__ */ jsxs17(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
2970
- messages.map((message) => /* @__PURE__ */ jsxs17(
2988
+ return /* @__PURE__ */ jsxs16(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
2989
+ messages.map((message) => /* @__PURE__ */ jsxs16(
2971
2990
  ToastRoot,
2972
2991
  {
2973
2992
  open: true,
@@ -2980,11 +2999,11 @@ var Toast = () => {
2980
2999
  onPause: () => setPaused(true),
2981
3000
  onResume: () => setPaused(false),
2982
3001
  children: [
2983
- /* @__PURE__ */ jsxs17(ToastContent, { children: [
2984
- /* @__PURE__ */ jsx36(ToastTitle, { children: message.title }),
2985
- /* @__PURE__ */ jsx36(ToastDescription, { children: message.description })
3002
+ /* @__PURE__ */ jsxs16(ToastContent, { children: [
3003
+ /* @__PURE__ */ jsx38(ToastTitle, { children: message.title }),
3004
+ message.description && /* @__PURE__ */ jsx38(ToastDescription, { children: message.description })
2986
3005
  ] }),
2987
- /* @__PURE__ */ jsx36(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx36(
3006
+ /* @__PURE__ */ jsx38(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx38(
2988
3007
  "button",
2989
3008
  {
2990
3009
  style: {
@@ -2994,15 +3013,15 @@ var Toast = () => {
2994
3013
  alignItems: "center"
2995
3014
  },
2996
3015
  onClick: () => removeToast(message.id),
2997
- children: /* @__PURE__ */ jsx36(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3016
+ children: /* @__PURE__ */ jsx38(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
2998
3017
  }
2999
3018
  ) }),
3000
- /* @__PURE__ */ jsx36(ToastProgress, { paused, variant: message.variant })
3019
+ /* @__PURE__ */ jsx38(ToastProgress, { paused, variant: message.variant })
3001
3020
  ]
3002
3021
  },
3003
3022
  message.id
3004
3023
  )),
3005
- /* @__PURE__ */ jsx36(ToastViewport, {})
3024
+ /* @__PURE__ */ jsx38(ToastViewport, {})
3006
3025
  ] });
3007
3026
  };
3008
3027
 
@@ -3037,7 +3056,7 @@ var StepItem = styled("div", {
3037
3056
  textAlign: "center"
3038
3057
  },
3039
3058
  vertical: {
3040
- margin: "$4 0",
3059
+ margin: "$2 0",
3041
3060
  flexDirection: "row"
3042
3061
  }
3043
3062
  }
@@ -3076,7 +3095,7 @@ var StepCircle = styled("div", {
3076
3095
  left: "50%",
3077
3096
  transform: "translate(-50%, -100%)",
3078
3097
  width: "3px",
3079
- height: "$6",
3098
+ height: "$4",
3080
3099
  backgroundColor: "$clickpalm_dark"
3081
3100
  },
3082
3101
  "&::after": {
@@ -3086,7 +3105,7 @@ var StepCircle = styled("div", {
3086
3105
  left: "50%",
3087
3106
  transform: "translate(-50%, 100%)",
3088
3107
  width: "3px",
3089
- height: "$6",
3108
+ height: "$4",
3090
3109
  backgroundColor: "$clickpalm_dark"
3091
3110
  }
3092
3111
  }
@@ -3238,22 +3257,22 @@ var StepLabel = styled("span", {
3238
3257
  });
3239
3258
 
3240
3259
  // src/components/MultiStep/index.tsx
3241
- import { jsx as jsx37, jsxs as jsxs18 } from "react/jsx-runtime";
3260
+ import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
3242
3261
  var MultiStep = ({
3243
3262
  steps,
3244
3263
  currentStep,
3245
3264
  orientation = "horizontal",
3246
3265
  variant
3247
3266
  }) => {
3248
- return /* @__PURE__ */ jsx37(
3267
+ return /* @__PURE__ */ jsx39(
3249
3268
  Wrapper5,
3250
3269
  {
3251
3270
  orientation,
3252
3271
  children: steps.map((step, index) => {
3253
3272
  const isFirst = index === 0;
3254
3273
  const isLast = index === steps.length - 1;
3255
- return /* @__PURE__ */ jsxs18(StepItem, { orientation, children: [
3256
- /* @__PURE__ */ jsx37(
3274
+ return /* @__PURE__ */ jsxs17(StepItem, { orientation, children: [
3275
+ /* @__PURE__ */ jsx39(
3257
3276
  StepCircle,
3258
3277
  {
3259
3278
  orientation,
@@ -3264,7 +3283,7 @@ var MultiStep = ({
3264
3283
  children: index + 1
3265
3284
  }
3266
3285
  ),
3267
- /* @__PURE__ */ jsx37(
3286
+ /* @__PURE__ */ jsx39(
3268
3287
  StepLabel,
3269
3288
  {
3270
3289
  orientation,
@@ -3280,7 +3299,7 @@ var MultiStep = ({
3280
3299
  MultiStep.displayName = "MultiStep";
3281
3300
 
3282
3301
  // src/components/Carousel/index.tsx
3283
- import { useState as useState9, Children as Children3, cloneElement as cloneElement2 } from "react";
3302
+ import { useState as useState8, Children as Children3, cloneElement as cloneElement2 } from "react";
3284
3303
 
3285
3304
  // src/components/Carousel/styles.ts
3286
3305
  var CarouselContainer = styled("div", {
@@ -3386,13 +3405,13 @@ var CarouselItemContainer = styled("div", {
3386
3405
  });
3387
3406
 
3388
3407
  // src/components/Carousel/index.tsx
3389
- import { jsx as jsx38, jsxs as jsxs19 } from "react/jsx-runtime";
3408
+ import { jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
3390
3409
  var SWIPE_THRESHOLD = 50;
3391
3410
  var Carousel = ({ title, variant, children }) => {
3392
3411
  const items = Children3.toArray(children);
3393
- const [activeIndex, setActiveIndex] = useState9(0);
3394
- const [touchStartX, setTouchStartX] = useState9(null);
3395
- const [touchEndX, setTouchEndX] = useState9(null);
3412
+ const [activeIndex, setActiveIndex] = useState8(0);
3413
+ const [touchStartX, setTouchStartX] = useState8(null);
3414
+ const [touchEndX, setTouchEndX] = useState8(null);
3396
3415
  const prev = () => {
3397
3416
  setActiveIndex((prevIndex) => prevIndex === 0 ? items.length - 1 : prevIndex - 1);
3398
3417
  };
@@ -3420,18 +3439,18 @@ var Carousel = ({ title, variant, children }) => {
3420
3439
  setTouchStartX(null);
3421
3440
  setTouchEndX(null);
3422
3441
  };
3423
- return /* @__PURE__ */ jsxs19(
3442
+ return /* @__PURE__ */ jsxs18(
3424
3443
  CarouselContainer,
3425
3444
  {
3426
3445
  role: "region",
3427
3446
  "aria-roledescription": "carousel",
3428
3447
  "aria-label": "Carousel Component",
3429
3448
  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(
3449
+ /* @__PURE__ */ jsxs18(Wrapper6, { variant, children: [
3450
+ /* @__PURE__ */ jsxs18(CarouselHeader, { children: [
3451
+ /* @__PURE__ */ jsx40(Title2, { children: title }),
3452
+ /* @__PURE__ */ jsxs18(Navigation, { children: [
3453
+ /* @__PURE__ */ jsx40(
3435
3454
  Button,
3436
3455
  {
3437
3456
  size: "sm",
@@ -3439,10 +3458,10 @@ var Carousel = ({ title, variant, children }) => {
3439
3458
  "aria-label": "Previous Slide",
3440
3459
  onClick: prev,
3441
3460
  tabIndex: 0,
3442
- children: /* @__PURE__ */ jsx38(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3461
+ children: /* @__PURE__ */ jsx40(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3443
3462
  }
3444
3463
  ),
3445
- /* @__PURE__ */ jsx38(
3464
+ /* @__PURE__ */ jsx40(
3446
3465
  Button,
3447
3466
  {
3448
3467
  size: "sm",
@@ -3450,15 +3469,15 @@ var Carousel = ({ title, variant, children }) => {
3450
3469
  "aria-label": "Previous Slide",
3451
3470
  onClick: next,
3452
3471
  tabIndex: 0,
3453
- children: /* @__PURE__ */ jsx38(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3472
+ children: /* @__PURE__ */ jsx40(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3454
3473
  }
3455
3474
  )
3456
3475
  ] })
3457
3476
  ] }),
3458
- /* @__PURE__ */ jsx38(Spacing, { size: "xs" }),
3459
- /* @__PURE__ */ jsx38(Hr, { variant }),
3460
- /* @__PURE__ */ jsx38(Spacing, { size: "xs" }),
3461
- /* @__PURE__ */ jsx38(
3477
+ /* @__PURE__ */ jsx40(Spacing, { size: "xs" }),
3478
+ /* @__PURE__ */ jsx40(Hr, { variant }),
3479
+ /* @__PURE__ */ jsx40(Spacing, { size: "xs" }),
3480
+ /* @__PURE__ */ jsx40(
3462
3481
  CarouselContent,
3463
3482
  {
3464
3483
  onTouchStart,
@@ -3475,8 +3494,8 @@ var Carousel = ({ title, variant, children }) => {
3475
3494
  }
3476
3495
  )
3477
3496
  ] }),
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(
3497
+ /* @__PURE__ */ jsx40(Spacing, { size: "md" }),
3498
+ /* @__PURE__ */ jsx40(DotsContainer, { children: /* @__PURE__ */ jsx40(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ jsx40(
3480
3499
  DotButton,
3481
3500
  {
3482
3501
  active: idx === activeIndex,
@@ -3492,16 +3511,30 @@ var Carousel = ({ title, variant, children }) => {
3492
3511
  }
3493
3512
  );
3494
3513
  };
3495
- var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx38(CarouselItemContainer, { ...props, style: { ...style }, children });
3514
+ var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx40(CarouselItemContainer, { ...props, style: { ...style }, children });
3496
3515
  Carousel.Item = CarouselItem;
3497
3516
 
3498
3517
  // 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(
3518
+ import { forwardRef as forwardRef7, useImperativeHandle, useRef as useRef6, useState as useState9 } from "react";
3519
+ import { jsx as jsx41 } from "react/jsx-runtime";
3520
+ var ToggleButton = styled("button", {
3521
+ all: "unset",
3522
+ cursor: "pointer",
3523
+ display: "flex",
3524
+ alignItems: "center",
3525
+ justifyContent: "center",
3526
+ borderRadius: "$sm",
3527
+ padding: "2px",
3528
+ "&:focus-visible": {
3529
+ outline: "none",
3530
+ boxShadow: "0 0 0 2px $colors$ignite_light",
3531
+ borderRadius: "$sm"
3532
+ }
3533
+ });
3534
+ var PasswordInput = forwardRef7(
3502
3535
  ({ value, onChange, ...props }, ref) => {
3503
- const [visible, setVisible] = useState10(false);
3504
- const innerRef = useRef7(null);
3536
+ const [visible, setVisible] = useState9(false);
3537
+ const innerRef = useRef6(null);
3505
3538
  useImperativeHandle(ref, () => innerRef.current);
3506
3539
  const handleToggleVisibility = () => {
3507
3540
  setVisible((v) => !v);
@@ -3512,7 +3545,7 @@ var PasswordInput = forwardRef4(
3512
3545
  }
3513
3546
  }, 0);
3514
3547
  };
3515
- return /* @__PURE__ */ jsx39(
3548
+ return /* @__PURE__ */ jsx41(
3516
3549
  Input2,
3517
3550
  {
3518
3551
  ...props,
@@ -3520,21 +3553,14 @@ var PasswordInput = forwardRef4(
3520
3553
  type: visible ? "text" : "password",
3521
3554
  value,
3522
3555
  onChange,
3523
- suffix: /* @__PURE__ */ jsx39(
3524
- "button",
3556
+ suffix: /* @__PURE__ */ jsx41(
3557
+ ToggleButton,
3525
3558
  {
3526
3559
  type: "button",
3527
3560
  onClick: handleToggleVisibility,
3528
3561
  onMouseDown: (e) => e.preventDefault(),
3529
- style: {
3530
- all: "unset",
3531
- cursor: "pointer",
3532
- display: "flex",
3533
- alignItems: "center",
3534
- justifyContent: "center"
3535
- },
3536
3562
  "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" })
3563
+ children: visible ? /* @__PURE__ */ jsx41(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ jsx41(Icon, { name: "EyeOpen", size: 16, color: "black" })
3538
3564
  }
3539
3565
  )
3540
3566
  }
@@ -3560,15 +3586,16 @@ export {
3560
3586
  Modal,
3561
3587
  MultiStep,
3562
3588
  OneTimePassword,
3589
+ Paragraph,
3563
3590
  PasswordInput,
3564
3591
  ProgressBar,
3565
3592
  Radio,
3566
3593
  Select2 as Select,
3567
3594
  Spacing,
3568
3595
  Span5 as Span,
3596
+ StyledHr,
3569
3597
  Switch2 as Switch,
3570
3598
  Tabs2 as Tabs,
3571
- Text,
3572
3599
  TextArea,
3573
3600
  TextAreaElement,
3574
3601
  Toast,