@clickpalm/react 1.2.17 → 1.2.18

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.
Files changed (3) hide show
  1. package/dist/index.js +450 -233
  2. package/dist/index.mjs +421 -204
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1186,7 +1186,7 @@ Checkbox2.displayName = "Checkbox";
1186
1186
  // src/components/Datepicker/index.tsx
1187
1187
  var import_date_fns2 = require("date-fns");
1188
1188
  var import_locale2 = require("date-fns/locale");
1189
- var import_react6 = require("react");
1189
+ var import_react7 = require("react");
1190
1190
  var import_react_day_picker2 = require("react-day-picker");
1191
1191
  var import_style2 = require("react-day-picker/dist/style.css");
1192
1192
 
@@ -1217,7 +1217,8 @@ var TextInputContainer = styled("div", {
1217
1217
  marginBottom: "$6",
1218
1218
  FontSize: "$md",
1219
1219
  "&:has(input:focus), &:hover": {
1220
- border: "2px solid $clickpalm_light"
1220
+ border: "2px solid $clickpalm_light",
1221
+ padding: "calc($4 - 0.9px) calc($4 - 0.9px)"
1221
1222
  },
1222
1223
  "&:has(input:disabled)": {
1223
1224
  opacity: 0.5,
@@ -1238,7 +1239,8 @@ var TextInputContainer = styled("div", {
1238
1239
  border: "1px solid $danger_dark",
1239
1240
  marginBottom: "0px",
1240
1241
  "&:has(input:focus), &:hover": {
1241
- border: "2px solid $danger_dark"
1242
+ border: "2px solid $danger_dark",
1243
+ padding: "calc($4 - 0.9px) calc($4 - 0.9px)"
1242
1244
  }
1243
1245
  }
1244
1246
  }
@@ -1324,6 +1326,202 @@ var Input2 = (0, import_react5.forwardRef)(
1324
1326
  );
1325
1327
  Input2.displayName = "Input";
1326
1328
 
1329
+ // src/components/Datepicker/CustomSelect/index.tsx
1330
+ var import_react6 = require("react");
1331
+
1332
+ // src/components/Datepicker/CustomSelect/styles.ts
1333
+ var IconWrapper = styled("span", {
1334
+ display: "flex",
1335
+ alignItems: "center",
1336
+ justifyContent: "center",
1337
+ transition: "transform 0.3s ease"
1338
+ });
1339
+ var SelectValueButton = styled("button", {
1340
+ position: "relative",
1341
+ display: "flex",
1342
+ alignItems: "center",
1343
+ width: "100%",
1344
+ backgroundColor: "transparent",
1345
+ borderRadius: "8px",
1346
+ padding: "8px",
1347
+ fontSize: "16px",
1348
+ fontWeight: theme.fontWeights.bold,
1349
+ fontFamily: theme.fonts.default,
1350
+ textAlign: "left",
1351
+ cursor: "pointer",
1352
+ gap: theme.space[2],
1353
+ "&:hover, &:focus": {
1354
+ backgroundColor: "transparent",
1355
+ outline: "none",
1356
+ boxShadow: "none",
1357
+ border: `2px solid ${theme.colors.gray_mid}`
1358
+ }
1359
+ });
1360
+ var SelectOptionsList = styled("ul", {
1361
+ position: "absolute",
1362
+ top: "100%",
1363
+ left: 0,
1364
+ right: 0,
1365
+ backgroundColor: theme.colors.gray_background,
1366
+ border: `2px solid ${theme.colors.white}`,
1367
+ borderRadius: "8px",
1368
+ boxShadow: "0 2px 8px rgba(0,0,0,0.15)",
1369
+ listStyle: "none",
1370
+ margin: "4px 0 0",
1371
+ padding: "0 12px",
1372
+ zIndex: 10,
1373
+ maxHeight: "200px",
1374
+ overflowY: "auto",
1375
+ fontFamily: theme.fonts.default,
1376
+ fontWeight: theme.fontWeights.regular,
1377
+ textAlign: "left",
1378
+ width: "100%",
1379
+ "&::-webkit-scrollbar": {
1380
+ width: "8px"
1381
+ },
1382
+ "&::-webkit-scrollbar-track": {
1383
+ background: theme.colors.gray_light,
1384
+ borderRadius: "8px"
1385
+ },
1386
+ "&::-webkit-scrollbar-thumb": {
1387
+ backgroundColor: theme.colors.clickpalm_light,
1388
+ borderRadius: "8px"
1389
+ }
1390
+ });
1391
+ var SelectOptionItem = styled("li", {
1392
+ padding: "12px 0",
1393
+ color: theme.colors.black,
1394
+ cursor: "pointer",
1395
+ borderBottom: `1px solid ${theme.colors.gray_mid}`,
1396
+ "&:last-child": {
1397
+ borderBottom: "none"
1398
+ },
1399
+ "&:hover": {
1400
+ backgroundColor: theme.colors.gray_background,
1401
+ color: theme.colors.clickpalm_mid
1402
+ },
1403
+ variants: {
1404
+ selected: {
1405
+ true: {
1406
+ backgroundColor: theme.colors.gray_background,
1407
+ color: theme.colors.clickpalm_mid
1408
+ }
1409
+ }
1410
+ }
1411
+ });
1412
+ var SelectContainer = styled("div", {
1413
+ position: "relative",
1414
+ width: "100%",
1415
+ maxWidth: "130px",
1416
+ variants: {
1417
+ isOpen: {
1418
+ true: {
1419
+ [`& ${IconWrapper}`]: {
1420
+ transform: "rotate(180deg)"
1421
+ }
1422
+ }
1423
+ },
1424
+ color: {
1425
+ white: {
1426
+ [`& ${SelectValueButton}`]: {
1427
+ color: theme.colors.white,
1428
+ border: `2px solid ${theme.colors.white}`
1429
+ },
1430
+ [`& ${IconWrapper}`]: {
1431
+ color: theme.colors.white
1432
+ }
1433
+ },
1434
+ black: {
1435
+ marginBottom: 0,
1436
+ [`& ${SelectValueButton}`]: {
1437
+ color: theme.colors.black,
1438
+ border: "1px solid transparent"
1439
+ },
1440
+ [`& ${IconWrapper}`]: {
1441
+ color: theme.colors.black
1442
+ }
1443
+ }
1444
+ }
1445
+ }
1446
+ });
1447
+
1448
+ // src/components/Datepicker/CustomSelect/index.tsx
1449
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1450
+ var CustomSelect = ({
1451
+ options = [],
1452
+ value,
1453
+ onChange,
1454
+ color = "white"
1455
+ }) => {
1456
+ const [isOpen, setIsOpen] = (0, import_react6.useState)(false);
1457
+ const selectRef = (0, import_react6.useRef)(null);
1458
+ const handleToggle = () => setIsOpen(!isOpen);
1459
+ const handleOptionClick = (optionValue) => {
1460
+ if (onChange) {
1461
+ onChange(optionValue);
1462
+ }
1463
+ setIsOpen(false);
1464
+ };
1465
+ (0, import_react6.useEffect)(() => {
1466
+ const handleClickOutside = (event) => {
1467
+ if (selectRef.current && !selectRef.current.contains(event.target)) {
1468
+ setIsOpen(false);
1469
+ }
1470
+ };
1471
+ document.addEventListener("mousedown", handleClickOutside);
1472
+ return () => {
1473
+ document.removeEventListener("mousedown", handleClickOutside);
1474
+ };
1475
+ }, []);
1476
+ const safeValue = value ?? "";
1477
+ const selectedLabel = options.find((opt) => opt.value === safeValue)?.label || safeValue;
1478
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(SelectContainer, { color, isOpen, ref: selectRef, children: [
1479
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(SelectValueButton, { onClick: handleToggle, children: [
1480
+ selectedLabel,
1481
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(IconWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "TriangleDown", size: 16 }) })
1482
+ ] }),
1483
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SelectOptionsList, { onMouseDown: (e) => e.preventDefault(), children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1484
+ SelectOptionItem,
1485
+ {
1486
+ selected: option.value === value,
1487
+ onClick: () => handleOptionClick(option.value),
1488
+ children: option.label
1489
+ },
1490
+ option.value
1491
+ )) })
1492
+ ] });
1493
+ };
1494
+
1495
+ // src/components/Datepicker/DatePickerSelectAdapter.tsx
1496
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1497
+ function DatePickerSelectAdapter(props) {
1498
+ const { options, value, onChange } = props;
1499
+ const handleValueChange = (newValue) => {
1500
+ if (onChange) {
1501
+ const syntheticEvent = {
1502
+ target: { value: newValue }
1503
+ };
1504
+ onChange(syntheticEvent);
1505
+ }
1506
+ };
1507
+ const selectOptions = options?.map((option) => {
1508
+ const label = typeof option.label === "string" ? option.label.charAt(0).toUpperCase() + option.label.slice(1) : option.label;
1509
+ return {
1510
+ label,
1511
+ value: option.value?.toString() ?? ""
1512
+ };
1513
+ }) || [];
1514
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1515
+ CustomSelect,
1516
+ {
1517
+ color: "black",
1518
+ options: selectOptions,
1519
+ value: value?.toString() || "",
1520
+ onChange: handleValueChange
1521
+ }
1522
+ );
1523
+ }
1524
+
1327
1525
  // src/components/Datepicker/styles.ts
1328
1526
  var datePickerStyles = globalCss({
1329
1527
  ".rdp-root": {
@@ -1351,7 +1549,8 @@ var datePickerStyles = globalCss({
1351
1549
  paddingLeft: "15px"
1352
1550
  },
1353
1551
  ".rdp-caption_label": {
1354
- paddingLeft: theme.space[1]
1552
+ paddingLeft: theme.space[1],
1553
+ textTransform: "capitalize"
1355
1554
  },
1356
1555
  ".rdp-nav": {
1357
1556
  gap: theme.space[1]
@@ -1383,18 +1582,47 @@ var datePickerStyles = globalCss({
1383
1582
  background: theme.colors.clickpalm_light,
1384
1583
  color: theme.colors.white
1385
1584
  }
1585
+ // '.rdp-caption_dropdowns': {
1586
+ // display: 'flex',
1587
+ // gap: theme.space[2],
1588
+ // },
1589
+ // '.rdp-dropdown': {
1590
+ // padding: '6px 8px',
1591
+ // fontFamily: theme.fonts.default,
1592
+ // fontSize: theme.fontSizes.sm,
1593
+ // color: theme.colors.black,
1594
+ // border: `1px solid ${theme.colors.gray_light}`,
1595
+ // borderRadius: theme.radii.md,
1596
+ // backgroundColor: theme.colors.white,
1597
+ // appearance: 'none',
1598
+ // backgroundRepeat: 'no-repeat',
1599
+ // backgroundPosition: `right ${theme.space[2]} center`,
1600
+ // backgroundSize: '1em',
1601
+ // '&:focus, &:hover': {
1602
+ // outline: 'none',
1603
+ // borderColor: theme.colors.clickpalm_light,
1604
+ // },
1605
+ // '& option:checked': {
1606
+ // backgroundColor: theme.colors.clickpalm_light,
1607
+ // color: theme.colors.white,
1608
+ // },
1609
+ // '& option:hover': {
1610
+ // backgroundColor: theme.colors.gray_background,
1611
+ // color: theme.colors.black,
1612
+ // },
1613
+ // },
1386
1614
  });
1387
1615
 
1388
1616
  // src/components/Datepicker/index.tsx
1389
- var import_jsx_runtime20 = require("react/jsx-runtime");
1617
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1390
1618
  datePickerStyles();
1391
- var Datepicker = (0, import_react6.forwardRef)(({ label, value, onChange, errorMessage }, ref) => {
1392
- const [selected, setSelected] = (0, import_react6.useState)(void 0);
1393
- const [month, setMonth] = (0, import_react6.useState)(/* @__PURE__ */ new Date());
1394
- const [open, setOpen] = (0, import_react6.useState)(false);
1395
- const inputRef = (0, import_react6.useRef)(null);
1396
- const calendarRef = (0, import_react6.useRef)(null);
1397
- (0, import_react6.useImperativeHandle)(ref, () => inputRef.current);
1619
+ var Datepicker = (0, import_react7.forwardRef)(({ label, value, onChange, errorMessage }, ref) => {
1620
+ const [selected, setSelected] = (0, import_react7.useState)(void 0);
1621
+ const [month, setMonth] = (0, import_react7.useState)(/* @__PURE__ */ new Date());
1622
+ const [open, setOpen] = (0, import_react7.useState)(false);
1623
+ const inputRef = (0, import_react7.useRef)(null);
1624
+ const calendarRef = (0, import_react7.useRef)(null);
1625
+ (0, import_react7.useImperativeHandle)(ref, () => inputRef.current);
1398
1626
  const handleDaySelect = (date) => {
1399
1627
  setSelected(date);
1400
1628
  if (date) {
@@ -1403,7 +1631,7 @@ var Datepicker = (0, import_react6.forwardRef)(({ label, value, onChange, errorM
1403
1631
  }
1404
1632
  setOpen(false);
1405
1633
  };
1406
- (0, import_react6.useEffect)(() => {
1634
+ (0, import_react7.useEffect)(() => {
1407
1635
  const handleClickOutside = (event) => {
1408
1636
  if (calendarRef.current && !calendarRef.current.contains(event.target) && inputRef.current && !inputRef.current.contains(event.target)) {
1409
1637
  setOpen(false);
@@ -1412,13 +1640,13 @@ var Datepicker = (0, import_react6.forwardRef)(({ label, value, onChange, errorM
1412
1640
  document.addEventListener("mousedown", handleClickOutside);
1413
1641
  return () => document.removeEventListener("mousedown", handleClickOutside);
1414
1642
  }, []);
1415
- (0, import_react6.useEffect)(() => {
1643
+ (0, import_react7.useEffect)(() => {
1416
1644
  if (!open && selected) {
1417
1645
  setMonth(selected);
1418
1646
  }
1419
1647
  }, [open, selected]);
1420
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { children: [
1421
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1648
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1649
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1422
1650
  Input2,
1423
1651
  {
1424
1652
  ref: inputRef,
@@ -1427,11 +1655,12 @@ var Datepicker = (0, import_react6.forwardRef)(({ label, value, onChange, errorM
1427
1655
  onFocus: () => setOpen(true),
1428
1656
  value: value || "",
1429
1657
  readOnly: true,
1430
- suffix: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "Calendar", size: 16 }),
1431
- errorMessage
1658
+ suffix: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "Calendar", size: 16 }),
1659
+ errorMessage,
1660
+ noMargin: true
1432
1661
  }
1433
1662
  ),
1434
- open && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1663
+ open && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1435
1664
  "div",
1436
1665
  {
1437
1666
  ref: calendarRef,
@@ -1443,7 +1672,7 @@ var Datepicker = (0, import_react6.forwardRef)(({ label, value, onChange, errorM
1443
1672
  boxShadow: "0 2px 8px rgba(0,0,0,0.15)",
1444
1673
  borderRadius: "8px"
1445
1674
  },
1446
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1675
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1447
1676
  import_react_day_picker2.DayPicker,
1448
1677
  {
1449
1678
  mode: "single",
@@ -1453,20 +1682,13 @@ var Datepicker = (0, import_react6.forwardRef)(({ label, value, onChange, errorM
1453
1682
  onMonthChange: setMonth,
1454
1683
  locale: import_locale2.ptBR,
1455
1684
  showOutsideDays: true,
1456
- formatters: {
1457
- formatCaption: (month2, options) => {
1458
- const mes = (0, import_date_fns2.format)(month2, "MMMM", options).replace(/^./, (c) => c.toUpperCase());
1459
- const ano = (0, import_date_fns2.format)(month2, "yyyy", options);
1460
- return `${mes} de ${ano}`;
1461
- },
1462
- formatWeekdayName: (date, options) => {
1463
- const dia = (0, import_date_fns2.format)(date, "EEEEEE", options);
1464
- return dia.charAt(0).toUpperCase() + dia.slice(1);
1465
- }
1466
- },
1685
+ captionLayout: "dropdown",
1686
+ startMonth: new Date(1915, 0),
1687
+ endMonth: /* @__PURE__ */ new Date(),
1467
1688
  components: {
1468
- PreviousMonthButton: (props) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "TriangleLeft", size: 16 }) }),
1469
- NextMonthButton: (props) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "TriangleRight", size: 16 }) })
1689
+ PreviousMonthButton: (props) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "TriangleLeft", size: 16 }) }),
1690
+ NextMonthButton: (props) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "TriangleRight", size: 16 }) }),
1691
+ Dropdown: DatePickerSelectAdapter
1470
1692
  }
1471
1693
  }
1472
1694
  )
@@ -1477,8 +1699,8 @@ var Datepicker = (0, import_react6.forwardRef)(({ label, value, onChange, errorM
1477
1699
  Datepicker.displayName = "Datepicker";
1478
1700
 
1479
1701
  // src/components/Hr.tsx
1480
- var import_react7 = require("react");
1481
- var import_jsx_runtime21 = require("react/jsx-runtime");
1702
+ var import_react8 = require("react");
1703
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1482
1704
  var StyledHr = styled("hr", {
1483
1705
  border: "none",
1484
1706
  height: "1px",
@@ -1494,8 +1716,8 @@ var StyledHr = styled("hr", {
1494
1716
  }
1495
1717
  }
1496
1718
  });
1497
- var Hr = (0, import_react7.forwardRef)(function Hr2({ children, ...props }, ref) {
1498
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(StyledHr, { ref, ...props, children });
1719
+ var Hr = (0, import_react8.forwardRef)(function Hr2({ children, ...props }, ref) {
1720
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(StyledHr, { ref, ...props, children });
1499
1721
  });
1500
1722
  Hr.displayName = "Hr";
1501
1723
 
@@ -1572,26 +1794,26 @@ var StyledChildren = styled("div", {
1572
1794
  });
1573
1795
 
1574
1796
  // src/components/Modal/index.tsx
1575
- var import_jsx_runtime22 = require("react/jsx-runtime");
1797
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1576
1798
  var Modal = ({ open, onOpenChange, title, description, children }) => {
1577
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Dialog2.Root, { open, onOpenChange, modal: true, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Dialog2.Portal, { children: [
1578
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledOverlay, {}),
1579
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(StyledContent, { children: [
1580
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Wrapper, { children: [
1581
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledTitle, { children: title }),
1582
- /* @__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 }) }) })
1799
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dialog2.Root, { open, onOpenChange, modal: true, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Dialog2.Portal, { children: [
1800
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledOverlay, {}),
1801
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(StyledContent, { children: [
1802
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Wrapper, { children: [
1803
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledTitle, { children: title }),
1804
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "Closed", size: 8 }) }) })
1583
1805
  ] }),
1584
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDivider, {}),
1585
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1586
- description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDescription, { children: description }),
1587
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledChildren, { children })
1806
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledDivider, {}),
1807
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { children: [
1808
+ description && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledDescription, { children: description }),
1809
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledChildren, { children })
1588
1810
  ] })
1589
1811
  ] })
1590
1812
  ] }) });
1591
1813
  };
1592
1814
 
1593
1815
  // src/components/ProgressBar/index.tsx
1594
- var import_react8 = require("react");
1816
+ var import_react9 = require("react");
1595
1817
 
1596
1818
  // src/components/ProgressBar/styles.ts
1597
1819
  var Progress = __toESM(require("@radix-ui/react-progress"));
@@ -1621,23 +1843,23 @@ var StyledIndicator = styled(Progress.Indicator, {
1621
1843
  });
1622
1844
 
1623
1845
  // src/components/ProgressBar/index.tsx
1624
- var import_jsx_runtime23 = require("react/jsx-runtime");
1846
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1625
1847
  var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1626
- const [progress2, setProgress] = (0, import_react8.useState)(0);
1627
- (0, import_react8.useEffect)(() => {
1848
+ const [progress2, setProgress] = (0, import_react9.useState)(0);
1849
+ (0, import_react9.useEffect)(() => {
1628
1850
  const timer = setTimeout(() => setProgress(value), 500);
1629
1851
  return () => clearTimeout(timer);
1630
1852
  }, [value]);
1631
1853
  const valueLabel = `${Math.round(progress2 / max * 100)}%`;
1632
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(StyledWrapper3, { children: [
1633
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1634
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1854
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(StyledWrapper3, { children: [
1855
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1856
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1635
1857
  StyledRoot,
1636
1858
  {
1637
1859
  value: progress2,
1638
1860
  "aria-valuetext": valueLabel,
1639
1861
  ...rest,
1640
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1862
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1641
1863
  StyledIndicator,
1642
1864
  {
1643
1865
  style: { transform: `translateX(-${100 - progress2}%)` }
@@ -1650,7 +1872,7 @@ var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1650
1872
  ProgressBar.displayName = "ProgressBar";
1651
1873
 
1652
1874
  // src/components/Radio/index.tsx
1653
- var import_react9 = require("react");
1875
+ var import_react10 = require("react");
1654
1876
 
1655
1877
  // src/components/Radio/styles.ts
1656
1878
  var RadioGroup = __toESM(require("@radix-ui/react-radio-group"));
@@ -1744,8 +1966,8 @@ var Span3 = styled("span", {
1744
1966
  });
1745
1967
 
1746
1968
  // src/components/Radio/index.tsx
1747
- var import_jsx_runtime24 = require("react/jsx-runtime");
1748
- var Radio = (0, import_react9.forwardRef)(({
1969
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1970
+ var Radio = (0, import_react10.forwardRef)(({
1749
1971
  labels,
1750
1972
  value,
1751
1973
  onChange,
@@ -1753,8 +1975,8 @@ var Radio = (0, import_react9.forwardRef)(({
1753
1975
  required = false,
1754
1976
  errorMessage
1755
1977
  }, ref) => {
1756
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1757
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1978
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1979
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1758
1980
  StyledRoot2,
1759
1981
  {
1760
1982
  ref,
@@ -1764,28 +1986,28 @@ var Radio = (0, import_react9.forwardRef)(({
1764
1986
  disabled,
1765
1987
  required,
1766
1988
  loop: true,
1767
- children: labels.map((label, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Wrapper2, { children: [
1768
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1989
+ children: labels.map((label, index) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Wrapper2, { children: [
1990
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1769
1991
  StyledItem,
1770
1992
  {
1771
1993
  value: label,
1772
1994
  id: `radio-${index}`,
1773
1995
  "aria-label": label,
1774
1996
  hasError: !!errorMessage,
1775
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StyledIndicator2, {})
1997
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(StyledIndicator2, {})
1776
1998
  }
1777
1999
  ),
1778
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ItemLabel, { htmlFor: `radio-${index}`, children: label })
2000
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ItemLabel, { htmlFor: `radio-${index}`, children: label })
1779
2001
  ] }, label))
1780
2002
  }
1781
2003
  ),
1782
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Span3, { children: errorMessage })
2004
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Span3, { children: errorMessage })
1783
2005
  ] });
1784
2006
  });
1785
2007
  Radio.displayName = "Radio";
1786
2008
 
1787
2009
  // src/components/Spacing.tsx
1788
- var import_jsx_runtime25 = require("react/jsx-runtime");
2010
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1789
2011
  var spacingMap = {
1790
2012
  xs: 8,
1791
2013
  sm: 12,
@@ -1797,11 +2019,11 @@ var spacingMap = {
1797
2019
  };
1798
2020
  var Spacing = ({ size, axis = "vertical" }) => {
1799
2021
  const style = axis === "vertical" ? { height: spacingMap[size], width: "100%" } : { width: spacingMap[size], height: "100%" };
1800
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { style, "data-testid": `spacing-${size}-${axis}` });
2022
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { style, "data-testid": `spacing-${size}-${axis}` });
1801
2023
  };
1802
2024
 
1803
2025
  // src/components/Switch/index.tsx
1804
- var import_react10 = require("react");
2026
+ var import_react11 = require("react");
1805
2027
 
1806
2028
  // src/components/Switch/styles.ts
1807
2029
  var Switch = __toESM(require("@radix-ui/react-switch"));
@@ -1898,8 +2120,8 @@ var Span4 = styled("span", {
1898
2120
  });
1899
2121
 
1900
2122
  // src/components/Switch/index.tsx
1901
- var import_jsx_runtime26 = require("react/jsx-runtime");
1902
- var Switch2 = (0, import_react10.forwardRef)(({
2123
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2124
+ var Switch2 = (0, import_react11.forwardRef)(({
1903
2125
  label,
1904
2126
  checked,
1905
2127
  defaultChecked,
@@ -1909,9 +2131,9 @@ var Switch2 = (0, import_react10.forwardRef)(({
1909
2131
  id,
1910
2132
  errorMessage
1911
2133
  }, ref) => {
1912
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1913
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Wrapper3, { hasError: !!errorMessage, children: [
1914
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2134
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
2135
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Wrapper3, { hasError: !!errorMessage, children: [
2136
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1915
2137
  StyledRoot3,
1916
2138
  {
1917
2139
  ref,
@@ -1922,18 +2144,18 @@ var Switch2 = (0, import_react10.forwardRef)(({
1922
2144
  hasError: !!errorMessage,
1923
2145
  disabled,
1924
2146
  required,
1925
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(StyledThumb, {})
2147
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledThumb, {})
1926
2148
  }
1927
2149
  ),
1928
- label && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Label2, { htmlFor: id, children: label })
2150
+ label && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Label2, { htmlFor: id, children: label })
1929
2151
  ] }),
1930
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Span4, { children: errorMessage })
2152
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Span4, { children: errorMessage })
1931
2153
  ] });
1932
2154
  });
1933
2155
  Switch2.displayName = "Switch";
1934
2156
 
1935
2157
  // src/components/Tabs/index.tsx
1936
- var import_react11 = require("react");
2158
+ var import_react12 = require("react");
1937
2159
 
1938
2160
  // src/components/Tabs/styles.ts
1939
2161
  var Tabs = __toESM(require("@radix-ui/react-tabs"));
@@ -2014,23 +2236,23 @@ var TabsContent = styled(Tabs.Content, {
2014
2236
  });
2015
2237
 
2016
2238
  // src/components/Tabs/index.tsx
2017
- var import_jsx_runtime27 = require("react/jsx-runtime");
2239
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2018
2240
  var TabsItem = ({ children }) => {
2019
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx_runtime27.Fragment, { children });
2241
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children });
2020
2242
  };
2021
2243
  var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) => {
2022
2244
  const items = [];
2023
- const childrenArray = import_react11.Children.toArray(children);
2245
+ const childrenArray = import_react12.Children.toArray(children);
2024
2246
  childrenArray.forEach((child) => {
2025
- if ((0, import_react11.isValidElement)(child) && child.type === TabsItem) {
2247
+ if ((0, import_react12.isValidElement)(child) && child.type === TabsItem) {
2026
2248
  const { value: value2, label, forceMount, children: content } = child.props;
2027
2249
  items.push({ value: value2, label, forceMount, children: content });
2028
2250
  }
2029
2251
  });
2030
- const listRef = (0, import_react11.useRef)(null);
2031
- const rootRef = (0, import_react11.useRef)(null);
2032
- const hasOverflowRef = (0, import_react11.useRef)(false);
2033
- const [hasOverflow, setHasOverflow] = (0, import_react11.useState)(false);
2252
+ const listRef = (0, import_react12.useRef)(null);
2253
+ const rootRef = (0, import_react12.useRef)(null);
2254
+ const hasOverflowRef = (0, import_react12.useRef)(false);
2255
+ const [hasOverflow, setHasOverflow] = (0, import_react12.useState)(false);
2034
2256
  const checkOverflow = () => {
2035
2257
  const listEl = listRef.current;
2036
2258
  const rootEl = rootRef.current;
@@ -2045,7 +2267,7 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2045
2267
  setHasOverflow(overflow);
2046
2268
  }
2047
2269
  };
2048
- (0, import_react11.useLayoutEffect)(() => {
2270
+ (0, import_react12.useLayoutEffect)(() => {
2049
2271
  checkOverflow();
2050
2272
  const resizeObserver = new ResizeObserver(checkOverflow);
2051
2273
  if (listRef.current) {
@@ -2066,7 +2288,7 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2066
2288
  });
2067
2289
  }
2068
2290
  };
2069
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2291
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2070
2292
  TabsRoot,
2071
2293
  {
2072
2294
  defaultValue: defaultValue || items[0]?.value,
@@ -2074,22 +2296,22 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2074
2296
  value,
2075
2297
  onValueChange,
2076
2298
  children: [
2077
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2078
- hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2299
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2300
+ hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2079
2301
  Button,
2080
2302
  {
2081
2303
  variant: "secondary",
2082
2304
  size: "sm",
2083
2305
  onClick: () => scroll("left"),
2084
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { name: "TriangleLeft", size: 64 })
2306
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { name: "TriangleLeft", size: 64 })
2085
2307
  }
2086
2308
  ),
2087
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2309
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2088
2310
  TabsList,
2089
2311
  {
2090
2312
  ref: listRef,
2091
2313
  scrollable: hasOverflow,
2092
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2314
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2093
2315
  TabsTrigger,
2094
2316
  {
2095
2317
  value: item.value,
@@ -2100,17 +2322,17 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2100
2322
  ))
2101
2323
  }
2102
2324
  ),
2103
- hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2325
+ hasOverflow && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2104
2326
  Button,
2105
2327
  {
2106
2328
  variant: "secondary",
2107
2329
  size: "sm",
2108
2330
  onClick: () => scroll("right"),
2109
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { name: "TriangleRight", size: 64 })
2331
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { name: "TriangleRight", size: 64 })
2110
2332
  }
2111
2333
  )
2112
2334
  ] }),
2113
- items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2335
+ items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2114
2336
  TabsContent,
2115
2337
  {
2116
2338
  colorContent,
@@ -2127,8 +2349,8 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2127
2349
  Tabs2.Item = TabsItem;
2128
2350
 
2129
2351
  // src/components/TextArea.tsx
2130
- var import_react12 = require("react");
2131
- var import_jsx_runtime28 = require("react/jsx-runtime");
2352
+ var import_react13 = require("react");
2353
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2132
2354
  var Wrapper4 = styled("div", {
2133
2355
  display: "flex",
2134
2356
  flexDirection: "column"
@@ -2203,12 +2425,12 @@ var Span5 = styled("span", {
2203
2425
  marginTop: "2px",
2204
2426
  marginBottom: "$6"
2205
2427
  });
2206
- var TextArea = (0, import_react12.forwardRef)(
2428
+ var TextArea = (0, import_react13.forwardRef)(
2207
2429
  ({ label, id, htmlFor, errorMessage, ...props }, ref) => {
2208
2430
  const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2209
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Wrapper4, { children: [
2210
- label && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledLabel2, { htmlFor: textAreaId, children: label }),
2211
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2431
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Wrapper4, { children: [
2432
+ label && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(StyledLabel2, { htmlFor: textAreaId, children: label }),
2433
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2212
2434
  TextAreaElement,
2213
2435
  {
2214
2436
  id: textAreaId,
@@ -2217,7 +2439,7 @@ var TextArea = (0, import_react12.forwardRef)(
2217
2439
  ref
2218
2440
  }
2219
2441
  ),
2220
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Span5, { children: errorMessage })
2442
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Span5, { children: errorMessage })
2221
2443
  ] });
2222
2444
  }
2223
2445
  );
@@ -2274,7 +2496,7 @@ var TooltipArrow = styled(RadixTooltip.Arrow, {
2274
2496
  });
2275
2497
 
2276
2498
  // src/components/Tooltip/index.tsx
2277
- var import_jsx_runtime29 = require("react/jsx-runtime");
2499
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2278
2500
  var Tooltip = ({
2279
2501
  content,
2280
2502
  children,
@@ -2284,11 +2506,11 @@ var Tooltip = ({
2284
2506
  onOpenChange,
2285
2507
  delayDuration = 100
2286
2508
  }) => {
2287
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(RadixTooltip2.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2288
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(TooltipTrigger, { asChild: true, children }),
2289
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(TooltipContent, { side, sideOffset, children: [
2509
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(RadixTooltip2.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2510
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TooltipTrigger, { asChild: true, children }),
2511
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(TooltipContent, { side, sideOffset, children: [
2290
2512
  content,
2291
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(TooltipArrow, {})
2513
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TooltipArrow, {})
2292
2514
  ] })
2293
2515
  ] }) });
2294
2516
  };
@@ -2372,14 +2594,14 @@ var Spinner = styled("span", {
2372
2594
  });
2373
2595
 
2374
2596
  // src/components/Loader/index.tsx
2375
- var import_jsx_runtime30 = require("react/jsx-runtime");
2597
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2376
2598
  var Loader = ({ show, fullscreen = false }) => {
2377
- 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, {}) }) });
2599
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Overlay2, { show, fullscreen, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SpinnerContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Spinner, {}) }) });
2378
2600
  };
2379
2601
  Loader.displayName = "Loader";
2380
2602
 
2381
2603
  // src/components/MaskedInput/index.tsx
2382
- var import_react13 = require("react");
2604
+ var import_react14 = require("react");
2383
2605
 
2384
2606
  // src/components/MaskedInput/utils.ts
2385
2607
  var MAX_LENGTHS = {
@@ -2443,11 +2665,11 @@ var applyMask = (value, maskType) => {
2443
2665
  };
2444
2666
 
2445
2667
  // src/components/MaskedInput/index.tsx
2446
- var import_jsx_runtime31 = require("react/jsx-runtime");
2447
- var MaskedInput = (0, import_react13.forwardRef)(
2668
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2669
+ var MaskedInput = (0, import_react14.forwardRef)(
2448
2670
  ({ maskType, onChange, ...props }, ref) => {
2449
- const [value, setValue] = (0, import_react13.useState)("");
2450
- const inputRef = (0, import_react13.useRef)(null);
2671
+ const [value, setValue] = (0, import_react14.useState)("");
2672
+ const inputRef = (0, import_react14.useRef)(null);
2451
2673
  const handleChange = (e) => {
2452
2674
  const { value: inputValue, selectionStart } = e.target;
2453
2675
  const isBackspace = value.length > inputValue.length;
@@ -2480,7 +2702,7 @@ var MaskedInput = (0, import_react13.forwardRef)(
2480
2702
  onChange(syntheticEvent);
2481
2703
  }
2482
2704
  };
2483
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2705
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2484
2706
  Input2,
2485
2707
  {
2486
2708
  ...props,
@@ -2495,7 +2717,7 @@ var MaskedInput = (0, import_react13.forwardRef)(
2495
2717
  MaskedInput.displayName = "MaskedInput";
2496
2718
 
2497
2719
  // src/components/Dropdown/index.tsx
2498
- var import_react14 = __toESM(require("react"));
2720
+ var import_react15 = __toESM(require("react"));
2499
2721
  var DropdownMenu2 = __toESM(require("@radix-ui/react-dropdown-menu"));
2500
2722
 
2501
2723
  // src/components/Dropdown/styles.ts
@@ -2534,7 +2756,9 @@ var StyledContent2 = styled(DropdownMenu.Content, {
2534
2756
  });
2535
2757
  var itemStyles = {
2536
2758
  all: "unset",
2759
+ fontFamily: "$default",
2537
2760
  fontSize: "$sm",
2761
+ fontWeights: "$regular",
2538
2762
  lineHeight: 1,
2539
2763
  color: "$black",
2540
2764
  borderRadius: "$sm",
@@ -2579,27 +2803,27 @@ var IconButton = styled("button", {
2579
2803
  });
2580
2804
 
2581
2805
  // src/components/Dropdown/index.tsx
2582
- var import_jsx_runtime32 = require("react/jsx-runtime");
2806
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2583
2807
  var Dropdown = ({ children }) => {
2584
- const childrenArray = import_react14.Children.toArray(children);
2585
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(DropdownMenu2.Root, { children: [
2586
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon, { name: "Dots", size: 16 }) }) }),
2587
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenu2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react14.Fragment, { children: [
2808
+ const childrenArray = import_react15.Children.toArray(children);
2809
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DropdownMenu2.Root, { children: [
2810
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "Dots", size: 16 }) }) }),
2811
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DropdownMenu2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react15.Fragment, { children: [
2588
2812
  child,
2589
- index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownSeparator, {})
2813
+ index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DropdownSeparator, {})
2590
2814
  ] }, index)) }) })
2591
2815
  ] });
2592
2816
  };
2593
2817
  var DropdownSeparator = StyledSeparator;
2594
- var DropdownItem = import_react14.default.forwardRef(({ children, ...props }, forwardedRef) => {
2595
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledItem2, { ...props, ref: forwardedRef, children });
2818
+ var DropdownItem = import_react15.default.forwardRef(({ children, ...props }, forwardedRef) => {
2819
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(StyledItem2, { ...props, ref: forwardedRef, children });
2596
2820
  });
2597
2821
  Dropdown.displayName = "Dropdown";
2598
2822
  DropdownItem.displayName = "DropdownItem";
2599
2823
  DropdownSeparator.displayName = "DropdownSeparator";
2600
2824
 
2601
2825
  // src/components/Box.tsx
2602
- var import_jsx_runtime33 = require("react/jsx-runtime");
2826
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2603
2827
  var StyledBox = styled("div", {
2604
2828
  padding: "$5",
2605
2829
  borderRadius: "$md",
@@ -2621,12 +2845,12 @@ var StyledBox = styled("div", {
2621
2845
  }
2622
2846
  });
2623
2847
  var Box = (props) => {
2624
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(StyledBox, { ...props });
2848
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledBox, { ...props });
2625
2849
  };
2626
2850
  Box.displayName = "Box";
2627
2851
 
2628
2852
  // src/components/Paragraph.tsx
2629
- var import_jsx_runtime34 = require("react/jsx-runtime");
2853
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2630
2854
  var StyledParagraph = styled("p", {
2631
2855
  fontFamily: "$default",
2632
2856
  lineHeight: "$short",
@@ -2668,13 +2892,13 @@ var StyledParagraph = styled("p", {
2668
2892
  }
2669
2893
  });
2670
2894
  var Paragraph = (props) => {
2671
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(StyledParagraph, { ...props });
2895
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledParagraph, { ...props });
2672
2896
  };
2673
2897
  Paragraph.displayName = "Paragraph";
2674
2898
 
2675
2899
  // src/components/Heading.tsx
2676
- var import_react15 = require("react");
2677
- var import_jsx_runtime35 = require("react/jsx-runtime");
2900
+ var import_react16 = require("react");
2901
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2678
2902
  var StyledHeading = styled("h2", {
2679
2903
  fontFamily: "$default",
2680
2904
  lineHeight: "$shorter",
@@ -2696,15 +2920,15 @@ var StyledHeading = styled("h2", {
2696
2920
  size: "md"
2697
2921
  }
2698
2922
  });
2699
- var Heading = (0, import_react15.forwardRef)(function Heading2({ children, ...props }, ref) {
2700
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledHeading, { ref, ...props, children });
2923
+ var Heading = (0, import_react16.forwardRef)(function Heading2({ children, ...props }, ref) {
2924
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(StyledHeading, { ref, ...props, children });
2701
2925
  });
2702
2926
  Heading.displayName = "Heading";
2703
2927
 
2704
2928
  // src/components/Select/index.tsx
2705
2929
  var import_react_icons2 = require("@radix-ui/react-icons");
2706
- var CustomSelect = __toESM(require("@radix-ui/react-select"));
2707
- var import_react16 = require("react");
2930
+ var CustomSelect2 = __toESM(require("@radix-ui/react-select"));
2931
+ var import_react17 = require("react");
2708
2932
 
2709
2933
  // src/components/Select/styles.ts
2710
2934
  var Select = __toESM(require("@radix-ui/react-select"));
@@ -2740,7 +2964,8 @@ var StyledTrigger = styled(Select.Trigger, {
2740
2964
  },
2741
2965
  "&[data-highlighted], &:focus, &:hover": {
2742
2966
  outline: "none",
2743
- border: "2px solid $clickpalm_light"
2967
+ border: "2px solid $clickpalm_light",
2968
+ padding: "calc(0.92rem - 0.9px) calc($4 - 0.9px)"
2744
2969
  },
2745
2970
  "&:disabled": {
2746
2971
  opacity: 0.5,
@@ -2753,7 +2978,8 @@ var StyledTrigger = styled(Select.Trigger, {
2753
2978
  marginBottom: "0px",
2754
2979
  "&[data-highlighted], &:focus, &:hover": {
2755
2980
  outline: "none",
2756
- border: "2px solid $danger_dark"
2981
+ border: "2px solid $danger_dark",
2982
+ padding: "calc(0.92rem - 0.9px) calc($4 - 0.9px)"
2757
2983
  }
2758
2984
  }
2759
2985
  }
@@ -2836,8 +3062,8 @@ var Span6 = styled("span", {
2836
3062
  });
2837
3063
 
2838
3064
  // src/components/Select/index.tsx
2839
- var import_jsx_runtime36 = require("react/jsx-runtime");
2840
- var Select2 = (0, import_react16.forwardRef)(
3065
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3066
+ var Select2 = (0, import_react17.forwardRef)(
2841
3067
  ({
2842
3068
  value,
2843
3069
  onValueChange,
@@ -2850,36 +3076,27 @@ var Select2 = (0, import_react16.forwardRef)(
2850
3076
  style,
2851
3077
  ...rest
2852
3078
  }, ref) => {
2853
- const [open, setOpen] = (0, import_react16.useState)(false);
2854
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(StyledWrapper4, { css: css2, className, style, children: [
2855
- label && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Label3, { children: label }),
2856
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2857
- CustomSelect.Root,
3079
+ const [open, setOpen] = (0, import_react17.useState)(false);
3080
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(StyledWrapper4, { css: css2, className, style, children: [
3081
+ label && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Label3, { children: label }),
3082
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3083
+ CustomSelect2.Root,
2858
3084
  {
2859
3085
  value,
2860
3086
  onValueChange,
2861
3087
  onOpenChange: setOpen,
2862
3088
  ...rest,
2863
3089
  children: [
2864
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, ref, children: [
2865
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Value, { placeholder }),
2866
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledIcon, { open, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
3090
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, ref, children: [
3091
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CustomSelect2.Value, { placeholder }),
3092
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(StyledIcon, { open, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2867
3093
  ] }),
2868
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Span6, { children: errorMessage }),
2869
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2870
- StyledContent3,
2871
- {
2872
- side: "bottom",
2873
- align: "start",
2874
- position: "popper",
2875
- className,
2876
- children: [
2877
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
2878
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledViewport, { children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledItem3, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledItemText, { children: item.label }) }, item.value)) }),
2879
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2880
- ]
2881
- }
2882
- ) })
3094
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Span6, { children: errorMessage }),
3095
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CustomSelect2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
3096
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CustomSelect2.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
3097
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(StyledViewport, { children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(StyledItem3, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(StyledItemText, { children: item.label }) }, item.value)) }),
3098
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CustomSelect2.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons2.TriangleDownIcon, {}) })
3099
+ ] }) })
2883
3100
  ]
2884
3101
  }
2885
3102
  )
@@ -2889,7 +3106,7 @@ var Select2 = (0, import_react16.forwardRef)(
2889
3106
  Select2.displayName = "Select";
2890
3107
 
2891
3108
  // src/components/LabelledValue/index.tsx
2892
- var import_react17 = require("react");
3109
+ var import_react18 = require("react");
2893
3110
 
2894
3111
  // src/components/LabelledValue/styles.ts
2895
3112
  var Container = styled("div", {
@@ -2950,19 +3167,19 @@ var Value2 = styled("div", {
2950
3167
  });
2951
3168
 
2952
3169
  // src/components/LabelledValue/index.tsx
2953
- var import_jsx_runtime37 = require("react/jsx-runtime");
3170
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2954
3171
  function LabelledValue({ position = "vertical", withRow = false, children }) {
2955
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Container, { position, children: import_react17.Children.map(children, (child) => {
2956
- if ((0, import_react17.isValidElement)(child)) {
2957
- return (0, import_react17.cloneElement)(child, { position, withRow });
3172
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Container, { position, children: import_react18.Children.map(children, (child) => {
3173
+ if ((0, import_react18.isValidElement)(child)) {
3174
+ return (0, import_react18.cloneElement)(child, { position, withRow });
2958
3175
  }
2959
3176
  return child;
2960
3177
  }) });
2961
3178
  }
2962
3179
  function Item4({ label, value, position = "vertical", withRow = false }) {
2963
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(ItemWrapper, { position, withRow, children: [
2964
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Label4, { children: label }),
2965
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Value2, { children: value })
3180
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(ItemWrapper, { position, withRow, children: [
3181
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Label4, { children: label }),
3182
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Value2, { children: value })
2966
3183
  ] });
2967
3184
  }
2968
3185
  LabelledValue.Item = Item4;
@@ -3034,11 +3251,11 @@ var Span7 = styled("span", {
3034
3251
  });
3035
3252
 
3036
3253
  // src/components/OneTimePassword/index.tsx
3037
- var import_jsx_runtime38 = require("react/jsx-runtime");
3254
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3038
3255
  var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...rootProps }) => {
3039
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Container2, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(StyledWrapper5, { children: [
3040
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(StyledLabel3, { children: label }),
3041
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3256
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Container2, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(StyledWrapper5, { children: [
3257
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(StyledLabel3, { children: label }),
3258
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3042
3259
  StyledRoot4,
3043
3260
  {
3044
3261
  value,
@@ -3046,12 +3263,12 @@ var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...r
3046
3263
  ...rootProps,
3047
3264
  style: { "--otp-length": length },
3048
3265
  children: [
3049
- Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(StyledInput, {}, index)),
3050
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(OneTimePasswordField2.HiddenInput, {})
3266
+ Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(StyledInput, {}, index)),
3267
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(OneTimePasswordField2.HiddenInput, {})
3051
3268
  ]
3052
3269
  }
3053
3270
  ),
3054
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Span7, { children: errorMessage })
3271
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Span7, { children: errorMessage })
3055
3272
  ] }) });
3056
3273
  };
3057
3274
  OneTimePassword.displayName = "OneTimePasswordInput";
@@ -3221,7 +3438,7 @@ var toast = {
3221
3438
  };
3222
3439
 
3223
3440
  // src/components/Toast/index.tsx
3224
- var import_jsx_runtime39 = require("react/jsx-runtime");
3441
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3225
3442
  var Toast = () => {
3226
3443
  const [messages, setMessages] = React4.useState([]);
3227
3444
  const [paused, setPaused] = React4.useState(false);
@@ -3237,8 +3454,8 @@ var Toast = () => {
3237
3454
  const removeToast = (id) => {
3238
3455
  setMessages((prev) => prev.filter((msg) => msg.id !== id));
3239
3456
  };
3240
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
3241
- messages.map((message) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3457
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
3458
+ messages.map((message) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3242
3459
  ToastRoot,
3243
3460
  {
3244
3461
  open: true,
@@ -3251,11 +3468,11 @@ var Toast = () => {
3251
3468
  onPause: () => setPaused(true),
3252
3469
  onResume: () => setPaused(false),
3253
3470
  children: [
3254
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(ToastContent, { children: [
3255
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ToastTitle, { children: message.title }),
3256
- message.description && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ToastDescription, { children: message.description })
3471
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(ToastContent, { children: [
3472
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ToastTitle, { children: message.title }),
3473
+ message.description && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ToastDescription, { children: message.description })
3257
3474
  ] }),
3258
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3475
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3259
3476
  "button",
3260
3477
  {
3261
3478
  style: {
@@ -3265,15 +3482,15 @@ var Toast = () => {
3265
3482
  alignItems: "center"
3266
3483
  },
3267
3484
  onClick: () => removeToast(message.id),
3268
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3485
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3269
3486
  }
3270
3487
  ) }),
3271
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ToastProgress, { paused, variant: message.variant })
3488
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ToastProgress, { paused, variant: message.variant })
3272
3489
  ]
3273
3490
  },
3274
3491
  message.id
3275
3492
  )),
3276
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ToastViewport, {})
3493
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ToastViewport, {})
3277
3494
  ] });
3278
3495
  };
3279
3496
 
@@ -3508,22 +3725,22 @@ var StepLabel = styled("span", {
3508
3725
  });
3509
3726
 
3510
3727
  // src/components/MultiStep/index.tsx
3511
- var import_jsx_runtime40 = require("react/jsx-runtime");
3728
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3512
3729
  var MultiStep = ({
3513
3730
  steps,
3514
3731
  currentStep,
3515
3732
  orientation = "horizontal",
3516
3733
  variant
3517
3734
  }) => {
3518
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3735
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3519
3736
  Wrapper5,
3520
3737
  {
3521
3738
  orientation,
3522
3739
  children: steps.map((step, index) => {
3523
3740
  const isFirst = index === 0;
3524
3741
  const isLast = index === steps.length - 1;
3525
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(StepItem, { orientation, children: [
3526
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3742
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(StepItem, { orientation, children: [
3743
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3527
3744
  StepCircle,
3528
3745
  {
3529
3746
  orientation,
@@ -3534,7 +3751,7 @@ var MultiStep = ({
3534
3751
  children: index + 1
3535
3752
  }
3536
3753
  ),
3537
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3754
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3538
3755
  StepLabel,
3539
3756
  {
3540
3757
  orientation,
@@ -3550,7 +3767,7 @@ var MultiStep = ({
3550
3767
  MultiStep.displayName = "MultiStep";
3551
3768
 
3552
3769
  // src/components/Carousel/index.tsx
3553
- var import_react18 = require("react");
3770
+ var import_react19 = require("react");
3554
3771
 
3555
3772
  // src/components/Carousel/styles.ts
3556
3773
  var CarouselContainer = styled("div", {
@@ -3658,13 +3875,13 @@ var CarouselItemContainer = styled("div", {
3658
3875
  });
3659
3876
 
3660
3877
  // src/components/Carousel/index.tsx
3661
- var import_jsx_runtime41 = require("react/jsx-runtime");
3878
+ var import_jsx_runtime43 = require("react/jsx-runtime");
3662
3879
  var SWIPE_THRESHOLD = 50;
3663
3880
  var Carousel = ({ title, variant, children }) => {
3664
- const items = import_react18.Children.toArray(children);
3665
- const [activeIndex, setActiveIndex] = (0, import_react18.useState)(0);
3666
- const [touchStartX, setTouchStartX] = (0, import_react18.useState)(null);
3667
- const [touchEndX, setTouchEndX] = (0, import_react18.useState)(null);
3881
+ const items = import_react19.Children.toArray(children);
3882
+ const [activeIndex, setActiveIndex] = (0, import_react19.useState)(0);
3883
+ const [touchStartX, setTouchStartX] = (0, import_react19.useState)(null);
3884
+ const [touchEndX, setTouchEndX] = (0, import_react19.useState)(null);
3668
3885
  const prev = () => {
3669
3886
  setActiveIndex((prevIndex) => prevIndex === 0 ? items.length - 1 : prevIndex - 1);
3670
3887
  };
@@ -3692,18 +3909,18 @@ var Carousel = ({ title, variant, children }) => {
3692
3909
  setTouchStartX(null);
3693
3910
  setTouchEndX(null);
3694
3911
  };
3695
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3912
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3696
3913
  CarouselContainer,
3697
3914
  {
3698
3915
  role: "region",
3699
3916
  "aria-roledescription": "carousel",
3700
3917
  "aria-label": "Carousel Component",
3701
3918
  children: [
3702
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Wrapper6, { variant, children: [
3703
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CarouselHeader, { children: [
3704
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Title2, { children: title }),
3705
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Navigation, { children: [
3706
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3919
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Wrapper6, { variant, children: [
3920
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(CarouselHeader, { children: [
3921
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Title2, { children: title }),
3922
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Navigation, { children: [
3923
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3707
3924
  Button,
3708
3925
  {
3709
3926
  size: "sm",
@@ -3711,10 +3928,10 @@ var Carousel = ({ title, variant, children }) => {
3711
3928
  "aria-label": "Previous Slide",
3712
3929
  onClick: prev,
3713
3930
  tabIndex: 0,
3714
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3931
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3715
3932
  }
3716
3933
  ),
3717
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3934
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3718
3935
  Button,
3719
3936
  {
3720
3937
  size: "sm",
@@ -3722,22 +3939,22 @@ var Carousel = ({ title, variant, children }) => {
3722
3939
  "aria-label": "Previous Slide",
3723
3940
  onClick: next,
3724
3941
  tabIndex: 0,
3725
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3942
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3726
3943
  }
3727
3944
  )
3728
3945
  ] })
3729
3946
  ] }),
3730
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Spacing, { size: "xs" }),
3731
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Hr, { variant }),
3732
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Spacing, { size: "xs" }),
3733
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3947
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Spacing, { size: "xs" }),
3948
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Hr, { variant }),
3949
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Spacing, { size: "xs" }),
3950
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3734
3951
  CarouselContent,
3735
3952
  {
3736
3953
  onTouchStart,
3737
3954
  onTouchMove,
3738
3955
  onTouchEnd,
3739
3956
  children: items.map(
3740
- (child, index) => (0, import_react18.cloneElement)(child, {
3957
+ (child, index) => (0, import_react19.cloneElement)(child, {
3741
3958
  "aria-hidden": index !== activeIndex,
3742
3959
  style: {
3743
3960
  display: index === activeIndex ? "block" : "none"
@@ -3747,8 +3964,8 @@ var Carousel = ({ title, variant, children }) => {
3747
3964
  }
3748
3965
  )
3749
3966
  ] }),
3750
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Spacing, { size: "md" }),
3751
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DotsContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3967
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Spacing, { size: "md" }),
3968
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(DotsContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3752
3969
  DotButton,
3753
3970
  {
3754
3971
  active: idx === activeIndex,
@@ -3764,12 +3981,12 @@ var Carousel = ({ title, variant, children }) => {
3764
3981
  }
3765
3982
  );
3766
3983
  };
3767
- var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CarouselItemContainer, { ...props, style: { ...style }, children });
3984
+ var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CarouselItemContainer, { ...props, style: { ...style }, children });
3768
3985
  Carousel.Item = CarouselItem;
3769
3986
 
3770
3987
  // src/components/PasswordInput.tsx
3771
- var import_react19 = require("react");
3772
- var import_jsx_runtime42 = require("react/jsx-runtime");
3988
+ var import_react20 = require("react");
3989
+ var import_jsx_runtime44 = require("react/jsx-runtime");
3773
3990
  var ToggleButton = styled("button", {
3774
3991
  all: "unset",
3775
3992
  cursor: "pointer",
@@ -3784,11 +4001,11 @@ var ToggleButton = styled("button", {
3784
4001
  borderRadius: "$sm"
3785
4002
  }
3786
4003
  });
3787
- var PasswordInput = (0, import_react19.forwardRef)(
4004
+ var PasswordInput = (0, import_react20.forwardRef)(
3788
4005
  ({ value, onChange, ...props }, ref) => {
3789
- const [visible, setVisible] = (0, import_react19.useState)(false);
3790
- const innerRef = (0, import_react19.useRef)(null);
3791
- (0, import_react19.useImperativeHandle)(ref, () => innerRef.current);
4006
+ const [visible, setVisible] = (0, import_react20.useState)(false);
4007
+ const innerRef = (0, import_react20.useRef)(null);
4008
+ (0, import_react20.useImperativeHandle)(ref, () => innerRef.current);
3792
4009
  const handleToggleVisibility = () => {
3793
4010
  setVisible((v) => !v);
3794
4011
  setTimeout(() => {
@@ -3798,7 +4015,7 @@ var PasswordInput = (0, import_react19.forwardRef)(
3798
4015
  }
3799
4016
  }, 0);
3800
4017
  };
3801
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4018
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3802
4019
  Input2,
3803
4020
  {
3804
4021
  ...props,
@@ -3806,14 +4023,14 @@ var PasswordInput = (0, import_react19.forwardRef)(
3806
4023
  type: visible ? "text" : "password",
3807
4024
  value,
3808
4025
  onChange,
3809
- suffix: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4026
+ suffix: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3810
4027
  ToggleButton,
3811
4028
  {
3812
4029
  type: "button",
3813
4030
  onClick: handleToggleVisibility,
3814
4031
  onMouseDown: (e) => e.preventDefault(),
3815
4032
  "aria-label": visible ? "Ocultar senha" : "Mostrar senha",
3816
- children: visible ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { name: "EyeOpen", size: 16, color: "black" })
4033
+ children: visible ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { name: "EyeOpen", size: 16, color: "black" })
3817
4034
  }
3818
4035
  )
3819
4036
  }
@@ -3824,7 +4041,7 @@ PasswordInput.displayName = "PasswordInput";
3824
4041
 
3825
4042
  // src/components/Accordion/index.tsx
3826
4043
  var RadixAccordion = __toESM(require("@radix-ui/react-accordion"));
3827
- var import_react20 = __toESM(require("react"));
4044
+ var import_react21 = __toESM(require("react"));
3828
4045
 
3829
4046
  // src/components/Accordion/styles.ts
3830
4047
  var Accordion = __toESM(require("@radix-ui/react-accordion"));
@@ -3905,18 +4122,18 @@ var OptionsButton = styled(Button, {
3905
4122
  });
3906
4123
 
3907
4124
  // src/components/Accordion/index.tsx
3908
- var import_jsx_runtime43 = require("react/jsx-runtime");
3909
- var Accordion2 = import_react20.default.forwardRef(
4125
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4126
+ var Accordion2 = import_react21.default.forwardRef(
3910
4127
  ({ title, children, dropdownItems }, ref) => {
3911
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionContainer, { type: "single", collapsible: true, ref, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(AccordionItem, { value: "item-1", children: [
3912
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(AccordionHeader, { children: [
3913
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { children: title }) }),
3914
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(TriggerContent, { children: [
4128
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionContainer, { type: "single", collapsible: true, ref, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(AccordionItem, { value: "item-1", children: [
4129
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(AccordionHeader, { children: [
4130
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { children: title }) }),
4131
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(TriggerContent, { children: [
3915
4132
  dropdownItems && dropdownItems,
3916
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(RadixAccordion.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(StyledButton, { as: "div", variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionChevron, { name: "TriangleDown", size: 16, "aria-hidden": true }) }) })
4133
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(RadixAccordion.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(StyledButton, { as: "div", variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionChevron, { name: "TriangleDown", size: 16, "aria-hidden": true }) }) })
3917
4134
  ] })
3918
4135
  ] }),
3919
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(RadixAccordion.Content, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionContent, { children }) })
4136
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(RadixAccordion.Content, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionContent, { children }) })
3920
4137
  ] }) });
3921
4138
  }
3922
4139
  );