@clickpalm/react 1.3.8 → 1.3.10

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
@@ -656,6 +656,29 @@ var Copy = (props) => {
656
656
  );
657
657
  };
658
658
 
659
+ // src/components/Icon/Svgs/Download.tsx
660
+ import { jsx as jsx16 } from "react/jsx-runtime";
661
+ var Download = (props) => /* @__PURE__ */ jsx16(
662
+ "svg",
663
+ {
664
+ width: "15",
665
+ height: "15",
666
+ viewBox: "0 0 15 15",
667
+ fill: "none",
668
+ xmlns: "http://www.w3.org/2000/svg",
669
+ ...props,
670
+ children: /* @__PURE__ */ jsx16(
671
+ "path",
672
+ {
673
+ d: "M7.50005 1.04999C7.74858 1.04999 7.95005 1.25146 7.95005 1.49999V8.41359L10.1819 6.18179C10.3576 6.00605 10.6425 6.00605 10.8182 6.18179C10.994 6.35753 10.994 6.64245 10.8182 6.81819L7.81825 9.81819C7.64251 9.99392 7.35759 9.99392 7.18185 9.81819L4.18185 6.81819C4.00611 6.64245 4.00611 6.35753 4.18185 6.18179C4.35759 6.00605 4.64251 6.00605 4.81825 6.18179L7.05005 8.41359V1.49999C7.05005 1.25146 7.25152 1.04999 7.50005 1.04999ZM2.5 10C2.77614 10 3 10.2239 3 10.5V12C3 12.5539 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2239 12.2239 10 12.5 10C12.7761 10 13 10.2239 13 10.5V12C13 13.1041 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2239 2.22386 10 2.5 10Z",
674
+ fill: "currentColor",
675
+ "fill-rule": "evenodd",
676
+ "clip-rule": "evenodd"
677
+ }
678
+ )
679
+ }
680
+ );
681
+
659
682
  // src/components/Icon/icons.ts
660
683
  var iconMap = {
661
684
  TriangleDown,
@@ -669,6 +692,7 @@ var iconMap = {
669
692
  Calendar,
670
693
  Closed,
671
694
  Dots,
695
+ Download,
672
696
  Filter,
673
697
  Hamburger,
674
698
  Pencil,
@@ -682,7 +706,7 @@ var iconMap = {
682
706
  };
683
707
 
684
708
  // src/components/Icon/index.tsx
685
- import { jsx as jsx16 } from "react/jsx-runtime";
709
+ import { jsx as jsx17 } from "react/jsx-runtime";
686
710
  var colorMap = {
687
711
  black: "#000000",
688
712
  green: "#78CB63",
@@ -695,7 +719,7 @@ function Icon({ name, size = 24, color = "black", ...rest }) {
695
719
  return null;
696
720
  }
697
721
  const fillColor = colorMap[color];
698
- return /* @__PURE__ */ jsx16(
722
+ return /* @__PURE__ */ jsx17(
699
723
  IconComponent,
700
724
  {
701
725
  width: size,
@@ -902,7 +926,7 @@ var StyledLabel = styled("label", {
902
926
  });
903
927
 
904
928
  // src/components/Calendar/index.tsx
905
- import { jsx as jsx17, jsxs as jsxs2 } from "react/jsx-runtime";
929
+ import { jsx as jsx18, jsxs as jsxs2 } from "react/jsx-runtime";
906
930
  calendarStyles();
907
931
  var Calendar2 = ({ label, onChange }) => {
908
932
  const [selected, setSelected] = useState(void 0);
@@ -921,8 +945,8 @@ var Calendar2 = ({ label, onChange }) => {
921
945
  }
922
946
  }, [selected]);
923
947
  return /* @__PURE__ */ jsxs2("div", { children: [
924
- /* @__PURE__ */ jsx17(StyledLabel, { children: label }),
925
- /* @__PURE__ */ jsx17(
948
+ /* @__PURE__ */ jsx18(StyledLabel, { children: label }),
949
+ /* @__PURE__ */ jsx18(
926
950
  DayPicker,
927
951
  {
928
952
  className: !open ? "calendar-root-collapsed" : "",
@@ -953,20 +977,20 @@ var Calendar2 = ({ label, onChange }) => {
953
977
  MonthCaption: ({ calendarMonth, displayIndex, ...safeprops }) => {
954
978
  const displayMonth = calendarMonth.date;
955
979
  return /* @__PURE__ */ jsxs2("div", { ...safeprops, children: [
956
- /* @__PURE__ */ jsx17("div", { children: /* @__PURE__ */ jsx17(
980
+ /* @__PURE__ */ jsx18("div", { children: /* @__PURE__ */ jsx18(
957
981
  Button,
958
982
  {
959
983
  variant: "secondary",
960
984
  size: "sm",
961
985
  onClick: () => setOpen(!open),
962
- children: /* @__PURE__ */ jsx17(StyledButton2, { isOpen: open, children: /* @__PURE__ */ jsx17(Icon, { name: "TriangleUp", size: 16 }) })
986
+ children: /* @__PURE__ */ jsx18(StyledButton2, { isOpen: open, children: /* @__PURE__ */ jsx18(Icon, { name: "TriangleUp", size: 16 }) })
963
987
  }
964
988
  ) }),
965
- /* @__PURE__ */ jsx17("div", { className: "calendar-month_caption", children: /* @__PURE__ */ jsx17("div", { className: "calendar-caption_label", role: "heading", "aria-level": 2, children: format(displayMonth, "MMMM 'de' yyyy", { locale: ptBR }).replace(/^./, (c) => c.toUpperCase()) }) })
989
+ /* @__PURE__ */ jsx18("div", { className: "calendar-month_caption", children: /* @__PURE__ */ jsx18("div", { className: "calendar-caption_label", role: "heading", "aria-level": 2, children: format(displayMonth, "MMMM 'de' yyyy", { locale: ptBR }).replace(/^./, (c) => c.toUpperCase()) }) })
966
990
  ] });
967
991
  },
968
- PreviousMonthButton: (props) => /* @__PURE__ */ jsx17(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx17(Icon, { name: "TriangleLeft", size: 16 }) }),
969
- NextMonthButton: (props) => /* @__PURE__ */ jsx17(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx17(Icon, { name: "TriangleRight", size: 16 }) })
992
+ PreviousMonthButton: (props) => /* @__PURE__ */ jsx18(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx18(Icon, { name: "TriangleLeft", size: 16 }) }),
993
+ NextMonthButton: (props) => /* @__PURE__ */ jsx18(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx18(Icon, { name: "TriangleRight", size: 16 }) })
970
994
  }
971
995
  }
972
996
  )
@@ -1090,12 +1114,12 @@ var Span = styled("span", {
1090
1114
  });
1091
1115
 
1092
1116
  // src/components/Checkbox/index.tsx
1093
- import { jsx as jsx18, jsxs as jsxs3 } from "react/jsx-runtime";
1117
+ import { jsx as jsx19, jsxs as jsxs3 } from "react/jsx-runtime";
1094
1118
  var Checkbox2 = forwardRef2(
1095
1119
  ({ label, checked, onCheckedChange, errorMessage, ...rest }, ref) => {
1096
1120
  return /* @__PURE__ */ jsxs3("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1097
1121
  /* @__PURE__ */ jsxs3(StyledWrapper, { hasError: !!errorMessage, children: [
1098
- /* @__PURE__ */ jsx18(
1122
+ /* @__PURE__ */ jsx19(
1099
1123
  CheckboxContainer,
1100
1124
  {
1101
1125
  ref,
@@ -1103,12 +1127,12 @@ var Checkbox2 = forwardRef2(
1103
1127
  onCheckedChange,
1104
1128
  hasError: !!errorMessage,
1105
1129
  ...rest,
1106
- children: /* @__PURE__ */ jsx18(CheckboxIndicator, { children: /* @__PURE__ */ jsx18(Icon, { name: "Check", size: 16, color: "white" }) })
1130
+ children: /* @__PURE__ */ jsx19(CheckboxIndicator, { children: /* @__PURE__ */ jsx19(Icon, { name: "Check", size: 16, color: "white" }) })
1107
1131
  }
1108
1132
  ),
1109
- /* @__PURE__ */ jsx18(CheckboxLabel, { children: label })
1133
+ /* @__PURE__ */ jsx19(CheckboxLabel, { children: label })
1110
1134
  ] }),
1111
- errorMessage && /* @__PURE__ */ jsx18(Span, { children: errorMessage })
1135
+ errorMessage && /* @__PURE__ */ jsx19(Span, { children: errorMessage })
1112
1136
  ] });
1113
1137
  }
1114
1138
  );
@@ -1260,7 +1284,7 @@ var CharCounter = styled(Span2, {
1260
1284
  });
1261
1285
 
1262
1286
  // src/components/Input/index.tsx
1263
- import { jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
1287
+ import { jsx as jsx20, jsxs as jsxs4 } from "react/jsx-runtime";
1264
1288
  var Input2 = forwardRef3(
1265
1289
  ({ prefix, suffix, label, maxLength, showCounter = false, errorMessage, noMargin = false, redBorder, ...props }, forwardedRef) => {
1266
1290
  const getDisplayValue = (value) => {
@@ -1307,7 +1331,7 @@ var Input2 = forwardRef3(
1307
1331
  return type?.displayName === "Button";
1308
1332
  };
1309
1333
  return /* @__PURE__ */ jsxs4(StyledWrapper2, { children: [
1310
- label && /* @__PURE__ */ jsx19(Label, { children: label }),
1334
+ label && /* @__PURE__ */ jsx20(Label, { children: label }),
1311
1335
  /* @__PURE__ */ jsxs4(
1312
1336
  TextInputContainer,
1313
1337
  {
@@ -1318,8 +1342,8 @@ var Input2 = forwardRef3(
1318
1342
  onClick: handleContainerClick,
1319
1343
  redBorder,
1320
1344
  children: [
1321
- !!prefix && /* @__PURE__ */ jsx19(Prefix, { children: prefix }),
1322
- /* @__PURE__ */ jsx19(
1345
+ !!prefix && /* @__PURE__ */ jsx20(Prefix, { children: prefix }),
1346
+ /* @__PURE__ */ jsx20(
1323
1347
  Input,
1324
1348
  {
1325
1349
  ref: inputRef,
@@ -1331,12 +1355,12 @@ var Input2 = forwardRef3(
1331
1355
  onChange: handleChange
1332
1356
  }
1333
1357
  ),
1334
- !!suffix && /* @__PURE__ */ jsx19(Suffix, { children: suffix })
1358
+ !!suffix && /* @__PURE__ */ jsx20(Suffix, { children: suffix })
1335
1359
  ]
1336
1360
  }
1337
1361
  ),
1338
1362
  /* @__PURE__ */ jsxs4(Footer, { children: [
1339
- errorMessage && /* @__PURE__ */ jsx19(Span2, { children: errorMessage }),
1363
+ errorMessage && /* @__PURE__ */ jsx20(Span2, { children: errorMessage }),
1340
1364
  showCounter && maxLength && /* @__PURE__ */ jsxs4(CharCounter, { hasReachedMax: maxLength ? charCount >= maxLength : false, children: [
1341
1365
  charCount,
1342
1366
  "/",
@@ -1477,7 +1501,7 @@ var SelectContainer = styled("div", {
1477
1501
  });
1478
1502
 
1479
1503
  // src/components/Datepicker/CustomSelect/index.tsx
1480
- import { jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
1504
+ import { jsx as jsx21, jsxs as jsxs5 } from "react/jsx-runtime";
1481
1505
  var CustomSelect = ({
1482
1506
  options = [],
1483
1507
  value,
@@ -1509,9 +1533,9 @@ var CustomSelect = ({
1509
1533
  return /* @__PURE__ */ jsxs5(SelectContainer, { color, isOpen, ref: selectRef, children: [
1510
1534
  /* @__PURE__ */ jsxs5(SelectValueButton, { onClick: handleToggle, children: [
1511
1535
  selectedLabel,
1512
- /* @__PURE__ */ jsx20(IconWrapper, { children: /* @__PURE__ */ jsx20(Icon, { name: "TriangleDown", size: 16 }) })
1536
+ /* @__PURE__ */ jsx21(IconWrapper, { children: /* @__PURE__ */ jsx21(Icon, { name: "TriangleDown", size: 16 }) })
1513
1537
  ] }),
1514
- isOpen && /* @__PURE__ */ jsx20(SelectOptionsList, { onMouseDown: (e) => e.preventDefault(), children: options.map((option) => /* @__PURE__ */ jsx20(
1538
+ isOpen && /* @__PURE__ */ jsx21(SelectOptionsList, { onMouseDown: (e) => e.preventDefault(), children: options.map((option) => /* @__PURE__ */ jsx21(
1515
1539
  SelectOptionItem,
1516
1540
  {
1517
1541
  selected: option.value === value,
@@ -1525,7 +1549,7 @@ var CustomSelect = ({
1525
1549
  };
1526
1550
 
1527
1551
  // src/components/Datepicker/DatePickerSelectAdapter.tsx
1528
- import { jsx as jsx21 } from "react/jsx-runtime";
1552
+ import { jsx as jsx22 } from "react/jsx-runtime";
1529
1553
  function DatePickerSelectAdapter(props) {
1530
1554
  const { options, value, onChange } = props;
1531
1555
  const handleValueChange = (newValue) => {
@@ -1548,7 +1572,7 @@ function DatePickerSelectAdapter(props) {
1548
1572
  if (isYearDropdown) {
1549
1573
  selectOptions.reverse();
1550
1574
  }
1551
- return /* @__PURE__ */ jsx21(
1575
+ return /* @__PURE__ */ jsx22(
1552
1576
  CustomSelect,
1553
1577
  {
1554
1578
  color: "black",
@@ -1651,7 +1675,7 @@ var datePickerStyles = globalCss({
1651
1675
  });
1652
1676
 
1653
1677
  // src/components/Datepicker/index.tsx
1654
- import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
1678
+ import { jsx as jsx23, jsxs as jsxs6 } from "react/jsx-runtime";
1655
1679
  datePickerStyles();
1656
1680
  var oneYearMore = new Date((/* @__PURE__ */ new Date()).getFullYear() + 1, 11);
1657
1681
  var Datepicker = forwardRef4(({ label, placeholder, value, onChange, errorMessage, endDate = oneYearMore }, ref) => {
@@ -1685,7 +1709,7 @@ var Datepicker = forwardRef4(({ label, placeholder, value, onChange, errorMessag
1685
1709
  }, [open, selected]);
1686
1710
  const isOpenWithError = open && errorMessage ? true : false;
1687
1711
  return /* @__PURE__ */ jsxs6("div", { children: [
1688
- /* @__PURE__ */ jsx22(
1712
+ /* @__PURE__ */ jsx23(
1689
1713
  Input2,
1690
1714
  {
1691
1715
  ref: inputRef,
@@ -1694,13 +1718,13 @@ var Datepicker = forwardRef4(({ label, placeholder, value, onChange, errorMessag
1694
1718
  onFocus: () => setOpen(true),
1695
1719
  value: value || "",
1696
1720
  readOnly: true,
1697
- suffix: /* @__PURE__ */ jsx22(Icon, { name: "Calendar", size: 16 }),
1721
+ suffix: /* @__PURE__ */ jsx23(Icon, { name: "Calendar", size: 16 }),
1698
1722
  noMargin: true,
1699
1723
  errorMessage: open ? "" : errorMessage,
1700
1724
  redBorder: isOpenWithError
1701
1725
  }
1702
1726
  ),
1703
- open && /* @__PURE__ */ jsx22(
1727
+ open && /* @__PURE__ */ jsx23(
1704
1728
  "div",
1705
1729
  {
1706
1730
  ref: calendarRef,
@@ -1712,7 +1736,7 @@ var Datepicker = forwardRef4(({ label, placeholder, value, onChange, errorMessag
1712
1736
  boxShadow: "0 2px 8px rgba(0,0,0,0.15)",
1713
1737
  borderRadius: "8px"
1714
1738
  },
1715
- children: /* @__PURE__ */ jsx22(
1739
+ children: /* @__PURE__ */ jsx23(
1716
1740
  DayPicker2,
1717
1741
  {
1718
1742
  mode: "single",
@@ -1726,8 +1750,8 @@ var Datepicker = forwardRef4(({ label, placeholder, value, onChange, errorMessag
1726
1750
  startMonth: new Date(1915, 0),
1727
1751
  endMonth: endDate,
1728
1752
  components: {
1729
- PreviousMonthButton: (props) => /* @__PURE__ */ jsx22(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx22(Icon, { name: "TriangleLeft", size: 16 }) }),
1730
- NextMonthButton: (props) => /* @__PURE__ */ jsx22(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx22(Icon, { name: "TriangleRight", size: 16 }) }),
1753
+ PreviousMonthButton: (props) => /* @__PURE__ */ jsx23(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx23(Icon, { name: "TriangleLeft", size: 16 }) }),
1754
+ NextMonthButton: (props) => /* @__PURE__ */ jsx23(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx23(Icon, { name: "TriangleRight", size: 16 }) }),
1731
1755
  Dropdown: DatePickerSelectAdapter
1732
1756
  }
1733
1757
  }
@@ -1740,7 +1764,7 @@ Datepicker.displayName = "Datepicker";
1740
1764
 
1741
1765
  // src/components/Hr.tsx
1742
1766
  import { forwardRef as forwardRef5 } from "react";
1743
- import { jsx as jsx23 } from "react/jsx-runtime";
1767
+ import { jsx as jsx24 } from "react/jsx-runtime";
1744
1768
  var StyledHr = styled("hr", {
1745
1769
  border: "none",
1746
1770
  height: "1px",
@@ -1757,7 +1781,7 @@ var StyledHr = styled("hr", {
1757
1781
  }
1758
1782
  });
1759
1783
  var Hr = forwardRef5(function Hr2({ children, ...props }, ref) {
1760
- return /* @__PURE__ */ jsx23(StyledHr, { ref, ...props, children });
1784
+ return /* @__PURE__ */ jsx24(StyledHr, { ref, ...props, children });
1761
1785
  });
1762
1786
  Hr.displayName = "Hr";
1763
1787
 
@@ -1834,19 +1858,19 @@ var StyledChildren = styled("div", {
1834
1858
  });
1835
1859
 
1836
1860
  // src/components/Modal/index.tsx
1837
- import { jsx as jsx24, jsxs as jsxs7 } from "react/jsx-runtime";
1861
+ import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
1838
1862
  var Modal = ({ open, onOpenChange, title, description, children }) => {
1839
- return /* @__PURE__ */ jsx24(Dialog2.Root, { open, onOpenChange, modal: true, children: /* @__PURE__ */ jsxs7(Dialog2.Portal, { children: [
1840
- /* @__PURE__ */ jsx24(StyledOverlay, {}),
1863
+ return /* @__PURE__ */ jsx25(Dialog2.Root, { open, onOpenChange, modal: true, children: /* @__PURE__ */ jsxs7(Dialog2.Portal, { children: [
1864
+ /* @__PURE__ */ jsx25(StyledOverlay, {}),
1841
1865
  /* @__PURE__ */ jsxs7(StyledContent, { children: [
1842
1866
  /* @__PURE__ */ jsxs7(Wrapper, { children: [
1843
- /* @__PURE__ */ jsx24(StyledTitle, { children: title }),
1844
- /* @__PURE__ */ jsx24(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx24(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx24(Icon, { name: "Closed", size: 8 }) }) })
1867
+ /* @__PURE__ */ jsx25(StyledTitle, { children: title }),
1868
+ /* @__PURE__ */ jsx25(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx25(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx25(Icon, { name: "Closed", size: 8 }) }) })
1845
1869
  ] }),
1846
- /* @__PURE__ */ jsx24(StyledDivider, {}),
1870
+ /* @__PURE__ */ jsx25(StyledDivider, {}),
1847
1871
  /* @__PURE__ */ jsxs7("div", { children: [
1848
- description && /* @__PURE__ */ jsx24(StyledDescription, { children: description }),
1849
- /* @__PURE__ */ jsx24(StyledChildren, { children })
1872
+ description && /* @__PURE__ */ jsx25(StyledDescription, { children: description }),
1873
+ /* @__PURE__ */ jsx25(StyledChildren, { children })
1850
1874
  ] })
1851
1875
  ] })
1852
1876
  ] }) });
@@ -1883,7 +1907,7 @@ var StyledIndicator = styled(Progress.Indicator, {
1883
1907
  });
1884
1908
 
1885
1909
  // src/components/ProgressBar/index.tsx
1886
- import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
1910
+ import { jsx as jsx26, jsxs as jsxs8 } from "react/jsx-runtime";
1887
1911
  var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1888
1912
  const [progress2, setProgress] = useState5(0);
1889
1913
  useEffect5(() => {
@@ -1892,14 +1916,14 @@ var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1892
1916
  }, [value]);
1893
1917
  const valueLabel = `${Math.round(progress2 / max * 100)}%`;
1894
1918
  return /* @__PURE__ */ jsxs8(StyledWrapper3, { children: [
1895
- /* @__PURE__ */ jsx25("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1896
- /* @__PURE__ */ jsx25(
1919
+ /* @__PURE__ */ jsx26("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1920
+ /* @__PURE__ */ jsx26(
1897
1921
  StyledRoot,
1898
1922
  {
1899
1923
  value: progress2,
1900
1924
  "aria-valuetext": valueLabel,
1901
1925
  ...rest,
1902
- children: /* @__PURE__ */ jsx25(
1926
+ children: /* @__PURE__ */ jsx26(
1903
1927
  StyledIndicator,
1904
1928
  {
1905
1929
  style: { transform: `translateX(-${100 - progress2}%)` }
@@ -2006,7 +2030,7 @@ var Span3 = styled("span", {
2006
2030
  });
2007
2031
 
2008
2032
  // src/components/Radio/index.tsx
2009
- import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
2033
+ import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
2010
2034
  var Radio = forwardRef6(({
2011
2035
  labels,
2012
2036
  value,
@@ -2016,7 +2040,7 @@ var Radio = forwardRef6(({
2016
2040
  errorMessage
2017
2041
  }, ref) => {
2018
2042
  return /* @__PURE__ */ jsxs9("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
2019
- /* @__PURE__ */ jsx26(
2043
+ /* @__PURE__ */ jsx27(
2020
2044
  StyledRoot2,
2021
2045
  {
2022
2046
  ref,
@@ -2027,27 +2051,27 @@ var Radio = forwardRef6(({
2027
2051
  required,
2028
2052
  loop: true,
2029
2053
  children: labels.map((label, index) => /* @__PURE__ */ jsxs9(Wrapper2, { children: [
2030
- /* @__PURE__ */ jsx26(
2054
+ /* @__PURE__ */ jsx27(
2031
2055
  StyledItem,
2032
2056
  {
2033
2057
  value: label,
2034
2058
  id: `radio-${index}`,
2035
2059
  "aria-label": label,
2036
2060
  hasError: !!errorMessage,
2037
- children: /* @__PURE__ */ jsx26(StyledIndicator2, {})
2061
+ children: /* @__PURE__ */ jsx27(StyledIndicator2, {})
2038
2062
  }
2039
2063
  ),
2040
- /* @__PURE__ */ jsx26(ItemLabel, { htmlFor: `radio-${index}`, children: label })
2064
+ /* @__PURE__ */ jsx27(ItemLabel, { htmlFor: `radio-${index}`, children: label })
2041
2065
  ] }, label))
2042
2066
  }
2043
2067
  ),
2044
- errorMessage && /* @__PURE__ */ jsx26(Span3, { children: errorMessage })
2068
+ errorMessage && /* @__PURE__ */ jsx27(Span3, { children: errorMessage })
2045
2069
  ] });
2046
2070
  });
2047
2071
  Radio.displayName = "Radio";
2048
2072
 
2049
2073
  // src/components/Spacing.tsx
2050
- import { jsx as jsx27 } from "react/jsx-runtime";
2074
+ import { jsx as jsx28 } from "react/jsx-runtime";
2051
2075
  var spacingMap = {
2052
2076
  xs: 8,
2053
2077
  sm: 12,
@@ -2059,7 +2083,7 @@ var spacingMap = {
2059
2083
  };
2060
2084
  var Spacing = ({ size, axis = "vertical" }) => {
2061
2085
  const style = axis === "vertical" ? { height: spacingMap[size], width: "100%" } : { width: spacingMap[size], height: "100%" };
2062
- return /* @__PURE__ */ jsx27("div", { style, "data-testid": `spacing-${size}-${axis}` });
2086
+ return /* @__PURE__ */ jsx28("div", { style, "data-testid": `spacing-${size}-${axis}` });
2063
2087
  };
2064
2088
 
2065
2089
  // src/components/Switch/index.tsx
@@ -2160,7 +2184,7 @@ var Span4 = styled("span", {
2160
2184
  });
2161
2185
 
2162
2186
  // src/components/Switch/index.tsx
2163
- import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
2187
+ import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
2164
2188
  var Switch2 = forwardRef7(({
2165
2189
  label,
2166
2190
  checked,
@@ -2173,7 +2197,7 @@ var Switch2 = forwardRef7(({
2173
2197
  }, ref) => {
2174
2198
  return /* @__PURE__ */ jsxs10("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
2175
2199
  /* @__PURE__ */ jsxs10(Wrapper3, { hasError: !!errorMessage, children: [
2176
- /* @__PURE__ */ jsx28(
2200
+ /* @__PURE__ */ jsx29(
2177
2201
  StyledRoot3,
2178
2202
  {
2179
2203
  ref,
@@ -2184,12 +2208,12 @@ var Switch2 = forwardRef7(({
2184
2208
  hasError: !!errorMessage,
2185
2209
  disabled,
2186
2210
  required,
2187
- children: /* @__PURE__ */ jsx28(StyledThumb, {})
2211
+ children: /* @__PURE__ */ jsx29(StyledThumb, {})
2188
2212
  }
2189
2213
  ),
2190
- label && /* @__PURE__ */ jsx28(Label2, { htmlFor: id, children: label })
2214
+ label && /* @__PURE__ */ jsx29(Label2, { htmlFor: id, children: label })
2191
2215
  ] }),
2192
- errorMessage && /* @__PURE__ */ jsx28(Span4, { children: errorMessage })
2216
+ errorMessage && /* @__PURE__ */ jsx29(Span4, { children: errorMessage })
2193
2217
  ] });
2194
2218
  });
2195
2219
  Switch2.displayName = "Switch";
@@ -2249,7 +2273,6 @@ var TabsTrigger = styled(Tabs.Trigger, {
2249
2273
  whiteSpace: "nowrap",
2250
2274
  textOverflow: "ellipsis",
2251
2275
  overflow: "hidden",
2252
- userSelect: "none",
2253
2276
  background: "$gray100",
2254
2277
  backgroundImage: "linear-gradient(to bottom, $clickpalm_mid, $clickpalm_superDark)",
2255
2278
  WebkitBackgroundClip: "text",
@@ -2276,9 +2299,9 @@ var TabsContent = styled(Tabs.Content, {
2276
2299
  });
2277
2300
 
2278
2301
  // src/components/Tabs/index.tsx
2279
- import { Fragment, jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
2302
+ import { Fragment, jsx as jsx30, jsxs as jsxs11 } from "react/jsx-runtime";
2280
2303
  var TabsItem = ({ children }) => {
2281
- return /* @__PURE__ */ jsx29(Fragment, { children });
2304
+ return /* @__PURE__ */ jsx30(Fragment, { children });
2282
2305
  };
2283
2306
  var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) => {
2284
2307
  const items = [];
@@ -2337,21 +2360,21 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2337
2360
  onValueChange,
2338
2361
  children: [
2339
2362
  /* @__PURE__ */ jsxs11("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2340
- hasOverflow && /* @__PURE__ */ jsx29(
2363
+ hasOverflow && /* @__PURE__ */ jsx30(
2341
2364
  Button,
2342
2365
  {
2343
2366
  variant: "secondary",
2344
2367
  size: "sm",
2345
2368
  onClick: () => scroll("left"),
2346
- children: /* @__PURE__ */ jsx29(Icon, { name: "TriangleLeft", size: 64 })
2369
+ children: /* @__PURE__ */ jsx30(Icon, { name: "TriangleLeft", size: 64 })
2347
2370
  }
2348
2371
  ),
2349
- /* @__PURE__ */ jsx29(
2372
+ /* @__PURE__ */ jsx30(
2350
2373
  TabsList,
2351
2374
  {
2352
2375
  ref: listRef,
2353
2376
  scrollable: hasOverflow,
2354
- children: items.map((item) => /* @__PURE__ */ jsx29(
2377
+ children: items.map((item) => /* @__PURE__ */ jsx30(
2355
2378
  TabsTrigger,
2356
2379
  {
2357
2380
  value: item.value,
@@ -2362,17 +2385,17 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2362
2385
  ))
2363
2386
  }
2364
2387
  ),
2365
- hasOverflow && /* @__PURE__ */ jsx29(
2388
+ hasOverflow && /* @__PURE__ */ jsx30(
2366
2389
  Button,
2367
2390
  {
2368
2391
  variant: "secondary",
2369
2392
  size: "sm",
2370
2393
  onClick: () => scroll("right"),
2371
- children: /* @__PURE__ */ jsx29(Icon, { name: "TriangleRight", size: 64 })
2394
+ children: /* @__PURE__ */ jsx30(Icon, { name: "TriangleRight", size: 64 })
2372
2395
  }
2373
2396
  )
2374
2397
  ] }),
2375
- items.map((item) => /* @__PURE__ */ jsx29(
2398
+ items.map((item) => /* @__PURE__ */ jsx30(
2376
2399
  TabsContent,
2377
2400
  {
2378
2401
  colorContent,
@@ -2390,7 +2413,7 @@ Tabs2.Item = TabsItem;
2390
2413
 
2391
2414
  // src/components/TextArea.tsx
2392
2415
  import { forwardRef as forwardRef8, useEffect as useEffect6, useState as useState7 } from "react";
2393
- import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
2416
+ import { jsx as jsx31, jsxs as jsxs12 } from "react/jsx-runtime";
2394
2417
  var Wrapper4 = styled("div", {
2395
2418
  display: "flex",
2396
2419
  flexDirection: "column"
@@ -2504,8 +2527,8 @@ var TextArea = forwardRef8(
2504
2527
  setCharCount(props.value?.toString().length || 0);
2505
2528
  }, [props.value]);
2506
2529
  return /* @__PURE__ */ jsxs12(Wrapper4, { children: [
2507
- label && /* @__PURE__ */ jsx30(StyledLabel2, { htmlFor: textAreaId, children: label }),
2508
- /* @__PURE__ */ jsx30(
2530
+ label && /* @__PURE__ */ jsx31(StyledLabel2, { htmlFor: textAreaId, children: label }),
2531
+ /* @__PURE__ */ jsx31(
2509
2532
  TextAreaElement,
2510
2533
  {
2511
2534
  id: textAreaId,
@@ -2523,7 +2546,7 @@ var TextArea = forwardRef8(
2523
2546
  }
2524
2547
  ),
2525
2548
  /* @__PURE__ */ jsxs12(Footer2, { children: [
2526
- errorMessage && /* @__PURE__ */ jsx30(Span5, { children: errorMessage }),
2549
+ errorMessage && /* @__PURE__ */ jsx31(Span5, { children: errorMessage }),
2527
2550
  showCounter && maxLength && /* @__PURE__ */ jsxs12(CharCounter2, { hasReachedMax: maxLength ? charCount >= maxLength : false, children: [
2528
2551
  charCount,
2529
2552
  "/",
@@ -2587,7 +2610,7 @@ var TooltipArrow = styled(RadixTooltip.Arrow, {
2587
2610
 
2588
2611
  // src/components/Tooltip/index.tsx
2589
2612
  import { useState as useState8, useEffect as useEffect7 } from "react";
2590
- import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
2613
+ import { jsx as jsx32, jsxs as jsxs13 } from "react/jsx-runtime";
2591
2614
  var Tooltip = ({
2592
2615
  content,
2593
2616
  children,
@@ -2610,11 +2633,11 @@ var Tooltip = ({
2610
2633
  setOpen(!open);
2611
2634
  }
2612
2635
  };
2613
- return /* @__PURE__ */ jsx31(RadixTooltip2.Provider, { children: /* @__PURE__ */ jsxs13(RadixTooltip2.Root, { open, onOpenChange: setOpen, delayDuration, children: [
2614
- /* @__PURE__ */ jsx31(TooltipTrigger, { asChild: true, onClick: handleClick, children }),
2636
+ return /* @__PURE__ */ jsx32(RadixTooltip2.Provider, { children: /* @__PURE__ */ jsxs13(RadixTooltip2.Root, { open, onOpenChange: setOpen, delayDuration, children: [
2637
+ /* @__PURE__ */ jsx32(TooltipTrigger, { asChild: true, onClick: handleClick, children }),
2615
2638
  /* @__PURE__ */ jsxs13(TooltipContent, { side, sideOffset, children: [
2616
2639
  content,
2617
- /* @__PURE__ */ jsx31(TooltipArrow, {})
2640
+ /* @__PURE__ */ jsx32(TooltipArrow, {})
2618
2641
  ] })
2619
2642
  ] }) });
2620
2643
  };
@@ -2698,9 +2721,9 @@ var Spinner = styled("span", {
2698
2721
  });
2699
2722
 
2700
2723
  // src/components/Loader/index.tsx
2701
- import { jsx as jsx32 } from "react/jsx-runtime";
2724
+ import { jsx as jsx33 } from "react/jsx-runtime";
2702
2725
  var Loader = ({ show, fullscreen = false }) => {
2703
- return /* @__PURE__ */ jsx32(Overlay2, { show, fullscreen, children: /* @__PURE__ */ jsx32(SpinnerContainer, { children: /* @__PURE__ */ jsx32(Spinner, {}) }) });
2726
+ return /* @__PURE__ */ jsx33(Overlay2, { show, fullscreen, children: /* @__PURE__ */ jsx33(SpinnerContainer, { children: /* @__PURE__ */ jsx33(Spinner, {}) }) });
2704
2727
  };
2705
2728
  Loader.displayName = "Loader";
2706
2729
 
@@ -2769,7 +2792,7 @@ var applyMask = (value, maskType) => {
2769
2792
  };
2770
2793
 
2771
2794
  // src/components/MaskedInput/index.tsx
2772
- import { jsx as jsx33 } from "react/jsx-runtime";
2795
+ import { jsx as jsx34 } from "react/jsx-runtime";
2773
2796
  var MaskedInput = forwardRef9(
2774
2797
  ({ maskType, onChange, ...props }, ref) => {
2775
2798
  const [value, setValue] = useState9("");
@@ -2806,7 +2829,7 @@ var MaskedInput = forwardRef9(
2806
2829
  onChange(syntheticEvent);
2807
2830
  }
2808
2831
  };
2809
- return /* @__PURE__ */ jsx33(
2832
+ return /* @__PURE__ */ jsx34(
2810
2833
  Input2,
2811
2834
  {
2812
2835
  ...props,
@@ -2907,27 +2930,27 @@ var IconButton = styled("button", {
2907
2930
  });
2908
2931
 
2909
2932
  // src/components/Dropdown/index.tsx
2910
- import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
2933
+ import { jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
2911
2934
  var Dropdown = ({ children }) => {
2912
2935
  const childrenArray = Children2.toArray(children);
2913
2936
  return /* @__PURE__ */ jsxs14(DropdownMenu2.Root, { modal: false, children: [
2914
- /* @__PURE__ */ jsx34(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx34(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx34(Icon, { name: "Dots", size: 16 }) }) }),
2915
- /* @__PURE__ */ jsx34(DropdownMenu2.Portal, { children: /* @__PURE__ */ jsx34(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs14(Fragment2, { children: [
2937
+ /* @__PURE__ */ jsx35(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx35(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx35(Icon, { name: "Dots", size: 16 }) }) }),
2938
+ /* @__PURE__ */ jsx35(DropdownMenu2.Portal, { children: /* @__PURE__ */ jsx35(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs14(Fragment2, { children: [
2916
2939
  child,
2917
- index < childrenArray.length - 1 && /* @__PURE__ */ jsx34(DropdownSeparator, {})
2940
+ index < childrenArray.length - 1 && /* @__PURE__ */ jsx35(DropdownSeparator, {})
2918
2941
  ] }, index)) }) })
2919
2942
  ] });
2920
2943
  };
2921
2944
  var DropdownSeparator = StyledSeparator;
2922
2945
  var DropdownItem = React3.forwardRef(({ children, ...props }, forwardedRef) => {
2923
- return /* @__PURE__ */ jsx34(StyledItem2, { ...props, ref: forwardedRef, children });
2946
+ return /* @__PURE__ */ jsx35(StyledItem2, { ...props, ref: forwardedRef, children });
2924
2947
  });
2925
2948
  Dropdown.displayName = "Dropdown";
2926
2949
  DropdownItem.displayName = "DropdownItem";
2927
2950
  DropdownSeparator.displayName = "DropdownSeparator";
2928
2951
 
2929
2952
  // src/components/Box.tsx
2930
- import { jsx as jsx35 } from "react/jsx-runtime";
2953
+ import { jsx as jsx36 } from "react/jsx-runtime";
2931
2954
  var StyledBox = styled("div", {
2932
2955
  padding: "$5",
2933
2956
  borderRadius: "$md",
@@ -2949,12 +2972,12 @@ var StyledBox = styled("div", {
2949
2972
  }
2950
2973
  });
2951
2974
  var Box = (props) => {
2952
- return /* @__PURE__ */ jsx35(StyledBox, { ...props });
2975
+ return /* @__PURE__ */ jsx36(StyledBox, { ...props });
2953
2976
  };
2954
2977
  Box.displayName = "Box";
2955
2978
 
2956
2979
  // src/components/Paragraph.tsx
2957
- import { jsx as jsx36 } from "react/jsx-runtime";
2980
+ import { jsx as jsx37 } from "react/jsx-runtime";
2958
2981
  var StyledParagraph = styled("p", {
2959
2982
  fontFamily: "$default",
2960
2983
  lineHeight: "$short",
@@ -2996,13 +3019,13 @@ var StyledParagraph = styled("p", {
2996
3019
  }
2997
3020
  });
2998
3021
  var Paragraph = (props) => {
2999
- return /* @__PURE__ */ jsx36(StyledParagraph, { ...props });
3022
+ return /* @__PURE__ */ jsx37(StyledParagraph, { ...props });
3000
3023
  };
3001
3024
  Paragraph.displayName = "Paragraph";
3002
3025
 
3003
3026
  // src/components/Heading.tsx
3004
3027
  import { forwardRef as forwardRef10 } from "react";
3005
- import { jsx as jsx37 } from "react/jsx-runtime";
3028
+ import { jsx as jsx38 } from "react/jsx-runtime";
3006
3029
  var StyledHeading = styled("h2", {
3007
3030
  fontFamily: "$default",
3008
3031
  lineHeight: "$shorter",
@@ -3035,7 +3058,7 @@ var StyledHeading = styled("h2", {
3035
3058
  });
3036
3059
  var Heading = forwardRef10(
3037
3060
  function Heading2({ children, bold = false, ...props }, ref) {
3038
- return /* @__PURE__ */ jsx37(StyledHeading, { ref, bold, ...props, children });
3061
+ return /* @__PURE__ */ jsx38(StyledHeading, { ref, bold, ...props, children });
3039
3062
  }
3040
3063
  );
3041
3064
  Heading.displayName = "Heading";
@@ -3175,7 +3198,7 @@ var Span6 = styled("span", {
3175
3198
  });
3176
3199
 
3177
3200
  // src/components/Select/index.tsx
3178
- import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
3201
+ import { jsx as jsx39, jsxs as jsxs15 } from "react/jsx-runtime";
3179
3202
  var Select2 = forwardRef11(
3180
3203
  ({
3181
3204
  value,
@@ -3191,7 +3214,7 @@ var Select2 = forwardRef11(
3191
3214
  }, ref) => {
3192
3215
  const [open, setOpen] = useState10(false);
3193
3216
  return /* @__PURE__ */ jsxs15(StyledWrapper4, { css: css2, className, style, children: [
3194
- label && /* @__PURE__ */ jsx38(Label3, { children: label }),
3217
+ label && /* @__PURE__ */ jsx39(Label3, { children: label }),
3195
3218
  /* @__PURE__ */ jsxs15(
3196
3219
  CustomSelect2.Root,
3197
3220
  {
@@ -3201,14 +3224,14 @@ var Select2 = forwardRef11(
3201
3224
  ...rest,
3202
3225
  children: [
3203
3226
  /* @__PURE__ */ jsxs15(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, ref, children: [
3204
- /* @__PURE__ */ jsx38(CustomSelect2.Value, { placeholder }),
3205
- /* @__PURE__ */ jsx38(StyledIcon, { open, children: /* @__PURE__ */ jsx38(TriangleDownIcon, {}) })
3227
+ /* @__PURE__ */ jsx39(CustomSelect2.Value, { placeholder }),
3228
+ /* @__PURE__ */ jsx39(StyledIcon, { open, children: /* @__PURE__ */ jsx39(TriangleDownIcon, {}) })
3206
3229
  ] }),
3207
- errorMessage && /* @__PURE__ */ jsx38(Span6, { children: errorMessage }),
3208
- /* @__PURE__ */ jsx38(CustomSelect2.Portal, { children: /* @__PURE__ */ jsxs15(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
3209
- /* @__PURE__ */ jsx38(CustomSelect2.ScrollUpButton, { children: /* @__PURE__ */ jsx38(TriangleUpIcon, {}) }),
3210
- /* @__PURE__ */ jsx38(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx38(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx38(StyledItemText, { children: item.label }) }, item.value)) }),
3211
- /* @__PURE__ */ jsx38(CustomSelect2.ScrollDownButton, { children: /* @__PURE__ */ jsx38(TriangleDownIcon, {}) })
3230
+ errorMessage && /* @__PURE__ */ jsx39(Span6, { children: errorMessage }),
3231
+ /* @__PURE__ */ jsx39(CustomSelect2.Portal, { children: /* @__PURE__ */ jsxs15(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
3232
+ /* @__PURE__ */ jsx39(CustomSelect2.ScrollUpButton, { children: /* @__PURE__ */ jsx39(TriangleUpIcon, {}) }),
3233
+ /* @__PURE__ */ jsx39(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx39(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx39(StyledItemText, { children: item.label }) }, item.value)) }),
3234
+ /* @__PURE__ */ jsx39(CustomSelect2.ScrollDownButton, { children: /* @__PURE__ */ jsx39(TriangleDownIcon, {}) })
3212
3235
  ] }) })
3213
3236
  ]
3214
3237
  }
@@ -3292,9 +3315,9 @@ var Value2 = styled("div", {
3292
3315
  });
3293
3316
 
3294
3317
  // src/components/LabelledValue/index.tsx
3295
- import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
3318
+ import { jsx as jsx40, jsxs as jsxs16 } from "react/jsx-runtime";
3296
3319
  function LabelledValue({ position = "vertical", withRow = false, children }) {
3297
- return /* @__PURE__ */ jsx39(Container, { position, children: Children3.map(children, (child) => {
3320
+ return /* @__PURE__ */ jsx40(Container, { position, children: Children3.map(children, (child) => {
3298
3321
  if (isValidElement2(child)) {
3299
3322
  return cloneElement(child, { position, withRow });
3300
3323
  }
@@ -3303,8 +3326,8 @@ function LabelledValue({ position = "vertical", withRow = false, children }) {
3303
3326
  }
3304
3327
  function Item4({ label, value, position = "vertical", withRow = false }) {
3305
3328
  return /* @__PURE__ */ jsxs16(ItemWrapper, { position, withRow, children: [
3306
- /* @__PURE__ */ jsx39(Label4, { children: label }),
3307
- /* @__PURE__ */ jsx39(Value2, { children: value })
3329
+ /* @__PURE__ */ jsx40(Label4, { children: label }),
3330
+ /* @__PURE__ */ jsx40(Value2, { children: value })
3308
3331
  ] });
3309
3332
  }
3310
3333
  LabelledValue.Item = Item4;
@@ -3376,10 +3399,10 @@ var Span7 = styled("span", {
3376
3399
  });
3377
3400
 
3378
3401
  // src/components/OneTimePassword/index.tsx
3379
- import { jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
3402
+ import { jsx as jsx41, jsxs as jsxs17 } from "react/jsx-runtime";
3380
3403
  var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...rootProps }) => {
3381
- return /* @__PURE__ */ jsx40(Container2, { children: /* @__PURE__ */ jsxs17(StyledWrapper5, { children: [
3382
- /* @__PURE__ */ jsx40(StyledLabel3, { children: label }),
3404
+ return /* @__PURE__ */ jsx41(Container2, { children: /* @__PURE__ */ jsxs17(StyledWrapper5, { children: [
3405
+ /* @__PURE__ */ jsx41(StyledLabel3, { children: label }),
3383
3406
  /* @__PURE__ */ jsxs17(
3384
3407
  StyledRoot4,
3385
3408
  {
@@ -3388,12 +3411,12 @@ var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...r
3388
3411
  ...rootProps,
3389
3412
  style: { "--otp-length": length },
3390
3413
  children: [
3391
- Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx40(StyledInput, {}, index)),
3392
- /* @__PURE__ */ jsx40(OneTimePasswordField2.HiddenInput, {})
3414
+ Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx41(StyledInput, {}, index)),
3415
+ /* @__PURE__ */ jsx41(OneTimePasswordField2.HiddenInput, {})
3393
3416
  ]
3394
3417
  }
3395
3418
  ),
3396
- errorMessage && /* @__PURE__ */ jsx40(Span7, { children: errorMessage })
3419
+ errorMessage && /* @__PURE__ */ jsx41(Span7, { children: errorMessage })
3397
3420
  ] }) });
3398
3421
  };
3399
3422
  OneTimePassword.displayName = "OneTimePasswordInput";
@@ -3563,7 +3586,7 @@ var toast = {
3563
3586
  };
3564
3587
 
3565
3588
  // src/components/Toast/index.tsx
3566
- import { jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
3589
+ import { jsx as jsx42, jsxs as jsxs18 } from "react/jsx-runtime";
3567
3590
  var Toast = () => {
3568
3591
  const [messages, setMessages] = React4.useState([]);
3569
3592
  const [paused, setPaused] = React4.useState(false);
@@ -3594,10 +3617,10 @@ var Toast = () => {
3594
3617
  onResume: () => setPaused(false),
3595
3618
  children: [
3596
3619
  /* @__PURE__ */ jsxs18(ToastContent, { children: [
3597
- /* @__PURE__ */ jsx41(ToastTitle, { children: message.title }),
3598
- message.description && /* @__PURE__ */ jsx41(ToastDescription, { children: message.description })
3620
+ /* @__PURE__ */ jsx42(ToastTitle, { children: message.title }),
3621
+ message.description && /* @__PURE__ */ jsx42(ToastDescription, { children: message.description })
3599
3622
  ] }),
3600
- /* @__PURE__ */ jsx41(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx41(
3623
+ /* @__PURE__ */ jsx42(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx42(
3601
3624
  "button",
3602
3625
  {
3603
3626
  style: {
@@ -3607,15 +3630,15 @@ var Toast = () => {
3607
3630
  alignItems: "center"
3608
3631
  },
3609
3632
  onClick: () => removeToast(message.id),
3610
- children: /* @__PURE__ */ jsx41(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3633
+ children: /* @__PURE__ */ jsx42(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3611
3634
  }
3612
3635
  ) }),
3613
- /* @__PURE__ */ jsx41(ToastProgress, { paused, variant: message.variant })
3636
+ /* @__PURE__ */ jsx42(ToastProgress, { paused, variant: message.variant })
3614
3637
  ]
3615
3638
  },
3616
3639
  message.id
3617
3640
  )),
3618
- /* @__PURE__ */ jsx41(ToastViewport, {})
3641
+ /* @__PURE__ */ jsx42(ToastViewport, {})
3619
3642
  ] });
3620
3643
  };
3621
3644
 
@@ -3850,14 +3873,14 @@ var StepLabel = styled("span", {
3850
3873
  });
3851
3874
 
3852
3875
  // src/components/MultiStep/index.tsx
3853
- import { jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
3876
+ import { jsx as jsx43, jsxs as jsxs19 } from "react/jsx-runtime";
3854
3877
  var MultiStep = ({
3855
3878
  steps,
3856
3879
  currentStep,
3857
3880
  orientation = "horizontal",
3858
3881
  variant
3859
3882
  }) => {
3860
- return /* @__PURE__ */ jsx42(
3883
+ return /* @__PURE__ */ jsx43(
3861
3884
  Wrapper5,
3862
3885
  {
3863
3886
  orientation,
@@ -3865,7 +3888,7 @@ var MultiStep = ({
3865
3888
  const isFirst = index === 0;
3866
3889
  const isLast = index === steps.length - 1;
3867
3890
  return /* @__PURE__ */ jsxs19(StepItem, { orientation, children: [
3868
- /* @__PURE__ */ jsx42(
3891
+ /* @__PURE__ */ jsx43(
3869
3892
  StepCircle,
3870
3893
  {
3871
3894
  orientation,
@@ -3876,7 +3899,7 @@ var MultiStep = ({
3876
3899
  children: index + 1
3877
3900
  }
3878
3901
  ),
3879
- /* @__PURE__ */ jsx42(
3902
+ /* @__PURE__ */ jsx43(
3880
3903
  StepLabel,
3881
3904
  {
3882
3905
  orientation,
@@ -3900,8 +3923,7 @@ var CarouselContainer = styled("div", {
3900
3923
  flexDirection: "column",
3901
3924
  alignItems: "center",
3902
3925
  width: "100%",
3903
- maxWidth: "720px",
3904
- userSelect: "none"
3926
+ maxWidth: "720px"
3905
3927
  });
3906
3928
  var Wrapper6 = styled("div", {
3907
3929
  display: "flex",
@@ -3995,12 +4017,19 @@ var DotButton = styled("button", {
3995
4017
  borderColor: "$ignite_dark"
3996
4018
  }
3997
4019
  });
4020
+ var Ellipsis = styled("span", {
4021
+ color: "$ignite_light",
4022
+ textDecoration: "none",
4023
+ height: "9px",
4024
+ display: "flex",
4025
+ alignItems: "center"
4026
+ });
3998
4027
  var CarouselItemContainer = styled("div", {
3999
4028
  width: "100%"
4000
4029
  });
4001
4030
 
4002
4031
  // src/components/Carousel/index.tsx
4003
- import { jsx as jsx43, jsxs as jsxs20 } from "react/jsx-runtime";
4032
+ import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
4004
4033
  var SWIPE_THRESHOLD = 50;
4005
4034
  var Carousel = ({ title, variant, children }) => {
4006
4035
  const items = Children4.toArray(children);
@@ -4034,6 +4063,8 @@ var Carousel = ({ title, variant, children }) => {
4034
4063
  setTouchStartX(null);
4035
4064
  setTouchEndX(null);
4036
4065
  };
4066
+ const activeItem = items[activeIndex];
4067
+ const itemTitle = activeItem.props.title;
4037
4068
  return /* @__PURE__ */ jsxs20(
4038
4069
  CarouselContainer,
4039
4070
  {
@@ -4043,9 +4074,9 @@ var Carousel = ({ title, variant, children }) => {
4043
4074
  children: [
4044
4075
  /* @__PURE__ */ jsxs20(Wrapper6, { variant, children: [
4045
4076
  /* @__PURE__ */ jsxs20(CarouselHeader, { children: [
4046
- /* @__PURE__ */ jsx43(Title2, { children: title }),
4077
+ /* @__PURE__ */ jsx44(Title2, { children: itemTitle ?? title }),
4047
4078
  /* @__PURE__ */ jsxs20(Navigation, { children: [
4048
- /* @__PURE__ */ jsx43(
4079
+ /* @__PURE__ */ jsx44(
4049
4080
  Button,
4050
4081
  {
4051
4082
  size: "sm",
@@ -4053,10 +4084,10 @@ var Carousel = ({ title, variant, children }) => {
4053
4084
  "aria-label": "Previous Slide",
4054
4085
  onClick: prev,
4055
4086
  tabIndex: 0,
4056
- children: /* @__PURE__ */ jsx43(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
4087
+ children: /* @__PURE__ */ jsx44(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
4057
4088
  }
4058
4089
  ),
4059
- /* @__PURE__ */ jsx43(
4090
+ /* @__PURE__ */ jsx44(
4060
4091
  Button,
4061
4092
  {
4062
4093
  size: "sm",
@@ -4064,15 +4095,15 @@ var Carousel = ({ title, variant, children }) => {
4064
4095
  "aria-label": "Previous Slide",
4065
4096
  onClick: next,
4066
4097
  tabIndex: 0,
4067
- children: /* @__PURE__ */ jsx43(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
4098
+ children: /* @__PURE__ */ jsx44(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
4068
4099
  }
4069
4100
  )
4070
4101
  ] })
4071
4102
  ] }),
4072
- /* @__PURE__ */ jsx43(Spacing, { size: "xs" }),
4073
- /* @__PURE__ */ jsx43(Hr, { variant }),
4074
- /* @__PURE__ */ jsx43(Spacing, { size: "xs" }),
4075
- /* @__PURE__ */ jsx43(
4103
+ /* @__PURE__ */ jsx44(Spacing, { size: "xs" }),
4104
+ /* @__PURE__ */ jsx44(Hr, { variant }),
4105
+ /* @__PURE__ */ jsx44(Spacing, { size: "xs" }),
4106
+ /* @__PURE__ */ jsx44(
4076
4107
  CarouselContent,
4077
4108
  {
4078
4109
  onTouchStart,
@@ -4089,29 +4120,43 @@ var Carousel = ({ title, variant, children }) => {
4089
4120
  }
4090
4121
  )
4091
4122
  ] }),
4092
- /* @__PURE__ */ jsx43(Spacing, { size: "md" }),
4093
- /* @__PURE__ */ jsx43(DotsContainer, { children: /* @__PURE__ */ jsx43(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ jsx43(
4094
- DotButton,
4095
- {
4096
- active: idx === activeIndex,
4097
- "aria-label": `Go to slide ${idx + 1}`,
4098
- "aria-selected": idx === activeIndex,
4099
- role: "tab",
4100
- onClick: () => setActiveIndex(idx),
4101
- type: "button"
4102
- },
4103
- idx
4104
- )) }) })
4123
+ /* @__PURE__ */ jsx44(Spacing, { size: "md" }),
4124
+ /* @__PURE__ */ jsx44(DotsContainer, { children: /* @__PURE__ */ jsx44(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: getPaginationItems(items.length, activeIndex).map(
4125
+ (page, index) => typeof page === "number" ? /* @__PURE__ */ jsx44(
4126
+ DotButton,
4127
+ {
4128
+ active: page === activeIndex,
4129
+ "aria-label": `Go to slide ${page + 1}`,
4130
+ "aria-selected": page === activeIndex,
4131
+ role: "tab",
4132
+ onClick: () => setActiveIndex(page),
4133
+ type: "button"
4134
+ },
4135
+ page
4136
+ ) : /* @__PURE__ */ jsx44(Ellipsis, { children: "..." }, `ellipsis-${index}`)
4137
+ ) }) })
4105
4138
  ]
4106
4139
  }
4107
4140
  );
4108
4141
  };
4109
- var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx43(CarouselItemContainer, { ...props, style: { ...style }, children });
4142
+ var getPaginationItems = (totalItems, activeIndex) => {
4143
+ if (totalItems <= 10) {
4144
+ return Array.from({ length: totalItems }, (_, i) => i);
4145
+ }
4146
+ if (activeIndex < 7) {
4147
+ return [0, 1, 2, 3, 4, 5, 6, "...", totalItems - 1];
4148
+ }
4149
+ if (activeIndex >= totalItems - 5) {
4150
+ return [0, "...", totalItems - 5, totalItems - 4, totalItems - 3, totalItems - 2, totalItems - 1];
4151
+ }
4152
+ return [0, "...", activeIndex - 2, activeIndex - 1, activeIndex, activeIndex + 1, activeIndex + 2, "...", totalItems - 1];
4153
+ };
4154
+ var CarouselItem = ({ children, style, title, ...props }) => /* @__PURE__ */ jsx44(CarouselItemContainer, { ...props, style: { ...style }, children });
4110
4155
  Carousel.Item = CarouselItem;
4111
4156
 
4112
4157
  // src/components/PasswordInput.tsx
4113
4158
  import { forwardRef as forwardRef12, useImperativeHandle as useImperativeHandle2, useRef as useRef7, useState as useState13 } from "react";
4114
- import { jsx as jsx44 } from "react/jsx-runtime";
4159
+ import { jsx as jsx45 } from "react/jsx-runtime";
4115
4160
  var ToggleButton = styled("button", {
4116
4161
  all: "unset",
4117
4162
  cursor: "pointer",
@@ -4140,7 +4185,7 @@ var PasswordInput = forwardRef12(
4140
4185
  }
4141
4186
  }, 0);
4142
4187
  };
4143
- return /* @__PURE__ */ jsx44(
4188
+ return /* @__PURE__ */ jsx45(
4144
4189
  Input2,
4145
4190
  {
4146
4191
  ...props,
@@ -4148,14 +4193,14 @@ var PasswordInput = forwardRef12(
4148
4193
  type: visible ? "text" : "password",
4149
4194
  value,
4150
4195
  onChange,
4151
- suffix: /* @__PURE__ */ jsx44(
4196
+ suffix: /* @__PURE__ */ jsx45(
4152
4197
  ToggleButton,
4153
4198
  {
4154
4199
  type: "button",
4155
4200
  onClick: handleToggleVisibility,
4156
4201
  onMouseDown: (e) => e.preventDefault(),
4157
4202
  "aria-label": visible ? "Ocultar senha" : "Mostrar senha",
4158
- children: visible ? /* @__PURE__ */ jsx44(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ jsx44(Icon, { name: "EyeOpen", size: 16, color: "black" })
4203
+ children: visible ? /* @__PURE__ */ jsx45(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ jsx45(Icon, { name: "EyeOpen", size: 16, color: "black" })
4159
4204
  }
4160
4205
  )
4161
4206
  }
@@ -4252,18 +4297,18 @@ var OptionsButton = styled(Button, {
4252
4297
  });
4253
4298
 
4254
4299
  // src/components/Accordion/index.tsx
4255
- import { jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
4300
+ import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4256
4301
  var Accordion2 = React6.forwardRef(
4257
4302
  ({ title, children, dropdownItems }, ref) => {
4258
- return /* @__PURE__ */ jsx45(AccordionContainer, { type: "single", collapsible: true, ref, children: /* @__PURE__ */ jsxs21(AccordionItem, { value: "item-1", children: [
4303
+ return /* @__PURE__ */ jsx46(AccordionContainer, { type: "single", collapsible: true, ref, children: /* @__PURE__ */ jsxs21(AccordionItem, { value: "item-1", children: [
4259
4304
  /* @__PURE__ */ jsxs21(AccordionHeader, { children: [
4260
- /* @__PURE__ */ jsx45(AccordionTrigger, { children: /* @__PURE__ */ jsx45("span", { children: title }) }),
4305
+ /* @__PURE__ */ jsx46(AccordionTrigger, { children: /* @__PURE__ */ jsx46("span", { children: title }) }),
4261
4306
  /* @__PURE__ */ jsxs21(TriggerContent, { children: [
4262
4307
  dropdownItems && dropdownItems,
4263
- /* @__PURE__ */ jsx45(RadixAccordion.Trigger, { asChild: true, children: /* @__PURE__ */ jsx45(StyledButton, { as: "div", variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx45(AccordionChevron, { name: "TriangleDown", size: 16, "aria-hidden": true }) }) })
4308
+ /* @__PURE__ */ jsx46(RadixAccordion.Trigger, { asChild: true, children: /* @__PURE__ */ jsx46(StyledButton, { as: "div", variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx46(AccordionChevron, { name: "TriangleDown", size: 16, "aria-hidden": true }) }) })
4264
4309
  ] })
4265
4310
  ] }),
4266
- /* @__PURE__ */ jsx45(RadixAccordion.Content, { asChild: true, children: /* @__PURE__ */ jsx45(AccordionContent, { children }) })
4311
+ /* @__PURE__ */ jsx46(RadixAccordion.Content, { asChild: true, children: /* @__PURE__ */ jsx46(AccordionContent, { children }) })
4267
4312
  ] }) });
4268
4313
  }
4269
4314
  );