thailife-react 0.0.13 → 0.0.15

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
@@ -3,7 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var styled = require('styled-components');
6
+ var styled = require('@emotion/styled');
7
+ var react = require('@emotion/react');
7
8
 
8
9
  function _interopNamespaceDefault(e) {
9
10
  var n = Object.create(null);
@@ -1456,64 +1457,155 @@ if (process.env.NODE_ENV === 'production') {
1456
1457
 
1457
1458
  var jsxRuntimeExports = jsxRuntime.exports;
1458
1459
 
1460
+ const theme = {
1461
+ colors: {
1462
+ primary: "#007AC2",
1463
+ error: "#ff1100",
1464
+ dark: "#333333",
1465
+ light: "#666666",
1466
+ white: "#ffffff",
1467
+ black: "#000000",
1468
+ gray: {
1469
+ 50: "#f9fafb",
1470
+ 100: "#f3f4f6",
1471
+ 200: "#e5e7eb",
1472
+ 300: "#d1d5db",
1473
+ 400: "#9ca3af",
1474
+ 500: "#6b7280",
1475
+ 600: "#4b5563",
1476
+ 700: "#374151",
1477
+ 800: "#1f2937",
1478
+ 900: "#111827"
1479
+ }
1480
+ },
1481
+ spacing: {
1482
+ 0: "0",
1483
+ 1: "0.25rem",
1484
+ 2: "0.5rem",
1485
+ 3: "0.75rem",
1486
+ 4: "1rem",
1487
+ 5: "1.25rem",
1488
+ 6: "1.5rem",
1489
+ 8: "2rem",
1490
+ 10: "2.5rem",
1491
+ 12: "3rem",
1492
+ 16: "4rem",
1493
+ 18: "4.5rem",
1494
+ 20: "5rem",
1495
+ 24: "6rem",
1496
+ 32: "8rem",
1497
+ 40: "10rem",
1498
+ 48: "12rem",
1499
+ 56: "14rem",
1500
+ 64: "16rem",
1501
+ 88: "22rem"
1502
+ },
1503
+ fontSize: {
1504
+ xs: "0.75rem",
1505
+ sm: "0.875rem",
1506
+ base: "1rem",
1507
+ lg: "1.125rem",
1508
+ xl: "1.25rem",
1509
+ "2xl": "1.5rem",
1510
+ "3xl": "1.875rem",
1511
+ "4xl": "2.25rem",
1512
+ "5xl": "3rem",
1513
+ "6xl": "3.75rem"
1514
+ },
1515
+ fontFamily: {
1516
+ sans: ["Inter", "system-ui", "sans-serif"],
1517
+ serif: ["Georgia", "Cambria", "Times New Roman", "Times", "serif"],
1518
+ mono: ["Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"]
1519
+ },
1520
+ borderRadius: {
1521
+ none: "0",
1522
+ sm: "0.125rem",
1523
+ base: "0.25rem",
1524
+ md: "0.375rem",
1525
+ lg: "0.5rem",
1526
+ xl: "0.75rem",
1527
+ "2xl": "1rem",
1528
+ "3xl": "1.5rem",
1529
+ full: "9999px"
1530
+ },
1531
+ shadows: {
1532
+ sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1533
+ base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
1534
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
1535
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
1536
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
1537
+ },
1538
+ transitions: {
1539
+ fast: "150ms ease-in-out",
1540
+ base: "300ms ease-in-out",
1541
+ slow: "500ms ease-in-out"
1542
+ }
1543
+ };
1544
+
1459
1545
  const _excluded$6 = ["className", "color", "variant", "size", "fullWidth", "loading", "disabled", "children"];
1460
- var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$6, _templateObject5$6, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject0$6;
1546
+ var _templateObject$6;
1461
1547
  const StyledButton = styled.button(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n border: none;\n border-radius: ", ";\n font-family: ", ";\n font-weight: 500;\n cursor: pointer;\n transition: all ", ";\n outline: none;\n\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
1548
+ var _theme$borderRadius;
1462
1549
  let {
1463
- theme
1550
+ theme: theme$1
1464
1551
  } = _ref;
1465
- return theme.borderRadius.md;
1552
+ return (theme$1 === null || theme$1 === void 0 || (_theme$borderRadius = theme$1.borderRadius) === null || _theme$borderRadius === void 0 ? void 0 : _theme$borderRadius.md) || theme.borderRadius.md;
1466
1553
  }, _ref2 => {
1554
+ var _theme$fontFamily;
1467
1555
  let {
1468
- theme
1556
+ theme: theme$1
1469
1557
  } = _ref2;
1470
- return theme.fontFamily.sans.join(", ");
1558
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontFamily = theme$1.fontFamily) === null || _theme$fontFamily === void 0 || (_theme$fontFamily = _theme$fontFamily.sans) === null || _theme$fontFamily === void 0 ? void 0 : _theme$fontFamily.join(", ")) || theme.fontFamily.sans.join(", ");
1471
1559
  }, _ref3 => {
1560
+ var _theme$transitions;
1472
1561
  let {
1473
- theme
1562
+ theme: theme$1
1474
1563
  } = _ref3;
1475
- return theme.transitions.base;
1564
+ return (theme$1 === null || theme$1 === void 0 || (_theme$transitions = theme$1.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.base) || theme.transitions.base;
1476
1565
  }, _ref4 => {
1566
+ var _theme$colors;
1477
1567
  let {
1478
- theme
1568
+ theme: theme$1
1479
1569
  } = _ref4;
1480
- return theme.colors.primary;
1570
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors = theme$1.colors) === null || _theme$colors === void 0 ? void 0 : _theme$colors.primary) || theme.colors.primary;
1481
1571
  }, _ref5 => {
1482
1572
  let {
1483
1573
  variant,
1484
1574
  color,
1485
- theme
1575
+ theme: theme$1
1486
1576
  } = _ref5;
1577
+ const currentTheme = theme$1 || theme;
1487
1578
  if (variant === "contained") {
1488
- return styled.css(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral(["\n background-color: ", ";\n color: ", ";\n &:hover:not(:disabled) {\n background-color: ", "cc;\n }\n "])), theme.colors[color || "primary"], theme.colors.white, theme.colors[color || "primary"]);
1579
+ return "\n background-color: ".concat(currentTheme.colors[color || "primary"], ";\n color: ").concat(currentTheme.colors.white, ";\n &:hover:not(:disabled) {\n background-color: ").concat(currentTheme.colors[color || "primary"], "cc;\n }\n ");
1489
1580
  }
1490
1581
  if (variant === "outlined") {
1491
- return styled.css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n background-color: transparent;\n border: 1px solid ", ";\n color: ", ";\n &:hover:not(:disabled) {\n background-color: ", "1a;\n }\n "])), theme.colors[color || "primary"], theme.colors[color || "primary"], theme.colors[color || "primary"]);
1582
+ return "\n background-color: transparent;\n border: 1px solid ".concat(currentTheme.colors[color || "primary"], ";\n color: ").concat(currentTheme.colors[color || "primary"], ";\n &:hover:not(:disabled) {\n background-color: ").concat(currentTheme.colors[color || "primary"], "1a;\n }\n ");
1492
1583
  }
1493
1584
  if (variant === "link") {
1494
- return styled.css(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n background-color: transparent;\n color: ", ";\n text-decoration: underline;\n &:hover:not(:disabled) {\n text-decoration: none;\n }\n "])), theme.colors[color || "primary"]);
1585
+ return "\n background-color: transparent;\n color: ".concat(currentTheme.colors[color || "primary"], ";\n text-decoration: underline;\n &:hover:not(:disabled) {\n text-decoration: none;\n }\n ");
1495
1586
  }
1496
- return styled.css(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteral([""])));
1587
+ return "";
1497
1588
  }, _ref6 => {
1498
1589
  let {
1499
1590
  size,
1500
- theme
1591
+ theme: theme$1
1501
1592
  } = _ref6;
1593
+ const currentTheme = theme$1 || theme;
1502
1594
  if (size === "sm") {
1503
- return styled.css(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[3], theme.fontSize.sm);
1595
+ return "\n padding: ".concat(currentTheme.spacing[3], " ").concat(currentTheme.spacing[3], ";\n font-size: ").concat(currentTheme.fontSize.sm, ";\n ");
1504
1596
  }
1505
1597
  if (size === "md") {
1506
- return styled.css(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[2], theme.spacing[4], theme.fontSize.sm);
1598
+ return "\n padding: ".concat(currentTheme.spacing[2], " ").concat(currentTheme.spacing[4], ";\n font-size: ").concat(currentTheme.fontSize.sm, ";\n ");
1507
1599
  }
1508
1600
  if (size === "lg") {
1509
- return styled.css(_templateObject8$6 || (_templateObject8$6 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[6], theme.fontSize.base);
1601
+ return "\n padding: ".concat(currentTheme.spacing[3], " ").concat(currentTheme.spacing[6], ";\n font-size: ").concat(currentTheme.fontSize.base, ";\n ");
1510
1602
  }
1511
- return styled.css(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteral([""])));
1603
+ return "";
1512
1604
  }, _ref7 => {
1513
1605
  let {
1514
1606
  fullWidth
1515
1607
  } = _ref7;
1516
- return fullWidth && styled.css(_templateObject0$6 || (_templateObject0$6 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
1608
+ return fullWidth && "\n width: 100%;\n ";
1517
1609
  });
1518
1610
  const Button = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
1519
1611
  let {
@@ -1543,100 +1635,115 @@ const Button = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
1543
1635
  Button.displayName = "Button";
1544
1636
 
1545
1637
  const _excluded$5 = ["className", "type", "label", "error", "helperText", "size", "fullWidth", "id"];
1546
- var _templateObject$5, _templateObject2$5, _templateObject3$5, _templateObject4$5, _templateObject5$5, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5, _templateObject0$5;
1638
+ var _templateObject$5, _templateObject2$5, _templateObject3$5, _templateObject4$5;
1547
1639
  const InputContainer = styled.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n ", "\n"])), _ref => {
1548
1640
  let {
1549
1641
  fullWidth
1550
1642
  } = _ref;
1551
- return fullWidth && styled.css(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
1643
+ return fullWidth && "\n width: 100%;\n ";
1552
1644
  });
1553
- const InputLabel = styled.label(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
1645
+ const InputLabel = styled.label(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
1646
+ var _theme$spacing;
1554
1647
  let {
1555
- theme
1648
+ theme: theme$1
1556
1649
  } = _ref2;
1557
- return theme.spacing[1];
1650
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing = theme$1.spacing) === null || _theme$spacing === void 0 ? void 0 : _theme$spacing[1]) || theme.spacing[1];
1558
1651
  }, _ref3 => {
1652
+ var _theme$fontSize;
1559
1653
  let {
1560
- theme
1654
+ theme: theme$1
1561
1655
  } = _ref3;
1562
- return theme.fontSize.sm;
1656
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize = theme$1.fontSize) === null || _theme$fontSize === void 0 ? void 0 : _theme$fontSize.sm) || theme.fontSize.sm;
1563
1657
  }, _ref4 => {
1658
+ var _theme$colors;
1564
1659
  let {
1565
- theme
1660
+ theme: theme$1
1566
1661
  } = _ref4;
1567
- return theme.colors.gray[700];
1662
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors = theme$1.colors) === null || _theme$colors === void 0 || (_theme$colors = _theme$colors.gray) === null || _theme$colors === void 0 ? void 0 : _theme$colors[700]) || theme.colors.gray[700];
1568
1663
  });
1569
- const StyledInput = styled.input(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n border-radius: ", ";\n transition: border-color ", ";\n outline: none;\n font-family: ", ";\n\n &:focus {\n border-color: ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ", ";\n }\n\n ", "\n\n ", "\n"])), _ref5 => {
1664
+ const StyledInput = styled.input(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n border-radius: ", ";\n transition: border-color ", ";\n outline: none;\n font-family: ", ";\n padding: ", " ", ";\n font-size: ", ";\n\n &:focus {\n border-color: ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ", ";\n }\n\n ", "\n"])), _ref5 => {
1665
+ var _theme$colors2, _theme$colors3;
1570
1666
  let {
1571
- theme,
1667
+ theme: theme$1,
1572
1668
  hasError
1573
1669
  } = _ref5;
1574
- return hasError ? theme.colors.error : theme.colors.gray[300];
1670
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors2 = theme$1.colors) === null || _theme$colors2 === void 0 ? void 0 : _theme$colors2.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors3 = theme$1.colors) === null || _theme$colors3 === void 0 || (_theme$colors3 = _theme$colors3.gray) === null || _theme$colors3 === void 0 ? void 0 : _theme$colors3[300]) || theme.colors.gray[300];
1575
1671
  }, _ref6 => {
1672
+ var _theme$borderRadius;
1576
1673
  let {
1577
- theme
1674
+ theme: theme$1
1578
1675
  } = _ref6;
1579
- return theme.borderRadius.md;
1676
+ return (theme$1 === null || theme$1 === void 0 || (_theme$borderRadius = theme$1.borderRadius) === null || _theme$borderRadius === void 0 ? void 0 : _theme$borderRadius.md) || theme.borderRadius.md;
1580
1677
  }, _ref7 => {
1678
+ var _theme$transitions;
1581
1679
  let {
1582
- theme
1680
+ theme: theme$1
1583
1681
  } = _ref7;
1584
- return theme.transitions.base;
1682
+ return (theme$1 === null || theme$1 === void 0 || (_theme$transitions = theme$1.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.base) || theme.transitions.base;
1585
1683
  }, _ref8 => {
1684
+ var _theme$fontFamily;
1586
1685
  let {
1587
- theme
1686
+ theme: theme$1
1588
1687
  } = _ref8;
1589
- return theme.fontFamily.sans.join(", ");
1688
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontFamily = theme$1.fontFamily) === null || _theme$fontFamily === void 0 || (_theme$fontFamily = _theme$fontFamily.sans) === null || _theme$fontFamily === void 0 ? void 0 : _theme$fontFamily.join(", ")) || theme.fontFamily.sans.join(", ");
1590
1689
  }, _ref9 => {
1690
+ var _theme$spacing2;
1591
1691
  let {
1592
- theme,
1593
- hasError
1692
+ theme: theme$1
1594
1693
  } = _ref9;
1595
- return hasError ? theme.colors.error : theme.colors.primary;
1694
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing2 = theme$1.spacing) === null || _theme$spacing2 === void 0 ? void 0 : _theme$spacing2[2]) || theme.spacing[2];
1596
1695
  }, _ref0 => {
1696
+ var _theme$spacing3;
1597
1697
  let {
1598
- theme
1698
+ theme: theme$1
1599
1699
  } = _ref0;
1600
- return theme.colors.gray[50];
1700
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing3 = theme$1.spacing) === null || _theme$spacing3 === void 0 ? void 0 : _theme$spacing3[4]) || theme.spacing[4];
1601
1701
  }, _ref1 => {
1702
+ var _theme$fontSize2;
1602
1703
  let {
1603
- size,
1604
- theme
1704
+ theme: theme$1
1605
1705
  } = _ref1;
1606
- if (size === "sm") {
1607
- return styled.css(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[3], theme.fontSize.sm);
1608
- }
1609
- if (size === "md") {
1610
- return styled.css(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[2], theme.spacing[4], theme.fontSize.sm);
1611
- }
1612
- if (size === "lg") {
1613
- return styled.css(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[4], theme.fontSize.base);
1614
- }
1615
- return styled.css(_templateObject8$5 || (_templateObject8$5 = _taggedTemplateLiteral([""])));
1706
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize2 = theme$1.fontSize) === null || _theme$fontSize2 === void 0 ? void 0 : _theme$fontSize2.sm) || theme.fontSize.sm;
1616
1707
  }, _ref10 => {
1708
+ var _theme$colors4, _theme$colors5;
1617
1709
  let {
1618
- fullWidth
1710
+ theme: theme$1,
1711
+ hasError
1619
1712
  } = _ref10;
1620
- return fullWidth && styled.css(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
1621
- });
1622
- const HelperText$5 = styled.p(_templateObject0$5 || (_templateObject0$5 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref11 => {
1713
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors4 = theme$1.colors) === null || _theme$colors4 === void 0 ? void 0 : _theme$colors4.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors5 = theme$1.colors) === null || _theme$colors5 === void 0 ? void 0 : _theme$colors5.primary) || theme.colors.primary;
1714
+ }, _ref11 => {
1715
+ var _theme$colors6;
1623
1716
  let {
1624
- theme
1717
+ theme: theme$1
1625
1718
  } = _ref11;
1626
- return theme.spacing[1];
1719
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors6 = theme$1.colors) === null || _theme$colors6 === void 0 || (_theme$colors6 = _theme$colors6.gray) === null || _theme$colors6 === void 0 ? void 0 : _theme$colors6[50]) || theme.colors.gray[50];
1627
1720
  }, _ref12 => {
1628
1721
  let {
1629
- theme
1722
+ fullWidth
1630
1723
  } = _ref12;
1631
- return theme.fontSize.xs;
1632
- }, _ref13 => {
1724
+ return fullWidth && "\n width: 100%;\n ";
1725
+ });
1726
+ const HelperText$5 = styled.p(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref13 => {
1727
+ var _theme$spacing4;
1633
1728
  let {
1634
- theme,
1635
- hasError
1729
+ theme: theme$1
1636
1730
  } = _ref13;
1637
- return hasError ? theme.colors.error : theme.colors.gray[500];
1731
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing4 = theme$1.spacing) === null || _theme$spacing4 === void 0 ? void 0 : _theme$spacing4[1]) || theme.spacing[1];
1732
+ }, _ref14 => {
1733
+ var _theme$fontSize3;
1734
+ let {
1735
+ theme: theme$1
1736
+ } = _ref14;
1737
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize3 = theme$1.fontSize) === null || _theme$fontSize3 === void 0 ? void 0 : _theme$fontSize3.xs) || theme.fontSize.xs;
1738
+ }, _ref15 => {
1739
+ var _theme$colors7, _theme$colors8;
1740
+ let {
1741
+ theme: theme$1,
1742
+ hasError
1743
+ } = _ref15;
1744
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors7 = theme$1.colors) === null || _theme$colors7 === void 0 ? void 0 : _theme$colors7.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors8 = theme$1.colors) === null || _theme$colors8 === void 0 || (_theme$colors8 = _theme$colors8.gray) === null || _theme$colors8 === void 0 ? void 0 : _theme$colors8[500]) || theme.colors.gray[500];
1638
1745
  });
1639
- const Input = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
1746
+ const Input = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
1640
1747
  let {
1641
1748
  className,
1642
1749
  type = "text",
@@ -1646,8 +1753,8 @@ const Input = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
1646
1753
  size = "md",
1647
1754
  fullWidth = false,
1648
1755
  id
1649
- } = _ref14,
1650
- props = _objectWithoutProperties(_ref14, _excluded$5);
1756
+ } = _ref16,
1757
+ props = _objectWithoutProperties(_ref16, _excluded$5);
1651
1758
  const inputId = id || "input-".concat(Math.random().toString(36).substr(2, 9));
1652
1759
  return jsxRuntimeExports.jsxs(InputContainer, {
1653
1760
  fullWidth: fullWidth,
@@ -1656,7 +1763,6 @@ const Input = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
1656
1763
  children: label
1657
1764
  }), jsxRuntimeExports.jsx(StyledInput, _objectSpread2({
1658
1765
  type: type,
1659
- size: size,
1660
1766
  fullWidth: fullWidth,
1661
1767
  hasError: !!error,
1662
1768
  className: className,
@@ -1671,98 +1777,111 @@ const Input = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
1671
1777
  Input.displayName = "Input";
1672
1778
 
1673
1779
  const _excluded$4 = ["className", "label", "error", "helperText", "size", "fullWidth", "rows", "id"];
1674
- var _templateObject$4, _templateObject2$4, _templateObject3$4, _templateObject4$4, _templateObject5$4, _templateObject6$4, _templateObject7$4, _templateObject8$4, _templateObject9$4, _templateObject0$4;
1780
+ var _templateObject$4, _templateObject2$4, _templateObject3$4, _templateObject4$4;
1675
1781
  const TextareaContainer = styled.div(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n ", "\n"])), _ref => {
1676
1782
  let {
1677
1783
  fullWidth
1678
1784
  } = _ref;
1679
- return fullWidth && styled.css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
1785
+ return fullWidth && "\n width: 100%;\n ";
1680
1786
  });
1681
- const TextareaLabel = styled.label(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
1787
+ const TextareaLabel = styled.label(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
1788
+ var _theme$spacing;
1682
1789
  let {
1683
- theme
1790
+ theme: theme$1
1684
1791
  } = _ref2;
1685
- return theme.spacing[1];
1792
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing = theme$1.spacing) === null || _theme$spacing === void 0 ? void 0 : _theme$spacing[1]) || theme.spacing[1];
1686
1793
  }, _ref3 => {
1794
+ var _theme$fontSize;
1687
1795
  let {
1688
- theme
1796
+ theme: theme$1
1689
1797
  } = _ref3;
1690
- return theme.fontSize.sm;
1798
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize = theme$1.fontSize) === null || _theme$fontSize === void 0 ? void 0 : _theme$fontSize.sm) || theme.fontSize.sm;
1691
1799
  }, _ref4 => {
1800
+ var _theme$colors;
1692
1801
  let {
1693
- theme
1802
+ theme: theme$1
1694
1803
  } = _ref4;
1695
- return theme.colors.gray[700];
1804
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors = theme$1.colors) === null || _theme$colors === void 0 || (_theme$colors = _theme$colors.gray) === null || _theme$colors === void 0 ? void 0 : _theme$colors[700]) || theme.colors.gray[700];
1696
1805
  });
1697
- const StyledTextarea = styled.textarea(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n border-radius: ", ";\n transition: border-color ", ";\n outline: none;\n resize: vertical;\n font-family: ", ";\n\n &:focus {\n border-color: ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ", ";\n }\n\n ", "\n\n ", "\n"])), _ref5 => {
1806
+ const StyledTextarea = styled.textarea(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n border-radius: ", ";\n transition: border-color ", ";\n outline: none;\n resize: vertical;\n font-family: ", ";\n\n &:focus {\n border-color: ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ", ";\n }\n\n ", "\n\n ", "\n"])), _ref5 => {
1807
+ var _theme$colors2, _theme$colors3;
1698
1808
  let {
1699
- theme,
1809
+ theme: theme$1,
1700
1810
  hasError
1701
1811
  } = _ref5;
1702
- return hasError ? theme.colors.error : theme.colors.gray[300];
1812
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors2 = theme$1.colors) === null || _theme$colors2 === void 0 ? void 0 : _theme$colors2.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors3 = theme$1.colors) === null || _theme$colors3 === void 0 || (_theme$colors3 = _theme$colors3.gray) === null || _theme$colors3 === void 0 ? void 0 : _theme$colors3[300]) || theme.colors.gray[300];
1703
1813
  }, _ref6 => {
1814
+ var _theme$borderRadius;
1704
1815
  let {
1705
- theme
1816
+ theme: theme$1
1706
1817
  } = _ref6;
1707
- return theme.borderRadius.md;
1818
+ return (theme$1 === null || theme$1 === void 0 || (_theme$borderRadius = theme$1.borderRadius) === null || _theme$borderRadius === void 0 ? void 0 : _theme$borderRadius.md) || theme.borderRadius.md;
1708
1819
  }, _ref7 => {
1820
+ var _theme$transitions;
1709
1821
  let {
1710
- theme
1822
+ theme: theme$1
1711
1823
  } = _ref7;
1712
- return theme.transitions.base;
1824
+ return (theme$1 === null || theme$1 === void 0 || (_theme$transitions = theme$1.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.base) || theme.transitions.base;
1713
1825
  }, _ref8 => {
1826
+ var _theme$fontFamily;
1714
1827
  let {
1715
- theme
1828
+ theme: theme$1
1716
1829
  } = _ref8;
1717
- return theme.fontFamily.sans.join(", ");
1830
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontFamily = theme$1.fontFamily) === null || _theme$fontFamily === void 0 || (_theme$fontFamily = _theme$fontFamily.sans) === null || _theme$fontFamily === void 0 ? void 0 : _theme$fontFamily.join(", ")) || theme.fontFamily.sans.join(", ");
1718
1831
  }, _ref9 => {
1832
+ var _theme$colors4, _theme$colors5;
1719
1833
  let {
1720
- theme,
1834
+ theme: theme$1,
1721
1835
  hasError
1722
1836
  } = _ref9;
1723
- return hasError ? theme.colors.error : theme.colors.primary;
1837
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors4 = theme$1.colors) === null || _theme$colors4 === void 0 ? void 0 : _theme$colors4.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors5 = theme$1.colors) === null || _theme$colors5 === void 0 ? void 0 : _theme$colors5.primary) || theme.colors.primary;
1724
1838
  }, _ref0 => {
1839
+ var _theme$colors6;
1725
1840
  let {
1726
- theme
1841
+ theme: theme$1
1727
1842
  } = _ref0;
1728
- return theme.colors.gray[50];
1843
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors6 = theme$1.colors) === null || _theme$colors6 === void 0 || (_theme$colors6 = _theme$colors6.gray) === null || _theme$colors6 === void 0 ? void 0 : _theme$colors6[50]) || theme.colors.gray[50];
1729
1844
  }, _ref1 => {
1730
1845
  let {
1731
1846
  size,
1732
- theme
1847
+ theme: theme$1
1733
1848
  } = _ref1;
1849
+ const currentTheme = theme$1 || theme;
1734
1850
  if (size === "sm") {
1735
- return styled.css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[3], theme.fontSize.sm);
1851
+ return "\n padding: ".concat(currentTheme.spacing[3], " ").concat(currentTheme.spacing[3], ";\n font-size: ").concat(currentTheme.fontSize.sm, ";\n ");
1736
1852
  }
1737
1853
  if (size === "md") {
1738
- return styled.css(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[2], theme.spacing[4], theme.fontSize.sm);
1854
+ return "\n padding: ".concat(currentTheme.spacing[2], " ").concat(currentTheme.spacing[4], ";\n font-size: ").concat(currentTheme.fontSize.sm, ";\n ");
1739
1855
  }
1740
1856
  if (size === "lg") {
1741
- return styled.css(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[4], theme.fontSize.base);
1857
+ return "\n padding: ".concat(currentTheme.spacing[3], " ").concat(currentTheme.spacing[4], ";\n font-size: ").concat(currentTheme.fontSize.base, ";\n ");
1742
1858
  }
1743
- return styled.css(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteral([""])));
1859
+ return "";
1744
1860
  }, _ref10 => {
1745
1861
  let {
1746
1862
  fullWidth
1747
1863
  } = _ref10;
1748
- return fullWidth && styled.css(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
1864
+ return fullWidth && "\n width: 100%;\n ";
1749
1865
  });
1750
- const HelperText$4 = styled.p(_templateObject0$4 || (_templateObject0$4 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref11 => {
1866
+ const HelperText$4 = styled.p(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref11 => {
1867
+ var _theme$spacing2;
1751
1868
  let {
1752
- theme
1869
+ theme: theme$1
1753
1870
  } = _ref11;
1754
- return theme.spacing[1];
1871
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing2 = theme$1.spacing) === null || _theme$spacing2 === void 0 ? void 0 : _theme$spacing2[1]) || theme.spacing[1];
1755
1872
  }, _ref12 => {
1873
+ var _theme$fontSize2;
1756
1874
  let {
1757
- theme
1875
+ theme: theme$1
1758
1876
  } = _ref12;
1759
- return theme.fontSize.xs;
1877
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize2 = theme$1.fontSize) === null || _theme$fontSize2 === void 0 ? void 0 : _theme$fontSize2.xs) || theme.fontSize.xs;
1760
1878
  }, _ref13 => {
1879
+ var _theme$colors7, _theme$colors8;
1761
1880
  let {
1762
- theme,
1881
+ theme: theme$1,
1763
1882
  hasError
1764
1883
  } = _ref13;
1765
- return hasError ? theme.colors.error : theme.colors.gray[500];
1884
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors7 = theme$1.colors) === null || _theme$colors7 === void 0 ? void 0 : _theme$colors7.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors8 = theme$1.colors) === null || _theme$colors8 === void 0 || (_theme$colors8 = _theme$colors8.gray) === null || _theme$colors8 === void 0 ? void 0 : _theme$colors8[500]) || theme.colors.gray[500];
1766
1885
  });
1767
1886
  const Textarea = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
1768
1887
  let {
@@ -1799,113 +1918,128 @@ const Textarea = /*#__PURE__*/React.forwardRef((_ref14, ref) => {
1799
1918
  Textarea.displayName = "Textarea";
1800
1919
 
1801
1920
  const _excluded$3 = ["className", "label", "error", "helperText", "size", "fullWidth", "accept", "multiple", "buttonText", "id"];
1802
- var _templateObject$3, _templateObject2$3, _templateObject3$3, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3, _templateObject11$2, _templateObject12$2;
1921
+ var _templateObject$3, _templateObject2$3, _templateObject3$3, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7, _templateObject8;
1803
1922
  const InputFileContainer = styled.div(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n ", "\n"])), _ref => {
1804
1923
  let {
1805
1924
  fullWidth
1806
1925
  } = _ref;
1807
- return fullWidth && styled.css(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
1926
+ return fullWidth && "\n width: 100%;\n ";
1808
1927
  });
1809
- const InputFileLabel = styled.label(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
1928
+ const InputFileLabel = styled.label(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
1929
+ var _theme$spacing;
1810
1930
  let {
1811
- theme
1931
+ theme: theme$1
1812
1932
  } = _ref2;
1813
- return theme.spacing[1];
1933
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing = theme$1.spacing) === null || _theme$spacing === void 0 ? void 0 : _theme$spacing[1]) || theme.spacing[1];
1814
1934
  }, _ref3 => {
1935
+ var _theme$fontSize;
1815
1936
  let {
1816
- theme
1937
+ theme: theme$1
1817
1938
  } = _ref3;
1818
- return theme.fontSize.sm;
1939
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize = theme$1.fontSize) === null || _theme$fontSize === void 0 ? void 0 : _theme$fontSize.sm) || theme.fontSize.sm;
1819
1940
  }, _ref4 => {
1941
+ var _theme$colors;
1820
1942
  let {
1821
- theme
1943
+ theme: theme$1
1822
1944
  } = _ref4;
1823
- return theme.colors.gray[700];
1945
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors = theme$1.colors) === null || _theme$colors === void 0 || (_theme$colors = _theme$colors.gray) === null || _theme$colors === void 0 ? void 0 : _theme$colors[700]) || theme.colors.gray[700];
1824
1946
  });
1825
- const InputFileWrapper = styled.div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n position: relative;\n"])));
1826
- const HiddenInput = styled.input(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n"])));
1827
- const FileUploadArea = styled.div(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["\n border: 2px dashed ", ";\n transition: all ", ";\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n border-color: ", ";\n }\n\n &:focus-within {\n border-color: ", ";\n }\n\n ", "\n\n ", "\n"])), _ref5 => {
1947
+ const InputFileWrapper = styled.div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n position: relative;\n"])));
1948
+ const HiddenInput = styled.input(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n"])));
1949
+ const FileUploadArea = styled.div(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["\n border: 2px dashed ", ";\n transition: all ", ";\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n border-color: ", ";\n }\n\n &:focus-within {\n border-color: ", ";\n }\n\n ", "\n\n ", "\n"])), _ref5 => {
1950
+ var _theme$colors2, _theme$colors3;
1828
1951
  let {
1829
- theme,
1952
+ theme: theme$1,
1830
1953
  hasError
1831
1954
  } = _ref5;
1832
- return hasError ? theme.colors.error : theme.colors.gray[300];
1955
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors2 = theme$1.colors) === null || _theme$colors2 === void 0 ? void 0 : _theme$colors2.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors3 = theme$1.colors) === null || _theme$colors3 === void 0 || (_theme$colors3 = _theme$colors3.gray) === null || _theme$colors3 === void 0 ? void 0 : _theme$colors3[300]) || theme.colors.gray[300];
1833
1956
  }, _ref6 => {
1957
+ var _theme$transitions;
1834
1958
  let {
1835
- theme
1959
+ theme: theme$1
1836
1960
  } = _ref6;
1837
- return theme.transitions.base;
1961
+ return (theme$1 === null || theme$1 === void 0 || (_theme$transitions = theme$1.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.base) || theme.transitions.base;
1838
1962
  }, _ref7 => {
1963
+ var _theme$colors4, _theme$colors5;
1839
1964
  let {
1840
- theme,
1965
+ theme: theme$1,
1841
1966
  hasError
1842
1967
  } = _ref7;
1843
- return hasError ? theme.colors.error : theme.colors.primary;
1968
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors4 = theme$1.colors) === null || _theme$colors4 === void 0 ? void 0 : _theme$colors4.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors5 = theme$1.colors) === null || _theme$colors5 === void 0 ? void 0 : _theme$colors5.primary) || theme.colors.primary;
1844
1969
  }, _ref8 => {
1970
+ var _theme$colors6, _theme$colors7;
1845
1971
  let {
1846
- theme,
1972
+ theme: theme$1,
1847
1973
  hasError
1848
1974
  } = _ref8;
1849
- return hasError ? theme.colors.error : theme.colors.primary;
1975
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors6 = theme$1.colors) === null || _theme$colors6 === void 0 ? void 0 : _theme$colors6.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors7 = theme$1.colors) === null || _theme$colors7 === void 0 ? void 0 : _theme$colors7.primary) || theme.colors.primary;
1850
1976
  }, _ref9 => {
1851
1977
  let {
1852
1978
  size,
1853
- theme
1979
+ theme: theme$1
1854
1980
  } = _ref9;
1981
+ const currentTheme = theme$1 || theme;
1855
1982
  if (size === "sm") {
1856
- return styled.css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[3], theme.fontSize.sm);
1983
+ return "\n padding: ".concat(currentTheme.spacing[3], " ").concat(currentTheme.spacing[3], ";\n font-size: ").concat(currentTheme.fontSize.sm, ";\n ");
1857
1984
  }
1858
1985
  if (size === "md") {
1859
- return styled.css(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[2], theme.spacing[4], theme.fontSize.base);
1986
+ return "\n padding: ".concat(currentTheme.spacing[2], " ").concat(currentTheme.spacing[4], ";\n font-size: ").concat(currentTheme.fontSize.base, ";\n ");
1860
1987
  }
1861
1988
  if (size === "lg") {
1862
- return styled.css(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[4], theme.fontSize.base);
1989
+ return "\n padding: ".concat(currentTheme.spacing[3], " ").concat(currentTheme.spacing[4], ";\n font-size: ").concat(currentTheme.fontSize.base, ";\n ");
1863
1990
  }
1864
- return styled.css(_templateObject0$3 || (_templateObject0$3 = _taggedTemplateLiteral([""])));
1991
+ return "";
1865
1992
  }, _ref0 => {
1866
1993
  let {
1867
1994
  fullWidth
1868
1995
  } = _ref0;
1869
- return fullWidth && styled.css(_templateObject1$3 || (_templateObject1$3 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
1996
+ return fullWidth && "\n width: 100%;\n ";
1870
1997
  });
1871
- const ButtonText = styled.span(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteral(["\n color: ", ";\n"])), _ref1 => {
1998
+ const ButtonText = styled.span(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["\n color: ", ";\n"])), _ref1 => {
1999
+ var _theme$colors8;
1872
2000
  let {
1873
- theme
2001
+ theme: theme$1
1874
2002
  } = _ref1;
1875
- return theme.colors.gray[600];
2003
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors8 = theme$1.colors) === null || _theme$colors8 === void 0 || (_theme$colors8 = _theme$colors8.gray) === null || _theme$colors8 === void 0 ? void 0 : _theme$colors8[600]) || theme.colors.gray[600];
1876
2004
  });
1877
- const MultipleText = styled.span(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral(["\n margin-left: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref10 => {
2005
+ const MultipleText = styled.span(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n margin-left: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref10 => {
2006
+ var _theme$spacing2;
1878
2007
  let {
1879
- theme
2008
+ theme: theme$1
1880
2009
  } = _ref10;
1881
- return theme.spacing[1];
2010
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing2 = theme$1.spacing) === null || _theme$spacing2 === void 0 ? void 0 : _theme$spacing2[1]) || theme.spacing[1];
1882
2011
  }, _ref11 => {
2012
+ var _theme$fontSize2;
1883
2013
  let {
1884
- theme
2014
+ theme: theme$1
1885
2015
  } = _ref11;
1886
- return theme.fontSize.xs;
2016
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize2 = theme$1.fontSize) === null || _theme$fontSize2 === void 0 ? void 0 : _theme$fontSize2.xs) || theme.fontSize.xs;
1887
2017
  }, _ref12 => {
2018
+ var _theme$colors9;
1888
2019
  let {
1889
- theme
2020
+ theme: theme$1
1890
2021
  } = _ref12;
1891
- return theme.colors.gray[500];
2022
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors9 = theme$1.colors) === null || _theme$colors9 === void 0 || (_theme$colors9 = _theme$colors9.gray) === null || _theme$colors9 === void 0 ? void 0 : _theme$colors9[500]) || theme.colors.gray[500];
1892
2023
  });
1893
- const HelperText$3 = styled.p(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref13 => {
2024
+ const HelperText$3 = styled.p(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref13 => {
2025
+ var _theme$spacing3;
1894
2026
  let {
1895
- theme
2027
+ theme: theme$1
1896
2028
  } = _ref13;
1897
- return theme.spacing[1];
2029
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing3 = theme$1.spacing) === null || _theme$spacing3 === void 0 ? void 0 : _theme$spacing3[1]) || theme.spacing[1];
1898
2030
  }, _ref14 => {
2031
+ var _theme$fontSize3;
1899
2032
  let {
1900
- theme
2033
+ theme: theme$1
1901
2034
  } = _ref14;
1902
- return theme.fontSize.xs;
2035
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize3 = theme$1.fontSize) === null || _theme$fontSize3 === void 0 ? void 0 : _theme$fontSize3.xs) || theme.fontSize.xs;
1903
2036
  }, _ref15 => {
2037
+ var _theme$colors0, _theme$colors1;
1904
2038
  let {
1905
- theme,
2039
+ theme: theme$1,
1906
2040
  hasError
1907
2041
  } = _ref15;
1908
- return hasError ? theme.colors.error : theme.colors.gray[500];
2042
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors0 = theme$1.colors) === null || _theme$colors0 === void 0 ? void 0 : _theme$colors0.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors1 = theme$1.colors) === null || _theme$colors1 === void 0 || (_theme$colors1 = _theme$colors1.gray) === null || _theme$colors1 === void 0 ? void 0 : _theme$colors1[500]) || theme.colors.gray[500];
1909
2043
  });
1910
2044
  const InputFile = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
1911
2045
  let {
@@ -1954,100 +2088,92 @@ const InputFile = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
1954
2088
  InputFile.displayName = "InputFile";
1955
2089
 
1956
2090
  const _excluded$2 = ["className", "label", "error", "helperText", "size", "fullWidth", "indeterminate", "id"];
1957
- var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$2, _templateObject5$2, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$1, _templateObject12$1, _templateObject13$1;
2091
+ var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$2, _templateObject5$2, _templateObject6$2;
1958
2092
  const CheckboxContainer = styled.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-start;\n ", "\n"])), _ref => {
1959
2093
  let {
1960
2094
  fullWidth
1961
2095
  } = _ref;
1962
- return fullWidth && styled.css(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
2096
+ return fullWidth && "\n width: 100%;\n ";
1963
2097
  });
1964
- const CheckboxWrapper = styled.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n height: ", ";\n"])), _ref2 => {
2098
+ const CheckboxWrapper = styled.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n height: ", ";\n"])), _ref2 => {
2099
+ var _theme$spacing;
1965
2100
  let {
1966
- theme
2101
+ theme: theme$1
1967
2102
  } = _ref2;
1968
- return theme.spacing[5];
2103
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing = theme$1.spacing) === null || _theme$spacing === void 0 ? void 0 : _theme$spacing[5]) || theme.spacing[5];
1969
2104
  });
1970
- const StyledCheckbox = styled.input(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n border-radius: ", ";\n border: 1px solid ", ";\n transition: all ", ";\n outline: none;\n\n &:focus {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n ", "\n"])), _ref3 => {
2105
+ const StyledCheckbox = styled.input(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n border-radius: ", ";\n border: 1px solid ", ";\n transition: all ", ";\n outline: none;\n\n &:focus {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n ", "\n"])), _ref3 => {
2106
+ var _theme$borderRadius;
1971
2107
  let {
1972
- theme
2108
+ theme: theme$1
1973
2109
  } = _ref3;
1974
- return theme.borderRadius.md;
2110
+ return (theme$1 === null || theme$1 === void 0 || (_theme$borderRadius = theme$1.borderRadius) === null || _theme$borderRadius === void 0 ? void 0 : _theme$borderRadius.md) || theme.borderRadius.md;
1975
2111
  }, _ref4 => {
2112
+ var _theme$colors, _theme$colors2;
1976
2113
  let {
1977
- theme,
2114
+ theme: theme$1,
1978
2115
  hasError
1979
2116
  } = _ref4;
1980
- return hasError ? theme.colors.error : theme.colors.gray[300];
2117
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors = theme$1.colors) === null || _theme$colors === void 0 ? void 0 : _theme$colors.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors2 = theme$1.colors) === null || _theme$colors2 === void 0 || (_theme$colors2 = _theme$colors2.gray) === null || _theme$colors2 === void 0 ? void 0 : _theme$colors2[300]) || theme.colors.gray[300];
1981
2118
  }, _ref5 => {
2119
+ var _theme$transitions;
1982
2120
  let {
1983
- theme
2121
+ theme: theme$1
1984
2122
  } = _ref5;
1985
- return theme.transitions.base;
2123
+ return (theme$1 === null || theme$1 === void 0 || (_theme$transitions = theme$1.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.base) || theme.transitions.base;
1986
2124
  }, _ref6 => {
2125
+ var _theme$colors3, _theme$colors4;
1987
2126
  let {
1988
- theme,
2127
+ theme: theme$1,
1989
2128
  hasError
1990
2129
  } = _ref6;
1991
- return hasError ? theme.colors.error : theme.colors.primary;
2130
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors3 = theme$1.colors) === null || _theme$colors3 === void 0 ? void 0 : _theme$colors3.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors4 = theme$1.colors) === null || _theme$colors4 === void 0 ? void 0 : _theme$colors4.primary) || theme.colors.primary;
1992
2131
  }, _ref7 => {
1993
2132
  let {
1994
- size,
1995
- theme
2133
+ theme: theme$1
1996
2134
  } = _ref7;
1997
- if (size === "sm") {
1998
- return styled.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n "])), theme.spacing[4], theme.spacing[4]);
1999
- }
2000
- if (size === "md") {
2001
- return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n "])), theme.spacing[5], theme.spacing[5]);
2002
- }
2003
- if (size === "lg") {
2004
- return styled.css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n "])), theme.spacing[6], theme.spacing[6]);
2005
- }
2006
- return styled.css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral([""])));
2135
+ const currentTheme = theme$1 || theme;
2136
+ return "\n width: ".concat(currentTheme.spacing[5], ";\n height: ").concat(currentTheme.spacing[5], ";\n ");
2007
2137
  });
2008
- const LabelContainer$1 = styled.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral(["\n margin-left: ", ";\n"])), _ref8 => {
2138
+ const LabelContainer$1 = styled.div(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n margin-left: ", ";\n"])), _ref8 => {
2139
+ var _theme$spacing2;
2009
2140
  let {
2010
- theme
2141
+ theme: theme$1
2011
2142
  } = _ref8;
2012
- return theme.spacing[3];
2143
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing2 = theme$1.spacing) === null || _theme$spacing2 === void 0 ? void 0 : _theme$spacing2[3]) || theme.spacing[3];
2013
2144
  });
2014
- const CheckboxLabel = styled.label(_templateObject0$2 || (_templateObject0$2 = _taggedTemplateLiteral(["\n font-weight: 500;\n color: ", ";\n cursor: pointer;\n\n ", "\n"])), _ref9 => {
2145
+ const CheckboxLabel = styled.label(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n font-weight: 500;\n color: ", ";\n cursor: pointer;\n font-size: ", ";\n"])), _ref9 => {
2146
+ var _theme$colors5;
2015
2147
  let {
2016
- theme
2148
+ theme: theme$1
2017
2149
  } = _ref9;
2018
- return theme.colors.gray[700];
2150
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors5 = theme$1.colors) === null || _theme$colors5 === void 0 || (_theme$colors5 = _theme$colors5.gray) === null || _theme$colors5 === void 0 ? void 0 : _theme$colors5[700]) || theme.colors.gray[700];
2019
2151
  }, _ref0 => {
2152
+ var _theme$fontSize;
2020
2153
  let {
2021
- size,
2022
- theme
2154
+ theme: theme$1
2023
2155
  } = _ref0;
2024
- if (size === "sm") {
2025
- return styled.css(_templateObject1$2 || (_templateObject1$2 = _taggedTemplateLiteral(["\n font-size: ", ";\n "])), theme.fontSize.sm);
2026
- }
2027
- if (size === "md") {
2028
- return styled.css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral(["\n font-size: ", ";\n "])), theme.fontSize.sm);
2029
- }
2030
- if (size === "lg") {
2031
- return styled.css(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteral(["\n font-size: ", ";\n "])), theme.fontSize.base);
2032
- }
2033
- return styled.css(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteral([""])));
2156
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize = theme$1.fontSize) === null || _theme$fontSize === void 0 ? void 0 : _theme$fontSize.sm) || theme.fontSize.sm;
2034
2157
  });
2035
- const HelperText$2 = styled.p(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref1 => {
2158
+ const HelperText$2 = styled.p(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref1 => {
2159
+ var _theme$spacing3;
2036
2160
  let {
2037
- theme
2161
+ theme: theme$1
2038
2162
  } = _ref1;
2039
- return theme.spacing[1];
2163
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing3 = theme$1.spacing) === null || _theme$spacing3 === void 0 ? void 0 : _theme$spacing3[1]) || theme.spacing[1];
2040
2164
  }, _ref10 => {
2165
+ var _theme$fontSize2;
2041
2166
  let {
2042
- theme
2167
+ theme: theme$1
2043
2168
  } = _ref10;
2044
- return theme.fontSize.xs;
2169
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize2 = theme$1.fontSize) === null || _theme$fontSize2 === void 0 ? void 0 : _theme$fontSize2.xs) || theme.fontSize.xs;
2045
2170
  }, _ref11 => {
2171
+ var _theme$colors6, _theme$colors7;
2046
2172
  let {
2047
- theme,
2173
+ theme: theme$1,
2048
2174
  hasError
2049
2175
  } = _ref11;
2050
- return hasError ? theme.colors.error : theme.colors.gray[500];
2176
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors6 = theme$1.colors) === null || _theme$colors6 === void 0 ? void 0 : _theme$colors6.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors7 = theme$1.colors) === null || _theme$colors7 === void 0 || (_theme$colors7 = _theme$colors7.gray) === null || _theme$colors7 === void 0 ? void 0 : _theme$colors7[500]) || theme.colors.gray[500];
2051
2177
  });
2052
2178
  const Checkbox = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
2053
2179
  let {
@@ -2072,7 +2198,6 @@ const Checkbox = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
2072
2198
  children: [jsxRuntimeExports.jsx(CheckboxWrapper, {
2073
2199
  children: jsxRuntimeExports.jsx(StyledCheckbox, _objectSpread2({
2074
2200
  type: "checkbox",
2075
- size: size,
2076
2201
  hasError: !!error,
2077
2202
  className: className,
2078
2203
  ref: ref,
@@ -2081,7 +2206,6 @@ const Checkbox = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
2081
2206
  }), jsxRuntimeExports.jsxs(LabelContainer$1, {
2082
2207
  children: [label && jsxRuntimeExports.jsx(CheckboxLabel, {
2083
2208
  htmlFor: checkboxId,
2084
- size: size,
2085
2209
  children: label
2086
2210
  }), (error || helperText) && jsxRuntimeExports.jsx(HelperText$2, {
2087
2211
  hasError: !!error,
@@ -2093,97 +2217,94 @@ const Checkbox = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
2093
2217
  Checkbox.displayName = "Checkbox";
2094
2218
 
2095
2219
  const _excluded$1 = ["className", "label", "error", "helperText", "size", "fullWidth", "id"];
2096
- var _templateObject$1, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11, _templateObject12, _templateObject13;
2220
+ var _templateObject$1, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5$1, _templateObject6$1;
2097
2221
  const RadioContainer = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-start;\n ", "\n"])), _ref => {
2098
2222
  let {
2099
2223
  fullWidth
2100
2224
  } = _ref;
2101
- return fullWidth && styled.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
2225
+ return fullWidth && "\n width: 100%;\n ";
2102
2226
  });
2103
- const RadioWrapper = styled.div(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n height: ", ";\n"])), _ref2 => {
2227
+ const RadioWrapper = styled.div(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n height: ", ";\n"])), _ref2 => {
2228
+ var _theme$spacing;
2104
2229
  let {
2105
- theme
2230
+ theme: theme$1
2106
2231
  } = _ref2;
2107
- return theme.spacing[5];
2232
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing = theme$1.spacing) === null || _theme$spacing === void 0 ? void 0 : _theme$spacing[5]) || theme.spacing[5];
2108
2233
  });
2109
- const StyledRadio = styled.input(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n border: 2px solid ", ";\n transition: all ", ";\n outline: none;\n\n &:focus {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n ", "\n"])), _ref3 => {
2234
+ const StyledRadio = styled.input(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n border: 2px solid ", ";\n transition: all ", ";\n outline: none;\n width: ", ";\n height: ", ";\n\n &:focus {\n outline: none;\n box-shadow: 0 0 0 2px ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), _ref3 => {
2235
+ var _theme$colors, _theme$colors2;
2110
2236
  let {
2111
- theme,
2237
+ theme: theme$1,
2112
2238
  hasError
2113
2239
  } = _ref3;
2114
- return hasError ? theme.colors.error : theme.colors.gray[300];
2240
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors = theme$1.colors) === null || _theme$colors === void 0 ? void 0 : _theme$colors.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors2 = theme$1.colors) === null || _theme$colors2 === void 0 || (_theme$colors2 = _theme$colors2.gray) === null || _theme$colors2 === void 0 ? void 0 : _theme$colors2[300]) || theme.colors.gray[300];
2115
2241
  }, _ref4 => {
2242
+ var _theme$transitions;
2116
2243
  let {
2117
- theme
2244
+ theme: theme$1
2118
2245
  } = _ref4;
2119
- return theme.transitions.base;
2246
+ return (theme$1 === null || theme$1 === void 0 || (_theme$transitions = theme$1.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.base) || theme.transitions.base;
2120
2247
  }, _ref5 => {
2248
+ var _theme$spacing2;
2121
2249
  let {
2122
- theme,
2123
- hasError
2250
+ theme: theme$1
2124
2251
  } = _ref5;
2125
- return hasError ? theme.colors.error : theme.colors.primary;
2252
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing2 = theme$1.spacing) === null || _theme$spacing2 === void 0 ? void 0 : _theme$spacing2[5]) || theme.spacing[5];
2126
2253
  }, _ref6 => {
2254
+ var _theme$spacing3;
2127
2255
  let {
2128
- size,
2129
- theme
2256
+ theme: theme$1
2130
2257
  } = _ref6;
2131
- if (size === "sm") {
2132
- return styled.css(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n "])), theme.spacing[4], theme.spacing[4]);
2133
- }
2134
- if (size === "md") {
2135
- return styled.css(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n "])), theme.spacing[5], theme.spacing[5]);
2136
- }
2137
- if (size === "lg") {
2138
- return styled.css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n "])), theme.spacing[6], theme.spacing[6]);
2139
- }
2140
- return styled.css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral([""])));
2141
- });
2142
- const LabelContainer = styled.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral(["\n margin-left: ", ";\n"])), _ref7 => {
2258
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing3 = theme$1.spacing) === null || _theme$spacing3 === void 0 ? void 0 : _theme$spacing3[5]) || theme.spacing[5];
2259
+ }, _ref7 => {
2260
+ var _theme$colors3, _theme$colors4;
2143
2261
  let {
2144
- theme
2262
+ theme: theme$1,
2263
+ hasError
2145
2264
  } = _ref7;
2146
- return theme.spacing[3];
2265
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors3 = theme$1.colors) === null || _theme$colors3 === void 0 ? void 0 : _theme$colors3.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors4 = theme$1.colors) === null || _theme$colors4 === void 0 ? void 0 : _theme$colors4.primary) || theme.colors.primary;
2147
2266
  });
2148
- const RadioLabel = styled.label(_templateObject0$1 || (_templateObject0$1 = _taggedTemplateLiteral(["\n font-weight: 500;\n color: ", ";\n cursor: pointer;\n\n ", "\n"])), _ref8 => {
2267
+ const LabelContainer = styled.div(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n margin-left: ", ";\n"])), _ref8 => {
2268
+ var _theme$spacing4;
2149
2269
  let {
2150
- theme
2270
+ theme: theme$1
2151
2271
  } = _ref8;
2152
- return theme.colors.gray[700];
2153
- }, _ref9 => {
2272
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing4 = theme$1.spacing) === null || _theme$spacing4 === void 0 ? void 0 : _theme$spacing4[3]) || theme.spacing[3];
2273
+ });
2274
+ const RadioLabel = styled.label(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n font-weight: 500;\n color: ", ";\n cursor: pointer;\n font-size: ", ";\n"])), _ref9 => {
2275
+ var _theme$colors5;
2154
2276
  let {
2155
- size,
2156
- theme
2277
+ theme: theme$1
2157
2278
  } = _ref9;
2158
- if (size === "sm") {
2159
- return styled.css(_templateObject1$1 || (_templateObject1$1 = _taggedTemplateLiteral(["\n font-size: ", ";\n "])), theme.fontSize.sm);
2160
- }
2161
- if (size === "md") {
2162
- return styled.css(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral(["\n font-size: ", ";\n "])), theme.fontSize.sm);
2163
- }
2164
- if (size === "lg") {
2165
- return styled.css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n font-size: ", ";\n "])), theme.fontSize.base);
2166
- }
2167
- return styled.css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral([""])));
2168
- });
2169
- const HelperText$1 = styled.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref0 => {
2279
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors5 = theme$1.colors) === null || _theme$colors5 === void 0 || (_theme$colors5 = _theme$colors5.gray) === null || _theme$colors5 === void 0 ? void 0 : _theme$colors5[700]) || theme.colors.gray[700];
2280
+ }, _ref0 => {
2281
+ var _theme$fontSize;
2170
2282
  let {
2171
- theme
2283
+ theme: theme$1
2172
2284
  } = _ref0;
2173
- return theme.spacing[1];
2174
- }, _ref1 => {
2285
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize = theme$1.fontSize) === null || _theme$fontSize === void 0 ? void 0 : _theme$fontSize.sm) || theme.fontSize.sm;
2286
+ });
2287
+ const HelperText$1 = styled.p(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref1 => {
2288
+ var _theme$spacing5;
2175
2289
  let {
2176
- theme
2290
+ theme: theme$1
2177
2291
  } = _ref1;
2178
- return theme.fontSize.xs;
2292
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing5 = theme$1.spacing) === null || _theme$spacing5 === void 0 ? void 0 : _theme$spacing5[1]) || theme.spacing[1];
2179
2293
  }, _ref10 => {
2294
+ var _theme$fontSize2;
2180
2295
  let {
2181
- theme,
2182
- hasError
2296
+ theme: theme$1
2183
2297
  } = _ref10;
2184
- return hasError ? theme.colors.error : theme.colors.gray[500];
2298
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize2 = theme$1.fontSize) === null || _theme$fontSize2 === void 0 ? void 0 : _theme$fontSize2.xs) || theme.fontSize.xs;
2299
+ }, _ref11 => {
2300
+ var _theme$colors6, _theme$colors7;
2301
+ let {
2302
+ theme: theme$1,
2303
+ hasError
2304
+ } = _ref11;
2305
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors6 = theme$1.colors) === null || _theme$colors6 === void 0 ? void 0 : _theme$colors6.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors7 = theme$1.colors) === null || _theme$colors7 === void 0 || (_theme$colors7 = _theme$colors7.gray) === null || _theme$colors7 === void 0 ? void 0 : _theme$colors7[500]) || theme.colors.gray[500];
2185
2306
  });
2186
- const Radio = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
2307
+ const Radio = /*#__PURE__*/React.forwardRef((_ref12, ref) => {
2187
2308
  let {
2188
2309
  className,
2189
2310
  label,
@@ -2192,15 +2313,14 @@ const Radio = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
2192
2313
  size = "md",
2193
2314
  fullWidth = false,
2194
2315
  id
2195
- } = _ref11,
2196
- props = _objectWithoutProperties(_ref11, _excluded$1);
2316
+ } = _ref12,
2317
+ props = _objectWithoutProperties(_ref12, _excluded$1);
2197
2318
  const radioId = id || "radio-".concat(Math.random().toString(36).substr(2, 9));
2198
2319
  return jsxRuntimeExports.jsxs(RadioContainer, {
2199
2320
  fullWidth: fullWidth,
2200
2321
  children: [jsxRuntimeExports.jsx(RadioWrapper, {
2201
2322
  children: jsxRuntimeExports.jsx(StyledRadio, _objectSpread2({
2202
2323
  type: "radio",
2203
- size: size,
2204
2324
  hasError: !!error,
2205
2325
  className: className,
2206
2326
  ref: ref,
@@ -2209,7 +2329,6 @@ const Radio = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
2209
2329
  }), jsxRuntimeExports.jsxs(LabelContainer, {
2210
2330
  children: [label && jsxRuntimeExports.jsx(RadioLabel, {
2211
2331
  htmlFor: radioId,
2212
- size: size,
2213
2332
  children: label
2214
2333
  }), (error || helperText) && jsxRuntimeExports.jsx(HelperText$1, {
2215
2334
  hasError: !!error,
@@ -2221,112 +2340,129 @@ const Radio = /*#__PURE__*/React.forwardRef((_ref11, ref) => {
2221
2340
  Radio.displayName = "Radio";
2222
2341
 
2223
2342
  const _excluded = ["className", "label", "error", "helperText", "size", "fullWidth", "options", "placeholder", "id"];
2224
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10;
2343
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
2225
2344
  const SelectContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n ", "\n"])), _ref => {
2226
2345
  let {
2227
2346
  fullWidth
2228
2347
  } = _ref;
2229
- return fullWidth && styled.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
2348
+ return fullWidth && "\n width: 100%;\n ";
2230
2349
  });
2231
- const SelectLabel = styled.label(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
2350
+ const SelectLabel = styled.label(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n"])), _ref2 => {
2351
+ var _theme$spacing;
2232
2352
  let {
2233
- theme
2353
+ theme: theme$1
2234
2354
  } = _ref2;
2235
- return theme.spacing[1];
2355
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing = theme$1.spacing) === null || _theme$spacing === void 0 ? void 0 : _theme$spacing[1]) || theme.spacing[1];
2236
2356
  }, _ref3 => {
2357
+ var _theme$fontSize;
2237
2358
  let {
2238
- theme
2359
+ theme: theme$1
2239
2360
  } = _ref3;
2240
- return theme.fontSize.sm;
2361
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize = theme$1.fontSize) === null || _theme$fontSize === void 0 ? void 0 : _theme$fontSize.sm) || theme.fontSize.sm;
2241
2362
  }, _ref4 => {
2363
+ var _theme$colors;
2242
2364
  let {
2243
- theme
2365
+ theme: theme$1
2244
2366
  } = _ref4;
2245
- return theme.colors.gray[700];
2367
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors = theme$1.colors) === null || _theme$colors === void 0 || (_theme$colors = _theme$colors.gray) === null || _theme$colors === void 0 ? void 0 : _theme$colors[700]) || theme.colors.gray[700];
2246
2368
  });
2247
- const SelectWrapper = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n"])));
2248
- const StyledSelect = styled.select(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n border-radius: ", ";\n transition: border-color ", ";\n outline: none;\n appearance: none;\n background-color: ", ";\n font-family: ", ";\n\n &:focus {\n border-color: ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ", ";\n }\n\n ", "\n\n ", "\n"])), _ref5 => {
2369
+ const SelectWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n"])));
2370
+ const StyledSelect = styled.select(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n border-radius: ", ";\n transition: border-color ", ";\n outline: none;\n appearance: none;\n background-color: ", ";\n font-family: ", ";\n padding: ", " ", ";\n font-size: ", ";\n\n &:focus {\n border-color: ", ";\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ", ";\n }\n\n ", "\n"])), _ref5 => {
2371
+ var _theme$colors2, _theme$colors3;
2249
2372
  let {
2250
- theme,
2373
+ theme: theme$1,
2251
2374
  hasError
2252
2375
  } = _ref5;
2253
- return hasError ? theme.colors.error : theme.colors.gray[300];
2376
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors2 = theme$1.colors) === null || _theme$colors2 === void 0 ? void 0 : _theme$colors2.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors3 = theme$1.colors) === null || _theme$colors3 === void 0 || (_theme$colors3 = _theme$colors3.gray) === null || _theme$colors3 === void 0 ? void 0 : _theme$colors3[300]) || theme.colors.gray[300];
2254
2377
  }, _ref6 => {
2378
+ var _theme$borderRadius;
2255
2379
  let {
2256
- theme
2380
+ theme: theme$1
2257
2381
  } = _ref6;
2258
- return theme.borderRadius.md;
2382
+ return (theme$1 === null || theme$1 === void 0 || (_theme$borderRadius = theme$1.borderRadius) === null || _theme$borderRadius === void 0 ? void 0 : _theme$borderRadius.md) || theme.borderRadius.md;
2259
2383
  }, _ref7 => {
2384
+ var _theme$transitions;
2260
2385
  let {
2261
- theme
2386
+ theme: theme$1
2262
2387
  } = _ref7;
2263
- return theme.transitions.base;
2388
+ return (theme$1 === null || theme$1 === void 0 || (_theme$transitions = theme$1.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.base) || theme.transitions.base;
2264
2389
  }, _ref8 => {
2390
+ var _theme$colors4;
2265
2391
  let {
2266
- theme
2392
+ theme: theme$1
2267
2393
  } = _ref8;
2268
- return theme.colors.white;
2394
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors4 = theme$1.colors) === null || _theme$colors4 === void 0 ? void 0 : _theme$colors4.white) || theme.colors.white;
2269
2395
  }, _ref9 => {
2396
+ var _theme$fontFamily;
2270
2397
  let {
2271
- theme
2398
+ theme: theme$1
2272
2399
  } = _ref9;
2273
- return theme.fontFamily.sans.join(", ");
2400
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontFamily = theme$1.fontFamily) === null || _theme$fontFamily === void 0 || (_theme$fontFamily = _theme$fontFamily.sans) === null || _theme$fontFamily === void 0 ? void 0 : _theme$fontFamily.join(", ")) || theme.fontFamily.sans.join(", ");
2274
2401
  }, _ref0 => {
2402
+ var _theme$spacing2;
2275
2403
  let {
2276
- theme,
2277
- hasError
2404
+ theme: theme$1
2278
2405
  } = _ref0;
2279
- return hasError ? theme.colors.error : theme.colors.primary;
2406
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing2 = theme$1.spacing) === null || _theme$spacing2 === void 0 ? void 0 : _theme$spacing2[2]) || theme.spacing[2];
2280
2407
  }, _ref1 => {
2408
+ var _theme$spacing3;
2281
2409
  let {
2282
- theme
2410
+ theme: theme$1
2283
2411
  } = _ref1;
2284
- return theme.colors.gray[50];
2412
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing3 = theme$1.spacing) === null || _theme$spacing3 === void 0 ? void 0 : _theme$spacing3[4]) || theme.spacing[4];
2285
2413
  }, _ref10 => {
2414
+ var _theme$fontSize2;
2286
2415
  let {
2287
- size,
2288
- theme
2416
+ theme: theme$1
2289
2417
  } = _ref10;
2290
- if (size === "sm") {
2291
- return styled.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[3], theme.fontSize.sm);
2292
- }
2293
- if (size === "md") {
2294
- return styled.css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[2], theme.spacing[4], theme.fontSize.sm);
2295
- }
2296
- if (size === "lg") {
2297
- return styled.css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n padding: ", " ", ";\n font-size: ", ";\n "])), theme.spacing[3], theme.spacing[4], theme.fontSize.base);
2298
- }
2299
- return styled.css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral([""])));
2418
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize2 = theme$1.fontSize) === null || _theme$fontSize2 === void 0 ? void 0 : _theme$fontSize2.sm) || theme.fontSize.sm;
2300
2419
  }, _ref11 => {
2420
+ var _theme$colors5, _theme$colors6;
2301
2421
  let {
2302
- fullWidth
2422
+ theme: theme$1,
2423
+ hasError
2303
2424
  } = _ref11;
2304
- return fullWidth && styled.css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
2305
- });
2306
- const SelectIcon = styled.div(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n padding-right: ", ";\n pointer-events: none;\n"])), _ref12 => {
2425
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors5 = theme$1.colors) === null || _theme$colors5 === void 0 ? void 0 : _theme$colors5.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors6 = theme$1.colors) === null || _theme$colors6 === void 0 ? void 0 : _theme$colors6.primary) || theme.colors.primary;
2426
+ }, _ref12 => {
2427
+ var _theme$colors7;
2307
2428
  let {
2308
- theme
2429
+ theme: theme$1
2309
2430
  } = _ref12;
2310
- return theme.spacing[3];
2311
- });
2312
- const HelperText = styled.p(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref13 => {
2431
+ return (theme$1 === null || theme$1 === void 0 || (_theme$colors7 = theme$1.colors) === null || _theme$colors7 === void 0 || (_theme$colors7 = _theme$colors7.gray) === null || _theme$colors7 === void 0 ? void 0 : _theme$colors7[50]) || theme.colors.gray[50];
2432
+ }, _ref13 => {
2313
2433
  let {
2314
- theme
2434
+ fullWidth
2315
2435
  } = _ref13;
2316
- return theme.spacing[1];
2317
- }, _ref14 => {
2436
+ return fullWidth && "\n width: 100%;\n ";
2437
+ });
2438
+ const SelectIcon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n padding-right: ", ";\n pointer-events: none;\n"])), _ref14 => {
2439
+ var _theme$spacing4;
2318
2440
  let {
2319
- theme
2441
+ theme: theme$1
2320
2442
  } = _ref14;
2321
- return theme.fontSize.xs;
2322
- }, _ref15 => {
2443
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing4 = theme$1.spacing) === null || _theme$spacing4 === void 0 ? void 0 : _theme$spacing4[3]) || theme.spacing[3];
2444
+ });
2445
+ const HelperText = styled.p(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: ", ";\n color: ", ";\n"])), _ref15 => {
2446
+ var _theme$spacing5;
2323
2447
  let {
2324
- theme,
2325
- hasError
2448
+ theme: theme$1
2326
2449
  } = _ref15;
2327
- return hasError ? theme.colors.error : theme.colors.gray[500];
2450
+ return (theme$1 === null || theme$1 === void 0 || (_theme$spacing5 = theme$1.spacing) === null || _theme$spacing5 === void 0 ? void 0 : _theme$spacing5[1]) || theme.spacing[1];
2451
+ }, _ref16 => {
2452
+ var _theme$fontSize3;
2453
+ let {
2454
+ theme: theme$1
2455
+ } = _ref16;
2456
+ return (theme$1 === null || theme$1 === void 0 || (_theme$fontSize3 = theme$1.fontSize) === null || _theme$fontSize3 === void 0 ? void 0 : _theme$fontSize3.xs) || theme.fontSize.xs;
2457
+ }, _ref17 => {
2458
+ var _theme$colors8, _theme$colors9;
2459
+ let {
2460
+ theme: theme$1,
2461
+ hasError
2462
+ } = _ref17;
2463
+ return hasError ? (theme$1 === null || theme$1 === void 0 || (_theme$colors8 = theme$1.colors) === null || _theme$colors8 === void 0 ? void 0 : _theme$colors8.error) || theme.colors.error : (theme$1 === null || theme$1 === void 0 || (_theme$colors9 = theme$1.colors) === null || _theme$colors9 === void 0 || (_theme$colors9 = _theme$colors9.gray) === null || _theme$colors9 === void 0 ? void 0 : _theme$colors9[500]) || theme.colors.gray[500];
2328
2464
  });
2329
- const Select = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
2465
+ const Select = /*#__PURE__*/React.forwardRef((_ref18, ref) => {
2330
2466
  let {
2331
2467
  className,
2332
2468
  label,
@@ -2337,8 +2473,8 @@ const Select = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
2337
2473
  options,
2338
2474
  placeholder,
2339
2475
  id
2340
- } = _ref16,
2341
- props = _objectWithoutProperties(_ref16, _excluded);
2476
+ } = _ref18,
2477
+ props = _objectWithoutProperties(_ref18, _excluded);
2342
2478
  const selectId = id || "select-".concat(Math.random().toString(36).substr(2, 9));
2343
2479
  return jsxRuntimeExports.jsxs(SelectContainer, {
2344
2480
  fullWidth: fullWidth,
@@ -2347,7 +2483,6 @@ const Select = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
2347
2483
  children: label
2348
2484
  }), jsxRuntimeExports.jsxs(SelectWrapper, {
2349
2485
  children: [jsxRuntimeExports.jsxs(StyledSelect, _objectSpread2(_objectSpread2({
2350
- size: size,
2351
2486
  fullWidth: fullWidth,
2352
2487
  hasError: !!error,
2353
2488
  className: className,
@@ -2389,96 +2524,11 @@ const Select = /*#__PURE__*/React.forwardRef((_ref16, ref) => {
2389
2524
  });
2390
2525
  Select.displayName = "Select";
2391
2526
 
2392
- const theme = {
2393
- colors: {
2394
- primary: "#007AC2",
2395
- error: "#ff1100",
2396
- dark: "#333333",
2397
- light: "#666666",
2398
- white: "#ffffff",
2399
- black: "#000000",
2400
- gray: {
2401
- 50: "#f9fafb",
2402
- 100: "#f3f4f6",
2403
- 200: "#e5e7eb",
2404
- 300: "#d1d5db",
2405
- 400: "#9ca3af",
2406
- 500: "#6b7280",
2407
- 600: "#4b5563",
2408
- 700: "#374151",
2409
- 800: "#1f2937",
2410
- 900: "#111827"
2411
- }
2412
- },
2413
- spacing: {
2414
- 0: "0",
2415
- 1: "0.25rem",
2416
- 2: "0.5rem",
2417
- 3: "0.75rem",
2418
- 4: "1rem",
2419
- 5: "1.25rem",
2420
- 6: "1.5rem",
2421
- 8: "2rem",
2422
- 10: "2.5rem",
2423
- 12: "3rem",
2424
- 16: "4rem",
2425
- 18: "4.5rem",
2426
- 20: "5rem",
2427
- 24: "6rem",
2428
- 32: "8rem",
2429
- 40: "10rem",
2430
- 48: "12rem",
2431
- 56: "14rem",
2432
- 64: "16rem",
2433
- 88: "22rem"
2434
- },
2435
- fontSize: {
2436
- xs: "0.75rem",
2437
- sm: "0.875rem",
2438
- base: "1rem",
2439
- lg: "1.125rem",
2440
- xl: "1.25rem",
2441
- "2xl": "1.5rem",
2442
- "3xl": "1.875rem",
2443
- "4xl": "2.25rem",
2444
- "5xl": "3rem",
2445
- "6xl": "3.75rem"
2446
- },
2447
- fontFamily: {
2448
- sans: ["Inter", "system-ui", "sans-serif"],
2449
- serif: ["Georgia", "Cambria", "Times New Roman", "Times", "serif"],
2450
- mono: ["Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"]
2451
- },
2452
- borderRadius: {
2453
- none: "0",
2454
- sm: "0.125rem",
2455
- base: "0.25rem",
2456
- md: "0.375rem",
2457
- lg: "0.5rem",
2458
- xl: "0.75rem",
2459
- "2xl": "1rem",
2460
- "3xl": "1.5rem",
2461
- full: "9999px"
2462
- },
2463
- shadows: {
2464
- sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
2465
- base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
2466
- md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
2467
- lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
2468
- xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
2469
- },
2470
- transitions: {
2471
- fast: "150ms ease-in-out",
2472
- base: "300ms ease-in-out",
2473
- slow: "500ms ease-in-out"
2474
- }
2475
- };
2476
-
2477
2527
  const ThemeProvider = _ref => {
2478
2528
  let {
2479
2529
  children
2480
2530
  } = _ref;
2481
- return jsxRuntimeExports.jsx(styled.ThemeProvider, {
2531
+ return jsxRuntimeExports.jsx(react.ThemeProvider, {
2482
2532
  theme: theme,
2483
2533
  children: children
2484
2534
  });