@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.js CHANGED
@@ -47,15 +47,16 @@ __export(src_exports, {
47
47
  Modal: () => Modal,
48
48
  MultiStep: () => MultiStep,
49
49
  OneTimePassword: () => OneTimePassword,
50
+ Paragraph: () => Paragraph,
50
51
  PasswordInput: () => PasswordInput,
51
52
  ProgressBar: () => ProgressBar,
52
53
  Radio: () => Radio,
53
54
  Select: () => Select2,
54
55
  Spacing: () => Spacing,
55
56
  Span: () => Span5,
57
+ StyledHr: () => StyledHr,
56
58
  Switch: () => Switch2,
57
59
  Tabs: () => Tabs2,
58
- Text: () => Text,
59
60
  TextArea: () => TextArea,
60
61
  TextAreaElement: () => TextAreaElement,
61
62
  Toast: () => Toast,
@@ -345,7 +346,7 @@ var StyledButton = styled("button", {
345
346
  primary: {
346
347
  color: "$white",
347
348
  backgroundImage: "linear-gradient(to bottom, $ignite_light, $ignite_dark)",
348
- "&:not(:disabled):hover": {
349
+ "&:not(:disabled):is(:hover, :focus)": {
349
350
  background: "$ignite_dark"
350
351
  },
351
352
  "&:disabled": {
@@ -355,7 +356,7 @@ var StyledButton = styled("button", {
355
356
  secondary: {
356
357
  color: "$clickpalm_mid",
357
358
  border: "2px solid $ignite_light",
358
- "&:not(:disabled):hover": {
359
+ "&:not(:disabled):is(:hover, :focus)": {
359
360
  border: "2px solid $ignite_dark"
360
361
  },
361
362
  "&:disabled": {
@@ -365,7 +366,7 @@ var StyledButton = styled("button", {
365
366
  tertiary: {
366
367
  color: "$ignite_light",
367
368
  border: "3px solid $clickpalm_mid",
368
- "&:not(:disabled):hover": {
369
+ "&:not(:disabled):is(:hover, :focus)": {
369
370
  color: "$ignite_dark"
370
371
  },
371
372
  "&:disabled": {
@@ -1034,6 +1035,9 @@ var Calendar2 = ({ label, onChange }) => {
1034
1035
  ] });
1035
1036
  };
1036
1037
 
1038
+ // src/components/Checkbox/index.tsx
1039
+ var import_react5 = require("react");
1040
+
1037
1041
  // src/components/Checkbox/styles.ts
1038
1042
  var Checkbox = __toESM(require("@radix-ui/react-checkbox"));
1039
1043
  var StyledWrapper = styled("div", {
@@ -1148,35 +1152,38 @@ var Span = styled("span", {
1148
1152
 
1149
1153
  // src/components/Checkbox/index.tsx
1150
1154
  var import_jsx_runtime18 = require("react/jsx-runtime");
1151
- function Checkbox2({ label, checked, onCheckedChange, errorMessage, ...rest }) {
1152
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1153
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(StyledWrapper, { hasError: !!errorMessage, children: [
1154
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1155
- CheckboxContainer,
1156
- {
1157
- checked,
1158
- onCheckedChange,
1159
- hasError: !!errorMessage,
1160
- ...rest,
1161
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxIndicator, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { name: "Check", size: 16 }) })
1162
- }
1163
- ),
1164
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxLabel, { children: label })
1165
- ] }),
1166
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Span, { children: errorMessage })
1167
- ] });
1168
- }
1155
+ var Checkbox2 = (0, import_react5.forwardRef)(
1156
+ ({ label, checked, onCheckedChange, errorMessage, ...rest }, ref) => {
1157
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1158
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(StyledWrapper, { hasError: !!errorMessage, children: [
1159
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1160
+ CheckboxContainer,
1161
+ {
1162
+ ref,
1163
+ checked,
1164
+ onCheckedChange,
1165
+ hasError: !!errorMessage,
1166
+ ...rest,
1167
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxIndicator, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { name: "Check", size: 16 }) })
1168
+ }
1169
+ ),
1170
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxLabel, { children: label })
1171
+ ] }),
1172
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Span, { children: errorMessage })
1173
+ ] });
1174
+ }
1175
+ );
1169
1176
  Checkbox2.displayName = "Checkbox";
1170
1177
 
1171
1178
  // src/components/Datepicker/index.tsx
1172
1179
  var import_date_fns2 = require("date-fns");
1173
1180
  var import_locale2 = require("date-fns/locale");
1174
- var import_react6 = require("react");
1181
+ var import_react7 = require("react");
1175
1182
  var import_react_day_picker2 = require("react-day-picker");
1176
1183
  var import_style2 = require("react-day-picker/dist/style.css");
1177
1184
 
1178
1185
  // src/components/Input/index.tsx
1179
- var import_react5 = __toESM(require("react"));
1186
+ var import_react6 = __toESM(require("react"));
1180
1187
 
1181
1188
  // src/components/Input/styles.ts
1182
1189
  var StyledWrapper2 = styled("div", {
@@ -1274,15 +1281,15 @@ var Span2 = styled("span", {
1274
1281
 
1275
1282
  // src/components/Input/index.tsx
1276
1283
  var import_jsx_runtime19 = require("react/jsx-runtime");
1277
- var Input2 = (0, import_react5.forwardRef)(
1284
+ var Input2 = (0, import_react6.forwardRef)(
1278
1285
  ({ prefix, suffix, label, errorMessage, noMargin = false, ...props }, forwardedRef) => {
1279
- const localInputRef = (0, import_react5.useRef)(null);
1286
+ const localInputRef = (0, import_react6.useRef)(null);
1280
1287
  const inputRef = forwardedRef || localInputRef;
1281
1288
  const handleContainerClick = () => {
1282
1289
  inputRef?.current?.focus();
1283
1290
  };
1284
1291
  const isButtonElement = (node) => {
1285
- if (!import_react5.default.isValidElement(node))
1292
+ if (!import_react6.default.isValidElement(node))
1286
1293
  return false;
1287
1294
  const type = node.type;
1288
1295
  return type?.displayName === "Button";
@@ -1374,11 +1381,11 @@ var datePickerStyles = globalCss({
1374
1381
  var import_jsx_runtime20 = require("react/jsx-runtime");
1375
1382
  datePickerStyles();
1376
1383
  var Datepicker = ({ label, value, onChange }) => {
1377
- const [selected, setSelected] = (0, import_react6.useState)(void 0);
1378
- const [month, setMonth] = (0, import_react6.useState)(/* @__PURE__ */ new Date());
1379
- const [open, setOpen] = (0, import_react6.useState)(false);
1380
- const inputRef = (0, import_react6.useRef)(null);
1381
- const calendarRef = (0, import_react6.useRef)(null);
1384
+ const [selected, setSelected] = (0, import_react7.useState)(void 0);
1385
+ const [month, setMonth] = (0, import_react7.useState)(/* @__PURE__ */ new Date());
1386
+ const [open, setOpen] = (0, import_react7.useState)(false);
1387
+ const inputRef = (0, import_react7.useRef)(null);
1388
+ const calendarRef = (0, import_react7.useRef)(null);
1382
1389
  const handleDaySelect = (date) => {
1383
1390
  setSelected(date);
1384
1391
  if (date) {
@@ -1387,7 +1394,7 @@ var Datepicker = ({ label, value, onChange }) => {
1387
1394
  }
1388
1395
  setOpen(false);
1389
1396
  };
1390
- (0, import_react6.useEffect)(() => {
1397
+ (0, import_react7.useEffect)(() => {
1391
1398
  const handleClickOutside = (event) => {
1392
1399
  if (calendarRef.current && !calendarRef.current.contains(event.target) && inputRef.current && !inputRef.current.contains(event.target)) {
1393
1400
  setOpen(false);
@@ -1396,7 +1403,7 @@ var Datepicker = ({ label, value, onChange }) => {
1396
1403
  document.addEventListener("mousedown", handleClickOutside);
1397
1404
  return () => document.removeEventListener("mousedown", handleClickOutside);
1398
1405
  }, []);
1399
- (0, import_react6.useEffect)(() => {
1406
+ (0, import_react7.useEffect)(() => {
1400
1407
  if (!open && selected) {
1401
1408
  setMonth(selected);
1402
1409
  }
@@ -1460,7 +1467,9 @@ var Datepicker = ({ label, value, onChange }) => {
1460
1467
  };
1461
1468
 
1462
1469
  // src/components/Hr.tsx
1463
- var Hr = styled("hr", {
1470
+ var import_react8 = require("react");
1471
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1472
+ var StyledHr = styled("hr", {
1464
1473
  border: "none",
1465
1474
  height: "1px",
1466
1475
  width: "100%",
@@ -1475,20 +1484,24 @@ var Hr = styled("hr", {
1475
1484
  }
1476
1485
  }
1477
1486
  });
1487
+ var Hr = (0, import_react8.forwardRef)(function Hr2({ children, ...props }, ref) {
1488
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledHr, { ref, ...props, children });
1489
+ });
1490
+ Hr.displayName = "Hr";
1478
1491
 
1479
1492
  // src/components/Modal/index.tsx
1480
1493
  var Dialog2 = __toESM(require("@radix-ui/react-dialog"));
1481
1494
 
1482
1495
  // src/components/Modal/styles.ts
1483
1496
  var Dialog = __toESM(require("@radix-ui/react-dialog"));
1484
- var import_react7 = require("@stitches/react");
1485
- var StyledOverlay = (0, import_react7.styled)(Dialog.Overlay, {
1497
+ var import_react9 = require("@stitches/react");
1498
+ var StyledOverlay = (0, import_react9.styled)(Dialog.Overlay, {
1486
1499
  backgroundColor: "rgba(0, 0, 0, 0.5)",
1487
1500
  position: "fixed",
1488
1501
  inset: 0,
1489
1502
  zIndex: 999999999
1490
1503
  });
1491
- var StyledContent = (0, import_react7.styled)(Dialog.Content, {
1504
+ var StyledContent = (0, import_react9.styled)(Dialog.Content, {
1492
1505
  position: "fixed",
1493
1506
  top: "50%",
1494
1507
  left: "50%",
@@ -1504,16 +1517,16 @@ var StyledContent = (0, import_react7.styled)(Dialog.Content, {
1504
1517
  zIndex: 1e9,
1505
1518
  fontFamily: "$default"
1506
1519
  });
1507
- var Wrapper = (0, import_react7.styled)("div", {
1520
+ var Wrapper = (0, import_react9.styled)("div", {
1508
1521
  display: "flex",
1509
1522
  justifyContent: "space-between",
1510
1523
  alignItems: "center"
1511
1524
  });
1512
- var StyledTitle = (0, import_react7.styled)(Dialog.Title, {
1525
+ var StyledTitle = (0, import_react9.styled)(Dialog.Title, {
1513
1526
  fontSize: "$lg",
1514
1527
  fontWeight: "bold"
1515
1528
  });
1516
- var StyledClose = (0, import_react7.styled)(Dialog.Close, {
1529
+ var StyledClose = (0, import_react9.styled)(Dialog.Close, {
1517
1530
  all: "unset",
1518
1531
  position: "absolute",
1519
1532
  top: "16px",
@@ -1525,30 +1538,30 @@ var StyledClose = (0, import_react7.styled)(Dialog.Close, {
1525
1538
  color: "#333"
1526
1539
  }
1527
1540
  });
1528
- var StyledDivider = (0, import_react7.styled)("hr", {
1541
+ var StyledDivider = (0, import_react9.styled)("hr", {
1529
1542
  width: "100%",
1530
1543
  border: "none",
1531
1544
  borderTop: "1px solid $gray_mid"
1532
1545
  });
1533
1546
 
1534
1547
  // src/components/Modal/index.tsx
1535
- var import_jsx_runtime21 = require("react/jsx-runtime");
1548
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1536
1549
  var Modal = ({ open, onOpenChange, title, children }) => {
1537
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Dialog2.Root, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Dialog2.Portal, { children: [
1538
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledOverlay, {}),
1539
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(StyledContent, { children: [
1540
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Wrapper, { children: [
1541
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledTitle, { children: title }),
1542
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { name: "Closed", size: 8 }) }) })
1550
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Dialog2.Root, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Dialog2.Portal, { children: [
1551
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledOverlay, {}),
1552
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(StyledContent, { children: [
1553
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Wrapper, { children: [
1554
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledTitle, { children: title }),
1555
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "Closed", size: 8 }) }) })
1543
1556
  ] }),
1544
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledDivider, {}),
1557
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDivider, {}),
1545
1558
  children
1546
1559
  ] })
1547
1560
  ] }) });
1548
1561
  };
1549
1562
 
1550
1563
  // src/components/ProgressBar/index.tsx
1551
- var import_react8 = require("react");
1564
+ var import_react10 = require("react");
1552
1565
 
1553
1566
  // src/components/ProgressBar/styles.ts
1554
1567
  var Progress = __toESM(require("@radix-ui/react-progress"));
@@ -1578,23 +1591,23 @@ var StyledIndicator = styled(Progress.Indicator, {
1578
1591
  });
1579
1592
 
1580
1593
  // src/components/ProgressBar/index.tsx
1581
- var import_jsx_runtime22 = require("react/jsx-runtime");
1594
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1582
1595
  var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1583
- const [progress2, setProgress] = (0, import_react8.useState)(0);
1584
- (0, import_react8.useEffect)(() => {
1596
+ const [progress2, setProgress] = (0, import_react10.useState)(0);
1597
+ (0, import_react10.useEffect)(() => {
1585
1598
  const timer = setTimeout(() => setProgress(value), 500);
1586
1599
  return () => clearTimeout(timer);
1587
1600
  }, [value]);
1588
1601
  const valueLabel = `${Math.round(progress2 / max * 100)}%`;
1589
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(StyledWrapper3, { children: [
1590
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("label", { style: { fontSize: 16, alignSelf: "flex-start" }, children: label }),
1591
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1602
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(StyledWrapper3, { children: [
1603
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("label", { style: { fontSize: 16, alignSelf: "flex-start" }, children: label }),
1604
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1592
1605
  StyledRoot,
1593
1606
  {
1594
1607
  value: progress2,
1595
1608
  "aria-valuetext": valueLabel,
1596
1609
  ...rest,
1597
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1610
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1598
1611
  StyledIndicator,
1599
1612
  {
1600
1613
  style: { transform: `translateX(-${100 - progress2}%)` }
@@ -1698,7 +1711,7 @@ var Span3 = styled("span", {
1698
1711
  });
1699
1712
 
1700
1713
  // src/components/Radio/index.tsx
1701
- var import_jsx_runtime23 = require("react/jsx-runtime");
1714
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1702
1715
  var Radio = ({
1703
1716
  labels,
1704
1717
  value,
@@ -1707,8 +1720,8 @@ var Radio = ({
1707
1720
  required = false,
1708
1721
  errorMessage
1709
1722
  }) => {
1710
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1711
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1723
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1724
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1712
1725
  StyledRoot2,
1713
1726
  {
1714
1727
  value,
@@ -1717,27 +1730,27 @@ var Radio = ({
1717
1730
  disabled,
1718
1731
  required,
1719
1732
  loop: true,
1720
- children: labels.map((label, index) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Wrapper2, { children: [
1721
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1733
+ children: labels.map((label, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Wrapper2, { children: [
1734
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1722
1735
  StyledItem,
1723
1736
  {
1724
1737
  value: label,
1725
1738
  id: `radio-${index}`,
1726
1739
  "aria-label": label,
1727
1740
  hasError: !!errorMessage,
1728
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(StyledIndicator2, {})
1741
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledIndicator2, {})
1729
1742
  }
1730
1743
  ),
1731
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ItemLabel, { htmlFor: `radio-${index}`, children: label })
1744
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ItemLabel, { htmlFor: `radio-${index}`, children: label })
1732
1745
  ] }, label))
1733
1746
  }
1734
1747
  ),
1735
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Span3, { children: errorMessage })
1748
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Span3, { children: errorMessage })
1736
1749
  ] });
1737
1750
  };
1738
1751
 
1739
1752
  // src/components/Spacing.tsx
1740
- var import_jsx_runtime24 = require("react/jsx-runtime");
1753
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1741
1754
  var spacingMap = {
1742
1755
  xs: 8,
1743
1756
  sm: 12,
@@ -1749,7 +1762,7 @@ var spacingMap = {
1749
1762
  };
1750
1763
  var Spacing = ({ size, axis = "vertical" }) => {
1751
1764
  const style = axis === "vertical" ? { height: spacingMap[size], width: "100%" } : { width: spacingMap[size], height: "100%" };
1752
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { style, "data-testid": `spacing-${size}-${axis}` });
1765
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { style, "data-testid": `spacing-${size}-${axis}` });
1753
1766
  };
1754
1767
 
1755
1768
  // src/components/Switch/styles.ts
@@ -1847,7 +1860,7 @@ var Span4 = styled("span", {
1847
1860
  });
1848
1861
 
1849
1862
  // src/components/Switch/index.tsx
1850
- var import_jsx_runtime25 = require("react/jsx-runtime");
1863
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1851
1864
  var Switch2 = ({
1852
1865
  label,
1853
1866
  checked,
@@ -1858,9 +1871,9 @@ var Switch2 = ({
1858
1871
  id,
1859
1872
  errorMessage
1860
1873
  }) => {
1861
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1862
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Wrapper3, { hasError: !!errorMessage, children: [
1863
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1874
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1875
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Wrapper3, { hasError: !!errorMessage, children: [
1876
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1864
1877
  StyledRoot3,
1865
1878
  {
1866
1879
  id,
@@ -1870,17 +1883,17 @@ var Switch2 = ({
1870
1883
  hasError: !!errorMessage,
1871
1884
  disabled,
1872
1885
  required,
1873
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(StyledThumb, {})
1886
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(StyledThumb, {})
1874
1887
  }
1875
1888
  ),
1876
- label && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Label2, { htmlFor: id, children: label })
1889
+ label && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Label2, { htmlFor: id, children: label })
1877
1890
  ] }),
1878
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Span4, { children: errorMessage })
1891
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Span4, { children: errorMessage })
1879
1892
  ] });
1880
1893
  };
1881
1894
 
1882
1895
  // src/components/Tabs/index.tsx
1883
- var import_react9 = require("react");
1896
+ var import_react11 = require("react");
1884
1897
 
1885
1898
  // src/components/Tabs/styles.ts
1886
1899
  var Tabs = __toESM(require("@radix-ui/react-tabs"));
@@ -1961,23 +1974,23 @@ var TabsContent = styled(Tabs.Content, {
1961
1974
  });
1962
1975
 
1963
1976
  // src/components/Tabs/index.tsx
1964
- var import_jsx_runtime26 = require("react/jsx-runtime");
1977
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1965
1978
  var TabsItem = ({ children }) => {
1966
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jsx_runtime26.Fragment, { children });
1979
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx_runtime27.Fragment, { children });
1967
1980
  };
1968
1981
  var Tabs2 = ({ defaultValue, colorContent, children }) => {
1969
1982
  const items = [];
1970
- const childrenArray = import_react9.Children.toArray(children);
1983
+ const childrenArray = import_react11.Children.toArray(children);
1971
1984
  childrenArray.forEach((child) => {
1972
- if ((0, import_react9.isValidElement)(child) && child.type === TabsItem) {
1985
+ if ((0, import_react11.isValidElement)(child) && child.type === TabsItem) {
1973
1986
  const { value, label, children: content } = child.props;
1974
1987
  items.push({ value, label, children: content });
1975
1988
  }
1976
1989
  });
1977
- const listRef = (0, import_react9.useRef)(null);
1978
- const rootRef = (0, import_react9.useRef)(null);
1979
- const hasOverflowRef = (0, import_react9.useRef)(false);
1980
- const [hasOverflow, setHasOverflow] = (0, import_react9.useState)(false);
1990
+ const listRef = (0, import_react11.useRef)(null);
1991
+ const rootRef = (0, import_react11.useRef)(null);
1992
+ const hasOverflowRef = (0, import_react11.useRef)(false);
1993
+ const [hasOverflow, setHasOverflow] = (0, import_react11.useState)(false);
1981
1994
  const checkOverflow = () => {
1982
1995
  const listEl = listRef.current;
1983
1996
  const rootEl = rootRef.current;
@@ -1992,7 +2005,7 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
1992
2005
  setHasOverflow(overflow);
1993
2006
  }
1994
2007
  };
1995
- (0, import_react9.useLayoutEffect)(() => {
2008
+ (0, import_react11.useLayoutEffect)(() => {
1996
2009
  checkOverflow();
1997
2010
  const resizeObserver = new ResizeObserver(checkOverflow);
1998
2011
  if (listRef.current) {
@@ -2013,28 +2026,28 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
2013
2026
  });
2014
2027
  }
2015
2028
  };
2016
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2029
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2017
2030
  TabsRoot,
2018
2031
  {
2019
2032
  defaultValue: defaultValue || items[0]?.value,
2020
2033
  ref: rootRef,
2021
2034
  children: [
2022
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2023
- hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2035
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2036
+ hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2024
2037
  Button,
2025
2038
  {
2026
2039
  variant: "secondary",
2027
2040
  size: "sm",
2028
2041
  onClick: () => scroll("left"),
2029
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { name: "TriangleLeft", size: 64 })
2042
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { name: "TriangleLeft", size: 64 })
2030
2043
  }
2031
2044
  ),
2032
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2045
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2033
2046
  TabsList,
2034
2047
  {
2035
2048
  ref: listRef,
2036
2049
  scrollable: hasOverflow,
2037
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2050
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2038
2051
  TabsTrigger,
2039
2052
  {
2040
2053
  value: item.value,
@@ -2045,17 +2058,17 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
2045
2058
  ))
2046
2059
  }
2047
2060
  ),
2048
- hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2061
+ hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2049
2062
  Button,
2050
2063
  {
2051
2064
  variant: "secondary",
2052
2065
  size: "sm",
2053
2066
  onClick: () => scroll("right"),
2054
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { name: "TriangleRight", size: 64 })
2067
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { name: "TriangleRight", size: 64 })
2055
2068
  }
2056
2069
  )
2057
2070
  ] }),
2058
- items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2071
+ items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2059
2072
  TabsContent,
2060
2073
  {
2061
2074
  colorContent,
@@ -2071,7 +2084,7 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
2071
2084
  Tabs2.Item = TabsItem;
2072
2085
 
2073
2086
  // src/components/TextArea.tsx
2074
- var import_jsx_runtime27 = require("react/jsx-runtime");
2087
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2075
2088
  var Wrapper4 = styled("div", {
2076
2089
  display: "flex",
2077
2090
  flexDirection: "column"
@@ -2148,10 +2161,10 @@ var Span5 = styled("span", {
2148
2161
  });
2149
2162
  var TextArea = ({ label, id, htmlFor, errorMessage, ...props }) => {
2150
2163
  const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2151
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Wrapper4, { children: [
2152
- label && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(StyledLabel2, { htmlFor: textAreaId, children: label }),
2153
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TextAreaElement, { id: textAreaId, ...props, hasError: !!errorMessage }),
2154
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Span5, { children: errorMessage })
2164
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Wrapper4, { children: [
2165
+ label && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledLabel2, { htmlFor: textAreaId, children: label }),
2166
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TextAreaElement, { id: textAreaId, ...props, hasError: !!errorMessage }),
2167
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Span5, { children: errorMessage })
2155
2168
  ] });
2156
2169
  };
2157
2170
  TextArea.displayName = "TextArea";
@@ -2207,7 +2220,7 @@ var TooltipArrow = styled(RadixTooltip.Arrow, {
2207
2220
  });
2208
2221
 
2209
2222
  // src/components/Tooltip/index.tsx
2210
- var import_jsx_runtime28 = require("react/jsx-runtime");
2223
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2211
2224
  var Tooltip = ({
2212
2225
  content,
2213
2226
  children,
@@ -2217,19 +2230,16 @@ var Tooltip = ({
2217
2230
  onOpenChange,
2218
2231
  delayDuration = 100
2219
2232
  }) => {
2220
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(RadixTooltip2.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2221
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TooltipTrigger, { asChild: true, children }),
2222
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(TooltipContent, { side, sideOffset, children: [
2233
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(RadixTooltip2.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2234
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(TooltipTrigger, { asChild: true, children }),
2235
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(TooltipContent, { side, sideOffset, children: [
2223
2236
  content,
2224
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TooltipArrow, {})
2237
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(TooltipArrow, {})
2225
2238
  ] })
2226
2239
  ] }) });
2227
2240
  };
2228
2241
  Tooltip.displayName = "Tooltip";
2229
2242
 
2230
- // src/components/Loader/index.tsx
2231
- var import_react10 = require("react");
2232
-
2233
2243
  // src/components/Loader/style.ts
2234
2244
  var Content4 = styled("div", {
2235
2245
  position: "relative",
@@ -2246,13 +2256,16 @@ var Overlay2 = styled("div", {
2246
2256
  alignItems: "center",
2247
2257
  backgroundColor: "rgba(255, 255, 255, 0.6)",
2248
2258
  zIndex: 999,
2259
+ transition: "opacity 0.3s ease-in-out",
2249
2260
  variants: {
2250
2261
  show: {
2251
2262
  true: {
2252
- opacity: 1
2263
+ opacity: 1,
2264
+ pointerEvents: "auto"
2253
2265
  },
2254
2266
  false: {
2255
- opacity: 0
2267
+ opacity: 0,
2268
+ pointerEvents: "none"
2256
2269
  }
2257
2270
  },
2258
2271
  fullscreen: {
@@ -2264,7 +2277,11 @@ var Overlay2 = styled("div", {
2264
2277
  bottom: 0
2265
2278
  },
2266
2279
  false: {
2267
- position: "absolute"
2280
+ position: "absolute",
2281
+ top: 0,
2282
+ left: 0,
2283
+ width: "100%",
2284
+ height: "100%"
2268
2285
  }
2269
2286
  }
2270
2287
  }
@@ -2301,33 +2318,14 @@ var Spinner = styled("span", {
2301
2318
  });
2302
2319
 
2303
2320
  // src/components/Loader/index.tsx
2304
- var import_jsx_runtime29 = require("react/jsx-runtime");
2305
- var Loader = ({ show, fullscreen }) => {
2306
- const ref = (0, import_react10.useRef)(null);
2307
- const [parentRect, setParentRect] = (0, import_react10.useState)(null);
2308
- (0, import_react10.useEffect)(() => {
2309
- if (!fullscreen && ref.current?.parentElement) {
2310
- const rect = ref.current.parentElement.getBoundingClientRect();
2311
- setParentRect(rect);
2312
- }
2313
- }, [fullscreen, show]);
2314
- if (!show)
2315
- return null;
2316
- const overlayStyles = fullscreen ? { position: "fixed", top: 0, left: 0, right: 0, bottom: 0 } : parentRect ? {
2317
- top: parentRect.top + window.scrollY,
2318
- left: parentRect.left + window.scrollX,
2319
- width: parentRect.width,
2320
- height: parentRect.height
2321
- } : {};
2322
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
2323
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { ref, style: { display: "none" } }),
2324
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Overlay2, { show: true, fullscreen, style: overlayStyles, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SpinnerContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Spinner, {}) }) })
2325
- ] });
2321
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2322
+ var Loader = ({ show, fullscreen = false }) => {
2323
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Overlay2, { show, fullscreen, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SpinnerContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Spinner, {}) }) });
2326
2324
  };
2327
2325
  Loader.displayName = "Loader";
2328
2326
 
2329
2327
  // src/components/MaskedInput/index.tsx
2330
- var import_react11 = require("react");
2328
+ var import_react12 = require("react");
2331
2329
 
2332
2330
  // src/components/MaskedInput/utils.ts
2333
2331
  var MAX_LENGTHS = {
@@ -2391,11 +2389,11 @@ var applyMask = (value, maskType) => {
2391
2389
  };
2392
2390
 
2393
2391
  // src/components/MaskedInput/index.tsx
2394
- var import_jsx_runtime30 = require("react/jsx-runtime");
2395
- var MaskedInput = (0, import_react11.forwardRef)(
2392
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2393
+ var MaskedInput = (0, import_react12.forwardRef)(
2396
2394
  ({ maskType, onChange, ...props }, ref) => {
2397
- const [value, setValue] = (0, import_react11.useState)("");
2398
- const inputRef = (0, import_react11.useRef)(null);
2395
+ const [value, setValue] = (0, import_react12.useState)("");
2396
+ const inputRef = (0, import_react12.useRef)(null);
2399
2397
  const handleChange = (e) => {
2400
2398
  const { value: inputValue, selectionStart } = e.target;
2401
2399
  const isBackspace = value.length > inputValue.length;
@@ -2428,7 +2426,7 @@ var MaskedInput = (0, import_react11.forwardRef)(
2428
2426
  onChange(syntheticEvent);
2429
2427
  }
2430
2428
  };
2431
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2429
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2432
2430
  Input2,
2433
2431
  {
2434
2432
  ...props,
@@ -2443,7 +2441,7 @@ var MaskedInput = (0, import_react11.forwardRef)(
2443
2441
  MaskedInput.displayName = "MaskedInput";
2444
2442
 
2445
2443
  // src/components/Box.tsx
2446
- var import_jsx_runtime31 = require("react/jsx-runtime");
2444
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2447
2445
  var StyledBox = styled("div", {
2448
2446
  padding: "$5",
2449
2447
  borderRadius: "$md",
@@ -2465,13 +2463,13 @@ var StyledBox = styled("div", {
2465
2463
  }
2466
2464
  });
2467
2465
  var Box = (props) => {
2468
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(StyledBox, { ...props });
2466
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledBox, { ...props });
2469
2467
  };
2470
2468
  Box.displayName = "Box";
2471
2469
 
2472
- // src/components/Text.tsx
2473
- var import_jsx_runtime32 = require("react/jsx-runtime");
2474
- var StyledText = styled("p", {
2470
+ // src/components/Paragraph.tsx
2471
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2472
+ var StyledParagraph = styled("p", {
2475
2473
  fontFamily: "$default",
2476
2474
  lineHeight: "$short",
2477
2475
  margin: 0,
@@ -2510,13 +2508,15 @@ var StyledText = styled("p", {
2510
2508
  lineHeight: "short"
2511
2509
  }
2512
2510
  });
2513
- var Text = (props) => {
2514
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledText, { ...props });
2511
+ var Paragraph = (props) => {
2512
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(StyledParagraph, { ...props });
2515
2513
  };
2516
- Text.displayName = "Text";
2514
+ Paragraph.displayName = "Paragraph";
2517
2515
 
2518
2516
  // src/components/Heading.tsx
2519
- var Heading = styled("h2", {
2517
+ var import_react13 = require("react");
2518
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2519
+ var StyledHeading = styled("h2", {
2520
2520
  fontFamily: "$default",
2521
2521
  lineHeight: "$shorter",
2522
2522
  margin: 0,
@@ -2537,12 +2537,15 @@ var Heading = styled("h2", {
2537
2537
  size: "md"
2538
2538
  }
2539
2539
  });
2540
+ var Heading = (0, import_react13.forwardRef)(function Heading2({ children, ...props }, ref) {
2541
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(StyledHeading, { ref, ...props, children });
2542
+ });
2540
2543
  Heading.displayName = "Heading";
2541
2544
 
2542
2545
  // src/components/Select/index.tsx
2543
2546
  var import_react_icons2 = require("@radix-ui/react-icons");
2544
2547
  var CustomSelect = __toESM(require("@radix-ui/react-select"));
2545
- var import_react12 = require("react");
2548
+ var import_react14 = require("react");
2546
2549
 
2547
2550
  // src/components/Select/styles.ts
2548
2551
  var Select = __toESM(require("@radix-ui/react-select"));
@@ -2564,7 +2567,7 @@ var StyledTrigger = styled(Select.Trigger, {
2564
2567
  alignItems: "center",
2565
2568
  justifyContent: "space-between",
2566
2569
  marginBottom: "$6",
2567
- padding: "$3 $4",
2570
+ padding: "$4 $4",
2568
2571
  boxSizing: "border-box",
2569
2572
  borderRadius: "$md",
2570
2573
  border: "1px solid $gray_mid",
@@ -2659,7 +2662,7 @@ var Span6 = styled("span", {
2659
2662
  });
2660
2663
 
2661
2664
  // src/components/Select/index.tsx
2662
- var import_jsx_runtime33 = require("react/jsx-runtime");
2665
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2663
2666
  function Select2({
2664
2667
  value,
2665
2668
  onValueChange,
@@ -2669,10 +2672,10 @@ function Select2({
2669
2672
  errorMessage,
2670
2673
  ...rest
2671
2674
  }) {
2672
- const [open, setOpen] = (0, import_react12.useState)(false);
2673
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(StyledWrapper4, { children: [
2674
- label && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Label3, { children: label }),
2675
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2675
+ const [open, setOpen] = (0, import_react14.useState)(false);
2676
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(StyledWrapper4, { children: [
2677
+ label && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Label3, { children: label }),
2678
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2676
2679
  CustomSelect.Root,
2677
2680
  {
2678
2681
  value,
@@ -2680,21 +2683,21 @@ function Select2({
2680
2683
  onOpenChange: setOpen,
2681
2684
  ...rest,
2682
2685
  children: [
2683
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, children: [
2684
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CustomSelect.Value, { placeholder }),
2685
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(StyledIcon, { open, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2686
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, children: [
2687
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CustomSelect.Value, { placeholder }),
2688
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledIcon, { open, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2686
2689
  ] }),
2687
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Span6, { children: errorMessage }),
2688
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CustomSelect.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2690
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Span6, { children: errorMessage }),
2691
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CustomSelect.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2689
2692
  StyledContent2,
2690
2693
  {
2691
2694
  side: "bottom",
2692
2695
  align: "start",
2693
2696
  position: "popper",
2694
2697
  children: [
2695
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
2696
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(StyledViewport, { children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(StyledItem2, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2697
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2698
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
2699
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledViewport, { children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledItem2, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2700
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2698
2701
  ]
2699
2702
  }
2700
2703
  ) })
@@ -2706,7 +2709,7 @@ function Select2({
2706
2709
  Select2.displayName = "Select";
2707
2710
 
2708
2711
  // src/components/LabelledValue/index.tsx
2709
- var import_react13 = require("react");
2712
+ var import_react15 = require("react");
2710
2713
 
2711
2714
  // src/components/LabelledValue/styles.ts
2712
2715
  var Container = styled("div", {
@@ -2767,19 +2770,19 @@ var Value2 = styled("div", {
2767
2770
  });
2768
2771
 
2769
2772
  // src/components/LabelledValue/index.tsx
2770
- var import_jsx_runtime34 = require("react/jsx-runtime");
2773
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2771
2774
  function LabelledValue({ position = "vertical", withRow = false, children }) {
2772
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Container, { position, children: import_react13.Children.map(children, (child) => {
2773
- if ((0, import_react13.isValidElement)(child)) {
2774
- return (0, import_react13.cloneElement)(child, { position, withRow });
2775
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Container, { position, children: import_react15.Children.map(children, (child) => {
2776
+ if ((0, import_react15.isValidElement)(child)) {
2777
+ return (0, import_react15.cloneElement)(child, { position, withRow });
2775
2778
  }
2776
2779
  return child;
2777
2780
  }) });
2778
2781
  }
2779
2782
  function Item3({ label, value, position = "vertical", withRow = false }) {
2780
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(ItemWrapper, { position, withRow, children: [
2781
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Label4, { children: label }),
2782
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Value2, { children: value })
2783
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(ItemWrapper, { position, withRow, children: [
2784
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Label4, { children: label }),
2785
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Value2, { children: value })
2783
2786
  ] });
2784
2787
  }
2785
2788
  LabelledValue.Item = Item3;
@@ -2789,18 +2792,29 @@ var OneTimePasswordField2 = __toESM(require("@radix-ui/react-one-time-password-f
2789
2792
 
2790
2793
  // src/components/OneTimePassword/styles.ts
2791
2794
  var OneTimePasswordField = __toESM(require("@radix-ui/react-one-time-password-field"));
2792
- var StyledWrapper5 = styled("div", {
2795
+ var Container2 = styled("div", {
2793
2796
  display: "flex",
2794
2797
  flexDirection: "column",
2795
2798
  justifyContent: "center",
2796
2799
  alignItems: "center",
2797
- gap: "$5",
2798
- marginBottom: "$6"
2800
+ marginBottom: "$6",
2801
+ width: "100%"
2799
2802
  });
2800
- var StyledRoot4 = styled(OneTimePasswordField.Root, {
2803
+ var StyledWrapper5 = styled("div", {
2801
2804
  display: "flex",
2805
+ flexDirection: "column"
2806
+ });
2807
+ var StyledRoot4 = styled(OneTimePasswordField.Root, {
2808
+ display: "grid",
2802
2809
  gap: "$2",
2803
- flexWrap: "nowrap"
2810
+ gridTemplateColumns: "repeat(var(--otp-length), 1fr)",
2811
+ width: "100%"
2812
+ });
2813
+ var StyledLabel3 = styled(OneTimePasswordField.Root, {
2814
+ display: "flex",
2815
+ justifyContent: "center",
2816
+ alignItems: "center",
2817
+ marginBottom: "$5"
2804
2818
  });
2805
2819
  var StyledInput = styled(OneTimePasswordField.Input, {
2806
2820
  all: "unset",
@@ -2812,13 +2826,14 @@ var StyledInput = styled(OneTimePasswordField.Input, {
2812
2826
  boxSizing: "border-box",
2813
2827
  borderRadius: "$md",
2814
2828
  borderStyle: "solid",
2815
- borderColor: "#C2C2C2",
2829
+ borderColor: "$gray_mid",
2816
2830
  borderWidth: "3px",
2817
2831
  fontSize: "$md",
2818
2832
  color: "$black",
2819
2833
  padding: "0",
2820
- height: "50px",
2821
- width: "53px",
2834
+ width: "100%",
2835
+ aspectRatio: "1 / 1",
2836
+ maxWidth: "53px",
2822
2837
  "&:hover": {
2823
2838
  borderColor: "$gray_dark"
2824
2839
  },
@@ -2826,25 +2841,37 @@ var StyledInput = styled(OneTimePasswordField.Input, {
2826
2841
  borderColor: "$clickpalm_mid"
2827
2842
  }
2828
2843
  });
2844
+ var Span7 = styled("span", {
2845
+ fontFamily: "$default",
2846
+ fontWeight: "$regular",
2847
+ fontSize: "$sm",
2848
+ color: "$danger_dark",
2849
+ alignSelf: "flex-start",
2850
+ paddingLeft: "1px",
2851
+ marginTop: "2px",
2852
+ marginBottom: "$6"
2853
+ });
2829
2854
 
2830
2855
  // src/components/OneTimePassword/index.tsx
2831
- var import_jsx_runtime35 = require("react/jsx-runtime");
2832
- var OneTimePassword = ({ label, length, value, onValueChange, ...rootProps }) => {
2833
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(StyledWrapper5, { children: [
2834
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("label", { children: label }),
2835
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2856
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2857
+ var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...rootProps }) => {
2858
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Container2, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(StyledWrapper5, { children: [
2859
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(StyledLabel3, { children: label }),
2860
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2836
2861
  StyledRoot4,
2837
2862
  {
2838
2863
  value,
2839
2864
  onValueChange,
2840
2865
  ...rootProps,
2866
+ style: { "--otp-length": length },
2841
2867
  children: [
2842
- Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledInput, {}, index)),
2843
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(OneTimePasswordField2.HiddenInput, {})
2868
+ Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(StyledInput, {}, index)),
2869
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(OneTimePasswordField2.HiddenInput, {})
2844
2870
  ]
2845
2871
  }
2846
- )
2847
- ] });
2872
+ ),
2873
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Span7, { children: errorMessage })
2874
+ ] }) });
2848
2875
  };
2849
2876
  OneTimePassword.displayName = "OneTimePasswordInput";
2850
2877
 
@@ -3013,7 +3040,7 @@ var toast = {
3013
3040
  };
3014
3041
 
3015
3042
  // src/components/Toast/index.tsx
3016
- var import_jsx_runtime36 = require("react/jsx-runtime");
3043
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3017
3044
  var Toast = () => {
3018
3045
  const [messages, setMessages] = React3.useState([]);
3019
3046
  const [paused, setPaused] = React3.useState(false);
@@ -3029,8 +3056,8 @@ var Toast = () => {
3029
3056
  const removeToast = (id) => {
3030
3057
  setMessages((prev) => prev.filter((msg) => msg.id !== id));
3031
3058
  };
3032
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
3033
- messages.map((message) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3059
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
3060
+ messages.map((message) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3034
3061
  ToastRoot,
3035
3062
  {
3036
3063
  open: true,
@@ -3043,11 +3070,11 @@ var Toast = () => {
3043
3070
  onPause: () => setPaused(true),
3044
3071
  onResume: () => setPaused(false),
3045
3072
  children: [
3046
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(ToastContent, { children: [
3047
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ToastTitle, { children: message.title }),
3048
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ToastDescription, { children: message.description })
3073
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(ToastContent, { children: [
3074
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ToastTitle, { children: message.title }),
3075
+ message.description && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ToastDescription, { children: message.description })
3049
3076
  ] }),
3050
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3077
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3051
3078
  "button",
3052
3079
  {
3053
3080
  style: {
@@ -3057,15 +3084,15 @@ var Toast = () => {
3057
3084
  alignItems: "center"
3058
3085
  },
3059
3086
  onClick: () => removeToast(message.id),
3060
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3087
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3061
3088
  }
3062
3089
  ) }),
3063
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ToastProgress, { paused, variant: message.variant })
3090
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ToastProgress, { paused, variant: message.variant })
3064
3091
  ]
3065
3092
  },
3066
3093
  message.id
3067
3094
  )),
3068
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ToastViewport, {})
3095
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ToastViewport, {})
3069
3096
  ] });
3070
3097
  };
3071
3098
 
@@ -3077,7 +3104,8 @@ var Wrapper5 = styled("div", {
3077
3104
  variants: {
3078
3105
  orientation: {
3079
3106
  horizontal: {
3080
- flexDirection: "row",
3107
+ display: "grid",
3108
+ gridTemplateColumns: "repeat(auto-fit, minmax(100px, 1fr))",
3081
3109
  alignItems: "center",
3082
3110
  gap: "var(--gap)"
3083
3111
  },
@@ -3095,12 +3123,11 @@ var StepItem = styled("div", {
3095
3123
  variants: {
3096
3124
  orientation: {
3097
3125
  horizontal: {
3098
- flex: 1,
3099
3126
  flexDirection: "column",
3100
3127
  textAlign: "center"
3101
3128
  },
3102
3129
  vertical: {
3103
- margin: "$4 0",
3130
+ margin: "$2 0",
3104
3131
  flexDirection: "row"
3105
3132
  }
3106
3133
  }
@@ -3108,7 +3135,7 @@ var StepItem = styled("div", {
3108
3135
  });
3109
3136
  var StepCircle = styled("div", {
3110
3137
  position: "relative",
3111
- zIndex: 999,
3138
+ zIndex: 990,
3112
3139
  width: "var(--circle-size)",
3113
3140
  height: "var(--circle-size)",
3114
3141
  borderRadius: "50%",
@@ -3139,7 +3166,7 @@ var StepCircle = styled("div", {
3139
3166
  left: "50%",
3140
3167
  transform: "translate(-50%, -100%)",
3141
3168
  width: "3px",
3142
- height: "$6",
3169
+ height: "$4",
3143
3170
  backgroundColor: "$clickpalm_dark"
3144
3171
  },
3145
3172
  "&::after": {
@@ -3149,7 +3176,7 @@ var StepCircle = styled("div", {
3149
3176
  left: "50%",
3150
3177
  transform: "translate(-50%, 100%)",
3151
3178
  width: "3px",
3152
- height: "$6",
3179
+ height: "$4",
3153
3180
  backgroundColor: "$clickpalm_dark"
3154
3181
  }
3155
3182
  }
@@ -3301,22 +3328,22 @@ var StepLabel = styled("span", {
3301
3328
  });
3302
3329
 
3303
3330
  // src/components/MultiStep/index.tsx
3304
- var import_jsx_runtime37 = require("react/jsx-runtime");
3331
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3305
3332
  var MultiStep = ({
3306
3333
  steps,
3307
3334
  currentStep,
3308
3335
  orientation = "horizontal",
3309
3336
  variant
3310
3337
  }) => {
3311
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3338
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3312
3339
  Wrapper5,
3313
3340
  {
3314
3341
  orientation,
3315
3342
  children: steps.map((step, index) => {
3316
3343
  const isFirst = index === 0;
3317
3344
  const isLast = index === steps.length - 1;
3318
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(StepItem, { orientation, children: [
3319
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3345
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(StepItem, { orientation, children: [
3346
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3320
3347
  StepCircle,
3321
3348
  {
3322
3349
  orientation,
@@ -3327,7 +3354,7 @@ var MultiStep = ({
3327
3354
  children: index + 1
3328
3355
  }
3329
3356
  ),
3330
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3357
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3331
3358
  StepLabel,
3332
3359
  {
3333
3360
  orientation,
@@ -3343,7 +3370,7 @@ var MultiStep = ({
3343
3370
  MultiStep.displayName = "MultiStep";
3344
3371
 
3345
3372
  // src/components/Carousel/index.tsx
3346
- var import_react14 = require("react");
3373
+ var import_react16 = require("react");
3347
3374
 
3348
3375
  // src/components/Carousel/styles.ts
3349
3376
  var CarouselContainer = styled("div", {
@@ -3449,13 +3476,13 @@ var CarouselItemContainer = styled("div", {
3449
3476
  });
3450
3477
 
3451
3478
  // src/components/Carousel/index.tsx
3452
- var import_jsx_runtime38 = require("react/jsx-runtime");
3479
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3453
3480
  var SWIPE_THRESHOLD = 50;
3454
3481
  var Carousel = ({ title, variant, children }) => {
3455
- const items = import_react14.Children.toArray(children);
3456
- const [activeIndex, setActiveIndex] = (0, import_react14.useState)(0);
3457
- const [touchStartX, setTouchStartX] = (0, import_react14.useState)(null);
3458
- const [touchEndX, setTouchEndX] = (0, import_react14.useState)(null);
3482
+ const items = import_react16.Children.toArray(children);
3483
+ const [activeIndex, setActiveIndex] = (0, import_react16.useState)(0);
3484
+ const [touchStartX, setTouchStartX] = (0, import_react16.useState)(null);
3485
+ const [touchEndX, setTouchEndX] = (0, import_react16.useState)(null);
3459
3486
  const prev = () => {
3460
3487
  setActiveIndex((prevIndex) => prevIndex === 0 ? items.length - 1 : prevIndex - 1);
3461
3488
  };
@@ -3483,18 +3510,18 @@ var Carousel = ({ title, variant, children }) => {
3483
3510
  setTouchStartX(null);
3484
3511
  setTouchEndX(null);
3485
3512
  };
3486
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3513
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3487
3514
  CarouselContainer,
3488
3515
  {
3489
3516
  role: "region",
3490
3517
  "aria-roledescription": "carousel",
3491
3518
  "aria-label": "Carousel Component",
3492
3519
  children: [
3493
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Wrapper6, { variant, children: [
3494
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(CarouselHeader, { children: [
3495
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Title2, { children: title }),
3496
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Navigation, { children: [
3497
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3520
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Wrapper6, { variant, children: [
3521
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(CarouselHeader, { children: [
3522
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Title2, { children: title }),
3523
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Navigation, { children: [
3524
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3498
3525
  Button,
3499
3526
  {
3500
3527
  size: "sm",
@@ -3502,10 +3529,10 @@ var Carousel = ({ title, variant, children }) => {
3502
3529
  "aria-label": "Previous Slide",
3503
3530
  onClick: prev,
3504
3531
  tabIndex: 0,
3505
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3532
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3506
3533
  }
3507
3534
  ),
3508
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3535
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3509
3536
  Button,
3510
3537
  {
3511
3538
  size: "sm",
@@ -3513,22 +3540,22 @@ var Carousel = ({ title, variant, children }) => {
3513
3540
  "aria-label": "Previous Slide",
3514
3541
  onClick: next,
3515
3542
  tabIndex: 0,
3516
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3543
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3517
3544
  }
3518
3545
  )
3519
3546
  ] })
3520
3547
  ] }),
3521
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Spacing, { size: "xs" }),
3522
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Hr, { variant }),
3523
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Spacing, { size: "xs" }),
3524
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3548
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Spacing, { size: "xs" }),
3549
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Hr, { variant }),
3550
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Spacing, { size: "xs" }),
3551
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3525
3552
  CarouselContent,
3526
3553
  {
3527
3554
  onTouchStart,
3528
3555
  onTouchMove,
3529
3556
  onTouchEnd,
3530
3557
  children: items.map(
3531
- (child, index) => (0, import_react14.cloneElement)(child, {
3558
+ (child, index) => (0, import_react16.cloneElement)(child, {
3532
3559
  "aria-hidden": index !== activeIndex,
3533
3560
  style: {
3534
3561
  display: index === activeIndex ? "block" : "none"
@@ -3538,8 +3565,8 @@ var Carousel = ({ title, variant, children }) => {
3538
3565
  }
3539
3566
  )
3540
3567
  ] }),
3541
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Spacing, { size: "md" }),
3542
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DotsContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3568
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Spacing, { size: "md" }),
3569
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DotsContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3543
3570
  DotButton,
3544
3571
  {
3545
3572
  active: idx === activeIndex,
@@ -3555,17 +3582,31 @@ var Carousel = ({ title, variant, children }) => {
3555
3582
  }
3556
3583
  );
3557
3584
  };
3558
- var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CarouselItemContainer, { ...props, style: { ...style }, children });
3585
+ var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CarouselItemContainer, { ...props, style: { ...style }, children });
3559
3586
  Carousel.Item = CarouselItem;
3560
3587
 
3561
3588
  // src/components/PasswordInput.tsx
3562
- var import_react15 = require("react");
3563
- var import_jsx_runtime39 = require("react/jsx-runtime");
3564
- var PasswordInput = (0, import_react15.forwardRef)(
3589
+ var import_react17 = require("react");
3590
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3591
+ var ToggleButton = styled("button", {
3592
+ all: "unset",
3593
+ cursor: "pointer",
3594
+ display: "flex",
3595
+ alignItems: "center",
3596
+ justifyContent: "center",
3597
+ borderRadius: "$sm",
3598
+ padding: "2px",
3599
+ "&:focus-visible": {
3600
+ outline: "none",
3601
+ boxShadow: "0 0 0 2px $colors$ignite_light",
3602
+ borderRadius: "$sm"
3603
+ }
3604
+ });
3605
+ var PasswordInput = (0, import_react17.forwardRef)(
3565
3606
  ({ value, onChange, ...props }, ref) => {
3566
- const [visible, setVisible] = (0, import_react15.useState)(false);
3567
- const innerRef = (0, import_react15.useRef)(null);
3568
- (0, import_react15.useImperativeHandle)(ref, () => innerRef.current);
3607
+ const [visible, setVisible] = (0, import_react17.useState)(false);
3608
+ const innerRef = (0, import_react17.useRef)(null);
3609
+ (0, import_react17.useImperativeHandle)(ref, () => innerRef.current);
3569
3610
  const handleToggleVisibility = () => {
3570
3611
  setVisible((v) => !v);
3571
3612
  setTimeout(() => {
@@ -3575,7 +3616,7 @@ var PasswordInput = (0, import_react15.forwardRef)(
3575
3616
  }
3576
3617
  }, 0);
3577
3618
  };
3578
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3619
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3579
3620
  Input2,
3580
3621
  {
3581
3622
  ...props,
@@ -3583,21 +3624,14 @@ var PasswordInput = (0, import_react15.forwardRef)(
3583
3624
  type: visible ? "text" : "password",
3584
3625
  value,
3585
3626
  onChange,
3586
- suffix: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3587
- "button",
3627
+ suffix: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3628
+ ToggleButton,
3588
3629
  {
3589
3630
  type: "button",
3590
3631
  onClick: handleToggleVisibility,
3591
3632
  onMouseDown: (e) => e.preventDefault(),
3592
- style: {
3593
- all: "unset",
3594
- cursor: "pointer",
3595
- display: "flex",
3596
- alignItems: "center",
3597
- justifyContent: "center"
3598
- },
3599
3633
  "aria-label": visible ? "Ocultar senha" : "Mostrar senha",
3600
- children: visible ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { name: "EyeOpen", size: 16, color: "black" })
3634
+ children: visible ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "EyeOpen", size: 16, color: "black" })
3601
3635
  }
3602
3636
  )
3603
3637
  }
@@ -3624,15 +3658,16 @@ PasswordInput.displayName = "PasswordInput";
3624
3658
  Modal,
3625
3659
  MultiStep,
3626
3660
  OneTimePassword,
3661
+ Paragraph,
3627
3662
  PasswordInput,
3628
3663
  ProgressBar,
3629
3664
  Radio,
3630
3665
  Select,
3631
3666
  Spacing,
3632
3667
  Span,
3668
+ StyledHr,
3633
3669
  Switch,
3634
3670
  Tabs,
3635
- Text,
3636
3671
  TextArea,
3637
3672
  TextAreaElement,
3638
3673
  Toast,