@clickpalm/react 1.2.16 → 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 +4 -4
package/dist/index.mjs CHANGED
@@ -1115,7 +1115,7 @@ Checkbox2.displayName = "Checkbox";
1115
1115
  // src/components/Datepicker/index.tsx
1116
1116
  import { format as format2 } from "date-fns";
1117
1117
  import { ptBR as ptBR2 } from "date-fns/locale";
1118
- import { forwardRef as forwardRef4, useEffect as useEffect2, useImperativeHandle, useRef as useRef3, useState as useState2 } from "react";
1118
+ import { forwardRef as forwardRef4, useEffect as useEffect3, useImperativeHandle, useRef as useRef4, useState as useState3 } from "react";
1119
1119
  import { DayPicker as DayPicker2 } from "react-day-picker";
1120
1120
  import "react-day-picker/dist/style.css";
1121
1121
 
@@ -1146,7 +1146,8 @@ var TextInputContainer = styled("div", {
1146
1146
  marginBottom: "$6",
1147
1147
  FontSize: "$md",
1148
1148
  "&:has(input:focus), &:hover": {
1149
- border: "2px solid $clickpalm_light"
1149
+ border: "2px solid $clickpalm_light",
1150
+ padding: "calc($4 - 0.9px) calc($4 - 0.9px)"
1150
1151
  },
1151
1152
  "&:has(input:disabled)": {
1152
1153
  opacity: 0.5,
@@ -1167,7 +1168,8 @@ var TextInputContainer = styled("div", {
1167
1168
  border: "1px solid $danger_dark",
1168
1169
  marginBottom: "0px",
1169
1170
  "&:has(input:focus), &:hover": {
1170
- border: "2px solid $danger_dark"
1171
+ border: "2px solid $danger_dark",
1172
+ padding: "calc($4 - 0.9px) calc($4 - 0.9px)"
1171
1173
  }
1172
1174
  }
1173
1175
  }
@@ -1253,6 +1255,202 @@ var Input2 = forwardRef3(
1253
1255
  );
1254
1256
  Input2.displayName = "Input";
1255
1257
 
1258
+ // src/components/Datepicker/CustomSelect/index.tsx
1259
+ import { useEffect as useEffect2, useRef as useRef3, useState as useState2 } from "react";
1260
+
1261
+ // src/components/Datepicker/CustomSelect/styles.ts
1262
+ var IconWrapper = styled("span", {
1263
+ display: "flex",
1264
+ alignItems: "center",
1265
+ justifyContent: "center",
1266
+ transition: "transform 0.3s ease"
1267
+ });
1268
+ var SelectValueButton = styled("button", {
1269
+ position: "relative",
1270
+ display: "flex",
1271
+ alignItems: "center",
1272
+ width: "100%",
1273
+ backgroundColor: "transparent",
1274
+ borderRadius: "8px",
1275
+ padding: "8px",
1276
+ fontSize: "16px",
1277
+ fontWeight: theme.fontWeights.bold,
1278
+ fontFamily: theme.fonts.default,
1279
+ textAlign: "left",
1280
+ cursor: "pointer",
1281
+ gap: theme.space[2],
1282
+ "&:hover, &:focus": {
1283
+ backgroundColor: "transparent",
1284
+ outline: "none",
1285
+ boxShadow: "none",
1286
+ border: `2px solid ${theme.colors.gray_mid}`
1287
+ }
1288
+ });
1289
+ var SelectOptionsList = styled("ul", {
1290
+ position: "absolute",
1291
+ top: "100%",
1292
+ left: 0,
1293
+ right: 0,
1294
+ backgroundColor: theme.colors.gray_background,
1295
+ border: `2px solid ${theme.colors.white}`,
1296
+ borderRadius: "8px",
1297
+ boxShadow: "0 2px 8px rgba(0,0,0,0.15)",
1298
+ listStyle: "none",
1299
+ margin: "4px 0 0",
1300
+ padding: "0 12px",
1301
+ zIndex: 10,
1302
+ maxHeight: "200px",
1303
+ overflowY: "auto",
1304
+ fontFamily: theme.fonts.default,
1305
+ fontWeight: theme.fontWeights.regular,
1306
+ textAlign: "left",
1307
+ width: "100%",
1308
+ "&::-webkit-scrollbar": {
1309
+ width: "8px"
1310
+ },
1311
+ "&::-webkit-scrollbar-track": {
1312
+ background: theme.colors.gray_light,
1313
+ borderRadius: "8px"
1314
+ },
1315
+ "&::-webkit-scrollbar-thumb": {
1316
+ backgroundColor: theme.colors.clickpalm_light,
1317
+ borderRadius: "8px"
1318
+ }
1319
+ });
1320
+ var SelectOptionItem = styled("li", {
1321
+ padding: "12px 0",
1322
+ color: theme.colors.black,
1323
+ cursor: "pointer",
1324
+ borderBottom: `1px solid ${theme.colors.gray_mid}`,
1325
+ "&:last-child": {
1326
+ borderBottom: "none"
1327
+ },
1328
+ "&:hover": {
1329
+ backgroundColor: theme.colors.gray_background,
1330
+ color: theme.colors.clickpalm_mid
1331
+ },
1332
+ variants: {
1333
+ selected: {
1334
+ true: {
1335
+ backgroundColor: theme.colors.gray_background,
1336
+ color: theme.colors.clickpalm_mid
1337
+ }
1338
+ }
1339
+ }
1340
+ });
1341
+ var SelectContainer = styled("div", {
1342
+ position: "relative",
1343
+ width: "100%",
1344
+ maxWidth: "130px",
1345
+ variants: {
1346
+ isOpen: {
1347
+ true: {
1348
+ [`& ${IconWrapper}`]: {
1349
+ transform: "rotate(180deg)"
1350
+ }
1351
+ }
1352
+ },
1353
+ color: {
1354
+ white: {
1355
+ [`& ${SelectValueButton}`]: {
1356
+ color: theme.colors.white,
1357
+ border: `2px solid ${theme.colors.white}`
1358
+ },
1359
+ [`& ${IconWrapper}`]: {
1360
+ color: theme.colors.white
1361
+ }
1362
+ },
1363
+ black: {
1364
+ marginBottom: 0,
1365
+ [`& ${SelectValueButton}`]: {
1366
+ color: theme.colors.black,
1367
+ border: "1px solid transparent"
1368
+ },
1369
+ [`& ${IconWrapper}`]: {
1370
+ color: theme.colors.black
1371
+ }
1372
+ }
1373
+ }
1374
+ }
1375
+ });
1376
+
1377
+ // src/components/Datepicker/CustomSelect/index.tsx
1378
+ import { jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
1379
+ var CustomSelect = ({
1380
+ options = [],
1381
+ value,
1382
+ onChange,
1383
+ color = "white"
1384
+ }) => {
1385
+ const [isOpen, setIsOpen] = useState2(false);
1386
+ const selectRef = useRef3(null);
1387
+ const handleToggle = () => setIsOpen(!isOpen);
1388
+ const handleOptionClick = (optionValue) => {
1389
+ if (onChange) {
1390
+ onChange(optionValue);
1391
+ }
1392
+ setIsOpen(false);
1393
+ };
1394
+ useEffect2(() => {
1395
+ const handleClickOutside = (event) => {
1396
+ if (selectRef.current && !selectRef.current.contains(event.target)) {
1397
+ setIsOpen(false);
1398
+ }
1399
+ };
1400
+ document.addEventListener("mousedown", handleClickOutside);
1401
+ return () => {
1402
+ document.removeEventListener("mousedown", handleClickOutside);
1403
+ };
1404
+ }, []);
1405
+ const safeValue = value ?? "";
1406
+ const selectedLabel = options.find((opt) => opt.value === safeValue)?.label || safeValue;
1407
+ return /* @__PURE__ */ jsxs5(SelectContainer, { color, isOpen, ref: selectRef, children: [
1408
+ /* @__PURE__ */ jsxs5(SelectValueButton, { onClick: handleToggle, children: [
1409
+ selectedLabel,
1410
+ /* @__PURE__ */ jsx20(IconWrapper, { children: /* @__PURE__ */ jsx20(Icon, { name: "TriangleDown", size: 16 }) })
1411
+ ] }),
1412
+ isOpen && /* @__PURE__ */ jsx20(SelectOptionsList, { onMouseDown: (e) => e.preventDefault(), children: options.map((option) => /* @__PURE__ */ jsx20(
1413
+ SelectOptionItem,
1414
+ {
1415
+ selected: option.value === value,
1416
+ onClick: () => handleOptionClick(option.value),
1417
+ children: option.label
1418
+ },
1419
+ option.value
1420
+ )) })
1421
+ ] });
1422
+ };
1423
+
1424
+ // src/components/Datepicker/DatePickerSelectAdapter.tsx
1425
+ import { jsx as jsx21 } from "react/jsx-runtime";
1426
+ function DatePickerSelectAdapter(props) {
1427
+ const { options, value, onChange } = props;
1428
+ const handleValueChange = (newValue) => {
1429
+ if (onChange) {
1430
+ const syntheticEvent = {
1431
+ target: { value: newValue }
1432
+ };
1433
+ onChange(syntheticEvent);
1434
+ }
1435
+ };
1436
+ const selectOptions = options?.map((option) => {
1437
+ const label = typeof option.label === "string" ? option.label.charAt(0).toUpperCase() + option.label.slice(1) : option.label;
1438
+ return {
1439
+ label,
1440
+ value: option.value?.toString() ?? ""
1441
+ };
1442
+ }) || [];
1443
+ return /* @__PURE__ */ jsx21(
1444
+ CustomSelect,
1445
+ {
1446
+ color: "black",
1447
+ options: selectOptions,
1448
+ value: value?.toString() || "",
1449
+ onChange: handleValueChange
1450
+ }
1451
+ );
1452
+ }
1453
+
1256
1454
  // src/components/Datepicker/styles.ts
1257
1455
  var datePickerStyles = globalCss({
1258
1456
  ".rdp-root": {
@@ -1280,7 +1478,8 @@ var datePickerStyles = globalCss({
1280
1478
  paddingLeft: "15px"
1281
1479
  },
1282
1480
  ".rdp-caption_label": {
1283
- paddingLeft: theme.space[1]
1481
+ paddingLeft: theme.space[1],
1482
+ textTransform: "capitalize"
1284
1483
  },
1285
1484
  ".rdp-nav": {
1286
1485
  gap: theme.space[1]
@@ -1312,17 +1511,46 @@ var datePickerStyles = globalCss({
1312
1511
  background: theme.colors.clickpalm_light,
1313
1512
  color: theme.colors.white
1314
1513
  }
1514
+ // '.rdp-caption_dropdowns': {
1515
+ // display: 'flex',
1516
+ // gap: theme.space[2],
1517
+ // },
1518
+ // '.rdp-dropdown': {
1519
+ // padding: '6px 8px',
1520
+ // fontFamily: theme.fonts.default,
1521
+ // fontSize: theme.fontSizes.sm,
1522
+ // color: theme.colors.black,
1523
+ // border: `1px solid ${theme.colors.gray_light}`,
1524
+ // borderRadius: theme.radii.md,
1525
+ // backgroundColor: theme.colors.white,
1526
+ // appearance: 'none',
1527
+ // backgroundRepeat: 'no-repeat',
1528
+ // backgroundPosition: `right ${theme.space[2]} center`,
1529
+ // backgroundSize: '1em',
1530
+ // '&:focus, &:hover': {
1531
+ // outline: 'none',
1532
+ // borderColor: theme.colors.clickpalm_light,
1533
+ // },
1534
+ // '& option:checked': {
1535
+ // backgroundColor: theme.colors.clickpalm_light,
1536
+ // color: theme.colors.white,
1537
+ // },
1538
+ // '& option:hover': {
1539
+ // backgroundColor: theme.colors.gray_background,
1540
+ // color: theme.colors.black,
1541
+ // },
1542
+ // },
1315
1543
  });
1316
1544
 
1317
1545
  // src/components/Datepicker/index.tsx
1318
- import { jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
1546
+ import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
1319
1547
  datePickerStyles();
1320
1548
  var Datepicker = forwardRef4(({ label, value, onChange, errorMessage }, ref) => {
1321
- const [selected, setSelected] = useState2(void 0);
1322
- const [month, setMonth] = useState2(/* @__PURE__ */ new Date());
1323
- const [open, setOpen] = useState2(false);
1324
- const inputRef = useRef3(null);
1325
- const calendarRef = useRef3(null);
1549
+ const [selected, setSelected] = useState3(void 0);
1550
+ const [month, setMonth] = useState3(/* @__PURE__ */ new Date());
1551
+ const [open, setOpen] = useState3(false);
1552
+ const inputRef = useRef4(null);
1553
+ const calendarRef = useRef4(null);
1326
1554
  useImperativeHandle(ref, () => inputRef.current);
1327
1555
  const handleDaySelect = (date) => {
1328
1556
  setSelected(date);
@@ -1332,7 +1560,7 @@ var Datepicker = forwardRef4(({ label, value, onChange, errorMessage }, ref) =>
1332
1560
  }
1333
1561
  setOpen(false);
1334
1562
  };
1335
- useEffect2(() => {
1563
+ useEffect3(() => {
1336
1564
  const handleClickOutside = (event) => {
1337
1565
  if (calendarRef.current && !calendarRef.current.contains(event.target) && inputRef.current && !inputRef.current.contains(event.target)) {
1338
1566
  setOpen(false);
@@ -1341,13 +1569,13 @@ var Datepicker = forwardRef4(({ label, value, onChange, errorMessage }, ref) =>
1341
1569
  document.addEventListener("mousedown", handleClickOutside);
1342
1570
  return () => document.removeEventListener("mousedown", handleClickOutside);
1343
1571
  }, []);
1344
- useEffect2(() => {
1572
+ useEffect3(() => {
1345
1573
  if (!open && selected) {
1346
1574
  setMonth(selected);
1347
1575
  }
1348
1576
  }, [open, selected]);
1349
- return /* @__PURE__ */ jsxs5("div", { children: [
1350
- /* @__PURE__ */ jsx20(
1577
+ return /* @__PURE__ */ jsxs6("div", { children: [
1578
+ /* @__PURE__ */ jsx22(
1351
1579
  Input2,
1352
1580
  {
1353
1581
  ref: inputRef,
@@ -1356,11 +1584,12 @@ var Datepicker = forwardRef4(({ label, value, onChange, errorMessage }, ref) =>
1356
1584
  onFocus: () => setOpen(true),
1357
1585
  value: value || "",
1358
1586
  readOnly: true,
1359
- suffix: /* @__PURE__ */ jsx20(Icon, { name: "Calendar", size: 16 }),
1360
- errorMessage
1587
+ suffix: /* @__PURE__ */ jsx22(Icon, { name: "Calendar", size: 16 }),
1588
+ errorMessage,
1589
+ noMargin: true
1361
1590
  }
1362
1591
  ),
1363
- open && /* @__PURE__ */ jsx20(
1592
+ open && /* @__PURE__ */ jsx22(
1364
1593
  "div",
1365
1594
  {
1366
1595
  ref: calendarRef,
@@ -1372,7 +1601,7 @@ var Datepicker = forwardRef4(({ label, value, onChange, errorMessage }, ref) =>
1372
1601
  boxShadow: "0 2px 8px rgba(0,0,0,0.15)",
1373
1602
  borderRadius: "8px"
1374
1603
  },
1375
- children: /* @__PURE__ */ jsx20(
1604
+ children: /* @__PURE__ */ jsx22(
1376
1605
  DayPicker2,
1377
1606
  {
1378
1607
  mode: "single",
@@ -1382,20 +1611,13 @@ var Datepicker = forwardRef4(({ label, value, onChange, errorMessage }, ref) =>
1382
1611
  onMonthChange: setMonth,
1383
1612
  locale: ptBR2,
1384
1613
  showOutsideDays: true,
1385
- formatters: {
1386
- formatCaption: (month2, options) => {
1387
- const mes = format2(month2, "MMMM", options).replace(/^./, (c) => c.toUpperCase());
1388
- const ano = format2(month2, "yyyy", options);
1389
- return `${mes} de ${ano}`;
1390
- },
1391
- formatWeekdayName: (date, options) => {
1392
- const dia = format2(date, "EEEEEE", options);
1393
- return dia.charAt(0).toUpperCase() + dia.slice(1);
1394
- }
1395
- },
1614
+ captionLayout: "dropdown",
1615
+ startMonth: new Date(1915, 0),
1616
+ endMonth: /* @__PURE__ */ new Date(),
1396
1617
  components: {
1397
- PreviousMonthButton: (props) => /* @__PURE__ */ jsx20(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx20(Icon, { name: "TriangleLeft", size: 16 }) }),
1398
- NextMonthButton: (props) => /* @__PURE__ */ jsx20(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx20(Icon, { name: "TriangleRight", size: 16 }) })
1618
+ PreviousMonthButton: (props) => /* @__PURE__ */ jsx22(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx22(Icon, { name: "TriangleLeft", size: 16 }) }),
1619
+ NextMonthButton: (props) => /* @__PURE__ */ jsx22(Button, { size: "sm", variant: "secondary", ...props, children: /* @__PURE__ */ jsx22(Icon, { name: "TriangleRight", size: 16 }) }),
1620
+ Dropdown: DatePickerSelectAdapter
1399
1621
  }
1400
1622
  }
1401
1623
  )
@@ -1407,7 +1629,7 @@ Datepicker.displayName = "Datepicker";
1407
1629
 
1408
1630
  // src/components/Hr.tsx
1409
1631
  import { forwardRef as forwardRef5 } from "react";
1410
- import { jsx as jsx21 } from "react/jsx-runtime";
1632
+ import { jsx as jsx23 } from "react/jsx-runtime";
1411
1633
  var StyledHr = styled("hr", {
1412
1634
  border: "none",
1413
1635
  height: "1px",
@@ -1424,7 +1646,7 @@ var StyledHr = styled("hr", {
1424
1646
  }
1425
1647
  });
1426
1648
  var Hr = forwardRef5(function Hr2({ children, ...props }, ref) {
1427
- return /* @__PURE__ */ jsx21(StyledHr, { ref, ...props, children });
1649
+ return /* @__PURE__ */ jsx23(StyledHr, { ref, ...props, children });
1428
1650
  });
1429
1651
  Hr.displayName = "Hr";
1430
1652
 
@@ -1501,26 +1723,26 @@ var StyledChildren = styled("div", {
1501
1723
  });
1502
1724
 
1503
1725
  // src/components/Modal/index.tsx
1504
- import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
1726
+ import { jsx as jsx24, jsxs as jsxs7 } from "react/jsx-runtime";
1505
1727
  var Modal = ({ open, onOpenChange, title, description, children }) => {
1506
- return /* @__PURE__ */ jsx22(Dialog2.Root, { open, onOpenChange, modal: true, children: /* @__PURE__ */ jsxs6(Dialog2.Portal, { children: [
1507
- /* @__PURE__ */ jsx22(StyledOverlay, {}),
1508
- /* @__PURE__ */ jsxs6(StyledContent, { children: [
1509
- /* @__PURE__ */ jsxs6(Wrapper, { children: [
1510
- /* @__PURE__ */ jsx22(StyledTitle, { children: title }),
1511
- /* @__PURE__ */ jsx22(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx22(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx22(Icon, { name: "Closed", size: 8 }) }) })
1728
+ return /* @__PURE__ */ jsx24(Dialog2.Root, { open, onOpenChange, modal: true, children: /* @__PURE__ */ jsxs7(Dialog2.Portal, { children: [
1729
+ /* @__PURE__ */ jsx24(StyledOverlay, {}),
1730
+ /* @__PURE__ */ jsxs7(StyledContent, { children: [
1731
+ /* @__PURE__ */ jsxs7(Wrapper, { children: [
1732
+ /* @__PURE__ */ jsx24(StyledTitle, { children: title }),
1733
+ /* @__PURE__ */ jsx24(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx24(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx24(Icon, { name: "Closed", size: 8 }) }) })
1512
1734
  ] }),
1513
- /* @__PURE__ */ jsx22(StyledDivider, {}),
1514
- /* @__PURE__ */ jsxs6("div", { children: [
1515
- description && /* @__PURE__ */ jsx22(StyledDescription, { children: description }),
1516
- /* @__PURE__ */ jsx22(StyledChildren, { children })
1735
+ /* @__PURE__ */ jsx24(StyledDivider, {}),
1736
+ /* @__PURE__ */ jsxs7("div", { children: [
1737
+ description && /* @__PURE__ */ jsx24(StyledDescription, { children: description }),
1738
+ /* @__PURE__ */ jsx24(StyledChildren, { children })
1517
1739
  ] })
1518
1740
  ] })
1519
1741
  ] }) });
1520
1742
  };
1521
1743
 
1522
1744
  // src/components/ProgressBar/index.tsx
1523
- import { useEffect as useEffect3, useState as useState3 } from "react";
1745
+ import { useEffect as useEffect4, useState as useState4 } from "react";
1524
1746
 
1525
1747
  // src/components/ProgressBar/styles.ts
1526
1748
  import * as Progress from "@radix-ui/react-progress";
@@ -1550,23 +1772,23 @@ var StyledIndicator = styled(Progress.Indicator, {
1550
1772
  });
1551
1773
 
1552
1774
  // src/components/ProgressBar/index.tsx
1553
- import { jsx as jsx23, jsxs as jsxs7 } from "react/jsx-runtime";
1775
+ import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
1554
1776
  var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1555
- const [progress2, setProgress] = useState3(0);
1556
- useEffect3(() => {
1777
+ const [progress2, setProgress] = useState4(0);
1778
+ useEffect4(() => {
1557
1779
  const timer = setTimeout(() => setProgress(value), 500);
1558
1780
  return () => clearTimeout(timer);
1559
1781
  }, [value]);
1560
1782
  const valueLabel = `${Math.round(progress2 / max * 100)}%`;
1561
- return /* @__PURE__ */ jsxs7(StyledWrapper3, { children: [
1562
- /* @__PURE__ */ jsx23("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1563
- /* @__PURE__ */ jsx23(
1783
+ return /* @__PURE__ */ jsxs8(StyledWrapper3, { children: [
1784
+ /* @__PURE__ */ jsx25("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1785
+ /* @__PURE__ */ jsx25(
1564
1786
  StyledRoot,
1565
1787
  {
1566
1788
  value: progress2,
1567
1789
  "aria-valuetext": valueLabel,
1568
1790
  ...rest,
1569
- children: /* @__PURE__ */ jsx23(
1791
+ children: /* @__PURE__ */ jsx25(
1570
1792
  StyledIndicator,
1571
1793
  {
1572
1794
  style: { transform: `translateX(-${100 - progress2}%)` }
@@ -1673,7 +1895,7 @@ var Span3 = styled("span", {
1673
1895
  });
1674
1896
 
1675
1897
  // src/components/Radio/index.tsx
1676
- import { jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
1898
+ import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1677
1899
  var Radio = forwardRef6(({
1678
1900
  labels,
1679
1901
  value,
@@ -1682,8 +1904,8 @@ var Radio = forwardRef6(({
1682
1904
  required = false,
1683
1905
  errorMessage
1684
1906
  }, ref) => {
1685
- return /* @__PURE__ */ jsxs8("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1686
- /* @__PURE__ */ jsx24(
1907
+ return /* @__PURE__ */ jsxs9("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1908
+ /* @__PURE__ */ jsx26(
1687
1909
  StyledRoot2,
1688
1910
  {
1689
1911
  ref,
@@ -1693,28 +1915,28 @@ var Radio = forwardRef6(({
1693
1915
  disabled,
1694
1916
  required,
1695
1917
  loop: true,
1696
- children: labels.map((label, index) => /* @__PURE__ */ jsxs8(Wrapper2, { children: [
1697
- /* @__PURE__ */ jsx24(
1918
+ children: labels.map((label, index) => /* @__PURE__ */ jsxs9(Wrapper2, { children: [
1919
+ /* @__PURE__ */ jsx26(
1698
1920
  StyledItem,
1699
1921
  {
1700
1922
  value: label,
1701
1923
  id: `radio-${index}`,
1702
1924
  "aria-label": label,
1703
1925
  hasError: !!errorMessage,
1704
- children: /* @__PURE__ */ jsx24(StyledIndicator2, {})
1926
+ children: /* @__PURE__ */ jsx26(StyledIndicator2, {})
1705
1927
  }
1706
1928
  ),
1707
- /* @__PURE__ */ jsx24(ItemLabel, { htmlFor: `radio-${index}`, children: label })
1929
+ /* @__PURE__ */ jsx26(ItemLabel, { htmlFor: `radio-${index}`, children: label })
1708
1930
  ] }, label))
1709
1931
  }
1710
1932
  ),
1711
- errorMessage && /* @__PURE__ */ jsx24(Span3, { children: errorMessage })
1933
+ errorMessage && /* @__PURE__ */ jsx26(Span3, { children: errorMessage })
1712
1934
  ] });
1713
1935
  });
1714
1936
  Radio.displayName = "Radio";
1715
1937
 
1716
1938
  // src/components/Spacing.tsx
1717
- import { jsx as jsx25 } from "react/jsx-runtime";
1939
+ import { jsx as jsx27 } from "react/jsx-runtime";
1718
1940
  var spacingMap = {
1719
1941
  xs: 8,
1720
1942
  sm: 12,
@@ -1726,7 +1948,7 @@ var spacingMap = {
1726
1948
  };
1727
1949
  var Spacing = ({ size, axis = "vertical" }) => {
1728
1950
  const style = axis === "vertical" ? { height: spacingMap[size], width: "100%" } : { width: spacingMap[size], height: "100%" };
1729
- return /* @__PURE__ */ jsx25("div", { style, "data-testid": `spacing-${size}-${axis}` });
1951
+ return /* @__PURE__ */ jsx27("div", { style, "data-testid": `spacing-${size}-${axis}` });
1730
1952
  };
1731
1953
 
1732
1954
  // src/components/Switch/index.tsx
@@ -1827,7 +2049,7 @@ var Span4 = styled("span", {
1827
2049
  });
1828
2050
 
1829
2051
  // src/components/Switch/index.tsx
1830
- import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
2052
+ import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1831
2053
  var Switch2 = forwardRef7(({
1832
2054
  label,
1833
2055
  checked,
@@ -1838,9 +2060,9 @@ var Switch2 = forwardRef7(({
1838
2060
  id,
1839
2061
  errorMessage
1840
2062
  }, ref) => {
1841
- return /* @__PURE__ */ jsxs9("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1842
- /* @__PURE__ */ jsxs9(Wrapper3, { hasError: !!errorMessage, children: [
1843
- /* @__PURE__ */ jsx26(
2063
+ return /* @__PURE__ */ jsxs10("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
2064
+ /* @__PURE__ */ jsxs10(Wrapper3, { hasError: !!errorMessage, children: [
2065
+ /* @__PURE__ */ jsx28(
1844
2066
  StyledRoot3,
1845
2067
  {
1846
2068
  ref,
@@ -1851,18 +2073,18 @@ var Switch2 = forwardRef7(({
1851
2073
  hasError: !!errorMessage,
1852
2074
  disabled,
1853
2075
  required,
1854
- children: /* @__PURE__ */ jsx26(StyledThumb, {})
2076
+ children: /* @__PURE__ */ jsx28(StyledThumb, {})
1855
2077
  }
1856
2078
  ),
1857
- label && /* @__PURE__ */ jsx26(Label2, { htmlFor: id, children: label })
2079
+ label && /* @__PURE__ */ jsx28(Label2, { htmlFor: id, children: label })
1858
2080
  ] }),
1859
- errorMessage && /* @__PURE__ */ jsx26(Span4, { children: errorMessage })
2081
+ errorMessage && /* @__PURE__ */ jsx28(Span4, { children: errorMessage })
1860
2082
  ] });
1861
2083
  });
1862
2084
  Switch2.displayName = "Switch";
1863
2085
 
1864
2086
  // src/components/Tabs/index.tsx
1865
- import { Children, isValidElement, useLayoutEffect, useRef as useRef4, useState as useState4 } from "react";
2087
+ import { Children, isValidElement, useLayoutEffect, useRef as useRef5, useState as useState5 } from "react";
1866
2088
 
1867
2089
  // src/components/Tabs/styles.ts
1868
2090
  import * as Tabs from "@radix-ui/react-tabs";
@@ -1943,9 +2165,9 @@ var TabsContent = styled(Tabs.Content, {
1943
2165
  });
1944
2166
 
1945
2167
  // src/components/Tabs/index.tsx
1946
- import { Fragment, jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
2168
+ import { Fragment, jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
1947
2169
  var TabsItem = ({ children }) => {
1948
- return /* @__PURE__ */ jsx27(Fragment, { children });
2170
+ return /* @__PURE__ */ jsx29(Fragment, { children });
1949
2171
  };
1950
2172
  var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) => {
1951
2173
  const items = [];
@@ -1956,10 +2178,10 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
1956
2178
  items.push({ value: value2, label, forceMount, children: content });
1957
2179
  }
1958
2180
  });
1959
- const listRef = useRef4(null);
1960
- const rootRef = useRef4(null);
1961
- const hasOverflowRef = useRef4(false);
1962
- const [hasOverflow, setHasOverflow] = useState4(false);
2181
+ const listRef = useRef5(null);
2182
+ const rootRef = useRef5(null);
2183
+ const hasOverflowRef = useRef5(false);
2184
+ const [hasOverflow, setHasOverflow] = useState5(false);
1963
2185
  const checkOverflow = () => {
1964
2186
  const listEl = listRef.current;
1965
2187
  const rootEl = rootRef.current;
@@ -1995,7 +2217,7 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
1995
2217
  });
1996
2218
  }
1997
2219
  };
1998
- return /* @__PURE__ */ jsxs10(
2220
+ return /* @__PURE__ */ jsxs11(
1999
2221
  TabsRoot,
2000
2222
  {
2001
2223
  defaultValue: defaultValue || items[0]?.value,
@@ -2003,22 +2225,22 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2003
2225
  value,
2004
2226
  onValueChange,
2005
2227
  children: [
2006
- /* @__PURE__ */ jsxs10("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2007
- hasOverflow && /* @__PURE__ */ jsx27(
2228
+ /* @__PURE__ */ jsxs11("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
2229
+ hasOverflow && /* @__PURE__ */ jsx29(
2008
2230
  Button,
2009
2231
  {
2010
2232
  variant: "secondary",
2011
2233
  size: "sm",
2012
2234
  onClick: () => scroll("left"),
2013
- children: /* @__PURE__ */ jsx27(Icon, { name: "TriangleLeft", size: 64 })
2235
+ children: /* @__PURE__ */ jsx29(Icon, { name: "TriangleLeft", size: 64 })
2014
2236
  }
2015
2237
  ),
2016
- /* @__PURE__ */ jsx27(
2238
+ /* @__PURE__ */ jsx29(
2017
2239
  TabsList,
2018
2240
  {
2019
2241
  ref: listRef,
2020
2242
  scrollable: hasOverflow,
2021
- children: items.map((item) => /* @__PURE__ */ jsx27(
2243
+ children: items.map((item) => /* @__PURE__ */ jsx29(
2022
2244
  TabsTrigger,
2023
2245
  {
2024
2246
  value: item.value,
@@ -2029,17 +2251,17 @@ var Tabs2 = ({ defaultValue, colorContent, children, value, onValueChange }) =>
2029
2251
  ))
2030
2252
  }
2031
2253
  ),
2032
- hasOverflow && /* @__PURE__ */ jsx27(
2254
+ hasOverflow && /* @__PURE__ */ jsx29(
2033
2255
  Button,
2034
2256
  {
2035
2257
  variant: "secondary",
2036
2258
  size: "sm",
2037
2259
  onClick: () => scroll("right"),
2038
- children: /* @__PURE__ */ jsx27(Icon, { name: "TriangleRight", size: 64 })
2260
+ children: /* @__PURE__ */ jsx29(Icon, { name: "TriangleRight", size: 64 })
2039
2261
  }
2040
2262
  )
2041
2263
  ] }),
2042
- items.map((item) => /* @__PURE__ */ jsx27(
2264
+ items.map((item) => /* @__PURE__ */ jsx29(
2043
2265
  TabsContent,
2044
2266
  {
2045
2267
  colorContent,
@@ -2057,7 +2279,7 @@ Tabs2.Item = TabsItem;
2057
2279
 
2058
2280
  // src/components/TextArea.tsx
2059
2281
  import { forwardRef as forwardRef8 } from "react";
2060
- import { jsx as jsx28, jsxs as jsxs11 } from "react/jsx-runtime";
2282
+ import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
2061
2283
  var Wrapper4 = styled("div", {
2062
2284
  display: "flex",
2063
2285
  flexDirection: "column"
@@ -2135,9 +2357,9 @@ var Span5 = styled("span", {
2135
2357
  var TextArea = forwardRef8(
2136
2358
  ({ label, id, htmlFor, errorMessage, ...props }, ref) => {
2137
2359
  const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2138
- return /* @__PURE__ */ jsxs11(Wrapper4, { children: [
2139
- label && /* @__PURE__ */ jsx28(StyledLabel2, { htmlFor: textAreaId, children: label }),
2140
- /* @__PURE__ */ jsx28(
2360
+ return /* @__PURE__ */ jsxs12(Wrapper4, { children: [
2361
+ label && /* @__PURE__ */ jsx30(StyledLabel2, { htmlFor: textAreaId, children: label }),
2362
+ /* @__PURE__ */ jsx30(
2141
2363
  TextAreaElement,
2142
2364
  {
2143
2365
  id: textAreaId,
@@ -2146,7 +2368,7 @@ var TextArea = forwardRef8(
2146
2368
  ref
2147
2369
  }
2148
2370
  ),
2149
- errorMessage && /* @__PURE__ */ jsx28(Span5, { children: errorMessage })
2371
+ errorMessage && /* @__PURE__ */ jsx30(Span5, { children: errorMessage })
2150
2372
  ] });
2151
2373
  }
2152
2374
  );
@@ -2203,7 +2425,7 @@ var TooltipArrow = styled(RadixTooltip.Arrow, {
2203
2425
  });
2204
2426
 
2205
2427
  // src/components/Tooltip/index.tsx
2206
- import { jsx as jsx29, jsxs as jsxs12 } from "react/jsx-runtime";
2428
+ import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
2207
2429
  var Tooltip = ({
2208
2430
  content,
2209
2431
  children,
@@ -2213,11 +2435,11 @@ var Tooltip = ({
2213
2435
  onOpenChange,
2214
2436
  delayDuration = 100
2215
2437
  }) => {
2216
- return /* @__PURE__ */ jsx29(RadixTooltip2.Provider, { children: /* @__PURE__ */ jsxs12(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2217
- /* @__PURE__ */ jsx29(TooltipTrigger, { asChild: true, children }),
2218
- /* @__PURE__ */ jsxs12(TooltipContent, { side, sideOffset, children: [
2438
+ return /* @__PURE__ */ jsx31(RadixTooltip2.Provider, { children: /* @__PURE__ */ jsxs13(RadixTooltip2.Root, { open, onOpenChange, delayDuration, children: [
2439
+ /* @__PURE__ */ jsx31(TooltipTrigger, { asChild: true, children }),
2440
+ /* @__PURE__ */ jsxs13(TooltipContent, { side, sideOffset, children: [
2219
2441
  content,
2220
- /* @__PURE__ */ jsx29(TooltipArrow, {})
2442
+ /* @__PURE__ */ jsx31(TooltipArrow, {})
2221
2443
  ] })
2222
2444
  ] }) });
2223
2445
  };
@@ -2301,14 +2523,14 @@ var Spinner = styled("span", {
2301
2523
  });
2302
2524
 
2303
2525
  // src/components/Loader/index.tsx
2304
- import { jsx as jsx30 } from "react/jsx-runtime";
2526
+ import { jsx as jsx32 } from "react/jsx-runtime";
2305
2527
  var Loader = ({ show, fullscreen = false }) => {
2306
- return /* @__PURE__ */ jsx30(Overlay2, { show, fullscreen, children: /* @__PURE__ */ jsx30(SpinnerContainer, { children: /* @__PURE__ */ jsx30(Spinner, {}) }) });
2528
+ return /* @__PURE__ */ jsx32(Overlay2, { show, fullscreen, children: /* @__PURE__ */ jsx32(SpinnerContainer, { children: /* @__PURE__ */ jsx32(Spinner, {}) }) });
2307
2529
  };
2308
2530
  Loader.displayName = "Loader";
2309
2531
 
2310
2532
  // src/components/MaskedInput/index.tsx
2311
- import { forwardRef as forwardRef9, useState as useState5, useRef as useRef5 } from "react";
2533
+ import { forwardRef as forwardRef9, useState as useState6, useRef as useRef6 } from "react";
2312
2534
 
2313
2535
  // src/components/MaskedInput/utils.ts
2314
2536
  var MAX_LENGTHS = {
@@ -2372,11 +2594,11 @@ var applyMask = (value, maskType) => {
2372
2594
  };
2373
2595
 
2374
2596
  // src/components/MaskedInput/index.tsx
2375
- import { jsx as jsx31 } from "react/jsx-runtime";
2597
+ import { jsx as jsx33 } from "react/jsx-runtime";
2376
2598
  var MaskedInput = forwardRef9(
2377
2599
  ({ maskType, onChange, ...props }, ref) => {
2378
- const [value, setValue] = useState5("");
2379
- const inputRef = useRef5(null);
2600
+ const [value, setValue] = useState6("");
2601
+ const inputRef = useRef6(null);
2380
2602
  const handleChange = (e) => {
2381
2603
  const { value: inputValue, selectionStart } = e.target;
2382
2604
  const isBackspace = value.length > inputValue.length;
@@ -2409,7 +2631,7 @@ var MaskedInput = forwardRef9(
2409
2631
  onChange(syntheticEvent);
2410
2632
  }
2411
2633
  };
2412
- return /* @__PURE__ */ jsx31(
2634
+ return /* @__PURE__ */ jsx33(
2413
2635
  Input2,
2414
2636
  {
2415
2637
  ...props,
@@ -2463,7 +2685,9 @@ var StyledContent2 = styled(DropdownMenu.Content, {
2463
2685
  });
2464
2686
  var itemStyles = {
2465
2687
  all: "unset",
2688
+ fontFamily: "$default",
2466
2689
  fontSize: "$sm",
2690
+ fontWeights: "$regular",
2467
2691
  lineHeight: 1,
2468
2692
  color: "$black",
2469
2693
  borderRadius: "$sm",
@@ -2508,27 +2732,27 @@ var IconButton = styled("button", {
2508
2732
  });
2509
2733
 
2510
2734
  // src/components/Dropdown/index.tsx
2511
- import { jsx as jsx32, jsxs as jsxs13 } from "react/jsx-runtime";
2735
+ import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
2512
2736
  var Dropdown = ({ children }) => {
2513
2737
  const childrenArray = Children2.toArray(children);
2514
- return /* @__PURE__ */ jsxs13(DropdownMenu2.Root, { children: [
2515
- /* @__PURE__ */ jsx32(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx32(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx32(Icon, { name: "Dots", size: 16 }) }) }),
2516
- /* @__PURE__ */ jsx32(DropdownMenu2.Portal, { children: /* @__PURE__ */ jsx32(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs13(Fragment2, { children: [
2738
+ return /* @__PURE__ */ jsxs14(DropdownMenu2.Root, { children: [
2739
+ /* @__PURE__ */ jsx34(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx34(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx34(Icon, { name: "Dots", size: 16 }) }) }),
2740
+ /* @__PURE__ */ jsx34(DropdownMenu2.Portal, { children: /* @__PURE__ */ jsx34(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs14(Fragment2, { children: [
2517
2741
  child,
2518
- index < childrenArray.length - 1 && /* @__PURE__ */ jsx32(DropdownSeparator, {})
2742
+ index < childrenArray.length - 1 && /* @__PURE__ */ jsx34(DropdownSeparator, {})
2519
2743
  ] }, index)) }) })
2520
2744
  ] });
2521
2745
  };
2522
2746
  var DropdownSeparator = StyledSeparator;
2523
2747
  var DropdownItem = React3.forwardRef(({ children, ...props }, forwardedRef) => {
2524
- return /* @__PURE__ */ jsx32(StyledItem2, { ...props, ref: forwardedRef, children });
2748
+ return /* @__PURE__ */ jsx34(StyledItem2, { ...props, ref: forwardedRef, children });
2525
2749
  });
2526
2750
  Dropdown.displayName = "Dropdown";
2527
2751
  DropdownItem.displayName = "DropdownItem";
2528
2752
  DropdownSeparator.displayName = "DropdownSeparator";
2529
2753
 
2530
2754
  // src/components/Box.tsx
2531
- import { jsx as jsx33 } from "react/jsx-runtime";
2755
+ import { jsx as jsx35 } from "react/jsx-runtime";
2532
2756
  var StyledBox = styled("div", {
2533
2757
  padding: "$5",
2534
2758
  borderRadius: "$md",
@@ -2550,12 +2774,12 @@ var StyledBox = styled("div", {
2550
2774
  }
2551
2775
  });
2552
2776
  var Box = (props) => {
2553
- return /* @__PURE__ */ jsx33(StyledBox, { ...props });
2777
+ return /* @__PURE__ */ jsx35(StyledBox, { ...props });
2554
2778
  };
2555
2779
  Box.displayName = "Box";
2556
2780
 
2557
2781
  // src/components/Paragraph.tsx
2558
- import { jsx as jsx34 } from "react/jsx-runtime";
2782
+ import { jsx as jsx36 } from "react/jsx-runtime";
2559
2783
  var StyledParagraph = styled("p", {
2560
2784
  fontFamily: "$default",
2561
2785
  lineHeight: "$short",
@@ -2597,13 +2821,13 @@ var StyledParagraph = styled("p", {
2597
2821
  }
2598
2822
  });
2599
2823
  var Paragraph = (props) => {
2600
- return /* @__PURE__ */ jsx34(StyledParagraph, { ...props });
2824
+ return /* @__PURE__ */ jsx36(StyledParagraph, { ...props });
2601
2825
  };
2602
2826
  Paragraph.displayName = "Paragraph";
2603
2827
 
2604
2828
  // src/components/Heading.tsx
2605
2829
  import { forwardRef as forwardRef10 } from "react";
2606
- import { jsx as jsx35 } from "react/jsx-runtime";
2830
+ import { jsx as jsx37 } from "react/jsx-runtime";
2607
2831
  var StyledHeading = styled("h2", {
2608
2832
  fontFamily: "$default",
2609
2833
  lineHeight: "$shorter",
@@ -2626,14 +2850,14 @@ var StyledHeading = styled("h2", {
2626
2850
  }
2627
2851
  });
2628
2852
  var Heading = forwardRef10(function Heading2({ children, ...props }, ref) {
2629
- return /* @__PURE__ */ jsx35(StyledHeading, { ref, ...props, children });
2853
+ return /* @__PURE__ */ jsx37(StyledHeading, { ref, ...props, children });
2630
2854
  });
2631
2855
  Heading.displayName = "Heading";
2632
2856
 
2633
2857
  // src/components/Select/index.tsx
2634
2858
  import { TriangleDownIcon, TriangleUpIcon } from "@radix-ui/react-icons";
2635
- import * as CustomSelect from "@radix-ui/react-select";
2636
- import { forwardRef as forwardRef11, useState as useState6 } from "react";
2859
+ import * as CustomSelect2 from "@radix-ui/react-select";
2860
+ import { forwardRef as forwardRef11, useState as useState7 } from "react";
2637
2861
 
2638
2862
  // src/components/Select/styles.ts
2639
2863
  import * as Select from "@radix-ui/react-select";
@@ -2669,7 +2893,8 @@ var StyledTrigger = styled(Select.Trigger, {
2669
2893
  },
2670
2894
  "&[data-highlighted], &:focus, &:hover": {
2671
2895
  outline: "none",
2672
- border: "2px solid $clickpalm_light"
2896
+ border: "2px solid $clickpalm_light",
2897
+ padding: "calc(0.92rem - 0.9px) calc($4 - 0.9px)"
2673
2898
  },
2674
2899
  "&:disabled": {
2675
2900
  opacity: 0.5,
@@ -2682,7 +2907,8 @@ var StyledTrigger = styled(Select.Trigger, {
2682
2907
  marginBottom: "0px",
2683
2908
  "&[data-highlighted], &:focus, &:hover": {
2684
2909
  outline: "none",
2685
- border: "2px solid $danger_dark"
2910
+ border: "2px solid $danger_dark",
2911
+ padding: "calc(0.92rem - 0.9px) calc($4 - 0.9px)"
2686
2912
  }
2687
2913
  }
2688
2914
  }
@@ -2765,7 +2991,7 @@ var Span6 = styled("span", {
2765
2991
  });
2766
2992
 
2767
2993
  // src/components/Select/index.tsx
2768
- import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2994
+ import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
2769
2995
  var Select2 = forwardRef11(
2770
2996
  ({
2771
2997
  value,
@@ -2779,36 +3005,27 @@ var Select2 = forwardRef11(
2779
3005
  style,
2780
3006
  ...rest
2781
3007
  }, ref) => {
2782
- const [open, setOpen] = useState6(false);
2783
- return /* @__PURE__ */ jsxs14(StyledWrapper4, { css: css2, className, style, children: [
2784
- label && /* @__PURE__ */ jsx36(Label3, { children: label }),
2785
- /* @__PURE__ */ jsxs14(
2786
- CustomSelect.Root,
3008
+ const [open, setOpen] = useState7(false);
3009
+ return /* @__PURE__ */ jsxs15(StyledWrapper4, { css: css2, className, style, children: [
3010
+ label && /* @__PURE__ */ jsx38(Label3, { children: label }),
3011
+ /* @__PURE__ */ jsxs15(
3012
+ CustomSelect2.Root,
2787
3013
  {
2788
3014
  value,
2789
3015
  onValueChange,
2790
3016
  onOpenChange: setOpen,
2791
3017
  ...rest,
2792
3018
  children: [
2793
- /* @__PURE__ */ jsxs14(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, ref, children: [
2794
- /* @__PURE__ */ jsx36(CustomSelect.Value, { placeholder }),
2795
- /* @__PURE__ */ jsx36(StyledIcon, { open, children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
3019
+ /* @__PURE__ */ jsxs15(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, ref, children: [
3020
+ /* @__PURE__ */ jsx38(CustomSelect2.Value, { placeholder }),
3021
+ /* @__PURE__ */ jsx38(StyledIcon, { open, children: /* @__PURE__ */ jsx38(TriangleDownIcon, {}) })
2796
3022
  ] }),
2797
- errorMessage && /* @__PURE__ */ jsx36(Span6, { children: errorMessage }),
2798
- /* @__PURE__ */ jsx36(CustomSelect.Portal, { children: /* @__PURE__ */ jsxs14(
2799
- StyledContent3,
2800
- {
2801
- side: "bottom",
2802
- align: "start",
2803
- position: "popper",
2804
- className,
2805
- children: [
2806
- /* @__PURE__ */ jsx36(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ jsx36(TriangleUpIcon, {}) }),
2807
- /* @__PURE__ */ jsx36(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx36(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx36(StyledItemText, { children: item.label }) }, item.value)) }),
2808
- /* @__PURE__ */ jsx36(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
2809
- ]
2810
- }
2811
- ) })
3023
+ errorMessage && /* @__PURE__ */ jsx38(Span6, { children: errorMessage }),
3024
+ /* @__PURE__ */ jsx38(CustomSelect2.Portal, { children: /* @__PURE__ */ jsxs15(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
3025
+ /* @__PURE__ */ jsx38(CustomSelect2.ScrollUpButton, { children: /* @__PURE__ */ jsx38(TriangleUpIcon, {}) }),
3026
+ /* @__PURE__ */ jsx38(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx38(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx38(StyledItemText, { children: item.label }) }, item.value)) }),
3027
+ /* @__PURE__ */ jsx38(CustomSelect2.ScrollDownButton, { children: /* @__PURE__ */ jsx38(TriangleDownIcon, {}) })
3028
+ ] }) })
2812
3029
  ]
2813
3030
  }
2814
3031
  )
@@ -2883,9 +3100,9 @@ var Value2 = styled("div", {
2883
3100
  });
2884
3101
 
2885
3102
  // src/components/LabelledValue/index.tsx
2886
- import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
3103
+ import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
2887
3104
  function LabelledValue({ position = "vertical", withRow = false, children }) {
2888
- return /* @__PURE__ */ jsx37(Container, { position, children: Children3.map(children, (child) => {
3105
+ return /* @__PURE__ */ jsx39(Container, { position, children: Children3.map(children, (child) => {
2889
3106
  if (isValidElement2(child)) {
2890
3107
  return cloneElement(child, { position, withRow });
2891
3108
  }
@@ -2893,9 +3110,9 @@ function LabelledValue({ position = "vertical", withRow = false, children }) {
2893
3110
  }) });
2894
3111
  }
2895
3112
  function Item4({ label, value, position = "vertical", withRow = false }) {
2896
- return /* @__PURE__ */ jsxs15(ItemWrapper, { position, withRow, children: [
2897
- /* @__PURE__ */ jsx37(Label4, { children: label }),
2898
- /* @__PURE__ */ jsx37(Value2, { children: value })
3113
+ return /* @__PURE__ */ jsxs16(ItemWrapper, { position, withRow, children: [
3114
+ /* @__PURE__ */ jsx39(Label4, { children: label }),
3115
+ /* @__PURE__ */ jsx39(Value2, { children: value })
2899
3116
  ] });
2900
3117
  }
2901
3118
  LabelledValue.Item = Item4;
@@ -2967,11 +3184,11 @@ var Span7 = styled("span", {
2967
3184
  });
2968
3185
 
2969
3186
  // src/components/OneTimePassword/index.tsx
2970
- import { jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
3187
+ import { jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
2971
3188
  var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...rootProps }) => {
2972
- return /* @__PURE__ */ jsx38(Container2, { children: /* @__PURE__ */ jsxs16(StyledWrapper5, { children: [
2973
- /* @__PURE__ */ jsx38(StyledLabel3, { children: label }),
2974
- /* @__PURE__ */ jsxs16(
3189
+ return /* @__PURE__ */ jsx40(Container2, { children: /* @__PURE__ */ jsxs17(StyledWrapper5, { children: [
3190
+ /* @__PURE__ */ jsx40(StyledLabel3, { children: label }),
3191
+ /* @__PURE__ */ jsxs17(
2975
3192
  StyledRoot4,
2976
3193
  {
2977
3194
  value,
@@ -2979,12 +3196,12 @@ var OneTimePassword = ({ label, length, value, errorMessage, onValueChange, ...r
2979
3196
  ...rootProps,
2980
3197
  style: { "--otp-length": length },
2981
3198
  children: [
2982
- Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx38(StyledInput, {}, index)),
2983
- /* @__PURE__ */ jsx38(OneTimePasswordField2.HiddenInput, {})
3199
+ Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx40(StyledInput, {}, index)),
3200
+ /* @__PURE__ */ jsx40(OneTimePasswordField2.HiddenInput, {})
2984
3201
  ]
2985
3202
  }
2986
3203
  ),
2987
- errorMessage && /* @__PURE__ */ jsx38(Span7, { children: errorMessage })
3204
+ errorMessage && /* @__PURE__ */ jsx40(Span7, { children: errorMessage })
2988
3205
  ] }) });
2989
3206
  };
2990
3207
  OneTimePassword.displayName = "OneTimePasswordInput";
@@ -3154,7 +3371,7 @@ var toast = {
3154
3371
  };
3155
3372
 
3156
3373
  // src/components/Toast/index.tsx
3157
- import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
3374
+ import { jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
3158
3375
  var Toast = () => {
3159
3376
  const [messages, setMessages] = React4.useState([]);
3160
3377
  const [paused, setPaused] = React4.useState(false);
@@ -3170,8 +3387,8 @@ var Toast = () => {
3170
3387
  const removeToast = (id) => {
3171
3388
  setMessages((prev) => prev.filter((msg) => msg.id !== id));
3172
3389
  };
3173
- return /* @__PURE__ */ jsxs17(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
3174
- messages.map((message) => /* @__PURE__ */ jsxs17(
3390
+ return /* @__PURE__ */ jsxs18(ToastPrimitive2.Provider, { swipeDirection: "right", children: [
3391
+ messages.map((message) => /* @__PURE__ */ jsxs18(
3175
3392
  ToastRoot,
3176
3393
  {
3177
3394
  open: true,
@@ -3184,11 +3401,11 @@ var Toast = () => {
3184
3401
  onPause: () => setPaused(true),
3185
3402
  onResume: () => setPaused(false),
3186
3403
  children: [
3187
- /* @__PURE__ */ jsxs17(ToastContent, { children: [
3188
- /* @__PURE__ */ jsx39(ToastTitle, { children: message.title }),
3189
- message.description && /* @__PURE__ */ jsx39(ToastDescription, { children: message.description })
3404
+ /* @__PURE__ */ jsxs18(ToastContent, { children: [
3405
+ /* @__PURE__ */ jsx41(ToastTitle, { children: message.title }),
3406
+ message.description && /* @__PURE__ */ jsx41(ToastDescription, { children: message.description })
3190
3407
  ] }),
3191
- /* @__PURE__ */ jsx39(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx39(
3408
+ /* @__PURE__ */ jsx41(ToastAction, { altText: "Fechar", asChild: true, children: /* @__PURE__ */ jsx41(
3192
3409
  "button",
3193
3410
  {
3194
3411
  style: {
@@ -3198,15 +3415,15 @@ var Toast = () => {
3198
3415
  alignItems: "center"
3199
3416
  },
3200
3417
  onClick: () => removeToast(message.id),
3201
- children: /* @__PURE__ */ jsx39(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3418
+ children: /* @__PURE__ */ jsx41(Icon, { name: "Closed", size: 16, height: 14, width: 14 })
3202
3419
  }
3203
3420
  ) }),
3204
- /* @__PURE__ */ jsx39(ToastProgress, { paused, variant: message.variant })
3421
+ /* @__PURE__ */ jsx41(ToastProgress, { paused, variant: message.variant })
3205
3422
  ]
3206
3423
  },
3207
3424
  message.id
3208
3425
  )),
3209
- /* @__PURE__ */ jsx39(ToastViewport, {})
3426
+ /* @__PURE__ */ jsx41(ToastViewport, {})
3210
3427
  ] });
3211
3428
  };
3212
3429
 
@@ -3441,22 +3658,22 @@ var StepLabel = styled("span", {
3441
3658
  });
3442
3659
 
3443
3660
  // src/components/MultiStep/index.tsx
3444
- import { jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
3661
+ import { jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
3445
3662
  var MultiStep = ({
3446
3663
  steps,
3447
3664
  currentStep,
3448
3665
  orientation = "horizontal",
3449
3666
  variant
3450
3667
  }) => {
3451
- return /* @__PURE__ */ jsx40(
3668
+ return /* @__PURE__ */ jsx42(
3452
3669
  Wrapper5,
3453
3670
  {
3454
3671
  orientation,
3455
3672
  children: steps.map((step, index) => {
3456
3673
  const isFirst = index === 0;
3457
3674
  const isLast = index === steps.length - 1;
3458
- return /* @__PURE__ */ jsxs18(StepItem, { orientation, children: [
3459
- /* @__PURE__ */ jsx40(
3675
+ return /* @__PURE__ */ jsxs19(StepItem, { orientation, children: [
3676
+ /* @__PURE__ */ jsx42(
3460
3677
  StepCircle,
3461
3678
  {
3462
3679
  orientation,
@@ -3467,7 +3684,7 @@ var MultiStep = ({
3467
3684
  children: index + 1
3468
3685
  }
3469
3686
  ),
3470
- /* @__PURE__ */ jsx40(
3687
+ /* @__PURE__ */ jsx42(
3471
3688
  StepLabel,
3472
3689
  {
3473
3690
  orientation,
@@ -3483,7 +3700,7 @@ var MultiStep = ({
3483
3700
  MultiStep.displayName = "MultiStep";
3484
3701
 
3485
3702
  // src/components/Carousel/index.tsx
3486
- import { useState as useState8, Children as Children4, cloneElement as cloneElement2 } from "react";
3703
+ import { useState as useState9, Children as Children4, cloneElement as cloneElement2 } from "react";
3487
3704
 
3488
3705
  // src/components/Carousel/styles.ts
3489
3706
  var CarouselContainer = styled("div", {
@@ -3591,13 +3808,13 @@ var CarouselItemContainer = styled("div", {
3591
3808
  });
3592
3809
 
3593
3810
  // src/components/Carousel/index.tsx
3594
- import { jsx as jsx41, jsxs as jsxs19 } from "react/jsx-runtime";
3811
+ import { jsx as jsx43, jsxs as jsxs20 } from "react/jsx-runtime";
3595
3812
  var SWIPE_THRESHOLD = 50;
3596
3813
  var Carousel = ({ title, variant, children }) => {
3597
3814
  const items = Children4.toArray(children);
3598
- const [activeIndex, setActiveIndex] = useState8(0);
3599
- const [touchStartX, setTouchStartX] = useState8(null);
3600
- const [touchEndX, setTouchEndX] = useState8(null);
3815
+ const [activeIndex, setActiveIndex] = useState9(0);
3816
+ const [touchStartX, setTouchStartX] = useState9(null);
3817
+ const [touchEndX, setTouchEndX] = useState9(null);
3601
3818
  const prev = () => {
3602
3819
  setActiveIndex((prevIndex) => prevIndex === 0 ? items.length - 1 : prevIndex - 1);
3603
3820
  };
@@ -3625,18 +3842,18 @@ var Carousel = ({ title, variant, children }) => {
3625
3842
  setTouchStartX(null);
3626
3843
  setTouchEndX(null);
3627
3844
  };
3628
- return /* @__PURE__ */ jsxs19(
3845
+ return /* @__PURE__ */ jsxs20(
3629
3846
  CarouselContainer,
3630
3847
  {
3631
3848
  role: "region",
3632
3849
  "aria-roledescription": "carousel",
3633
3850
  "aria-label": "Carousel Component",
3634
3851
  children: [
3635
- /* @__PURE__ */ jsxs19(Wrapper6, { variant, children: [
3636
- /* @__PURE__ */ jsxs19(CarouselHeader, { children: [
3637
- /* @__PURE__ */ jsx41(Title2, { children: title }),
3638
- /* @__PURE__ */ jsxs19(Navigation, { children: [
3639
- /* @__PURE__ */ jsx41(
3852
+ /* @__PURE__ */ jsxs20(Wrapper6, { variant, children: [
3853
+ /* @__PURE__ */ jsxs20(CarouselHeader, { children: [
3854
+ /* @__PURE__ */ jsx43(Title2, { children: title }),
3855
+ /* @__PURE__ */ jsxs20(Navigation, { children: [
3856
+ /* @__PURE__ */ jsx43(
3640
3857
  Button,
3641
3858
  {
3642
3859
  size: "sm",
@@ -3644,10 +3861,10 @@ var Carousel = ({ title, variant, children }) => {
3644
3861
  "aria-label": "Previous Slide",
3645
3862
  onClick: prev,
3646
3863
  tabIndex: 0,
3647
- children: /* @__PURE__ */ jsx41(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3864
+ children: /* @__PURE__ */ jsx43(Icon, { name: "TriangleLeft", size: 16, color: variant === "purple" ? "white" : "black" })
3648
3865
  }
3649
3866
  ),
3650
- /* @__PURE__ */ jsx41(
3867
+ /* @__PURE__ */ jsx43(
3651
3868
  Button,
3652
3869
  {
3653
3870
  size: "sm",
@@ -3655,15 +3872,15 @@ var Carousel = ({ title, variant, children }) => {
3655
3872
  "aria-label": "Previous Slide",
3656
3873
  onClick: next,
3657
3874
  tabIndex: 0,
3658
- children: /* @__PURE__ */ jsx41(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3875
+ children: /* @__PURE__ */ jsx43(Icon, { name: "TriangleRight", size: 16, color: variant === "purple" ? "white" : "black" })
3659
3876
  }
3660
3877
  )
3661
3878
  ] })
3662
3879
  ] }),
3663
- /* @__PURE__ */ jsx41(Spacing, { size: "xs" }),
3664
- /* @__PURE__ */ jsx41(Hr, { variant }),
3665
- /* @__PURE__ */ jsx41(Spacing, { size: "xs" }),
3666
- /* @__PURE__ */ jsx41(
3880
+ /* @__PURE__ */ jsx43(Spacing, { size: "xs" }),
3881
+ /* @__PURE__ */ jsx43(Hr, { variant }),
3882
+ /* @__PURE__ */ jsx43(Spacing, { size: "xs" }),
3883
+ /* @__PURE__ */ jsx43(
3667
3884
  CarouselContent,
3668
3885
  {
3669
3886
  onTouchStart,
@@ -3680,8 +3897,8 @@ var Carousel = ({ title, variant, children }) => {
3680
3897
  }
3681
3898
  )
3682
3899
  ] }),
3683
- /* @__PURE__ */ jsx41(Spacing, { size: "md" }),
3684
- /* @__PURE__ */ jsx41(DotsContainer, { children: /* @__PURE__ */ jsx41(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ jsx41(
3900
+ /* @__PURE__ */ jsx43(Spacing, { size: "md" }),
3901
+ /* @__PURE__ */ jsx43(DotsContainer, { children: /* @__PURE__ */ jsx43(Dots2, { role: "tablist", "aria-label": "Carousel Pagination", children: items.map((_, idx) => /* @__PURE__ */ jsx43(
3685
3902
  DotButton,
3686
3903
  {
3687
3904
  active: idx === activeIndex,
@@ -3697,12 +3914,12 @@ var Carousel = ({ title, variant, children }) => {
3697
3914
  }
3698
3915
  );
3699
3916
  };
3700
- var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx41(CarouselItemContainer, { ...props, style: { ...style }, children });
3917
+ var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx43(CarouselItemContainer, { ...props, style: { ...style }, children });
3701
3918
  Carousel.Item = CarouselItem;
3702
3919
 
3703
3920
  // src/components/PasswordInput.tsx
3704
- import { forwardRef as forwardRef12, useImperativeHandle as useImperativeHandle2, useRef as useRef6, useState as useState9 } from "react";
3705
- import { jsx as jsx42 } from "react/jsx-runtime";
3921
+ import { forwardRef as forwardRef12, useImperativeHandle as useImperativeHandle2, useRef as useRef7, useState as useState10 } from "react";
3922
+ import { jsx as jsx44 } from "react/jsx-runtime";
3706
3923
  var ToggleButton = styled("button", {
3707
3924
  all: "unset",
3708
3925
  cursor: "pointer",
@@ -3719,8 +3936,8 @@ var ToggleButton = styled("button", {
3719
3936
  });
3720
3937
  var PasswordInput = forwardRef12(
3721
3938
  ({ value, onChange, ...props }, ref) => {
3722
- const [visible, setVisible] = useState9(false);
3723
- const innerRef = useRef6(null);
3939
+ const [visible, setVisible] = useState10(false);
3940
+ const innerRef = useRef7(null);
3724
3941
  useImperativeHandle2(ref, () => innerRef.current);
3725
3942
  const handleToggleVisibility = () => {
3726
3943
  setVisible((v) => !v);
@@ -3731,7 +3948,7 @@ var PasswordInput = forwardRef12(
3731
3948
  }
3732
3949
  }, 0);
3733
3950
  };
3734
- return /* @__PURE__ */ jsx42(
3951
+ return /* @__PURE__ */ jsx44(
3735
3952
  Input2,
3736
3953
  {
3737
3954
  ...props,
@@ -3739,14 +3956,14 @@ var PasswordInput = forwardRef12(
3739
3956
  type: visible ? "text" : "password",
3740
3957
  value,
3741
3958
  onChange,
3742
- suffix: /* @__PURE__ */ jsx42(
3959
+ suffix: /* @__PURE__ */ jsx44(
3743
3960
  ToggleButton,
3744
3961
  {
3745
3962
  type: "button",
3746
3963
  onClick: handleToggleVisibility,
3747
3964
  onMouseDown: (e) => e.preventDefault(),
3748
3965
  "aria-label": visible ? "Ocultar senha" : "Mostrar senha",
3749
- children: visible ? /* @__PURE__ */ jsx42(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ jsx42(Icon, { name: "EyeOpen", size: 16, color: "black" })
3966
+ children: visible ? /* @__PURE__ */ jsx44(Icon, { name: "EyeClosed", size: 16, color: "black" }) : /* @__PURE__ */ jsx44(Icon, { name: "EyeOpen", size: 16, color: "black" })
3750
3967
  }
3751
3968
  )
3752
3969
  }
@@ -3838,18 +4055,18 @@ var OptionsButton = styled(Button, {
3838
4055
  });
3839
4056
 
3840
4057
  // src/components/Accordion/index.tsx
3841
- import { jsx as jsx43, jsxs as jsxs20 } from "react/jsx-runtime";
4058
+ import { jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
3842
4059
  var Accordion2 = React6.forwardRef(
3843
4060
  ({ title, children, dropdownItems }, ref) => {
3844
- return /* @__PURE__ */ jsx43(AccordionContainer, { type: "single", collapsible: true, ref, children: /* @__PURE__ */ jsxs20(AccordionItem, { value: "item-1", children: [
3845
- /* @__PURE__ */ jsxs20(AccordionHeader, { children: [
3846
- /* @__PURE__ */ jsx43(AccordionTrigger, { children: /* @__PURE__ */ jsx43("span", { children: title }) }),
3847
- /* @__PURE__ */ jsxs20(TriggerContent, { children: [
4061
+ return /* @__PURE__ */ jsx45(AccordionContainer, { type: "single", collapsible: true, ref, children: /* @__PURE__ */ jsxs21(AccordionItem, { value: "item-1", children: [
4062
+ /* @__PURE__ */ jsxs21(AccordionHeader, { children: [
4063
+ /* @__PURE__ */ jsx45(AccordionTrigger, { children: /* @__PURE__ */ jsx45("span", { children: title }) }),
4064
+ /* @__PURE__ */ jsxs21(TriggerContent, { children: [
3848
4065
  dropdownItems && dropdownItems,
3849
- /* @__PURE__ */ jsx43(RadixAccordion.Trigger, { asChild: true, children: /* @__PURE__ */ jsx43(StyledButton, { as: "div", variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx43(AccordionChevron, { name: "TriangleDown", size: 16, "aria-hidden": true }) }) })
4066
+ /* @__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 }) }) })
3850
4067
  ] })
3851
4068
  ] }),
3852
- /* @__PURE__ */ jsx43(RadixAccordion.Content, { asChild: true, children: /* @__PURE__ */ jsx43(AccordionContent, { children }) })
4069
+ /* @__PURE__ */ jsx45(RadixAccordion.Content, { asChild: true, children: /* @__PURE__ */ jsx45(AccordionContent, { children }) })
3853
4070
  ] }) });
3854
4071
  }
3855
4072
  );