strapi-plugin-magic-mail 2.6.0 → 2.6.2
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/_chunks/{App-BTKgUbIs.js → App-BQRVLK7n.js} +345 -417
- package/dist/_chunks/{App-J8-8Wz0m.mjs → App-CtzU0GEJ.mjs} +345 -417
- package/dist/_chunks/{LicensePage-Bg72gy8w.js → LicensePage-B-EIY3Gv.js} +15 -15
- package/dist/_chunks/{LicensePage-ndUhjynY.mjs → LicensePage-C8ZmA1BC.mjs} +15 -15
- package/dist/_chunks/{PluginSettings-ywPWZVt0.mjs → PluginSettings-B4qJyLnA.mjs} +20 -20
- package/dist/_chunks/{PluginSettings-D2BUUHY1.js → PluginSettings-BwL8Vqwq.js} +20 -20
- package/dist/_chunks/{Settings-Cc-hhoLA.mjs → Settings-BMyRAG6n.mjs} +4 -4
- package/dist/_chunks/{Settings-CPPrGxLm.js → Settings-Bz6ogaIs.js} +4 -4
- package/dist/_chunks/{StyledButtons-nt2C730e.mjs → StyledButtons-B1mvI82D.mjs} +52 -52
- package/dist/_chunks/{StyledButtons-M7vUd2N4.js → StyledButtons-BthPdM8c.js} +52 -52
- package/dist/admin/index.js +4 -4
- package/dist/admin/index.mjs +4 -4
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@ const outline = require("@heroicons/react/24/outline");
|
|
|
8
8
|
const admin = require("@strapi/strapi/admin");
|
|
9
9
|
const styled = require("styled-components");
|
|
10
10
|
const icons = require("@strapi/icons");
|
|
11
|
-
const StyledButtons = require("./StyledButtons-
|
|
11
|
+
const StyledButtons = require("./StyledButtons-BthPdM8c.js");
|
|
12
12
|
const ReactEmailEditor = require("react-email-editor");
|
|
13
13
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
14
14
|
function _interopNamespace(e) {
|
|
@@ -61,36 +61,6 @@ const useAuthRefresh = () => {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
const theme$3 = {
|
|
64
|
-
colors: {
|
|
65
|
-
primary: {
|
|
66
|
-
50: "#F0F9FF",
|
|
67
|
-
100: "#E0F2FE",
|
|
68
|
-
200: "#BAE6FD",
|
|
69
|
-
500: "#0EA5E9",
|
|
70
|
-
600: "#0284C7",
|
|
71
|
-
700: "#0369A1"
|
|
72
|
-
},
|
|
73
|
-
secondary: {
|
|
74
|
-
50: "#FAF5FF",
|
|
75
|
-
100: "#F3E8FF",
|
|
76
|
-
500: "#A855F7",
|
|
77
|
-
600: "#9333EA"
|
|
78
|
-
},
|
|
79
|
-
success: {
|
|
80
|
-
50: "#F0FDF4",
|
|
81
|
-
100: "#DCFCE7",
|
|
82
|
-
500: "#22C55E",
|
|
83
|
-
600: "#16A34A",
|
|
84
|
-
700: "#15803D"
|
|
85
|
-
},
|
|
86
|
-
warning: {
|
|
87
|
-
100: "#FEF3C7",
|
|
88
|
-
600: "#D97706"
|
|
89
|
-
},
|
|
90
|
-
danger: {
|
|
91
|
-
600: "#DC2626"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
64
|
shadows: {
|
|
95
65
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
96
66
|
xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"
|
|
@@ -145,18 +115,18 @@ const slideIn = styled.keyframes`
|
|
|
145
115
|
const colors$1 = {
|
|
146
116
|
primary: "#4945ff",
|
|
147
117
|
// Strapi Primary Blue
|
|
148
|
-
primaryLight: "
|
|
118
|
+
primaryLight: "rgba(73, 69, 255, 0.06)",
|
|
149
119
|
// Light Blue Background
|
|
150
120
|
success: "#5cb176",
|
|
151
121
|
// Green for completed
|
|
152
|
-
successLight: "
|
|
122
|
+
successLight: "rgba(92, 177, 118, 0.12)",
|
|
153
123
|
// Gray
|
|
154
|
-
neutralLight: "
|
|
124
|
+
neutralLight: "rgba(142, 142, 169, 0.08)",
|
|
155
125
|
// Light gray
|
|
156
|
-
white: "#ffffff",
|
|
157
|
-
border: "
|
|
158
|
-
text: "#32324d",
|
|
159
|
-
textLight: "#666687"
|
|
126
|
+
white: "var(--colors-neutral0, #ffffff)",
|
|
127
|
+
border: "rgba(128, 128, 128, 0.2)",
|
|
128
|
+
text: "var(--colors-neutral800, #32324d)",
|
|
129
|
+
textLight: "var(--colors-neutral600, #666687)"
|
|
160
130
|
};
|
|
161
131
|
const StepHeader = styled__default.default(designSystem.Box)`
|
|
162
132
|
padding-bottom: 24px;
|
|
@@ -1137,10 +1107,10 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1137
1107
|
designSystem.Box,
|
|
1138
1108
|
{
|
|
1139
1109
|
padding: 4,
|
|
1140
|
-
background: formData.secure ? "
|
|
1110
|
+
background: formData.secure ? "rgba(34, 197, 94, 0.15)" : "rgba(245, 158, 11, 0.15)",
|
|
1141
1111
|
hasRadius: true,
|
|
1142
1112
|
style: {
|
|
1143
|
-
border: formData.secure ? "2px solid #22C55E" : "2px solid #F59E0B",
|
|
1113
|
+
border: formData.secure ? "2px solid var(--colors-success600, #22C55E)" : "2px solid var(--colors-warning600, #F59E0B)",
|
|
1144
1114
|
borderRadius: "8px",
|
|
1145
1115
|
transition: "all 0.2s ease"
|
|
1146
1116
|
},
|
|
@@ -1666,7 +1636,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1666
1636
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "default", title: "📖 SendGrid Resources", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", children: [
|
|
1667
1637
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Dashboard:" }),
|
|
1668
1638
|
" ",
|
|
1669
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://app.sendgrid.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "app.sendgrid.com" }),
|
|
1639
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://app.sendgrid.com", target: "_blank", rel: "noopener noreferrer", style: { color: "var(--colors-primary600, #0284c7)" }, children: "app.sendgrid.com" }),
|
|
1670
1640
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1671
1641
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "API Keys:" }),
|
|
1672
1642
|
" Settings → API Keys → Create API Key",
|
|
@@ -1676,7 +1646,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1676
1646
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1677
1647
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Docs:" }),
|
|
1678
1648
|
" ",
|
|
1679
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://docs.sendgrid.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "docs.sendgrid.com" })
|
|
1649
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://docs.sendgrid.com", target: "_blank", rel: "noopener noreferrer", style: { color: "var(--colors-primary600, #0284c7)" }, children: "docs.sendgrid.com" })
|
|
1680
1650
|
] }) })
|
|
1681
1651
|
] })
|
|
1682
1652
|
] }),
|
|
@@ -1715,7 +1685,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1715
1685
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "default", title: "📖 Mailgun Resources", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", children: [
|
|
1716
1686
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Dashboard:" }),
|
|
1717
1687
|
" ",
|
|
1718
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://app.mailgun.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "app.mailgun.com" }),
|
|
1688
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://app.mailgun.com", target: "_blank", rel: "noopener noreferrer", style: { color: "var(--colors-primary600, #0284c7)" }, children: "app.mailgun.com" }),
|
|
1719
1689
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1720
1690
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "API Keys:" }),
|
|
1721
1691
|
" Settings → API Security → Private API Key",
|
|
@@ -1725,7 +1695,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1725
1695
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1726
1696
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Docs:" }),
|
|
1727
1697
|
" ",
|
|
1728
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://documentation.mailgun.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "documentation.mailgun.com" })
|
|
1698
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://documentation.mailgun.com", target: "_blank", rel: "noopener noreferrer", style: { color: "var(--colors-primary600, #0284c7)" }, children: "documentation.mailgun.com" })
|
|
1729
1699
|
] }) })
|
|
1730
1700
|
] })
|
|
1731
1701
|
] })
|
|
@@ -1771,10 +1741,10 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1771
1741
|
designSystem.Box,
|
|
1772
1742
|
{
|
|
1773
1743
|
padding: 4,
|
|
1774
|
-
background: formData.isActive ? "
|
|
1744
|
+
background: formData.isActive ? "rgba(34, 197, 94, 0.15)" : "rgba(220, 38, 38, 0.12)",
|
|
1775
1745
|
hasRadius: true,
|
|
1776
1746
|
style: {
|
|
1777
|
-
border: formData.isActive ?
|
|
1747
|
+
border: formData.isActive ? "2px solid var(--colors-success600, #22C55E)" : "2px solid var(--colors-danger600, #EF4444)",
|
|
1778
1748
|
borderRadius: "8px",
|
|
1779
1749
|
transition: "all 0.2s ease"
|
|
1780
1750
|
},
|
|
@@ -1803,10 +1773,10 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1803
1773
|
designSystem.Box,
|
|
1804
1774
|
{
|
|
1805
1775
|
padding: 4,
|
|
1806
|
-
background: formData.isPrimary ? "
|
|
1776
|
+
background: formData.isPrimary ? "rgba(245, 158, 11, 0.15)" : "neutral100",
|
|
1807
1777
|
hasRadius: true,
|
|
1808
1778
|
style: {
|
|
1809
|
-
border: formData.isPrimary ?
|
|
1779
|
+
border: formData.isPrimary ? "2px solid var(--colors-warning600, #F59E0B)" : `1px solid ${colors$1.border}`,
|
|
1810
1780
|
borderRadius: "8px",
|
|
1811
1781
|
transition: "all 0.2s ease"
|
|
1812
1782
|
},
|
|
@@ -1903,8 +1873,8 @@ const Container$4 = styled__default.default(designSystem.Box)`
|
|
|
1903
1873
|
`;
|
|
1904
1874
|
const Header$4 = styled__default.default(designSystem.Box)`
|
|
1905
1875
|
background: linear-gradient(135deg,
|
|
1906
|
-
${
|
|
1907
|
-
|
|
1876
|
+
${"var(--colors-primary600, #0284C7)"} 0%,
|
|
1877
|
+
var(--colors-secondary600, #7C3AED) 100%
|
|
1908
1878
|
);
|
|
1909
1879
|
border-radius: ${theme$3.borderRadius.xl};
|
|
1910
1880
|
padding: ${theme$3.spacing.xl} ${theme$3.spacing["2xl"]};
|
|
@@ -2003,7 +1973,7 @@ const StatsGrid$3 = styled__default.default.div`
|
|
|
2003
1973
|
}
|
|
2004
1974
|
`;
|
|
2005
1975
|
const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
2006
|
-
background:
|
|
1976
|
+
background: var(--colors-neutral0, white);
|
|
2007
1977
|
border-radius: ${theme$3.borderRadius.lg};
|
|
2008
1978
|
padding: 28px ${theme$3.spacing.lg};
|
|
2009
1979
|
position: relative;
|
|
@@ -2012,7 +1982,7 @@ const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
|
2012
1982
|
${styled.css`animation: ${fadeIn$5} ${theme$3.transitions.slow} backwards;`}
|
|
2013
1983
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
2014
1984
|
box-shadow: ${theme$3.shadows.sm};
|
|
2015
|
-
border: 1px solid
|
|
1985
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2016
1986
|
min-width: 200px;
|
|
2017
1987
|
flex: 1;
|
|
2018
1988
|
text-align: center;
|
|
@@ -2033,7 +2003,7 @@ const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
|
2033
2003
|
&:hover {
|
|
2034
2004
|
transform: translateY(-6px);
|
|
2035
2005
|
box-shadow: ${theme$3.shadows.xl};
|
|
2036
|
-
border-color: ${(props) => props.$color ||
|
|
2006
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
2037
2007
|
|
|
2038
2008
|
.stat-icon {
|
|
2039
2009
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -2041,7 +2011,7 @@ const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
|
2041
2011
|
|
|
2042
2012
|
.stat-value {
|
|
2043
2013
|
transform: scale(1.08);
|
|
2044
|
-
color: ${(props) => props.$color ||
|
|
2014
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
2045
2015
|
}
|
|
2046
2016
|
}
|
|
2047
2017
|
`;
|
|
@@ -2052,7 +2022,7 @@ const StatIcon$3 = styled__default.default(designSystem.Box)`
|
|
|
2052
2022
|
display: flex;
|
|
2053
2023
|
align-items: center;
|
|
2054
2024
|
justify-content: center;
|
|
2055
|
-
background: ${(props) => props.$bg ||
|
|
2025
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
2056
2026
|
transition: all ${theme$3.transitions.normal};
|
|
2057
2027
|
margin: 0 auto 20px;
|
|
2058
2028
|
box-shadow: ${theme$3.shadows.sm};
|
|
@@ -2060,7 +2030,7 @@ const StatIcon$3 = styled__default.default(designSystem.Box)`
|
|
|
2060
2030
|
svg {
|
|
2061
2031
|
width: 34px;
|
|
2062
2032
|
height: 34px;
|
|
2063
|
-
color: ${(props) => props.$color ||
|
|
2033
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
2064
2034
|
}
|
|
2065
2035
|
|
|
2066
2036
|
@media screen and (max-width: ${breakpoints$3.mobile}) {
|
|
@@ -2077,7 +2047,7 @@ const StatIcon$3 = styled__default.default(designSystem.Box)`
|
|
|
2077
2047
|
const StatValue$3 = styled__default.default(designSystem.Typography)`
|
|
2078
2048
|
font-size: 2.75rem;
|
|
2079
2049
|
font-weight: 700;
|
|
2080
|
-
color:
|
|
2050
|
+
color: var(--colors-neutral800);
|
|
2081
2051
|
line-height: 1;
|
|
2082
2052
|
margin-bottom: 10px;
|
|
2083
2053
|
transition: all ${theme$3.transitions.normal};
|
|
@@ -2090,7 +2060,7 @@ const StatValue$3 = styled__default.default(designSystem.Typography)`
|
|
|
2090
2060
|
`;
|
|
2091
2061
|
const StatLabel$3 = styled__default.default(designSystem.Typography)`
|
|
2092
2062
|
font-size: 0.95rem;
|
|
2093
|
-
color:
|
|
2063
|
+
color: var(--colors-neutral600);
|
|
2094
2064
|
font-weight: 500;
|
|
2095
2065
|
letter-spacing: 0.025em;
|
|
2096
2066
|
text-align: center;
|
|
@@ -2103,9 +2073,9 @@ const AccountsContainer = styled__default.default(designSystem.Box)`
|
|
|
2103
2073
|
margin-top: ${theme$3.spacing.xl};
|
|
2104
2074
|
`;
|
|
2105
2075
|
const EmptyState$3 = styled__default.default(designSystem.Box)`
|
|
2106
|
-
background:
|
|
2076
|
+
background: var(--colors-neutral0, white);
|
|
2107
2077
|
border-radius: ${theme$3.borderRadius.xl};
|
|
2108
|
-
border: 2px dashed
|
|
2078
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
2109
2079
|
padding: 80px 32px;
|
|
2110
2080
|
text-align: center;
|
|
2111
2081
|
position: relative;
|
|
@@ -2123,7 +2093,7 @@ const EmptyState$3 = styled__default.default(designSystem.Box)`
|
|
|
2123
2093
|
left: 0;
|
|
2124
2094
|
right: 0;
|
|
2125
2095
|
bottom: 0;
|
|
2126
|
-
background: linear-gradient(135deg, ${
|
|
2096
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"} 0%, rgba(168, 85, 247, 0.06) 100%);
|
|
2127
2097
|
opacity: 0.3;
|
|
2128
2098
|
z-index: 0;
|
|
2129
2099
|
}
|
|
@@ -2132,19 +2102,19 @@ const OnlineBadge$1 = styled__default.default.div`
|
|
|
2132
2102
|
width: 12px;
|
|
2133
2103
|
height: 12px;
|
|
2134
2104
|
border-radius: 50%;
|
|
2135
|
-
background: ${(props) => props.$active ?
|
|
2105
|
+
background: ${(props) => props.$active ? "var(--colors-success600, #22C55E)" : "rgba(128, 128, 128, 0.4)"};
|
|
2136
2106
|
display: inline-block;
|
|
2137
2107
|
margin-right: 8px;
|
|
2138
2108
|
${styled.css`animation: ${(props) => props.$active ? pulse$2 : "none"} 2s ease-in-out infinite;`}
|
|
2139
2109
|
`;
|
|
2140
2110
|
const StyledTable$3 = styled__default.default(designSystem.Table)`
|
|
2141
2111
|
thead {
|
|
2142
|
-
background:
|
|
2143
|
-
border-bottom: 2px solid
|
|
2112
|
+
background: var(--colors-neutral100);
|
|
2113
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
2144
2114
|
|
|
2145
2115
|
th {
|
|
2146
2116
|
font-weight: 600;
|
|
2147
|
-
color:
|
|
2117
|
+
color: var(--colors-neutral800);
|
|
2148
2118
|
font-size: 0.875rem;
|
|
2149
2119
|
text-transform: uppercase;
|
|
2150
2120
|
letter-spacing: 0.025em;
|
|
@@ -2154,30 +2124,30 @@ const StyledTable$3 = styled__default.default(designSystem.Table)`
|
|
|
2154
2124
|
|
|
2155
2125
|
tbody tr {
|
|
2156
2126
|
transition: all ${theme$3.transitions.fast};
|
|
2157
|
-
border-bottom: 1px solid
|
|
2127
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
2158
2128
|
|
|
2159
2129
|
&:last-child {
|
|
2160
2130
|
border-bottom: none;
|
|
2161
2131
|
}
|
|
2162
2132
|
|
|
2163
2133
|
&:hover {
|
|
2164
|
-
background:
|
|
2134
|
+
background: rgba(2, 132, 199, 0.12);
|
|
2165
2135
|
}
|
|
2166
2136
|
|
|
2167
2137
|
td {
|
|
2168
2138
|
padding: ${theme$3.spacing.lg} ${theme$3.spacing.lg};
|
|
2169
|
-
color:
|
|
2139
|
+
color: var(--colors-neutral800);
|
|
2170
2140
|
vertical-align: middle;
|
|
2171
2141
|
}
|
|
2172
2142
|
}
|
|
2173
2143
|
`;
|
|
2174
2144
|
const FilterBar$3 = styled__default.default(designSystem.Flex)`
|
|
2175
|
-
background:
|
|
2145
|
+
background: var(--colors-neutral0, white);
|
|
2176
2146
|
padding: ${theme$3.spacing.md} ${theme$3.spacing.lg};
|
|
2177
2147
|
border-radius: ${theme$3.borderRadius.lg};
|
|
2178
2148
|
margin-bottom: ${theme$3.spacing.lg};
|
|
2179
2149
|
box-shadow: ${theme$3.shadows.sm};
|
|
2180
|
-
border: 1px solid
|
|
2150
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2181
2151
|
gap: ${theme$3.spacing.md};
|
|
2182
2152
|
align-items: center;
|
|
2183
2153
|
`;
|
|
@@ -2192,27 +2162,27 @@ const SearchIcon$2 = styled__default.default(outline.MagnifyingGlassIcon)`
|
|
|
2192
2162
|
left: 12px;
|
|
2193
2163
|
width: 16px;
|
|
2194
2164
|
height: 16px;
|
|
2195
|
-
color:
|
|
2165
|
+
color: var(--colors-neutral600);
|
|
2196
2166
|
pointer-events: none;
|
|
2197
2167
|
`;
|
|
2198
2168
|
const StyledSearchInput$2 = styled__default.default.input`
|
|
2199
2169
|
width: 100%;
|
|
2200
2170
|
padding: 10px 12px 10px 40px;
|
|
2201
|
-
border: 1px solid
|
|
2171
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2202
2172
|
border-radius: ${theme$3.borderRadius.md};
|
|
2203
2173
|
font-size: 0.875rem;
|
|
2204
2174
|
transition: all ${theme$3.transitions.fast};
|
|
2205
|
-
background:
|
|
2206
|
-
color:
|
|
2175
|
+
background: var(--colors-neutral0, white);
|
|
2176
|
+
color: var(--colors-neutral800);
|
|
2207
2177
|
|
|
2208
2178
|
&:focus {
|
|
2209
2179
|
outline: none;
|
|
2210
|
-
border-color: ${
|
|
2211
|
-
box-shadow: 0 0 0 2px ${
|
|
2180
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
2181
|
+
box-shadow: 0 0 0 2px ${"rgba(2, 132, 199, 0.12)"};
|
|
2212
2182
|
}
|
|
2213
2183
|
|
|
2214
2184
|
&::placeholder {
|
|
2215
|
-
color:
|
|
2185
|
+
color: var(--colors-neutral500);
|
|
2216
2186
|
}
|
|
2217
2187
|
`;
|
|
2218
2188
|
const StyledModalContent$1 = styled__default.default(designSystem.Modal.Content)`
|
|
@@ -2225,7 +2195,7 @@ const StyledModalContent$1 = styled__default.default(designSystem.Modal.Content)
|
|
|
2225
2195
|
`;
|
|
2226
2196
|
const StyledModalHeader$1 = styled__default.default(designSystem.Modal.Header)`
|
|
2227
2197
|
&& {
|
|
2228
|
-
background: linear-gradient(135deg, ${
|
|
2198
|
+
background: linear-gradient(135deg, ${"var(--colors-primary600, #0EA5E9)"} 0%, var(--colors-secondary600, #A855F7) 100%);
|
|
2229
2199
|
padding: 24px 28px;
|
|
2230
2200
|
border-bottom: none;
|
|
2231
2201
|
|
|
@@ -2257,7 +2227,7 @@ const StyledModalHeader$1 = styled__default.default(designSystem.Modal.Header)`
|
|
|
2257
2227
|
const StyledModalBody$1 = styled__default.default(designSystem.Modal.Body)`
|
|
2258
2228
|
&& {
|
|
2259
2229
|
padding: 24px 28px;
|
|
2260
|
-
background:
|
|
2230
|
+
background: var(--colors-neutral0, white);
|
|
2261
2231
|
width: 100%;
|
|
2262
2232
|
box-sizing: border-box;
|
|
2263
2233
|
}
|
|
@@ -2265,13 +2235,13 @@ const StyledModalBody$1 = styled__default.default(designSystem.Modal.Body)`
|
|
|
2265
2235
|
const StyledModalFooter$1 = styled__default.default(designSystem.Modal.Footer)`
|
|
2266
2236
|
&& {
|
|
2267
2237
|
padding: 20px 28px;
|
|
2268
|
-
border-top: 1px solid
|
|
2269
|
-
background:
|
|
2238
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
2239
|
+
background: var(--colors-neutral100);
|
|
2270
2240
|
}
|
|
2271
2241
|
`;
|
|
2272
2242
|
const AccountInfoCard = styled__default.default(designSystem.Box)`
|
|
2273
|
-
background: linear-gradient(135deg, ${
|
|
2274
|
-
border: 1px solid ${
|
|
2243
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"} 0%, rgba(168, 85, 247, 0.06) 100%);
|
|
2244
|
+
border: 1px solid ${"rgba(2, 132, 199, 0.2)"};
|
|
2275
2245
|
border-radius: 12px;
|
|
2276
2246
|
padding: 16px 20px;
|
|
2277
2247
|
text-align: center;
|
|
@@ -2284,66 +2254,66 @@ const AccountInfoCard = styled__default.default(designSystem.Box)`
|
|
|
2284
2254
|
`;
|
|
2285
2255
|
const TestOptionCard = styled__default.default(designSystem.Box)`
|
|
2286
2256
|
padding: 16px 20px;
|
|
2287
|
-
border: 2px solid ${(props) => props.$selected ?
|
|
2257
|
+
border: 2px solid ${(props) => props.$selected ? "var(--colors-primary600, #0EA5E9)" : "rgba(128, 128, 128, 0.2)"};
|
|
2288
2258
|
border-radius: 12px;
|
|
2289
2259
|
cursor: pointer;
|
|
2290
2260
|
transition: all ${theme$3.transitions.fast};
|
|
2291
|
-
background: ${(props) => props.$selected ?
|
|
2261
|
+
background: ${(props) => props.$selected ? "rgba(2, 132, 199, 0.06)" : "var(--colors-neutral0, white)"};
|
|
2292
2262
|
|
|
2293
2263
|
&:hover {
|
|
2294
|
-
border-color: ${
|
|
2295
|
-
background: ${
|
|
2264
|
+
border-color: ${"rgba(2, 132, 199, 0.4)"};
|
|
2265
|
+
background: ${"rgba(2, 132, 199, 0.06)"};
|
|
2296
2266
|
}
|
|
2297
2267
|
`;
|
|
2298
2268
|
const ModalFieldLabel = styled__default.default(designSystem.Typography)`
|
|
2299
2269
|
font-size: 13px;
|
|
2300
2270
|
font-weight: 600;
|
|
2301
|
-
color:
|
|
2271
|
+
color: var(--colors-neutral700);
|
|
2302
2272
|
margin-bottom: 8px;
|
|
2303
2273
|
display: block;
|
|
2304
2274
|
`;
|
|
2305
2275
|
const ModalHint$1 = styled__default.default(designSystem.Typography)`
|
|
2306
2276
|
font-size: 12px;
|
|
2307
|
-
color:
|
|
2277
|
+
color: var(--colors-neutral500);
|
|
2308
2278
|
margin-top: 6px;
|
|
2309
2279
|
`;
|
|
2310
2280
|
const StyledModalSelect = styled__default.default.select`
|
|
2311
2281
|
width: 100%;
|
|
2312
2282
|
padding: 12px 14px;
|
|
2313
|
-
border: 1px solid
|
|
2283
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2314
2284
|
border-radius: 8px;
|
|
2315
2285
|
font-size: 14px;
|
|
2316
|
-
background:
|
|
2317
|
-
color:
|
|
2286
|
+
background: var(--colors-neutral0, white);
|
|
2287
|
+
color: var(--colors-neutral800);
|
|
2318
2288
|
cursor: pointer;
|
|
2319
2289
|
transition: all ${theme$3.transitions.fast};
|
|
2320
2290
|
box-sizing: border-box;
|
|
2321
2291
|
|
|
2322
2292
|
&:focus {
|
|
2323
2293
|
outline: none;
|
|
2324
|
-
border-color: ${
|
|
2325
|
-
box-shadow: 0 0 0 3px ${
|
|
2294
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
2295
|
+
box-shadow: 0 0 0 3px ${"rgba(2, 132, 199, 0.12)"};
|
|
2326
2296
|
}
|
|
2327
2297
|
`;
|
|
2328
2298
|
const StyledModalInput = styled__default.default.input`
|
|
2329
2299
|
width: 100%;
|
|
2330
2300
|
padding: 12px 14px;
|
|
2331
|
-
border: 1px solid
|
|
2301
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2332
2302
|
border-radius: 8px;
|
|
2333
2303
|
font-size: 14px;
|
|
2334
|
-
background:
|
|
2335
|
-
color:
|
|
2304
|
+
background: var(--colors-neutral0, white);
|
|
2305
|
+
color: var(--colors-neutral800);
|
|
2336
2306
|
transition: all ${theme$3.transitions.fast};
|
|
2337
2307
|
box-sizing: border-box;
|
|
2338
2308
|
|
|
2339
2309
|
&:focus {
|
|
2340
2310
|
outline: none;
|
|
2341
|
-
border-color: ${
|
|
2342
|
-
box-shadow: 0 0 0 3px ${
|
|
2311
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
2312
|
+
box-shadow: 0 0 0 3px ${"rgba(2, 132, 199, 0.12)"};
|
|
2343
2313
|
}
|
|
2344
2314
|
|
|
2345
2315
|
&::placeholder {
|
|
2346
|
-
color:
|
|
2316
|
+
color: rgba(128, 128, 128, 0.4);
|
|
2347
2317
|
}
|
|
2348
2318
|
`;
|
|
2349
2319
|
const HomePage = () => {
|
|
@@ -2437,18 +2407,18 @@ const HomePage = () => {
|
|
|
2437
2407
|
/* @__PURE__ */ jsxRuntime.jsx(Subtitle$3, { children: "Multi-account email management with smart routing and OAuth support" })
|
|
2438
2408
|
] }) }) }),
|
|
2439
2409
|
/* @__PURE__ */ jsxRuntime.jsxs(StatsGrid$3, { children: [
|
|
2440
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.1s", $color:
|
|
2441
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg:
|
|
2410
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.1s", $color: "var(--colors-primary600, #0284C7)", children: [
|
|
2411
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg: "rgba(2, 132, 199, 0.12)", $color: "var(--colors-primary600, #0284C7)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeIcon, {}) }),
|
|
2442
2412
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$3, { className: "stat-value", children: totalSentToday }),
|
|
2443
2413
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$3, { children: "Emails Today" })
|
|
2444
2414
|
] }),
|
|
2445
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.2s", $color:
|
|
2446
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg:
|
|
2415
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.2s", $color: "var(--colors-success600, #16A34A)", children: [
|
|
2416
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg: "rgba(22, 163, 74, 0.12)", $color: "var(--colors-success600, #16A34A)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.ServerIcon, {}) }),
|
|
2447
2417
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$3, { className: "stat-value", children: totalSent }),
|
|
2448
2418
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$3, { children: "Total Sent" })
|
|
2449
2419
|
] }),
|
|
2450
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.3s", $color:
|
|
2451
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg:
|
|
2420
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.3s", $color: "var(--colors-warning600, #D97706)", children: [
|
|
2421
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg: "rgba(234, 179, 8, 0.12)", $color: "var(--colors-warning600, #D97706)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, {}) }),
|
|
2452
2422
|
/* @__PURE__ */ jsxRuntime.jsxs(StatValue$3, { className: "stat-value", children: [
|
|
2453
2423
|
activeAccounts,
|
|
2454
2424
|
" / ",
|
|
@@ -2467,13 +2437,13 @@ const HomePage = () => {
|
|
|
2467
2437
|
width: "120px",
|
|
2468
2438
|
height: "120px",
|
|
2469
2439
|
borderRadius: "50%",
|
|
2470
|
-
background: `linear-gradient(135deg, ${
|
|
2440
|
+
background: `linear-gradient(135deg, ${"rgba(2, 132, 199, 0.12)"} 0%, rgba(168, 85, 247, 0.12) 100%)`,
|
|
2471
2441
|
display: "flex",
|
|
2472
2442
|
alignItems: "center",
|
|
2473
2443
|
justifyContent: "center",
|
|
2474
2444
|
boxShadow: theme$3.shadows.xl
|
|
2475
2445
|
},
|
|
2476
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeIcon, { style: { width: "60px", height: "60px", color:
|
|
2446
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeIcon, { style: { width: "60px", height: "60px", color: "var(--colors-primary600, #0284C7)" } })
|
|
2477
2447
|
}
|
|
2478
2448
|
),
|
|
2479
2449
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2617,7 +2587,7 @@ const HomePage = () => {
|
|
|
2617
2587
|
style: {
|
|
2618
2588
|
width: `${Math.min(usagePercent, 100)}%`,
|
|
2619
2589
|
height: "100%",
|
|
2620
|
-
background: isNearLimit ?
|
|
2590
|
+
background: isNearLimit ? "var(--colors-danger600, #DC2626)" : "var(--colors-success600, #16A34A)",
|
|
2621
2591
|
borderRadius: "999px"
|
|
2622
2592
|
}
|
|
2623
2593
|
}
|
|
@@ -2754,7 +2724,7 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2754
2724
|
/* @__PURE__ */ jsxRuntime.jsx(StyledModalHeader$1, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Title, { children: "Test Email Account" }) }),
|
|
2755
2725
|
/* @__PURE__ */ jsxRuntime.jsxs(StyledModalBody$1, { children: [
|
|
2756
2726
|
/* @__PURE__ */ jsxRuntime.jsxs(AccountInfoCard, { children: [
|
|
2757
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color:
|
|
2727
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-primary600, #0284C7)", fontWeight: 500 }, children: "Testing Account" }),
|
|
2758
2728
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", textColor: "neutral800", style: { fontSize: "1.125rem", fontWeight: 700, marginTop: "4px" }, children: account.name }),
|
|
2759
2729
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginTop: "2px" }, children: account.fromEmail })
|
|
2760
2730
|
] }),
|
|
@@ -2782,9 +2752,9 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2782
2752
|
onClick: () => setTestMode("direct"),
|
|
2783
2753
|
style: { marginBottom: "10px" },
|
|
2784
2754
|
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
|
|
2785
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.PlayIcon, { style: { width: 20, height: 20, color: testMode === "direct" ?
|
|
2755
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.PlayIcon, { style: { width: 20, height: 20, color: testMode === "direct" ? "var(--colors-primary600, #0284C7)" : "var(--colors-neutral600)", flexShrink: 0 } }),
|
|
2786
2756
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
|
|
2787
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "semiBold", style: { fontSize: "14px", color: testMode === "direct" ?
|
|
2757
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "semiBold", style: { fontSize: "14px", color: testMode === "direct" ? "var(--colors-primary600, #075985)" : "var(--colors-neutral800)" }, children: "Direct Test" }),
|
|
2788
2758
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "12px" }, children: "Send directly through this account" })
|
|
2789
2759
|
] })
|
|
2790
2760
|
] })
|
|
@@ -2796,16 +2766,16 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2796
2766
|
$selected: testMode === "strapi",
|
|
2797
2767
|
onClick: () => setTestMode("strapi"),
|
|
2798
2768
|
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
|
|
2799
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 20, height: 20, color: testMode === "strapi" ?
|
|
2769
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 20, height: 20, color: testMode === "strapi" ? "var(--colors-primary600, #0284C7)" : "var(--colors-neutral600)", flexShrink: 0 } }),
|
|
2800
2770
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
|
|
2801
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "semiBold", style: { fontSize: "14px", color: testMode === "strapi" ?
|
|
2771
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "semiBold", style: { fontSize: "14px", color: testMode === "strapi" ? "var(--colors-primary600, #075985)" : "var(--colors-neutral800)" }, children: "Strapi Service Test" }),
|
|
2802
2772
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "12px" }, children: "Verify MagicMail intercepts Strapi's email service" })
|
|
2803
2773
|
] })
|
|
2804
2774
|
] })
|
|
2805
2775
|
}
|
|
2806
2776
|
)
|
|
2807
2777
|
] }),
|
|
2808
|
-
testMode === "direct" && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginTop: "20px", padding: "16px", background: "#F9FAFB", borderRadius: "12px" }, children: [
|
|
2778
|
+
testMode === "direct" && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginTop: "20px", padding: "16px", background: "var(--colors-neutral100, #F9FAFB)", borderRadius: "12px" }, children: [
|
|
2809
2779
|
/* @__PURE__ */ jsxRuntime.jsx(ModalFieldLabel, { style: { marginBottom: "16px", fontSize: "14px" }, children: "Advanced Options" }),
|
|
2810
2780
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginBottom: "12px" }, children: [
|
|
2811
2781
|
/* @__PURE__ */ jsxRuntime.jsx(ModalFieldLabel, { children: "Priority" }),
|
|
@@ -2874,36 +2844,6 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2874
2844
|
] }) });
|
|
2875
2845
|
};
|
|
2876
2846
|
const theme$2 = {
|
|
2877
|
-
colors: {
|
|
2878
|
-
primary: {
|
|
2879
|
-
50: "#F0F9FF",
|
|
2880
|
-
100: "#E0F2FE",
|
|
2881
|
-
500: "#0EA5E9",
|
|
2882
|
-
600: "#0284C7"
|
|
2883
|
-
},
|
|
2884
|
-
secondary: {
|
|
2885
|
-
50: "#F5F3FF",
|
|
2886
|
-
100: "#EDE9FE",
|
|
2887
|
-
600: "#9333EA"
|
|
2888
|
-
},
|
|
2889
|
-
success: {
|
|
2890
|
-
100: "#DCFCE7",
|
|
2891
|
-
500: "#22C55E",
|
|
2892
|
-
600: "#16A34A"
|
|
2893
|
-
},
|
|
2894
|
-
warning: {
|
|
2895
|
-
100: "#FEF3C7",
|
|
2896
|
-
600: "#D97706"
|
|
2897
|
-
},
|
|
2898
|
-
danger: {
|
|
2899
|
-
100: "#FEE2E2",
|
|
2900
|
-
600: "#DC2626"
|
|
2901
|
-
},
|
|
2902
|
-
neutral: {
|
|
2903
|
-
100: "#F3F4F6",
|
|
2904
|
-
200: "#E5E7EB"
|
|
2905
|
-
}
|
|
2906
|
-
},
|
|
2907
2847
|
shadows: {
|
|
2908
2848
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
2909
2849
|
xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"
|
|
@@ -2967,8 +2907,8 @@ const Container$3 = styled__default.default(designSystem.Box)`
|
|
|
2967
2907
|
`;
|
|
2968
2908
|
const Header$3 = styled__default.default(designSystem.Box)`
|
|
2969
2909
|
background: linear-gradient(135deg,
|
|
2970
|
-
|
|
2971
|
-
${
|
|
2910
|
+
var(--colors-secondary600, #7C3AED) 0%,
|
|
2911
|
+
${"var(--colors-primary600, #0284C7)"} 100%
|
|
2972
2912
|
);
|
|
2973
2913
|
border-radius: ${theme$2.borderRadius.xl};
|
|
2974
2914
|
padding: ${theme$2.spacing.xl} ${theme$2.spacing["2xl"]};
|
|
@@ -3067,7 +3007,7 @@ const StatsGrid$2 = styled__default.default.div`
|
|
|
3067
3007
|
}
|
|
3068
3008
|
`;
|
|
3069
3009
|
const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
3070
|
-
background:
|
|
3010
|
+
background: var(--colors-neutral0, white);
|
|
3071
3011
|
border-radius: ${theme$2.borderRadius.lg};
|
|
3072
3012
|
padding: 28px ${theme$2.spacing.lg};
|
|
3073
3013
|
position: relative;
|
|
@@ -3076,7 +3016,7 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
|
3076
3016
|
${styled.css`animation: ${fadeIn$4} ${theme$2.transitions.slow} backwards;`}
|
|
3077
3017
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
3078
3018
|
box-shadow: ${theme$2.shadows.sm};
|
|
3079
|
-
border: 1px solid
|
|
3019
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
3080
3020
|
min-width: 200px;
|
|
3081
3021
|
flex: 1;
|
|
3082
3022
|
text-align: center;
|
|
@@ -3097,7 +3037,7 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
|
3097
3037
|
&:hover {
|
|
3098
3038
|
transform: translateY(-6px);
|
|
3099
3039
|
box-shadow: ${theme$2.shadows.xl};
|
|
3100
|
-
border-color: ${(props) => props.$color ||
|
|
3040
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
3101
3041
|
|
|
3102
3042
|
.stat-icon {
|
|
3103
3043
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -3105,7 +3045,7 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
|
3105
3045
|
|
|
3106
3046
|
.stat-value {
|
|
3107
3047
|
transform: scale(1.08);
|
|
3108
|
-
color: ${(props) => props.$color ||
|
|
3048
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
3109
3049
|
}
|
|
3110
3050
|
}
|
|
3111
3051
|
`;
|
|
@@ -3116,7 +3056,7 @@ const StatIcon$2 = styled__default.default(designSystem.Box)`
|
|
|
3116
3056
|
display: flex;
|
|
3117
3057
|
align-items: center;
|
|
3118
3058
|
justify-content: center;
|
|
3119
|
-
background: ${(props) => props.$bg ||
|
|
3059
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
3120
3060
|
transition: all ${theme$2.transitions.normal};
|
|
3121
3061
|
margin: 0 auto 20px;
|
|
3122
3062
|
box-shadow: ${theme$2.shadows.sm};
|
|
@@ -3124,7 +3064,7 @@ const StatIcon$2 = styled__default.default(designSystem.Box)`
|
|
|
3124
3064
|
svg {
|
|
3125
3065
|
width: 34px;
|
|
3126
3066
|
height: 34px;
|
|
3127
|
-
color: ${(props) => props.$color ||
|
|
3067
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
3128
3068
|
}
|
|
3129
3069
|
|
|
3130
3070
|
@media screen and (max-width: ${breakpoints$2.mobile}) {
|
|
@@ -3141,7 +3081,7 @@ const StatIcon$2 = styled__default.default(designSystem.Box)`
|
|
|
3141
3081
|
const StatValue$2 = styled__default.default(designSystem.Typography)`
|
|
3142
3082
|
font-size: 2.75rem;
|
|
3143
3083
|
font-weight: 700;
|
|
3144
|
-
color:
|
|
3084
|
+
color: var(--colors-neutral800);
|
|
3145
3085
|
line-height: 1;
|
|
3146
3086
|
margin-bottom: 10px;
|
|
3147
3087
|
transition: all ${theme$2.transitions.normal};
|
|
@@ -3154,7 +3094,7 @@ const StatValue$2 = styled__default.default(designSystem.Typography)`
|
|
|
3154
3094
|
`;
|
|
3155
3095
|
const StatLabel$2 = styled__default.default(designSystem.Typography)`
|
|
3156
3096
|
font-size: 0.95rem;
|
|
3157
|
-
color:
|
|
3097
|
+
color: var(--colors-neutral600);
|
|
3158
3098
|
font-weight: 500;
|
|
3159
3099
|
letter-spacing: 0.025em;
|
|
3160
3100
|
text-align: center;
|
|
@@ -3167,9 +3107,9 @@ const RulesContainer = styled__default.default(designSystem.Box)`
|
|
|
3167
3107
|
margin-top: ${theme$2.spacing.xl};
|
|
3168
3108
|
`;
|
|
3169
3109
|
const EmptyState$2 = styled__default.default(designSystem.Box)`
|
|
3170
|
-
background:
|
|
3110
|
+
background: var(--colors-neutral0, white);
|
|
3171
3111
|
border-radius: ${theme$2.borderRadius.xl};
|
|
3172
|
-
border: 2px dashed
|
|
3112
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
3173
3113
|
padding: 80px 32px;
|
|
3174
3114
|
text-align: center;
|
|
3175
3115
|
position: relative;
|
|
@@ -3187,7 +3127,7 @@ const EmptyState$2 = styled__default.default(designSystem.Box)`
|
|
|
3187
3127
|
left: 0;
|
|
3188
3128
|
right: 0;
|
|
3189
3129
|
bottom: 0;
|
|
3190
|
-
background: linear-gradient(135deg,
|
|
3130
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, ${"rgba(2, 132, 199, 0.06)"} 100%);
|
|
3191
3131
|
opacity: 0.3;
|
|
3192
3132
|
z-index: 0;
|
|
3193
3133
|
}
|
|
@@ -3196,19 +3136,19 @@ const OnlineBadge = styled__default.default.div`
|
|
|
3196
3136
|
width: 12px;
|
|
3197
3137
|
height: 12px;
|
|
3198
3138
|
border-radius: 50%;
|
|
3199
|
-
background: ${(props) => props.$active ?
|
|
3139
|
+
background: ${(props) => props.$active ? "var(--colors-success600, #22C55E)" : "rgba(128, 128, 128, 0.4)"};
|
|
3200
3140
|
display: inline-block;
|
|
3201
3141
|
margin-right: 8px;
|
|
3202
3142
|
${styled.css`animation: ${(props) => props.$active ? pulse$1 : "none"} 2s ease-in-out infinite;`}
|
|
3203
3143
|
`;
|
|
3204
3144
|
const StyledTable$2 = styled__default.default(designSystem.Table)`
|
|
3205
3145
|
thead {
|
|
3206
|
-
background:
|
|
3207
|
-
border-bottom: 2px solid
|
|
3146
|
+
background: var(--colors-neutral100);
|
|
3147
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
3208
3148
|
|
|
3209
3149
|
th {
|
|
3210
3150
|
font-weight: 600;
|
|
3211
|
-
color:
|
|
3151
|
+
color: var(--colors-neutral800);
|
|
3212
3152
|
font-size: 0.875rem;
|
|
3213
3153
|
text-transform: uppercase;
|
|
3214
3154
|
letter-spacing: 0.025em;
|
|
@@ -3218,30 +3158,30 @@ const StyledTable$2 = styled__default.default(designSystem.Table)`
|
|
|
3218
3158
|
|
|
3219
3159
|
tbody tr {
|
|
3220
3160
|
transition: all ${theme$2.transitions.fast};
|
|
3221
|
-
border-bottom: 1px solid
|
|
3161
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
3222
3162
|
|
|
3223
3163
|
&:last-child {
|
|
3224
3164
|
border-bottom: none;
|
|
3225
3165
|
}
|
|
3226
3166
|
|
|
3227
3167
|
&:hover {
|
|
3228
|
-
background:
|
|
3168
|
+
background: rgba(2, 132, 199, 0.12);
|
|
3229
3169
|
}
|
|
3230
3170
|
|
|
3231
3171
|
td {
|
|
3232
3172
|
padding: ${theme$2.spacing.lg} ${theme$2.spacing.lg};
|
|
3233
|
-
color:
|
|
3173
|
+
color: var(--colors-neutral800);
|
|
3234
3174
|
vertical-align: middle;
|
|
3235
3175
|
}
|
|
3236
3176
|
}
|
|
3237
3177
|
`;
|
|
3238
3178
|
const FilterBar$2 = styled__default.default(designSystem.Flex)`
|
|
3239
|
-
background:
|
|
3179
|
+
background: var(--colors-neutral0, white);
|
|
3240
3180
|
padding: ${theme$2.spacing.md} ${theme$2.spacing.lg};
|
|
3241
3181
|
border-radius: ${theme$2.borderRadius.lg};
|
|
3242
3182
|
margin-bottom: ${theme$2.spacing.lg};
|
|
3243
3183
|
box-shadow: ${theme$2.shadows.sm};
|
|
3244
|
-
border: 1px solid
|
|
3184
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
3245
3185
|
gap: ${theme$2.spacing.md};
|
|
3246
3186
|
align-items: center;
|
|
3247
3187
|
`;
|
|
@@ -3256,25 +3196,25 @@ const SearchIcon$1 = styled__default.default(outline.MagnifyingGlassIcon)`
|
|
|
3256
3196
|
left: 12px;
|
|
3257
3197
|
width: 16px;
|
|
3258
3198
|
height: 16px;
|
|
3259
|
-
color:
|
|
3199
|
+
color: var(--colors-neutral600);
|
|
3260
3200
|
pointer-events: none;
|
|
3261
3201
|
`;
|
|
3262
3202
|
const StyledSearchInput$1 = styled__default.default.input`
|
|
3263
3203
|
width: 100%;
|
|
3264
3204
|
padding: 10px 12px 10px 40px;
|
|
3265
|
-
border: 1px solid
|
|
3205
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
3266
3206
|
border-radius: ${theme$2.borderRadius.md};
|
|
3267
3207
|
font-size: 0.875rem;
|
|
3268
3208
|
transition: all ${theme$2.transitions.fast};
|
|
3269
3209
|
|
|
3270
3210
|
&:focus {
|
|
3271
3211
|
outline: none;
|
|
3272
|
-
border-color: ${
|
|
3273
|
-
box-shadow: 0 0 0 2px ${
|
|
3212
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
3213
|
+
box-shadow: 0 0 0 2px ${"rgba(2, 132, 199, 0.12)"};
|
|
3274
3214
|
}
|
|
3275
3215
|
|
|
3276
3216
|
&::placeholder {
|
|
3277
|
-
color:
|
|
3217
|
+
color: var(--colors-neutral500);
|
|
3278
3218
|
}
|
|
3279
3219
|
`;
|
|
3280
3220
|
const RoutingRulesPage = () => {
|
|
@@ -3349,18 +3289,18 @@ const RoutingRulesPage = () => {
|
|
|
3349
3289
|
/* @__PURE__ */ jsxRuntime.jsx(Subtitle$2, { children: "Define intelligent routing rules to send emails through specific accounts based on conditions" })
|
|
3350
3290
|
] }) }) }),
|
|
3351
3291
|
/* @__PURE__ */ jsxRuntime.jsxs(StatsGrid$2, { children: [
|
|
3352
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.1s", $color:
|
|
3353
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg:
|
|
3292
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.1s", $color: "var(--colors-secondary600, #7C3AED)", children: [
|
|
3293
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg: "rgba(168, 85, 247, 0.12)", $color: "var(--colors-secondary600, #7C3AED)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.FunnelIcon, {}) }),
|
|
3354
3294
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$2, { className: "stat-value", children: totalRules }),
|
|
3355
3295
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$2, { children: "Total Rules" })
|
|
3356
3296
|
] }),
|
|
3357
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.2s", $color:
|
|
3358
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg:
|
|
3297
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.2s", $color: "var(--colors-success600, #16A34A)", children: [
|
|
3298
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg: "rgba(22, 163, 74, 0.12)", $color: "var(--colors-success600, #16A34A)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.CheckIcon, {}) }),
|
|
3359
3299
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$2, { className: "stat-value", children: activeRules }),
|
|
3360
3300
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$2, { children: "Active Rules" })
|
|
3361
3301
|
] }),
|
|
3362
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.3s", $color:
|
|
3363
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg:
|
|
3302
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.3s", $color: "var(--colors-warning600, #D97706)", children: [
|
|
3303
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg: "rgba(234, 179, 8, 0.12)", $color: "var(--colors-warning600, #D97706)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, {}) }),
|
|
3364
3304
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$2, { className: "stat-value", children: highPriorityRules }),
|
|
3365
3305
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$2, { children: "High Priority" })
|
|
3366
3306
|
] })
|
|
@@ -3375,13 +3315,13 @@ const RoutingRulesPage = () => {
|
|
|
3375
3315
|
width: "120px",
|
|
3376
3316
|
height: "120px",
|
|
3377
3317
|
borderRadius: "50%",
|
|
3378
|
-
background: `linear-gradient(135deg,
|
|
3318
|
+
background: `linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, ${"rgba(2, 132, 199, 0.12)"} 100%)`,
|
|
3379
3319
|
display: "flex",
|
|
3380
3320
|
alignItems: "center",
|
|
3381
3321
|
justifyContent: "center",
|
|
3382
3322
|
boxShadow: theme$2.shadows.xl
|
|
3383
3323
|
},
|
|
3384
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(outline.FunnelIcon, { style: { width: "60px", height: "60px", color:
|
|
3324
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(outline.FunnelIcon, { style: { width: "60px", height: "60px", color: "var(--colors-secondary600, #7C3AED)" } })
|
|
3385
3325
|
}
|
|
3386
3326
|
),
|
|
3387
3327
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3721,11 +3661,11 @@ const RuleModal = ({ rule, accounts, onClose, onSave }) => {
|
|
|
3721
3661
|
designSystem.Box,
|
|
3722
3662
|
{
|
|
3723
3663
|
padding: 4,
|
|
3724
|
-
background: formData.whatsappFallback ?
|
|
3664
|
+
background: formData.whatsappFallback ? "rgba(22, 163, 74, 0.12)" : "var(--colors-neutral100)",
|
|
3725
3665
|
hasRadius: true,
|
|
3726
3666
|
style: {
|
|
3727
3667
|
width: "100%",
|
|
3728
|
-
border: formData.whatsappFallback ? `2px solid ${
|
|
3668
|
+
border: formData.whatsappFallback ? `2px solid ${"var(--colors-success600, #16A34A)"}` : `1px solid ${"rgba(128, 128, 128, 0.2)"}`,
|
|
3729
3669
|
borderRadius: theme$2.borderRadius.md,
|
|
3730
3670
|
transition: "all 0.2s ease"
|
|
3731
3671
|
},
|
|
@@ -3765,11 +3705,11 @@ const RuleModal = ({ rule, accounts, onClose, onSave }) => {
|
|
|
3765
3705
|
designSystem.Box,
|
|
3766
3706
|
{
|
|
3767
3707
|
padding: 4,
|
|
3768
|
-
background: formData.isActive ?
|
|
3708
|
+
background: formData.isActive ? "rgba(22, 163, 74, 0.12)" : "rgba(220, 38, 38, 0.12)",
|
|
3769
3709
|
hasRadius: true,
|
|
3770
3710
|
style: {
|
|
3771
3711
|
width: "100%",
|
|
3772
|
-
border: formData.isActive ? `2px solid ${
|
|
3712
|
+
border: formData.isActive ? `2px solid ${"var(--colors-success600, #16A34A)"}` : `2px solid ${"var(--colors-danger600, #DC2626)"}`,
|
|
3773
3713
|
borderRadius: theme$2.borderRadius.md,
|
|
3774
3714
|
transition: "all 0.2s ease"
|
|
3775
3715
|
},
|
|
@@ -3934,12 +3874,6 @@ const useLicense = () => {
|
|
|
3934
3874
|
};
|
|
3935
3875
|
};
|
|
3936
3876
|
const theme$1 = {
|
|
3937
|
-
colors: {
|
|
3938
|
-
primary: { 50: "#F0F9FF", 100: "#E0F2FE", 500: "#0EA5E9", 600: "#0284C7", 700: "#0369A1" },
|
|
3939
|
-
secondary: { 50: "#F5F3FF", 100: "#EDE9FE", 500: "#A855F7", 600: "#9333EA" },
|
|
3940
|
-
success: { 100: "#DCFCE7", 500: "#22C55E", 600: "#16A34A" },
|
|
3941
|
-
warning: { 100: "#FEF3C7", 500: "#F59E0B", 600: "#D97706" }
|
|
3942
|
-
},
|
|
3943
3877
|
shadows: {
|
|
3944
3878
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
3945
3879
|
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
@@ -3974,7 +3908,7 @@ const ScrollableDialogBody = styled__default.default(designSystem.Box)`
|
|
|
3974
3908
|
overflow-y: auto;
|
|
3975
3909
|
max-height: calc(85vh - 160px);
|
|
3976
3910
|
padding: 24px 28px 28px 28px;
|
|
3977
|
-
background:
|
|
3911
|
+
background: var(--colors-neutral0, white);
|
|
3978
3912
|
|
|
3979
3913
|
/* Custom Scrollbar */
|
|
3980
3914
|
&::-webkit-scrollbar {
|
|
@@ -3986,12 +3920,12 @@ const ScrollableDialogBody = styled__default.default(designSystem.Box)`
|
|
|
3986
3920
|
}
|
|
3987
3921
|
|
|
3988
3922
|
&::-webkit-scrollbar-thumb {
|
|
3989
|
-
background:
|
|
3923
|
+
background: rgba(128, 128, 128, 0.2);
|
|
3990
3924
|
border-radius: 3px;
|
|
3991
3925
|
}
|
|
3992
3926
|
|
|
3993
3927
|
&::-webkit-scrollbar-thumb:hover {
|
|
3994
|
-
background:
|
|
3928
|
+
background: rgba(128, 128, 128, 0.3);
|
|
3995
3929
|
}
|
|
3996
3930
|
`;
|
|
3997
3931
|
styled__default.default(designSystem.Box)`
|
|
@@ -4009,13 +3943,13 @@ styled__default.default(designSystem.Flex)`
|
|
|
4009
3943
|
styled__default.default(designSystem.Typography)`
|
|
4010
3944
|
font-size: 15px;
|
|
4011
3945
|
font-weight: 600;
|
|
4012
|
-
color:
|
|
3946
|
+
color: var(--colors-neutral800);
|
|
4013
3947
|
display: flex;
|
|
4014
3948
|
align-items: center;
|
|
4015
3949
|
gap: 8px;
|
|
4016
3950
|
`;
|
|
4017
3951
|
const RecommendedBadge = styled__default.default(designSystem.Badge)`
|
|
4018
|
-
background: linear-gradient(135deg, ${
|
|
3952
|
+
background: linear-gradient(135deg, ${"var(--colors-success600, #22C55E)"}, ${"var(--colors-success600, #16A34A)"});
|
|
4019
3953
|
color: white;
|
|
4020
3954
|
padding: 4px 12px;
|
|
4021
3955
|
font-size: 11px;
|
|
@@ -4105,15 +4039,15 @@ const CopyButton = styled__default.default(designSystem.Button)`
|
|
|
4105
4039
|
}
|
|
4106
4040
|
`;
|
|
4107
4041
|
const InfoBox$1 = styled__default.default(designSystem.Box)`
|
|
4108
|
-
background: linear-gradient(135deg, ${
|
|
4109
|
-
border-left: 4px solid ${
|
|
4042
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"}, ${"rgba(2, 132, 199, 0.12)"});
|
|
4043
|
+
border-left: 4px solid ${"var(--colors-primary600, #0EA5E9)"};
|
|
4110
4044
|
border-radius: 8px;
|
|
4111
4045
|
padding: 16px;
|
|
4112
4046
|
margin-top: 24px;
|
|
4113
4047
|
`;
|
|
4114
4048
|
const WarningBox = styled__default.default(designSystem.Box)`
|
|
4115
|
-
background: linear-gradient(135deg, ${
|
|
4116
|
-
border-left: 4px solid ${
|
|
4049
|
+
background: linear-gradient(135deg, ${"rgba(234, 179, 8, 0.06)"}, ${"rgba(234, 179, 8, 0.12)"});
|
|
4050
|
+
border-left: 4px solid ${"var(--colors-warning600, #F59E0B)"};
|
|
4117
4051
|
border-radius: 8px;
|
|
4118
4052
|
padding: 12px 16px;
|
|
4119
4053
|
margin-top: 12px;
|
|
@@ -4122,8 +4056,8 @@ const WarningBox = styled__default.default(designSystem.Box)`
|
|
|
4122
4056
|
gap: 8px;
|
|
4123
4057
|
`;
|
|
4124
4058
|
const LimitWarning = styled__default.default(designSystem.Box)`
|
|
4125
|
-
background: linear-gradient(135deg, ${
|
|
4126
|
-
border: 1px solid
|
|
4059
|
+
background: linear-gradient(135deg, ${"rgba(234, 179, 8, 0.06)"}, rgba(251, 191, 36, 0.1));
|
|
4060
|
+
border: 1px solid rgba(234, 179, 8, 0.2);
|
|
4127
4061
|
border-radius: 12px;
|
|
4128
4062
|
padding: 16px;
|
|
4129
4063
|
margin-bottom: 24px;
|
|
@@ -4132,7 +4066,7 @@ const LimitWarning = styled__default.default(designSystem.Box)`
|
|
|
4132
4066
|
justify-content: space-between;
|
|
4133
4067
|
`;
|
|
4134
4068
|
const UpgradeButton = styled__default.default(designSystem.Button)`
|
|
4135
|
-
background: linear-gradient(135deg, ${
|
|
4069
|
+
background: linear-gradient(135deg, ${"var(--colors-warning600, #F59E0B)"}, ${"var(--colors-warning600, #D97706)"});
|
|
4136
4070
|
color: white;
|
|
4137
4071
|
font-weight: 600;
|
|
4138
4072
|
padding: 8px 16px;
|
|
@@ -4142,7 +4076,7 @@ const UpgradeButton = styled__default.default(designSystem.Button)`
|
|
|
4142
4076
|
gap: 6px;
|
|
4143
4077
|
|
|
4144
4078
|
&:hover {
|
|
4145
|
-
background: linear-gradient(135deg, ${
|
|
4079
|
+
background: linear-gradient(135deg, ${"var(--colors-warning600, #D97706)"}, ${"var(--colors-warning600, #A16207)"});
|
|
4146
4080
|
transform: translateY(-1px);
|
|
4147
4081
|
}
|
|
4148
4082
|
`;
|
|
@@ -4163,8 +4097,8 @@ const Container$2 = styled__default.default(designSystem.Box)`
|
|
|
4163
4097
|
`;
|
|
4164
4098
|
const Header$2 = styled__default.default(designSystem.Box)`
|
|
4165
4099
|
background: linear-gradient(135deg,
|
|
4166
|
-
|
|
4167
|
-
${
|
|
4100
|
+
var(--colors-secondary600, #7C3AED) 0%,
|
|
4101
|
+
${"var(--colors-primary600, #0284C7)"} 100%
|
|
4168
4102
|
);
|
|
4169
4103
|
border-radius: ${theme$1.borderRadius.xl};
|
|
4170
4104
|
padding: ${theme$1.spacing.xl} ${theme$1.spacing["2xl"]};
|
|
@@ -4258,7 +4192,7 @@ const StatsGrid$1 = styled__default.default.div`
|
|
|
4258
4192
|
}
|
|
4259
4193
|
`;
|
|
4260
4194
|
const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
4261
|
-
background:
|
|
4195
|
+
background: var(--colors-neutral0, white);
|
|
4262
4196
|
border-radius: ${theme$1.borderRadius.lg};
|
|
4263
4197
|
padding: 28px ${theme$1.spacing.lg};
|
|
4264
4198
|
position: relative;
|
|
@@ -4267,7 +4201,7 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
|
4267
4201
|
${styled.css`animation: ${fadeIn$3} ${theme$1.transitions.slow} backwards;`}
|
|
4268
4202
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
4269
4203
|
box-shadow: ${theme$1.shadows.sm};
|
|
4270
|
-
border: 1px solid
|
|
4204
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4271
4205
|
min-width: 200px;
|
|
4272
4206
|
flex: 1;
|
|
4273
4207
|
text-align: center;
|
|
@@ -4288,7 +4222,7 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
|
4288
4222
|
&:hover {
|
|
4289
4223
|
transform: translateY(-6px);
|
|
4290
4224
|
box-shadow: ${theme$1.shadows.xl};
|
|
4291
|
-
border-color: ${(props) => props.$color ||
|
|
4225
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
4292
4226
|
|
|
4293
4227
|
.stat-icon {
|
|
4294
4228
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -4296,7 +4230,7 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
|
4296
4230
|
|
|
4297
4231
|
.stat-value {
|
|
4298
4232
|
transform: scale(1.08);
|
|
4299
|
-
color: ${(props) => props.$color ||
|
|
4233
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
4300
4234
|
}
|
|
4301
4235
|
}
|
|
4302
4236
|
`;
|
|
@@ -4307,7 +4241,7 @@ const StatIcon$1 = styled__default.default(designSystem.Box)`
|
|
|
4307
4241
|
display: flex;
|
|
4308
4242
|
align-items: center;
|
|
4309
4243
|
justify-content: center;
|
|
4310
|
-
background: ${(props) => props.$bg ||
|
|
4244
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
4311
4245
|
transition: all ${theme$1.transitions.normal};
|
|
4312
4246
|
margin: 0 auto 20px;
|
|
4313
4247
|
box-shadow: ${theme$1.shadows.sm};
|
|
@@ -4315,7 +4249,7 @@ const StatIcon$1 = styled__default.default(designSystem.Box)`
|
|
|
4315
4249
|
svg {
|
|
4316
4250
|
width: 34px;
|
|
4317
4251
|
height: 34px;
|
|
4318
|
-
color: ${(props) => props.$color ||
|
|
4252
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
4319
4253
|
}
|
|
4320
4254
|
|
|
4321
4255
|
@media screen and (max-width: ${breakpoints$1.mobile}) {
|
|
@@ -4332,7 +4266,7 @@ const StatIcon$1 = styled__default.default(designSystem.Box)`
|
|
|
4332
4266
|
const StatValue$1 = styled__default.default(designSystem.Typography)`
|
|
4333
4267
|
font-size: 2.75rem;
|
|
4334
4268
|
font-weight: 700;
|
|
4335
|
-
color:
|
|
4269
|
+
color: var(--colors-neutral800);
|
|
4336
4270
|
line-height: 1;
|
|
4337
4271
|
margin-bottom: 10px;
|
|
4338
4272
|
transition: all ${theme$1.transitions.normal};
|
|
@@ -4345,7 +4279,7 @@ const StatValue$1 = styled__default.default(designSystem.Typography)`
|
|
|
4345
4279
|
`;
|
|
4346
4280
|
const StatLabel$1 = styled__default.default(designSystem.Typography)`
|
|
4347
4281
|
font-size: 0.95rem;
|
|
4348
|
-
color:
|
|
4282
|
+
color: var(--colors-neutral600);
|
|
4349
4283
|
font-weight: 500;
|
|
4350
4284
|
letter-spacing: 0.025em;
|
|
4351
4285
|
text-align: center;
|
|
@@ -4361,12 +4295,12 @@ const SectionHeader = styled__default.default(designSystem.Box)`
|
|
|
4361
4295
|
margin-bottom: ${theme$1.spacing.md};
|
|
4362
4296
|
`;
|
|
4363
4297
|
const FilterBar$1 = styled__default.default(designSystem.Flex)`
|
|
4364
|
-
background:
|
|
4298
|
+
background: var(--colors-neutral0, white);
|
|
4365
4299
|
padding: ${theme$1.spacing.md} ${theme$1.spacing.lg};
|
|
4366
4300
|
border-radius: ${theme$1.borderRadius.lg};
|
|
4367
4301
|
margin-bottom: ${theme$1.spacing.lg};
|
|
4368
4302
|
box-shadow: ${theme$1.shadows.sm};
|
|
4369
|
-
border: 1px solid
|
|
4303
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4370
4304
|
gap: ${theme$1.spacing.md};
|
|
4371
4305
|
align-items: center;
|
|
4372
4306
|
`;
|
|
@@ -4381,7 +4315,7 @@ const SearchIcon = styled__default.default(outline.MagnifyingGlassIcon)`
|
|
|
4381
4315
|
left: 12px;
|
|
4382
4316
|
width: 16px;
|
|
4383
4317
|
height: 16px;
|
|
4384
|
-
color:
|
|
4318
|
+
color: var(--colors-neutral600);
|
|
4385
4319
|
pointer-events: none;
|
|
4386
4320
|
z-index: 1;
|
|
4387
4321
|
`;
|
|
@@ -4392,24 +4326,24 @@ const StyledSearchInput = styled__default.default(designSystem.TextInput)`
|
|
|
4392
4326
|
const TableWrapper = styled__default.default(designSystem.Box)`
|
|
4393
4327
|
overflow-x: auto;
|
|
4394
4328
|
border-radius: ${theme$1.borderRadius.lg};
|
|
4395
|
-
border: 1px solid
|
|
4396
|
-
background:
|
|
4329
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4330
|
+
background: var(--colors-neutral0, white);
|
|
4397
4331
|
|
|
4398
4332
|
&::-webkit-scrollbar {
|
|
4399
4333
|
height: 8px;
|
|
4400
4334
|
}
|
|
4401
4335
|
|
|
4402
4336
|
&::-webkit-scrollbar-track {
|
|
4403
|
-
background:
|
|
4337
|
+
background: var(--colors-neutral100);
|
|
4404
4338
|
border-radius: 4px;
|
|
4405
4339
|
}
|
|
4406
4340
|
|
|
4407
4341
|
&::-webkit-scrollbar-thumb {
|
|
4408
|
-
background:
|
|
4342
|
+
background: rgba(128, 128, 128, 0.3);
|
|
4409
4343
|
border-radius: 4px;
|
|
4410
4344
|
|
|
4411
4345
|
&:hover {
|
|
4412
|
-
background:
|
|
4346
|
+
background: rgba(128, 128, 128, 0.4);
|
|
4413
4347
|
}
|
|
4414
4348
|
}
|
|
4415
4349
|
`;
|
|
@@ -4418,12 +4352,12 @@ const StyledTable$1 = styled__default.default(designSystem.Table)`
|
|
|
4418
4352
|
min-width: 900px;
|
|
4419
4353
|
|
|
4420
4354
|
thead {
|
|
4421
|
-
background:
|
|
4422
|
-
border-bottom: 2px solid
|
|
4355
|
+
background: var(--colors-neutral100);
|
|
4356
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
4423
4357
|
|
|
4424
4358
|
th {
|
|
4425
4359
|
font-weight: 600;
|
|
4426
|
-
color:
|
|
4360
|
+
color: var(--colors-neutral800);
|
|
4427
4361
|
font-size: 0.75rem;
|
|
4428
4362
|
text-transform: uppercase;
|
|
4429
4363
|
letter-spacing: 0.025em;
|
|
@@ -4434,19 +4368,19 @@ const StyledTable$1 = styled__default.default(designSystem.Table)`
|
|
|
4434
4368
|
|
|
4435
4369
|
tbody tr {
|
|
4436
4370
|
transition: all ${theme$1.transitions.fast};
|
|
4437
|
-
border-bottom: 1px solid
|
|
4371
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
4438
4372
|
|
|
4439
4373
|
&:last-child {
|
|
4440
4374
|
border-bottom: none;
|
|
4441
4375
|
}
|
|
4442
4376
|
|
|
4443
4377
|
&:hover {
|
|
4444
|
-
background:
|
|
4378
|
+
background: rgba(2, 132, 199, 0.12);
|
|
4445
4379
|
}
|
|
4446
4380
|
|
|
4447
4381
|
td {
|
|
4448
4382
|
padding: 10px 12px;
|
|
4449
|
-
color:
|
|
4383
|
+
color: var(--colors-neutral800);
|
|
4450
4384
|
vertical-align: middle;
|
|
4451
4385
|
font-size: 13px;
|
|
4452
4386
|
}
|
|
@@ -4454,14 +4388,14 @@ const StyledTable$1 = styled__default.default(designSystem.Table)`
|
|
|
4454
4388
|
`;
|
|
4455
4389
|
const PaginationWrapper = styled__default.default(designSystem.Flex)`
|
|
4456
4390
|
padding: 16px 20px;
|
|
4457
|
-
background:
|
|
4458
|
-
border-top: 1px solid
|
|
4391
|
+
background: var(--colors-neutral100);
|
|
4392
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
4459
4393
|
border-radius: 0 0 ${theme$1.borderRadius.lg} ${theme$1.borderRadius.lg};
|
|
4460
4394
|
`;
|
|
4461
4395
|
const PaginationButton = styled__default.default.button`
|
|
4462
|
-
background: ${(props) => props.active ? "linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%)" : "white"};
|
|
4463
|
-
color: ${(props) => props.active ? "white" :
|
|
4464
|
-
border: 1px solid ${(props) => props.active ? "transparent" :
|
|
4396
|
+
background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%)" : "var(--colors-neutral0, white)"};
|
|
4397
|
+
color: ${(props) => props.active ? "white" : "var(--colors-neutral700)"};
|
|
4398
|
+
border: 1px solid ${(props) => props.active ? "transparent" : "rgba(128, 128, 128, 0.3)"};
|
|
4465
4399
|
padding: 6px 12px;
|
|
4466
4400
|
min-width: 36px;
|
|
4467
4401
|
height: 36px;
|
|
@@ -4472,8 +4406,8 @@ const PaginationButton = styled__default.default.button`
|
|
|
4472
4406
|
transition: all 0.2s ease;
|
|
4473
4407
|
|
|
4474
4408
|
&:hover:not(:disabled) {
|
|
4475
|
-
background: ${(props) => props.active ? "linear-gradient(135deg, #0284C7 0%, #9333EA 100%)" :
|
|
4476
|
-
border-color: ${(props) => props.active ? "transparent" :
|
|
4409
|
+
background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary700, #0284C7) 0%, var(--colors-secondary600, #9333EA) 100%)" : "var(--colors-neutral100)"};
|
|
4410
|
+
border-color: ${(props) => props.active ? "transparent" : "rgba(128, 128, 128, 0.4)"};
|
|
4477
4411
|
}
|
|
4478
4412
|
|
|
4479
4413
|
&:disabled {
|
|
@@ -4482,9 +4416,9 @@ const PaginationButton = styled__default.default.button`
|
|
|
4482
4416
|
}
|
|
4483
4417
|
`;
|
|
4484
4418
|
const EmptyState$1 = styled__default.default(designSystem.Box)`
|
|
4485
|
-
background:
|
|
4419
|
+
background: var(--colors-neutral0, white);
|
|
4486
4420
|
border-radius: ${theme$1.borderRadius.xl};
|
|
4487
|
-
border: 2px dashed
|
|
4421
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
4488
4422
|
padding: 80px 32px;
|
|
4489
4423
|
text-align: center;
|
|
4490
4424
|
position: relative;
|
|
@@ -4502,7 +4436,7 @@ const EmptyState$1 = styled__default.default(designSystem.Box)`
|
|
|
4502
4436
|
left: 0;
|
|
4503
4437
|
right: 0;
|
|
4504
4438
|
bottom: 0;
|
|
4505
|
-
background: linear-gradient(135deg,
|
|
4439
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, ${"rgba(2, 132, 199, 0.06)"} 100%);
|
|
4506
4440
|
opacity: 0.3;
|
|
4507
4441
|
z-index: 0;
|
|
4508
4442
|
}
|
|
@@ -4518,7 +4452,7 @@ const EmptyIcon$1 = styled__default.default.div`
|
|
|
4518
4452
|
height: 120px;
|
|
4519
4453
|
margin: 0 auto ${theme$1.spacing.lg};
|
|
4520
4454
|
border-radius: 50%;
|
|
4521
|
-
background: linear-gradient(135deg,
|
|
4455
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, ${"rgba(2, 132, 199, 0.12)"} 100%);
|
|
4522
4456
|
display: flex;
|
|
4523
4457
|
align-items: center;
|
|
4524
4458
|
justify-content: center;
|
|
@@ -4527,7 +4461,7 @@ const EmptyIcon$1 = styled__default.default.div`
|
|
|
4527
4461
|
svg {
|
|
4528
4462
|
width: 60px;
|
|
4529
4463
|
height: 60px;
|
|
4530
|
-
color: ${
|
|
4464
|
+
color: ${"var(--colors-primary600, #0284C7)"};
|
|
4531
4465
|
}
|
|
4532
4466
|
`;
|
|
4533
4467
|
const EmptyFeatureList = styled__default.default.div`
|
|
@@ -4547,7 +4481,7 @@ const EmptyFeatureItem = styled__default.default.div`
|
|
|
4547
4481
|
text-align: center;
|
|
4548
4482
|
gap: ${theme$1.spacing.sm};
|
|
4549
4483
|
padding: ${theme$1.spacing.lg};
|
|
4550
|
-
background:
|
|
4484
|
+
background: var(--colors-neutral0, white);
|
|
4551
4485
|
border-radius: ${theme$1.borderRadius.md};
|
|
4552
4486
|
box-shadow: ${theme$1.shadows.sm};
|
|
4553
4487
|
transition: ${theme$1.transitions.fast};
|
|
@@ -4560,7 +4494,7 @@ const EmptyFeatureItem = styled__default.default.div`
|
|
|
4560
4494
|
svg {
|
|
4561
4495
|
width: 28px;
|
|
4562
4496
|
height: 28px;
|
|
4563
|
-
color: ${
|
|
4497
|
+
color: ${"var(--colors-success600, #22C55E)"};
|
|
4564
4498
|
flex-shrink: 0;
|
|
4565
4499
|
margin-bottom: ${theme$1.spacing.xs};
|
|
4566
4500
|
}
|
|
@@ -4585,7 +4519,7 @@ const StyledModalContent = styled__default.default(designSystem.Modal.Content)`
|
|
|
4585
4519
|
`;
|
|
4586
4520
|
const StyledModalHeader = styled__default.default(designSystem.Modal.Header)`
|
|
4587
4521
|
&& {
|
|
4588
|
-
background: linear-gradient(135deg, ${
|
|
4522
|
+
background: linear-gradient(135deg, ${"var(--colors-primary600, #0EA5E9)"} 0%, var(--colors-secondary600, #A855F7) 100%);
|
|
4589
4523
|
padding: 24px 28px;
|
|
4590
4524
|
border-bottom: none;
|
|
4591
4525
|
|
|
@@ -4621,7 +4555,7 @@ const StyledModalHeader = styled__default.default(designSystem.Modal.Header)`
|
|
|
4621
4555
|
const StyledModalBody = styled__default.default(designSystem.Modal.Body)`
|
|
4622
4556
|
&& {
|
|
4623
4557
|
padding: 28px;
|
|
4624
|
-
background:
|
|
4558
|
+
background: var(--colors-neutral0, white);
|
|
4625
4559
|
}
|
|
4626
4560
|
`;
|
|
4627
4561
|
const ModalField = styled__default.default(designSystem.Box)`
|
|
@@ -4635,7 +4569,7 @@ const ModalLabel = styled__default.default(designSystem.Typography)`
|
|
|
4635
4569
|
&& {
|
|
4636
4570
|
font-weight: 600;
|
|
4637
4571
|
font-size: 13px;
|
|
4638
|
-
color:
|
|
4572
|
+
color: var(--colors-neutral700);
|
|
4639
4573
|
margin-bottom: 8px;
|
|
4640
4574
|
display: block;
|
|
4641
4575
|
}
|
|
@@ -4643,49 +4577,49 @@ const ModalLabel = styled__default.default(designSystem.Typography)`
|
|
|
4643
4577
|
const ModalHint = styled__default.default(designSystem.Typography)`
|
|
4644
4578
|
&& {
|
|
4645
4579
|
font-size: 12px;
|
|
4646
|
-
color:
|
|
4580
|
+
color: var(--colors-neutral600);
|
|
4647
4581
|
margin-top: 6px;
|
|
4648
4582
|
display: block;
|
|
4649
4583
|
}
|
|
4650
4584
|
`;
|
|
4651
4585
|
const ModalTemplateInfo = styled__default.default(designSystem.Box)`
|
|
4652
|
-
background: linear-gradient(135deg, ${
|
|
4653
|
-
border: 1px solid ${
|
|
4586
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"} 0%, rgba(168, 85, 247, 0.06) 100%);
|
|
4587
|
+
border: 1px solid ${"rgba(2, 132, 199, 0.12)"};
|
|
4654
4588
|
border-radius: 10px;
|
|
4655
4589
|
padding: 14px 16px;
|
|
4656
4590
|
|
|
4657
4591
|
p {
|
|
4658
4592
|
margin: 0;
|
|
4659
4593
|
font-weight: 500;
|
|
4660
|
-
color:
|
|
4594
|
+
color: var(--colors-neutral800);
|
|
4661
4595
|
}
|
|
4662
4596
|
`;
|
|
4663
4597
|
const StyledSelect = styled__default.default.select`
|
|
4664
4598
|
width: 100%;
|
|
4665
4599
|
padding: 10px 14px;
|
|
4666
4600
|
border-radius: 8px;
|
|
4667
|
-
border: 1px solid
|
|
4601
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4668
4602
|
font-size: 14px;
|
|
4669
|
-
background:
|
|
4603
|
+
background: var(--colors-neutral0, white);
|
|
4670
4604
|
cursor: pointer;
|
|
4671
4605
|
transition: all ${theme$1.transitions.fast};
|
|
4672
|
-
color:
|
|
4606
|
+
color: var(--colors-neutral700);
|
|
4673
4607
|
|
|
4674
4608
|
&:hover {
|
|
4675
|
-
border-color: ${
|
|
4609
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
4676
4610
|
}
|
|
4677
4611
|
|
|
4678
4612
|
&:focus {
|
|
4679
4613
|
outline: none;
|
|
4680
|
-
border-color: ${
|
|
4681
|
-
box-shadow: 0 0 0 3px ${
|
|
4614
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
4615
|
+
box-shadow: 0 0 0 3px ${"rgba(2, 132, 199, 0.12)"};
|
|
4682
4616
|
}
|
|
4683
4617
|
`;
|
|
4684
4618
|
const StyledModalFooter = styled__default.default(designSystem.Modal.Footer)`
|
|
4685
4619
|
&& {
|
|
4686
4620
|
padding: 20px 28px;
|
|
4687
|
-
background:
|
|
4688
|
-
border-top: 1px solid
|
|
4621
|
+
background: var(--colors-neutral100);
|
|
4622
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
4689
4623
|
gap: 12px;
|
|
4690
4624
|
}
|
|
4691
4625
|
`;
|
|
@@ -4899,8 +4833,8 @@ const TemplateList = () => {
|
|
|
4899
4833
|
});
|
|
4900
4834
|
fetchTemplates();
|
|
4901
4835
|
fetchStats();
|
|
4902
|
-
if (duplicated?.
|
|
4903
|
-
navigate(`/plugins/magic-mail/designer/${duplicated.
|
|
4836
|
+
if (duplicated?.templateReferenceId) {
|
|
4837
|
+
navigate(`/plugins/magic-mail/designer/${duplicated.templateReferenceId}`);
|
|
4904
4838
|
}
|
|
4905
4839
|
} catch (error) {
|
|
4906
4840
|
toggleNotification({
|
|
@@ -5032,18 +4966,18 @@ const TemplateList = () => {
|
|
|
5032
4966
|
] }) })
|
|
5033
4967
|
] }) }) }),
|
|
5034
4968
|
/* @__PURE__ */ jsxRuntime.jsxs(StatsGrid$1, { children: [
|
|
5035
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.1s", $color:
|
|
5036
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$1, { className: "stat-icon", $bg:
|
|
4969
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.1s", $color: "var(--colors-primary600, #0EA5E9)", children: [
|
|
4970
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$1, { className: "stat-icon", $bg: "rgba(2, 132, 199, 0.12)", $color: "var(--colors-primary600, #0284C7)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.DocumentTextIcon, {}) }),
|
|
5037
4971
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$1, { className: "stat-value", variant: "alpha", children: showSkeleton ? "..." : stats?.total || 0 }),
|
|
5038
4972
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$1, { variant: "pi", children: "Total Templates" })
|
|
5039
4973
|
] }),
|
|
5040
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.2s", $color:
|
|
5041
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$1, { className: "stat-icon", $bg:
|
|
4974
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.2s", $color: "var(--colors-success600, #22C55E)", children: [
|
|
4975
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$1, { className: "stat-icon", $bg: "rgba(22, 163, 74, 0.12)", $color: "var(--colors-success600, #16A34A)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.ChartBarIcon, {}) }),
|
|
5042
4976
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$1, { className: "stat-value", variant: "alpha", children: showSkeleton ? "..." : stats?.active || 0 }),
|
|
5043
4977
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$1, { variant: "pi", children: "Active" })
|
|
5044
4978
|
] }),
|
|
5045
|
-
limits?.emailTemplates && !limits.emailTemplates.unlimited && /* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.3s", $color:
|
|
5046
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$1, { className: "stat-icon", $bg:
|
|
4979
|
+
limits?.emailTemplates && !limits.emailTemplates.unlimited && /* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.3s", $color: "var(--colors-warning600, #F59E0B)", children: [
|
|
4980
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$1, { className: "stat-icon", $bg: "rgba(234, 179, 8, 0.12)", $color: "var(--colors-warning600, #D97706)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, {}) }),
|
|
5047
4981
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$1, { className: "stat-value", variant: "alpha", children: showSkeleton ? "..." : limits.emailTemplates.max - limits.emailTemplates.current }),
|
|
5048
4982
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$1, { variant: "pi", children: "Remaining" })
|
|
5049
4983
|
] })
|
|
@@ -5051,7 +4985,7 @@ const TemplateList = () => {
|
|
|
5051
4985
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { margin: "0 -32px 32px -32px" }, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Divider, {}) }),
|
|
5052
4986
|
limits?.emailTemplates && !limits.emailTemplates.unlimited && limits.emailTemplates.current >= limits.emailTemplates.max * 0.8 && /* @__PURE__ */ jsxRuntime.jsxs(LimitWarning, { children: [
|
|
5053
4987
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
|
|
5054
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 24, height: 24, color:
|
|
4988
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 24, height: 24, color: "var(--colors-warning600, #D97706)" } }),
|
|
5055
4989
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
5056
4990
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", textColor: "neutral800", children: limits.emailTemplates.current >= limits.emailTemplates.max ? `You've reached your ${getTierInfo().name} limit!` : `You're approaching your ${getTierInfo().name} limit!` }),
|
|
5057
4991
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginTop: "4px" }, children: [
|
|
@@ -5211,7 +5145,7 @@ const TemplateList = () => {
|
|
|
5211
5145
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5212
5146
|
StyledButtons.IconButtonPrimary,
|
|
5213
5147
|
{
|
|
5214
|
-
onClick: () => navigate(`/plugins/magic-mail/designer/${template.
|
|
5148
|
+
onClick: () => navigate(`/plugins/magic-mail/designer/${template.templateReferenceId}`),
|
|
5215
5149
|
"aria-label": "Edit Template",
|
|
5216
5150
|
title: "Edit Template",
|
|
5217
5151
|
children: /* @__PURE__ */ jsxRuntime.jsx(outline.PencilIcon, {})
|
|
@@ -5220,7 +5154,7 @@ const TemplateList = () => {
|
|
|
5220
5154
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5221
5155
|
StyledButtons.IconButton,
|
|
5222
5156
|
{
|
|
5223
|
-
onClick: () => handleDownload(template.
|
|
5157
|
+
onClick: () => handleDownload(template.templateReferenceId, "html"),
|
|
5224
5158
|
"aria-label": "Download HTML",
|
|
5225
5159
|
title: "Download as HTML",
|
|
5226
5160
|
children: /* @__PURE__ */ jsxRuntime.jsx(outline.DocumentArrowDownIcon, {})
|
|
@@ -5229,7 +5163,7 @@ const TemplateList = () => {
|
|
|
5229
5163
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5230
5164
|
StyledButtons.IconButton,
|
|
5231
5165
|
{
|
|
5232
|
-
onClick: () => handleDownload(template.
|
|
5166
|
+
onClick: () => handleDownload(template.templateReferenceId, "json"),
|
|
5233
5167
|
"aria-label": "Download JSON",
|
|
5234
5168
|
title: "Download as JSON",
|
|
5235
5169
|
children: /* @__PURE__ */ jsxRuntime.jsx(outline.CodeBracketIcon, {})
|
|
@@ -5238,7 +5172,7 @@ const TemplateList = () => {
|
|
|
5238
5172
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5239
5173
|
StyledButtons.IconButton,
|
|
5240
5174
|
{
|
|
5241
|
-
onClick: () => handleDuplicate(template.
|
|
5175
|
+
onClick: () => handleDuplicate(template.templateReferenceId, template.name),
|
|
5242
5176
|
"aria-label": "Duplicate Template",
|
|
5243
5177
|
title: "Duplicate Template",
|
|
5244
5178
|
children: /* @__PURE__ */ jsxRuntime.jsx(outline.DocumentDuplicateIcon, {})
|
|
@@ -5268,14 +5202,14 @@ const TemplateList = () => {
|
|
|
5268
5202
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5269
5203
|
StyledButtons.IconButtonDanger,
|
|
5270
5204
|
{
|
|
5271
|
-
onClick: () => handleDelete(template.
|
|
5205
|
+
onClick: () => handleDelete(template.templateReferenceId, template.name),
|
|
5272
5206
|
"aria-label": "Delete Template",
|
|
5273
5207
|
title: "Delete Template",
|
|
5274
5208
|
children: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, {})
|
|
5275
5209
|
}
|
|
5276
5210
|
)
|
|
5277
5211
|
] }) })
|
|
5278
|
-
] }, template.
|
|
5212
|
+
] }, template.templateReferenceId)) })
|
|
5279
5213
|
] }),
|
|
5280
5214
|
totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsxs(PaginationWrapper, { justifyContent: "space-between", alignItems: "center", children: [
|
|
5281
5215
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 3, alignItems: "center", children: [
|
|
@@ -5356,10 +5290,10 @@ const TemplateList = () => {
|
|
|
5356
5290
|
padding: "80px 32px",
|
|
5357
5291
|
textAlign: "center",
|
|
5358
5292
|
borderRadius: theme$1.borderRadius.lg,
|
|
5359
|
-
border: "1px dashed
|
|
5293
|
+
border: "1px dashed rgba(128, 128, 128, 0.2)"
|
|
5360
5294
|
},
|
|
5361
5295
|
children: [
|
|
5362
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: "
|
|
5296
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: "var(--colors-neutral500)" } }),
|
|
5363
5297
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", textColor: "neutral700", style: { marginBottom: "8px" }, children: "No templates found" }),
|
|
5364
5298
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: "Try adjusting your search or filters" }),
|
|
5365
5299
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5383,7 +5317,7 @@ const TemplateList = () => {
|
|
|
5383
5317
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "Core Email Templates" }),
|
|
5384
5318
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: "Design the default Strapi system emails (Password Reset & Email Confirmation)" })
|
|
5385
5319
|
] }),
|
|
5386
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { background: "neutral0", borderRadius: theme$1.borderRadius.lg, shadow: "md", style: { border: "1px solid
|
|
5320
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { background: "neutral0", borderRadius: theme$1.borderRadius.lg, shadow: "md", style: { border: "1px solid rgba(128, 128, 128, 0.2)", overflow: "hidden" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Table, { colCount: 2, rowCount: 2, children: [
|
|
5387
5321
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Thead, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Tr, { children: [
|
|
5388
5322
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Th, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", children: "Email Type" }) }),
|
|
5389
5323
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Th, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { textAlign: "right", width: "100%" }, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", children: "Actions" }) }) })
|
|
@@ -5421,20 +5355,20 @@ const TemplateList = () => {
|
|
|
5421
5355
|
] }) }),
|
|
5422
5356
|
/* @__PURE__ */ jsxRuntime.jsxs(ScrollableDialogBody, { children: [
|
|
5423
5357
|
/* @__PURE__ */ jsxRuntime.jsx(InfoBox$1, { style: { marginTop: 0, marginBottom: "20px" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", justifyContent: "space-between", children: [
|
|
5424
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color:
|
|
5358
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-primary600, #075985)" }, children: [
|
|
5425
5359
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Template ID:" }),
|
|
5426
5360
|
" #",
|
|
5427
5361
|
selectedTemplate.templateReferenceId
|
|
5428
5362
|
] }),
|
|
5429
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color:
|
|
5363
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-primary600, #075985)" }, children: [
|
|
5430
5364
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Status:" }),
|
|
5431
5365
|
" ",
|
|
5432
5366
|
selectedTemplate.isActive ? "Active" : "Inactive"
|
|
5433
5367
|
] })
|
|
5434
5368
|
] }) }),
|
|
5435
5369
|
!selectedTemplate.isActive && /* @__PURE__ */ jsxRuntime.jsxs(WarningBox, { style: { marginTop: 0, marginBottom: "20px" }, children: [
|
|
5436
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 20, height: 20, color:
|
|
5437
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color:
|
|
5370
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 20, height: 20, color: "var(--colors-warning600, #D97706)" } }),
|
|
5371
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-warning600, #A16207)", fontWeight: 500 }, children: [
|
|
5438
5372
|
"This template is currently ",
|
|
5439
5373
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "INACTIVE" }),
|
|
5440
5374
|
" and will not be sent."
|
|
@@ -5442,7 +5376,7 @@ const TemplateList = () => {
|
|
|
5442
5376
|
] }),
|
|
5443
5377
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Root, { defaultValue: "native", collapsible: true, children: [
|
|
5444
5378
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "native", children: [
|
|
5445
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: () => /* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color:
|
|
5379
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: () => /* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-success600, #16A34A)" } }), children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, alignItems: "center", children: [
|
|
5446
5380
|
"Native Strapi Email Service",
|
|
5447
5381
|
/* @__PURE__ */ jsxRuntime.jsx(RecommendedBadge, { children: "Recommended" })
|
|
5448
5382
|
] }) }) }),
|
|
@@ -5492,7 +5426,7 @@ const TemplateList = () => {
|
|
|
5492
5426
|
] }) })
|
|
5493
5427
|
] }),
|
|
5494
5428
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "plugin", children: [
|
|
5495
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: () => /* @__PURE__ */ jsxRuntime.jsx(outline.CodeBracketIcon, { style: { width: 16, height: 16, color:
|
|
5429
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: () => /* @__PURE__ */ jsxRuntime.jsx(outline.CodeBracketIcon, { style: { width: 16, height: 16, color: "var(--colors-primary600, #0284C7)" } }), children: "MagicMail Plugin Service" }) }),
|
|
5496
5430
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 4, children: [
|
|
5497
5431
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px", display: "block" }, children: "Direct access to the MagicMail service for advanced options." }),
|
|
5498
5432
|
/* @__PURE__ */ jsxRuntime.jsxs(CodeBlockWrapper, { children: [
|
|
@@ -5540,7 +5474,7 @@ const TemplateList = () => {
|
|
|
5540
5474
|
] }) })
|
|
5541
5475
|
] }),
|
|
5542
5476
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "rest", children: [
|
|
5543
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: () => /* @__PURE__ */ jsxRuntime.jsx(outline.DocumentArrowDownIcon, { style: { width: 16, height: 16, color:
|
|
5477
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: () => /* @__PURE__ */ jsxRuntime.jsx(outline.DocumentArrowDownIcon, { style: { width: 16, height: 16, color: "var(--colors-secondary600, #7C3AED)" } }), children: "REST API (cURL)" }) }),
|
|
5544
5478
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 4, children: [
|
|
5545
5479
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px", display: "block" }, children: "For external applications, frontend calls, or Postman tests." }),
|
|
5546
5480
|
/* @__PURE__ */ jsxRuntime.jsxs(CodeBlockWrapper, { children: [
|
|
@@ -5741,11 +5675,11 @@ const Container$1 = styled__default.default.div`
|
|
|
5741
5675
|
min-height: 100vh;
|
|
5742
5676
|
display: flex;
|
|
5743
5677
|
flex-direction: column;
|
|
5744
|
-
background:
|
|
5678
|
+
background: var(--colors-neutral100);
|
|
5745
5679
|
`;
|
|
5746
5680
|
const Header$1 = styled__default.default.div`
|
|
5747
5681
|
padding: 24px;
|
|
5748
|
-
background:
|
|
5682
|
+
background: var(--colors-neutral0, white);
|
|
5749
5683
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
|
|
5750
5684
|
`;
|
|
5751
5685
|
const HeaderRow = styled__default.default.div`
|
|
@@ -5785,8 +5719,8 @@ const ToggleWrapper = styled__default.default.div`
|
|
|
5785
5719
|
|
|
5786
5720
|
/* Custom green styling for active toggle */
|
|
5787
5721
|
button[aria-checked="true"] {
|
|
5788
|
-
background-color: #22C55E !important;
|
|
5789
|
-
border-color: #22C55E !important;
|
|
5722
|
+
background-color: var(--colors-success600, #22C55E) !important;
|
|
5723
|
+
border-color: var(--colors-success600, #22C55E) !important;
|
|
5790
5724
|
|
|
5791
5725
|
span {
|
|
5792
5726
|
background-color: white !important;
|
|
@@ -5794,8 +5728,8 @@ const ToggleWrapper = styled__default.default.div`
|
|
|
5794
5728
|
}
|
|
5795
5729
|
|
|
5796
5730
|
button[aria-checked="false"] {
|
|
5797
|
-
background-color:
|
|
5798
|
-
border-color:
|
|
5731
|
+
background-color: var(--colors-neutral200, rgba(128, 128, 128, 0.2)) !important;
|
|
5732
|
+
border-color: rgba(128, 128, 128, 0.2) !important;
|
|
5799
5733
|
|
|
5800
5734
|
span {
|
|
5801
5735
|
background-color: white !important;
|
|
@@ -5804,7 +5738,7 @@ const ToggleWrapper = styled__default.default.div`
|
|
|
5804
5738
|
|
|
5805
5739
|
/* Label styling based on state */
|
|
5806
5740
|
p {
|
|
5807
|
-
color: ${(props) => props.$isActive ? "#22C55E" : "#6B7280"};
|
|
5741
|
+
color: ${(props) => props.$isActive ? "var(--colors-success600, #22C55E)" : "var(--colors-neutral600, #6B7280)"};
|
|
5808
5742
|
font-weight: 600;
|
|
5809
5743
|
transition: color 0.2s;
|
|
5810
5744
|
}
|
|
@@ -5816,8 +5750,8 @@ const TabsWrapper = styled__default.default.div`
|
|
|
5816
5750
|
`;
|
|
5817
5751
|
const TabListWrapper = styled__default.default.div`
|
|
5818
5752
|
padding: 0 24px;
|
|
5819
|
-
background:
|
|
5820
|
-
border-bottom: 1px solid
|
|
5753
|
+
background: var(--colors-neutral0, white);
|
|
5754
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
5821
5755
|
`;
|
|
5822
5756
|
const StyledTabsRoot = styled__default.default(designSystem.Tabs.Root)`
|
|
5823
5757
|
display: flex;
|
|
@@ -5831,7 +5765,7 @@ const StyledTabsContent = styled__default.default(designSystem.Tabs.Content)`
|
|
|
5831
5765
|
`;
|
|
5832
5766
|
const TabContentWrapper = styled__default.default.div`
|
|
5833
5767
|
height: calc(100vh - 240px);
|
|
5834
|
-
background:
|
|
5768
|
+
background: var(--colors-neutral0, white);
|
|
5835
5769
|
position: relative;
|
|
5836
5770
|
`;
|
|
5837
5771
|
const TextTabContent = styled__default.default.div`
|
|
@@ -5863,7 +5797,7 @@ const HiddenInput = styled__default.default.input`
|
|
|
5863
5797
|
display: none;
|
|
5864
5798
|
`;
|
|
5865
5799
|
const SaveButton = styled__default.default(designSystem.Button)`
|
|
5866
|
-
background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
|
|
5800
|
+
background: linear-gradient(135deg, var(--colors-success600, #22C55E) 0%, var(--colors-success700, #16A34A) 100%);
|
|
5867
5801
|
border: none;
|
|
5868
5802
|
color: white;
|
|
5869
5803
|
font-weight: 600;
|
|
@@ -5876,7 +5810,7 @@ const SaveButton = styled__default.default(designSystem.Button)`
|
|
|
5876
5810
|
&:hover {
|
|
5877
5811
|
transform: translateY(-1px);
|
|
5878
5812
|
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
|
|
5879
|
-
background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
|
|
5813
|
+
background: linear-gradient(135deg, var(--colors-success700, #16A34A) 0%, var(--colors-success800, #15803D) 100%);
|
|
5880
5814
|
}
|
|
5881
5815
|
|
|
5882
5816
|
&:active {
|
|
@@ -5903,10 +5837,10 @@ const ImportExportButton = styled__default.default.span`
|
|
|
5903
5837
|
gap: 6px;
|
|
5904
5838
|
padding: 8px 16px;
|
|
5905
5839
|
height: 36px;
|
|
5906
|
-
background:
|
|
5907
|
-
border: 1px solid
|
|
5840
|
+
background: var(--colors-neutral0, white);
|
|
5841
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
5908
5842
|
border-radius: 4px;
|
|
5909
|
-
color:
|
|
5843
|
+
color: var(--colors-neutral800);
|
|
5910
5844
|
font-weight: 500;
|
|
5911
5845
|
font-size: 13px;
|
|
5912
5846
|
cursor: pointer;
|
|
@@ -5914,9 +5848,9 @@ const ImportExportButton = styled__default.default.span`
|
|
|
5914
5848
|
white-space: nowrap;
|
|
5915
5849
|
|
|
5916
5850
|
&:hover {
|
|
5917
|
-
background:
|
|
5918
|
-
border-color:
|
|
5919
|
-
color:
|
|
5851
|
+
background: var(--colors-neutral100);
|
|
5852
|
+
border-color: var(--colors-primary600, #0284C7);
|
|
5853
|
+
color: var(--colors-primary600, #0284C7);
|
|
5920
5854
|
transform: translateY(-1px);
|
|
5921
5855
|
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
|
|
5922
5856
|
}
|
|
@@ -5935,8 +5869,8 @@ const ImportLabel = styled__default.default.label`
|
|
|
5935
5869
|
display: inline-block;
|
|
5936
5870
|
`;
|
|
5937
5871
|
const BackButton = styled__default.default.button`
|
|
5938
|
-
background:
|
|
5939
|
-
border: 1px solid
|
|
5872
|
+
background: var(--colors-neutral0, white);
|
|
5873
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
5940
5874
|
border-radius: 4px;
|
|
5941
5875
|
padding: 8px 10px;
|
|
5942
5876
|
height: 36px;
|
|
@@ -5947,8 +5881,8 @@ const BackButton = styled__default.default.button`
|
|
|
5947
5881
|
transition: all 200ms;
|
|
5948
5882
|
|
|
5949
5883
|
&:hover {
|
|
5950
|
-
background:
|
|
5951
|
-
border-color:
|
|
5884
|
+
background: var(--colors-neutral100);
|
|
5885
|
+
border-color: rgba(128, 128, 128, 0.3);
|
|
5952
5886
|
transform: translateY(-1px);
|
|
5953
5887
|
}
|
|
5954
5888
|
|
|
@@ -5962,8 +5896,8 @@ const BackButton = styled__default.default.button`
|
|
|
5962
5896
|
}
|
|
5963
5897
|
`;
|
|
5964
5898
|
const VersionButton = styled__default.default.button`
|
|
5965
|
-
background:
|
|
5966
|
-
border: 1px solid
|
|
5899
|
+
background: var(--colors-neutral0, white);
|
|
5900
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
5967
5901
|
border-radius: 4px;
|
|
5968
5902
|
padding: 8px 16px;
|
|
5969
5903
|
height: 36px;
|
|
@@ -5975,13 +5909,13 @@ const VersionButton = styled__default.default.button`
|
|
|
5975
5909
|
transition: all 200ms;
|
|
5976
5910
|
font-size: 13px;
|
|
5977
5911
|
font-weight: 500;
|
|
5978
|
-
color:
|
|
5912
|
+
color: var(--colors-neutral800);
|
|
5979
5913
|
white-space: nowrap;
|
|
5980
5914
|
|
|
5981
5915
|
&:hover {
|
|
5982
|
-
background:
|
|
5983
|
-
border-color:
|
|
5984
|
-
color:
|
|
5916
|
+
background: var(--colors-neutral100);
|
|
5917
|
+
border-color: var(--colors-primary600, #0284C7);
|
|
5918
|
+
color: var(--colors-primary600, #0284C7);
|
|
5985
5919
|
transform: translateY(-1px);
|
|
5986
5920
|
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
|
|
5987
5921
|
}
|
|
@@ -6001,7 +5935,7 @@ const VersionModal = styled__default.default.div`
|
|
|
6001
5935
|
right: ${(props) => props.$isOpen ? "0" : "-450px"};
|
|
6002
5936
|
width: 450px;
|
|
6003
5937
|
height: 100vh;
|
|
6004
|
-
background:
|
|
5938
|
+
background: var(--colors-neutral0, white);
|
|
6005
5939
|
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
|
|
6006
5940
|
z-index: 9999;
|
|
6007
5941
|
transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -6022,7 +5956,7 @@ const VersionModalOverlay = styled__default.default.div`
|
|
|
6022
5956
|
`;
|
|
6023
5957
|
const VersionModalHeader = styled__default.default.div`
|
|
6024
5958
|
padding: 24px;
|
|
6025
|
-
border-bottom: 1px solid
|
|
5959
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
6026
5960
|
display: flex;
|
|
6027
5961
|
justify-content: space-between;
|
|
6028
5962
|
align-items: center;
|
|
@@ -6034,13 +5968,13 @@ const VersionModalContent = styled__default.default.div`
|
|
|
6034
5968
|
`;
|
|
6035
5969
|
const VersionItem = styled__default.default.div`
|
|
6036
5970
|
padding: 16px;
|
|
6037
|
-
border: 1px solid
|
|
5971
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
6038
5972
|
border-radius: 8px;
|
|
6039
5973
|
margin-bottom: 12px;
|
|
6040
5974
|
transition: all 150ms;
|
|
6041
5975
|
|
|
6042
5976
|
&:hover {
|
|
6043
|
-
border-color:
|
|
5977
|
+
border-color: var(--colors-primary600, #0284C7);
|
|
6044
5978
|
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
|
|
6045
5979
|
}
|
|
6046
5980
|
`;
|
|
@@ -6052,13 +5986,13 @@ const VersionItemHeader = styled__default.default.div`
|
|
|
6052
5986
|
`;
|
|
6053
5987
|
const VersionNumber = styled__default.default.div`
|
|
6054
5988
|
font-weight: 600;
|
|
6055
|
-
color:
|
|
5989
|
+
color: var(--colors-neutral800);
|
|
6056
5990
|
display: flex;
|
|
6057
5991
|
align-items: center;
|
|
6058
5992
|
gap: 8px;
|
|
6059
5993
|
`;
|
|
6060
5994
|
const VersionBadge = styled__default.default.span`
|
|
6061
|
-
background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
|
|
5995
|
+
background: linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-primary700, #0284C7) 100%);
|
|
6062
5996
|
color: white;
|
|
6063
5997
|
padding: 2px 8px;
|
|
6064
5998
|
border-radius: 4px;
|
|
@@ -6067,11 +6001,11 @@ const VersionBadge = styled__default.default.span`
|
|
|
6067
6001
|
`;
|
|
6068
6002
|
const VersionDate = styled__default.default.div`
|
|
6069
6003
|
font-size: 13px;
|
|
6070
|
-
color:
|
|
6004
|
+
color: var(--colors-neutral600);
|
|
6071
6005
|
`;
|
|
6072
6006
|
const VersionMeta = styled__default.default.div`
|
|
6073
6007
|
font-size: 13px;
|
|
6074
|
-
color:
|
|
6008
|
+
color: var(--colors-neutral600);
|
|
6075
6009
|
margin-bottom: 12px;
|
|
6076
6010
|
`;
|
|
6077
6011
|
const VersionActions = styled__default.default.div`
|
|
@@ -6079,14 +6013,14 @@ const VersionActions = styled__default.default.div`
|
|
|
6079
6013
|
gap: 8px;
|
|
6080
6014
|
`;
|
|
6081
6015
|
const RestoreButton = styled__default.default(designSystem.Button)`
|
|
6082
|
-
background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
|
|
6016
|
+
background: linear-gradient(135deg, var(--colors-success600, #22C55E) 0%, var(--colors-success700, #16A34A) 100%);
|
|
6083
6017
|
border: none;
|
|
6084
6018
|
color: white;
|
|
6085
6019
|
font-size: 13px;
|
|
6086
6020
|
padding: 8px 16px;
|
|
6087
6021
|
|
|
6088
6022
|
&:hover {
|
|
6089
|
-
background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%);
|
|
6023
|
+
background: linear-gradient(135deg, var(--colors-success400, #4ADE80) 0%, var(--colors-success600, #22C55E) 100%);
|
|
6090
6024
|
transform: translateY(-1px);
|
|
6091
6025
|
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
|
|
6092
6026
|
border-color: transparent;
|
|
@@ -6098,14 +6032,14 @@ const RestoreButton = styled__default.default(designSystem.Button)`
|
|
|
6098
6032
|
}
|
|
6099
6033
|
`;
|
|
6100
6034
|
const DeleteButton = styled__default.default(designSystem.Button)`
|
|
6101
|
-
background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
|
|
6035
|
+
background: linear-gradient(135deg, var(--colors-danger500, #EF4444) 0%, var(--colors-danger600, #DC2626) 100%);
|
|
6102
6036
|
border: none;
|
|
6103
6037
|
color: white;
|
|
6104
6038
|
font-size: 13px;
|
|
6105
6039
|
padding: 8px 16px;
|
|
6106
6040
|
|
|
6107
6041
|
&:hover {
|
|
6108
|
-
background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
|
|
6042
|
+
background: linear-gradient(135deg, var(--colors-danger400, #F87171) 0%, var(--colors-danger500, #EF4444) 100%);
|
|
6109
6043
|
transform: translateY(-1px);
|
|
6110
6044
|
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
|
|
6111
6045
|
border-color: transparent;
|
|
@@ -6124,12 +6058,12 @@ const CloseButton$1 = styled__default.default.button`
|
|
|
6124
6058
|
display: flex;
|
|
6125
6059
|
align-items: center;
|
|
6126
6060
|
justify-content: center;
|
|
6127
|
-
color:
|
|
6061
|
+
color: var(--colors-neutral600);
|
|
6128
6062
|
transition: all 150ms;
|
|
6129
6063
|
|
|
6130
6064
|
&:hover {
|
|
6131
|
-
color:
|
|
6132
|
-
background:
|
|
6065
|
+
color: var(--colors-neutral800);
|
|
6066
|
+
background: var(--colors-neutral100);
|
|
6133
6067
|
border-radius: 4px;
|
|
6134
6068
|
}
|
|
6135
6069
|
|
|
@@ -6141,7 +6075,7 @@ const CloseButton$1 = styled__default.default.button`
|
|
|
6141
6075
|
const EmptyVersions = styled__default.default.div`
|
|
6142
6076
|
text-align: center;
|
|
6143
6077
|
padding: 60px 20px;
|
|
6144
|
-
color:
|
|
6078
|
+
color: var(--colors-neutral600);
|
|
6145
6079
|
display: flex;
|
|
6146
6080
|
flex-direction: column;
|
|
6147
6081
|
align-items: center;
|
|
@@ -6151,7 +6085,7 @@ const EmptyVersions = styled__default.default.div`
|
|
|
6151
6085
|
width: 64px;
|
|
6152
6086
|
height: 64px;
|
|
6153
6087
|
margin-bottom: 16px;
|
|
6154
|
-
color:
|
|
6088
|
+
color: rgba(128, 128, 128, 0.3);
|
|
6155
6089
|
}
|
|
6156
6090
|
`;
|
|
6157
6091
|
const EditorPage = () => {
|
|
@@ -6777,9 +6711,9 @@ const EditorPage = () => {
|
|
|
6777
6711
|
/* @__PURE__ */ jsxRuntime.jsxs(VersionModal, { $isOpen: showVersionHistory, children: [
|
|
6778
6712
|
/* @__PURE__ */ jsxRuntime.jsxs(VersionModalHeader, { children: [
|
|
6779
6713
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
6780
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.ClockIcon, { style: { width: 20, height: 20, color: "#32324d" } }),
|
|
6714
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.ClockIcon, { style: { width: 20, height: 20, color: "var(--colors-neutral800, #32324d)" } }),
|
|
6781
6715
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", fontWeight: "bold", children: "Version History" }),
|
|
6782
|
-
versions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "12px", color: "#666687", marginLeft: "8px" }, children: [
|
|
6716
|
+
versions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "12px", color: "var(--colors-neutral600, #666687)", marginLeft: "8px" }, children: [
|
|
6783
6717
|
"(",
|
|
6784
6718
|
versions.length,
|
|
6785
6719
|
")"
|
|
@@ -6849,12 +6783,6 @@ const EditorPage = () => {
|
|
|
6849
6783
|
] });
|
|
6850
6784
|
};
|
|
6851
6785
|
const theme = {
|
|
6852
|
-
colors: {
|
|
6853
|
-
primary: { 50: "#F0F9FF", 100: "#E0F2FE", 500: "#0EA5E9", 600: "#0284C7" },
|
|
6854
|
-
secondary: { 50: "#F5F3FF", 100: "#EDE9FE", 600: "#9333EA" },
|
|
6855
|
-
success: { 100: "#DCFCE7", 500: "#22C55E", 600: "#16A34A" },
|
|
6856
|
-
danger: { 100: "#FEE2E2", 500: "#EF4444", 600: "#DC2626" }
|
|
6857
|
-
},
|
|
6858
6786
|
shadows: {
|
|
6859
6787
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
6860
6788
|
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
@@ -6892,8 +6820,8 @@ const Container = styled__default.default(designSystem.Box)`
|
|
|
6892
6820
|
`;
|
|
6893
6821
|
const Header = styled__default.default(designSystem.Box)`
|
|
6894
6822
|
background: linear-gradient(135deg,
|
|
6895
|
-
|
|
6896
|
-
${
|
|
6823
|
+
var(--colors-secondary600, #7C3AED) 0%,
|
|
6824
|
+
${"var(--colors-primary600, #0284C7)"} 100%
|
|
6897
6825
|
);
|
|
6898
6826
|
border-radius: ${theme.borderRadius.xl};
|
|
6899
6827
|
padding: ${theme.spacing.xl} ${theme.spacing["2xl"]};
|
|
@@ -6987,7 +6915,7 @@ const StatsGrid = styled__default.default.div`
|
|
|
6987
6915
|
}
|
|
6988
6916
|
`;
|
|
6989
6917
|
const StatCard = styled__default.default(designSystem.Box)`
|
|
6990
|
-
background:
|
|
6918
|
+
background: var(--colors-neutral0, white);
|
|
6991
6919
|
border-radius: ${theme.borderRadius.lg};
|
|
6992
6920
|
padding: 28px ${theme.spacing.lg};
|
|
6993
6921
|
position: relative;
|
|
@@ -6996,7 +6924,7 @@ const StatCard = styled__default.default(designSystem.Box)`
|
|
|
6996
6924
|
${styled.css`animation: ${fadeIn$2} ${theme.transitions.slow} backwards;`}
|
|
6997
6925
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
6998
6926
|
box-shadow: ${theme.shadows.sm};
|
|
6999
|
-
border: 1px solid
|
|
6927
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
7000
6928
|
min-width: 200px;
|
|
7001
6929
|
flex: 1;
|
|
7002
6930
|
text-align: center;
|
|
@@ -7017,7 +6945,7 @@ const StatCard = styled__default.default(designSystem.Box)`
|
|
|
7017
6945
|
&:hover {
|
|
7018
6946
|
transform: translateY(-6px);
|
|
7019
6947
|
box-shadow: ${theme.shadows.xl};
|
|
7020
|
-
border-color: ${(props) => props.$color ||
|
|
6948
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
7021
6949
|
|
|
7022
6950
|
.stat-icon {
|
|
7023
6951
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -7025,7 +6953,7 @@ const StatCard = styled__default.default(designSystem.Box)`
|
|
|
7025
6953
|
|
|
7026
6954
|
.stat-value {
|
|
7027
6955
|
transform: scale(1.08);
|
|
7028
|
-
color: ${(props) => props.$color ||
|
|
6956
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
7029
6957
|
}
|
|
7030
6958
|
}
|
|
7031
6959
|
`;
|
|
@@ -7037,13 +6965,13 @@ const StatIcon = styled__default.default(designSystem.Box)`
|
|
|
7037
6965
|
align-items: center;
|
|
7038
6966
|
justify-content: center;
|
|
7039
6967
|
margin-bottom: ${theme.spacing.md};
|
|
7040
|
-
background: ${(props) => props.$bg ||
|
|
6968
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
7041
6969
|
transition: all ${theme.transitions.normal};
|
|
7042
6970
|
|
|
7043
6971
|
svg {
|
|
7044
6972
|
width: 32px;
|
|
7045
6973
|
height: 32px;
|
|
7046
|
-
color: ${(props) => props.$color ||
|
|
6974
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
7047
6975
|
}
|
|
7048
6976
|
|
|
7049
6977
|
@media screen and (max-width: ${breakpoints.mobile}) {
|
|
@@ -7060,7 +6988,7 @@ const StatIcon = styled__default.default(designSystem.Box)`
|
|
|
7060
6988
|
const StatValue = styled__default.default(designSystem.Typography)`
|
|
7061
6989
|
font-size: 2.25rem;
|
|
7062
6990
|
font-weight: 700;
|
|
7063
|
-
color:
|
|
6991
|
+
color: var(--colors-neutral800);
|
|
7064
6992
|
transition: all ${theme.transitions.normal};
|
|
7065
6993
|
line-height: 1;
|
|
7066
6994
|
margin-bottom: ${theme.spacing.xs};
|
|
@@ -7071,7 +6999,7 @@ const StatValue = styled__default.default(designSystem.Typography)`
|
|
|
7071
6999
|
`;
|
|
7072
7000
|
const StatLabel = styled__default.default(designSystem.Typography)`
|
|
7073
7001
|
font-size: 0.875rem;
|
|
7074
|
-
color:
|
|
7002
|
+
color: var(--colors-neutral600);
|
|
7075
7003
|
font-weight: 500;
|
|
7076
7004
|
text-transform: uppercase;
|
|
7077
7005
|
letter-spacing: 0.05em;
|
|
@@ -7081,21 +7009,21 @@ const StatLabel = styled__default.default(designSystem.Typography)`
|
|
|
7081
7009
|
}
|
|
7082
7010
|
`;
|
|
7083
7011
|
const FilterBar = styled__default.default(designSystem.Box)`
|
|
7084
|
-
background:
|
|
7012
|
+
background: var(--colors-neutral0, white);
|
|
7085
7013
|
border-radius: ${theme.borderRadius.lg};
|
|
7086
7014
|
padding: ${theme.spacing.lg} ${theme.spacing.xl};
|
|
7087
7015
|
margin-bottom: ${theme.spacing.lg};
|
|
7088
7016
|
box-shadow: ${theme.shadows.sm};
|
|
7089
|
-
border: 1px solid
|
|
7017
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
7090
7018
|
`;
|
|
7091
7019
|
const StyledTable = styled__default.default(designSystem.Table)`
|
|
7092
7020
|
thead {
|
|
7093
|
-
background:
|
|
7094
|
-
border-bottom: 2px solid
|
|
7021
|
+
background: var(--colors-neutral100);
|
|
7022
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
7095
7023
|
|
|
7096
7024
|
th {
|
|
7097
7025
|
font-weight: 600;
|
|
7098
|
-
color:
|
|
7026
|
+
color: var(--colors-neutral800);
|
|
7099
7027
|
font-size: 0.875rem;
|
|
7100
7028
|
text-transform: uppercase;
|
|
7101
7029
|
letter-spacing: 0.025em;
|
|
@@ -7105,35 +7033,35 @@ const StyledTable = styled__default.default(designSystem.Table)`
|
|
|
7105
7033
|
|
|
7106
7034
|
tbody tr {
|
|
7107
7035
|
transition: all ${theme.transitions.fast};
|
|
7108
|
-
border-bottom: 1px solid
|
|
7036
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
7109
7037
|
|
|
7110
7038
|
&:last-child {
|
|
7111
7039
|
border-bottom: none;
|
|
7112
7040
|
}
|
|
7113
7041
|
|
|
7114
7042
|
&:hover {
|
|
7115
|
-
background:
|
|
7043
|
+
background: rgba(2, 132, 199, 0.12);
|
|
7116
7044
|
}
|
|
7117
7045
|
|
|
7118
7046
|
td {
|
|
7119
7047
|
padding: ${theme.spacing.lg} ${theme.spacing.lg};
|
|
7120
|
-
color:
|
|
7048
|
+
color: var(--colors-neutral800);
|
|
7121
7049
|
vertical-align: middle;
|
|
7122
7050
|
}
|
|
7123
7051
|
}
|
|
7124
7052
|
`;
|
|
7125
7053
|
const TableContainer = styled__default.default(designSystem.Box)`
|
|
7126
|
-
background:
|
|
7054
|
+
background: var(--colors-neutral0, white);
|
|
7127
7055
|
border-radius: ${theme.borderRadius.lg};
|
|
7128
7056
|
box-shadow: ${theme.shadows.md};
|
|
7129
|
-
border: 1px solid
|
|
7057
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
7130
7058
|
overflow: hidden;
|
|
7131
7059
|
margin-bottom: ${theme.spacing.xl};
|
|
7132
7060
|
`;
|
|
7133
7061
|
const EmptyState = styled__default.default(designSystem.Box)`
|
|
7134
|
-
background:
|
|
7062
|
+
background: var(--colors-neutral0, white);
|
|
7135
7063
|
border-radius: ${theme.borderRadius.xl};
|
|
7136
|
-
border: 2px dashed
|
|
7064
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
7137
7065
|
padding: 80px 32px;
|
|
7138
7066
|
text-align: center;
|
|
7139
7067
|
position: relative;
|
|
@@ -7150,7 +7078,7 @@ const EmptyState = styled__default.default(designSystem.Box)`
|
|
|
7150
7078
|
left: 0;
|
|
7151
7079
|
right: 0;
|
|
7152
7080
|
bottom: 0;
|
|
7153
|
-
background: linear-gradient(135deg,
|
|
7081
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, ${"rgba(2, 132, 199, 0.06)"} 100%);
|
|
7154
7082
|
opacity: 0.3;
|
|
7155
7083
|
z-index: 0;
|
|
7156
7084
|
}
|
|
@@ -7166,7 +7094,7 @@ const EmptyIcon = styled__default.default.div`
|
|
|
7166
7094
|
height: 120px;
|
|
7167
7095
|
margin: 0 auto ${theme.spacing.lg};
|
|
7168
7096
|
border-radius: 50%;
|
|
7169
|
-
background: linear-gradient(135deg,
|
|
7097
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, ${"rgba(2, 132, 199, 0.12)"} 100%);
|
|
7170
7098
|
display: flex;
|
|
7171
7099
|
align-items: center;
|
|
7172
7100
|
justify-content: center;
|
|
@@ -7175,7 +7103,7 @@ const EmptyIcon = styled__default.default.div`
|
|
|
7175
7103
|
svg {
|
|
7176
7104
|
width: 60px;
|
|
7177
7105
|
height: 60px;
|
|
7178
|
-
color: ${
|
|
7106
|
+
color: ${"var(--colors-primary600, #0284C7)"};
|
|
7179
7107
|
}
|
|
7180
7108
|
`;
|
|
7181
7109
|
const Analytics = () => {
|
|
@@ -7291,23 +7219,23 @@ const Analytics = () => {
|
|
|
7291
7219
|
/* @__PURE__ */ jsxRuntime.jsx(Subtitle, { variant: "epsilon", children: "Track your email performance and engagement" })
|
|
7292
7220
|
] }) }) }),
|
|
7293
7221
|
/* @__PURE__ */ jsxRuntime.jsxs(StatsGrid, { children: [
|
|
7294
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.1s", $color:
|
|
7295
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7222
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.1s", $color: "var(--colors-primary600, #0EA5E9)", children: [
|
|
7223
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg: "rgba(2, 132, 199, 0.12)", $color: "var(--colors-primary600, #0284C7)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeIcon, {}) }),
|
|
7296
7224
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalSent || 0 }),
|
|
7297
7225
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Total Sent" })
|
|
7298
7226
|
] }),
|
|
7299
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.2s", $color:
|
|
7300
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7227
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.2s", $color: "var(--colors-success600, #22C55E)", children: [
|
|
7228
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg: "rgba(22, 163, 74, 0.12)", $color: "var(--colors-success600, #16A34A)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeOpenIcon, {}) }),
|
|
7301
7229
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalOpened || 0 }),
|
|
7302
7230
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Opened" })
|
|
7303
7231
|
] }),
|
|
7304
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.3s", $color:
|
|
7305
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7232
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.3s", $color: "var(--colors-primary600, #0EA5E9)", children: [
|
|
7233
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg: "rgba(2, 132, 199, 0.12)", $color: "var(--colors-primary600, #0284C7)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.CursorArrowRaysIcon, {}) }),
|
|
7306
7234
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalClicked || 0 }),
|
|
7307
7235
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Clicked" })
|
|
7308
7236
|
] }),
|
|
7309
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.4s", $color:
|
|
7310
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7237
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.4s", $color: "var(--colors-danger600, #EF4444)", children: [
|
|
7238
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg: "rgba(220, 38, 38, 0.12)", $color: "var(--colors-danger600, #DC2626)", children: /* @__PURE__ */ jsxRuntime.jsx(outline.ExclamationTriangleIcon, {}) }),
|
|
7311
7239
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalBounced || 0 }),
|
|
7312
7240
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Bounced" })
|
|
7313
7241
|
] })
|
|
@@ -7362,25 +7290,25 @@ const Analytics = () => {
|
|
|
7362
7290
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: log.templateName || "-" }) }),
|
|
7363
7291
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: formatDate(log.sentAt) }) }),
|
|
7364
7292
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { children: log.openCount > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
7365
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color:
|
|
7366
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", fontWeight: "semiBold", style: { color:
|
|
7293
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-success600, #16A34A)" } }),
|
|
7294
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", fontWeight: "semiBold", style: { color: "var(--colors-success600, #16A34A)" }, children: [
|
|
7367
7295
|
log.openCount,
|
|
7368
7296
|
" ",
|
|
7369
7297
|
log.openCount === 1 ? "time" : "times"
|
|
7370
7298
|
] })
|
|
7371
7299
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
|
|
7372
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "
|
|
7300
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-neutral500)" } }),
|
|
7373
7301
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: "No" })
|
|
7374
7302
|
] }) }),
|
|
7375
7303
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { children: log.clickCount > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
7376
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color:
|
|
7377
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", fontWeight: "semiBold", style: { color:
|
|
7304
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-primary600, #0284C7)" } }),
|
|
7305
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", fontWeight: "semiBold", style: { color: "var(--colors-primary600, #0284C7)" }, children: [
|
|
7378
7306
|
log.clickCount,
|
|
7379
7307
|
" ",
|
|
7380
7308
|
log.clickCount === 1 ? "time" : "times"
|
|
7381
7309
|
] })
|
|
7382
7310
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
|
|
7383
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "
|
|
7311
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-neutral500)" } }),
|
|
7384
7312
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: "No" })
|
|
7385
7313
|
] }) })
|
|
7386
7314
|
] }, log.id)) })
|
|
@@ -7446,17 +7374,17 @@ const spin = styled.keyframes`
|
|
|
7446
7374
|
const colors = {
|
|
7447
7375
|
whatsapp: "#25D366",
|
|
7448
7376
|
whatsappDark: "#128C7E",
|
|
7449
|
-
whatsappLight: "
|
|
7377
|
+
whatsappLight: "rgba(37, 211, 102, 0.2)",
|
|
7450
7378
|
primary: "#4945ff",
|
|
7451
|
-
primaryLight: "
|
|
7379
|
+
primaryLight: "rgba(73, 69, 255, 0.06)",
|
|
7452
7380
|
success: "#5cb176",
|
|
7453
|
-
successLight: "
|
|
7381
|
+
successLight: "rgba(92, 177, 118, 0.12)",
|
|
7454
7382
|
danger: "#d02b20",
|
|
7455
7383
|
neutral: "#8e8ea9",
|
|
7456
|
-
neutralLight: "
|
|
7457
|
-
white: "#ffffff",
|
|
7458
|
-
border: "
|
|
7459
|
-
textLight: "#666687"
|
|
7384
|
+
neutralLight: "rgba(142, 142, 169, 0.08)",
|
|
7385
|
+
white: "var(--colors-neutral0, #ffffff)",
|
|
7386
|
+
border: "rgba(128, 128, 128, 0.2)",
|
|
7387
|
+
textLight: "var(--colors-neutral600, #666687)"
|
|
7460
7388
|
};
|
|
7461
7389
|
const PageContainer = styled__default.default(designSystem.Box)`
|
|
7462
7390
|
padding: 40px;
|
|
@@ -7625,14 +7553,14 @@ const ConnectedCard = styled__default.default(designSystem.Box)`
|
|
|
7625
7553
|
text-align: center;
|
|
7626
7554
|
`;
|
|
7627
7555
|
const InfoBox = styled__default.default(designSystem.Box)`
|
|
7628
|
-
background: linear-gradient(135deg,
|
|
7629
|
-
border: 1px solid
|
|
7556
|
+
background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, ${colors.whatsappLight} 100%);
|
|
7557
|
+
border: 1px solid rgba(2, 132, 199, 0.2);
|
|
7630
7558
|
border-radius: 12px;
|
|
7631
7559
|
padding: 24px;
|
|
7632
7560
|
margin: 20px 0;
|
|
7633
7561
|
`;
|
|
7634
7562
|
const TestSection = styled__default.default(designSystem.Box)`
|
|
7635
|
-
background: linear-gradient(135deg, ${colors.whatsappLight} 0%,
|
|
7563
|
+
background: linear-gradient(135deg, ${colors.whatsappLight} 0%, rgba(34, 197, 94, 0.1) 100%);
|
|
7636
7564
|
border: 1px solid ${colors.whatsapp}40;
|
|
7637
7565
|
border-radius: 16px;
|
|
7638
7566
|
padding: 24px;
|
|
@@ -7641,11 +7569,11 @@ const TestSection = styled__default.default(designSystem.Box)`
|
|
|
7641
7569
|
const WhatsAppInput = styled__default.default.input`
|
|
7642
7570
|
width: 100%;
|
|
7643
7571
|
padding: 14px 16px;
|
|
7644
|
-
border: 2px solid
|
|
7572
|
+
border: 2px solid rgba(128, 128, 128, 0.2);
|
|
7645
7573
|
border-radius: 12px;
|
|
7646
7574
|
font-size: 15px;
|
|
7647
|
-
background: white;
|
|
7648
|
-
color:
|
|
7575
|
+
background: var(--colors-neutral0, white);
|
|
7576
|
+
color: var(--colors-neutral800);
|
|
7649
7577
|
transition: all 0.2s ease;
|
|
7650
7578
|
box-sizing: border-box;
|
|
7651
7579
|
|
|
@@ -7656,17 +7584,17 @@ const WhatsAppInput = styled__default.default.input`
|
|
|
7656
7584
|
}
|
|
7657
7585
|
|
|
7658
7586
|
&::placeholder {
|
|
7659
|
-
color:
|
|
7587
|
+
color: rgba(128, 128, 128, 0.4);
|
|
7660
7588
|
}
|
|
7661
7589
|
`;
|
|
7662
7590
|
const WhatsAppTextarea = styled__default.default.textarea`
|
|
7663
7591
|
width: 100%;
|
|
7664
7592
|
padding: 14px 16px;
|
|
7665
|
-
border: 2px solid
|
|
7593
|
+
border: 2px solid rgba(128, 128, 128, 0.2);
|
|
7666
7594
|
border-radius: 12px;
|
|
7667
7595
|
font-size: 15px;
|
|
7668
|
-
background: white;
|
|
7669
|
-
color:
|
|
7596
|
+
background: var(--colors-neutral0, white);
|
|
7597
|
+
color: var(--colors-neutral800);
|
|
7670
7598
|
transition: all 0.2s ease;
|
|
7671
7599
|
box-sizing: border-box;
|
|
7672
7600
|
resize: vertical;
|
|
@@ -7680,7 +7608,7 @@ const WhatsAppTextarea = styled__default.default.textarea`
|
|
|
7680
7608
|
}
|
|
7681
7609
|
|
|
7682
7610
|
&::placeholder {
|
|
7683
|
-
color:
|
|
7611
|
+
color: rgba(128, 128, 128, 0.4);
|
|
7684
7612
|
}
|
|
7685
7613
|
`;
|
|
7686
7614
|
const InputLabel = styled__default.default.label`
|
|
@@ -7694,7 +7622,7 @@ const InputLabel = styled__default.default.label`
|
|
|
7694
7622
|
`;
|
|
7695
7623
|
const InputHint = styled__default.default.span`
|
|
7696
7624
|
font-size: 12px;
|
|
7697
|
-
color:
|
|
7625
|
+
color: var(--colors-neutral500);
|
|
7698
7626
|
margin-top: 6px;
|
|
7699
7627
|
display: block;
|
|
7700
7628
|
`;
|
|
@@ -7706,7 +7634,7 @@ const MessageSymbol = styled__default.default.span`
|
|
|
7706
7634
|
font-size: 16px;
|
|
7707
7635
|
`;
|
|
7708
7636
|
const UseCaseCard = styled__default.default(designSystem.Box)`
|
|
7709
|
-
background: linear-gradient(135deg, ${colors.whatsappLight},
|
|
7637
|
+
background: linear-gradient(135deg, ${colors.whatsappLight}, rgba(2, 132, 199, 0.06));
|
|
7710
7638
|
border: 2px solid ${colors.whatsapp};
|
|
7711
7639
|
border-radius: 16px;
|
|
7712
7640
|
padding: 24px;
|
|
@@ -7715,11 +7643,11 @@ const UseCaseCard = styled__default.default(designSystem.Box)`
|
|
|
7715
7643
|
const ButtonRow = styled__default.default(designSystem.Flex)`
|
|
7716
7644
|
margin-top: 32px;
|
|
7717
7645
|
padding-top: 24px;
|
|
7718
|
-
border-top: 1px solid
|
|
7646
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
7719
7647
|
`;
|
|
7720
7648
|
const AlertBox = styled__default.default(designSystem.Box)`
|
|
7721
|
-
background:
|
|
7722
|
-
border: 1px solid
|
|
7649
|
+
background: rgba(2, 132, 199, 0.06);
|
|
7650
|
+
border: 1px solid rgba(2, 132, 199, 0.2);
|
|
7723
7651
|
border-radius: 12px;
|
|
7724
7652
|
padding: 16px 20px;
|
|
7725
7653
|
margin-top: 20px;
|
|
@@ -7731,7 +7659,7 @@ const AlertIcon = styled__default.default.div`
|
|
|
7731
7659
|
width: 24px;
|
|
7732
7660
|
height: 24px;
|
|
7733
7661
|
border-radius: 50%;
|
|
7734
|
-
background:
|
|
7662
|
+
background: var(--colors-primary600, #0EA5E9);
|
|
7735
7663
|
color: white;
|
|
7736
7664
|
display: flex;
|
|
7737
7665
|
align-items: center;
|
|
@@ -7741,8 +7669,8 @@ const AlertIcon = styled__default.default.div`
|
|
|
7741
7669
|
flex-shrink: 0;
|
|
7742
7670
|
`;
|
|
7743
7671
|
const SuccessBox = styled__default.default(designSystem.Box)`
|
|
7744
|
-
background:
|
|
7745
|
-
border: 1px solid
|
|
7672
|
+
background: rgba(22, 163, 74, 0.06);
|
|
7673
|
+
border: 1px solid rgba(22, 163, 74, 0.2);
|
|
7746
7674
|
border-radius: 12px;
|
|
7747
7675
|
padding: 16px 20px;
|
|
7748
7676
|
display: flex;
|
|
@@ -7753,7 +7681,7 @@ const SuccessIcon = styled__default.default.div`
|
|
|
7753
7681
|
width: 24px;
|
|
7754
7682
|
height: 24px;
|
|
7755
7683
|
border-radius: 50%;
|
|
7756
|
-
background:
|
|
7684
|
+
background: var(--colors-success600, #22C55E);
|
|
7757
7685
|
color: white;
|
|
7758
7686
|
display: flex;
|
|
7759
7687
|
align-items: center;
|
|
@@ -7770,8 +7698,8 @@ const WhatsAppButton = styled__default.default(StyledButtons.GradientButton)`
|
|
|
7770
7698
|
}
|
|
7771
7699
|
`;
|
|
7772
7700
|
const NotInstalledCard = styled__default.default(designSystem.Box)`
|
|
7773
|
-
background: linear-gradient(135deg,
|
|
7774
|
-
border: 2px solid #F59E0B;
|
|
7701
|
+
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(220, 38, 38, 0.12));
|
|
7702
|
+
border: 2px solid var(--colors-warning600, #F59E0B);
|
|
7775
7703
|
border-radius: 16px;
|
|
7776
7704
|
padding: 32px;
|
|
7777
7705
|
text-align: center;
|
|
@@ -8004,7 +7932,7 @@ const WhatsAppPage = () => {
|
|
|
8004
7932
|
isAvailable ? /* @__PURE__ */ jsxRuntime.jsxs(SuccessBox, { children: [
|
|
8005
7933
|
/* @__PURE__ */ jsxRuntime.jsx(SuccessIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(icons.Check, { style: { width: 14, height: 14 } }) }),
|
|
8006
7934
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
8007
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", style: { display: "block", marginBottom: "4px", color:
|
|
7935
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", style: { display: "block", marginBottom: "4px", color: "var(--colors-success600, #15803D)" }, children: "Dependencies Installed" }),
|
|
8008
7936
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: "Baileys library is installed and ready to use. You can proceed to connect your WhatsApp account." })
|
|
8009
7937
|
] })
|
|
8010
7938
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(NotInstalledCard, { children: [
|
|
@@ -8053,7 +7981,7 @@ const WhatsAppPage = () => {
|
|
|
8053
7981
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", fontWeight: "bold", style: { display: "block", marginBottom: "8px" }, children: "Connect Your WhatsApp" }),
|
|
8054
7982
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", style: { display: "block", marginBottom: "24px" }, children: "Click the button below to start the connection process. A QR code will be generated for you to scan." }),
|
|
8055
7983
|
/* @__PURE__ */ jsxRuntime.jsxs(InfoBox, { children: [
|
|
8056
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color:
|
|
7984
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color: "var(--colors-primary600, #075985)" }, children: "How it works" }),
|
|
8057
7985
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 3, children: [
|
|
8058
7986
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: '1. Click "Connect WhatsApp" to generate a QR code' }),
|
|
8059
7987
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: "2. Open WhatsApp on your phone" }),
|
|
@@ -8099,7 +8027,7 @@ const WhatsAppPage = () => {
|
|
|
8099
8027
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", children: "Generating QR code..." })
|
|
8100
8028
|
] }) }),
|
|
8101
8029
|
/* @__PURE__ */ jsxRuntime.jsxs(InfoBox, { children: [
|
|
8102
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color:
|
|
8030
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color: "var(--colors-primary600, #075985)" }, children: "Instructions" }),
|
|
8103
8031
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
8104
8032
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: "1. Open WhatsApp on your phone" }),
|
|
8105
8033
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: "2. Tap Menu or Settings" }),
|
|
@@ -8256,7 +8184,7 @@ const ModalOverlay = styled__default.default.div`
|
|
|
8256
8184
|
padding: 20px;
|
|
8257
8185
|
`;
|
|
8258
8186
|
const ModalContent = styled__default.default(designSystem.Box)`
|
|
8259
|
-
background: white;
|
|
8187
|
+
background: var(--colors-neutral0, white);
|
|
8260
8188
|
border-radius: 16px;
|
|
8261
8189
|
width: 100%;
|
|
8262
8190
|
max-width: 580px;
|
|
@@ -8265,7 +8193,7 @@ const ModalContent = styled__default.default(designSystem.Box)`
|
|
|
8265
8193
|
overflow: hidden;
|
|
8266
8194
|
`;
|
|
8267
8195
|
const GradientHeader = styled__default.default(designSystem.Box)`
|
|
8268
|
-
background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
|
|
8196
|
+
background: linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
|
|
8269
8197
|
padding: 32px 40px;
|
|
8270
8198
|
position: relative;
|
|
8271
8199
|
overflow: hidden;
|
|
@@ -8331,7 +8259,7 @@ const CloseButton = styled__default.default.button`
|
|
|
8331
8259
|
`;
|
|
8332
8260
|
const GradientButton = styled__default.default(designSystem.Button)`
|
|
8333
8261
|
&& {
|
|
8334
|
-
background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
|
|
8262
|
+
background: linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
|
|
8335
8263
|
color: white;
|
|
8336
8264
|
font-weight: 600;
|
|
8337
8265
|
border: none;
|
|
@@ -8340,7 +8268,7 @@ const GradientButton = styled__default.default(designSystem.Button)`
|
|
|
8340
8268
|
min-height: 44px;
|
|
8341
8269
|
|
|
8342
8270
|
&:hover:not(:disabled) {
|
|
8343
|
-
background: linear-gradient(135deg, #0284C7 0%, #9333EA 100%);
|
|
8271
|
+
background: linear-gradient(135deg, var(--colors-primary700, #0284C7) 0%, var(--colors-secondary600, #9333EA) 100%);
|
|
8344
8272
|
box-shadow: 0 6px 16px rgba(14, 165, 233, 0.5);
|
|
8345
8273
|
}
|
|
8346
8274
|
|
|
@@ -8352,22 +8280,22 @@ const GradientButton = styled__default.default(designSystem.Button)`
|
|
|
8352
8280
|
`;
|
|
8353
8281
|
styled__default.default(designSystem.Button)`
|
|
8354
8282
|
&& {
|
|
8355
|
-
background:
|
|
8356
|
-
color: #0EA5E9;
|
|
8283
|
+
background: rgba(14, 165, 233, 0.06);
|
|
8284
|
+
color: var(--colors-primary600, #0EA5E9);
|
|
8357
8285
|
font-weight: 600;
|
|
8358
|
-
border: 2px solid #0EA5E9;
|
|
8286
|
+
border: 2px solid var(--colors-primary600, #0EA5E9);
|
|
8359
8287
|
padding: 12px 24px;
|
|
8360
8288
|
min-height: 44px;
|
|
8361
8289
|
|
|
8362
8290
|
&:hover:not(:disabled) {
|
|
8363
|
-
background:
|
|
8291
|
+
background: rgba(14, 165, 233, 0.12);
|
|
8364
8292
|
}
|
|
8365
8293
|
}
|
|
8366
8294
|
`;
|
|
8367
8295
|
const ToggleButton = styled__default.default.button`
|
|
8368
8296
|
background: none;
|
|
8369
8297
|
border: none;
|
|
8370
|
-
color: #0EA5E9;
|
|
8298
|
+
color: var(--colors-primary600, #0EA5E9);
|
|
8371
8299
|
font-size: 13px;
|
|
8372
8300
|
font-weight: 600;
|
|
8373
8301
|
cursor: pointer;
|
|
@@ -8376,7 +8304,7 @@ const ToggleButton = styled__default.default.button`
|
|
|
8376
8304
|
transition: color 0.2s;
|
|
8377
8305
|
|
|
8378
8306
|
&:hover {
|
|
8379
|
-
color: #A855F7;
|
|
8307
|
+
color: var(--colors-secondary600, #A855F7);
|
|
8380
8308
|
}
|
|
8381
8309
|
|
|
8382
8310
|
&:disabled {
|
|
@@ -8547,7 +8475,7 @@ const LicenseGuard = ({ children }) => {
|
|
|
8547
8475
|
padding: 4,
|
|
8548
8476
|
style: {
|
|
8549
8477
|
borderRadius: "8px",
|
|
8550
|
-
border: "2px solid
|
|
8478
|
+
border: "2px solid rgba(14, 165, 233, 0.3)",
|
|
8551
8479
|
width: "100%"
|
|
8552
8480
|
},
|
|
8553
8481
|
children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", style: { fontSize: "13px", lineHeight: "1.6" }, children: useExistingKey ? "🔑 Enter your email and license key to activate." : adminUser && adminUser.email ? `✨ Click "Activate" to auto-create a license with your account (${adminUser.email})` : '✨ Click "Activate" to auto-create a license with your admin account' })
|
|
@@ -8611,7 +8539,7 @@ const LicenseGuard = ({ children }) => {
|
|
|
8611
8539
|
padding: 5,
|
|
8612
8540
|
style: {
|
|
8613
8541
|
borderRadius: "8px",
|
|
8614
|
-
border: "2px solid
|
|
8542
|
+
border: "2px solid rgba(34, 197, 94, 0.3)",
|
|
8615
8543
|
textAlign: "center"
|
|
8616
8544
|
},
|
|
8617
8545
|
children: [
|