@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.js CHANGED
@@ -241,7 +241,7 @@ var require_react_is_development = __commonJS({
241
241
  var ContextProvider = REACT_PROVIDER_TYPE;
242
242
  var Element = REACT_ELEMENT_TYPE;
243
243
  var ForwardRef = REACT_FORWARD_REF_TYPE;
244
- var Fragment2 = REACT_FRAGMENT_TYPE;
244
+ var Fragment3 = REACT_FRAGMENT_TYPE;
245
245
  var Lazy = REACT_LAZY_TYPE;
246
246
  var Memo = REACT_MEMO_TYPE;
247
247
  var Portal = REACT_PORTAL_TYPE;
@@ -300,7 +300,7 @@ var require_react_is_development = __commonJS({
300
300
  exports2.ContextProvider = ContextProvider;
301
301
  exports2.Element = Element;
302
302
  exports2.ForwardRef = ForwardRef;
303
- exports2.Fragment = Fragment2;
303
+ exports2.Fragment = Fragment3;
304
304
  exports2.Lazy = Lazy;
305
305
  exports2.Memo = Memo;
306
306
  exports2.Portal = Portal;
@@ -1010,10 +1010,18 @@ var require_prop_types = __commonJS({
1010
1010
  // src/index.tsx
1011
1011
  var index_exports = {};
1012
1012
  __export(index_exports, {
1013
+ Alert: () => Alert,
1014
+ AlertDialogCompleteStyled: () => AlertDialogCompleteStyled,
1015
+ AlertDialogDescriptionStyled: () => AlertDialogDescriptionStyled,
1016
+ AlertDialogRowStyled: () => AlertDialogRowStyled,
1017
+ AlertDialogSimpleStyled: () => AlertDialogSimpleStyled,
1018
+ AlertDialogSubtitleStyled: () => AlertDialogSubtitleStyled,
1019
+ AlertDialogTitleStyled: () => AlertDialogTitleStyled,
1020
+ AlertDialoghrStyled: () => AlertDialoghrStyled,
1013
1021
  Avatar: () => Avatar,
1014
1022
  AvatarStyled: () => AvatarStyled,
1015
- BadgeText: () => BadgeText,
1016
- BodyText: () => BodyText,
1023
+ Badge: () => Badge,
1024
+ BadgeStyled: () => BadgeStyled,
1017
1025
  Box: () => Box,
1018
1026
  Button: () => Button,
1019
1027
  ButtonGroup: () => ButtonGroup,
@@ -1021,29 +1029,43 @@ __export(index_exports, {
1021
1029
  ButtonItem: () => ButtonItem,
1022
1030
  ButtonItemStyled: () => ButtonItemStyled,
1023
1031
  ButtonStyled: () => ButtonStyled,
1024
- CaptionText: () => CaptionText,
1025
1032
  CheckboxGroup: () => CheckboxGroup,
1026
1033
  CheckboxGroupStyled: () => CheckboxGroupStyled,
1027
1034
  CheckboxItem: () => CheckboxItem,
1028
- DisplayText: () => DisplayText,
1035
+ Container: () => Container,
1036
+ ContainerStyled: () => ContainerStyled,
1029
1037
  DropdownMenu: () => DropdownMenu2,
1030
1038
  DropdownMenuItem: () => DropdownMenuItem,
1031
1039
  Filter: () => Filter,
1032
1040
  FilterItem: () => FilterItem,
1033
1041
  Flex: () => Flex2,
1034
- Headline: () => Headline,
1042
+ FlexStyled: () => FlexStyled,
1043
+ Grid: () => Grid,
1044
+ GridStyled: () => GridStyled,
1035
1045
  Icon: () => Icon,
1036
- Label: () => Label,
1046
+ Modal: () => Modal,
1047
+ ModalContentStyled: () => ModalContentStyled,
1048
+ ModalStyled: () => ModalStyled,
1049
+ ModalTitleStyled: () => ModalTitleStyled,
1037
1050
  RadioGroup: () => RadioGroup,
1038
1051
  RadioGroupStyled: () => RadioGroupStyled,
1039
1052
  RadioItem: () => RadioItem,
1040
- Subtitle: () => Subtitle,
1053
+ Section: () => Section,
1054
+ SectionStyled: () => SectionStyled,
1055
+ Step: () => Step,
1056
+ StepContent: () => StepContent,
1057
+ StepList: () => StepList,
1058
+ StepStyled: () => StepStyled,
1059
+ StepTrigger: () => StepTrigger,
1060
+ StepWrapper: () => StepWrapper,
1061
+ Switch: () => Switch,
1062
+ SwitchStyled: () => SwitchStyled,
1041
1063
  Text: () => Text,
1042
1064
  TextField: () => TextField,
1043
1065
  TextFieldSlot: () => TextFieldSlot,
1044
1066
  TextFieldSlotStyled: () => TextFieldSlotStyled,
1045
1067
  TextFieldStyled: () => TextFieldStyled,
1046
- TooltipText: () => TooltipText
1068
+ TextStyle: () => TextStyle
1047
1069
  });
1048
1070
  module.exports = __toCommonJS(index_exports);
1049
1071
 
@@ -1057,15 +1079,26 @@ var import_prop_types = __toESM(require_prop_types());
1057
1079
  var import_jsx_runtime = require("react/jsx-runtime");
1058
1080
  import_fontawesome_svg_core.library.add(import_free_solid_svg_icons.fas, import_free_regular_svg_icons.far, import_free_brands_svg_icons.fab);
1059
1081
  var Icon = (_a) => {
1060
- var _b = _a, { name, prefix = "fas", size = "1x", color = "currentColor", className = "" } = _b, props = __objRest(_b, ["name", "prefix", "size", "color", "className"]);
1082
+ var _b = _a, { name, prefix = "fas", size = "sm", color = "currentColor", className = "" } = _b, props = __objRest(_b, ["name", "prefix", "size", "color", "className"]);
1083
+ var _a2, _b2;
1084
+ const sizeMap = {
1085
+ "xs": { width: "0.625rem", height: "0.625rem", fontSize: "0.625rem" },
1086
+ "sm": { width: "0.625rem", height: "0.625rem", fontSize: "0.625rem" },
1087
+ "md": { width: "0.75rem", height: "0.75rem", fontSize: "0.75rem" },
1088
+ "xl": { width: "1rem", height: "1rem", fontSize: "1rem" },
1089
+ undefined: { width: "0.75rem", height: "0.75rem", fontSize: "0.75rem" }
1090
+ };
1061
1091
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1062
1092
  import_react_fontawesome.FontAwesomeIcon,
1063
- __spreadValues({
1093
+ __spreadProps(__spreadValues({
1064
1094
  icon: [prefix, name],
1065
- size,
1095
+ style: sizeMap[size],
1066
1096
  color,
1067
1097
  className
1068
- }, props)
1098
+ }, props), {
1099
+ width: (_a2 = sizeMap[size]) == null ? void 0 : _a2.width,
1100
+ height: (_b2 = sizeMap[size]) == null ? void 0 : _b2.height
1101
+ })
1069
1102
  );
1070
1103
  };
1071
1104
  Icon.propTypes = {
@@ -1112,6 +1145,7 @@ var colors = {
1112
1145
  red800: "#75151D",
1113
1146
  red900: "#380A0E",
1114
1147
  red950: "#1E0507",
1148
+ pink100: "#F9DCF3",
1115
1149
  purple50: "#F3EFFB",
1116
1150
  purple100: "#E6DEF7",
1117
1151
  purple200: "#D1C2F0",
@@ -1134,6 +1168,7 @@ var colors = {
1134
1168
  yellow800: "#664D03",
1135
1169
  yellow900: "#332701",
1136
1170
  yellow950: "#191300",
1171
+ orange100: "#FEE0D8",
1137
1172
  dark50: "#FFFFFF",
1138
1173
  dark100: "#F4F4F4",
1139
1174
  dark200: "#EAEBF0",
@@ -1353,171 +1388,31 @@ var {
1353
1388
 
1354
1389
  // src/components/Text.tsx
1355
1390
  var import_themes = require("@radix-ui/themes");
1356
- var Text = styled(import_themes.Text, {
1357
- fontFamily: "$default",
1358
- lineHeight: "$base",
1359
- color: "$gray100",
1360
- letterSpacing: "$2",
1361
- fontWeight: "$semibold",
1362
- variants: {
1363
- size: {
1364
- lg: { fontSize: "$56" },
1365
- md: { fontSize: "$48" },
1366
- sm: { fontSize: "$36" }
1367
- }
1368
- },
1369
- defaultVariants: {
1370
- size: "md"
1371
- }
1372
- });
1373
-
1374
- // src/components/DisplayText.tsx
1375
- var DisplayText = styled("p", {
1391
+ var import_jsx_runtime2 = require("react/jsx-runtime");
1392
+ var TextStyle = styled(import_themes.Text, {
1376
1393
  fontFamily: "$default",
1377
1394
  lineHeight: "$base",
1378
1395
  color: "$gray100",
1379
1396
  letterSpacing: "$2",
1380
1397
  fontWeight: "$semibold",
1398
+ fontSize: "$sm",
1381
1399
  variants: {
1382
1400
  size: {
1383
1401
  lg: { fontSize: "$56" },
1384
1402
  md: { fontSize: "$48" },
1385
1403
  sm: { fontSize: "$36" }
1386
1404
  }
1387
- },
1388
- defaultVariants: {
1389
- size: "md"
1390
- }
1391
- });
1392
-
1393
- // src/components/Headline.tsx
1394
- var import_themes2 = require("@radix-ui/themes");
1395
- var Headline = styled(import_themes2.Heading, {
1396
- fontFamily: "$default",
1397
- color: "$gray100",
1398
- letterSpacing: "0px",
1399
- variants: {
1400
- size: {
1401
- 1: { fontSize: "$48", lineHeight: "$64", fontWeight: "$semibold" },
1402
- 2: { fontSize: "$32", lineHeight: "$48", fontWeight: "$semibold" },
1403
- 3: { fontSize: "$24", lineHeight: "$40", fontWeight: "$semibold" },
1404
- 4: { fontSize: "$20", lineHeight: "$36", fontWeight: "$semibold" },
1405
- 5: { fontSize: "$18", lineHeight: "$24", fontWeight: "$semibold" },
1406
- 6: { fontSize: "$18", lineHeight: "$34", fontWeight: "$medium" },
1407
- 7: { fontSize: "$16", lineHeight: "$32", fontWeight: "$semibold" },
1408
- 8: { fontSize: "$16", lineHeight: "$32", fontWeight: "$medium" }
1409
- }
1410
- },
1411
- defaultVariants: {
1412
- size: 1
1413
- }
1414
- });
1415
-
1416
- // src/components/Subtitle.tsx
1417
- var import_themes3 = require("@radix-ui/themes");
1418
- var Subtitle = styled(import_themes3.Text, {
1419
- fontFamily: "$default",
1420
- color: "$gray100",
1421
- letterSpacing: "0px",
1422
- variants: {
1423
- size: {
1424
- 1: { fontSize: "$20", lineHeight: "$36", fontWeight: "$regular" },
1425
- 2: { fontSize: "$18", lineHeight: "$34", fontWeight: "$regular" },
1426
- 3: { fontSize: "$16", lineHeight: "$32", fontWeight: "$regular" },
1427
- 4: { fontSize: "$14", lineHeight: "$24", fontWeight: "$regular" },
1428
- 5: { fontSize: "$14", lineHeight: "$16", fontWeight: "$semibold" }
1429
- }
1430
- },
1431
- defaultVariants: {
1432
- size: 1
1433
- }
1434
- });
1435
-
1436
- // src/components/BodyText.tsx
1437
- var import_themes4 = require("@radix-ui/themes");
1438
- var BodyText = styled(import_themes4.Text, {
1439
- fontFamily: "$default",
1440
- color: "$gray100",
1441
- fontWeight: "$regular",
1442
- variants: {
1443
- size: {
1444
- 1: { fontSize: "$16", lineHeight: "$24" },
1445
- 2: { fontSize: "$14", lineHeight: "$24" },
1446
- 3: { fontSize: "$13", lineHeight: "$24" },
1447
- 4: { fontSize: "$12", lineHeight: "$16" }
1448
- }
1449
- },
1450
- defaultVariants: {
1451
- size: "1"
1452
- }
1453
- });
1454
-
1455
- // src/components/Label.tsx
1456
- var import_themes5 = require("@radix-ui/themes");
1457
- var Label = styled(import_themes5.Text, {
1458
- fontFamily: "$default",
1459
- color: "$gray100",
1460
- letterSpacing: "0px",
1461
- variants: {
1462
- size: {
1463
- 1: { fontSize: "$18", lineHeight: "$22", fontWeight: "$semibold" },
1464
- 2: { fontSize: "$14", lineHeight: "$16", fontWeight: "$medium" },
1465
- 3: { fontSize: "$14", lineHeight: "$16", fontWeight: "$regular" },
1466
- 4: { fontSize: "$13", lineHeight: "$16", fontWeight: "$semibold", letterSpacing: "2px" },
1467
- 5: { fontSize: "$13", lineHeight: "$16", fontWeight: "$medium" },
1468
- 6: { fontSize: "$13", lineHeight: "$16", fontWeight: "$regular" },
1469
- 7: { fontSize: "$12", lineHeight: "$12", fontWeight: "$regular" }
1470
- }
1471
- },
1472
- defaultVariants: {
1473
- size: "1"
1474
- }
1475
- });
1476
-
1477
- // src/components/BadgeText.tsx
1478
- var import_themes6 = require("@radix-ui/themes");
1479
- var BadgeText = styled(import_themes6.Text, {
1480
- fontFamily: "$default",
1481
- color: "$gray100",
1482
- letterSpacing: "0px",
1483
- variants: {
1484
- size: {
1485
- 1: { fontSize: "$16", lineHeight: "$16", fontWeight: "$regular" },
1486
- 2: { fontSize: "$14", lineHeight: "$14", fontWeight: "$regular" },
1487
- 3: { fontSize: "$12", lineHeight: "$12", fontWeight: "$regular" },
1488
- 4: { fontSize: "$10", lineHeight: "$10", fontWeight: "$regular" }
1489
- }
1490
- },
1491
- defaultVariants: {
1492
- size: "1"
1493
1405
  }
1494
1406
  });
1495
-
1496
- // src/components/CaptionText.tsx
1497
- var import_themes7 = require("@radix-ui/themes");
1498
- var CaptionText = styled(import_themes7.Text, {
1499
- fontFamily: "$default",
1500
- color: "$gray100",
1501
- letterSpacing: "0px",
1502
- fontSize: "$14",
1503
- lineHeight: "$16",
1504
- fontWeight: "$regular"
1505
- });
1506
-
1507
- // src/components/TooltipText.tsx
1508
- var TooltipText = styled("span", {
1509
- fontFamily: "$default",
1510
- color: "$gray100",
1511
- letterSpacing: "0px",
1512
- fontSize: "$13",
1513
- lineHeight: "$16",
1514
- fontWeight: "$regular"
1515
- });
1407
+ function Text(_a) {
1408
+ var props = __objRest(_a, []);
1409
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(TextStyle, __spreadValues({}, props));
1410
+ }
1516
1411
 
1517
1412
  // src/components/Button.tsx
1518
- var import_themes8 = require("@radix-ui/themes");
1519
- var import_jsx_runtime2 = require("react/jsx-runtime");
1520
- var ButtonStyled = styled(import_themes8.Button, {
1413
+ var import_themes2 = require("@radix-ui/themes");
1414
+ var import_jsx_runtime3 = require("react/jsx-runtime");
1415
+ var ButtonStyled = styled(import_themes2.Button, {
1521
1416
  fontFamily: "$default",
1522
1417
  letterSpacing: 0,
1523
1418
  border: 0,
@@ -1529,115 +1424,60 @@ var ButtonStyled = styled(import_themes8.Button, {
1529
1424
  alignItems: "center",
1530
1425
  justifyContent: "center",
1531
1426
  gap: "$10",
1427
+ "&:disabled": {
1428
+ cursor: "not-allowed",
1429
+ transition: "none"
1430
+ },
1532
1431
  variants: {
1432
+ color: {
1433
+ brand: {},
1434
+ neutral: {},
1435
+ purple: {}
1436
+ },
1533
1437
  variant: {
1534
- simple: {
1438
+ text: {
1535
1439
  backgroundColor: "transparent",
1536
- padding: 0,
1537
- color: "$neutral600",
1538
- border: 0,
1539
1440
  boxShadow: "none",
1540
- "&:hover": {
1541
- transform: "scale(1.05)",
1542
- color: "$brand600"
1543
- },
1544
- "&:focus": {
1545
- border: "2px solid $gray500",
1546
- color: "$brand700"
1547
- },
1548
- "&:active": {
1549
- transform: "scale(0.95)",
1550
- color: "$brand500"
1551
- },
1552
- "&:hover:disabled": {
1553
- transform: "none"
1554
- },
1555
- "&:disabled": {
1556
- cursor: "not-allowed",
1557
- color: "$dark400",
1558
- transition: "none"
1559
- }
1560
- },
1561
- primary: {
1562
- backgroundColor: "$brand500",
1563
- color: "$grey50",
1564
- "&:hover": {
1565
- border: "$2 solid $brand700",
1566
- transform: "scale(1.05)",
1567
- backgroundColor: "$blue600"
1568
- },
1569
- "&:focus": {
1570
- border: 0,
1571
- backgroundColor: "$blue700"
1572
- },
1573
- "&:active": {
1574
- transform: "scale(0.95)",
1575
- border: "$4 solid $brand300",
1576
- backgroundColor: "$blue500"
1577
- },
1578
- "&:hover:disabled": {
1579
- transform: "none"
1580
- },
1581
- "&:disabled": {
1582
- border: "$1 solid $brand50",
1583
- backgroundColor: "$brand50",
1584
- boxShadow: "none",
1585
- color: "$neutral400",
1586
- transition: "none"
1587
- }
1441
+ padding: 0,
1442
+ border: 0
1588
1443
  },
1589
- purple: {
1590
- backgroundColor: "$purple500",
1591
- color: "$grey50",
1444
+ contained: {
1592
1445
  "&:hover": {
1593
- transform: "scale(1.05)",
1594
- backgroundColor: "$purple600",
1595
- border: "$2 solid $purple700"
1446
+ borderWidth: "$2",
1447
+ borderStyle: "solid"
1596
1448
  },
1597
1449
  "&:focus": {
1598
- border: "$2 solid $purple700",
1599
- backgroundColor: "$purple600"
1450
+ border: 0
1600
1451
  },
1601
1452
  "&:active": {
1602
- transform: "scale(0.95)",
1603
- border: "$2 solid $purple300",
1604
- backgroundColor: "$purple500"
1605
- },
1606
- "&:hover:disabled": {
1607
- transform: "none"
1453
+ borderWidth: "$4",
1454
+ borderStyle: "solid"
1608
1455
  },
1609
1456
  "&:disabled": {
1610
- border: "$1 solid $purple200",
1611
- backgroundColor: "$purple200",
1612
- transition: "none"
1457
+ borderWidth: "$1",
1458
+ borderStyle: "solid",
1459
+ boxShadow: "none"
1613
1460
  }
1614
1461
  },
1615
- secondary: {
1616
- backgroundColor: "$neutral500",
1617
- border: "$1 solid $neutral300",
1618
- color: "$neutral600",
1462
+ outlined: {
1463
+ borderWidth: "$1",
1464
+ borderStyle: "solid",
1619
1465
  "&:hover": {
1620
- transform: "scale(1.05)",
1621
- backgroundColor: "$neutral100",
1622
- border: "$1 solid $neutral400"
1466
+ borderWidth: "$2",
1467
+ borderStyle: "solid"
1623
1468
  },
1624
1469
  "&:focus": {
1625
- backgroundColor: "$neutral200",
1626
- border: 0
1470
+ borderWidth: "$2",
1471
+ borderStyle: "solid"
1627
1472
  },
1628
1473
  "&:active": {
1629
- transform: "scale(0.95)",
1630
- backgroundColor: "$neutral50",
1631
- border: "$1 solid $neutral300"
1632
- },
1633
- "&:hover:disabled": {
1634
- transform: "none"
1474
+ borderWidth: "$2",
1475
+ borderStyle: "solid"
1635
1476
  },
1636
1477
  "&:disabled": {
1637
- backgroundColor: "$neutral50",
1638
- border: "$1 solid $neutral200",
1639
- color: "$neutral400",
1640
- transition: "none"
1478
+ borderWidth: "$1",
1479
+ borderStyle: "solid",
1480
+ color: "$neutral400"
1641
1481
  }
1642
1482
  }
1643
1483
  },
@@ -1670,88 +1510,336 @@ var ButtonStyled = styled(import_themes8.Button, {
1670
1510
  }
1671
1511
  },
1672
1512
  defaultVariants: {
1673
- variant: "simple",
1674
- size: "md"
1675
- }
1676
- });
1677
- function Button(_a) {
1678
- var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
1679
- const Component = asChild ? import_themes8.Button : "button";
1680
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ButtonStyled, __spreadValues({ as: Component }, props));
1681
- }
1682
-
1683
- // src/components/ButtonGroup.tsx
1684
- var import_themes9 = require("@radix-ui/themes");
1685
- var import_jsx_runtime3 = require("react/jsx-runtime");
1686
- var ButtonItemStyled = styled(import_themes9.Button, {
1687
- fontFamily: "$default",
1688
- letterSpacing: 0,
1689
- border: 0,
1690
- transition: "all 300ms ease-out",
1691
- cursor: "pointer",
1692
- variants: {
1693
- active: {
1694
- true: {}
1695
- }
1696
- }
1697
- });
1698
- var ButtonGroupStyled = styled(import_themes9.Flex, {
1699
- display: "flex",
1700
- borderRadius: "$md",
1701
- overflow: "hidden",
1702
- variants: {
1703
- variant: {
1704
- primary: {
1705
- [`& ${ButtonItemStyled}`]: {
1706
- backgroundColor: "$brand500",
1707
- color: "$grey50",
1708
- "&:hover": { backgroundColor: "$blue600" },
1709
- "&:focus": { backgroundColor: "$blue700" },
1710
- "&:active": { backgroundColor: "$blue400" }
1513
+ variant: "contained",
1514
+ size: "md",
1515
+ color: "brand"
1516
+ },
1517
+ compoundVariants: [
1518
+ {
1519
+ variant: "text",
1520
+ color: "brand",
1521
+ css: {
1522
+ color: "$brand500",
1523
+ "&:hover": { color: "$brand600" },
1524
+ "&:focus": { color: "$brand700" },
1525
+ "&:active": { color: "$brand500" },
1526
+ "&:disabled": { color: "$dark400" }
1527
+ }
1528
+ },
1529
+ {
1530
+ variant: "text",
1531
+ color: "neutral",
1532
+ css: {
1533
+ color: "$neutral600",
1534
+ "&:hover": { color: "$neutral700" },
1535
+ "&:focus": { color: "$neutral800" },
1536
+ "&:active": { color: "$neutral500" },
1537
+ "&:disabled": { color: "$dark400" }
1538
+ }
1539
+ },
1540
+ {
1541
+ variant: "text",
1542
+ color: "purple",
1543
+ css: {
1544
+ color: "$purple500",
1545
+ "&:hover": { color: "$purple600" },
1546
+ "&:focus": { color: "$purple700" },
1547
+ "&:active": { color: "$purple500" },
1548
+ "&:disabled": { color: "$dark400" }
1549
+ }
1550
+ },
1551
+ {
1552
+ variant: "text",
1553
+ color: "green",
1554
+ css: {
1555
+ color: "$green500",
1556
+ "&:hover": { color: "$green600" },
1557
+ "&:focus": { color: "$green700" },
1558
+ "&:active": { color: "$green500" },
1559
+ "&:disabled": { color: "$dark400" }
1560
+ }
1561
+ },
1562
+ {
1563
+ variant: "text",
1564
+ color: "blue",
1565
+ css: {
1566
+ color: "$blue500",
1567
+ "&:hover": { color: "$blue600" },
1568
+ "&:focus": { color: "$blue700" },
1569
+ "&:active": { color: "$blue500" },
1570
+ "&:disabled": { color: "$dark400" }
1571
+ }
1572
+ },
1573
+ {
1574
+ variant: "text",
1575
+ color: "red",
1576
+ css: {
1577
+ color: "$red500",
1578
+ "&:hover": { color: "$red600" },
1579
+ "&:focus": { color: "$red700" },
1580
+ "&:active": { color: "$red500" },
1581
+ "&:disabled": { color: "$dark400" }
1582
+ }
1583
+ },
1584
+ // contained
1585
+ {
1586
+ variant: "contained",
1587
+ color: "brand",
1588
+ css: {
1589
+ color: "$grey50",
1590
+ backgroundColor: "$brand500",
1591
+ borderWidth: "$2",
1592
+ borderStyle: "solid",
1593
+ borderColor: "transparent",
1594
+ "&:hover": {
1595
+ borderColor: "$brand700",
1596
+ backgroundColor: "$blue600"
1711
1597
  },
1712
- [`& ${ButtonItemStyled}.active`]: {
1713
- backgroundColor: "$brand700",
1714
- "&:hover": { backgroundColor: "$brand700" },
1715
- "&:focus": { backgroundColor: "$brand700" },
1716
- "&:active": { backgroundColor: "$brand700" }
1717
- }
1718
- },
1719
- simple: {
1720
- [`& ${ButtonItemStyled}`]: {
1721
- backgroundColor: "transparent",
1722
- border: "1px solid $dark300",
1723
- color: "$dark600",
1724
- "&:hover": { backgroundColor: "$neutral" }
1598
+ "&:focus": {
1599
+ backgroundColor: "$blue700"
1725
1600
  },
1726
- [`& ${ButtonItemStyled}.active`]: {
1727
- backgroundColor: "$dark200",
1728
- color: "$dark600",
1729
- "&:hover": { backgroundColor: "$dark200", color: "$dark600" }
1601
+ "&:active": {
1602
+ borderColor: "$brand300",
1603
+ backgroundColor: "$blue500"
1604
+ },
1605
+ "&:disabled": {
1606
+ borderColor: "$brand50",
1607
+ backgroundColor: "$brand50",
1608
+ color: "$neutral400"
1730
1609
  }
1731
1610
  }
1732
1611
  },
1733
- size: {
1734
- sm: {
1735
- [`& ${ButtonItemStyled}`]: {
1736
- padding: "$8 $14",
1737
- fontSize: "$13",
1738
- "&:not(:first-child)": {
1739
- borderLeft: "none"
1740
- },
1741
- "&:first-child": {
1742
- borderTopLeftRadius: "$sm",
1743
- borderBottomLeftRadius: "$sm"
1744
- },
1745
- "&:last-child": {
1746
- borderTopRightRadius: "$sm",
1747
- borderBottomRightRadius: "$sm"
1748
- }
1612
+ {
1613
+ variant: "contained",
1614
+ color: "neutral",
1615
+ css: {
1616
+ backgroundColor: "$neutral600",
1617
+ color: "$grey50",
1618
+ "&:hover": {
1619
+ backgroundColor: "$neutral700",
1620
+ borderColor: "$neutral800"
1621
+ },
1622
+ "&:focus": {
1623
+ backgroundColor: "$neutral800"
1624
+ },
1625
+ "&:active": {
1626
+ backgroundColor: "$neutral500",
1627
+ borderColor: "$neutral400"
1628
+ },
1629
+ "&:disabled": {
1630
+ backgroundColor: "$neutral50",
1631
+ borderColor: "$neutral200",
1632
+ color: "$neutral400"
1749
1633
  }
1750
- },
1751
- md: {
1752
- [`& ${ButtonItemStyled}`]: {
1634
+ }
1635
+ },
1636
+ {
1637
+ variant: "contained",
1638
+ color: "purple",
1639
+ css: {
1640
+ backgroundColor: "$purple500",
1641
+ color: "$grey50",
1642
+ "&:hover": {
1643
+ backgroundColor: "$purple600",
1644
+ borderColor: "$purple700"
1645
+ },
1646
+ "&:focus": {
1647
+ backgroundColor: "$purple700"
1648
+ },
1649
+ "&:active": {
1650
+ borderColor: "$purple300",
1651
+ backgroundColor: "$purple500"
1652
+ },
1653
+ "&:disabled": {
1654
+ borderColor: "$purple200",
1655
+ backgroundColor: "$purple200",
1656
+ color: "$neutral400"
1657
+ }
1658
+ }
1659
+ },
1660
+ // outlined
1661
+ {
1662
+ variant: "outlined",
1663
+ color: "brand",
1664
+ css: {
1665
+ color: "$brand500",
1666
+ borderColor: "$brand300",
1667
+ backgroundColor: "$grey50",
1668
+ "&:hover": {
1669
+ borderColor: "$brand400",
1670
+ backgroundColor: "$brand50"
1671
+ },
1672
+ "&:focus": {
1673
+ borderColor: "$brand400",
1674
+ backgroundColor: "$brand50"
1675
+ },
1676
+ "&:active": {
1677
+ borderColor: "$brand300",
1678
+ backgroundColor: "$grey50"
1679
+ },
1680
+ "&:disabled": {
1681
+ borderColor: "$brand200",
1682
+ backgroundColor: "$neutral200"
1683
+ }
1684
+ }
1685
+ },
1686
+ {
1687
+ variant: "outlined",
1688
+ color: "neutral",
1689
+ css: {
1690
+ color: "$neutral600",
1691
+ borderColor: "$neutral300",
1692
+ backgroundColor: "$grey50",
1693
+ "&:hover": {
1694
+ borderColor: "$neutral400",
1695
+ backgroundColor: "$grey100"
1696
+ },
1697
+ "&:focus": {
1698
+ borderColor: "$neutral400",
1699
+ backgroundColor: "$grey100"
1700
+ },
1701
+ "&:active": {
1702
+ borderColor: "$neutral300",
1703
+ backgroundColor: "$grey50"
1704
+ },
1705
+ "&:disabled": {
1706
+ borderColor: "$neutral200",
1707
+ backgroundColor: "$neutral200"
1708
+ }
1709
+ }
1710
+ },
1711
+ {
1712
+ variant: "outlined",
1713
+ color: "purple",
1714
+ css: {
1715
+ color: "$purple500",
1716
+ borderColor: "$purple300",
1717
+ backgroundColor: "$grey50",
1718
+ "&:hover": {
1719
+ borderColor: "$purple400",
1720
+ backgroundColor: "$purple50"
1721
+ },
1722
+ "&:focus": {
1723
+ borderColor: "$purple400",
1724
+ backgroundColor: "$purple50"
1725
+ },
1726
+ "&:active": {
1727
+ borderColor: "$purple300",
1728
+ backgroundColor: "$grey50"
1729
+ },
1730
+ "&:disabled": {
1731
+ borderColor: "$purple200",
1732
+ backgroundColor: "$neutral200"
1733
+ }
1734
+ }
1735
+ }
1736
+ ]
1737
+ });
1738
+ function Button(_a) {
1739
+ var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
1740
+ const Component = asChild ? import_themes2.Button : "button";
1741
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ButtonStyled, __spreadValues({ as: Component }, props));
1742
+ }
1743
+
1744
+ // src/components/ButtonGroup.tsx
1745
+ var import_themes3 = require("@radix-ui/themes");
1746
+ var import_jsx_runtime4 = require("react/jsx-runtime");
1747
+ var ButtonItemStyled = styled(import_themes3.Button, {
1748
+ fontFamily: "$default",
1749
+ letterSpacing: 0,
1750
+ border: 0,
1751
+ transition: "all 300ms ease-out",
1752
+ cursor: "pointer",
1753
+ boxSizing: "border-box",
1754
+ variants: {
1755
+ active: {
1756
+ true: {}
1757
+ }
1758
+ }
1759
+ });
1760
+ var ButtonGroupStyled = styled(import_themes3.Flex, {
1761
+ display: "flex",
1762
+ borderRadius: "$md",
1763
+ overflow: "hidden",
1764
+ variants: {
1765
+ color: {
1766
+ brand: {},
1767
+ neutral: {},
1768
+ purple: {},
1769
+ green: {},
1770
+ blue: {},
1771
+ red: {}
1772
+ },
1773
+ variant: {
1774
+ text: {
1775
+ [`& ${ButtonItemStyled}`]: {
1776
+ backgroundColor: "transparent",
1777
+ boxShadow: "none",
1778
+ padding: 0,
1779
+ border: 0
1780
+ }
1781
+ },
1782
+ contained: {
1783
+ [`& ${ButtonItemStyled}`]: {
1784
+ borderWidth: "$1",
1785
+ borderStyle: "solid",
1786
+ "&:disabled": {
1787
+ boxShadow: "none"
1788
+ }
1789
+ }
1790
+ },
1791
+ outlined: {
1792
+ [`& ${ButtonItemStyled}`]: {
1793
+ borderWidth: "$1",
1794
+ borderStyle: "solid",
1795
+ "&:disabled": {
1796
+ color: "$neutral400"
1797
+ }
1798
+ }
1799
+ }
1800
+ },
1801
+ size: {
1802
+ xs: {
1803
+ [`& ${ButtonItemStyled}`]: {
1804
+ padding: "$6 $12",
1805
+ fontSize: "$12",
1806
+ lineHeight: "$base",
1807
+ "&:not(:first-child)": {
1808
+ borderLeft: "none"
1809
+ },
1810
+ "&:first-child": {
1811
+ borderTopLeftRadius: "$xs",
1812
+ borderBottomLeftRadius: "$xs"
1813
+ },
1814
+ "&:last-child": {
1815
+ borderTopRightRadius: "$xs",
1816
+ borderBottomRightRadius: "$xs"
1817
+ }
1818
+ }
1819
+ },
1820
+ sm: {
1821
+ [`& ${ButtonItemStyled}`]: {
1822
+ padding: "$8 $14",
1823
+ fontSize: "$13",
1824
+ lineHeight: "$smaller",
1825
+ "&:not(:first-child)": {
1826
+ borderLeft: "none"
1827
+ },
1828
+ "&:first-child": {
1829
+ borderTopLeftRadius: "$sm",
1830
+ borderBottomLeftRadius: "$sm"
1831
+ },
1832
+ "&:last-child": {
1833
+ borderTopRightRadius: "$sm",
1834
+ borderBottomRightRadius: "$sm"
1835
+ }
1836
+ }
1837
+ },
1838
+ md: {
1839
+ [`& ${ButtonItemStyled}`]: {
1753
1840
  padding: "$12 $16",
1754
1841
  fontSize: "$14",
1842
+ lineHeight: "$smaller",
1755
1843
  "&:not(:first-child)": {
1756
1844
  borderLeft: "none"
1757
1845
  },
@@ -1769,6 +1857,7 @@ var ButtonGroupStyled = styled(import_themes9.Flex, {
1769
1857
  [`& ${ButtonItemStyled}`]: {
1770
1858
  padding: "$13 $20",
1771
1859
  fontSize: "$18",
1860
+ lineHeight: "$smaller",
1772
1861
  "&:not(:first-child)": {
1773
1862
  borderLeft: "none"
1774
1863
  },
@@ -1784,126 +1873,404 @@ var ButtonGroupStyled = styled(import_themes9.Flex, {
1784
1873
  }
1785
1874
  }
1786
1875
  },
1787
- defaultVariants: {
1788
- variant: "primary",
1789
- size: "md"
1790
- }
1791
- });
1792
- function ButtonItem(_a) {
1793
- var _b = _a, { children, active } = _b, props = __objRest(_b, ["children", "active"]);
1794
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
1795
- }
1796
- function ButtonGroup(_a) {
1797
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1798
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
1799
- }
1800
-
1801
- // src/components/Avatar.tsx
1802
- var import_themes10 = require("@radix-ui/themes");
1803
- var import_jsx_runtime4 = require("react/jsx-runtime");
1804
- var AvatarStyled = styled(import_themes10.Avatar, {
1805
- fontFamily: "$default",
1806
- color: "$gray100",
1807
- letterSpacing: "0px",
1808
- variants: {
1809
- size: {
1810
- "xs": { width: "$24", height: "$24", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$10" },
1811
- "sm": { width: "$32", height: "$32", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$14" },
1812
- "md": { width: "$40", height: "$40", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$16" },
1813
- "lg": { width: "$48", height: "$48", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$18" },
1814
- "xl": { width: "$64", height: "$64", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$24" }
1876
+ compoundVariants: [
1877
+ // text
1878
+ {
1879
+ variant: "text",
1880
+ color: "brand",
1881
+ css: {
1882
+ [`& ${ButtonItemStyled}`]: {
1883
+ color: "$brand500",
1884
+ "&:hover": { color: "$brand600" },
1885
+ "&:focus": { color: "$brand700" },
1886
+ "&:active": { color: "$brand500" },
1887
+ "&:disabled": { color: "$dark400" }
1888
+ },
1889
+ [`& ${ButtonItemStyled}.active`]: {
1890
+ color: "$brand700",
1891
+ "&:hover": { color: "$brand700" },
1892
+ "&:focus": { color: "$brand700" },
1893
+ "&:active": { color: "$brand700" }
1894
+ }
1895
+ }
1815
1896
  },
1816
- radii: {
1817
- full: { borderRadius: "$full" }
1897
+ {
1898
+ variant: "text",
1899
+ color: "neutral",
1900
+ css: {
1901
+ [`& ${ButtonItemStyled}`]: {
1902
+ color: "$neutral600",
1903
+ "&:hover": { color: "$neutral700" },
1904
+ "&:focus": { color: "$neutral800" },
1905
+ "&:active": { color: "$neutral500" },
1906
+ "&:disabled": { color: "$dark400" }
1907
+ },
1908
+ [`& ${ButtonItemStyled}.active`]: {
1909
+ color: "$neutral800",
1910
+ "&:hover": { color: "$neutral800" },
1911
+ "&:focus": { color: "$neutral800" },
1912
+ "&:active": { color: "$neutral800" }
1913
+ }
1914
+ }
1818
1915
  },
1819
- variant: {
1820
- "without-image": {
1821
- border: "1px solid $brand500",
1822
- backgroundColor: "$dark50",
1823
- color: "$dark700",
1824
- fontStyle: "normal",
1825
- fontWeight: 500,
1826
- lineHeight: "normal",
1827
- textTransform: "uppercase"
1828
- },
1829
- "with-image": {
1830
- border: 0,
1831
- "img": {
1832
- width: "100%",
1833
- height: "100%",
1834
- objectFit: "cover",
1835
- borderRadius: "$full"
1916
+ {
1917
+ variant: "text",
1918
+ color: "purple",
1919
+ css: {
1920
+ [`& ${ButtonItemStyled}`]: {
1921
+ color: "$purple500",
1922
+ "&:hover": { color: "$purple600" },
1923
+ "&:focus": { color: "$purple700" },
1924
+ "&:active": { color: "$purple500" },
1925
+ "&:disabled": { color: "$dark400" }
1926
+ },
1927
+ [`& ${ButtonItemStyled}.active`]: {
1928
+ color: "$purple700",
1929
+ "&:hover": { color: "$purple700" },
1930
+ "&:focus": { color: "$purple700" },
1931
+ "&:active": { color: "$purple700" }
1836
1932
  }
1837
1933
  }
1838
- }
1839
- },
1840
- defaultVariants: {
1841
- size: "md",
1842
- radii: "full",
1843
- variant: "without-image"
1844
- }
1845
- });
1846
- function Avatar(_a) {
1847
- var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
1848
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AvatarStyled, __spreadValues({ as: import_themes10.Avatar }, props));
1849
- }
1850
-
1851
- // src/components/Flex.tsx
1852
- var import_themes11 = require("@radix-ui/themes");
1853
- var Flex2 = styled(import_themes11.Flex, {
1854
- display: "flex",
1855
- variants: {
1856
- direction: {
1857
- row: { flexDirection: "row" },
1858
- column: { flexDirection: "column" },
1859
- "row-reverse": { flexDirection: "row-reverse" },
1860
- "column-reverse": { flexDirection: "column-reverse" }
1861
1934
  },
1862
- gap: {
1863
- 2: { gap: "$2" },
1864
- 4: { gap: "$4" },
1865
- 6: { gap: "$6" },
1866
- 8: { gap: "$8" },
1867
- 10: { gap: "$10" },
1868
- 12: { gap: "$12" },
1869
- 14: { gap: "$14" },
1870
- 16: { gap: "$16" },
1871
- 20: { gap: "$20" },
1872
- 22: { gap: "$22" },
1873
- 24: { gap: "$24" },
1874
- 32: { gap: "$32" },
1875
- 36: { gap: "$36" },
1876
- 40: { gap: "$40" },
1877
- 48: { gap: "$48" },
1878
- 56: { gap: "$56" },
1879
- 64: { gap: "$64" },
1880
- 72: { gap: "$72" },
1881
- 80: { gap: "$80" },
1882
- full: { gap: "$full" }
1883
- }
1884
- },
1885
- defaultVariants: {
1886
- direction: "row",
1887
- gap: 10
1888
- }
1889
- });
1890
-
1891
- // src/components/Box.tsx
1892
- var import_themes12 = require("@radix-ui/themes");
1893
- var Box = import_themes12.Box;
1894
-
1895
- // src/components/TextField.tsx
1896
- var import_themes13 = require("@radix-ui/themes");
1897
- var import_jsx_runtime5 = require("react/jsx-runtime");
1898
- var TextFieldStyled = styled(import_themes13.TextField.Root, {
1899
- height: "$40",
1900
- fontFamily: "$default",
1901
- letterSpacing: "0px",
1902
- fontSize: "$13",
1903
- padding: "$12 $14",
1904
- borderRadius: "$sm",
1905
- boxSizing: "border-box",
1906
- color: "$dark500",
1935
+ {
1936
+ variant: "text",
1937
+ color: "green",
1938
+ css: {
1939
+ [`& ${ButtonItemStyled}`]: {
1940
+ color: "$green500",
1941
+ "&:hover": { color: "$green600" },
1942
+ "&:focus": { color: "$green700" },
1943
+ "&:active": { color: "$green500" },
1944
+ "&:disabled": { color: "$dark400" }
1945
+ },
1946
+ [`& ${ButtonItemStyled}.active`]: {
1947
+ color: "$green700",
1948
+ "&:hover": { color: "$green700" },
1949
+ "&:focus": { color: "$green700" },
1950
+ "&:active": { color: "$green700" }
1951
+ }
1952
+ }
1953
+ },
1954
+ {
1955
+ variant: "text",
1956
+ color: "blue",
1957
+ css: {
1958
+ [`& ${ButtonItemStyled}`]: {
1959
+ color: "$blue500",
1960
+ "&:hover": { color: "$blue600" },
1961
+ "&:focus": { color: "$blue700" },
1962
+ "&:active": { color: "$blue500" },
1963
+ "&:disabled": { color: "$dark400" }
1964
+ },
1965
+ [`& ${ButtonItemStyled}.active`]: {
1966
+ color: "$blue700",
1967
+ "&:hover": { color: "$blue700" },
1968
+ "&:focus": { color: "$blue700" },
1969
+ "&:active": { color: "$blue700" }
1970
+ }
1971
+ }
1972
+ },
1973
+ {
1974
+ variant: "text",
1975
+ color: "red",
1976
+ css: {
1977
+ [`& ${ButtonItemStyled}`]: {
1978
+ color: "$red500",
1979
+ "&:hover": { color: "$red600" },
1980
+ "&:focus": { color: "$red700" },
1981
+ "&:active": { color: "$red500" },
1982
+ "&:disabled": { color: "$dark400" }
1983
+ },
1984
+ [`& ${ButtonItemStyled}.active`]: {
1985
+ color: "$red700",
1986
+ "&:hover": { color: "$red700" },
1987
+ "&:focus": { color: "$red700" },
1988
+ "&:active": { color: "$red700" }
1989
+ }
1990
+ }
1991
+ },
1992
+ // contained
1993
+ {
1994
+ variant: "contained",
1995
+ color: "brand",
1996
+ css: {
1997
+ [`& ${ButtonItemStyled}`]: {
1998
+ color: "$grey50",
1999
+ backgroundColor: "$brand500",
2000
+ borderColor: "$brand500",
2001
+ "&:hover": {
2002
+ backgroundColor: "$blue600"
2003
+ },
2004
+ "&:focus": {
2005
+ backgroundColor: "$blue700"
2006
+ },
2007
+ "&:active": {
2008
+ backgroundColor: "$blue500"
2009
+ },
2010
+ "&:disabled": {
2011
+ backgroundColor: "$brand50",
2012
+ color: "$neutral400"
2013
+ }
2014
+ },
2015
+ [`& ${ButtonItemStyled}.active`]: {
2016
+ backgroundColor: "$brand700",
2017
+ "&:hover": { backgroundColor: "$brand700" },
2018
+ "&:focus": { backgroundColor: "$brand700" },
2019
+ "&:active": { backgroundColor: "$brand700" }
2020
+ }
2021
+ }
2022
+ },
2023
+ {
2024
+ variant: "contained",
2025
+ color: "neutral",
2026
+ css: {
2027
+ [`& ${ButtonItemStyled}`]: {
2028
+ backgroundColor: "$neutral600",
2029
+ color: "$grey50",
2030
+ "&:hover": {
2031
+ backgroundColor: "$neutral700",
2032
+ borderColor: "$neutral800"
2033
+ },
2034
+ "&:focus": {
2035
+ backgroundColor: "$neutral800"
2036
+ },
2037
+ "&:active": {
2038
+ backgroundColor: "$neutral500",
2039
+ borderColor: "$neutral400"
2040
+ },
2041
+ "&:disabled": {
2042
+ backgroundColor: "$neutral50",
2043
+ borderColor: "$neutral200",
2044
+ color: "$neutral400"
2045
+ }
2046
+ },
2047
+ [`& ${ButtonItemStyled}.active`]: {
2048
+ backgroundColor: "$neutral800",
2049
+ "&:hover": { backgroundColor: "$neutral800" },
2050
+ "&:focus": { backgroundColor: "$neutral800" },
2051
+ "&:active": { backgroundColor: "$neutral800" }
2052
+ }
2053
+ }
2054
+ },
2055
+ {
2056
+ variant: "contained",
2057
+ color: "purple",
2058
+ css: {
2059
+ [`& ${ButtonItemStyled}`]: {
2060
+ backgroundColor: "$purple500",
2061
+ color: "$grey50",
2062
+ "&:hover": {
2063
+ backgroundColor: "$purple600",
2064
+ borderColor: "$purple700"
2065
+ },
2066
+ "&:focus": {
2067
+ backgroundColor: "$purple700"
2068
+ },
2069
+ "&:active": {
2070
+ borderColor: "$purple300",
2071
+ backgroundColor: "$purple500"
2072
+ },
2073
+ "&:disabled": {
2074
+ borderColor: "$purple200",
2075
+ backgroundColor: "$purple200",
2076
+ color: "$neutral400"
2077
+ }
2078
+ },
2079
+ [`& ${ButtonItemStyled}.active`]: {
2080
+ backgroundColor: "$purple700",
2081
+ "&:hover": { backgroundColor: "$purple700" },
2082
+ "&:focus": { backgroundColor: "$purple700" },
2083
+ "&:active": { backgroundColor: "$purple700" }
2084
+ }
2085
+ }
2086
+ },
2087
+ // outlined
2088
+ {
2089
+ variant: "outlined",
2090
+ color: "brand",
2091
+ css: {
2092
+ [`& ${ButtonItemStyled}`]: {
2093
+ color: "$brand500",
2094
+ borderColor: "$brand300",
2095
+ backgroundColor: "$grey50",
2096
+ "&:hover": {
2097
+ borderColor: "$brand400",
2098
+ backgroundColor: "$brand50"
2099
+ },
2100
+ "&:focus": {
2101
+ borderColor: "$brand400",
2102
+ backgroundColor: "$brand50"
2103
+ },
2104
+ "&:active": {
2105
+ borderColor: "$brand300",
2106
+ backgroundColor: "$grey50"
2107
+ },
2108
+ "&:disabled": {
2109
+ borderColor: "$brand200",
2110
+ backgroundColor: "$neutral200",
2111
+ color: "$neutral400"
2112
+ }
2113
+ },
2114
+ [`& ${ButtonItemStyled}.active`]: {
2115
+ color: "$brand700",
2116
+ borderColor: "$brand600",
2117
+ backgroundColor: "$brand50",
2118
+ "&:hover": { backgroundColor: "$brand50", borderColor: "$brand600" },
2119
+ "&:focus": { backgroundColor: "$brand50", borderColor: "$brand600" },
2120
+ "&:active": { backgroundColor: "$brand50", borderColor: "$brand600" }
2121
+ }
2122
+ }
2123
+ },
2124
+ {
2125
+ variant: "outlined",
2126
+ color: "neutral",
2127
+ css: {
2128
+ [`& ${ButtonItemStyled}`]: {
2129
+ color: "$neutral600",
2130
+ borderColor: "$neutral300",
2131
+ backgroundColor: "$grey50",
2132
+ "&:hover": {
2133
+ borderColor: "$neutral400",
2134
+ backgroundColor: "$grey100"
2135
+ },
2136
+ "&:focus": {
2137
+ borderColor: "$neutral400",
2138
+ backgroundColor: "$grey100"
2139
+ },
2140
+ "&:active": {
2141
+ borderColor: "$neutral300",
2142
+ backgroundColor: "$grey50"
2143
+ },
2144
+ "&:disabled": {
2145
+ borderColor: "$neutral200",
2146
+ backgroundColor: "$neutral200",
2147
+ color: "$neutral400"
2148
+ }
2149
+ },
2150
+ [`& ${ButtonItemStyled}.active`]: {
2151
+ color: "$neutral800",
2152
+ borderColor: "$neutral600",
2153
+ backgroundColor: "$grey100",
2154
+ "&:hover": { backgroundColor: "$grey100", borderColor: "$neutral600" },
2155
+ "&:focus": { backgroundColor: "$grey100", borderColor: "$neutral600" },
2156
+ "&:active": { backgroundColor: "$grey100", borderColor: "$neutral600" }
2157
+ }
2158
+ }
2159
+ },
2160
+ {
2161
+ variant: "outlined",
2162
+ color: "purple",
2163
+ css: {
2164
+ [`& ${ButtonItemStyled}`]: {
2165
+ color: "$purple500",
2166
+ borderColor: "$purple300",
2167
+ backgroundColor: "$grey50",
2168
+ "&:hover": {
2169
+ borderColor: "$purple400",
2170
+ backgroundColor: "$purple50"
2171
+ },
2172
+ "&:focus": {
2173
+ borderColor: "$purple400",
2174
+ backgroundColor: "$purple50"
2175
+ },
2176
+ "&:active": {
2177
+ borderColor: "$purple300",
2178
+ backgroundColor: "$grey50"
2179
+ },
2180
+ "&:disabled": {
2181
+ borderColor: "$purple200",
2182
+ backgroundColor: "$neutral200",
2183
+ color: "$neutral400"
2184
+ }
2185
+ },
2186
+ [`& ${ButtonItemStyled}.active`]: {
2187
+ color: "$purple700",
2188
+ borderColor: "$purple600",
2189
+ backgroundColor: "$purple50",
2190
+ "&:hover": { backgroundColor: "$purple50", borderColor: "$purple600" },
2191
+ "&:focus": { backgroundColor: "$purple50", borderColor: "$purple600" },
2192
+ "&:active": { backgroundColor: "$purple50", borderColor: "$purple600" }
2193
+ }
2194
+ }
2195
+ }
2196
+ ],
2197
+ defaultVariants: {
2198
+ variant: "contained",
2199
+ size: "md",
2200
+ color: "brand"
2201
+ }
2202
+ });
2203
+ function ButtonItem(_a) {
2204
+ var _b = _a, { children, active } = _b, props = __objRest(_b, ["children", "active"]);
2205
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
2206
+ }
2207
+ function ButtonGroup(_a) {
2208
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2209
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2210
+ }
2211
+
2212
+ // src/components/Avatar.tsx
2213
+ var import_themes4 = require("@radix-ui/themes");
2214
+ var import_jsx_runtime5 = require("react/jsx-runtime");
2215
+ var AvatarStyled = styled(import_themes4.Avatar, {
2216
+ fontFamily: "$default",
2217
+ color: "$gray100",
2218
+ letterSpacing: "0px",
2219
+ variants: {
2220
+ size: {
2221
+ "xs": { width: "$24", height: "$24", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$10" },
2222
+ "sm": { width: "$32", height: "$32", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$14" },
2223
+ "md": { width: "$40", height: "$40", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$16" },
2224
+ "lg": { width: "$48", height: "$48", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$18" },
2225
+ "xl": { width: "$64", height: "$64", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$24" }
2226
+ },
2227
+ radii: {
2228
+ full: { borderRadius: "$full" }
2229
+ },
2230
+ variant: {
2231
+ "without-image": {
2232
+ border: "1px solid $brand500",
2233
+ backgroundColor: "$dark50",
2234
+ color: "$dark700",
2235
+ fontStyle: "normal",
2236
+ fontWeight: 500,
2237
+ lineHeight: "normal",
2238
+ textTransform: "uppercase"
2239
+ },
2240
+ "with-image": {
2241
+ border: 0,
2242
+ "img": {
2243
+ width: "100%",
2244
+ height: "100%",
2245
+ objectFit: "cover",
2246
+ borderRadius: "$full"
2247
+ }
2248
+ }
2249
+ }
2250
+ },
2251
+ defaultVariants: {
2252
+ size: "md",
2253
+ radii: "full",
2254
+ variant: "without-image"
2255
+ }
2256
+ });
2257
+ function Avatar(_a) {
2258
+ var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
2259
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarStyled, __spreadValues({ as: import_themes4.Avatar }, props));
2260
+ }
2261
+
2262
+ // src/components/TextField.tsx
2263
+ var import_themes5 = require("@radix-ui/themes");
2264
+ var import_jsx_runtime6 = require("react/jsx-runtime");
2265
+ var TextFieldStyled = styled(import_themes5.TextField.Root, {
2266
+ height: "$40",
2267
+ fontFamily: "$default",
2268
+ letterSpacing: "0px",
2269
+ fontSize: "$13",
2270
+ padding: "$12 $14",
2271
+ borderRadius: "$sm",
2272
+ boxSizing: "border-box",
2273
+ color: "$dark500",
1907
2274
  border: "1px solid $dark300",
1908
2275
  position: "relative",
1909
2276
  display: "flex",
@@ -1925,13 +2292,40 @@ var TextFieldStyled = styled(import_themes13.TextField.Root, {
1925
2292
  cursor: "not-allowed"
1926
2293
  },
1927
2294
  variants: {
1928
- isValid: {
1929
- true: {},
1930
- false: {
2295
+ color: {
2296
+ default: {
2297
+ color: "$dark400",
2298
+ border: "1px solid $dark200",
2299
+ "&:has(input:focus)": {
2300
+ border: "2px solid $brand300"
2301
+ },
2302
+ "&:has(input:disabled)": {
2303
+ backgroundColor: "$dark100",
2304
+ color: "$dark400",
2305
+ border: "1px solid $dark200",
2306
+ cursor: "not-allowed"
2307
+ }
2308
+ },
2309
+ error: {
1931
2310
  border: "1px solid $error400",
1932
2311
  color: "$error400",
1933
- backgroundColor: "$error50"
2312
+ "input::placeholder": {
2313
+ color: "$error400"
2314
+ },
2315
+ "& hast(input:focus)": {
2316
+ border: "2px solid $error400"
2317
+ },
2318
+ "&:has(input:disabled)": {
2319
+ backgroundColor: "$error50",
2320
+ color: "$error300",
2321
+ border: "1px solid $error100",
2322
+ cursor: "not-allowed"
2323
+ }
1934
2324
  }
2325
+ },
2326
+ isValid: {
2327
+ true: {},
2328
+ false: {}
1935
2329
  }
1936
2330
  },
1937
2331
  compoundVariants: [
@@ -1977,7 +2371,7 @@ var TextFieldStyled = styled(import_themes13.TextField.Root, {
1977
2371
  }
1978
2372
  ]
1979
2373
  });
1980
- var TextFieldSlotStyled = styled(import_themes13.TextField.Slot, {
2374
+ var TextFieldSlotStyled = styled(import_themes5.TextField.Slot, {
1981
2375
  display: "flex",
1982
2376
  alignItems: "center",
1983
2377
  justifyContent: "center"
@@ -1986,15 +2380,17 @@ function TextField(_a) {
1986
2380
  var _b = _a, {
1987
2381
  children,
1988
2382
  isValid,
1989
- name
2383
+ name,
2384
+ color
1990
2385
  } = _b, props = __objRest(_b, [
1991
2386
  "children",
1992
2387
  "isValid",
1993
- "name"
2388
+ "name",
2389
+ "color"
1994
2390
  ]);
1995
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(TextFieldStyled, __spreadProps(__spreadValues({ isValid, name }, props), { children: [
2391
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(TextFieldStyled, __spreadProps(__spreadValues({ color, isValid, name }, props), { children: [
1996
2392
  children,
1997
- isValid && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(TextFieldSlot, { position: "flex-end", name, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon_default, { name: "check" }) })
2393
+ isValid && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TextFieldSlot, { position: "flex-end", name, color, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "check" }) })
1998
2394
  ] }));
1999
2395
  }
2000
2396
  function TextFieldSlot(_a) {
@@ -2008,7 +2404,7 @@ function TextFieldSlot(_a) {
2008
2404
  "onClick"
2009
2405
  ]);
2010
2406
  console.log("onclick", onClick);
2011
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: !!onClick ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(TextFieldSlotStyled, __spreadProps(__spreadValues({}, props), { style: {
2407
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: !!onClick ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TextFieldSlotStyled, __spreadProps(__spreadValues({}, __spreadProps(__spreadValues({}, props), { color: void 0 })), { style: {
2012
2408
  position: "absolute",
2013
2409
  left: position === "flex-end" ? "none" : 15,
2014
2410
  right: position === "flex-start" ? "none" : 15,
@@ -2016,7 +2412,7 @@ function TextFieldSlot(_a) {
2016
2412
  zIndex: 2,
2017
2413
  top: 0,
2018
2414
  cursor: "pointer"
2019
- }, onClick: () => onClick(), children })) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(TextFieldSlotStyled, __spreadProps(__spreadValues({}, props), { style: {
2415
+ }, onClick: () => onClick(), children })) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TextFieldSlotStyled, __spreadProps(__spreadValues({}, __spreadProps(__spreadValues({}, props), { color: void 0 })), { style: {
2020
2416
  float: position === "flex-start" ? "left" : "right",
2021
2417
  order: position === "flex-start" ? 0 : 2,
2022
2418
  marginLeft: position === "flex-start" ? 0 : 15,
@@ -2025,9 +2421,9 @@ function TextFieldSlot(_a) {
2025
2421
  }
2026
2422
 
2027
2423
  // src/components/RadioGroup.tsx
2028
- var import_themes14 = require("@radix-ui/themes");
2029
- var import_jsx_runtime6 = require("react/jsx-runtime");
2030
- var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2424
+ var import_themes6 = require("@radix-ui/themes");
2425
+ var import_jsx_runtime7 = require("react/jsx-runtime");
2426
+ var RadioGroupStyled = styled(import_themes6.RadioGroup.Root, {
2031
2427
  fontFamily: "$default",
2032
2428
  letterSpacing: "0px",
2033
2429
  fontSize: "$13",
@@ -2073,8 +2469,8 @@ var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2073
2469
  zIndex: 1
2074
2470
  },
2075
2471
  variants: {
2076
- isValid: {
2077
- true: {
2472
+ color: {
2473
+ success: {
2078
2474
  "label": {
2079
2475
  "&:focus button, &:hover button": {
2080
2476
  boxShadow: "0px 0px 0px 4px rgba(38, 167, 67, 0.50)"
@@ -2088,7 +2484,8 @@ var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2088
2484
  backgroundColor: "$green500"
2089
2485
  }
2090
2486
  },
2091
- false: {
2487
+ blue: {},
2488
+ error: {
2092
2489
  "label": {
2093
2490
  "&:focus button, &:hover button": {
2094
2491
  boxShadow: "0px 0px 0px 4px rgba(225, 86, 98, 0.50)"
@@ -2121,7 +2518,7 @@ var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2121
2518
  },
2122
2519
  compoundVariants: [
2123
2520
  {
2124
- isValid: void 0,
2521
+ color: "blue",
2125
2522
  disabled: false,
2126
2523
  css: {
2127
2524
  "label": {
@@ -2138,7 +2535,7 @@ var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2138
2535
  }
2139
2536
  },
2140
2537
  {
2141
- isValid: void 0,
2538
+ color: "blue",
2142
2539
  disabled: true,
2143
2540
  css: {
2144
2541
  "label button": {
@@ -2151,7 +2548,7 @@ var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2151
2548
  }
2152
2549
  },
2153
2550
  {
2154
- isValid: true,
2551
+ color: "success",
2155
2552
  disabled: true,
2156
2553
  css: {
2157
2554
  "label button": {
@@ -2164,7 +2561,7 @@ var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2164
2561
  }
2165
2562
  },
2166
2563
  {
2167
- isValid: false,
2564
+ color: "error",
2168
2565
  disabled: true,
2169
2566
  css: {
2170
2567
  "label button": {
@@ -2176,23 +2573,24 @@ var RadioGroupStyled = styled(import_themes14.RadioGroup.Root, {
2176
2573
  }
2177
2574
  }
2178
2575
  }
2179
- ]
2576
+ ],
2577
+ defaultVariants: {
2578
+ color: "blue",
2579
+ disabled: false
2580
+ }
2180
2581
  });
2181
2582
  function RadioGroup(_a) {
2182
2583
  var _b = _a, {
2183
2584
  children,
2184
- isValid,
2185
2585
  disabled
2186
2586
  } = _b, props = __objRest(_b, [
2187
2587
  "children",
2188
- "isValid",
2189
2588
  "disabled"
2190
2589
  ]);
2191
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2590
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2192
2591
  RadioGroupStyled,
2193
2592
  __spreadProps(__spreadValues({
2194
- disabled,
2195
- isValid
2593
+ disabled
2196
2594
  }, props), {
2197
2595
  children
2198
2596
  })
@@ -2204,13 +2602,13 @@ function RadioItem(_a) {
2204
2602
  } = _b, props = __objRest(_b, [
2205
2603
  "children"
2206
2604
  ]);
2207
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes14.RadioGroup.Item, __spreadProps(__spreadValues({}, props), { children }));
2605
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_themes6.RadioGroup.Item, __spreadProps(__spreadValues({}, props), { children }));
2208
2606
  }
2209
2607
 
2210
2608
  // src/components/CheckboxGroup.tsx
2211
- var import_themes15 = require("@radix-ui/themes");
2212
- var import_jsx_runtime7 = require("react/jsx-runtime");
2213
- var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2609
+ var import_themes7 = require("@radix-ui/themes");
2610
+ var import_jsx_runtime8 = require("react/jsx-runtime");
2611
+ var CheckboxGroupStyled = styled(import_themes7.CheckboxGroup.Root, {
2214
2612
  fontFamily: "$default",
2215
2613
  letterSpacing: "0px",
2216
2614
  fontSize: "$13",
@@ -2258,8 +2656,8 @@ var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2258
2656
  zIndex: 1
2259
2657
  },
2260
2658
  variants: {
2261
- isValid: {
2262
- true: {
2659
+ color: {
2660
+ success: {
2263
2661
  "label": {
2264
2662
  "&:focus button, &:hover button": {
2265
2663
  boxShadow: "0px 0px 0px 4px rgba(38, 167, 67, 0.50)"
@@ -2273,7 +2671,8 @@ var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2273
2671
  backgroundColor: "$green500"
2274
2672
  }
2275
2673
  },
2276
- false: {
2674
+ blue: {},
2675
+ error: {
2277
2676
  "label": {
2278
2677
  "&:focus button, &:hover button": {
2279
2678
  boxShadow: "0px 0px 0px 4px rgba(225, 86, 98, 0.50)"
@@ -2306,7 +2705,7 @@ var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2306
2705
  },
2307
2706
  compoundVariants: [
2308
2707
  {
2309
- isValid: void 0,
2708
+ color: "blue",
2310
2709
  disabled: false,
2311
2710
  css: {
2312
2711
  "label": {
@@ -2323,7 +2722,7 @@ var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2323
2722
  }
2324
2723
  },
2325
2724
  {
2326
- isValid: void 0,
2725
+ color: "blue",
2327
2726
  disabled: true,
2328
2727
  css: {
2329
2728
  "label button": {
@@ -2336,7 +2735,7 @@ var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2336
2735
  }
2337
2736
  },
2338
2737
  {
2339
- isValid: true,
2738
+ color: "success",
2340
2739
  disabled: true,
2341
2740
  css: {
2342
2741
  "label button": {
@@ -2349,7 +2748,7 @@ var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2349
2748
  }
2350
2749
  },
2351
2750
  {
2352
- isValid: false,
2751
+ color: "error",
2353
2752
  disabled: true,
2354
2753
  css: {
2355
2754
  "label button": {
@@ -2361,7 +2760,11 @@ var CheckboxGroupStyled = styled(import_themes15.CheckboxGroup.Root, {
2361
2760
  }
2362
2761
  }
2363
2762
  }
2364
- ]
2763
+ ],
2764
+ defaultVariants: {
2765
+ color: "blue",
2766
+ disabled: false
2767
+ }
2365
2768
  });
2366
2769
  function CheckboxGroup(_a) {
2367
2770
  var _b = _a, {
@@ -2369,7 +2772,7 @@ function CheckboxGroup(_a) {
2369
2772
  } = _b, props = __objRest(_b, [
2370
2773
  "children"
2371
2774
  ]);
2372
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CheckboxGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2775
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(CheckboxGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2373
2776
  }
2374
2777
  function CheckboxItem(_a) {
2375
2778
  var _b = _a, {
@@ -2377,12 +2780,12 @@ function CheckboxItem(_a) {
2377
2780
  } = _b, props = __objRest(_b, [
2378
2781
  "children"
2379
2782
  ]);
2380
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_themes15.CheckboxGroup.Item, __spreadProps(__spreadValues({}, props), { children }));
2783
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes7.CheckboxGroup.Item, __spreadProps(__spreadValues({}, props), { children }));
2381
2784
  }
2382
2785
 
2383
2786
  // src/components/Filter.tsx
2384
- var import_themes16 = require("@radix-ui/themes");
2385
- var import_jsx_runtime8 = require("react/jsx-runtime");
2787
+ var import_themes8 = require("@radix-ui/themes");
2788
+ var import_jsx_runtime9 = require("react/jsx-runtime");
2386
2789
  var FilterStyled = styled("div", {
2387
2790
  fontFamily: "$default",
2388
2791
  color: "$dark600",
@@ -2410,7 +2813,7 @@ var FilterStyled = styled("div", {
2410
2813
  }
2411
2814
  }
2412
2815
  });
2413
- var FilterContentStyled = styled(import_themes16.DropdownMenu.Content, {
2816
+ var FilterContentStyled = styled(import_themes8.DropdownMenu.Content, {
2414
2817
  background: "white",
2415
2818
  padding: "$8 $12",
2416
2819
  border: "1px solid $dark300",
@@ -2428,19 +2831,19 @@ function Filter(_a) {
2428
2831
  "children",
2429
2832
  "placeholder"
2430
2833
  ]);
2431
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes16.Theme, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes16.DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(FilterStyled, { children: [
2432
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes16.DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("button", { "aria-label": placeholder || "Fitrar", children: [
2433
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "filter" }),
2434
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { children: placeholder || "Fitrar" }),
2435
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes16.DropdownMenu.TriggerIcon, {})
2834
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes8.Theme, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes8.DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(FilterStyled, { children: [
2835
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes8.DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("button", { "aria-label": placeholder || "Fitrar", children: [
2836
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "filter" }),
2837
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: placeholder || "Fitrar" }),
2838
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes8.DropdownMenu.TriggerIcon, {})
2436
2839
  ] }) }),
2437
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2840
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2438
2841
  FilterContentStyled,
2439
2842
  {
2440
2843
  avoidCollisions: false,
2441
2844
  align: "start",
2442
2845
  alignOffset: -14,
2443
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(CheckboxGroup, { children })
2846
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CheckboxGroup, { children })
2444
2847
  }
2445
2848
  )
2446
2849
  ] }) })) });
@@ -2451,12 +2854,12 @@ function FilterItem(_a) {
2451
2854
  } = _b, props = __objRest(_b, [
2452
2855
  "children"
2453
2856
  ]);
2454
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(CheckboxItem, __spreadProps(__spreadValues({}, props), { style: { padding: "8px 12px" }, children }));
2857
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CheckboxItem, __spreadProps(__spreadValues({}, props), { style: { padding: "8px 12px" }, children }));
2455
2858
  }
2456
2859
 
2457
2860
  // src/components/Dropdown.tsx
2458
- var import_themes17 = require("@radix-ui/themes");
2459
- var import_jsx_runtime9 = require("react/jsx-runtime");
2861
+ var import_themes9 = require("@radix-ui/themes");
2862
+ var import_jsx_runtime10 = require("react/jsx-runtime");
2460
2863
  var DropdownMenuStyled = styled("div", {
2461
2864
  fontFamily: "$default",
2462
2865
  color: "$dark600",
@@ -2484,7 +2887,7 @@ var DropdownMenuStyled = styled("div", {
2484
2887
  }
2485
2888
  }
2486
2889
  });
2487
- var DropdownMenuContentStyled = styled(import_themes17.DropdownMenu.Content, {
2890
+ var DropdownMenuContentStyled = styled(import_themes9.DropdownMenu.Content, {
2488
2891
  background: "white",
2489
2892
  padding: "$8 $12",
2490
2893
  border: "1px solid $dark300",
@@ -2494,7 +2897,7 @@ var DropdownMenuContentStyled = styled(import_themes17.DropdownMenu.Content, {
2494
2897
  minWidth: "100%",
2495
2898
  marginTop: "3px"
2496
2899
  });
2497
- var DropdownMenuItemStyled = styled(import_themes17.DropdownMenu.Item, {
2900
+ var DropdownMenuItemStyled = styled(import_themes9.DropdownMenu.Item, {
2498
2901
  fontFamily: "$default",
2499
2902
  color: "$dark600",
2500
2903
  letterSpacing: "0px",
@@ -2514,18 +2917,18 @@ function DropdownMenu2(_a) {
2514
2917
  "children",
2515
2918
  "placeholder"
2516
2919
  ]);
2517
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes17.Theme, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes17.DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(DropdownMenuStyled, { children: [
2518
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes17.DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("button", { "aria-label": placeholder || "Fitrar", children: [
2519
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: placeholder || "Fitrar" }),
2520
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes17.DropdownMenu.TriggerIcon, {})
2920
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes9.Theme, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes9.DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(DropdownMenuStyled, { children: [
2921
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes9.DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("button", { "aria-label": placeholder || "Fitrar", children: [
2922
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: placeholder || "Fitrar" }),
2923
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes9.DropdownMenu.TriggerIcon, {})
2521
2924
  ] }) }),
2522
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2925
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2523
2926
  DropdownMenuContentStyled,
2524
2927
  {
2525
2928
  avoidCollisions: false,
2526
2929
  align: "start",
2527
2930
  alignOffset: -14,
2528
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes17.DropdownMenu.Group, { children })
2931
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes9.DropdownMenu.Group, { children })
2529
2932
  }
2530
2933
  )
2531
2934
  ] }) })) });
@@ -2536,14 +2939,866 @@ function DropdownMenuItem(_a) {
2536
2939
  } = _b, props = __objRest(_b, [
2537
2940
  "children"
2538
2941
  ]);
2539
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownMenuItemStyled, __spreadProps(__spreadValues({}, props), { children }));
2942
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DropdownMenuItemStyled, __spreadProps(__spreadValues({}, props), { children }));
2943
+ }
2944
+
2945
+ // src/components/Badge.tsx
2946
+ var import_react2 = __toESM(require("react"));
2947
+ var import_themes10 = require("@radix-ui/themes");
2948
+ var import_jsx_runtime11 = require("react/jsx-runtime");
2949
+ var BadgeStyled = styled(import_themes10.Badge, {
2950
+ fontFamily: "$default",
2951
+ borderRadius: "$sm",
2952
+ verticalAlign: "middle",
2953
+ "svg": {
2954
+ marginRight: "10px"
2955
+ },
2956
+ variants: {
2957
+ color: {
2958
+ primary: {
2959
+ backgroundColor: "$brand100",
2960
+ color: "$dark700"
2961
+ },
2962
+ dark: {
2963
+ backgroundColor: "$dark700",
2964
+ color: "$grey50"
2965
+ },
2966
+ light: {
2967
+ backgroundColor: "$neutral200",
2968
+ color: "$dark700"
2969
+ },
2970
+ red: {
2971
+ backgroundColor: "$red100",
2972
+ color: "$dark700"
2973
+ },
2974
+ green: {
2975
+ backgroundColor: "$green100",
2976
+ color: "$dark700"
2977
+ },
2978
+ yellow: {
2979
+ backgroundColor: "$yellow100",
2980
+ color: "$dark700"
2981
+ },
2982
+ orange: {
2983
+ backgroundColor: "$orange100",
2984
+ color: "$dark700"
2985
+ },
2986
+ blue: {
2987
+ backgroundColor: "$blue100",
2988
+ color: "$dark700"
2989
+ },
2990
+ pink: {
2991
+ backgroundColor: "$pink100",
2992
+ color: "$dark700"
2993
+ },
2994
+ purple: {
2995
+ backgroundColor: "$purple100",
2996
+ color: "$dark700"
2997
+ },
2998
+ grey: {
2999
+ backgroundColor: "$grey200",
3000
+ color: "$dark700"
3001
+ },
3002
+ disable: {
3003
+ backgroundColor: "$neutral200",
3004
+ color: "$grey500"
3005
+ }
3006
+ },
3007
+ size: {
3008
+ xs: {
3009
+ padding: "$4 $6",
3010
+ fontSize: "$10",
3011
+ borderRadius: "$2xs",
3012
+ lineHeight: "$smaller"
3013
+ },
3014
+ sm: {
3015
+ padding: "$4 $8",
3016
+ fontSize: "$12",
3017
+ borderRadius: "$xs",
3018
+ lineHeight: "$smaller"
3019
+ },
3020
+ md: {
3021
+ padding: "$8 $10",
3022
+ fontSize: "$14",
3023
+ borderRadius: "$sm",
3024
+ lineHeight: "$smaller"
3025
+ },
3026
+ xl: {
3027
+ padding: "$12 $12",
3028
+ fontSize: "$16",
3029
+ borderRadius: "$sm",
3030
+ lineHeight: "$smaller"
3031
+ }
3032
+ },
3033
+ radii: {
3034
+ "full": {
3035
+ borderRadius: "$full"
3036
+ }
3037
+ }
3038
+ },
3039
+ defaultVariants: {
3040
+ size: "md",
3041
+ color: "primary"
3042
+ }
3043
+ });
3044
+ function Badge(_a) {
3045
+ var _b = _a, { asChild, children } = _b, props = __objRest(_b, ["asChild", "children"]);
3046
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(BadgeStyled, __spreadProps(__spreadValues({}, props), { children: import_react2.default.Children.map(children, (child) => {
3047
+ if (import_react2.default.isValidElement(child)) {
3048
+ return import_react2.default.cloneElement(child, { size: props.size });
3049
+ }
3050
+ return child;
3051
+ }) }));
3052
+ }
3053
+
3054
+ // src/components/Modal.tsx
3055
+ var import_themes13 = require("@radix-ui/themes");
3056
+
3057
+ // src/components/Box.tsx
3058
+ var import_themes11 = require("@radix-ui/themes");
3059
+ var Box = import_themes11.Box;
3060
+
3061
+ // src/components/Flex.tsx
3062
+ var import_themes12 = require("@radix-ui/themes");
3063
+ var import_jsx_runtime12 = require("react/jsx-runtime");
3064
+ var FlexStyled = styled(import_themes12.Flex, {
3065
+ variants: {
3066
+ display: {
3067
+ "flex": { display: "flex" },
3068
+ "inline-flex": { display: "inline-flex" }
3069
+ },
3070
+ align: {
3071
+ start: { alignItems: "flex-start" },
3072
+ center: { alignItems: "center" },
3073
+ end: { alignItems: "flex-end" },
3074
+ stretch: { alignItems: "stretch" },
3075
+ baseline: { alignItems: "baseline" }
3076
+ },
3077
+ justify: {
3078
+ start: { justifyContent: "flex-start" },
3079
+ center: { justifyContent: "center" },
3080
+ end: { justifyContent: "flex-end" },
3081
+ between: { justifyContent: "space-between" },
3082
+ around: { justifyContent: "space-around" },
3083
+ evenly: { justifyContent: "space-evenly" }
3084
+ },
3085
+ direction: {
3086
+ row: { flexDirection: "row" },
3087
+ column: { flexDirection: "column" },
3088
+ "row-reverse": { flexDirection: "row-reverse" },
3089
+ "column-reverse": { flexDirection: "column-reverse" }
3090
+ },
3091
+ gap: {
3092
+ 2: { gap: "$2" },
3093
+ 4: { gap: "$4" },
3094
+ 6: { gap: "$6" },
3095
+ 8: { gap: "$8" },
3096
+ 10: { gap: "$10" },
3097
+ 12: { gap: "$12" },
3098
+ 14: { gap: "$14" },
3099
+ 16: { gap: "$16" },
3100
+ 20: { gap: "$20" },
3101
+ 22: { gap: "$22" },
3102
+ 24: { gap: "$24" },
3103
+ 32: { gap: "$32" },
3104
+ 36: { gap: "$36" },
3105
+ 40: { gap: "$40" },
3106
+ 48: { gap: "$48" },
3107
+ 56: { gap: "$56" },
3108
+ 64: { gap: "$64" },
3109
+ 72: { gap: "$72" },
3110
+ 80: { gap: "$80" },
3111
+ full: { gap: "$full" }
3112
+ },
3113
+ gapY: {
3114
+ 2: { gap: "$2" },
3115
+ 4: { gap: "$4" },
3116
+ 6: { gap: "$6" },
3117
+ 8: { gap: "$8" },
3118
+ 10: { gap: "$10" },
3119
+ 12: { gap: "$12" },
3120
+ 14: { gap: "$14" },
3121
+ 16: { gap: "$16" },
3122
+ 20: { gap: "$20" },
3123
+ 22: { gap: "$22" },
3124
+ 24: { gap: "$24" },
3125
+ 32: { gap: "$32" },
3126
+ 36: { gap: "$36" },
3127
+ 40: { gap: "$40" },
3128
+ 48: { gap: "$48" },
3129
+ 56: { gap: "$56" },
3130
+ 64: { gap: "$64" },
3131
+ 72: { gap: "$72" },
3132
+ 80: { gap: "$80" },
3133
+ full: { gap: "$full" }
3134
+ },
3135
+ gapX: {
3136
+ 2: { gap: "$2" },
3137
+ 4: { gap: "$4" },
3138
+ 6: { gap: "$6" },
3139
+ 8: { gap: "$8" },
3140
+ 10: { gap: "$10" },
3141
+ 12: { gap: "$12" },
3142
+ 14: { gap: "$14" },
3143
+ 16: { gap: "$16" },
3144
+ 20: { gap: "$20" },
3145
+ 22: { gap: "$22" },
3146
+ 24: { gap: "$24" },
3147
+ 32: { gap: "$32" },
3148
+ 36: { gap: "$36" },
3149
+ 40: { gap: "$40" },
3150
+ 48: { gap: "$48" },
3151
+ 56: { gap: "$56" },
3152
+ 64: { gap: "$64" },
3153
+ 72: { gap: "$72" },
3154
+ 80: { gap: "$80" },
3155
+ full: { gap: "$full" }
3156
+ }
3157
+ },
3158
+ defaultVariants: {
3159
+ display: "flex",
3160
+ direction: "row",
3161
+ gap: 10
3162
+ }
3163
+ });
3164
+ function Flex2(_a) {
3165
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3166
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
3167
+ }
3168
+
3169
+ // src/components/Modal.tsx
3170
+ var import_jsx_runtime13 = require("react/jsx-runtime");
3171
+ var ModalStyled = styled("div", {
3172
+ fontFamily: "$default",
3173
+ lineHeight: "$base",
3174
+ fontSize: "$13",
3175
+ borderRadius: "$sm"
3176
+ });
3177
+ var ModalContentStyled = styled(import_themes13.Dialog.Content, {
3178
+ fontFamily: "$default",
3179
+ lineHeight: "$base",
3180
+ fontSize: "$13",
3181
+ maxWidth: "502px",
3182
+ width: "100%",
3183
+ border: "1px solid $neutral",
3184
+ borderRadius: "$2xl",
3185
+ boxShadow: "0px 4px 4px 0px rgba(35, 53, 67, 0.08), 0px 2px 4px 0px rgba(35, 53, 67, 0.16)"
3186
+ });
3187
+ var ModalHeaderStyled = styled("div", {
3188
+ borderBottom: "1px solid $neutral300",
3189
+ padding: "$16 $24",
3190
+ textAlign: "center",
3191
+ position: "relative",
3192
+ display: "flex",
3193
+ alignItems: "center",
3194
+ justifyContent: "center"
3195
+ });
3196
+ var ModalIconClose = styled(Icon_default, {
3197
+ position: "absolute",
3198
+ right: "$24",
3199
+ cursor: "pointer"
3200
+ });
3201
+ var ModalFooterStyled = styled("div", {
3202
+ borderTop: "1px solid $neutral300",
3203
+ padding: "$16 $24",
3204
+ ".modal-footer-flex": {
3205
+ justifyContent: "flex-end"
3206
+ }
3207
+ });
3208
+ var ModalTitleStyled = styled(import_themes13.Dialog.Title, {
3209
+ fontFamily: "$default",
3210
+ lineHeight: "$base",
3211
+ fontSize: "$18",
3212
+ fontWeight: "medium",
3213
+ fontStyle: "normal",
3214
+ textTransform: "uppercase"
3215
+ });
3216
+ function Modal(_a) {
3217
+ var _b = _a, { children, title, trigger, cancel, cancelText, action, actionText, onAction } = _b, props = __objRest(_b, ["children", "title", "trigger", "cancel", "cancelText", "action", "actionText", "onAction"]);
3218
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes13.Dialog.Root, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(ModalStyled, __spreadProps(__spreadValues({}, props), { children: [
3219
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes13.Dialog.Trigger, { children: trigger }),
3220
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(ModalContentStyled, { children: [
3221
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(ModalHeaderStyled, { children: [
3222
+ title && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ModalTitleStyled, { children: title }),
3223
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes13.Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ModalIconClose, { name: "close", size: "xl" }) })
3224
+ ] }),
3225
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Box, { children }),
3226
+ cancel || action ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ModalFooterStyled, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Flex2, { gap: "10", justify: "end", width: "100%", className: "modal-footer-flex", children: [
3227
+ action && onAction && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes13.Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Button, { variant: "contained", color: "brand", onClick: onAction, children: actionText ? actionText : "Salvar" }) }),
3228
+ cancel && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes13.Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Button, { variant: "outlined", color: "neutral", children: cancelText ? cancelText : "cancelar" }) })
3229
+ ] }) }) : null
3230
+ ] })
3231
+ ] })) });
3232
+ }
3233
+
3234
+ // src/components/Alert.tsx
3235
+ var import_themes14 = require("@radix-ui/themes");
3236
+ var import_jsx_runtime14 = require("react/jsx-runtime");
3237
+ var AlertDialogSimpleStyled = styled(import_themes14.AlertDialog.Content, {
3238
+ fontFamily: "$default",
3239
+ lineHeight: "$base",
3240
+ fontSize: "$13",
3241
+ padding: "$16",
3242
+ borderRadius: "$sm",
3243
+ display: "flex",
3244
+ alignItems: "center",
3245
+ justifyContent: "space-between",
3246
+ gap: "$10",
3247
+ marginTop: "$10",
3248
+ variants: {
3249
+ color: {
3250
+ error: {
3251
+ backgroundColor: "$error50",
3252
+ border: "1px solid $error600",
3253
+ color: "$error600",
3254
+ "svg": {
3255
+ color: "$error600"
3256
+ }
3257
+ },
3258
+ warning: {
3259
+ backgroundColor: "$warning50",
3260
+ border: "1px solid $warning600",
3261
+ color: "$warning600",
3262
+ "svg": {
3263
+ color: "$warning600"
3264
+ }
3265
+ },
3266
+ success: {
3267
+ backgroundColor: "$success50",
3268
+ border: "1px solid $success600",
3269
+ color: "$success600",
3270
+ "svg": {
3271
+ color: "$success600"
3272
+ }
3273
+ },
3274
+ info: {
3275
+ backgroundColor: "$info50",
3276
+ border: "1px solid $info600",
3277
+ color: "$info600",
3278
+ "svg": {
3279
+ color: "$info600"
3280
+ }
3281
+ }
3282
+ }
3283
+ },
3284
+ defaultVariants: {
3285
+ color: "success"
3286
+ }
3287
+ });
3288
+ var AlertDialogCompleteStyled = styled(import_themes14.AlertDialog.Content, {
3289
+ fontFamily: "$default",
3290
+ lineHeight: "$base",
3291
+ fontSize: "$13",
3292
+ borderRadius: "$sm",
3293
+ marginTop: "$10",
3294
+ maxWidth: "440px",
3295
+ width: "100%",
3296
+ boxShadow: "0px 0px 15px 5px rgba(0, 0, 0, 0.05)",
3297
+ border: "1px solid $neutral200",
3298
+ ".le-alert-dialog-row": {
3299
+ display: "flex",
3300
+ flexDirection: "column",
3301
+ flexWrap: "wrap",
3302
+ alignItems: "center",
3303
+ textAlign: "center",
3304
+ justifyContent: "space-between",
3305
+ gap: "$10"
3306
+ },
3307
+ variants: {
3308
+ color: {}
3309
+ }
3310
+ });
3311
+ var AlertDialogDescriptionStyled = styled(import_themes14.AlertDialog.Description, {
3312
+ padding: 0,
3313
+ margin: 0
3314
+ });
3315
+ var AlertDialogTitleStyled = styled(import_themes14.AlertDialog.Title, {
3316
+ fontFamily: "$default",
3317
+ lineHeight: "$base",
3318
+ fontSize: "$20",
3319
+ fontWeight: "$semibold",
3320
+ padding: 0,
3321
+ margin: 0
3322
+ });
3323
+ var AlertDialogSubtitleStyled = styled(Text, {
3324
+ margin: 0,
3325
+ fontSize: "$48",
3326
+ color: "$gray100",
3327
+ fontWeight: "$semibold"
3328
+ });
3329
+ var AlertDialogRowStyled = styled("div", {
3330
+ padding: "$32 $24"
3331
+ });
3332
+ var AlertDialoghrStyled = styled("hr", {
3333
+ margin: 0,
3334
+ padding: 0,
3335
+ border: "none",
3336
+ borderTop: "1px solid $neutral200"
3337
+ });
3338
+ function Alert(_a) {
3339
+ var _b = _a, {
3340
+ color,
3341
+ trigger,
3342
+ completAlert,
3343
+ simpleAlert
3344
+ } = _b, props = __objRest(_b, [
3345
+ "color",
3346
+ "trigger",
3347
+ "completAlert",
3348
+ "simpleAlert"
3349
+ ]);
3350
+ console.log("completAlert", completAlert, " simpleAlert", simpleAlert);
3351
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
3352
+ simpleAlert && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes14.Theme, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes14.AlertDialog.Root, { children: [
3353
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes14.AlertDialog.Trigger, { children: trigger }),
3354
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(AlertDialogSimpleStyled, __spreadProps(__spreadValues({}, props), { children: [
3355
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(AlertDialogDescriptionStyled, { children: simpleAlert.description }),
3356
+ simpleAlert.cancel && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes14.AlertDialog.Cancel, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { variant: "text", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon_default, { name: "close" }) }) })
3357
+ ] })) })
3358
+ ] }) }),
3359
+ completAlert && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes14.Theme, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes14.AlertDialog.Root, { children: [
3360
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes14.AlertDialog.Trigger, { children: trigger }),
3361
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(AlertDialogCompleteStyled, { children: [
3362
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(AlertDialogRowStyled, { className: "le-alert-dialog-row", children: [
3363
+ color === "success" && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3364
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("g", { clipPath: "url(#clip0_1428_9995)", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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" }) }),
3365
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("clipPath", { id: "clip0_1428_9995", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { width: "56", height: "56", fill: "white" }) }) })
3366
+ ] }),
3367
+ color === "error" && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3368
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("g", { clipPath: "url(#clip0_1428_10022)", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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" }) }),
3369
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("clipPath", { id: "clip0_1428_10022", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { width: "56", height: "56", fill: "white" }) }) })
3370
+ ] }),
3371
+ color === "warning" && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3372
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("g", { clipPath: "url(#clip0_1428_10038)", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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" }) }),
3373
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("clipPath", { id: "clip0_1428_10038", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { width: "56", height: "56", fill: "white" }) }) })
3374
+ ] }),
3375
+ color === "info" && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3376
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("g", { clipPath: "url(#clip0_1645_46)", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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" }) }),
3377
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("clipPath", { id: "clip0_1645_46", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { width: "40", height: "40", fill: "white" }) }) })
3378
+ ] }),
3379
+ completAlert.title && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(AlertDialogTitleStyled, { children: completAlert.title }),
3380
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(AlertDialogDescriptionStyled, { children: [
3381
+ completAlert.subtitle && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Text, { css: {
3382
+ fontSize: "$16"
3383
+ }, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h2", { children: completAlert.subtitle }) }),
3384
+ completAlert.description
3385
+ ] })
3386
+ ] }),
3387
+ completAlert.onAction || completAlert.cancel ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(AlertDialoghrStyled, {}) : null,
3388
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(AlertDialogRowStyled, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Flex2, { gap: "10", justify: "end", width: "100%", children: [
3389
+ completAlert.onAction && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes14.AlertDialog.Action, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { variant: "contained", onClick: completAlert.onAction, children: completAlert.actionText || "Salvar" }) }),
3390
+ completAlert.cancel && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes14.AlertDialog.Cancel, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { variant: "outlined", color: "neutral", children: completAlert.cancelText || "Cancelar" }) })
3391
+ ] }) })
3392
+ ] })
3393
+ ] }) })
3394
+ ] });
3395
+ }
3396
+
3397
+ // src/components/Switch.tsx
3398
+ var import_themes15 = require("@radix-ui/themes");
3399
+ var import_jsx_runtime15 = require("react/jsx-runtime");
3400
+ var SwitchStyled = styled(import_themes15.Switch, {
3401
+ all: "unset",
3402
+ borderRadius: "$full",
3403
+ position: "relative",
3404
+ display: "flex",
3405
+ alignItems: "center",
3406
+ justifyContent: "center",
3407
+ transition: "all 0.3s",
3408
+ cursor: "pointer",
3409
+ "&::before": {
3410
+ content: '""',
3411
+ position: "absolute",
3412
+ borderRadius: "$full",
3413
+ pointerEvents: "none",
3414
+ cursor: "pointer"
3415
+ },
3416
+ "span": {
3417
+ position: "absolute",
3418
+ top: "50%",
3419
+ left: 0,
3420
+ transform: "translate(0, -50%)",
3421
+ borderRadius: "50%",
3422
+ transition: "all 0.3s",
3423
+ cursor: "pointer",
3424
+ borderWidth: "1px",
3425
+ borderStyle: "solid",
3426
+ boxShadow: "0px 0px 4px 0px rgba(0, 0, 0, 0.24)"
3427
+ },
3428
+ '&[data-state="checked"] span': {
3429
+ left: "auto",
3430
+ transform: "translate(50%, -50%)"
3431
+ },
3432
+ variants: {
3433
+ color: {
3434
+ brand: {
3435
+ "&::before": {
3436
+ backgroundColor: "$brand50"
3437
+ },
3438
+ "span": {
3439
+ backgroundColor: "$dark50",
3440
+ borderColor: "$neutral300"
3441
+ },
3442
+ '&[data-state="checked"] span': {
3443
+ backgroundColor: "$brand500",
3444
+ borderColor: "$brand500"
3445
+ }
3446
+ }
3447
+ },
3448
+ size: {
3449
+ sm: {
3450
+ width: "32px",
3451
+ height: "20px",
3452
+ "&::before": {
3453
+ width: "$32",
3454
+ height: "$12"
3455
+ },
3456
+ "span": {
3457
+ width: "$20",
3458
+ height: "$20"
3459
+ }
3460
+ },
3461
+ md: {
3462
+ width: "40px",
3463
+ height: "20px",
3464
+ "&::before": {
3465
+ width: "40px",
3466
+ height: "16px"
3467
+ },
3468
+ "span": {
3469
+ width: "24px",
3470
+ height: "24px"
3471
+ }
3472
+ },
3473
+ lg: {
3474
+ width: "56px",
3475
+ height: "32px",
3476
+ "&::before": {
3477
+ width: "56px",
3478
+ height: "24px"
3479
+ },
3480
+ "span": {
3481
+ width: "32px",
3482
+ height: "32px"
3483
+ }
3484
+ }
3485
+ }
3486
+ },
3487
+ defaultVariants: {
3488
+ size: "md",
3489
+ color: "brand"
3490
+ }
3491
+ });
3492
+ function Switch(props) {
3493
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SwitchStyled, __spreadValues({ color: "brand", defaultChecked: true }, props));
3494
+ }
3495
+
3496
+ // src/components/Step.tsx
3497
+ var import_react3 = __toESM(require("react"));
3498
+ var import_themes16 = require("@radix-ui/themes");
3499
+ var import_jsx_runtime16 = require("react/jsx-runtime");
3500
+ var StepStyled = styled("div", {
3501
+ fontFamily: "$default",
3502
+ color: "$gray100",
3503
+ letterSpacing: "0px"
3504
+ });
3505
+ var StepTriggerStyled = styled(import_themes16.Tabs.Trigger, {
3506
+ all: "unset",
3507
+ position: "relative",
3508
+ display: "flex",
3509
+ alignItems: "center",
3510
+ justifyContent: "center",
3511
+ fontSize: "$16",
3512
+ fontWeight: "$medium",
3513
+ minWidth: "32px",
3514
+ minHeight: "32px",
3515
+ marginRight: "40px",
3516
+ "&:last-of-type": {
3517
+ marginRight: 0
3518
+ },
3519
+ "& > span:first-of-type": {
3520
+ width: "32px",
3521
+ height: "32px",
3522
+ borderRadius: "$full",
3523
+ backgroundColor: "$neutral50",
3524
+ border: "1px solid $neutral200",
3525
+ color: "$gray700",
3526
+ display: "flex",
3527
+ alignItems: "center",
3528
+ justifyContent: "center",
3529
+ zIndex: 1,
3530
+ position: "relative"
3531
+ },
3532
+ '&[data-state="active"] > span:first-of-type': {
3533
+ backgroundColor: "$blue500",
3534
+ borderColor: "$blue500",
3535
+ color: "white"
3536
+ },
3537
+ "& > span:last-of-type": {
3538
+ display: "none"
3539
+ },
3540
+ "&:not(:first-of-type)::before": {
3541
+ content: '""',
3542
+ position: "absolute",
3543
+ top: "50%",
3544
+ right: "calc(100% + 4px)",
3545
+ transform: "translateY(-50%)",
3546
+ width: "32px",
3547
+ height: "8px",
3548
+ borderRadius: "$sm",
3549
+ backgroundColor: "$neutral50",
3550
+ zIndex: 0
3551
+ },
3552
+ '&[data-state="active"]::before': {
3553
+ backgroundColor: "$blue500"
3554
+ },
3555
+ '&[data-filled="true"] > span:first-of-type': {
3556
+ backgroundColor: "$blue500",
3557
+ borderColor: "$blue500",
3558
+ color: "white"
3559
+ },
3560
+ '&[data-filled="true"]::before': {
3561
+ backgroundColor: "$blue500"
3562
+ }
3563
+ });
3564
+ var StepListStyled = styled(import_themes16.Tabs.List, {
3565
+ display: "flex",
3566
+ alignItems: "center",
3567
+ justifyContent: "flex-start",
3568
+ gap: "$4"
3569
+ });
3570
+ function Step(_a) {
3571
+ var _b = _a, { children, defaultValue } = _b, props = __objRest(_b, ["children", "defaultValue"]);
3572
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes16.Tabs.Root, { defaultValue: String(defaultValue), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StepStyled, __spreadProps(__spreadValues({}, props), { children })) });
3573
+ }
3574
+ function StepTrigger(_a) {
3575
+ var _b = _a, { value, children, currentStep } = _b, props = __objRest(_b, ["value", "children", "currentStep"]);
3576
+ const isActiveOrPrevious = currentStep !== void 0 && value <= currentStep;
3577
+ console.log(isActiveOrPrevious, "isActiveOrPrevius", currentStep);
3578
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StepTriggerStyled, __spreadProps(__spreadValues({ "data-filled": isActiveOrPrevious, value: String(value) }, props), { children }));
3579
+ }
3580
+ function StepContent(_a) {
3581
+ var _b = _a, { value, children } = _b, props = __objRest(_b, ["value", "children"]);
3582
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes16.Tabs.Content, __spreadProps(__spreadValues({ value: String(value) }, props), { children }));
3583
+ }
3584
+ function StepList(_a) {
3585
+ var _b = _a, { children, currentStep } = _b, props = __objRest(_b, ["children", "currentStep"]);
3586
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StepListStyled, __spreadProps(__spreadValues({}, props), { children: import_react3.default.Children.map(children, (child) => {
3587
+ if (import_react3.default.isValidElement(child) && child.type === StepTrigger) {
3588
+ return import_react3.default.cloneElement(child, { currentStep });
3589
+ }
3590
+ return child;
3591
+ }) }));
3592
+ }
3593
+ function StepWrapper(_a) {
3594
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3595
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes16.Box, __spreadProps(__spreadValues({}, props), { children }));
3596
+ }
3597
+
3598
+ // src/components/Grid.tsx
3599
+ var import_themes17 = require("@radix-ui/themes");
3600
+ var import_jsx_runtime17 = require("react/jsx-runtime");
3601
+ var GridStyled = styled(import_themes17.Grid, {
3602
+ display: "grid",
3603
+ variants: {
3604
+ display: {
3605
+ "grid": { display: "grid" },
3606
+ "inline-grid": { display: "inline-grid" }
3607
+ },
3608
+ align: {
3609
+ start: { alignItems: "start" },
3610
+ center: { alignItems: "center" },
3611
+ end: { alignItems: "end" },
3612
+ stretch: { alignItems: "stretch" }
3613
+ },
3614
+ justify: {
3615
+ start: { justifyContent: "start" },
3616
+ center: { justifyContent: "center" },
3617
+ end: { justifyContent: "end" },
3618
+ between: { justifyContent: "space-between" }
3619
+ },
3620
+ flow: {
3621
+ row: { gridAutoFlow: "row" },
3622
+ column: { gridAutoFlow: "column" },
3623
+ "row-dense": { gridAutoFlow: "row dense" },
3624
+ "column-dense": { gridAutoFlow: "column dense" }
3625
+ },
3626
+ columns: {
3627
+ 1: { gridTemplateColumns: "repeat(1, 1fr)" },
3628
+ 2: { gridTemplateColumns: "repeat(2, 1fr)" },
3629
+ 3: { gridTemplateColumns: "repeat(3, 1fr)" },
3630
+ 4: { gridTemplateColumns: "repeat(4, 1fr)" },
3631
+ 6: { gridTemplateColumns: "repeat(6, 1fr)" },
3632
+ 12: { gridTemplateColumns: "repeat(12, 1fr)" }
3633
+ },
3634
+ rows: {
3635
+ 1: { gridTemplateRows: "repeat(1, 1fr)" },
3636
+ 2: { gridTemplateRows: "repeat(2, 1fr)" },
3637
+ 3: { gridTemplateRows: "repeat(3, 1fr)" },
3638
+ 4: { gridTemplateRows: "repeat(4, 1fr)" },
3639
+ 5: { gridTemplateRows: "repeat(5, 1fr)" },
3640
+ 6: { gridTemplateRows: "repeat(6, 1fr)" },
3641
+ 7: { gridTemplateRows: "repeat(7, 1fr)" },
3642
+ 8: { gridTemplateRows: "repeat(8, 1fr)" },
3643
+ 9: { gridTemplateRows: "repeat(9, 1fr)" },
3644
+ 10: { gridTemplateRows: "repeat(10, 1fr)" },
3645
+ 11: { gridTemplateRows: "repeat(11, 1fr)" },
3646
+ 12: { gridTemplateRows: "repeat(12, 1fr)" },
3647
+ auto: { gridTemplateRows: "auto" }
3648
+ },
3649
+ gap: {
3650
+ 2: { gap: "$2" },
3651
+ 4: { gap: "$4" },
3652
+ 6: { gap: "$6" },
3653
+ 8: { gap: "$8" },
3654
+ 10: { gap: "$10" },
3655
+ 12: { gap: "$12" },
3656
+ 14: { gap: "$14" },
3657
+ 16: { gap: "$16" },
3658
+ 20: { gap: "$20" },
3659
+ 22: { gap: "$22" },
3660
+ 24: { gap: "$24" },
3661
+ 32: { gap: "$32" },
3662
+ 36: { gap: "$36" },
3663
+ 40: { gap: "$40" },
3664
+ 48: { gap: "$48" },
3665
+ 56: { gap: "$56" },
3666
+ 64: { gap: "$64" },
3667
+ 72: { gap: "$72" },
3668
+ 80: { gap: "$80" },
3669
+ full: { gap: "$full" }
3670
+ },
3671
+ gapX: {
3672
+ 2: { gap: "$2" },
3673
+ 4: { gap: "$4" },
3674
+ 6: { gap: "$6" },
3675
+ 8: { gap: "$8" },
3676
+ 10: { gap: "$10" },
3677
+ 12: { gap: "$12" },
3678
+ 14: { gap: "$14" },
3679
+ 16: { gap: "$16" },
3680
+ 20: { gap: "$20" },
3681
+ 22: { gap: "$22" },
3682
+ 24: { gap: "$24" },
3683
+ 32: { gap: "$32" },
3684
+ 36: { gap: "$36" },
3685
+ 40: { gap: "$40" },
3686
+ 48: { gap: "$48" },
3687
+ 56: { gap: "$56" },
3688
+ 64: { gap: "$64" },
3689
+ 72: { gap: "$72" },
3690
+ 80: { gap: "$80" },
3691
+ full: { gap: "$full" }
3692
+ },
3693
+ gapY: {
3694
+ 2: { gap: "$2" },
3695
+ 4: { gap: "$4" },
3696
+ 6: { gap: "$6" },
3697
+ 8: { gap: "$8" },
3698
+ 10: { gap: "$10" },
3699
+ 12: { gap: "$12" },
3700
+ 14: { gap: "$14" },
3701
+ 16: { gap: "$16" },
3702
+ 20: { gap: "$20" },
3703
+ 22: { gap: "$22" },
3704
+ 24: { gap: "$24" },
3705
+ 32: { gap: "$32" },
3706
+ 36: { gap: "$36" },
3707
+ 40: { gap: "$40" },
3708
+ 48: { gap: "$48" },
3709
+ 56: { gap: "$56" },
3710
+ 64: { gap: "$64" },
3711
+ 72: { gap: "$72" },
3712
+ 80: { gap: "$80" },
3713
+ full: { gap: "$full" }
3714
+ }
3715
+ },
3716
+ defaultVariants: {
3717
+ gap: 10
3718
+ }
3719
+ });
3720
+ function Grid(_a) {
3721
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3722
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(GridStyled, __spreadProps(__spreadValues({}, props), { children }));
3723
+ }
3724
+
3725
+ // src/components/Container.tsx
3726
+ var import_themes18 = require("@radix-ui/themes");
3727
+ var import_jsx_runtime18 = require("react/jsx-runtime");
3728
+ var ContainerStyled = styled(import_themes18.Container, {
3729
+ variants: {
3730
+ size: {
3731
+ xs: { maxWidth: "576px" },
3732
+ sm: { minWidth: "577px", maxWidth: "767px" },
3733
+ md: { mixWidth: "768px", maxWidth: "991px" },
3734
+ lg: { mixWidth: "992px", maxWidth: "1199px" },
3735
+ xl: { mixWidth: "1200px", maxWidth: "1399px" },
3736
+ xxl: { mixWidth: "1400px" },
3737
+ responsive: { width: "100%", maxWidth: "100%", minWidth: "100%" }
3738
+ },
3739
+ display: {
3740
+ none: { display: "none" },
3741
+ initial: { display: "initial" }
3742
+ },
3743
+ align: {
3744
+ left: { marginLeft: 0, marginRight: "auto" },
3745
+ center: { marginLeft: "auto", marginRight: "auto" },
3746
+ right: { marginLeft: "auto", marginRight: 0 }
3747
+ }
3748
+ },
3749
+ defaultVariants: {
3750
+ size: "md",
3751
+ align: "left",
3752
+ display: "initial"
3753
+ }
3754
+ });
3755
+ function Container(_a) {
3756
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3757
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ContainerStyled, __spreadProps(__spreadValues({}, props), { children }));
3758
+ }
3759
+
3760
+ // src/components/Section.tsx
3761
+ var import_themes19 = require("@radix-ui/themes");
3762
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3763
+ var SectionStyled = styled(import_themes19.Section, {
3764
+ variants: {
3765
+ size: {
3766
+ xs: { maxWidth: "576px" },
3767
+ sm: { minWidth: "577px", maxWidth: "767px" },
3768
+ md: { mixWidth: "768px", maxWidth: "991px" },
3769
+ lg: { mixWidth: "992px", maxWidth: "1199px" },
3770
+ xl: { mixWidth: "1200px", maxWidth: "1399px" },
3771
+ xxl: { mixWidth: "1400px" },
3772
+ responsive: { width: "100%", maxWidth: "100%", minWidth: "100%" }
3773
+ },
3774
+ display: {
3775
+ none: { display: "none" },
3776
+ initial: { display: "initial" }
3777
+ }
3778
+ },
3779
+ defaultVariants: {
3780
+ size: "md",
3781
+ display: "initial"
3782
+ }
3783
+ });
3784
+ function Section(_a) {
3785
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3786
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SectionStyled, __spreadProps(__spreadValues({}, props), { children }));
2540
3787
  }
2541
3788
  // Annotate the CommonJS export names for ESM import in node:
2542
3789
  0 && (module.exports = {
3790
+ Alert,
3791
+ AlertDialogCompleteStyled,
3792
+ AlertDialogDescriptionStyled,
3793
+ AlertDialogRowStyled,
3794
+ AlertDialogSimpleStyled,
3795
+ AlertDialogSubtitleStyled,
3796
+ AlertDialogTitleStyled,
3797
+ AlertDialoghrStyled,
2543
3798
  Avatar,
2544
3799
  AvatarStyled,
2545
- BadgeText,
2546
- BodyText,
3800
+ Badge,
3801
+ BadgeStyled,
2547
3802
  Box,
2548
3803
  Button,
2549
3804
  ButtonGroup,
@@ -2551,29 +3806,43 @@ function DropdownMenuItem(_a) {
2551
3806
  ButtonItem,
2552
3807
  ButtonItemStyled,
2553
3808
  ButtonStyled,
2554
- CaptionText,
2555
3809
  CheckboxGroup,
2556
3810
  CheckboxGroupStyled,
2557
3811
  CheckboxItem,
2558
- DisplayText,
3812
+ Container,
3813
+ ContainerStyled,
2559
3814
  DropdownMenu,
2560
3815
  DropdownMenuItem,
2561
3816
  Filter,
2562
3817
  FilterItem,
2563
3818
  Flex,
2564
- Headline,
3819
+ FlexStyled,
3820
+ Grid,
3821
+ GridStyled,
2565
3822
  Icon,
2566
- Label,
3823
+ Modal,
3824
+ ModalContentStyled,
3825
+ ModalStyled,
3826
+ ModalTitleStyled,
2567
3827
  RadioGroup,
2568
3828
  RadioGroupStyled,
2569
3829
  RadioItem,
2570
- Subtitle,
3830
+ Section,
3831
+ SectionStyled,
3832
+ Step,
3833
+ StepContent,
3834
+ StepList,
3835
+ StepStyled,
3836
+ StepTrigger,
3837
+ StepWrapper,
3838
+ Switch,
3839
+ SwitchStyled,
2571
3840
  Text,
2572
3841
  TextField,
2573
3842
  TextFieldSlot,
2574
3843
  TextFieldSlotStyled,
2575
3844
  TextFieldStyled,
2576
- TooltipText
3845
+ TextStyle
2577
3846
  });
2578
3847
  /*! Bundled license information:
2579
3848