@lets-events/react 3.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -235,7 +235,7 @@ var require_react_is_development = __commonJS({
235
235
  var ContextProvider = REACT_PROVIDER_TYPE;
236
236
  var Element = REACT_ELEMENT_TYPE;
237
237
  var ForwardRef = REACT_FORWARD_REF_TYPE;
238
- var Fragment2 = REACT_FRAGMENT_TYPE;
238
+ var Fragment3 = REACT_FRAGMENT_TYPE;
239
239
  var Lazy = REACT_LAZY_TYPE;
240
240
  var Memo = REACT_MEMO_TYPE;
241
241
  var Portal = REACT_PORTAL_TYPE;
@@ -294,7 +294,7 @@ var require_react_is_development = __commonJS({
294
294
  exports.ContextProvider = ContextProvider;
295
295
  exports.Element = Element;
296
296
  exports.ForwardRef = ForwardRef;
297
- exports.Fragment = Fragment2;
297
+ exports.Fragment = Fragment3;
298
298
  exports.Lazy = Lazy;
299
299
  exports.Memo = Memo;
300
300
  exports.Portal = Portal;
@@ -1011,15 +1011,26 @@ import { fab } from "@fortawesome/free-brands-svg-icons";
1011
1011
  import { jsx } from "react/jsx-runtime";
1012
1012
  library.add(fas, far, fab);
1013
1013
  var Icon = (_a) => {
1014
- var _b = _a, { name, prefix = "fas", size = "1x", color = "currentColor", className = "" } = _b, props = __objRest(_b, ["name", "prefix", "size", "color", "className"]);
1014
+ var _b = _a, { name, prefix = "fas", size = "sm", color = "currentColor", className = "" } = _b, props = __objRest(_b, ["name", "prefix", "size", "color", "className"]);
1015
+ var _a2, _b2;
1016
+ const sizeMap = {
1017
+ "xs": { width: "0.625rem", height: "0.625rem", fontSize: "0.625rem" },
1018
+ "sm": { width: "0.625rem", height: "0.625rem", fontSize: "0.625rem" },
1019
+ "md": { width: "0.75rem", height: "0.75rem", fontSize: "0.75rem" },
1020
+ "xl": { width: "1rem", height: "1rem", fontSize: "1rem" },
1021
+ undefined: { width: "0.75rem", height: "0.75rem", fontSize: "0.75rem" }
1022
+ };
1015
1023
  return /* @__PURE__ */ jsx(
1016
1024
  FontAwesomeIcon,
1017
- __spreadValues({
1025
+ __spreadProps(__spreadValues({
1018
1026
  icon: [prefix, name],
1019
- size,
1027
+ style: sizeMap[size],
1020
1028
  color,
1021
1029
  className
1022
- }, props)
1030
+ }, props), {
1031
+ width: (_a2 = sizeMap[size]) == null ? void 0 : _a2.width,
1032
+ height: (_b2 = sizeMap[size]) == null ? void 0 : _b2.height
1033
+ })
1023
1034
  );
1024
1035
  };
1025
1036
  Icon.propTypes = {
@@ -1066,6 +1077,7 @@ var colors = {
1066
1077
  red800: "#75151D",
1067
1078
  red900: "#380A0E",
1068
1079
  red950: "#1E0507",
1080
+ pink100: "#F9DCF3",
1069
1081
  purple50: "#F3EFFB",
1070
1082
  purple100: "#E6DEF7",
1071
1083
  purple200: "#D1C2F0",
@@ -1088,6 +1100,7 @@ var colors = {
1088
1100
  yellow800: "#664D03",
1089
1101
  yellow900: "#332701",
1090
1102
  yellow950: "#191300",
1103
+ orange100: "#FEE0D8",
1091
1104
  dark50: "#FFFFFF",
1092
1105
  dark100: "#F4F4F4",
1093
1106
  dark200: "#EAEBF0",
@@ -1307,170 +1320,30 @@ var {
1307
1320
 
1308
1321
  // src/components/Text.tsx
1309
1322
  import { Text as TextRadix } from "@radix-ui/themes";
1310
- var Text = styled(TextRadix, {
1311
- fontFamily: "$default",
1312
- lineHeight: "$base",
1313
- color: "$gray100",
1314
- letterSpacing: "$2",
1315
- fontWeight: "$semibold",
1316
- variants: {
1317
- size: {
1318
- lg: { fontSize: "$56" },
1319
- md: { fontSize: "$48" },
1320
- sm: { fontSize: "$36" }
1321
- }
1322
- },
1323
- defaultVariants: {
1324
- size: "md"
1325
- }
1326
- });
1327
-
1328
- // src/components/DisplayText.tsx
1329
- var DisplayText = styled("p", {
1323
+ import { jsx as jsx2 } from "react/jsx-runtime";
1324
+ var TextStyle = styled(TextRadix, {
1330
1325
  fontFamily: "$default",
1331
1326
  lineHeight: "$base",
1332
1327
  color: "$gray100",
1333
1328
  letterSpacing: "$2",
1334
1329
  fontWeight: "$semibold",
1330
+ fontSize: "$sm",
1335
1331
  variants: {
1336
1332
  size: {
1337
1333
  lg: { fontSize: "$56" },
1338
1334
  md: { fontSize: "$48" },
1339
1335
  sm: { fontSize: "$36" }
1340
1336
  }
1341
- },
1342
- defaultVariants: {
1343
- size: "md"
1344
- }
1345
- });
1346
-
1347
- // src/components/Headline.tsx
1348
- import { Heading } from "@radix-ui/themes";
1349
- var Headline = styled(Heading, {
1350
- fontFamily: "$default",
1351
- color: "$gray100",
1352
- letterSpacing: "0px",
1353
- variants: {
1354
- size: {
1355
- 1: { fontSize: "$48", lineHeight: "$64", fontWeight: "$semibold" },
1356
- 2: { fontSize: "$32", lineHeight: "$48", fontWeight: "$semibold" },
1357
- 3: { fontSize: "$24", lineHeight: "$40", fontWeight: "$semibold" },
1358
- 4: { fontSize: "$20", lineHeight: "$36", fontWeight: "$semibold" },
1359
- 5: { fontSize: "$18", lineHeight: "$24", fontWeight: "$semibold" },
1360
- 6: { fontSize: "$18", lineHeight: "$34", fontWeight: "$medium" },
1361
- 7: { fontSize: "$16", lineHeight: "$32", fontWeight: "$semibold" },
1362
- 8: { fontSize: "$16", lineHeight: "$32", fontWeight: "$medium" }
1363
- }
1364
- },
1365
- defaultVariants: {
1366
- size: 1
1367
- }
1368
- });
1369
-
1370
- // src/components/Subtitle.tsx
1371
- import { Text as Text2 } from "@radix-ui/themes";
1372
- var Subtitle = styled(Text2, {
1373
- fontFamily: "$default",
1374
- color: "$gray100",
1375
- letterSpacing: "0px",
1376
- variants: {
1377
- size: {
1378
- 1: { fontSize: "$20", lineHeight: "$36", fontWeight: "$regular" },
1379
- 2: { fontSize: "$18", lineHeight: "$34", fontWeight: "$regular" },
1380
- 3: { fontSize: "$16", lineHeight: "$32", fontWeight: "$regular" },
1381
- 4: { fontSize: "$14", lineHeight: "$24", fontWeight: "$regular" },
1382
- 5: { fontSize: "$14", lineHeight: "$16", fontWeight: "$semibold" }
1383
- }
1384
- },
1385
- defaultVariants: {
1386
- size: 1
1387
- }
1388
- });
1389
-
1390
- // src/components/BodyText.tsx
1391
- import { Text as Text3 } from "@radix-ui/themes";
1392
- var BodyText = styled(Text3, {
1393
- fontFamily: "$default",
1394
- color: "$gray100",
1395
- fontWeight: "$regular",
1396
- variants: {
1397
- size: {
1398
- 1: { fontSize: "$16", lineHeight: "$24" },
1399
- 2: { fontSize: "$14", lineHeight: "$24" },
1400
- 3: { fontSize: "$13", lineHeight: "$24" },
1401
- 4: { fontSize: "$12", lineHeight: "$16" }
1402
- }
1403
- },
1404
- defaultVariants: {
1405
- size: "1"
1406
- }
1407
- });
1408
-
1409
- // src/components/Label.tsx
1410
- import { Text as Text4 } from "@radix-ui/themes";
1411
- var Label = styled(Text4, {
1412
- fontFamily: "$default",
1413
- color: "$gray100",
1414
- letterSpacing: "0px",
1415
- variants: {
1416
- size: {
1417
- 1: { fontSize: "$18", lineHeight: "$22", fontWeight: "$semibold" },
1418
- 2: { fontSize: "$14", lineHeight: "$16", fontWeight: "$medium" },
1419
- 3: { fontSize: "$14", lineHeight: "$16", fontWeight: "$regular" },
1420
- 4: { fontSize: "$13", lineHeight: "$16", fontWeight: "$semibold", letterSpacing: "2px" },
1421
- 5: { fontSize: "$13", lineHeight: "$16", fontWeight: "$medium" },
1422
- 6: { fontSize: "$13", lineHeight: "$16", fontWeight: "$regular" },
1423
- 7: { fontSize: "$12", lineHeight: "$12", fontWeight: "$regular" }
1424
- }
1425
- },
1426
- defaultVariants: {
1427
- size: "1"
1428
- }
1429
- });
1430
-
1431
- // src/components/BadgeText.tsx
1432
- import { Text as Text5 } from "@radix-ui/themes";
1433
- var BadgeText = styled(Text5, {
1434
- fontFamily: "$default",
1435
- color: "$gray100",
1436
- letterSpacing: "0px",
1437
- variants: {
1438
- size: {
1439
- 1: { fontSize: "$16", lineHeight: "$16", fontWeight: "$regular" },
1440
- 2: { fontSize: "$14", lineHeight: "$14", fontWeight: "$regular" },
1441
- 3: { fontSize: "$12", lineHeight: "$12", fontWeight: "$regular" },
1442
- 4: { fontSize: "$10", lineHeight: "$10", fontWeight: "$regular" }
1443
- }
1444
- },
1445
- defaultVariants: {
1446
- size: "1"
1447
1337
  }
1448
1338
  });
1449
-
1450
- // src/components/CaptionText.tsx
1451
- import { Text as Text6 } from "@radix-ui/themes";
1452
- var CaptionText = styled(Text6, {
1453
- fontFamily: "$default",
1454
- color: "$gray100",
1455
- letterSpacing: "0px",
1456
- fontSize: "$14",
1457
- lineHeight: "$16",
1458
- fontWeight: "$regular"
1459
- });
1460
-
1461
- // src/components/TooltipText.tsx
1462
- var TooltipText = styled("span", {
1463
- fontFamily: "$default",
1464
- color: "$gray100",
1465
- letterSpacing: "0px",
1466
- fontSize: "$13",
1467
- lineHeight: "$16",
1468
- fontWeight: "$regular"
1469
- });
1339
+ function Text(_a) {
1340
+ var props = __objRest(_a, []);
1341
+ return /* @__PURE__ */ jsx2(TextStyle, __spreadValues({}, props));
1342
+ }
1470
1343
 
1471
1344
  // src/components/Button.tsx
1472
1345
  import { Button as ButtonRadix } from "@radix-ui/themes";
1473
- import { jsx as jsx2 } from "react/jsx-runtime";
1346
+ import { jsx as jsx3 } from "react/jsx-runtime";
1474
1347
  var ButtonStyled = styled(ButtonRadix, {
1475
1348
  fontFamily: "$default",
1476
1349
  letterSpacing: 0,
@@ -1483,166 +1356,333 @@ var ButtonStyled = styled(ButtonRadix, {
1483
1356
  alignItems: "center",
1484
1357
  justifyContent: "center",
1485
1358
  gap: "$10",
1359
+ "&:disabled": {
1360
+ cursor: "not-allowed",
1361
+ transition: "none"
1362
+ },
1486
1363
  variants: {
1364
+ color: {
1365
+ brand: {},
1366
+ neutral: {},
1367
+ purple: {}
1368
+ },
1487
1369
  variant: {
1488
- simple: {
1370
+ text: {
1489
1371
  backgroundColor: "transparent",
1490
- padding: 0,
1491
- color: "$neutral600",
1492
- border: 0,
1493
1372
  boxShadow: "none",
1373
+ padding: 0,
1374
+ border: 0
1375
+ },
1376
+ contained: {
1494
1377
  "&:hover": {
1495
- transform: "scale(1.05)",
1496
- color: "$brand600"
1378
+ borderWidth: "$2",
1379
+ borderStyle: "solid"
1497
1380
  },
1498
1381
  "&:focus": {
1499
- border: "2px solid $gray500",
1500
- color: "$brand700"
1382
+ border: 0
1501
1383
  },
1502
1384
  "&:active": {
1503
- transform: "scale(0.95)",
1504
- color: "$brand500"
1385
+ borderWidth: "$4",
1386
+ borderStyle: "solid"
1387
+ },
1388
+ "&:disabled": {
1389
+ borderWidth: "$1",
1390
+ borderStyle: "solid",
1391
+ boxShadow: "none"
1392
+ }
1393
+ },
1394
+ outlined: {
1395
+ borderWidth: "$1",
1396
+ borderStyle: "solid",
1397
+ "&:hover": {
1398
+ borderWidth: "$2",
1399
+ borderStyle: "solid"
1400
+ },
1401
+ "&:focus": {
1402
+ borderWidth: "$2",
1403
+ borderStyle: "solid"
1505
1404
  },
1506
- "&:hover:disabled": {
1507
- transform: "none"
1405
+ "&:active": {
1406
+ borderWidth: "$2",
1407
+ borderStyle: "solid"
1508
1408
  },
1509
1409
  "&:disabled": {
1510
- cursor: "not-allowed",
1511
- color: "$dark400",
1512
- transition: "none"
1410
+ borderWidth: "$1",
1411
+ borderStyle: "solid",
1412
+ color: "$neutral400"
1513
1413
  }
1414
+ }
1415
+ },
1416
+ size: {
1417
+ xs: {
1418
+ padding: "$6 $12",
1419
+ fontSize: "$12",
1420
+ lineHeight: "$base"
1514
1421
  },
1515
- primary: {
1516
- backgroundColor: "$brand500",
1422
+ sm: {
1423
+ padding: "$8 $14",
1424
+ fontSize: "$13",
1425
+ lineHeight: "$smaller"
1426
+ },
1427
+ md: {
1428
+ padding: "$12 $16",
1429
+ fontSize: "$14",
1430
+ lineHeight: "$smaller"
1431
+ },
1432
+ lg: {
1433
+ padding: "$13 $20",
1434
+ fontSize: "$18",
1435
+ lineHeight: "$smaller"
1436
+ }
1437
+ },
1438
+ radii: {
1439
+ "full": {
1440
+ borderRadius: "$full"
1441
+ }
1442
+ }
1443
+ },
1444
+ defaultVariants: {
1445
+ variant: "contained",
1446
+ size: "md",
1447
+ color: "brand"
1448
+ },
1449
+ compoundVariants: [
1450
+ {
1451
+ variant: "text",
1452
+ color: "brand",
1453
+ css: {
1454
+ color: "$brand500",
1455
+ "&:hover": { color: "$brand600" },
1456
+ "&:focus": { color: "$brand700" },
1457
+ "&:active": { color: "$brand500" },
1458
+ "&:disabled": { color: "$dark400" }
1459
+ }
1460
+ },
1461
+ {
1462
+ variant: "text",
1463
+ color: "neutral",
1464
+ css: {
1465
+ color: "$neutral600",
1466
+ "&:hover": { color: "$neutral700" },
1467
+ "&:focus": { color: "$neutral800" },
1468
+ "&:active": { color: "$neutral500" },
1469
+ "&:disabled": { color: "$dark400" }
1470
+ }
1471
+ },
1472
+ {
1473
+ variant: "text",
1474
+ color: "purple",
1475
+ css: {
1476
+ color: "$purple500",
1477
+ "&:hover": { color: "$purple600" },
1478
+ "&:focus": { color: "$purple700" },
1479
+ "&:active": { color: "$purple500" },
1480
+ "&:disabled": { color: "$dark400" }
1481
+ }
1482
+ },
1483
+ {
1484
+ variant: "text",
1485
+ color: "green",
1486
+ css: {
1487
+ color: "$green500",
1488
+ "&:hover": { color: "$green600" },
1489
+ "&:focus": { color: "$green700" },
1490
+ "&:active": { color: "$green500" },
1491
+ "&:disabled": { color: "$dark400" }
1492
+ }
1493
+ },
1494
+ {
1495
+ variant: "text",
1496
+ color: "blue",
1497
+ css: {
1498
+ color: "$blue500",
1499
+ "&:hover": { color: "$blue600" },
1500
+ "&:focus": { color: "$blue700" },
1501
+ "&:active": { color: "$blue500" },
1502
+ "&:disabled": { color: "$dark400" }
1503
+ }
1504
+ },
1505
+ {
1506
+ variant: "text",
1507
+ color: "red",
1508
+ css: {
1509
+ color: "$red500",
1510
+ "&:hover": { color: "$red600" },
1511
+ "&:focus": { color: "$red700" },
1512
+ "&:active": { color: "$red500" },
1513
+ "&:disabled": { color: "$dark400" }
1514
+ }
1515
+ },
1516
+ // contained
1517
+ {
1518
+ variant: "contained",
1519
+ color: "brand",
1520
+ css: {
1517
1521
  color: "$grey50",
1522
+ backgroundColor: "$brand500",
1523
+ borderWidth: "$2",
1524
+ borderStyle: "solid",
1525
+ borderColor: "transparent",
1518
1526
  "&:hover": {
1519
- border: "$2 solid $brand700",
1520
- transform: "scale(1.05)",
1527
+ borderColor: "$brand700",
1521
1528
  backgroundColor: "$blue600"
1522
1529
  },
1523
1530
  "&:focus": {
1524
- border: 0,
1525
1531
  backgroundColor: "$blue700"
1526
1532
  },
1527
1533
  "&:active": {
1528
- transform: "scale(0.95)",
1529
- border: "$4 solid $brand300",
1534
+ borderColor: "$brand300",
1530
1535
  backgroundColor: "$blue500"
1531
1536
  },
1532
- "&:hover:disabled": {
1533
- transform: "none"
1534
- },
1535
1537
  "&:disabled": {
1536
- border: "$1 solid $brand50",
1538
+ borderColor: "$brand50",
1537
1539
  backgroundColor: "$brand50",
1538
- boxShadow: "none",
1539
- color: "$neutral400",
1540
- transition: "none"
1540
+ color: "$neutral400"
1541
1541
  }
1542
- },
1543
- purple: {
1542
+ }
1543
+ },
1544
+ {
1545
+ variant: "contained",
1546
+ color: "neutral",
1547
+ css: {
1548
+ backgroundColor: "$neutral600",
1549
+ color: "$grey50",
1550
+ "&:hover": {
1551
+ backgroundColor: "$neutral700",
1552
+ borderColor: "$neutral800"
1553
+ },
1554
+ "&:focus": {
1555
+ backgroundColor: "$neutral800"
1556
+ },
1557
+ "&:active": {
1558
+ backgroundColor: "$neutral500",
1559
+ borderColor: "$neutral400"
1560
+ },
1561
+ "&:disabled": {
1562
+ backgroundColor: "$neutral50",
1563
+ borderColor: "$neutral200",
1564
+ color: "$neutral400"
1565
+ }
1566
+ }
1567
+ },
1568
+ {
1569
+ variant: "contained",
1570
+ color: "purple",
1571
+ css: {
1544
1572
  backgroundColor: "$purple500",
1545
1573
  color: "$grey50",
1546
1574
  "&:hover": {
1547
- transform: "scale(1.05)",
1548
1575
  backgroundColor: "$purple600",
1549
- border: "$2 solid $purple700"
1576
+ borderColor: "$purple700"
1550
1577
  },
1551
1578
  "&:focus": {
1552
- border: "$2 solid $purple700",
1553
- backgroundColor: "$purple600"
1579
+ backgroundColor: "$purple700"
1554
1580
  },
1555
1581
  "&:active": {
1556
- transform: "scale(0.95)",
1557
- border: "$2 solid $purple300",
1582
+ borderColor: "$purple300",
1558
1583
  backgroundColor: "$purple500"
1559
1584
  },
1560
- "&:hover:disabled": {
1561
- transform: "none"
1562
- },
1563
1585
  "&:disabled": {
1564
- border: "$1 solid $purple200",
1586
+ borderColor: "$purple200",
1565
1587
  backgroundColor: "$purple200",
1566
- transition: "none"
1588
+ color: "$neutral400"
1567
1589
  }
1568
- },
1569
- secondary: {
1570
- backgroundColor: "$neutral500",
1571
- border: "$1 solid $neutral300",
1572
- color: "$neutral600",
1590
+ }
1591
+ },
1592
+ // outlined
1593
+ {
1594
+ variant: "outlined",
1595
+ color: "brand",
1596
+ css: {
1597
+ color: "$brand500",
1598
+ borderColor: "$brand300",
1599
+ backgroundColor: "$grey50",
1573
1600
  "&:hover": {
1574
- transform: "scale(1.05)",
1575
- backgroundColor: "$neutral100",
1576
- border: "$1 solid $neutral400"
1601
+ borderColor: "$brand400",
1602
+ backgroundColor: "$brand50"
1577
1603
  },
1578
1604
  "&:focus": {
1579
- backgroundColor: "$neutral200",
1580
- border: 0
1605
+ borderColor: "$brand400",
1606
+ backgroundColor: "$brand50"
1581
1607
  },
1582
1608
  "&:active": {
1583
- transform: "scale(0.95)",
1584
- backgroundColor: "$neutral50",
1585
- border: "$1 solid $neutral300"
1586
- },
1587
- "&:hover:disabled": {
1588
- transform: "none"
1609
+ borderColor: "$brand300",
1610
+ backgroundColor: "$grey50"
1589
1611
  },
1590
1612
  "&:disabled": {
1591
- backgroundColor: "$neutral50",
1592
- border: "$1 solid $neutral200",
1593
- color: "$neutral400",
1594
- transition: "none"
1613
+ borderColor: "$brand200",
1614
+ backgroundColor: "$neutral200"
1595
1615
  }
1596
1616
  }
1597
1617
  },
1598
- size: {
1599
- xs: {
1600
- padding: "$6 $12",
1601
- fontSize: "$12",
1602
- lineHeight: "$base"
1603
- },
1604
- sm: {
1605
- padding: "$8 $14",
1606
- fontSize: "$13",
1607
- lineHeight: "$smaller"
1608
- },
1609
- md: {
1610
- padding: "$12 $16",
1611
- fontSize: "$14",
1612
- lineHeight: "$smaller"
1613
- },
1614
- lg: {
1615
- padding: "$13 $20",
1616
- fontSize: "$18",
1617
- lineHeight: "$smaller"
1618
+ {
1619
+ variant: "outlined",
1620
+ color: "neutral",
1621
+ css: {
1622
+ color: "$neutral600",
1623
+ borderColor: "$neutral300",
1624
+ backgroundColor: "$grey50",
1625
+ "&:hover": {
1626
+ borderColor: "$neutral400",
1627
+ backgroundColor: "$grey100"
1628
+ },
1629
+ "&:focus": {
1630
+ borderColor: "$neutral400",
1631
+ backgroundColor: "$grey100"
1632
+ },
1633
+ "&:active": {
1634
+ borderColor: "$neutral300",
1635
+ backgroundColor: "$grey50"
1636
+ },
1637
+ "&:disabled": {
1638
+ borderColor: "$neutral200",
1639
+ backgroundColor: "$neutral200"
1640
+ }
1618
1641
  }
1619
1642
  },
1620
- radii: {
1621
- "full": {
1622
- borderRadius: "$full"
1643
+ {
1644
+ variant: "outlined",
1645
+ color: "purple",
1646
+ css: {
1647
+ color: "$purple500",
1648
+ borderColor: "$purple300",
1649
+ backgroundColor: "$grey50",
1650
+ "&:hover": {
1651
+ borderColor: "$purple400",
1652
+ backgroundColor: "$purple50"
1653
+ },
1654
+ "&:focus": {
1655
+ borderColor: "$purple400",
1656
+ backgroundColor: "$purple50"
1657
+ },
1658
+ "&:active": {
1659
+ borderColor: "$purple300",
1660
+ backgroundColor: "$grey50"
1661
+ },
1662
+ "&:disabled": {
1663
+ borderColor: "$purple200",
1664
+ backgroundColor: "$neutral200"
1665
+ }
1623
1666
  }
1624
1667
  }
1625
- },
1626
- defaultVariants: {
1627
- variant: "simple",
1628
- size: "md"
1629
- }
1668
+ ]
1630
1669
  });
1631
1670
  function Button(_a) {
1632
1671
  var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
1633
1672
  const Component = asChild ? ButtonRadix : "button";
1634
- return /* @__PURE__ */ jsx2(ButtonStyled, __spreadValues({ as: Component }, props));
1673
+ return /* @__PURE__ */ jsx3(ButtonStyled, __spreadValues({ as: Component }, props));
1635
1674
  }
1636
1675
 
1637
1676
  // src/components/ButtonGroup.tsx
1638
1677
  import { Button as Button2, Flex } from "@radix-ui/themes";
1639
- import { jsx as jsx3 } from "react/jsx-runtime";
1678
+ import { jsx as jsx4 } from "react/jsx-runtime";
1640
1679
  var ButtonItemStyled = styled(Button2, {
1641
1680
  fontFamily: "$default",
1642
1681
  letterSpacing: 0,
1643
1682
  border: 0,
1644
1683
  transition: "all 300ms ease-out",
1645
1684
  cursor: "pointer",
1685
+ boxSizing: "border-box",
1646
1686
  variants: {
1647
1687
  active: {
1648
1688
  true: {}
@@ -1654,41 +1694,66 @@ var ButtonGroupStyled = styled(Flex, {
1654
1694
  borderRadius: "$md",
1655
1695
  overflow: "hidden",
1656
1696
  variants: {
1697
+ color: {
1698
+ brand: {},
1699
+ neutral: {},
1700
+ purple: {},
1701
+ green: {},
1702
+ blue: {},
1703
+ red: {}
1704
+ },
1657
1705
  variant: {
1658
- primary: {
1706
+ text: {
1659
1707
  [`& ${ButtonItemStyled}`]: {
1660
- backgroundColor: "$brand500",
1661
- color: "$grey50",
1662
- "&:hover": { backgroundColor: "$blue600" },
1663
- "&:focus": { backgroundColor: "$blue700" },
1664
- "&:active": { backgroundColor: "$blue400" }
1665
- },
1666
- [`& ${ButtonItemStyled}.active`]: {
1667
- backgroundColor: "$brand700",
1668
- "&:hover": { backgroundColor: "$brand700" },
1669
- "&:focus": { backgroundColor: "$brand700" },
1670
- "&:active": { backgroundColor: "$brand700" }
1708
+ backgroundColor: "transparent",
1709
+ boxShadow: "none",
1710
+ padding: 0,
1711
+ border: 0
1671
1712
  }
1672
1713
  },
1673
- simple: {
1714
+ contained: {
1674
1715
  [`& ${ButtonItemStyled}`]: {
1675
- backgroundColor: "transparent",
1676
- border: "1px solid $dark300",
1677
- color: "$dark600",
1678
- "&:hover": { backgroundColor: "$neutral" }
1679
- },
1680
- [`& ${ButtonItemStyled}.active`]: {
1681
- backgroundColor: "$dark200",
1682
- color: "$dark600",
1683
- "&:hover": { backgroundColor: "$dark200", color: "$dark600" }
1716
+ borderWidth: "$1",
1717
+ borderStyle: "solid",
1718
+ "&:disabled": {
1719
+ boxShadow: "none"
1720
+ }
1721
+ }
1722
+ },
1723
+ outlined: {
1724
+ [`& ${ButtonItemStyled}`]: {
1725
+ borderWidth: "$1",
1726
+ borderStyle: "solid",
1727
+ "&:disabled": {
1728
+ color: "$neutral400"
1729
+ }
1684
1730
  }
1685
1731
  }
1686
1732
  },
1687
1733
  size: {
1734
+ xs: {
1735
+ [`& ${ButtonItemStyled}`]: {
1736
+ padding: "$6 $12",
1737
+ fontSize: "$12",
1738
+ lineHeight: "$base",
1739
+ "&:not(:first-child)": {
1740
+ borderLeft: "none"
1741
+ },
1742
+ "&:first-child": {
1743
+ borderTopLeftRadius: "$xs",
1744
+ borderBottomLeftRadius: "$xs"
1745
+ },
1746
+ "&:last-child": {
1747
+ borderTopRightRadius: "$xs",
1748
+ borderBottomRightRadius: "$xs"
1749
+ }
1750
+ }
1751
+ },
1688
1752
  sm: {
1689
1753
  [`& ${ButtonItemStyled}`]: {
1690
1754
  padding: "$8 $14",
1691
1755
  fontSize: "$13",
1756
+ lineHeight: "$smaller",
1692
1757
  "&:not(:first-child)": {
1693
1758
  borderLeft: "none"
1694
1759
  },
@@ -1706,6 +1771,7 @@ var ButtonGroupStyled = styled(Flex, {
1706
1771
  [`& ${ButtonItemStyled}`]: {
1707
1772
  padding: "$12 $16",
1708
1773
  fontSize: "$14",
1774
+ lineHeight: "$smaller",
1709
1775
  "&:not(:first-child)": {
1710
1776
  borderLeft: "none"
1711
1777
  },
@@ -1723,6 +1789,7 @@ var ButtonGroupStyled = styled(Flex, {
1723
1789
  [`& ${ButtonItemStyled}`]: {
1724
1790
  padding: "$13 $20",
1725
1791
  fontSize: "$18",
1792
+ lineHeight: "$smaller",
1726
1793
  "&:not(:first-child)": {
1727
1794
  borderLeft: "none"
1728
1795
  },
@@ -1738,23 +1805,345 @@ var ButtonGroupStyled = styled(Flex, {
1738
1805
  }
1739
1806
  }
1740
1807
  },
1808
+ compoundVariants: [
1809
+ // text
1810
+ {
1811
+ variant: "text",
1812
+ color: "brand",
1813
+ css: {
1814
+ [`& ${ButtonItemStyled}`]: {
1815
+ color: "$brand500",
1816
+ "&:hover": { color: "$brand600" },
1817
+ "&:focus": { color: "$brand700" },
1818
+ "&:active": { color: "$brand500" },
1819
+ "&:disabled": { color: "$dark400" }
1820
+ },
1821
+ [`& ${ButtonItemStyled}.active`]: {
1822
+ color: "$brand700",
1823
+ "&:hover": { color: "$brand700" },
1824
+ "&:focus": { color: "$brand700" },
1825
+ "&:active": { color: "$brand700" }
1826
+ }
1827
+ }
1828
+ },
1829
+ {
1830
+ variant: "text",
1831
+ color: "neutral",
1832
+ css: {
1833
+ [`& ${ButtonItemStyled}`]: {
1834
+ color: "$neutral600",
1835
+ "&:hover": { color: "$neutral700" },
1836
+ "&:focus": { color: "$neutral800" },
1837
+ "&:active": { color: "$neutral500" },
1838
+ "&:disabled": { color: "$dark400" }
1839
+ },
1840
+ [`& ${ButtonItemStyled}.active`]: {
1841
+ color: "$neutral800",
1842
+ "&:hover": { color: "$neutral800" },
1843
+ "&:focus": { color: "$neutral800" },
1844
+ "&:active": { color: "$neutral800" }
1845
+ }
1846
+ }
1847
+ },
1848
+ {
1849
+ variant: "text",
1850
+ color: "purple",
1851
+ css: {
1852
+ [`& ${ButtonItemStyled}`]: {
1853
+ color: "$purple500",
1854
+ "&:hover": { color: "$purple600" },
1855
+ "&:focus": { color: "$purple700" },
1856
+ "&:active": { color: "$purple500" },
1857
+ "&:disabled": { color: "$dark400" }
1858
+ },
1859
+ [`& ${ButtonItemStyled}.active`]: {
1860
+ color: "$purple700",
1861
+ "&:hover": { color: "$purple700" },
1862
+ "&:focus": { color: "$purple700" },
1863
+ "&:active": { color: "$purple700" }
1864
+ }
1865
+ }
1866
+ },
1867
+ {
1868
+ variant: "text",
1869
+ color: "green",
1870
+ css: {
1871
+ [`& ${ButtonItemStyled}`]: {
1872
+ color: "$green500",
1873
+ "&:hover": { color: "$green600" },
1874
+ "&:focus": { color: "$green700" },
1875
+ "&:active": { color: "$green500" },
1876
+ "&:disabled": { color: "$dark400" }
1877
+ },
1878
+ [`& ${ButtonItemStyled}.active`]: {
1879
+ color: "$green700",
1880
+ "&:hover": { color: "$green700" },
1881
+ "&:focus": { color: "$green700" },
1882
+ "&:active": { color: "$green700" }
1883
+ }
1884
+ }
1885
+ },
1886
+ {
1887
+ variant: "text",
1888
+ color: "blue",
1889
+ css: {
1890
+ [`& ${ButtonItemStyled}`]: {
1891
+ color: "$blue500",
1892
+ "&:hover": { color: "$blue600" },
1893
+ "&:focus": { color: "$blue700" },
1894
+ "&:active": { color: "$blue500" },
1895
+ "&:disabled": { color: "$dark400" }
1896
+ },
1897
+ [`& ${ButtonItemStyled}.active`]: {
1898
+ color: "$blue700",
1899
+ "&:hover": { color: "$blue700" },
1900
+ "&:focus": { color: "$blue700" },
1901
+ "&:active": { color: "$blue700" }
1902
+ }
1903
+ }
1904
+ },
1905
+ {
1906
+ variant: "text",
1907
+ color: "red",
1908
+ css: {
1909
+ [`& ${ButtonItemStyled}`]: {
1910
+ color: "$red500",
1911
+ "&:hover": { color: "$red600" },
1912
+ "&:focus": { color: "$red700" },
1913
+ "&:active": { color: "$red500" },
1914
+ "&:disabled": { color: "$dark400" }
1915
+ },
1916
+ [`& ${ButtonItemStyled}.active`]: {
1917
+ color: "$red700",
1918
+ "&:hover": { color: "$red700" },
1919
+ "&:focus": { color: "$red700" },
1920
+ "&:active": { color: "$red700" }
1921
+ }
1922
+ }
1923
+ },
1924
+ // contained
1925
+ {
1926
+ variant: "contained",
1927
+ color: "brand",
1928
+ css: {
1929
+ [`& ${ButtonItemStyled}`]: {
1930
+ color: "$grey50",
1931
+ backgroundColor: "$brand500",
1932
+ borderColor: "$brand500",
1933
+ "&:hover": {
1934
+ backgroundColor: "$blue600"
1935
+ },
1936
+ "&:focus": {
1937
+ backgroundColor: "$blue700"
1938
+ },
1939
+ "&:active": {
1940
+ backgroundColor: "$blue500"
1941
+ },
1942
+ "&:disabled": {
1943
+ backgroundColor: "$brand50",
1944
+ color: "$neutral400"
1945
+ }
1946
+ },
1947
+ [`& ${ButtonItemStyled}.active`]: {
1948
+ backgroundColor: "$brand700",
1949
+ "&:hover": { backgroundColor: "$brand700" },
1950
+ "&:focus": { backgroundColor: "$brand700" },
1951
+ "&:active": { backgroundColor: "$brand700" }
1952
+ }
1953
+ }
1954
+ },
1955
+ {
1956
+ variant: "contained",
1957
+ color: "neutral",
1958
+ css: {
1959
+ [`& ${ButtonItemStyled}`]: {
1960
+ backgroundColor: "$neutral600",
1961
+ color: "$grey50",
1962
+ "&:hover": {
1963
+ backgroundColor: "$neutral700",
1964
+ borderColor: "$neutral800"
1965
+ },
1966
+ "&:focus": {
1967
+ backgroundColor: "$neutral800"
1968
+ },
1969
+ "&:active": {
1970
+ backgroundColor: "$neutral500",
1971
+ borderColor: "$neutral400"
1972
+ },
1973
+ "&:disabled": {
1974
+ backgroundColor: "$neutral50",
1975
+ borderColor: "$neutral200",
1976
+ color: "$neutral400"
1977
+ }
1978
+ },
1979
+ [`& ${ButtonItemStyled}.active`]: {
1980
+ backgroundColor: "$neutral800",
1981
+ "&:hover": { backgroundColor: "$neutral800" },
1982
+ "&:focus": { backgroundColor: "$neutral800" },
1983
+ "&:active": { backgroundColor: "$neutral800" }
1984
+ }
1985
+ }
1986
+ },
1987
+ {
1988
+ variant: "contained",
1989
+ color: "purple",
1990
+ css: {
1991
+ [`& ${ButtonItemStyled}`]: {
1992
+ backgroundColor: "$purple500",
1993
+ color: "$grey50",
1994
+ "&:hover": {
1995
+ backgroundColor: "$purple600",
1996
+ borderColor: "$purple700"
1997
+ },
1998
+ "&:focus": {
1999
+ backgroundColor: "$purple700"
2000
+ },
2001
+ "&:active": {
2002
+ borderColor: "$purple300",
2003
+ backgroundColor: "$purple500"
2004
+ },
2005
+ "&:disabled": {
2006
+ borderColor: "$purple200",
2007
+ backgroundColor: "$purple200",
2008
+ color: "$neutral400"
2009
+ }
2010
+ },
2011
+ [`& ${ButtonItemStyled}.active`]: {
2012
+ backgroundColor: "$purple700",
2013
+ "&:hover": { backgroundColor: "$purple700" },
2014
+ "&:focus": { backgroundColor: "$purple700" },
2015
+ "&:active": { backgroundColor: "$purple700" }
2016
+ }
2017
+ }
2018
+ },
2019
+ // outlined
2020
+ {
2021
+ variant: "outlined",
2022
+ color: "brand",
2023
+ css: {
2024
+ [`& ${ButtonItemStyled}`]: {
2025
+ color: "$brand500",
2026
+ borderColor: "$brand300",
2027
+ backgroundColor: "$grey50",
2028
+ "&:hover": {
2029
+ borderColor: "$brand400",
2030
+ backgroundColor: "$brand50"
2031
+ },
2032
+ "&:focus": {
2033
+ borderColor: "$brand400",
2034
+ backgroundColor: "$brand50"
2035
+ },
2036
+ "&:active": {
2037
+ borderColor: "$brand300",
2038
+ backgroundColor: "$grey50"
2039
+ },
2040
+ "&:disabled": {
2041
+ borderColor: "$brand200",
2042
+ backgroundColor: "$neutral200",
2043
+ color: "$neutral400"
2044
+ }
2045
+ },
2046
+ [`& ${ButtonItemStyled}.active`]: {
2047
+ color: "$brand700",
2048
+ borderColor: "$brand600",
2049
+ backgroundColor: "$brand50",
2050
+ "&:hover": { backgroundColor: "$brand50", borderColor: "$brand600" },
2051
+ "&:focus": { backgroundColor: "$brand50", borderColor: "$brand600" },
2052
+ "&:active": { backgroundColor: "$brand50", borderColor: "$brand600" }
2053
+ }
2054
+ }
2055
+ },
2056
+ {
2057
+ variant: "outlined",
2058
+ color: "neutral",
2059
+ css: {
2060
+ [`& ${ButtonItemStyled}`]: {
2061
+ color: "$neutral600",
2062
+ borderColor: "$neutral300",
2063
+ backgroundColor: "$grey50",
2064
+ "&:hover": {
2065
+ borderColor: "$neutral400",
2066
+ backgroundColor: "$grey100"
2067
+ },
2068
+ "&:focus": {
2069
+ borderColor: "$neutral400",
2070
+ backgroundColor: "$grey100"
2071
+ },
2072
+ "&:active": {
2073
+ borderColor: "$neutral300",
2074
+ backgroundColor: "$grey50"
2075
+ },
2076
+ "&:disabled": {
2077
+ borderColor: "$neutral200",
2078
+ backgroundColor: "$neutral200",
2079
+ color: "$neutral400"
2080
+ }
2081
+ },
2082
+ [`& ${ButtonItemStyled}.active`]: {
2083
+ color: "$neutral800",
2084
+ borderColor: "$neutral600",
2085
+ backgroundColor: "$grey100",
2086
+ "&:hover": { backgroundColor: "$grey100", borderColor: "$neutral600" },
2087
+ "&:focus": { backgroundColor: "$grey100", borderColor: "$neutral600" },
2088
+ "&:active": { backgroundColor: "$grey100", borderColor: "$neutral600" }
2089
+ }
2090
+ }
2091
+ },
2092
+ {
2093
+ variant: "outlined",
2094
+ color: "purple",
2095
+ css: {
2096
+ [`& ${ButtonItemStyled}`]: {
2097
+ color: "$purple500",
2098
+ borderColor: "$purple300",
2099
+ backgroundColor: "$grey50",
2100
+ "&:hover": {
2101
+ borderColor: "$purple400",
2102
+ backgroundColor: "$purple50"
2103
+ },
2104
+ "&:focus": {
2105
+ borderColor: "$purple400",
2106
+ backgroundColor: "$purple50"
2107
+ },
2108
+ "&:active": {
2109
+ borderColor: "$purple300",
2110
+ backgroundColor: "$grey50"
2111
+ },
2112
+ "&:disabled": {
2113
+ borderColor: "$purple200",
2114
+ backgroundColor: "$neutral200",
2115
+ color: "$neutral400"
2116
+ }
2117
+ },
2118
+ [`& ${ButtonItemStyled}.active`]: {
2119
+ color: "$purple700",
2120
+ borderColor: "$purple600",
2121
+ backgroundColor: "$purple50",
2122
+ "&:hover": { backgroundColor: "$purple50", borderColor: "$purple600" },
2123
+ "&:focus": { backgroundColor: "$purple50", borderColor: "$purple600" },
2124
+ "&:active": { backgroundColor: "$purple50", borderColor: "$purple600" }
2125
+ }
2126
+ }
2127
+ }
2128
+ ],
1741
2129
  defaultVariants: {
1742
- variant: "primary",
1743
- size: "md"
2130
+ variant: "contained",
2131
+ size: "md",
2132
+ color: "brand"
1744
2133
  }
1745
2134
  });
1746
2135
  function ButtonItem(_a) {
1747
2136
  var _b = _a, { children, active } = _b, props = __objRest(_b, ["children", "active"]);
1748
- return /* @__PURE__ */ jsx3(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
2137
+ return /* @__PURE__ */ jsx4(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
1749
2138
  }
1750
2139
  function ButtonGroup(_a) {
1751
2140
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1752
- return /* @__PURE__ */ jsx3(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2141
+ return /* @__PURE__ */ jsx4(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
1753
2142
  }
1754
2143
 
1755
2144
  // src/components/Avatar.tsx
1756
2145
  import { Avatar as AvatarRadix } from "@radix-ui/themes";
1757
- import { jsx as jsx4 } from "react/jsx-runtime";
2146
+ import { jsx as jsx5 } from "react/jsx-runtime";
1758
2147
  var AvatarStyled = styled(AvatarRadix, {
1759
2148
  fontFamily: "$default",
1760
2149
  color: "$gray100",
@@ -1799,56 +2188,12 @@ var AvatarStyled = styled(AvatarRadix, {
1799
2188
  });
1800
2189
  function Avatar(_a) {
1801
2190
  var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
1802
- return /* @__PURE__ */ jsx4(AvatarStyled, __spreadValues({ as: AvatarRadix }, props));
2191
+ return /* @__PURE__ */ jsx5(AvatarStyled, __spreadValues({ as: AvatarRadix }, props));
1803
2192
  }
1804
2193
 
1805
- // src/components/Flex.tsx
1806
- import { Flex as FlexRadix } from "@radix-ui/themes";
1807
- var Flex2 = styled(FlexRadix, {
1808
- display: "flex",
1809
- variants: {
1810
- direction: {
1811
- row: { flexDirection: "row" },
1812
- column: { flexDirection: "column" },
1813
- "row-reverse": { flexDirection: "row-reverse" },
1814
- "column-reverse": { flexDirection: "column-reverse" }
1815
- },
1816
- gap: {
1817
- 2: { gap: "$2" },
1818
- 4: { gap: "$4" },
1819
- 6: { gap: "$6" },
1820
- 8: { gap: "$8" },
1821
- 10: { gap: "$10" },
1822
- 12: { gap: "$12" },
1823
- 14: { gap: "$14" },
1824
- 16: { gap: "$16" },
1825
- 20: { gap: "$20" },
1826
- 22: { gap: "$22" },
1827
- 24: { gap: "$24" },
1828
- 32: { gap: "$32" },
1829
- 36: { gap: "$36" },
1830
- 40: { gap: "$40" },
1831
- 48: { gap: "$48" },
1832
- 56: { gap: "$56" },
1833
- 64: { gap: "$64" },
1834
- 72: { gap: "$72" },
1835
- 80: { gap: "$80" },
1836
- full: { gap: "$full" }
1837
- }
1838
- },
1839
- defaultVariants: {
1840
- direction: "row",
1841
- gap: 10
1842
- }
1843
- });
1844
-
1845
- // src/components/Box.tsx
1846
- import { Box as BoxRadix } from "@radix-ui/themes";
1847
- var Box = BoxRadix;
1848
-
1849
2194
  // src/components/TextField.tsx
1850
2195
  import { TextField as TextFieldRadix } from "@radix-ui/themes";
1851
- import { Fragment, jsx as jsx5, jsxs } from "react/jsx-runtime";
2196
+ import { Fragment, jsx as jsx6, jsxs } from "react/jsx-runtime";
1852
2197
  var TextFieldStyled = styled(TextFieldRadix.Root, {
1853
2198
  height: "$40",
1854
2199
  fontFamily: "$default",
@@ -1879,13 +2224,40 @@ var TextFieldStyled = styled(TextFieldRadix.Root, {
1879
2224
  cursor: "not-allowed"
1880
2225
  },
1881
2226
  variants: {
1882
- isValid: {
1883
- true: {},
1884
- false: {
2227
+ color: {
2228
+ default: {
2229
+ color: "$dark400",
2230
+ border: "1px solid $dark200",
2231
+ "&:has(input:focus)": {
2232
+ border: "2px solid $brand300"
2233
+ },
2234
+ "&:has(input:disabled)": {
2235
+ backgroundColor: "$dark100",
2236
+ color: "$dark400",
2237
+ border: "1px solid $dark200",
2238
+ cursor: "not-allowed"
2239
+ }
2240
+ },
2241
+ error: {
1885
2242
  border: "1px solid $error400",
1886
2243
  color: "$error400",
1887
- backgroundColor: "$error50"
2244
+ "input::placeholder": {
2245
+ color: "$error400"
2246
+ },
2247
+ "& hast(input:focus)": {
2248
+ border: "2px solid $error400"
2249
+ },
2250
+ "&:has(input:disabled)": {
2251
+ backgroundColor: "$error50",
2252
+ color: "$error300",
2253
+ border: "1px solid $error100",
2254
+ cursor: "not-allowed"
2255
+ }
1888
2256
  }
2257
+ },
2258
+ isValid: {
2259
+ true: {},
2260
+ false: {}
1889
2261
  }
1890
2262
  },
1891
2263
  compoundVariants: [
@@ -1940,15 +2312,17 @@ function TextField(_a) {
1940
2312
  var _b = _a, {
1941
2313
  children,
1942
2314
  isValid,
1943
- name
2315
+ name,
2316
+ color
1944
2317
  } = _b, props = __objRest(_b, [
1945
2318
  "children",
1946
2319
  "isValid",
1947
- "name"
2320
+ "name",
2321
+ "color"
1948
2322
  ]);
1949
- return /* @__PURE__ */ jsxs(TextFieldStyled, __spreadProps(__spreadValues({ isValid, name }, props), { children: [
2323
+ return /* @__PURE__ */ jsxs(TextFieldStyled, __spreadProps(__spreadValues({ color, isValid, name }, props), { children: [
1950
2324
  children,
1951
- isValid && /* @__PURE__ */ jsx5(TextFieldSlot, { position: "flex-end", name, children: /* @__PURE__ */ jsx5(Icon_default, { name: "check" }) })
2325
+ isValid && /* @__PURE__ */ jsx6(TextFieldSlot, { position: "flex-end", name, color, children: /* @__PURE__ */ jsx6(Icon_default, { name: "check" }) })
1952
2326
  ] }));
1953
2327
  }
1954
2328
  function TextFieldSlot(_a) {
@@ -1962,7 +2336,7 @@ function TextFieldSlot(_a) {
1962
2336
  "onClick"
1963
2337
  ]);
1964
2338
  console.log("onclick", onClick);
1965
- return /* @__PURE__ */ jsx5(Fragment, { children: !!onClick ? /* @__PURE__ */ jsx5(TextFieldSlotStyled, __spreadProps(__spreadValues({}, props), { style: {
2339
+ return /* @__PURE__ */ jsx6(Fragment, { children: !!onClick ? /* @__PURE__ */ jsx6(TextFieldSlotStyled, __spreadProps(__spreadValues({}, __spreadProps(__spreadValues({}, props), { color: void 0 })), { style: {
1966
2340
  position: "absolute",
1967
2341
  left: position === "flex-end" ? "none" : 15,
1968
2342
  right: position === "flex-start" ? "none" : 15,
@@ -1970,7 +2344,7 @@ function TextFieldSlot(_a) {
1970
2344
  zIndex: 2,
1971
2345
  top: 0,
1972
2346
  cursor: "pointer"
1973
- }, onClick: () => onClick(), children })) : /* @__PURE__ */ jsx5(TextFieldSlotStyled, __spreadProps(__spreadValues({}, props), { style: {
2347
+ }, onClick: () => onClick(), children })) : /* @__PURE__ */ jsx6(TextFieldSlotStyled, __spreadProps(__spreadValues({}, __spreadProps(__spreadValues({}, props), { color: void 0 })), { style: {
1974
2348
  float: position === "flex-start" ? "left" : "right",
1975
2349
  order: position === "flex-start" ? 0 : 2,
1976
2350
  marginLeft: position === "flex-start" ? 0 : 15,
@@ -1980,7 +2354,7 @@ function TextFieldSlot(_a) {
1980
2354
 
1981
2355
  // src/components/RadioGroup.tsx
1982
2356
  import { RadioGroup as RadioGroupRadix } from "@radix-ui/themes";
1983
- import { jsx as jsx6 } from "react/jsx-runtime";
2357
+ import { jsx as jsx7 } from "react/jsx-runtime";
1984
2358
  var RadioGroupStyled = styled(RadioGroupRadix.Root, {
1985
2359
  fontFamily: "$default",
1986
2360
  letterSpacing: "0px",
@@ -2027,8 +2401,8 @@ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2027
2401
  zIndex: 1
2028
2402
  },
2029
2403
  variants: {
2030
- isValid: {
2031
- true: {
2404
+ color: {
2405
+ success: {
2032
2406
  "label": {
2033
2407
  "&:focus button, &:hover button": {
2034
2408
  boxShadow: "0px 0px 0px 4px rgba(38, 167, 67, 0.50)"
@@ -2042,7 +2416,8 @@ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2042
2416
  backgroundColor: "$green500"
2043
2417
  }
2044
2418
  },
2045
- false: {
2419
+ blue: {},
2420
+ error: {
2046
2421
  "label": {
2047
2422
  "&:focus button, &:hover button": {
2048
2423
  boxShadow: "0px 0px 0px 4px rgba(225, 86, 98, 0.50)"
@@ -2075,7 +2450,7 @@ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2075
2450
  },
2076
2451
  compoundVariants: [
2077
2452
  {
2078
- isValid: void 0,
2453
+ color: "blue",
2079
2454
  disabled: false,
2080
2455
  css: {
2081
2456
  "label": {
@@ -2092,7 +2467,7 @@ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2092
2467
  }
2093
2468
  },
2094
2469
  {
2095
- isValid: void 0,
2470
+ color: "blue",
2096
2471
  disabled: true,
2097
2472
  css: {
2098
2473
  "label button": {
@@ -2105,7 +2480,7 @@ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2105
2480
  }
2106
2481
  },
2107
2482
  {
2108
- isValid: true,
2483
+ color: "success",
2109
2484
  disabled: true,
2110
2485
  css: {
2111
2486
  "label button": {
@@ -2118,7 +2493,7 @@ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2118
2493
  }
2119
2494
  },
2120
2495
  {
2121
- isValid: false,
2496
+ color: "error",
2122
2497
  disabled: true,
2123
2498
  css: {
2124
2499
  "label button": {
@@ -2130,23 +2505,24 @@ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2130
2505
  }
2131
2506
  }
2132
2507
  }
2133
- ]
2508
+ ],
2509
+ defaultVariants: {
2510
+ color: "blue",
2511
+ disabled: false
2512
+ }
2134
2513
  });
2135
2514
  function RadioGroup(_a) {
2136
2515
  var _b = _a, {
2137
2516
  children,
2138
- isValid,
2139
2517
  disabled
2140
2518
  } = _b, props = __objRest(_b, [
2141
2519
  "children",
2142
- "isValid",
2143
2520
  "disabled"
2144
2521
  ]);
2145
- return /* @__PURE__ */ jsx6(
2522
+ return /* @__PURE__ */ jsx7(
2146
2523
  RadioGroupStyled,
2147
2524
  __spreadProps(__spreadValues({
2148
- disabled,
2149
- isValid
2525
+ disabled
2150
2526
  }, props), {
2151
2527
  children
2152
2528
  })
@@ -2158,12 +2534,12 @@ function RadioItem(_a) {
2158
2534
  } = _b, props = __objRest(_b, [
2159
2535
  "children"
2160
2536
  ]);
2161
- return /* @__PURE__ */ jsx6(RadioGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2537
+ return /* @__PURE__ */ jsx7(RadioGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2162
2538
  }
2163
2539
 
2164
2540
  // src/components/CheckboxGroup.tsx
2165
2541
  import { CheckboxGroup as CheckboxGroupRadix } from "@radix-ui/themes";
2166
- import { jsx as jsx7 } from "react/jsx-runtime";
2542
+ import { jsx as jsx8 } from "react/jsx-runtime";
2167
2543
  var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2168
2544
  fontFamily: "$default",
2169
2545
  letterSpacing: "0px",
@@ -2212,8 +2588,8 @@ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2212
2588
  zIndex: 1
2213
2589
  },
2214
2590
  variants: {
2215
- isValid: {
2216
- true: {
2591
+ color: {
2592
+ success: {
2217
2593
  "label": {
2218
2594
  "&:focus button, &:hover button": {
2219
2595
  boxShadow: "0px 0px 0px 4px rgba(38, 167, 67, 0.50)"
@@ -2227,7 +2603,8 @@ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2227
2603
  backgroundColor: "$green500"
2228
2604
  }
2229
2605
  },
2230
- false: {
2606
+ blue: {},
2607
+ error: {
2231
2608
  "label": {
2232
2609
  "&:focus button, &:hover button": {
2233
2610
  boxShadow: "0px 0px 0px 4px rgba(225, 86, 98, 0.50)"
@@ -2260,7 +2637,7 @@ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2260
2637
  },
2261
2638
  compoundVariants: [
2262
2639
  {
2263
- isValid: void 0,
2640
+ color: "blue",
2264
2641
  disabled: false,
2265
2642
  css: {
2266
2643
  "label": {
@@ -2277,7 +2654,7 @@ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2277
2654
  }
2278
2655
  },
2279
2656
  {
2280
- isValid: void 0,
2657
+ color: "blue",
2281
2658
  disabled: true,
2282
2659
  css: {
2283
2660
  "label button": {
@@ -2290,7 +2667,7 @@ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2290
2667
  }
2291
2668
  },
2292
2669
  {
2293
- isValid: true,
2670
+ color: "success",
2294
2671
  disabled: true,
2295
2672
  css: {
2296
2673
  "label button": {
@@ -2303,7 +2680,7 @@ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2303
2680
  }
2304
2681
  },
2305
2682
  {
2306
- isValid: false,
2683
+ color: "error",
2307
2684
  disabled: true,
2308
2685
  css: {
2309
2686
  "label button": {
@@ -2315,7 +2692,11 @@ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2315
2692
  }
2316
2693
  }
2317
2694
  }
2318
- ]
2695
+ ],
2696
+ defaultVariants: {
2697
+ color: "blue",
2698
+ disabled: false
2699
+ }
2319
2700
  });
2320
2701
  function CheckboxGroup(_a) {
2321
2702
  var _b = _a, {
@@ -2323,7 +2704,7 @@ function CheckboxGroup(_a) {
2323
2704
  } = _b, props = __objRest(_b, [
2324
2705
  "children"
2325
2706
  ]);
2326
- return /* @__PURE__ */ jsx7(CheckboxGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2707
+ return /* @__PURE__ */ jsx8(CheckboxGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2327
2708
  }
2328
2709
  function CheckboxItem(_a) {
2329
2710
  var _b = _a, {
@@ -2331,12 +2712,12 @@ function CheckboxItem(_a) {
2331
2712
  } = _b, props = __objRest(_b, [
2332
2713
  "children"
2333
2714
  ]);
2334
- return /* @__PURE__ */ jsx7(CheckboxGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2715
+ return /* @__PURE__ */ jsx8(CheckboxGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2335
2716
  }
2336
2717
 
2337
2718
  // src/components/Filter.tsx
2338
2719
  import { Theme, DropdownMenu } from "@radix-ui/themes";
2339
- import { jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
2720
+ import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
2340
2721
  var FilterStyled = styled("div", {
2341
2722
  fontFamily: "$default",
2342
2723
  color: "$dark600",
@@ -2382,19 +2763,19 @@ function Filter(_a) {
2382
2763
  "children",
2383
2764
  "placeholder"
2384
2765
  ]);
2385
- return /* @__PURE__ */ jsx8(Theme, { children: /* @__PURE__ */ jsx8(DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs2(FilterStyled, { children: [
2386
- /* @__PURE__ */ jsx8(DropdownMenu.Trigger, { children: /* @__PURE__ */ jsxs2("button", { "aria-label": placeholder || "Fitrar", children: [
2387
- /* @__PURE__ */ jsx8(Icon, { name: "filter" }),
2388
- /* @__PURE__ */ jsx8("span", { children: placeholder || "Fitrar" }),
2389
- /* @__PURE__ */ jsx8(DropdownMenu.TriggerIcon, {})
2766
+ return /* @__PURE__ */ jsx9(Theme, { children: /* @__PURE__ */ jsx9(DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs2(FilterStyled, { children: [
2767
+ /* @__PURE__ */ jsx9(DropdownMenu.Trigger, { children: /* @__PURE__ */ jsxs2("button", { "aria-label": placeholder || "Fitrar", children: [
2768
+ /* @__PURE__ */ jsx9(Icon, { name: "filter" }),
2769
+ /* @__PURE__ */ jsx9("span", { children: placeholder || "Fitrar" }),
2770
+ /* @__PURE__ */ jsx9(DropdownMenu.TriggerIcon, {})
2390
2771
  ] }) }),
2391
- /* @__PURE__ */ jsx8(
2772
+ /* @__PURE__ */ jsx9(
2392
2773
  FilterContentStyled,
2393
2774
  {
2394
2775
  avoidCollisions: false,
2395
2776
  align: "start",
2396
2777
  alignOffset: -14,
2397
- children: /* @__PURE__ */ jsx8(CheckboxGroup, { children })
2778
+ children: /* @__PURE__ */ jsx9(CheckboxGroup, { children })
2398
2779
  }
2399
2780
  )
2400
2781
  ] }) })) });
@@ -2405,12 +2786,12 @@ function FilterItem(_a) {
2405
2786
  } = _b, props = __objRest(_b, [
2406
2787
  "children"
2407
2788
  ]);
2408
- return /* @__PURE__ */ jsx8(CheckboxItem, __spreadProps(__spreadValues({}, props), { style: { padding: "8px 12px" }, children }));
2789
+ return /* @__PURE__ */ jsx9(CheckboxItem, __spreadProps(__spreadValues({}, props), { style: { padding: "8px 12px" }, children }));
2409
2790
  }
2410
2791
 
2411
2792
  // src/components/Dropdown.tsx
2412
2793
  import { Theme as Theme2, DropdownMenu as DropdownMenuRadix } from "@radix-ui/themes";
2413
- import { jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
2794
+ import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
2414
2795
  var DropdownMenuStyled = styled("div", {
2415
2796
  fontFamily: "$default",
2416
2797
  color: "$dark600",
@@ -2468,18 +2849,18 @@ function DropdownMenu2(_a) {
2468
2849
  "children",
2469
2850
  "placeholder"
2470
2851
  ]);
2471
- return /* @__PURE__ */ jsx9(Theme2, { children: /* @__PURE__ */ jsx9(DropdownMenuRadix.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs3(DropdownMenuStyled, { children: [
2472
- /* @__PURE__ */ jsx9(DropdownMenuRadix.Trigger, { children: /* @__PURE__ */ jsxs3("button", { "aria-label": placeholder || "Fitrar", children: [
2473
- /* @__PURE__ */ jsx9("span", { children: placeholder || "Fitrar" }),
2474
- /* @__PURE__ */ jsx9(DropdownMenuRadix.TriggerIcon, {})
2852
+ return /* @__PURE__ */ jsx10(Theme2, { children: /* @__PURE__ */ jsx10(DropdownMenuRadix.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs3(DropdownMenuStyled, { children: [
2853
+ /* @__PURE__ */ jsx10(DropdownMenuRadix.Trigger, { children: /* @__PURE__ */ jsxs3("button", { "aria-label": placeholder || "Fitrar", children: [
2854
+ /* @__PURE__ */ jsx10("span", { children: placeholder || "Fitrar" }),
2855
+ /* @__PURE__ */ jsx10(DropdownMenuRadix.TriggerIcon, {})
2475
2856
  ] }) }),
2476
- /* @__PURE__ */ jsx9(
2857
+ /* @__PURE__ */ jsx10(
2477
2858
  DropdownMenuContentStyled,
2478
2859
  {
2479
2860
  avoidCollisions: false,
2480
2861
  align: "start",
2481
2862
  alignOffset: -14,
2482
- children: /* @__PURE__ */ jsx9(DropdownMenuRadix.Group, { children })
2863
+ children: /* @__PURE__ */ jsx10(DropdownMenuRadix.Group, { children })
2483
2864
  }
2484
2865
  )
2485
2866
  ] }) })) });
@@ -2490,13 +2871,865 @@ function DropdownMenuItem(_a) {
2490
2871
  } = _b, props = __objRest(_b, [
2491
2872
  "children"
2492
2873
  ]);
2493
- return /* @__PURE__ */ jsx9(DropdownMenuItemStyled, __spreadProps(__spreadValues({}, props), { children }));
2874
+ return /* @__PURE__ */ jsx10(DropdownMenuItemStyled, __spreadProps(__spreadValues({}, props), { children }));
2875
+ }
2876
+
2877
+ // src/components/Badge.tsx
2878
+ import React from "react";
2879
+ import { Badge as BadgeRadix } from "@radix-ui/themes";
2880
+ import { jsx as jsx11 } from "react/jsx-runtime";
2881
+ var BadgeStyled = styled(BadgeRadix, {
2882
+ fontFamily: "$default",
2883
+ borderRadius: "$sm",
2884
+ verticalAlign: "middle",
2885
+ "svg": {
2886
+ marginRight: "10px"
2887
+ },
2888
+ variants: {
2889
+ color: {
2890
+ primary: {
2891
+ backgroundColor: "$brand100",
2892
+ color: "$dark700"
2893
+ },
2894
+ dark: {
2895
+ backgroundColor: "$dark700",
2896
+ color: "$grey50"
2897
+ },
2898
+ light: {
2899
+ backgroundColor: "$neutral200",
2900
+ color: "$dark700"
2901
+ },
2902
+ red: {
2903
+ backgroundColor: "$red100",
2904
+ color: "$dark700"
2905
+ },
2906
+ green: {
2907
+ backgroundColor: "$green100",
2908
+ color: "$dark700"
2909
+ },
2910
+ yellow: {
2911
+ backgroundColor: "$yellow100",
2912
+ color: "$dark700"
2913
+ },
2914
+ orange: {
2915
+ backgroundColor: "$orange100",
2916
+ color: "$dark700"
2917
+ },
2918
+ blue: {
2919
+ backgroundColor: "$blue100",
2920
+ color: "$dark700"
2921
+ },
2922
+ pink: {
2923
+ backgroundColor: "$pink100",
2924
+ color: "$dark700"
2925
+ },
2926
+ purple: {
2927
+ backgroundColor: "$purple100",
2928
+ color: "$dark700"
2929
+ },
2930
+ grey: {
2931
+ backgroundColor: "$grey200",
2932
+ color: "$dark700"
2933
+ },
2934
+ disable: {
2935
+ backgroundColor: "$neutral200",
2936
+ color: "$grey500"
2937
+ }
2938
+ },
2939
+ size: {
2940
+ xs: {
2941
+ padding: "$4 $6",
2942
+ fontSize: "$10",
2943
+ borderRadius: "$2xs",
2944
+ lineHeight: "$smaller"
2945
+ },
2946
+ sm: {
2947
+ padding: "$4 $8",
2948
+ fontSize: "$12",
2949
+ borderRadius: "$xs",
2950
+ lineHeight: "$smaller"
2951
+ },
2952
+ md: {
2953
+ padding: "$8 $10",
2954
+ fontSize: "$14",
2955
+ borderRadius: "$sm",
2956
+ lineHeight: "$smaller"
2957
+ },
2958
+ xl: {
2959
+ padding: "$12 $12",
2960
+ fontSize: "$16",
2961
+ borderRadius: "$sm",
2962
+ lineHeight: "$smaller"
2963
+ }
2964
+ },
2965
+ radii: {
2966
+ "full": {
2967
+ borderRadius: "$full"
2968
+ }
2969
+ }
2970
+ },
2971
+ defaultVariants: {
2972
+ size: "md",
2973
+ color: "primary"
2974
+ }
2975
+ });
2976
+ function Badge(_a) {
2977
+ var _b = _a, { asChild, children } = _b, props = __objRest(_b, ["asChild", "children"]);
2978
+ return /* @__PURE__ */ jsx11(BadgeStyled, __spreadProps(__spreadValues({}, props), { children: React.Children.map(children, (child) => {
2979
+ if (React.isValidElement(child)) {
2980
+ return React.cloneElement(child, { size: props.size });
2981
+ }
2982
+ return child;
2983
+ }) }));
2984
+ }
2985
+
2986
+ // src/components/Modal.tsx
2987
+ import { Dialog as ModalRadix } from "@radix-ui/themes";
2988
+
2989
+ // src/components/Box.tsx
2990
+ import { Box as BoxRadix } from "@radix-ui/themes";
2991
+ var Box = BoxRadix;
2992
+
2993
+ // src/components/Flex.tsx
2994
+ import { Flex as FlexRadix } from "@radix-ui/themes";
2995
+ import { jsx as jsx12 } from "react/jsx-runtime";
2996
+ var FlexStyled = styled(FlexRadix, {
2997
+ variants: {
2998
+ display: {
2999
+ "flex": { display: "flex" },
3000
+ "inline-flex": { display: "inline-flex" }
3001
+ },
3002
+ align: {
3003
+ start: { alignItems: "flex-start" },
3004
+ center: { alignItems: "center" },
3005
+ end: { alignItems: "flex-end" },
3006
+ stretch: { alignItems: "stretch" },
3007
+ baseline: { alignItems: "baseline" }
3008
+ },
3009
+ justify: {
3010
+ start: { justifyContent: "flex-start" },
3011
+ center: { justifyContent: "center" },
3012
+ end: { justifyContent: "flex-end" },
3013
+ between: { justifyContent: "space-between" },
3014
+ around: { justifyContent: "space-around" },
3015
+ evenly: { justifyContent: "space-evenly" }
3016
+ },
3017
+ direction: {
3018
+ row: { flexDirection: "row" },
3019
+ column: { flexDirection: "column" },
3020
+ "row-reverse": { flexDirection: "row-reverse" },
3021
+ "column-reverse": { flexDirection: "column-reverse" }
3022
+ },
3023
+ gap: {
3024
+ 2: { gap: "$2" },
3025
+ 4: { gap: "$4" },
3026
+ 6: { gap: "$6" },
3027
+ 8: { gap: "$8" },
3028
+ 10: { gap: "$10" },
3029
+ 12: { gap: "$12" },
3030
+ 14: { gap: "$14" },
3031
+ 16: { gap: "$16" },
3032
+ 20: { gap: "$20" },
3033
+ 22: { gap: "$22" },
3034
+ 24: { gap: "$24" },
3035
+ 32: { gap: "$32" },
3036
+ 36: { gap: "$36" },
3037
+ 40: { gap: "$40" },
3038
+ 48: { gap: "$48" },
3039
+ 56: { gap: "$56" },
3040
+ 64: { gap: "$64" },
3041
+ 72: { gap: "$72" },
3042
+ 80: { gap: "$80" },
3043
+ full: { gap: "$full" }
3044
+ },
3045
+ gapY: {
3046
+ 2: { gap: "$2" },
3047
+ 4: { gap: "$4" },
3048
+ 6: { gap: "$6" },
3049
+ 8: { gap: "$8" },
3050
+ 10: { gap: "$10" },
3051
+ 12: { gap: "$12" },
3052
+ 14: { gap: "$14" },
3053
+ 16: { gap: "$16" },
3054
+ 20: { gap: "$20" },
3055
+ 22: { gap: "$22" },
3056
+ 24: { gap: "$24" },
3057
+ 32: { gap: "$32" },
3058
+ 36: { gap: "$36" },
3059
+ 40: { gap: "$40" },
3060
+ 48: { gap: "$48" },
3061
+ 56: { gap: "$56" },
3062
+ 64: { gap: "$64" },
3063
+ 72: { gap: "$72" },
3064
+ 80: { gap: "$80" },
3065
+ full: { gap: "$full" }
3066
+ },
3067
+ gapX: {
3068
+ 2: { gap: "$2" },
3069
+ 4: { gap: "$4" },
3070
+ 6: { gap: "$6" },
3071
+ 8: { gap: "$8" },
3072
+ 10: { gap: "$10" },
3073
+ 12: { gap: "$12" },
3074
+ 14: { gap: "$14" },
3075
+ 16: { gap: "$16" },
3076
+ 20: { gap: "$20" },
3077
+ 22: { gap: "$22" },
3078
+ 24: { gap: "$24" },
3079
+ 32: { gap: "$32" },
3080
+ 36: { gap: "$36" },
3081
+ 40: { gap: "$40" },
3082
+ 48: { gap: "$48" },
3083
+ 56: { gap: "$56" },
3084
+ 64: { gap: "$64" },
3085
+ 72: { gap: "$72" },
3086
+ 80: { gap: "$80" },
3087
+ full: { gap: "$full" }
3088
+ }
3089
+ },
3090
+ defaultVariants: {
3091
+ display: "flex",
3092
+ direction: "row",
3093
+ gap: 10
3094
+ }
3095
+ });
3096
+ function Flex2(_a) {
3097
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3098
+ return /* @__PURE__ */ jsx12(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
3099
+ }
3100
+
3101
+ // src/components/Modal.tsx
3102
+ import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
3103
+ var ModalStyled = styled("div", {
3104
+ fontFamily: "$default",
3105
+ lineHeight: "$base",
3106
+ fontSize: "$13",
3107
+ borderRadius: "$sm"
3108
+ });
3109
+ var ModalContentStyled = styled(ModalRadix.Content, {
3110
+ fontFamily: "$default",
3111
+ lineHeight: "$base",
3112
+ fontSize: "$13",
3113
+ maxWidth: "502px",
3114
+ width: "100%",
3115
+ border: "1px solid $neutral",
3116
+ borderRadius: "$2xl",
3117
+ boxShadow: "0px 4px 4px 0px rgba(35, 53, 67, 0.08), 0px 2px 4px 0px rgba(35, 53, 67, 0.16)"
3118
+ });
3119
+ var ModalHeaderStyled = styled("div", {
3120
+ borderBottom: "1px solid $neutral300",
3121
+ padding: "$16 $24",
3122
+ textAlign: "center",
3123
+ position: "relative",
3124
+ display: "flex",
3125
+ alignItems: "center",
3126
+ justifyContent: "center"
3127
+ });
3128
+ var ModalIconClose = styled(Icon_default, {
3129
+ position: "absolute",
3130
+ right: "$24",
3131
+ cursor: "pointer"
3132
+ });
3133
+ var ModalFooterStyled = styled("div", {
3134
+ borderTop: "1px solid $neutral300",
3135
+ padding: "$16 $24",
3136
+ ".modal-footer-flex": {
3137
+ justifyContent: "flex-end"
3138
+ }
3139
+ });
3140
+ var ModalTitleStyled = styled(ModalRadix.Title, {
3141
+ fontFamily: "$default",
3142
+ lineHeight: "$base",
3143
+ fontSize: "$18",
3144
+ fontWeight: "medium",
3145
+ fontStyle: "normal",
3146
+ textTransform: "uppercase"
3147
+ });
3148
+ function Modal(_a) {
3149
+ var _b = _a, { children, title, trigger, cancel, cancelText, action, actionText, onAction } = _b, props = __objRest(_b, ["children", "title", "trigger", "cancel", "cancelText", "action", "actionText", "onAction"]);
3150
+ return /* @__PURE__ */ jsx13(ModalRadix.Root, { children: /* @__PURE__ */ jsxs4(ModalStyled, __spreadProps(__spreadValues({}, props), { children: [
3151
+ /* @__PURE__ */ jsx13(ModalRadix.Trigger, { children: trigger }),
3152
+ /* @__PURE__ */ jsxs4(ModalContentStyled, { children: [
3153
+ /* @__PURE__ */ jsxs4(ModalHeaderStyled, { children: [
3154
+ title && /* @__PURE__ */ jsx13(ModalTitleStyled, { children: title }),
3155
+ /* @__PURE__ */ jsx13(ModalRadix.Close, { children: /* @__PURE__ */ jsx13(ModalIconClose, { name: "close", size: "xl" }) })
3156
+ ] }),
3157
+ /* @__PURE__ */ jsx13(Box, { children }),
3158
+ cancel || action ? /* @__PURE__ */ jsx13(ModalFooterStyled, { children: /* @__PURE__ */ jsxs4(Flex2, { gap: "10", justify: "end", width: "100%", className: "modal-footer-flex", children: [
3159
+ action && onAction && /* @__PURE__ */ jsx13(ModalRadix.Close, { children: /* @__PURE__ */ jsx13(Button, { variant: "contained", color: "brand", onClick: onAction, children: actionText ? actionText : "Salvar" }) }),
3160
+ cancel && /* @__PURE__ */ jsx13(ModalRadix.Close, { children: /* @__PURE__ */ jsx13(Button, { variant: "outlined", color: "neutral", children: cancelText ? cancelText : "cancelar" }) })
3161
+ ] }) }) : null
3162
+ ] })
3163
+ ] })) });
3164
+ }
3165
+
3166
+ // src/components/Alert.tsx
3167
+ import { Theme as Theme3, AlertDialog } from "@radix-ui/themes";
3168
+ import { Fragment as Fragment2, jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
3169
+ var AlertDialogSimpleStyled = styled(AlertDialog.Content, {
3170
+ fontFamily: "$default",
3171
+ lineHeight: "$base",
3172
+ fontSize: "$13",
3173
+ padding: "$16",
3174
+ borderRadius: "$sm",
3175
+ display: "flex",
3176
+ alignItems: "center",
3177
+ justifyContent: "space-between",
3178
+ gap: "$10",
3179
+ marginTop: "$10",
3180
+ variants: {
3181
+ color: {
3182
+ error: {
3183
+ backgroundColor: "$error50",
3184
+ border: "1px solid $error600",
3185
+ color: "$error600",
3186
+ "svg": {
3187
+ color: "$error600"
3188
+ }
3189
+ },
3190
+ warning: {
3191
+ backgroundColor: "$warning50",
3192
+ border: "1px solid $warning600",
3193
+ color: "$warning600",
3194
+ "svg": {
3195
+ color: "$warning600"
3196
+ }
3197
+ },
3198
+ success: {
3199
+ backgroundColor: "$success50",
3200
+ border: "1px solid $success600",
3201
+ color: "$success600",
3202
+ "svg": {
3203
+ color: "$success600"
3204
+ }
3205
+ },
3206
+ info: {
3207
+ backgroundColor: "$info50",
3208
+ border: "1px solid $info600",
3209
+ color: "$info600",
3210
+ "svg": {
3211
+ color: "$info600"
3212
+ }
3213
+ }
3214
+ }
3215
+ },
3216
+ defaultVariants: {
3217
+ color: "success"
3218
+ }
3219
+ });
3220
+ var AlertDialogCompleteStyled = styled(AlertDialog.Content, {
3221
+ fontFamily: "$default",
3222
+ lineHeight: "$base",
3223
+ fontSize: "$13",
3224
+ borderRadius: "$sm",
3225
+ marginTop: "$10",
3226
+ maxWidth: "440px",
3227
+ width: "100%",
3228
+ boxShadow: "0px 0px 15px 5px rgba(0, 0, 0, 0.05)",
3229
+ border: "1px solid $neutral200",
3230
+ ".le-alert-dialog-row": {
3231
+ display: "flex",
3232
+ flexDirection: "column",
3233
+ flexWrap: "wrap",
3234
+ alignItems: "center",
3235
+ textAlign: "center",
3236
+ justifyContent: "space-between",
3237
+ gap: "$10"
3238
+ },
3239
+ variants: {
3240
+ color: {}
3241
+ }
3242
+ });
3243
+ var AlertDialogDescriptionStyled = styled(AlertDialog.Description, {
3244
+ padding: 0,
3245
+ margin: 0
3246
+ });
3247
+ var AlertDialogTitleStyled = styled(AlertDialog.Title, {
3248
+ fontFamily: "$default",
3249
+ lineHeight: "$base",
3250
+ fontSize: "$20",
3251
+ fontWeight: "$semibold",
3252
+ padding: 0,
3253
+ margin: 0
3254
+ });
3255
+ var AlertDialogSubtitleStyled = styled(Text, {
3256
+ margin: 0,
3257
+ fontSize: "$48",
3258
+ color: "$gray100",
3259
+ fontWeight: "$semibold"
3260
+ });
3261
+ var AlertDialogRowStyled = styled("div", {
3262
+ padding: "$32 $24"
3263
+ });
3264
+ var AlertDialoghrStyled = styled("hr", {
3265
+ margin: 0,
3266
+ padding: 0,
3267
+ border: "none",
3268
+ borderTop: "1px solid $neutral200"
3269
+ });
3270
+ function Alert(_a) {
3271
+ var _b = _a, {
3272
+ color,
3273
+ trigger,
3274
+ completAlert,
3275
+ simpleAlert
3276
+ } = _b, props = __objRest(_b, [
3277
+ "color",
3278
+ "trigger",
3279
+ "completAlert",
3280
+ "simpleAlert"
3281
+ ]);
3282
+ console.log("completAlert", completAlert, " simpleAlert", simpleAlert);
3283
+ return /* @__PURE__ */ jsxs5(Fragment2, { children: [
3284
+ simpleAlert && /* @__PURE__ */ jsx14(Theme3, { children: /* @__PURE__ */ jsxs5(AlertDialog.Root, { children: [
3285
+ /* @__PURE__ */ jsx14(AlertDialog.Trigger, { children: trigger }),
3286
+ /* @__PURE__ */ jsx14(Fragment2, { children: /* @__PURE__ */ jsxs5(AlertDialogSimpleStyled, __spreadProps(__spreadValues({}, props), { children: [
3287
+ /* @__PURE__ */ jsx14(AlertDialogDescriptionStyled, { children: simpleAlert.description }),
3288
+ simpleAlert.cancel && /* @__PURE__ */ jsx14(AlertDialog.Cancel, { children: /* @__PURE__ */ jsx14(Button, { variant: "text", children: /* @__PURE__ */ jsx14(Icon_default, { name: "close" }) }) })
3289
+ ] })) })
3290
+ ] }) }),
3291
+ completAlert && /* @__PURE__ */ jsx14(Theme3, { children: /* @__PURE__ */ jsxs5(AlertDialog.Root, { children: [
3292
+ /* @__PURE__ */ jsx14(AlertDialog.Trigger, { children: trigger }),
3293
+ /* @__PURE__ */ jsxs5(AlertDialogCompleteStyled, { children: [
3294
+ /* @__PURE__ */ jsxs5(AlertDialogRowStyled, { className: "le-alert-dialog-row", children: [
3295
+ color === "success" && /* @__PURE__ */ jsxs5("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3296
+ /* @__PURE__ */ jsx14("g", { clipPath: "url(#clip0_1428_9995)", children: /* @__PURE__ */ jsx14("path", { d: "M28 56C35.4261 56 42.548 53.05 47.799 47.799C53.05 42.548 56 35.4261 56 28C56 20.5739 53.05 13.452 47.799 8.20101C42.548 2.94999 35.4261 0 28 0C20.5739 0 13.452 2.94999 8.20101 8.20101C2.94999 13.452 0 20.5739 0 28C0 35.4261 2.94999 42.548 8.20101 47.799C13.452 53.05 20.5739 56 28 56ZM40.3594 22.8594L26.3594 36.8594C25.3312 37.8875 23.6688 37.8875 22.6516 36.8594L15.6516 29.8594C14.6234 28.8312 14.6234 27.1688 15.6516 26.1516C16.6797 25.1344 18.3422 25.1234 19.3594 26.1516L24.5 31.2922L36.6406 19.1406C37.6688 18.1125 39.3312 18.1125 40.3484 19.1406C41.3656 20.1688 41.3766 21.8312 40.3484 22.8484L40.3594 22.8594Z", fill: "#1E8535" }) }),
3297
+ /* @__PURE__ */ jsx14("defs", { children: /* @__PURE__ */ jsx14("clipPath", { id: "clip0_1428_9995", children: /* @__PURE__ */ jsx14("rect", { width: "56", height: "56", fill: "white" }) }) })
3298
+ ] }),
3299
+ color === "error" && /* @__PURE__ */ jsxs5("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3300
+ /* @__PURE__ */ jsx14("g", { clipPath: "url(#clip0_1428_10022)", children: /* @__PURE__ */ jsx14("path", { d: "M28 56C35.4261 56 42.548 53.05 47.799 47.799C53.05 42.548 56 35.4261 56 28C56 20.5739 53.05 13.452 47.799 8.20101C42.548 2.94999 35.4261 0 28 0C20.5739 0 13.452 2.94999 8.20101 8.20101C2.94999 13.452 0 20.5739 0 28C0 35.4261 2.94999 42.548 8.20101 47.799C13.452 53.05 20.5739 56 28 56ZM19.1406 19.1406C20.1687 18.1125 21.8312 18.1125 22.8484 19.1406L27.9891 24.2812L33.1297 19.1406C34.1578 18.1125 35.8203 18.1125 36.8375 19.1406C37.8547 20.1687 37.8656 21.8312 36.8375 22.8484L31.6969 27.9891L36.8375 33.1297C37.8656 34.1578 37.8656 35.8203 36.8375 36.8375C35.8094 37.8547 34.1469 37.8656 33.1297 36.8375L27.9891 31.6969L22.8484 36.8375C21.8203 37.8656 20.1578 37.8656 19.1406 36.8375C18.1234 35.8094 18.1125 34.1469 19.1406 33.1297L24.2812 27.9891L19.1406 22.8484C18.1125 21.8203 18.1125 20.1578 19.1406 19.1406Z", fill: "#AD1F2B" }) }),
3301
+ /* @__PURE__ */ jsx14("defs", { children: /* @__PURE__ */ jsx14("clipPath", { id: "clip0_1428_10022", children: /* @__PURE__ */ jsx14("rect", { width: "56", height: "56", fill: "white" }) }) })
3302
+ ] }),
3303
+ color === "warning" && /* @__PURE__ */ jsxs5("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3304
+ /* @__PURE__ */ jsx14("g", { clipPath: "url(#clip0_1428_10038)", children: /* @__PURE__ */ jsx14("path", { d: "M28 56C35.4261 56 42.548 53.05 47.799 47.799C53.05 42.548 56 35.4261 56 28C56 20.5739 53.05 13.452 47.799 8.20101C42.548 2.94999 35.4261 0 28 0C20.5739 0 13.452 2.94999 8.20101 8.20101C2.94999 13.452 0 20.5739 0 28C0 35.4261 2.94999 42.548 8.20101 47.799C13.452 53.05 20.5739 56 28 56ZM28 14C29.4547 14 30.625 15.1703 30.625 16.625V28.875C30.625 30.3297 29.4547 31.5 28 31.5C26.5453 31.5 25.375 30.3297 25.375 28.875V16.625C25.375 15.1703 26.5453 14 28 14ZM24.5 38.5C24.5 37.5717 24.8687 36.6815 25.5251 36.0251C26.1815 35.3688 27.0717 35 28 35C28.9283 35 29.8185 35.3688 30.4749 36.0251C31.1313 36.6815 31.5 37.5717 31.5 38.5C31.5 39.4283 31.1313 40.3185 30.4749 40.9749C29.8185 41.6312 28.9283 42 28 42C27.0717 42 26.1815 41.6312 25.5251 40.9749C24.8687 40.3185 24.5 39.4283 24.5 38.5Z", fill: "#CC9A06" }) }),
3305
+ /* @__PURE__ */ jsx14("defs", { children: /* @__PURE__ */ jsx14("clipPath", { id: "clip0_1428_10038", children: /* @__PURE__ */ jsx14("rect", { width: "56", height: "56", fill: "white" }) }) })
3306
+ ] }),
3307
+ color === "info" && /* @__PURE__ */ jsxs5("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3308
+ /* @__PURE__ */ jsx14("g", { clipPath: "url(#clip0_1645_46)", children: /* @__PURE__ */ jsx14("path", { d: "M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40ZM20 10C21.0391 10 21.875 10.8359 21.875 11.875V20.625C21.875 21.6641 21.0391 22.5 20 22.5C18.9609 22.5 18.125 21.6641 18.125 20.625V11.875C18.125 10.8359 18.9609 10 20 10ZM17.5 27.5C17.5 26.837 17.7634 26.2011 18.2322 25.7322C18.7011 25.2634 19.337 25 20 25C20.663 25 21.2989 25.2634 21.7678 25.7322C22.2366 26.2011 22.5 26.837 22.5 27.5C22.5 28.163 22.2366 28.7989 21.7678 29.2678C21.2989 29.7366 20.663 30 20 30C19.337 30 18.7011 29.7366 18.2322 29.2678C17.7634 28.7989 17.5 28.163 17.5 27.5Z", fill: "#9FB6C7" }) }),
3309
+ /* @__PURE__ */ jsx14("defs", { children: /* @__PURE__ */ jsx14("clipPath", { id: "clip0_1645_46", children: /* @__PURE__ */ jsx14("rect", { width: "40", height: "40", fill: "white" }) }) })
3310
+ ] }),
3311
+ completAlert.title && /* @__PURE__ */ jsx14(AlertDialogTitleStyled, { children: completAlert.title }),
3312
+ /* @__PURE__ */ jsxs5(AlertDialogDescriptionStyled, { children: [
3313
+ completAlert.subtitle && /* @__PURE__ */ jsx14(Text, { css: {
3314
+ fontSize: "$16"
3315
+ }, asChild: true, children: /* @__PURE__ */ jsx14("h2", { children: completAlert.subtitle }) }),
3316
+ completAlert.description
3317
+ ] })
3318
+ ] }),
3319
+ completAlert.onAction || completAlert.cancel ? /* @__PURE__ */ jsx14(AlertDialoghrStyled, {}) : null,
3320
+ /* @__PURE__ */ jsx14(AlertDialogRowStyled, { children: /* @__PURE__ */ jsxs5(Flex2, { gap: "10", justify: "end", width: "100%", children: [
3321
+ completAlert.onAction && /* @__PURE__ */ jsx14(AlertDialog.Action, { children: /* @__PURE__ */ jsx14(Button, { variant: "contained", onClick: completAlert.onAction, children: completAlert.actionText || "Salvar" }) }),
3322
+ completAlert.cancel && /* @__PURE__ */ jsx14(AlertDialog.Cancel, { children: /* @__PURE__ */ jsx14(Button, { variant: "outlined", color: "neutral", children: completAlert.cancelText || "Cancelar" }) })
3323
+ ] }) })
3324
+ ] })
3325
+ ] }) })
3326
+ ] });
3327
+ }
3328
+
3329
+ // src/components/Switch.tsx
3330
+ import { Switch as RadixSwitch } from "@radix-ui/themes";
3331
+ import { jsx as jsx15 } from "react/jsx-runtime";
3332
+ var SwitchStyled = styled(RadixSwitch, {
3333
+ all: "unset",
3334
+ borderRadius: "$full",
3335
+ position: "relative",
3336
+ display: "flex",
3337
+ alignItems: "center",
3338
+ justifyContent: "center",
3339
+ transition: "all 0.3s",
3340
+ cursor: "pointer",
3341
+ "&::before": {
3342
+ content: '""',
3343
+ position: "absolute",
3344
+ borderRadius: "$full",
3345
+ pointerEvents: "none",
3346
+ cursor: "pointer"
3347
+ },
3348
+ "span": {
3349
+ position: "absolute",
3350
+ top: "50%",
3351
+ left: 0,
3352
+ transform: "translate(0, -50%)",
3353
+ borderRadius: "50%",
3354
+ transition: "all 0.3s",
3355
+ cursor: "pointer",
3356
+ borderWidth: "1px",
3357
+ borderStyle: "solid",
3358
+ boxShadow: "0px 0px 4px 0px rgba(0, 0, 0, 0.24)"
3359
+ },
3360
+ '&[data-state="checked"] span': {
3361
+ left: "auto",
3362
+ transform: "translate(50%, -50%)"
3363
+ },
3364
+ variants: {
3365
+ color: {
3366
+ brand: {
3367
+ "&::before": {
3368
+ backgroundColor: "$brand50"
3369
+ },
3370
+ "span": {
3371
+ backgroundColor: "$dark50",
3372
+ borderColor: "$neutral300"
3373
+ },
3374
+ '&[data-state="checked"] span': {
3375
+ backgroundColor: "$brand500",
3376
+ borderColor: "$brand500"
3377
+ }
3378
+ }
3379
+ },
3380
+ size: {
3381
+ sm: {
3382
+ width: "32px",
3383
+ height: "20px",
3384
+ "&::before": {
3385
+ width: "$32",
3386
+ height: "$12"
3387
+ },
3388
+ "span": {
3389
+ width: "$20",
3390
+ height: "$20"
3391
+ }
3392
+ },
3393
+ md: {
3394
+ width: "40px",
3395
+ height: "20px",
3396
+ "&::before": {
3397
+ width: "40px",
3398
+ height: "16px"
3399
+ },
3400
+ "span": {
3401
+ width: "24px",
3402
+ height: "24px"
3403
+ }
3404
+ },
3405
+ lg: {
3406
+ width: "56px",
3407
+ height: "32px",
3408
+ "&::before": {
3409
+ width: "56px",
3410
+ height: "24px"
3411
+ },
3412
+ "span": {
3413
+ width: "32px",
3414
+ height: "32px"
3415
+ }
3416
+ }
3417
+ }
3418
+ },
3419
+ defaultVariants: {
3420
+ size: "md",
3421
+ color: "brand"
3422
+ }
3423
+ });
3424
+ function Switch(props) {
3425
+ return /* @__PURE__ */ jsx15(SwitchStyled, __spreadValues({ color: "brand", defaultChecked: true }, props));
3426
+ }
3427
+
3428
+ // src/components/Step.tsx
3429
+ import React2 from "react";
3430
+ import { Box as Box2, Tabs as StepRadix } from "@radix-ui/themes";
3431
+ import { jsx as jsx16 } from "react/jsx-runtime";
3432
+ var StepStyled = styled("div", {
3433
+ fontFamily: "$default",
3434
+ color: "$gray100",
3435
+ letterSpacing: "0px"
3436
+ });
3437
+ var StepTriggerStyled = styled(StepRadix.Trigger, {
3438
+ all: "unset",
3439
+ position: "relative",
3440
+ display: "flex",
3441
+ alignItems: "center",
3442
+ justifyContent: "center",
3443
+ fontSize: "$16",
3444
+ fontWeight: "$medium",
3445
+ minWidth: "32px",
3446
+ minHeight: "32px",
3447
+ marginRight: "40px",
3448
+ "&:last-of-type": {
3449
+ marginRight: 0
3450
+ },
3451
+ "& > span:first-of-type": {
3452
+ width: "32px",
3453
+ height: "32px",
3454
+ borderRadius: "$full",
3455
+ backgroundColor: "$neutral50",
3456
+ border: "1px solid $neutral200",
3457
+ color: "$gray700",
3458
+ display: "flex",
3459
+ alignItems: "center",
3460
+ justifyContent: "center",
3461
+ zIndex: 1,
3462
+ position: "relative"
3463
+ },
3464
+ '&[data-state="active"] > span:first-of-type': {
3465
+ backgroundColor: "$blue500",
3466
+ borderColor: "$blue500",
3467
+ color: "white"
3468
+ },
3469
+ "& > span:last-of-type": {
3470
+ display: "none"
3471
+ },
3472
+ "&:not(:first-of-type)::before": {
3473
+ content: '""',
3474
+ position: "absolute",
3475
+ top: "50%",
3476
+ right: "calc(100% + 4px)",
3477
+ transform: "translateY(-50%)",
3478
+ width: "32px",
3479
+ height: "8px",
3480
+ borderRadius: "$sm",
3481
+ backgroundColor: "$neutral50",
3482
+ zIndex: 0
3483
+ },
3484
+ '&[data-state="active"]::before': {
3485
+ backgroundColor: "$blue500"
3486
+ },
3487
+ '&[data-filled="true"] > span:first-of-type': {
3488
+ backgroundColor: "$blue500",
3489
+ borderColor: "$blue500",
3490
+ color: "white"
3491
+ },
3492
+ '&[data-filled="true"]::before': {
3493
+ backgroundColor: "$blue500"
3494
+ }
3495
+ });
3496
+ var StepListStyled = styled(StepRadix.List, {
3497
+ display: "flex",
3498
+ alignItems: "center",
3499
+ justifyContent: "flex-start",
3500
+ gap: "$4"
3501
+ });
3502
+ function Step(_a) {
3503
+ var _b = _a, { children, defaultValue } = _b, props = __objRest(_b, ["children", "defaultValue"]);
3504
+ return /* @__PURE__ */ jsx16(StepRadix.Root, { defaultValue: String(defaultValue), children: /* @__PURE__ */ jsx16(StepStyled, __spreadProps(__spreadValues({}, props), { children })) });
3505
+ }
3506
+ function StepTrigger(_a) {
3507
+ var _b = _a, { value, children, currentStep } = _b, props = __objRest(_b, ["value", "children", "currentStep"]);
3508
+ const isActiveOrPrevious = currentStep !== void 0 && value <= currentStep;
3509
+ console.log(isActiveOrPrevious, "isActiveOrPrevius", currentStep);
3510
+ return /* @__PURE__ */ jsx16(StepTriggerStyled, __spreadProps(__spreadValues({ "data-filled": isActiveOrPrevious, value: String(value) }, props), { children }));
3511
+ }
3512
+ function StepContent(_a) {
3513
+ var _b = _a, { value, children } = _b, props = __objRest(_b, ["value", "children"]);
3514
+ return /* @__PURE__ */ jsx16(StepRadix.Content, __spreadProps(__spreadValues({ value: String(value) }, props), { children }));
3515
+ }
3516
+ function StepList(_a) {
3517
+ var _b = _a, { children, currentStep } = _b, props = __objRest(_b, ["children", "currentStep"]);
3518
+ return /* @__PURE__ */ jsx16(StepListStyled, __spreadProps(__spreadValues({}, props), { children: React2.Children.map(children, (child) => {
3519
+ if (React2.isValidElement(child) && child.type === StepTrigger) {
3520
+ return React2.cloneElement(child, { currentStep });
3521
+ }
3522
+ return child;
3523
+ }) }));
3524
+ }
3525
+ function StepWrapper(_a) {
3526
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3527
+ return /* @__PURE__ */ jsx16(Box2, __spreadProps(__spreadValues({}, props), { children }));
3528
+ }
3529
+
3530
+ // src/components/Grid.tsx
3531
+ import { Grid as GridRadix } from "@radix-ui/themes";
3532
+ import { jsx as jsx17 } from "react/jsx-runtime";
3533
+ var GridStyled = styled(GridRadix, {
3534
+ display: "grid",
3535
+ variants: {
3536
+ display: {
3537
+ "grid": { display: "grid" },
3538
+ "inline-grid": { display: "inline-grid" }
3539
+ },
3540
+ align: {
3541
+ start: { alignItems: "start" },
3542
+ center: { alignItems: "center" },
3543
+ end: { alignItems: "end" },
3544
+ stretch: { alignItems: "stretch" }
3545
+ },
3546
+ justify: {
3547
+ start: { justifyContent: "start" },
3548
+ center: { justifyContent: "center" },
3549
+ end: { justifyContent: "end" },
3550
+ between: { justifyContent: "space-between" }
3551
+ },
3552
+ flow: {
3553
+ row: { gridAutoFlow: "row" },
3554
+ column: { gridAutoFlow: "column" },
3555
+ "row-dense": { gridAutoFlow: "row dense" },
3556
+ "column-dense": { gridAutoFlow: "column dense" }
3557
+ },
3558
+ columns: {
3559
+ 1: { gridTemplateColumns: "repeat(1, 1fr)" },
3560
+ 2: { gridTemplateColumns: "repeat(2, 1fr)" },
3561
+ 3: { gridTemplateColumns: "repeat(3, 1fr)" },
3562
+ 4: { gridTemplateColumns: "repeat(4, 1fr)" },
3563
+ 6: { gridTemplateColumns: "repeat(6, 1fr)" },
3564
+ 12: { gridTemplateColumns: "repeat(12, 1fr)" }
3565
+ },
3566
+ rows: {
3567
+ 1: { gridTemplateRows: "repeat(1, 1fr)" },
3568
+ 2: { gridTemplateRows: "repeat(2, 1fr)" },
3569
+ 3: { gridTemplateRows: "repeat(3, 1fr)" },
3570
+ 4: { gridTemplateRows: "repeat(4, 1fr)" },
3571
+ 5: { gridTemplateRows: "repeat(5, 1fr)" },
3572
+ 6: { gridTemplateRows: "repeat(6, 1fr)" },
3573
+ 7: { gridTemplateRows: "repeat(7, 1fr)" },
3574
+ 8: { gridTemplateRows: "repeat(8, 1fr)" },
3575
+ 9: { gridTemplateRows: "repeat(9, 1fr)" },
3576
+ 10: { gridTemplateRows: "repeat(10, 1fr)" },
3577
+ 11: { gridTemplateRows: "repeat(11, 1fr)" },
3578
+ 12: { gridTemplateRows: "repeat(12, 1fr)" },
3579
+ auto: { gridTemplateRows: "auto" }
3580
+ },
3581
+ gap: {
3582
+ 2: { gap: "$2" },
3583
+ 4: { gap: "$4" },
3584
+ 6: { gap: "$6" },
3585
+ 8: { gap: "$8" },
3586
+ 10: { gap: "$10" },
3587
+ 12: { gap: "$12" },
3588
+ 14: { gap: "$14" },
3589
+ 16: { gap: "$16" },
3590
+ 20: { gap: "$20" },
3591
+ 22: { gap: "$22" },
3592
+ 24: { gap: "$24" },
3593
+ 32: { gap: "$32" },
3594
+ 36: { gap: "$36" },
3595
+ 40: { gap: "$40" },
3596
+ 48: { gap: "$48" },
3597
+ 56: { gap: "$56" },
3598
+ 64: { gap: "$64" },
3599
+ 72: { gap: "$72" },
3600
+ 80: { gap: "$80" },
3601
+ full: { gap: "$full" }
3602
+ },
3603
+ gapX: {
3604
+ 2: { gap: "$2" },
3605
+ 4: { gap: "$4" },
3606
+ 6: { gap: "$6" },
3607
+ 8: { gap: "$8" },
3608
+ 10: { gap: "$10" },
3609
+ 12: { gap: "$12" },
3610
+ 14: { gap: "$14" },
3611
+ 16: { gap: "$16" },
3612
+ 20: { gap: "$20" },
3613
+ 22: { gap: "$22" },
3614
+ 24: { gap: "$24" },
3615
+ 32: { gap: "$32" },
3616
+ 36: { gap: "$36" },
3617
+ 40: { gap: "$40" },
3618
+ 48: { gap: "$48" },
3619
+ 56: { gap: "$56" },
3620
+ 64: { gap: "$64" },
3621
+ 72: { gap: "$72" },
3622
+ 80: { gap: "$80" },
3623
+ full: { gap: "$full" }
3624
+ },
3625
+ gapY: {
3626
+ 2: { gap: "$2" },
3627
+ 4: { gap: "$4" },
3628
+ 6: { gap: "$6" },
3629
+ 8: { gap: "$8" },
3630
+ 10: { gap: "$10" },
3631
+ 12: { gap: "$12" },
3632
+ 14: { gap: "$14" },
3633
+ 16: { gap: "$16" },
3634
+ 20: { gap: "$20" },
3635
+ 22: { gap: "$22" },
3636
+ 24: { gap: "$24" },
3637
+ 32: { gap: "$32" },
3638
+ 36: { gap: "$36" },
3639
+ 40: { gap: "$40" },
3640
+ 48: { gap: "$48" },
3641
+ 56: { gap: "$56" },
3642
+ 64: { gap: "$64" },
3643
+ 72: { gap: "$72" },
3644
+ 80: { gap: "$80" },
3645
+ full: { gap: "$full" }
3646
+ }
3647
+ },
3648
+ defaultVariants: {
3649
+ gap: 10
3650
+ }
3651
+ });
3652
+ function Grid(_a) {
3653
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3654
+ return /* @__PURE__ */ jsx17(GridStyled, __spreadProps(__spreadValues({}, props), { children }));
3655
+ }
3656
+
3657
+ // src/components/Container.tsx
3658
+ import { Container as ContainerRadix } from "@radix-ui/themes";
3659
+ import { jsx as jsx18 } from "react/jsx-runtime";
3660
+ var ContainerStyled = styled(ContainerRadix, {
3661
+ variants: {
3662
+ size: {
3663
+ xs: { maxWidth: "576px" },
3664
+ sm: { minWidth: "577px", maxWidth: "767px" },
3665
+ md: { mixWidth: "768px", maxWidth: "991px" },
3666
+ lg: { mixWidth: "992px", maxWidth: "1199px" },
3667
+ xl: { mixWidth: "1200px", maxWidth: "1399px" },
3668
+ xxl: { mixWidth: "1400px" },
3669
+ responsive: { width: "100%", maxWidth: "100%", minWidth: "100%" }
3670
+ },
3671
+ display: {
3672
+ none: { display: "none" },
3673
+ initial: { display: "initial" }
3674
+ },
3675
+ align: {
3676
+ left: { marginLeft: 0, marginRight: "auto" },
3677
+ center: { marginLeft: "auto", marginRight: "auto" },
3678
+ right: { marginLeft: "auto", marginRight: 0 }
3679
+ }
3680
+ },
3681
+ defaultVariants: {
3682
+ size: "md",
3683
+ align: "left",
3684
+ display: "initial"
3685
+ }
3686
+ });
3687
+ function Container(_a) {
3688
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3689
+ return /* @__PURE__ */ jsx18(ContainerStyled, __spreadProps(__spreadValues({}, props), { children }));
3690
+ }
3691
+
3692
+ // src/components/Section.tsx
3693
+ import { Section as SectionRadix } from "@radix-ui/themes";
3694
+ import { jsx as jsx19 } from "react/jsx-runtime";
3695
+ var SectionStyled = styled(SectionRadix, {
3696
+ variants: {
3697
+ size: {
3698
+ xs: { maxWidth: "576px" },
3699
+ sm: { minWidth: "577px", maxWidth: "767px" },
3700
+ md: { mixWidth: "768px", maxWidth: "991px" },
3701
+ lg: { mixWidth: "992px", maxWidth: "1199px" },
3702
+ xl: { mixWidth: "1200px", maxWidth: "1399px" },
3703
+ xxl: { mixWidth: "1400px" },
3704
+ responsive: { width: "100%", maxWidth: "100%", minWidth: "100%" }
3705
+ },
3706
+ display: {
3707
+ none: { display: "none" },
3708
+ initial: { display: "initial" }
3709
+ }
3710
+ },
3711
+ defaultVariants: {
3712
+ size: "md",
3713
+ display: "initial"
3714
+ }
3715
+ });
3716
+ function Section(_a) {
3717
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3718
+ return /* @__PURE__ */ jsx19(SectionStyled, __spreadProps(__spreadValues({}, props), { children }));
2494
3719
  }
2495
3720
  export {
3721
+ Alert,
3722
+ AlertDialogCompleteStyled,
3723
+ AlertDialogDescriptionStyled,
3724
+ AlertDialogRowStyled,
3725
+ AlertDialogSimpleStyled,
3726
+ AlertDialogSubtitleStyled,
3727
+ AlertDialogTitleStyled,
3728
+ AlertDialoghrStyled,
2496
3729
  Avatar,
2497
3730
  AvatarStyled,
2498
- BadgeText,
2499
- BodyText,
3731
+ Badge,
3732
+ BadgeStyled,
2500
3733
  Box,
2501
3734
  Button,
2502
3735
  ButtonGroup,
@@ -2504,29 +3737,43 @@ export {
2504
3737
  ButtonItem,
2505
3738
  ButtonItemStyled,
2506
3739
  ButtonStyled,
2507
- CaptionText,
2508
3740
  CheckboxGroup,
2509
3741
  CheckboxGroupStyled,
2510
3742
  CheckboxItem,
2511
- DisplayText,
3743
+ Container,
3744
+ ContainerStyled,
2512
3745
  DropdownMenu2 as DropdownMenu,
2513
3746
  DropdownMenuItem,
2514
3747
  Filter,
2515
3748
  FilterItem,
2516
3749
  Flex2 as Flex,
2517
- Headline,
3750
+ FlexStyled,
3751
+ Grid,
3752
+ GridStyled,
2518
3753
  Icon,
2519
- Label,
3754
+ Modal,
3755
+ ModalContentStyled,
3756
+ ModalStyled,
3757
+ ModalTitleStyled,
2520
3758
  RadioGroup,
2521
3759
  RadioGroupStyled,
2522
3760
  RadioItem,
2523
- Subtitle,
3761
+ Section,
3762
+ SectionStyled,
3763
+ Step,
3764
+ StepContent,
3765
+ StepList,
3766
+ StepStyled,
3767
+ StepTrigger,
3768
+ StepWrapper,
3769
+ Switch,
3770
+ SwitchStyled,
2524
3771
  Text,
2525
3772
  TextField,
2526
3773
  TextFieldSlot,
2527
3774
  TextFieldSlotStyled,
2528
3775
  TextFieldStyled,
2529
- TooltipText
3776
+ TextStyle
2530
3777
  };
2531
3778
  /*! Bundled license information:
2532
3779