strapi-plugin-magic-mail 2.6.1 → 2.6.3
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-Boq8cits.js → App-Cp6QQAHt.js} +341 -416
- package/dist/_chunks/{App-zdhx2Ony.mjs → App-DvwmedNr.mjs} +341 -416
- package/dist/_chunks/{LicensePage-Bg72gy8w.js → LicensePage-C38rs_Wj.js} +15 -15
- package/dist/_chunks/{LicensePage-ndUhjynY.mjs → LicensePage-DTrGRpi7.mjs} +15 -15
- package/dist/_chunks/{PluginSettings-ywPWZVt0.mjs → PluginSettings-XwyzH95_.mjs} +20 -20
- package/dist/_chunks/{PluginSettings-D2BUUHY1.js → PluginSettings-cZXE_vy8.js} +20 -20
- package/dist/_chunks/{Settings-CPPrGxLm.js → Settings-BRFoD1yZ.js} +4 -4
- package/dist/_chunks/{Settings-Cc-hhoLA.mjs → Settings-DoSrZKfp.mjs} +4 -4
- package/dist/_chunks/{StyledButtons-nt2C730e.mjs → StyledButtons-CdOf4Sps.mjs} +52 -52
- package/dist/_chunks/{StyledButtons-M7vUd2N4.js → StyledButtons-DVGuFoqy.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 +1 -1
|
@@ -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-DVGuFoqy.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,16 @@ 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: "
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
text: "#32324d",
|
|
159
|
-
textLight: "#666687"
|
|
124
|
+
neutralLight: "rgba(142, 142, 169, 0.08)",
|
|
125
|
+
border: "rgba(128, 128, 128, 0.2)",
|
|
126
|
+
text: "var(--colors-neutral800, #32324d)",
|
|
127
|
+
textLight: "var(--colors-neutral600, #666687)"
|
|
160
128
|
};
|
|
161
129
|
const StepHeader = styled__default.default(designSystem.Box)`
|
|
162
130
|
padding-bottom: 24px;
|
|
@@ -221,8 +189,8 @@ const StepDot$1 = styled__default.default.div`
|
|
|
221
189
|
width: 56px;
|
|
222
190
|
height: 56px;
|
|
223
191
|
border-radius: 50%;
|
|
224
|
-
background: ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : colors
|
|
225
|
-
color: ${(props) => props.$active || props.$completed ?
|
|
192
|
+
background: ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : props.theme.colors.neutral0};
|
|
193
|
+
color: ${(props) => props.$active || props.$completed ? "#ffffff" : colors$1.textLight};
|
|
226
194
|
border: 4px solid ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : colors$1.border};
|
|
227
195
|
display: flex;
|
|
228
196
|
align-items: center;
|
|
@@ -263,7 +231,7 @@ const ProvidersGrid = styled__default.default(designSystem.Box)`
|
|
|
263
231
|
margin-right: auto;
|
|
264
232
|
`;
|
|
265
233
|
const ProviderCard = styled__default.default(designSystem.Box)`
|
|
266
|
-
background: ${(props) => props.$selected ? colors$1.successLight : colors
|
|
234
|
+
background: ${(props) => props.$selected ? colors$1.successLight : props.theme.colors.neutral0};
|
|
267
235
|
border: 2px solid ${(props) => props.$selected ? colors$1.success : colors$1.border};
|
|
268
236
|
border-radius: 12px;
|
|
269
237
|
padding: 24px;
|
|
@@ -1137,10 +1105,10 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1137
1105
|
designSystem.Box,
|
|
1138
1106
|
{
|
|
1139
1107
|
padding: 4,
|
|
1140
|
-
background: formData.secure ? "
|
|
1108
|
+
background: formData.secure ? "rgba(34, 197, 94, 0.15)" : "rgba(245, 158, 11, 0.15)",
|
|
1141
1109
|
hasRadius: true,
|
|
1142
1110
|
style: {
|
|
1143
|
-
border: formData.secure ? "2px solid #22C55E" : "2px solid #F59E0B",
|
|
1111
|
+
border: formData.secure ? "2px solid var(--colors-success600, #22C55E)" : "2px solid var(--colors-warning600, #F59E0B)",
|
|
1144
1112
|
borderRadius: "8px",
|
|
1145
1113
|
transition: "all 0.2s ease"
|
|
1146
1114
|
},
|
|
@@ -1666,7 +1634,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1666
1634
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "default", title: "📖 SendGrid Resources", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", children: [
|
|
1667
1635
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Dashboard:" }),
|
|
1668
1636
|
" ",
|
|
1669
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://app.sendgrid.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "app.sendgrid.com" }),
|
|
1637
|
+
/* @__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
1638
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1671
1639
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "API Keys:" }),
|
|
1672
1640
|
" Settings → API Keys → Create API Key",
|
|
@@ -1676,7 +1644,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1676
1644
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1677
1645
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Docs:" }),
|
|
1678
1646
|
" ",
|
|
1679
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://docs.sendgrid.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "docs.sendgrid.com" })
|
|
1647
|
+
/* @__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
1648
|
] }) })
|
|
1681
1649
|
] })
|
|
1682
1650
|
] }),
|
|
@@ -1715,7 +1683,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1715
1683
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "default", title: "📖 Mailgun Resources", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", children: [
|
|
1716
1684
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Dashboard:" }),
|
|
1717
1685
|
" ",
|
|
1718
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://app.mailgun.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "app.mailgun.com" }),
|
|
1686
|
+
/* @__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
1687
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1720
1688
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "API Keys:" }),
|
|
1721
1689
|
" Settings → API Security → Private API Key",
|
|
@@ -1725,7 +1693,7 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1725
1693
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1726
1694
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Docs:" }),
|
|
1727
1695
|
" ",
|
|
1728
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://documentation.mailgun.com", target: "_blank", rel: "noopener noreferrer", style: { color: "#0284c7" }, children: "documentation.mailgun.com" })
|
|
1696
|
+
/* @__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
1697
|
] }) })
|
|
1730
1698
|
] })
|
|
1731
1699
|
] })
|
|
@@ -1771,10 +1739,10 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1771
1739
|
designSystem.Box,
|
|
1772
1740
|
{
|
|
1773
1741
|
padding: 4,
|
|
1774
|
-
background: formData.isActive ? "
|
|
1742
|
+
background: formData.isActive ? "rgba(34, 197, 94, 0.15)" : "rgba(220, 38, 38, 0.12)",
|
|
1775
1743
|
hasRadius: true,
|
|
1776
1744
|
style: {
|
|
1777
|
-
border: formData.isActive ?
|
|
1745
|
+
border: formData.isActive ? "2px solid var(--colors-success600, #22C55E)" : "2px solid var(--colors-danger600, #EF4444)",
|
|
1778
1746
|
borderRadius: "8px",
|
|
1779
1747
|
transition: "all 0.2s ease"
|
|
1780
1748
|
},
|
|
@@ -1803,10 +1771,10 @@ const AddAccountModal = ({ isOpen, onClose, onAccountAdded, editAccount = null }
|
|
|
1803
1771
|
designSystem.Box,
|
|
1804
1772
|
{
|
|
1805
1773
|
padding: 4,
|
|
1806
|
-
background: formData.isPrimary ? "
|
|
1774
|
+
background: formData.isPrimary ? "rgba(245, 158, 11, 0.15)" : "neutral100",
|
|
1807
1775
|
hasRadius: true,
|
|
1808
1776
|
style: {
|
|
1809
|
-
border: formData.isPrimary ?
|
|
1777
|
+
border: formData.isPrimary ? "2px solid var(--colors-warning600, #F59E0B)" : `1px solid ${colors$1.border}`,
|
|
1810
1778
|
borderRadius: "8px",
|
|
1811
1779
|
transition: "all 0.2s ease"
|
|
1812
1780
|
},
|
|
@@ -1903,8 +1871,8 @@ const Container$4 = styled__default.default(designSystem.Box)`
|
|
|
1903
1871
|
`;
|
|
1904
1872
|
const Header$4 = styled__default.default(designSystem.Box)`
|
|
1905
1873
|
background: linear-gradient(135deg,
|
|
1906
|
-
${
|
|
1907
|
-
|
|
1874
|
+
${"var(--colors-primary600, #0284C7)"} 0%,
|
|
1875
|
+
var(--colors-secondary600, #7C3AED) 100%
|
|
1908
1876
|
);
|
|
1909
1877
|
border-radius: ${theme$3.borderRadius.xl};
|
|
1910
1878
|
padding: ${theme$3.spacing.xl} ${theme$3.spacing["2xl"]};
|
|
@@ -2003,7 +1971,7 @@ const StatsGrid$3 = styled__default.default.div`
|
|
|
2003
1971
|
}
|
|
2004
1972
|
`;
|
|
2005
1973
|
const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
2006
|
-
background: ${(
|
|
1974
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
2007
1975
|
border-radius: ${theme$3.borderRadius.lg};
|
|
2008
1976
|
padding: 28px ${theme$3.spacing.lg};
|
|
2009
1977
|
position: relative;
|
|
@@ -2012,7 +1980,7 @@ const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
|
2012
1980
|
${styled.css`animation: ${fadeIn$5} ${theme$3.transitions.slow} backwards;`}
|
|
2013
1981
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
2014
1982
|
box-shadow: ${theme$3.shadows.sm};
|
|
2015
|
-
border: 1px solid
|
|
1983
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2016
1984
|
min-width: 200px;
|
|
2017
1985
|
flex: 1;
|
|
2018
1986
|
text-align: center;
|
|
@@ -2033,7 +2001,7 @@ const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
|
2033
2001
|
&:hover {
|
|
2034
2002
|
transform: translateY(-6px);
|
|
2035
2003
|
box-shadow: ${theme$3.shadows.xl};
|
|
2036
|
-
border-color: ${(props) => props.$color ||
|
|
2004
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
2037
2005
|
|
|
2038
2006
|
.stat-icon {
|
|
2039
2007
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -2041,7 +2009,7 @@ const StatCard$3 = styled__default.default(designSystem.Box)`
|
|
|
2041
2009
|
|
|
2042
2010
|
.stat-value {
|
|
2043
2011
|
transform: scale(1.08);
|
|
2044
|
-
color: ${(props) => props.$color ||
|
|
2012
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
2045
2013
|
}
|
|
2046
2014
|
}
|
|
2047
2015
|
`;
|
|
@@ -2052,7 +2020,7 @@ const StatIcon$3 = styled__default.default(designSystem.Box)`
|
|
|
2052
2020
|
display: flex;
|
|
2053
2021
|
align-items: center;
|
|
2054
2022
|
justify-content: center;
|
|
2055
|
-
background: ${(props) => props.$bg ||
|
|
2023
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
2056
2024
|
transition: all ${theme$3.transitions.normal};
|
|
2057
2025
|
margin: 0 auto 20px;
|
|
2058
2026
|
box-shadow: ${theme$3.shadows.sm};
|
|
@@ -2060,7 +2028,7 @@ const StatIcon$3 = styled__default.default(designSystem.Box)`
|
|
|
2060
2028
|
svg {
|
|
2061
2029
|
width: 34px;
|
|
2062
2030
|
height: 34px;
|
|
2063
|
-
color: ${(props) => props.$color ||
|
|
2031
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
2064
2032
|
}
|
|
2065
2033
|
|
|
2066
2034
|
@media screen and (max-width: ${breakpoints$3.mobile}) {
|
|
@@ -2077,7 +2045,7 @@ const StatIcon$3 = styled__default.default(designSystem.Box)`
|
|
|
2077
2045
|
const StatValue$3 = styled__default.default(designSystem.Typography)`
|
|
2078
2046
|
font-size: 2.75rem;
|
|
2079
2047
|
font-weight: 700;
|
|
2080
|
-
color:
|
|
2048
|
+
color: var(--colors-neutral800);
|
|
2081
2049
|
line-height: 1;
|
|
2082
2050
|
margin-bottom: 10px;
|
|
2083
2051
|
transition: all ${theme$3.transitions.normal};
|
|
@@ -2090,7 +2058,7 @@ const StatValue$3 = styled__default.default(designSystem.Typography)`
|
|
|
2090
2058
|
`;
|
|
2091
2059
|
const StatLabel$3 = styled__default.default(designSystem.Typography)`
|
|
2092
2060
|
font-size: 0.95rem;
|
|
2093
|
-
color:
|
|
2061
|
+
color: var(--colors-neutral600);
|
|
2094
2062
|
font-weight: 500;
|
|
2095
2063
|
letter-spacing: 0.025em;
|
|
2096
2064
|
text-align: center;
|
|
@@ -2103,9 +2071,9 @@ const AccountsContainer = styled__default.default(designSystem.Box)`
|
|
|
2103
2071
|
margin-top: ${theme$3.spacing.xl};
|
|
2104
2072
|
`;
|
|
2105
2073
|
const EmptyState$3 = styled__default.default(designSystem.Box)`
|
|
2106
|
-
background: ${(
|
|
2074
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
2107
2075
|
border-radius: ${theme$3.borderRadius.xl};
|
|
2108
|
-
border: 2px dashed
|
|
2076
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
2109
2077
|
padding: 80px 32px;
|
|
2110
2078
|
text-align: center;
|
|
2111
2079
|
position: relative;
|
|
@@ -2123,7 +2091,7 @@ const EmptyState$3 = styled__default.default(designSystem.Box)`
|
|
|
2123
2091
|
left: 0;
|
|
2124
2092
|
right: 0;
|
|
2125
2093
|
bottom: 0;
|
|
2126
|
-
background: linear-gradient(135deg, ${
|
|
2094
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"} 0%, rgba(168, 85, 247, 0.06) 100%);
|
|
2127
2095
|
opacity: 0.3;
|
|
2128
2096
|
z-index: 0;
|
|
2129
2097
|
}
|
|
@@ -2132,19 +2100,19 @@ const OnlineBadge$1 = styled__default.default.div`
|
|
|
2132
2100
|
width: 12px;
|
|
2133
2101
|
height: 12px;
|
|
2134
2102
|
border-radius: 50%;
|
|
2135
|
-
background: ${(props) => props.$active ?
|
|
2103
|
+
background: ${(props) => props.$active ? "var(--colors-success600, #22C55E)" : "rgba(128, 128, 128, 0.4)"};
|
|
2136
2104
|
display: inline-block;
|
|
2137
2105
|
margin-right: 8px;
|
|
2138
2106
|
${styled.css`animation: ${(props) => props.$active ? pulse$2 : "none"} 2s ease-in-out infinite;`}
|
|
2139
2107
|
`;
|
|
2140
2108
|
const StyledTable$3 = styled__default.default(designSystem.Table)`
|
|
2141
2109
|
thead {
|
|
2142
|
-
background:
|
|
2143
|
-
border-bottom: 2px solid
|
|
2110
|
+
background: var(--colors-neutral100);
|
|
2111
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
2144
2112
|
|
|
2145
2113
|
th {
|
|
2146
2114
|
font-weight: 600;
|
|
2147
|
-
color:
|
|
2115
|
+
color: var(--colors-neutral800);
|
|
2148
2116
|
font-size: 0.875rem;
|
|
2149
2117
|
text-transform: uppercase;
|
|
2150
2118
|
letter-spacing: 0.025em;
|
|
@@ -2154,30 +2122,30 @@ const StyledTable$3 = styled__default.default(designSystem.Table)`
|
|
|
2154
2122
|
|
|
2155
2123
|
tbody tr {
|
|
2156
2124
|
transition: all ${theme$3.transitions.fast};
|
|
2157
|
-
border-bottom: 1px solid
|
|
2125
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
2158
2126
|
|
|
2159
2127
|
&:last-child {
|
|
2160
2128
|
border-bottom: none;
|
|
2161
2129
|
}
|
|
2162
2130
|
|
|
2163
2131
|
&:hover {
|
|
2164
|
-
background:
|
|
2132
|
+
background: rgba(2, 132, 199, 0.12);
|
|
2165
2133
|
}
|
|
2166
2134
|
|
|
2167
2135
|
td {
|
|
2168
2136
|
padding: ${theme$3.spacing.lg} ${theme$3.spacing.lg};
|
|
2169
|
-
color:
|
|
2137
|
+
color: var(--colors-neutral800);
|
|
2170
2138
|
vertical-align: middle;
|
|
2171
2139
|
}
|
|
2172
2140
|
}
|
|
2173
2141
|
`;
|
|
2174
2142
|
const FilterBar$3 = styled__default.default(designSystem.Flex)`
|
|
2175
|
-
background: ${(
|
|
2143
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
2176
2144
|
padding: ${theme$3.spacing.md} ${theme$3.spacing.lg};
|
|
2177
2145
|
border-radius: ${theme$3.borderRadius.lg};
|
|
2178
2146
|
margin-bottom: ${theme$3.spacing.lg};
|
|
2179
2147
|
box-shadow: ${theme$3.shadows.sm};
|
|
2180
|
-
border: 1px solid
|
|
2148
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2181
2149
|
gap: ${theme$3.spacing.md};
|
|
2182
2150
|
align-items: center;
|
|
2183
2151
|
`;
|
|
@@ -2192,27 +2160,27 @@ const SearchIcon$2 = styled__default.default(outline.MagnifyingGlassIcon)`
|
|
|
2192
2160
|
left: 12px;
|
|
2193
2161
|
width: 16px;
|
|
2194
2162
|
height: 16px;
|
|
2195
|
-
color:
|
|
2163
|
+
color: var(--colors-neutral600);
|
|
2196
2164
|
pointer-events: none;
|
|
2197
2165
|
`;
|
|
2198
2166
|
const StyledSearchInput$2 = styled__default.default.input`
|
|
2199
2167
|
width: 100%;
|
|
2200
2168
|
padding: 10px 12px 10px 40px;
|
|
2201
|
-
border: 1px solid
|
|
2169
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2202
2170
|
border-radius: ${theme$3.borderRadius.md};
|
|
2203
2171
|
font-size: 0.875rem;
|
|
2204
2172
|
transition: all ${theme$3.transitions.fast};
|
|
2205
|
-
background: ${(
|
|
2206
|
-
color:
|
|
2173
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
2174
|
+
color: var(--colors-neutral800);
|
|
2207
2175
|
|
|
2208
2176
|
&:focus {
|
|
2209
2177
|
outline: none;
|
|
2210
|
-
border-color: ${
|
|
2211
|
-
box-shadow: 0 0 0 2px ${
|
|
2178
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
2179
|
+
box-shadow: 0 0 0 2px ${"rgba(2, 132, 199, 0.12)"};
|
|
2212
2180
|
}
|
|
2213
2181
|
|
|
2214
2182
|
&::placeholder {
|
|
2215
|
-
color:
|
|
2183
|
+
color: var(--colors-neutral500);
|
|
2216
2184
|
}
|
|
2217
2185
|
`;
|
|
2218
2186
|
const StyledModalContent$1 = styled__default.default(designSystem.Modal.Content)`
|
|
@@ -2225,7 +2193,7 @@ const StyledModalContent$1 = styled__default.default(designSystem.Modal.Content)
|
|
|
2225
2193
|
`;
|
|
2226
2194
|
const StyledModalHeader$1 = styled__default.default(designSystem.Modal.Header)`
|
|
2227
2195
|
&& {
|
|
2228
|
-
background: linear-gradient(135deg, ${
|
|
2196
|
+
background: linear-gradient(135deg, ${"var(--colors-primary600, #0EA5E9)"} 0%, var(--colors-secondary600, #A855F7) 100%);
|
|
2229
2197
|
padding: 24px 28px;
|
|
2230
2198
|
border-bottom: none;
|
|
2231
2199
|
|
|
@@ -2257,7 +2225,7 @@ const StyledModalHeader$1 = styled__default.default(designSystem.Modal.Header)`
|
|
|
2257
2225
|
const StyledModalBody$1 = styled__default.default(designSystem.Modal.Body)`
|
|
2258
2226
|
&& {
|
|
2259
2227
|
padding: 24px 28px;
|
|
2260
|
-
background: ${(
|
|
2228
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
2261
2229
|
width: 100%;
|
|
2262
2230
|
box-sizing: border-box;
|
|
2263
2231
|
}
|
|
@@ -2265,13 +2233,13 @@ const StyledModalBody$1 = styled__default.default(designSystem.Modal.Body)`
|
|
|
2265
2233
|
const StyledModalFooter$1 = styled__default.default(designSystem.Modal.Footer)`
|
|
2266
2234
|
&& {
|
|
2267
2235
|
padding: 20px 28px;
|
|
2268
|
-
border-top: 1px solid
|
|
2269
|
-
background:
|
|
2236
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
2237
|
+
background: var(--colors-neutral100);
|
|
2270
2238
|
}
|
|
2271
2239
|
`;
|
|
2272
2240
|
const AccountInfoCard = styled__default.default(designSystem.Box)`
|
|
2273
|
-
background: linear-gradient(135deg, ${
|
|
2274
|
-
border: 1px solid ${
|
|
2241
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"} 0%, rgba(168, 85, 247, 0.06) 100%);
|
|
2242
|
+
border: 1px solid ${"rgba(2, 132, 199, 0.2)"};
|
|
2275
2243
|
border-radius: 12px;
|
|
2276
2244
|
padding: 16px 20px;
|
|
2277
2245
|
text-align: center;
|
|
@@ -2284,66 +2252,66 @@ const AccountInfoCard = styled__default.default(designSystem.Box)`
|
|
|
2284
2252
|
`;
|
|
2285
2253
|
const TestOptionCard = styled__default.default(designSystem.Box)`
|
|
2286
2254
|
padding: 16px 20px;
|
|
2287
|
-
border: 2px solid ${(props) => props.$selected ?
|
|
2255
|
+
border: 2px solid ${(props) => props.$selected ? "var(--colors-primary600, #0EA5E9)" : "rgba(128, 128, 128, 0.2)"};
|
|
2288
2256
|
border-radius: 12px;
|
|
2289
2257
|
cursor: pointer;
|
|
2290
2258
|
transition: all ${theme$3.transitions.fast};
|
|
2291
|
-
background: ${(props) => props.$selected ?
|
|
2259
|
+
background: ${(props) => props.$selected ? "rgba(2, 132, 199, 0.06)" : "${(p) => p.theme.colors.neutral0}"};
|
|
2292
2260
|
|
|
2293
2261
|
&:hover {
|
|
2294
|
-
border-color: ${
|
|
2295
|
-
background: ${
|
|
2262
|
+
border-color: ${"rgba(2, 132, 199, 0.4)"};
|
|
2263
|
+
background: ${"rgba(2, 132, 199, 0.06)"};
|
|
2296
2264
|
}
|
|
2297
2265
|
`;
|
|
2298
2266
|
const ModalFieldLabel = styled__default.default(designSystem.Typography)`
|
|
2299
2267
|
font-size: 13px;
|
|
2300
2268
|
font-weight: 600;
|
|
2301
|
-
color:
|
|
2269
|
+
color: var(--colors-neutral700);
|
|
2302
2270
|
margin-bottom: 8px;
|
|
2303
2271
|
display: block;
|
|
2304
2272
|
`;
|
|
2305
2273
|
const ModalHint$1 = styled__default.default(designSystem.Typography)`
|
|
2306
2274
|
font-size: 12px;
|
|
2307
|
-
color:
|
|
2275
|
+
color: var(--colors-neutral500);
|
|
2308
2276
|
margin-top: 6px;
|
|
2309
2277
|
`;
|
|
2310
2278
|
const StyledModalSelect = styled__default.default.select`
|
|
2311
2279
|
width: 100%;
|
|
2312
2280
|
padding: 12px 14px;
|
|
2313
|
-
border: 1px solid
|
|
2281
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2314
2282
|
border-radius: 8px;
|
|
2315
2283
|
font-size: 14px;
|
|
2316
|
-
background: ${(
|
|
2317
|
-
color:
|
|
2284
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
2285
|
+
color: var(--colors-neutral800);
|
|
2318
2286
|
cursor: pointer;
|
|
2319
2287
|
transition: all ${theme$3.transitions.fast};
|
|
2320
2288
|
box-sizing: border-box;
|
|
2321
2289
|
|
|
2322
2290
|
&:focus {
|
|
2323
2291
|
outline: none;
|
|
2324
|
-
border-color: ${
|
|
2325
|
-
box-shadow: 0 0 0 3px ${
|
|
2292
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
2293
|
+
box-shadow: 0 0 0 3px ${"rgba(2, 132, 199, 0.12)"};
|
|
2326
2294
|
}
|
|
2327
2295
|
`;
|
|
2328
2296
|
const StyledModalInput = styled__default.default.input`
|
|
2329
2297
|
width: 100%;
|
|
2330
2298
|
padding: 12px 14px;
|
|
2331
|
-
border: 1px solid
|
|
2299
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
2332
2300
|
border-radius: 8px;
|
|
2333
2301
|
font-size: 14px;
|
|
2334
|
-
background: ${(
|
|
2335
|
-
color:
|
|
2302
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
2303
|
+
color: var(--colors-neutral800);
|
|
2336
2304
|
transition: all ${theme$3.transitions.fast};
|
|
2337
2305
|
box-sizing: border-box;
|
|
2338
2306
|
|
|
2339
2307
|
&:focus {
|
|
2340
2308
|
outline: none;
|
|
2341
|
-
border-color: ${
|
|
2342
|
-
box-shadow: 0 0 0 3px ${
|
|
2309
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
2310
|
+
box-shadow: 0 0 0 3px ${"rgba(2, 132, 199, 0.12)"};
|
|
2343
2311
|
}
|
|
2344
2312
|
|
|
2345
2313
|
&::placeholder {
|
|
2346
|
-
color:
|
|
2314
|
+
color: rgba(128, 128, 128, 0.4);
|
|
2347
2315
|
}
|
|
2348
2316
|
`;
|
|
2349
2317
|
const HomePage = () => {
|
|
@@ -2437,18 +2405,18 @@ const HomePage = () => {
|
|
|
2437
2405
|
/* @__PURE__ */ jsxRuntime.jsx(Subtitle$3, { children: "Multi-account email management with smart routing and OAuth support" })
|
|
2438
2406
|
] }) }) }),
|
|
2439
2407
|
/* @__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:
|
|
2408
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.1s", $color: "var(--colors-primary600, #0284C7)", children: [
|
|
2409
|
+
/* @__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
2410
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$3, { className: "stat-value", children: totalSentToday }),
|
|
2443
2411
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$3, { children: "Emails Today" })
|
|
2444
2412
|
] }),
|
|
2445
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.2s", $color:
|
|
2446
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg:
|
|
2413
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.2s", $color: "var(--colors-success600, #16A34A)", children: [
|
|
2414
|
+
/* @__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
2415
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$3, { className: "stat-value", children: totalSent }),
|
|
2448
2416
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$3, { children: "Total Sent" })
|
|
2449
2417
|
] }),
|
|
2450
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.3s", $color:
|
|
2451
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$3, { className: "stat-icon", $bg:
|
|
2418
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$3, { $delay: "0.3s", $color: "var(--colors-warning600, #D97706)", children: [
|
|
2419
|
+
/* @__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
2420
|
/* @__PURE__ */ jsxRuntime.jsxs(StatValue$3, { className: "stat-value", children: [
|
|
2453
2421
|
activeAccounts,
|
|
2454
2422
|
" / ",
|
|
@@ -2467,13 +2435,13 @@ const HomePage = () => {
|
|
|
2467
2435
|
width: "120px",
|
|
2468
2436
|
height: "120px",
|
|
2469
2437
|
borderRadius: "50%",
|
|
2470
|
-
background: `linear-gradient(135deg, ${
|
|
2438
|
+
background: `linear-gradient(135deg, ${"rgba(2, 132, 199, 0.12)"} 0%, rgba(168, 85, 247, 0.12) 100%)`,
|
|
2471
2439
|
display: "flex",
|
|
2472
2440
|
alignItems: "center",
|
|
2473
2441
|
justifyContent: "center",
|
|
2474
2442
|
boxShadow: theme$3.shadows.xl
|
|
2475
2443
|
},
|
|
2476
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeIcon, { style: { width: "60px", height: "60px", color:
|
|
2444
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeIcon, { style: { width: "60px", height: "60px", color: "var(--colors-primary600, #0284C7)" } })
|
|
2477
2445
|
}
|
|
2478
2446
|
),
|
|
2479
2447
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2617,7 +2585,7 @@ const HomePage = () => {
|
|
|
2617
2585
|
style: {
|
|
2618
2586
|
width: `${Math.min(usagePercent, 100)}%`,
|
|
2619
2587
|
height: "100%",
|
|
2620
|
-
background: isNearLimit ?
|
|
2588
|
+
background: isNearLimit ? "var(--colors-danger600, #DC2626)" : "var(--colors-success600, #16A34A)",
|
|
2621
2589
|
borderRadius: "999px"
|
|
2622
2590
|
}
|
|
2623
2591
|
}
|
|
@@ -2754,7 +2722,7 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2754
2722
|
/* @__PURE__ */ jsxRuntime.jsx(StyledModalHeader$1, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Title, { children: "Test Email Account" }) }),
|
|
2755
2723
|
/* @__PURE__ */ jsxRuntime.jsxs(StyledModalBody$1, { children: [
|
|
2756
2724
|
/* @__PURE__ */ jsxRuntime.jsxs(AccountInfoCard, { children: [
|
|
2757
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color:
|
|
2725
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-primary600, #0284C7)", fontWeight: 500 }, children: "Testing Account" }),
|
|
2758
2726
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", textColor: "neutral800", style: { fontSize: "1.125rem", fontWeight: 700, marginTop: "4px" }, children: account.name }),
|
|
2759
2727
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginTop: "2px" }, children: account.fromEmail })
|
|
2760
2728
|
] }),
|
|
@@ -2782,9 +2750,9 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2782
2750
|
onClick: () => setTestMode("direct"),
|
|
2783
2751
|
style: { marginBottom: "10px" },
|
|
2784
2752
|
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" ?
|
|
2753
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.PlayIcon, { style: { width: 20, height: 20, color: testMode === "direct" ? "var(--colors-primary600, #0284C7)" : "var(--colors-neutral600)", flexShrink: 0 } }),
|
|
2786
2754
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
|
|
2787
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "semiBold", style: { fontSize: "14px", color: testMode === "direct" ?
|
|
2755
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "semiBold", style: { fontSize: "14px", color: testMode === "direct" ? "var(--colors-primary600, #075985)" : "var(--colors-neutral800)" }, children: "Direct Test" }),
|
|
2788
2756
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "12px" }, children: "Send directly through this account" })
|
|
2789
2757
|
] })
|
|
2790
2758
|
] })
|
|
@@ -2796,16 +2764,16 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2796
2764
|
$selected: testMode === "strapi",
|
|
2797
2765
|
onClick: () => setTestMode("strapi"),
|
|
2798
2766
|
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" ?
|
|
2767
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 20, height: 20, color: testMode === "strapi" ? "var(--colors-primary600, #0284C7)" : "var(--colors-neutral600)", flexShrink: 0 } }),
|
|
2800
2768
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
|
|
2801
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "semiBold", style: { fontSize: "14px", color: testMode === "strapi" ?
|
|
2769
|
+
/* @__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
2770
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "12px" }, children: "Verify MagicMail intercepts Strapi's email service" })
|
|
2803
2771
|
] })
|
|
2804
2772
|
] })
|
|
2805
2773
|
}
|
|
2806
2774
|
)
|
|
2807
2775
|
] }),
|
|
2808
|
-
testMode === "direct" && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginTop: "20px", padding: "16px", background: "#F9FAFB", borderRadius: "12px" }, children: [
|
|
2776
|
+
testMode === "direct" && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginTop: "20px", padding: "16px", background: "var(--colors-neutral100, #F9FAFB)", borderRadius: "12px" }, children: [
|
|
2809
2777
|
/* @__PURE__ */ jsxRuntime.jsx(ModalFieldLabel, { style: { marginBottom: "16px", fontSize: "14px" }, children: "Advanced Options" }),
|
|
2810
2778
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginBottom: "12px" }, children: [
|
|
2811
2779
|
/* @__PURE__ */ jsxRuntime.jsx(ModalFieldLabel, { children: "Priority" }),
|
|
@@ -2874,36 +2842,6 @@ const TestEmailModal = ({ account, onClose, onTest }) => {
|
|
|
2874
2842
|
] }) });
|
|
2875
2843
|
};
|
|
2876
2844
|
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
2845
|
shadows: {
|
|
2908
2846
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
2909
2847
|
xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"
|
|
@@ -2967,8 +2905,8 @@ const Container$3 = styled__default.default(designSystem.Box)`
|
|
|
2967
2905
|
`;
|
|
2968
2906
|
const Header$3 = styled__default.default(designSystem.Box)`
|
|
2969
2907
|
background: linear-gradient(135deg,
|
|
2970
|
-
|
|
2971
|
-
${
|
|
2908
|
+
var(--colors-secondary600, #7C3AED) 0%,
|
|
2909
|
+
${"var(--colors-primary600, #0284C7)"} 100%
|
|
2972
2910
|
);
|
|
2973
2911
|
border-radius: ${theme$2.borderRadius.xl};
|
|
2974
2912
|
padding: ${theme$2.spacing.xl} ${theme$2.spacing["2xl"]};
|
|
@@ -3067,7 +3005,7 @@ const StatsGrid$2 = styled__default.default.div`
|
|
|
3067
3005
|
}
|
|
3068
3006
|
`;
|
|
3069
3007
|
const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
3070
|
-
background: ${(
|
|
3008
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
3071
3009
|
border-radius: ${theme$2.borderRadius.lg};
|
|
3072
3010
|
padding: 28px ${theme$2.spacing.lg};
|
|
3073
3011
|
position: relative;
|
|
@@ -3076,7 +3014,7 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
|
3076
3014
|
${styled.css`animation: ${fadeIn$4} ${theme$2.transitions.slow} backwards;`}
|
|
3077
3015
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
3078
3016
|
box-shadow: ${theme$2.shadows.sm};
|
|
3079
|
-
border: 1px solid
|
|
3017
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
3080
3018
|
min-width: 200px;
|
|
3081
3019
|
flex: 1;
|
|
3082
3020
|
text-align: center;
|
|
@@ -3097,7 +3035,7 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
|
3097
3035
|
&:hover {
|
|
3098
3036
|
transform: translateY(-6px);
|
|
3099
3037
|
box-shadow: ${theme$2.shadows.xl};
|
|
3100
|
-
border-color: ${(props) => props.$color ||
|
|
3038
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
3101
3039
|
|
|
3102
3040
|
.stat-icon {
|
|
3103
3041
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -3105,7 +3043,7 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
|
|
|
3105
3043
|
|
|
3106
3044
|
.stat-value {
|
|
3107
3045
|
transform: scale(1.08);
|
|
3108
|
-
color: ${(props) => props.$color ||
|
|
3046
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
3109
3047
|
}
|
|
3110
3048
|
}
|
|
3111
3049
|
`;
|
|
@@ -3116,7 +3054,7 @@ const StatIcon$2 = styled__default.default(designSystem.Box)`
|
|
|
3116
3054
|
display: flex;
|
|
3117
3055
|
align-items: center;
|
|
3118
3056
|
justify-content: center;
|
|
3119
|
-
background: ${(props) => props.$bg ||
|
|
3057
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
3120
3058
|
transition: all ${theme$2.transitions.normal};
|
|
3121
3059
|
margin: 0 auto 20px;
|
|
3122
3060
|
box-shadow: ${theme$2.shadows.sm};
|
|
@@ -3124,7 +3062,7 @@ const StatIcon$2 = styled__default.default(designSystem.Box)`
|
|
|
3124
3062
|
svg {
|
|
3125
3063
|
width: 34px;
|
|
3126
3064
|
height: 34px;
|
|
3127
|
-
color: ${(props) => props.$color ||
|
|
3065
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
3128
3066
|
}
|
|
3129
3067
|
|
|
3130
3068
|
@media screen and (max-width: ${breakpoints$2.mobile}) {
|
|
@@ -3141,7 +3079,7 @@ const StatIcon$2 = styled__default.default(designSystem.Box)`
|
|
|
3141
3079
|
const StatValue$2 = styled__default.default(designSystem.Typography)`
|
|
3142
3080
|
font-size: 2.75rem;
|
|
3143
3081
|
font-weight: 700;
|
|
3144
|
-
color:
|
|
3082
|
+
color: var(--colors-neutral800);
|
|
3145
3083
|
line-height: 1;
|
|
3146
3084
|
margin-bottom: 10px;
|
|
3147
3085
|
transition: all ${theme$2.transitions.normal};
|
|
@@ -3154,7 +3092,7 @@ const StatValue$2 = styled__default.default(designSystem.Typography)`
|
|
|
3154
3092
|
`;
|
|
3155
3093
|
const StatLabel$2 = styled__default.default(designSystem.Typography)`
|
|
3156
3094
|
font-size: 0.95rem;
|
|
3157
|
-
color:
|
|
3095
|
+
color: var(--colors-neutral600);
|
|
3158
3096
|
font-weight: 500;
|
|
3159
3097
|
letter-spacing: 0.025em;
|
|
3160
3098
|
text-align: center;
|
|
@@ -3167,9 +3105,9 @@ const RulesContainer = styled__default.default(designSystem.Box)`
|
|
|
3167
3105
|
margin-top: ${theme$2.spacing.xl};
|
|
3168
3106
|
`;
|
|
3169
3107
|
const EmptyState$2 = styled__default.default(designSystem.Box)`
|
|
3170
|
-
background: ${(
|
|
3108
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
3171
3109
|
border-radius: ${theme$2.borderRadius.xl};
|
|
3172
|
-
border: 2px dashed
|
|
3110
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
3173
3111
|
padding: 80px 32px;
|
|
3174
3112
|
text-align: center;
|
|
3175
3113
|
position: relative;
|
|
@@ -3187,7 +3125,7 @@ const EmptyState$2 = styled__default.default(designSystem.Box)`
|
|
|
3187
3125
|
left: 0;
|
|
3188
3126
|
right: 0;
|
|
3189
3127
|
bottom: 0;
|
|
3190
|
-
background: linear-gradient(135deg,
|
|
3128
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, ${"rgba(2, 132, 199, 0.06)"} 100%);
|
|
3191
3129
|
opacity: 0.3;
|
|
3192
3130
|
z-index: 0;
|
|
3193
3131
|
}
|
|
@@ -3196,19 +3134,19 @@ const OnlineBadge = styled__default.default.div`
|
|
|
3196
3134
|
width: 12px;
|
|
3197
3135
|
height: 12px;
|
|
3198
3136
|
border-radius: 50%;
|
|
3199
|
-
background: ${(props) => props.$active ?
|
|
3137
|
+
background: ${(props) => props.$active ? "var(--colors-success600, #22C55E)" : "rgba(128, 128, 128, 0.4)"};
|
|
3200
3138
|
display: inline-block;
|
|
3201
3139
|
margin-right: 8px;
|
|
3202
3140
|
${styled.css`animation: ${(props) => props.$active ? pulse$1 : "none"} 2s ease-in-out infinite;`}
|
|
3203
3141
|
`;
|
|
3204
3142
|
const StyledTable$2 = styled__default.default(designSystem.Table)`
|
|
3205
3143
|
thead {
|
|
3206
|
-
background:
|
|
3207
|
-
border-bottom: 2px solid
|
|
3144
|
+
background: var(--colors-neutral100);
|
|
3145
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
3208
3146
|
|
|
3209
3147
|
th {
|
|
3210
3148
|
font-weight: 600;
|
|
3211
|
-
color:
|
|
3149
|
+
color: var(--colors-neutral800);
|
|
3212
3150
|
font-size: 0.875rem;
|
|
3213
3151
|
text-transform: uppercase;
|
|
3214
3152
|
letter-spacing: 0.025em;
|
|
@@ -3218,30 +3156,30 @@ const StyledTable$2 = styled__default.default(designSystem.Table)`
|
|
|
3218
3156
|
|
|
3219
3157
|
tbody tr {
|
|
3220
3158
|
transition: all ${theme$2.transitions.fast};
|
|
3221
|
-
border-bottom: 1px solid
|
|
3159
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
3222
3160
|
|
|
3223
3161
|
&:last-child {
|
|
3224
3162
|
border-bottom: none;
|
|
3225
3163
|
}
|
|
3226
3164
|
|
|
3227
3165
|
&:hover {
|
|
3228
|
-
background:
|
|
3166
|
+
background: rgba(2, 132, 199, 0.12);
|
|
3229
3167
|
}
|
|
3230
3168
|
|
|
3231
3169
|
td {
|
|
3232
3170
|
padding: ${theme$2.spacing.lg} ${theme$2.spacing.lg};
|
|
3233
|
-
color:
|
|
3171
|
+
color: var(--colors-neutral800);
|
|
3234
3172
|
vertical-align: middle;
|
|
3235
3173
|
}
|
|
3236
3174
|
}
|
|
3237
3175
|
`;
|
|
3238
3176
|
const FilterBar$2 = styled__default.default(designSystem.Flex)`
|
|
3239
|
-
background: ${(
|
|
3177
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
3240
3178
|
padding: ${theme$2.spacing.md} ${theme$2.spacing.lg};
|
|
3241
3179
|
border-radius: ${theme$2.borderRadius.lg};
|
|
3242
3180
|
margin-bottom: ${theme$2.spacing.lg};
|
|
3243
3181
|
box-shadow: ${theme$2.shadows.sm};
|
|
3244
|
-
border: 1px solid
|
|
3182
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
3245
3183
|
gap: ${theme$2.spacing.md};
|
|
3246
3184
|
align-items: center;
|
|
3247
3185
|
`;
|
|
@@ -3256,25 +3194,25 @@ const SearchIcon$1 = styled__default.default(outline.MagnifyingGlassIcon)`
|
|
|
3256
3194
|
left: 12px;
|
|
3257
3195
|
width: 16px;
|
|
3258
3196
|
height: 16px;
|
|
3259
|
-
color:
|
|
3197
|
+
color: var(--colors-neutral600);
|
|
3260
3198
|
pointer-events: none;
|
|
3261
3199
|
`;
|
|
3262
3200
|
const StyledSearchInput$1 = styled__default.default.input`
|
|
3263
3201
|
width: 100%;
|
|
3264
3202
|
padding: 10px 12px 10px 40px;
|
|
3265
|
-
border: 1px solid
|
|
3203
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
3266
3204
|
border-radius: ${theme$2.borderRadius.md};
|
|
3267
3205
|
font-size: 0.875rem;
|
|
3268
3206
|
transition: all ${theme$2.transitions.fast};
|
|
3269
3207
|
|
|
3270
3208
|
&:focus {
|
|
3271
3209
|
outline: none;
|
|
3272
|
-
border-color: ${
|
|
3273
|
-
box-shadow: 0 0 0 2px ${
|
|
3210
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
3211
|
+
box-shadow: 0 0 0 2px ${"rgba(2, 132, 199, 0.12)"};
|
|
3274
3212
|
}
|
|
3275
3213
|
|
|
3276
3214
|
&::placeholder {
|
|
3277
|
-
color:
|
|
3215
|
+
color: var(--colors-neutral500);
|
|
3278
3216
|
}
|
|
3279
3217
|
`;
|
|
3280
3218
|
const RoutingRulesPage = () => {
|
|
@@ -3349,18 +3287,18 @@ const RoutingRulesPage = () => {
|
|
|
3349
3287
|
/* @__PURE__ */ jsxRuntime.jsx(Subtitle$2, { children: "Define intelligent routing rules to send emails through specific accounts based on conditions" })
|
|
3350
3288
|
] }) }) }),
|
|
3351
3289
|
/* @__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:
|
|
3290
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.1s", $color: "var(--colors-secondary600, #7C3AED)", children: [
|
|
3291
|
+
/* @__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
3292
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$2, { className: "stat-value", children: totalRules }),
|
|
3355
3293
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$2, { children: "Total Rules" })
|
|
3356
3294
|
] }),
|
|
3357
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.2s", $color:
|
|
3358
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg:
|
|
3295
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.2s", $color: "var(--colors-success600, #16A34A)", children: [
|
|
3296
|
+
/* @__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
3297
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$2, { className: "stat-value", children: activeRules }),
|
|
3360
3298
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$2, { children: "Active Rules" })
|
|
3361
3299
|
] }),
|
|
3362
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.3s", $color:
|
|
3363
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$2, { className: "stat-icon", $bg:
|
|
3300
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$2, { $delay: "0.3s", $color: "var(--colors-warning600, #D97706)", children: [
|
|
3301
|
+
/* @__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
3302
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$2, { className: "stat-value", children: highPriorityRules }),
|
|
3365
3303
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$2, { children: "High Priority" })
|
|
3366
3304
|
] })
|
|
@@ -3375,13 +3313,13 @@ const RoutingRulesPage = () => {
|
|
|
3375
3313
|
width: "120px",
|
|
3376
3314
|
height: "120px",
|
|
3377
3315
|
borderRadius: "50%",
|
|
3378
|
-
background: `linear-gradient(135deg,
|
|
3316
|
+
background: `linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, ${"rgba(2, 132, 199, 0.12)"} 100%)`,
|
|
3379
3317
|
display: "flex",
|
|
3380
3318
|
alignItems: "center",
|
|
3381
3319
|
justifyContent: "center",
|
|
3382
3320
|
boxShadow: theme$2.shadows.xl
|
|
3383
3321
|
},
|
|
3384
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(outline.FunnelIcon, { style: { width: "60px", height: "60px", color:
|
|
3322
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(outline.FunnelIcon, { style: { width: "60px", height: "60px", color: "var(--colors-secondary600, #7C3AED)" } })
|
|
3385
3323
|
}
|
|
3386
3324
|
),
|
|
3387
3325
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3721,11 +3659,11 @@ const RuleModal = ({ rule, accounts, onClose, onSave }) => {
|
|
|
3721
3659
|
designSystem.Box,
|
|
3722
3660
|
{
|
|
3723
3661
|
padding: 4,
|
|
3724
|
-
background: formData.whatsappFallback ?
|
|
3662
|
+
background: formData.whatsappFallback ? "rgba(22, 163, 74, 0.12)" : "var(--colors-neutral100)",
|
|
3725
3663
|
hasRadius: true,
|
|
3726
3664
|
style: {
|
|
3727
3665
|
width: "100%",
|
|
3728
|
-
border: formData.whatsappFallback ? `2px solid ${
|
|
3666
|
+
border: formData.whatsappFallback ? `2px solid ${"var(--colors-success600, #16A34A)"}` : `1px solid ${"rgba(128, 128, 128, 0.2)"}`,
|
|
3729
3667
|
borderRadius: theme$2.borderRadius.md,
|
|
3730
3668
|
transition: "all 0.2s ease"
|
|
3731
3669
|
},
|
|
@@ -3765,11 +3703,11 @@ const RuleModal = ({ rule, accounts, onClose, onSave }) => {
|
|
|
3765
3703
|
designSystem.Box,
|
|
3766
3704
|
{
|
|
3767
3705
|
padding: 4,
|
|
3768
|
-
background: formData.isActive ?
|
|
3706
|
+
background: formData.isActive ? "rgba(22, 163, 74, 0.12)" : "rgba(220, 38, 38, 0.12)",
|
|
3769
3707
|
hasRadius: true,
|
|
3770
3708
|
style: {
|
|
3771
3709
|
width: "100%",
|
|
3772
|
-
border: formData.isActive ? `2px solid ${
|
|
3710
|
+
border: formData.isActive ? `2px solid ${"var(--colors-success600, #16A34A)"}` : `2px solid ${"var(--colors-danger600, #DC2626)"}`,
|
|
3773
3711
|
borderRadius: theme$2.borderRadius.md,
|
|
3774
3712
|
transition: "all 0.2s ease"
|
|
3775
3713
|
},
|
|
@@ -3934,12 +3872,6 @@ const useLicense = () => {
|
|
|
3934
3872
|
};
|
|
3935
3873
|
};
|
|
3936
3874
|
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
3875
|
shadows: {
|
|
3944
3876
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
3945
3877
|
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
@@ -3974,7 +3906,7 @@ const ScrollableDialogBody = styled__default.default(designSystem.Box)`
|
|
|
3974
3906
|
overflow-y: auto;
|
|
3975
3907
|
max-height: calc(85vh - 160px);
|
|
3976
3908
|
padding: 24px 28px 28px 28px;
|
|
3977
|
-
background: ${(
|
|
3909
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
3978
3910
|
|
|
3979
3911
|
/* Custom Scrollbar */
|
|
3980
3912
|
&::-webkit-scrollbar {
|
|
@@ -3986,12 +3918,12 @@ const ScrollableDialogBody = styled__default.default(designSystem.Box)`
|
|
|
3986
3918
|
}
|
|
3987
3919
|
|
|
3988
3920
|
&::-webkit-scrollbar-thumb {
|
|
3989
|
-
background:
|
|
3921
|
+
background: rgba(128, 128, 128, 0.2);
|
|
3990
3922
|
border-radius: 3px;
|
|
3991
3923
|
}
|
|
3992
3924
|
|
|
3993
3925
|
&::-webkit-scrollbar-thumb:hover {
|
|
3994
|
-
background:
|
|
3926
|
+
background: rgba(128, 128, 128, 0.3);
|
|
3995
3927
|
}
|
|
3996
3928
|
`;
|
|
3997
3929
|
styled__default.default(designSystem.Box)`
|
|
@@ -4009,13 +3941,13 @@ styled__default.default(designSystem.Flex)`
|
|
|
4009
3941
|
styled__default.default(designSystem.Typography)`
|
|
4010
3942
|
font-size: 15px;
|
|
4011
3943
|
font-weight: 600;
|
|
4012
|
-
color:
|
|
3944
|
+
color: var(--colors-neutral800);
|
|
4013
3945
|
display: flex;
|
|
4014
3946
|
align-items: center;
|
|
4015
3947
|
gap: 8px;
|
|
4016
3948
|
`;
|
|
4017
3949
|
const RecommendedBadge = styled__default.default(designSystem.Badge)`
|
|
4018
|
-
background: linear-gradient(135deg, ${
|
|
3950
|
+
background: linear-gradient(135deg, ${"var(--colors-success600, #22C55E)"}, ${"var(--colors-success600, #16A34A)"});
|
|
4019
3951
|
color: white;
|
|
4020
3952
|
padding: 4px 12px;
|
|
4021
3953
|
font-size: 11px;
|
|
@@ -4105,15 +4037,15 @@ const CopyButton = styled__default.default(designSystem.Button)`
|
|
|
4105
4037
|
}
|
|
4106
4038
|
`;
|
|
4107
4039
|
const InfoBox$1 = styled__default.default(designSystem.Box)`
|
|
4108
|
-
background: linear-gradient(135deg, ${
|
|
4109
|
-
border-left: 4px solid ${
|
|
4040
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"}, ${"rgba(2, 132, 199, 0.12)"});
|
|
4041
|
+
border-left: 4px solid ${"var(--colors-primary600, #0EA5E9)"};
|
|
4110
4042
|
border-radius: 8px;
|
|
4111
4043
|
padding: 16px;
|
|
4112
4044
|
margin-top: 24px;
|
|
4113
4045
|
`;
|
|
4114
4046
|
const WarningBox = styled__default.default(designSystem.Box)`
|
|
4115
|
-
background: linear-gradient(135deg, ${
|
|
4116
|
-
border-left: 4px solid ${
|
|
4047
|
+
background: linear-gradient(135deg, ${"rgba(234, 179, 8, 0.06)"}, ${"rgba(234, 179, 8, 0.12)"});
|
|
4048
|
+
border-left: 4px solid ${"var(--colors-warning600, #F59E0B)"};
|
|
4117
4049
|
border-radius: 8px;
|
|
4118
4050
|
padding: 12px 16px;
|
|
4119
4051
|
margin-top: 12px;
|
|
@@ -4122,8 +4054,8 @@ const WarningBox = styled__default.default(designSystem.Box)`
|
|
|
4122
4054
|
gap: 8px;
|
|
4123
4055
|
`;
|
|
4124
4056
|
const LimitWarning = styled__default.default(designSystem.Box)`
|
|
4125
|
-
background: linear-gradient(135deg, ${
|
|
4126
|
-
border: 1px solid
|
|
4057
|
+
background: linear-gradient(135deg, ${"rgba(234, 179, 8, 0.06)"}, rgba(251, 191, 36, 0.1));
|
|
4058
|
+
border: 1px solid rgba(234, 179, 8, 0.2);
|
|
4127
4059
|
border-radius: 12px;
|
|
4128
4060
|
padding: 16px;
|
|
4129
4061
|
margin-bottom: 24px;
|
|
@@ -4132,7 +4064,7 @@ const LimitWarning = styled__default.default(designSystem.Box)`
|
|
|
4132
4064
|
justify-content: space-between;
|
|
4133
4065
|
`;
|
|
4134
4066
|
const UpgradeButton = styled__default.default(designSystem.Button)`
|
|
4135
|
-
background: linear-gradient(135deg, ${
|
|
4067
|
+
background: linear-gradient(135deg, ${"var(--colors-warning600, #F59E0B)"}, ${"var(--colors-warning600, #D97706)"});
|
|
4136
4068
|
color: white;
|
|
4137
4069
|
font-weight: 600;
|
|
4138
4070
|
padding: 8px 16px;
|
|
@@ -4142,7 +4074,7 @@ const UpgradeButton = styled__default.default(designSystem.Button)`
|
|
|
4142
4074
|
gap: 6px;
|
|
4143
4075
|
|
|
4144
4076
|
&:hover {
|
|
4145
|
-
background: linear-gradient(135deg, ${
|
|
4077
|
+
background: linear-gradient(135deg, ${"var(--colors-warning600, #D97706)"}, ${"var(--colors-warning600, #A16207)"});
|
|
4146
4078
|
transform: translateY(-1px);
|
|
4147
4079
|
}
|
|
4148
4080
|
`;
|
|
@@ -4163,8 +4095,8 @@ const Container$2 = styled__default.default(designSystem.Box)`
|
|
|
4163
4095
|
`;
|
|
4164
4096
|
const Header$2 = styled__default.default(designSystem.Box)`
|
|
4165
4097
|
background: linear-gradient(135deg,
|
|
4166
|
-
|
|
4167
|
-
${
|
|
4098
|
+
var(--colors-secondary600, #7C3AED) 0%,
|
|
4099
|
+
${"var(--colors-primary600, #0284C7)"} 100%
|
|
4168
4100
|
);
|
|
4169
4101
|
border-radius: ${theme$1.borderRadius.xl};
|
|
4170
4102
|
padding: ${theme$1.spacing.xl} ${theme$1.spacing["2xl"]};
|
|
@@ -4258,7 +4190,7 @@ const StatsGrid$1 = styled__default.default.div`
|
|
|
4258
4190
|
}
|
|
4259
4191
|
`;
|
|
4260
4192
|
const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
4261
|
-
background: ${(
|
|
4193
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
4262
4194
|
border-radius: ${theme$1.borderRadius.lg};
|
|
4263
4195
|
padding: 28px ${theme$1.spacing.lg};
|
|
4264
4196
|
position: relative;
|
|
@@ -4267,7 +4199,7 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
|
4267
4199
|
${styled.css`animation: ${fadeIn$3} ${theme$1.transitions.slow} backwards;`}
|
|
4268
4200
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
4269
4201
|
box-shadow: ${theme$1.shadows.sm};
|
|
4270
|
-
border: 1px solid
|
|
4202
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4271
4203
|
min-width: 200px;
|
|
4272
4204
|
flex: 1;
|
|
4273
4205
|
text-align: center;
|
|
@@ -4288,7 +4220,7 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
|
4288
4220
|
&:hover {
|
|
4289
4221
|
transform: translateY(-6px);
|
|
4290
4222
|
box-shadow: ${theme$1.shadows.xl};
|
|
4291
|
-
border-color: ${(props) => props.$color ||
|
|
4223
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
4292
4224
|
|
|
4293
4225
|
.stat-icon {
|
|
4294
4226
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -4296,7 +4228,7 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
|
|
|
4296
4228
|
|
|
4297
4229
|
.stat-value {
|
|
4298
4230
|
transform: scale(1.08);
|
|
4299
|
-
color: ${(props) => props.$color ||
|
|
4231
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
4300
4232
|
}
|
|
4301
4233
|
}
|
|
4302
4234
|
`;
|
|
@@ -4307,7 +4239,7 @@ const StatIcon$1 = styled__default.default(designSystem.Box)`
|
|
|
4307
4239
|
display: flex;
|
|
4308
4240
|
align-items: center;
|
|
4309
4241
|
justify-content: center;
|
|
4310
|
-
background: ${(props) => props.$bg ||
|
|
4242
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
4311
4243
|
transition: all ${theme$1.transitions.normal};
|
|
4312
4244
|
margin: 0 auto 20px;
|
|
4313
4245
|
box-shadow: ${theme$1.shadows.sm};
|
|
@@ -4315,7 +4247,7 @@ const StatIcon$1 = styled__default.default(designSystem.Box)`
|
|
|
4315
4247
|
svg {
|
|
4316
4248
|
width: 34px;
|
|
4317
4249
|
height: 34px;
|
|
4318
|
-
color: ${(props) => props.$color ||
|
|
4250
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
4319
4251
|
}
|
|
4320
4252
|
|
|
4321
4253
|
@media screen and (max-width: ${breakpoints$1.mobile}) {
|
|
@@ -4332,7 +4264,7 @@ const StatIcon$1 = styled__default.default(designSystem.Box)`
|
|
|
4332
4264
|
const StatValue$1 = styled__default.default(designSystem.Typography)`
|
|
4333
4265
|
font-size: 2.75rem;
|
|
4334
4266
|
font-weight: 700;
|
|
4335
|
-
color:
|
|
4267
|
+
color: var(--colors-neutral800);
|
|
4336
4268
|
line-height: 1;
|
|
4337
4269
|
margin-bottom: 10px;
|
|
4338
4270
|
transition: all ${theme$1.transitions.normal};
|
|
@@ -4345,7 +4277,7 @@ const StatValue$1 = styled__default.default(designSystem.Typography)`
|
|
|
4345
4277
|
`;
|
|
4346
4278
|
const StatLabel$1 = styled__default.default(designSystem.Typography)`
|
|
4347
4279
|
font-size: 0.95rem;
|
|
4348
|
-
color:
|
|
4280
|
+
color: var(--colors-neutral600);
|
|
4349
4281
|
font-weight: 500;
|
|
4350
4282
|
letter-spacing: 0.025em;
|
|
4351
4283
|
text-align: center;
|
|
@@ -4361,12 +4293,12 @@ const SectionHeader = styled__default.default(designSystem.Box)`
|
|
|
4361
4293
|
margin-bottom: ${theme$1.spacing.md};
|
|
4362
4294
|
`;
|
|
4363
4295
|
const FilterBar$1 = styled__default.default(designSystem.Flex)`
|
|
4364
|
-
background: ${(
|
|
4296
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
4365
4297
|
padding: ${theme$1.spacing.md} ${theme$1.spacing.lg};
|
|
4366
4298
|
border-radius: ${theme$1.borderRadius.lg};
|
|
4367
4299
|
margin-bottom: ${theme$1.spacing.lg};
|
|
4368
4300
|
box-shadow: ${theme$1.shadows.sm};
|
|
4369
|
-
border: 1px solid
|
|
4301
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4370
4302
|
gap: ${theme$1.spacing.md};
|
|
4371
4303
|
align-items: center;
|
|
4372
4304
|
`;
|
|
@@ -4381,7 +4313,7 @@ const SearchIcon = styled__default.default(outline.MagnifyingGlassIcon)`
|
|
|
4381
4313
|
left: 12px;
|
|
4382
4314
|
width: 16px;
|
|
4383
4315
|
height: 16px;
|
|
4384
|
-
color:
|
|
4316
|
+
color: var(--colors-neutral600);
|
|
4385
4317
|
pointer-events: none;
|
|
4386
4318
|
z-index: 1;
|
|
4387
4319
|
`;
|
|
@@ -4392,24 +4324,24 @@ const StyledSearchInput = styled__default.default(designSystem.TextInput)`
|
|
|
4392
4324
|
const TableWrapper = styled__default.default(designSystem.Box)`
|
|
4393
4325
|
overflow-x: auto;
|
|
4394
4326
|
border-radius: ${theme$1.borderRadius.lg};
|
|
4395
|
-
border: 1px solid
|
|
4396
|
-
background: ${(
|
|
4327
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4328
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
4397
4329
|
|
|
4398
4330
|
&::-webkit-scrollbar {
|
|
4399
4331
|
height: 8px;
|
|
4400
4332
|
}
|
|
4401
4333
|
|
|
4402
4334
|
&::-webkit-scrollbar-track {
|
|
4403
|
-
background:
|
|
4335
|
+
background: var(--colors-neutral100);
|
|
4404
4336
|
border-radius: 4px;
|
|
4405
4337
|
}
|
|
4406
4338
|
|
|
4407
4339
|
&::-webkit-scrollbar-thumb {
|
|
4408
|
-
background:
|
|
4340
|
+
background: rgba(128, 128, 128, 0.3);
|
|
4409
4341
|
border-radius: 4px;
|
|
4410
4342
|
|
|
4411
4343
|
&:hover {
|
|
4412
|
-
background:
|
|
4344
|
+
background: rgba(128, 128, 128, 0.4);
|
|
4413
4345
|
}
|
|
4414
4346
|
}
|
|
4415
4347
|
`;
|
|
@@ -4418,12 +4350,12 @@ const StyledTable$1 = styled__default.default(designSystem.Table)`
|
|
|
4418
4350
|
min-width: 900px;
|
|
4419
4351
|
|
|
4420
4352
|
thead {
|
|
4421
|
-
background:
|
|
4422
|
-
border-bottom: 2px solid
|
|
4353
|
+
background: var(--colors-neutral100);
|
|
4354
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
4423
4355
|
|
|
4424
4356
|
th {
|
|
4425
4357
|
font-weight: 600;
|
|
4426
|
-
color:
|
|
4358
|
+
color: var(--colors-neutral800);
|
|
4427
4359
|
font-size: 0.75rem;
|
|
4428
4360
|
text-transform: uppercase;
|
|
4429
4361
|
letter-spacing: 0.025em;
|
|
@@ -4434,19 +4366,19 @@ const StyledTable$1 = styled__default.default(designSystem.Table)`
|
|
|
4434
4366
|
|
|
4435
4367
|
tbody tr {
|
|
4436
4368
|
transition: all ${theme$1.transitions.fast};
|
|
4437
|
-
border-bottom: 1px solid
|
|
4369
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
4438
4370
|
|
|
4439
4371
|
&:last-child {
|
|
4440
4372
|
border-bottom: none;
|
|
4441
4373
|
}
|
|
4442
4374
|
|
|
4443
4375
|
&:hover {
|
|
4444
|
-
background:
|
|
4376
|
+
background: rgba(2, 132, 199, 0.12);
|
|
4445
4377
|
}
|
|
4446
4378
|
|
|
4447
4379
|
td {
|
|
4448
4380
|
padding: 10px 12px;
|
|
4449
|
-
color:
|
|
4381
|
+
color: var(--colors-neutral800);
|
|
4450
4382
|
vertical-align: middle;
|
|
4451
4383
|
font-size: 13px;
|
|
4452
4384
|
}
|
|
@@ -4454,14 +4386,14 @@ const StyledTable$1 = styled__default.default(designSystem.Table)`
|
|
|
4454
4386
|
`;
|
|
4455
4387
|
const PaginationWrapper = styled__default.default(designSystem.Flex)`
|
|
4456
4388
|
padding: 16px 20px;
|
|
4457
|
-
background:
|
|
4458
|
-
border-top: 1px solid
|
|
4389
|
+
background: var(--colors-neutral100);
|
|
4390
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
4459
4391
|
border-radius: 0 0 ${theme$1.borderRadius.lg} ${theme$1.borderRadius.lg};
|
|
4460
4392
|
`;
|
|
4461
4393
|
const PaginationButton = styled__default.default.button`
|
|
4462
|
-
background: ${(props) => props.active ? "linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%)" : "
|
|
4463
|
-
color: ${(props) => props.active ? "white" :
|
|
4464
|
-
border: 1px solid ${(props) => props.active ? "transparent" :
|
|
4394
|
+
background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%)" : "${(p) => p.theme.colors.neutral0}"};
|
|
4395
|
+
color: ${(props) => props.active ? "white" : "var(--colors-neutral700)"};
|
|
4396
|
+
border: 1px solid ${(props) => props.active ? "transparent" : "rgba(128, 128, 128, 0.3)"};
|
|
4465
4397
|
padding: 6px 12px;
|
|
4466
4398
|
min-width: 36px;
|
|
4467
4399
|
height: 36px;
|
|
@@ -4472,8 +4404,8 @@ const PaginationButton = styled__default.default.button`
|
|
|
4472
4404
|
transition: all 0.2s ease;
|
|
4473
4405
|
|
|
4474
4406
|
&:hover:not(:disabled) {
|
|
4475
|
-
background: ${(props) => props.active ? "linear-gradient(135deg, #0284C7 0%, #9333EA 100%)" :
|
|
4476
|
-
border-color: ${(props) => props.active ? "transparent" :
|
|
4407
|
+
background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary700, #0284C7) 0%, var(--colors-secondary600, #9333EA) 100%)" : "var(--colors-neutral100)"};
|
|
4408
|
+
border-color: ${(props) => props.active ? "transparent" : "rgba(128, 128, 128, 0.4)"};
|
|
4477
4409
|
}
|
|
4478
4410
|
|
|
4479
4411
|
&:disabled {
|
|
@@ -4482,9 +4414,9 @@ const PaginationButton = styled__default.default.button`
|
|
|
4482
4414
|
}
|
|
4483
4415
|
`;
|
|
4484
4416
|
const EmptyState$1 = styled__default.default(designSystem.Box)`
|
|
4485
|
-
background: ${(
|
|
4417
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
4486
4418
|
border-radius: ${theme$1.borderRadius.xl};
|
|
4487
|
-
border: 2px dashed
|
|
4419
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
4488
4420
|
padding: 80px 32px;
|
|
4489
4421
|
text-align: center;
|
|
4490
4422
|
position: relative;
|
|
@@ -4502,7 +4434,7 @@ const EmptyState$1 = styled__default.default(designSystem.Box)`
|
|
|
4502
4434
|
left: 0;
|
|
4503
4435
|
right: 0;
|
|
4504
4436
|
bottom: 0;
|
|
4505
|
-
background: linear-gradient(135deg,
|
|
4437
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, ${"rgba(2, 132, 199, 0.06)"} 100%);
|
|
4506
4438
|
opacity: 0.3;
|
|
4507
4439
|
z-index: 0;
|
|
4508
4440
|
}
|
|
@@ -4518,7 +4450,7 @@ const EmptyIcon$1 = styled__default.default.div`
|
|
|
4518
4450
|
height: 120px;
|
|
4519
4451
|
margin: 0 auto ${theme$1.spacing.lg};
|
|
4520
4452
|
border-radius: 50%;
|
|
4521
|
-
background: linear-gradient(135deg,
|
|
4453
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, ${"rgba(2, 132, 199, 0.12)"} 100%);
|
|
4522
4454
|
display: flex;
|
|
4523
4455
|
align-items: center;
|
|
4524
4456
|
justify-content: center;
|
|
@@ -4527,7 +4459,7 @@ const EmptyIcon$1 = styled__default.default.div`
|
|
|
4527
4459
|
svg {
|
|
4528
4460
|
width: 60px;
|
|
4529
4461
|
height: 60px;
|
|
4530
|
-
color: ${
|
|
4462
|
+
color: ${"var(--colors-primary600, #0284C7)"};
|
|
4531
4463
|
}
|
|
4532
4464
|
`;
|
|
4533
4465
|
const EmptyFeatureList = styled__default.default.div`
|
|
@@ -4547,7 +4479,7 @@ const EmptyFeatureItem = styled__default.default.div`
|
|
|
4547
4479
|
text-align: center;
|
|
4548
4480
|
gap: ${theme$1.spacing.sm};
|
|
4549
4481
|
padding: ${theme$1.spacing.lg};
|
|
4550
|
-
background: ${(
|
|
4482
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
4551
4483
|
border-radius: ${theme$1.borderRadius.md};
|
|
4552
4484
|
box-shadow: ${theme$1.shadows.sm};
|
|
4553
4485
|
transition: ${theme$1.transitions.fast};
|
|
@@ -4560,7 +4492,7 @@ const EmptyFeatureItem = styled__default.default.div`
|
|
|
4560
4492
|
svg {
|
|
4561
4493
|
width: 28px;
|
|
4562
4494
|
height: 28px;
|
|
4563
|
-
color: ${
|
|
4495
|
+
color: ${"var(--colors-success600, #22C55E)"};
|
|
4564
4496
|
flex-shrink: 0;
|
|
4565
4497
|
margin-bottom: ${theme$1.spacing.xs};
|
|
4566
4498
|
}
|
|
@@ -4585,7 +4517,7 @@ const StyledModalContent = styled__default.default(designSystem.Modal.Content)`
|
|
|
4585
4517
|
`;
|
|
4586
4518
|
const StyledModalHeader = styled__default.default(designSystem.Modal.Header)`
|
|
4587
4519
|
&& {
|
|
4588
|
-
background: linear-gradient(135deg, ${
|
|
4520
|
+
background: linear-gradient(135deg, ${"var(--colors-primary600, #0EA5E9)"} 0%, var(--colors-secondary600, #A855F7) 100%);
|
|
4589
4521
|
padding: 24px 28px;
|
|
4590
4522
|
border-bottom: none;
|
|
4591
4523
|
|
|
@@ -4621,7 +4553,7 @@ const StyledModalHeader = styled__default.default(designSystem.Modal.Header)`
|
|
|
4621
4553
|
const StyledModalBody = styled__default.default(designSystem.Modal.Body)`
|
|
4622
4554
|
&& {
|
|
4623
4555
|
padding: 28px;
|
|
4624
|
-
background: ${(
|
|
4556
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
4625
4557
|
}
|
|
4626
4558
|
`;
|
|
4627
4559
|
const ModalField = styled__default.default(designSystem.Box)`
|
|
@@ -4635,7 +4567,7 @@ const ModalLabel = styled__default.default(designSystem.Typography)`
|
|
|
4635
4567
|
&& {
|
|
4636
4568
|
font-weight: 600;
|
|
4637
4569
|
font-size: 13px;
|
|
4638
|
-
color:
|
|
4570
|
+
color: var(--colors-neutral700);
|
|
4639
4571
|
margin-bottom: 8px;
|
|
4640
4572
|
display: block;
|
|
4641
4573
|
}
|
|
@@ -4643,49 +4575,49 @@ const ModalLabel = styled__default.default(designSystem.Typography)`
|
|
|
4643
4575
|
const ModalHint = styled__default.default(designSystem.Typography)`
|
|
4644
4576
|
&& {
|
|
4645
4577
|
font-size: 12px;
|
|
4646
|
-
color:
|
|
4578
|
+
color: var(--colors-neutral600);
|
|
4647
4579
|
margin-top: 6px;
|
|
4648
4580
|
display: block;
|
|
4649
4581
|
}
|
|
4650
4582
|
`;
|
|
4651
4583
|
const ModalTemplateInfo = styled__default.default(designSystem.Box)`
|
|
4652
|
-
background: linear-gradient(135deg, ${
|
|
4653
|
-
border: 1px solid ${
|
|
4584
|
+
background: linear-gradient(135deg, ${"rgba(2, 132, 199, 0.06)"} 0%, rgba(168, 85, 247, 0.06) 100%);
|
|
4585
|
+
border: 1px solid ${"rgba(2, 132, 199, 0.12)"};
|
|
4654
4586
|
border-radius: 10px;
|
|
4655
4587
|
padding: 14px 16px;
|
|
4656
4588
|
|
|
4657
4589
|
p {
|
|
4658
4590
|
margin: 0;
|
|
4659
4591
|
font-weight: 500;
|
|
4660
|
-
color:
|
|
4592
|
+
color: var(--colors-neutral800);
|
|
4661
4593
|
}
|
|
4662
4594
|
`;
|
|
4663
4595
|
const StyledSelect = styled__default.default.select`
|
|
4664
4596
|
width: 100%;
|
|
4665
4597
|
padding: 10px 14px;
|
|
4666
4598
|
border-radius: 8px;
|
|
4667
|
-
border: 1px solid
|
|
4599
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
4668
4600
|
font-size: 14px;
|
|
4669
|
-
background: ${(
|
|
4601
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
4670
4602
|
cursor: pointer;
|
|
4671
4603
|
transition: all ${theme$1.transitions.fast};
|
|
4672
|
-
color:
|
|
4604
|
+
color: var(--colors-neutral700);
|
|
4673
4605
|
|
|
4674
4606
|
&:hover {
|
|
4675
|
-
border-color: ${
|
|
4607
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
4676
4608
|
}
|
|
4677
4609
|
|
|
4678
4610
|
&:focus {
|
|
4679
4611
|
outline: none;
|
|
4680
|
-
border-color: ${
|
|
4681
|
-
box-shadow: 0 0 0 3px ${
|
|
4612
|
+
border-color: ${"var(--colors-primary600, #0EA5E9)"};
|
|
4613
|
+
box-shadow: 0 0 0 3px ${"rgba(2, 132, 199, 0.12)"};
|
|
4682
4614
|
}
|
|
4683
4615
|
`;
|
|
4684
4616
|
const StyledModalFooter = styled__default.default(designSystem.Modal.Footer)`
|
|
4685
4617
|
&& {
|
|
4686
4618
|
padding: 20px 28px;
|
|
4687
|
-
background:
|
|
4688
|
-
border-top: 1px solid
|
|
4619
|
+
background: var(--colors-neutral100);
|
|
4620
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
4689
4621
|
gap: 12px;
|
|
4690
4622
|
}
|
|
4691
4623
|
`;
|
|
@@ -5032,18 +4964,18 @@ const TemplateList = () => {
|
|
|
5032
4964
|
] }) })
|
|
5033
4965
|
] }) }) }),
|
|
5034
4966
|
/* @__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:
|
|
4967
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.1s", $color: "var(--colors-primary600, #0EA5E9)", children: [
|
|
4968
|
+
/* @__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
4969
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$1, { className: "stat-value", variant: "alpha", children: showSkeleton ? "..." : stats?.total || 0 }),
|
|
5038
4970
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$1, { variant: "pi", children: "Total Templates" })
|
|
5039
4971
|
] }),
|
|
5040
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.2s", $color:
|
|
5041
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon$1, { className: "stat-icon", $bg:
|
|
4972
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.2s", $color: "var(--colors-success600, #22C55E)", children: [
|
|
4973
|
+
/* @__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
4974
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$1, { className: "stat-value", variant: "alpha", children: showSkeleton ? "..." : stats?.active || 0 }),
|
|
5043
4975
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$1, { variant: "pi", children: "Active" })
|
|
5044
4976
|
] }),
|
|
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:
|
|
4977
|
+
limits?.emailTemplates && !limits.emailTemplates.unlimited && /* @__PURE__ */ jsxRuntime.jsxs(StatCard$1, { $delay: "0.3s", $color: "var(--colors-warning600, #F59E0B)", children: [
|
|
4978
|
+
/* @__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
4979
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue$1, { className: "stat-value", variant: "alpha", children: showSkeleton ? "..." : limits.emailTemplates.max - limits.emailTemplates.current }),
|
|
5048
4980
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel$1, { variant: "pi", children: "Remaining" })
|
|
5049
4981
|
] })
|
|
@@ -5051,7 +4983,7 @@ const TemplateList = () => {
|
|
|
5051
4983
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { margin: "0 -32px 32px -32px" }, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Divider, {}) }),
|
|
5052
4984
|
limits?.emailTemplates && !limits.emailTemplates.unlimited && limits.emailTemplates.current >= limits.emailTemplates.max * 0.8 && /* @__PURE__ */ jsxRuntime.jsxs(LimitWarning, { children: [
|
|
5053
4985
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
|
|
5054
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 24, height: 24, color:
|
|
4986
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 24, height: 24, color: "var(--colors-warning600, #D97706)" } }),
|
|
5055
4987
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
5056
4988
|
/* @__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
4989
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginTop: "4px" }, children: [
|
|
@@ -5356,10 +5288,10 @@ const TemplateList = () => {
|
|
|
5356
5288
|
padding: "80px 32px",
|
|
5357
5289
|
textAlign: "center",
|
|
5358
5290
|
borderRadius: theme$1.borderRadius.lg,
|
|
5359
|
-
border: "1px dashed
|
|
5291
|
+
border: "1px dashed rgba(128, 128, 128, 0.2)"
|
|
5360
5292
|
},
|
|
5361
5293
|
children: [
|
|
5362
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: "
|
|
5294
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.MagnifyingGlassIcon, { style: { width: "64px", height: "64px", margin: "0 auto 16px", color: "var(--colors-neutral500)" } }),
|
|
5363
5295
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", textColor: "neutral700", style: { marginBottom: "8px" }, children: "No templates found" }),
|
|
5364
5296
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: "Try adjusting your search or filters" }),
|
|
5365
5297
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5383,7 +5315,7 @@ const TemplateList = () => {
|
|
|
5383
5315
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", textColor: "neutral700", style: { fontSize: "1.5rem", fontWeight: 600 }, children: "Core Email Templates" }),
|
|
5384
5316
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: "Design the default Strapi system emails (Password Reset & Email Confirmation)" })
|
|
5385
5317
|
] }),
|
|
5386
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { background: "neutral0", borderRadius: theme$1.borderRadius.lg, shadow: "md", style: { border: "1px solid
|
|
5318
|
+
/* @__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
5319
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Thead, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Tr, { children: [
|
|
5388
5320
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Th, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", children: "Email Type" }) }),
|
|
5389
5321
|
/* @__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 +5353,20 @@ const TemplateList = () => {
|
|
|
5421
5353
|
] }) }),
|
|
5422
5354
|
/* @__PURE__ */ jsxRuntime.jsxs(ScrollableDialogBody, { children: [
|
|
5423
5355
|
/* @__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:
|
|
5356
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-primary600, #075985)" }, children: [
|
|
5425
5357
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Template ID:" }),
|
|
5426
5358
|
" #",
|
|
5427
5359
|
selectedTemplate.templateReferenceId
|
|
5428
5360
|
] }),
|
|
5429
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color:
|
|
5361
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-primary600, #075985)" }, children: [
|
|
5430
5362
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Status:" }),
|
|
5431
5363
|
" ",
|
|
5432
5364
|
selectedTemplate.isActive ? "Active" : "Inactive"
|
|
5433
5365
|
] })
|
|
5434
5366
|
] }) }),
|
|
5435
5367
|
!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:
|
|
5368
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.SparklesIcon, { style: { width: 20, height: 20, color: "var(--colors-warning600, #D97706)" } }),
|
|
5369
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", style: { color: "var(--colors-warning600, #A16207)", fontWeight: 500 }, children: [
|
|
5438
5370
|
"This template is currently ",
|
|
5439
5371
|
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "INACTIVE" }),
|
|
5440
5372
|
" and will not be sent."
|
|
@@ -5442,7 +5374,7 @@ const TemplateList = () => {
|
|
|
5442
5374
|
] }),
|
|
5443
5375
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Root, { defaultValue: "native", collapsible: true, children: [
|
|
5444
5376
|
/* @__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:
|
|
5377
|
+
/* @__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
5378
|
"Native Strapi Email Service",
|
|
5447
5379
|
/* @__PURE__ */ jsxRuntime.jsx(RecommendedBadge, { children: "Recommended" })
|
|
5448
5380
|
] }) }) }),
|
|
@@ -5492,7 +5424,7 @@ const TemplateList = () => {
|
|
|
5492
5424
|
] }) })
|
|
5493
5425
|
] }),
|
|
5494
5426
|
/* @__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:
|
|
5427
|
+
/* @__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
5428
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 4, children: [
|
|
5497
5429
|
/* @__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
5430
|
/* @__PURE__ */ jsxRuntime.jsxs(CodeBlockWrapper, { children: [
|
|
@@ -5540,7 +5472,7 @@ const TemplateList = () => {
|
|
|
5540
5472
|
] }) })
|
|
5541
5473
|
] }),
|
|
5542
5474
|
/* @__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:
|
|
5475
|
+
/* @__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
5476
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 4, children: [
|
|
5545
5477
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px", display: "block" }, children: "For external applications, frontend calls, or Postman tests." }),
|
|
5546
5478
|
/* @__PURE__ */ jsxRuntime.jsxs(CodeBlockWrapper, { children: [
|
|
@@ -5741,11 +5673,11 @@ const Container$1 = styled__default.default.div`
|
|
|
5741
5673
|
min-height: 100vh;
|
|
5742
5674
|
display: flex;
|
|
5743
5675
|
flex-direction: column;
|
|
5744
|
-
background:
|
|
5676
|
+
background: var(--colors-neutral100);
|
|
5745
5677
|
`;
|
|
5746
5678
|
const Header$1 = styled__default.default.div`
|
|
5747
5679
|
padding: 24px;
|
|
5748
|
-
background: ${(
|
|
5680
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
5749
5681
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
|
|
5750
5682
|
`;
|
|
5751
5683
|
const HeaderRow = styled__default.default.div`
|
|
@@ -5785,8 +5717,8 @@ const ToggleWrapper = styled__default.default.div`
|
|
|
5785
5717
|
|
|
5786
5718
|
/* Custom green styling for active toggle */
|
|
5787
5719
|
button[aria-checked="true"] {
|
|
5788
|
-
background-color: #22C55E !important;
|
|
5789
|
-
border-color: #22C55E !important;
|
|
5720
|
+
background-color: var(--colors-success600, #22C55E) !important;
|
|
5721
|
+
border-color: var(--colors-success600, #22C55E) !important;
|
|
5790
5722
|
|
|
5791
5723
|
span {
|
|
5792
5724
|
background-color: white !important;
|
|
@@ -5794,8 +5726,8 @@ const ToggleWrapper = styled__default.default.div`
|
|
|
5794
5726
|
}
|
|
5795
5727
|
|
|
5796
5728
|
button[aria-checked="false"] {
|
|
5797
|
-
background-color:
|
|
5798
|
-
border-color:
|
|
5729
|
+
background-color: var(--colors-neutral200, rgba(128, 128, 128, 0.2)) !important;
|
|
5730
|
+
border-color: rgba(128, 128, 128, 0.2) !important;
|
|
5799
5731
|
|
|
5800
5732
|
span {
|
|
5801
5733
|
background-color: white !important;
|
|
@@ -5804,7 +5736,7 @@ const ToggleWrapper = styled__default.default.div`
|
|
|
5804
5736
|
|
|
5805
5737
|
/* Label styling based on state */
|
|
5806
5738
|
p {
|
|
5807
|
-
color: ${(props) => props.$isActive ? "#22C55E" : "#6B7280"};
|
|
5739
|
+
color: ${(props) => props.$isActive ? "var(--colors-success600, #22C55E)" : "var(--colors-neutral600, #6B7280)"};
|
|
5808
5740
|
font-weight: 600;
|
|
5809
5741
|
transition: color 0.2s;
|
|
5810
5742
|
}
|
|
@@ -5816,8 +5748,8 @@ const TabsWrapper = styled__default.default.div`
|
|
|
5816
5748
|
`;
|
|
5817
5749
|
const TabListWrapper = styled__default.default.div`
|
|
5818
5750
|
padding: 0 24px;
|
|
5819
|
-
background: ${(
|
|
5820
|
-
border-bottom: 1px solid
|
|
5751
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
5752
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
5821
5753
|
`;
|
|
5822
5754
|
const StyledTabsRoot = styled__default.default(designSystem.Tabs.Root)`
|
|
5823
5755
|
display: flex;
|
|
@@ -5831,7 +5763,7 @@ const StyledTabsContent = styled__default.default(designSystem.Tabs.Content)`
|
|
|
5831
5763
|
`;
|
|
5832
5764
|
const TabContentWrapper = styled__default.default.div`
|
|
5833
5765
|
height: calc(100vh - 240px);
|
|
5834
|
-
background: ${(
|
|
5766
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
5835
5767
|
position: relative;
|
|
5836
5768
|
`;
|
|
5837
5769
|
const TextTabContent = styled__default.default.div`
|
|
@@ -5863,7 +5795,7 @@ const HiddenInput = styled__default.default.input`
|
|
|
5863
5795
|
display: none;
|
|
5864
5796
|
`;
|
|
5865
5797
|
const SaveButton = styled__default.default(designSystem.Button)`
|
|
5866
|
-
background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
|
|
5798
|
+
background: linear-gradient(135deg, var(--colors-success600, #22C55E) 0%, var(--colors-success700, #16A34A) 100%);
|
|
5867
5799
|
border: none;
|
|
5868
5800
|
color: white;
|
|
5869
5801
|
font-weight: 600;
|
|
@@ -5876,7 +5808,7 @@ const SaveButton = styled__default.default(designSystem.Button)`
|
|
|
5876
5808
|
&:hover {
|
|
5877
5809
|
transform: translateY(-1px);
|
|
5878
5810
|
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
|
|
5879
|
-
background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
|
|
5811
|
+
background: linear-gradient(135deg, var(--colors-success700, #16A34A) 0%, var(--colors-success800, #15803D) 100%);
|
|
5880
5812
|
}
|
|
5881
5813
|
|
|
5882
5814
|
&:active {
|
|
@@ -5903,10 +5835,10 @@ const ImportExportButton = styled__default.default.span`
|
|
|
5903
5835
|
gap: 6px;
|
|
5904
5836
|
padding: 8px 16px;
|
|
5905
5837
|
height: 36px;
|
|
5906
|
-
background: ${(
|
|
5907
|
-
border: 1px solid
|
|
5838
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
5839
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
5908
5840
|
border-radius: 4px;
|
|
5909
|
-
color:
|
|
5841
|
+
color: var(--colors-neutral800);
|
|
5910
5842
|
font-weight: 500;
|
|
5911
5843
|
font-size: 13px;
|
|
5912
5844
|
cursor: pointer;
|
|
@@ -5914,9 +5846,9 @@ const ImportExportButton = styled__default.default.span`
|
|
|
5914
5846
|
white-space: nowrap;
|
|
5915
5847
|
|
|
5916
5848
|
&:hover {
|
|
5917
|
-
background:
|
|
5918
|
-
border-color:
|
|
5919
|
-
color:
|
|
5849
|
+
background: var(--colors-neutral100);
|
|
5850
|
+
border-color: var(--colors-primary600, #0284C7);
|
|
5851
|
+
color: var(--colors-primary600, #0284C7);
|
|
5920
5852
|
transform: translateY(-1px);
|
|
5921
5853
|
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
|
|
5922
5854
|
}
|
|
@@ -5935,8 +5867,8 @@ const ImportLabel = styled__default.default.label`
|
|
|
5935
5867
|
display: inline-block;
|
|
5936
5868
|
`;
|
|
5937
5869
|
const BackButton = styled__default.default.button`
|
|
5938
|
-
background: ${(
|
|
5939
|
-
border: 1px solid
|
|
5870
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
5871
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
5940
5872
|
border-radius: 4px;
|
|
5941
5873
|
padding: 8px 10px;
|
|
5942
5874
|
height: 36px;
|
|
@@ -5947,8 +5879,8 @@ const BackButton = styled__default.default.button`
|
|
|
5947
5879
|
transition: all 200ms;
|
|
5948
5880
|
|
|
5949
5881
|
&:hover {
|
|
5950
|
-
background:
|
|
5951
|
-
border-color:
|
|
5882
|
+
background: var(--colors-neutral100);
|
|
5883
|
+
border-color: rgba(128, 128, 128, 0.3);
|
|
5952
5884
|
transform: translateY(-1px);
|
|
5953
5885
|
}
|
|
5954
5886
|
|
|
@@ -5962,8 +5894,8 @@ const BackButton = styled__default.default.button`
|
|
|
5962
5894
|
}
|
|
5963
5895
|
`;
|
|
5964
5896
|
const VersionButton = styled__default.default.button`
|
|
5965
|
-
background: ${(
|
|
5966
|
-
border: 1px solid
|
|
5897
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
5898
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
5967
5899
|
border-radius: 4px;
|
|
5968
5900
|
padding: 8px 16px;
|
|
5969
5901
|
height: 36px;
|
|
@@ -5975,13 +5907,13 @@ const VersionButton = styled__default.default.button`
|
|
|
5975
5907
|
transition: all 200ms;
|
|
5976
5908
|
font-size: 13px;
|
|
5977
5909
|
font-weight: 500;
|
|
5978
|
-
color:
|
|
5910
|
+
color: var(--colors-neutral800);
|
|
5979
5911
|
white-space: nowrap;
|
|
5980
5912
|
|
|
5981
5913
|
&:hover {
|
|
5982
|
-
background:
|
|
5983
|
-
border-color:
|
|
5984
|
-
color:
|
|
5914
|
+
background: var(--colors-neutral100);
|
|
5915
|
+
border-color: var(--colors-primary600, #0284C7);
|
|
5916
|
+
color: var(--colors-primary600, #0284C7);
|
|
5985
5917
|
transform: translateY(-1px);
|
|
5986
5918
|
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
|
|
5987
5919
|
}
|
|
@@ -6001,7 +5933,7 @@ const VersionModal = styled__default.default.div`
|
|
|
6001
5933
|
right: ${(props) => props.$isOpen ? "0" : "-450px"};
|
|
6002
5934
|
width: 450px;
|
|
6003
5935
|
height: 100vh;
|
|
6004
|
-
background: ${(
|
|
5936
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
6005
5937
|
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
|
|
6006
5938
|
z-index: 9999;
|
|
6007
5939
|
transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -6022,7 +5954,7 @@ const VersionModalOverlay = styled__default.default.div`
|
|
|
6022
5954
|
`;
|
|
6023
5955
|
const VersionModalHeader = styled__default.default.div`
|
|
6024
5956
|
padding: 24px;
|
|
6025
|
-
border-bottom: 1px solid
|
|
5957
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
6026
5958
|
display: flex;
|
|
6027
5959
|
justify-content: space-between;
|
|
6028
5960
|
align-items: center;
|
|
@@ -6034,13 +5966,13 @@ const VersionModalContent = styled__default.default.div`
|
|
|
6034
5966
|
`;
|
|
6035
5967
|
const VersionItem = styled__default.default.div`
|
|
6036
5968
|
padding: 16px;
|
|
6037
|
-
border: 1px solid
|
|
5969
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
6038
5970
|
border-radius: 8px;
|
|
6039
5971
|
margin-bottom: 12px;
|
|
6040
5972
|
transition: all 150ms;
|
|
6041
5973
|
|
|
6042
5974
|
&:hover {
|
|
6043
|
-
border-color:
|
|
5975
|
+
border-color: var(--colors-primary600, #0284C7);
|
|
6044
5976
|
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
|
|
6045
5977
|
}
|
|
6046
5978
|
`;
|
|
@@ -6052,13 +5984,13 @@ const VersionItemHeader = styled__default.default.div`
|
|
|
6052
5984
|
`;
|
|
6053
5985
|
const VersionNumber = styled__default.default.div`
|
|
6054
5986
|
font-weight: 600;
|
|
6055
|
-
color:
|
|
5987
|
+
color: var(--colors-neutral800);
|
|
6056
5988
|
display: flex;
|
|
6057
5989
|
align-items: center;
|
|
6058
5990
|
gap: 8px;
|
|
6059
5991
|
`;
|
|
6060
5992
|
const VersionBadge = styled__default.default.span`
|
|
6061
|
-
background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
|
|
5993
|
+
background: linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-primary700, #0284C7) 100%);
|
|
6062
5994
|
color: white;
|
|
6063
5995
|
padding: 2px 8px;
|
|
6064
5996
|
border-radius: 4px;
|
|
@@ -6067,11 +5999,11 @@ const VersionBadge = styled__default.default.span`
|
|
|
6067
5999
|
`;
|
|
6068
6000
|
const VersionDate = styled__default.default.div`
|
|
6069
6001
|
font-size: 13px;
|
|
6070
|
-
color:
|
|
6002
|
+
color: var(--colors-neutral600);
|
|
6071
6003
|
`;
|
|
6072
6004
|
const VersionMeta = styled__default.default.div`
|
|
6073
6005
|
font-size: 13px;
|
|
6074
|
-
color:
|
|
6006
|
+
color: var(--colors-neutral600);
|
|
6075
6007
|
margin-bottom: 12px;
|
|
6076
6008
|
`;
|
|
6077
6009
|
const VersionActions = styled__default.default.div`
|
|
@@ -6079,14 +6011,14 @@ const VersionActions = styled__default.default.div`
|
|
|
6079
6011
|
gap: 8px;
|
|
6080
6012
|
`;
|
|
6081
6013
|
const RestoreButton = styled__default.default(designSystem.Button)`
|
|
6082
|
-
background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
|
|
6014
|
+
background: linear-gradient(135deg, var(--colors-success600, #22C55E) 0%, var(--colors-success700, #16A34A) 100%);
|
|
6083
6015
|
border: none;
|
|
6084
6016
|
color: white;
|
|
6085
6017
|
font-size: 13px;
|
|
6086
6018
|
padding: 8px 16px;
|
|
6087
6019
|
|
|
6088
6020
|
&:hover {
|
|
6089
|
-
background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%);
|
|
6021
|
+
background: linear-gradient(135deg, var(--colors-success400, #4ADE80) 0%, var(--colors-success600, #22C55E) 100%);
|
|
6090
6022
|
transform: translateY(-1px);
|
|
6091
6023
|
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
|
|
6092
6024
|
border-color: transparent;
|
|
@@ -6098,14 +6030,14 @@ const RestoreButton = styled__default.default(designSystem.Button)`
|
|
|
6098
6030
|
}
|
|
6099
6031
|
`;
|
|
6100
6032
|
const DeleteButton = styled__default.default(designSystem.Button)`
|
|
6101
|
-
background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
|
|
6033
|
+
background: linear-gradient(135deg, var(--colors-danger500, #EF4444) 0%, var(--colors-danger600, #DC2626) 100%);
|
|
6102
6034
|
border: none;
|
|
6103
6035
|
color: white;
|
|
6104
6036
|
font-size: 13px;
|
|
6105
6037
|
padding: 8px 16px;
|
|
6106
6038
|
|
|
6107
6039
|
&:hover {
|
|
6108
|
-
background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
|
|
6040
|
+
background: linear-gradient(135deg, var(--colors-danger400, #F87171) 0%, var(--colors-danger500, #EF4444) 100%);
|
|
6109
6041
|
transform: translateY(-1px);
|
|
6110
6042
|
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
|
|
6111
6043
|
border-color: transparent;
|
|
@@ -6124,12 +6056,12 @@ const CloseButton$1 = styled__default.default.button`
|
|
|
6124
6056
|
display: flex;
|
|
6125
6057
|
align-items: center;
|
|
6126
6058
|
justify-content: center;
|
|
6127
|
-
color:
|
|
6059
|
+
color: var(--colors-neutral600);
|
|
6128
6060
|
transition: all 150ms;
|
|
6129
6061
|
|
|
6130
6062
|
&:hover {
|
|
6131
|
-
color:
|
|
6132
|
-
background:
|
|
6063
|
+
color: var(--colors-neutral800);
|
|
6064
|
+
background: var(--colors-neutral100);
|
|
6133
6065
|
border-radius: 4px;
|
|
6134
6066
|
}
|
|
6135
6067
|
|
|
@@ -6141,7 +6073,7 @@ const CloseButton$1 = styled__default.default.button`
|
|
|
6141
6073
|
const EmptyVersions = styled__default.default.div`
|
|
6142
6074
|
text-align: center;
|
|
6143
6075
|
padding: 60px 20px;
|
|
6144
|
-
color:
|
|
6076
|
+
color: var(--colors-neutral600);
|
|
6145
6077
|
display: flex;
|
|
6146
6078
|
flex-direction: column;
|
|
6147
6079
|
align-items: center;
|
|
@@ -6151,7 +6083,7 @@ const EmptyVersions = styled__default.default.div`
|
|
|
6151
6083
|
width: 64px;
|
|
6152
6084
|
height: 64px;
|
|
6153
6085
|
margin-bottom: 16px;
|
|
6154
|
-
color:
|
|
6086
|
+
color: rgba(128, 128, 128, 0.3);
|
|
6155
6087
|
}
|
|
6156
6088
|
`;
|
|
6157
6089
|
const EditorPage = () => {
|
|
@@ -6777,9 +6709,9 @@ const EditorPage = () => {
|
|
|
6777
6709
|
/* @__PURE__ */ jsxRuntime.jsxs(VersionModal, { $isOpen: showVersionHistory, children: [
|
|
6778
6710
|
/* @__PURE__ */ jsxRuntime.jsxs(VersionModalHeader, { children: [
|
|
6779
6711
|
/* @__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" } }),
|
|
6712
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.ClockIcon, { style: { width: 20, height: 20, color: "var(--colors-neutral800, #32324d)" } }),
|
|
6781
6713
|
/* @__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: [
|
|
6714
|
+
versions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "12px", color: "var(--colors-neutral600, #666687)", marginLeft: "8px" }, children: [
|
|
6783
6715
|
"(",
|
|
6784
6716
|
versions.length,
|
|
6785
6717
|
")"
|
|
@@ -6849,12 +6781,6 @@ const EditorPage = () => {
|
|
|
6849
6781
|
] });
|
|
6850
6782
|
};
|
|
6851
6783
|
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
6784
|
shadows: {
|
|
6859
6785
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
6860
6786
|
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
@@ -6892,8 +6818,8 @@ const Container = styled__default.default(designSystem.Box)`
|
|
|
6892
6818
|
`;
|
|
6893
6819
|
const Header = styled__default.default(designSystem.Box)`
|
|
6894
6820
|
background: linear-gradient(135deg,
|
|
6895
|
-
|
|
6896
|
-
${
|
|
6821
|
+
var(--colors-secondary600, #7C3AED) 0%,
|
|
6822
|
+
${"var(--colors-primary600, #0284C7)"} 100%
|
|
6897
6823
|
);
|
|
6898
6824
|
border-radius: ${theme.borderRadius.xl};
|
|
6899
6825
|
padding: ${theme.spacing.xl} ${theme.spacing["2xl"]};
|
|
@@ -6987,7 +6913,7 @@ const StatsGrid = styled__default.default.div`
|
|
|
6987
6913
|
}
|
|
6988
6914
|
`;
|
|
6989
6915
|
const StatCard = styled__default.default(designSystem.Box)`
|
|
6990
|
-
background: ${(
|
|
6916
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
6991
6917
|
border-radius: ${theme.borderRadius.lg};
|
|
6992
6918
|
padding: 28px ${theme.spacing.lg};
|
|
6993
6919
|
position: relative;
|
|
@@ -6996,7 +6922,7 @@ const StatCard = styled__default.default(designSystem.Box)`
|
|
|
6996
6922
|
${styled.css`animation: ${fadeIn$2} ${theme.transitions.slow} backwards;`}
|
|
6997
6923
|
animation-delay: ${(props) => props.$delay || "0s"};
|
|
6998
6924
|
box-shadow: ${theme.shadows.sm};
|
|
6999
|
-
border: 1px solid
|
|
6925
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
7000
6926
|
min-width: 200px;
|
|
7001
6927
|
flex: 1;
|
|
7002
6928
|
text-align: center;
|
|
@@ -7017,7 +6943,7 @@ const StatCard = styled__default.default(designSystem.Box)`
|
|
|
7017
6943
|
&:hover {
|
|
7018
6944
|
transform: translateY(-6px);
|
|
7019
6945
|
box-shadow: ${theme.shadows.xl};
|
|
7020
|
-
border-color: ${(props) => props.$color ||
|
|
6946
|
+
border-color: ${(props) => props.$color || "var(--colors-primary600, #0EA5E9)"};
|
|
7021
6947
|
|
|
7022
6948
|
.stat-icon {
|
|
7023
6949
|
transform: scale(1.15) rotate(5deg);
|
|
@@ -7025,7 +6951,7 @@ const StatCard = styled__default.default(designSystem.Box)`
|
|
|
7025
6951
|
|
|
7026
6952
|
.stat-value {
|
|
7027
6953
|
transform: scale(1.08);
|
|
7028
|
-
color: ${(props) => props.$color ||
|
|
6954
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
7029
6955
|
}
|
|
7030
6956
|
}
|
|
7031
6957
|
`;
|
|
@@ -7037,13 +6963,13 @@ const StatIcon = styled__default.default(designSystem.Box)`
|
|
|
7037
6963
|
align-items: center;
|
|
7038
6964
|
justify-content: center;
|
|
7039
6965
|
margin-bottom: ${theme.spacing.md};
|
|
7040
|
-
background: ${(props) => props.$bg ||
|
|
6966
|
+
background: ${(props) => props.$bg || "rgba(2, 132, 199, 0.12)"};
|
|
7041
6967
|
transition: all ${theme.transitions.normal};
|
|
7042
6968
|
|
|
7043
6969
|
svg {
|
|
7044
6970
|
width: 32px;
|
|
7045
6971
|
height: 32px;
|
|
7046
|
-
color: ${(props) => props.$color ||
|
|
6972
|
+
color: ${(props) => props.$color || "var(--colors-primary600, #0284C7)"};
|
|
7047
6973
|
}
|
|
7048
6974
|
|
|
7049
6975
|
@media screen and (max-width: ${breakpoints.mobile}) {
|
|
@@ -7060,7 +6986,7 @@ const StatIcon = styled__default.default(designSystem.Box)`
|
|
|
7060
6986
|
const StatValue = styled__default.default(designSystem.Typography)`
|
|
7061
6987
|
font-size: 2.25rem;
|
|
7062
6988
|
font-weight: 700;
|
|
7063
|
-
color:
|
|
6989
|
+
color: var(--colors-neutral800);
|
|
7064
6990
|
transition: all ${theme.transitions.normal};
|
|
7065
6991
|
line-height: 1;
|
|
7066
6992
|
margin-bottom: ${theme.spacing.xs};
|
|
@@ -7071,7 +6997,7 @@ const StatValue = styled__default.default(designSystem.Typography)`
|
|
|
7071
6997
|
`;
|
|
7072
6998
|
const StatLabel = styled__default.default(designSystem.Typography)`
|
|
7073
6999
|
font-size: 0.875rem;
|
|
7074
|
-
color:
|
|
7000
|
+
color: var(--colors-neutral600);
|
|
7075
7001
|
font-weight: 500;
|
|
7076
7002
|
text-transform: uppercase;
|
|
7077
7003
|
letter-spacing: 0.05em;
|
|
@@ -7081,21 +7007,21 @@ const StatLabel = styled__default.default(designSystem.Typography)`
|
|
|
7081
7007
|
}
|
|
7082
7008
|
`;
|
|
7083
7009
|
const FilterBar = styled__default.default(designSystem.Box)`
|
|
7084
|
-
background: ${(
|
|
7010
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
7085
7011
|
border-radius: ${theme.borderRadius.lg};
|
|
7086
7012
|
padding: ${theme.spacing.lg} ${theme.spacing.xl};
|
|
7087
7013
|
margin-bottom: ${theme.spacing.lg};
|
|
7088
7014
|
box-shadow: ${theme.shadows.sm};
|
|
7089
|
-
border: 1px solid
|
|
7015
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
7090
7016
|
`;
|
|
7091
7017
|
const StyledTable = styled__default.default(designSystem.Table)`
|
|
7092
7018
|
thead {
|
|
7093
|
-
background:
|
|
7094
|
-
border-bottom: 2px solid
|
|
7019
|
+
background: var(--colors-neutral100);
|
|
7020
|
+
border-bottom: 2px solid rgba(128, 128, 128, 0.2);
|
|
7095
7021
|
|
|
7096
7022
|
th {
|
|
7097
7023
|
font-weight: 600;
|
|
7098
|
-
color:
|
|
7024
|
+
color: var(--colors-neutral800);
|
|
7099
7025
|
font-size: 0.875rem;
|
|
7100
7026
|
text-transform: uppercase;
|
|
7101
7027
|
letter-spacing: 0.025em;
|
|
@@ -7105,35 +7031,35 @@ const StyledTable = styled__default.default(designSystem.Table)`
|
|
|
7105
7031
|
|
|
7106
7032
|
tbody tr {
|
|
7107
7033
|
transition: all ${theme.transitions.fast};
|
|
7108
|
-
border-bottom: 1px solid
|
|
7034
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
|
|
7109
7035
|
|
|
7110
7036
|
&:last-child {
|
|
7111
7037
|
border-bottom: none;
|
|
7112
7038
|
}
|
|
7113
7039
|
|
|
7114
7040
|
&:hover {
|
|
7115
|
-
background:
|
|
7041
|
+
background: rgba(2, 132, 199, 0.12);
|
|
7116
7042
|
}
|
|
7117
7043
|
|
|
7118
7044
|
td {
|
|
7119
7045
|
padding: ${theme.spacing.lg} ${theme.spacing.lg};
|
|
7120
|
-
color:
|
|
7046
|
+
color: var(--colors-neutral800);
|
|
7121
7047
|
vertical-align: middle;
|
|
7122
7048
|
}
|
|
7123
7049
|
}
|
|
7124
7050
|
`;
|
|
7125
7051
|
const TableContainer = styled__default.default(designSystem.Box)`
|
|
7126
|
-
background: ${(
|
|
7052
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
7127
7053
|
border-radius: ${theme.borderRadius.lg};
|
|
7128
7054
|
box-shadow: ${theme.shadows.md};
|
|
7129
|
-
border: 1px solid
|
|
7055
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
7130
7056
|
overflow: hidden;
|
|
7131
7057
|
margin-bottom: ${theme.spacing.xl};
|
|
7132
7058
|
`;
|
|
7133
7059
|
const EmptyState = styled__default.default(designSystem.Box)`
|
|
7134
|
-
background: ${(
|
|
7060
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
7135
7061
|
border-radius: ${theme.borderRadius.xl};
|
|
7136
|
-
border: 2px dashed
|
|
7062
|
+
border: 2px dashed rgba(128, 128, 128, 0.3);
|
|
7137
7063
|
padding: 80px 32px;
|
|
7138
7064
|
text-align: center;
|
|
7139
7065
|
position: relative;
|
|
@@ -7150,7 +7076,7 @@ const EmptyState = styled__default.default(designSystem.Box)`
|
|
|
7150
7076
|
left: 0;
|
|
7151
7077
|
right: 0;
|
|
7152
7078
|
bottom: 0;
|
|
7153
|
-
background: linear-gradient(135deg,
|
|
7079
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, ${"rgba(2, 132, 199, 0.06)"} 100%);
|
|
7154
7080
|
opacity: 0.3;
|
|
7155
7081
|
z-index: 0;
|
|
7156
7082
|
}
|
|
@@ -7166,7 +7092,7 @@ const EmptyIcon = styled__default.default.div`
|
|
|
7166
7092
|
height: 120px;
|
|
7167
7093
|
margin: 0 auto ${theme.spacing.lg};
|
|
7168
7094
|
border-radius: 50%;
|
|
7169
|
-
background: linear-gradient(135deg,
|
|
7095
|
+
background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, ${"rgba(2, 132, 199, 0.12)"} 100%);
|
|
7170
7096
|
display: flex;
|
|
7171
7097
|
align-items: center;
|
|
7172
7098
|
justify-content: center;
|
|
@@ -7175,7 +7101,7 @@ const EmptyIcon = styled__default.default.div`
|
|
|
7175
7101
|
svg {
|
|
7176
7102
|
width: 60px;
|
|
7177
7103
|
height: 60px;
|
|
7178
|
-
color: ${
|
|
7104
|
+
color: ${"var(--colors-primary600, #0284C7)"};
|
|
7179
7105
|
}
|
|
7180
7106
|
`;
|
|
7181
7107
|
const Analytics = () => {
|
|
@@ -7291,23 +7217,23 @@ const Analytics = () => {
|
|
|
7291
7217
|
/* @__PURE__ */ jsxRuntime.jsx(Subtitle, { variant: "epsilon", children: "Track your email performance and engagement" })
|
|
7292
7218
|
] }) }) }),
|
|
7293
7219
|
/* @__PURE__ */ jsxRuntime.jsxs(StatsGrid, { children: [
|
|
7294
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.1s", $color:
|
|
7295
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7220
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.1s", $color: "var(--colors-primary600, #0EA5E9)", children: [
|
|
7221
|
+
/* @__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
7222
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalSent || 0 }),
|
|
7297
7223
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Total Sent" })
|
|
7298
7224
|
] }),
|
|
7299
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.2s", $color:
|
|
7300
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7225
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.2s", $color: "var(--colors-success600, #22C55E)", children: [
|
|
7226
|
+
/* @__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
7227
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalOpened || 0 }),
|
|
7302
7228
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Opened" })
|
|
7303
7229
|
] }),
|
|
7304
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.3s", $color:
|
|
7305
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7230
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.3s", $color: "var(--colors-primary600, #0EA5E9)", children: [
|
|
7231
|
+
/* @__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
7232
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalClicked || 0 }),
|
|
7307
7233
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Clicked" })
|
|
7308
7234
|
] }),
|
|
7309
|
-
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.4s", $color:
|
|
7310
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatIcon, { className: "stat-icon", $bg:
|
|
7235
|
+
/* @__PURE__ */ jsxRuntime.jsxs(StatCard, { $delay: "0.4s", $color: "var(--colors-danger600, #EF4444)", children: [
|
|
7236
|
+
/* @__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
7237
|
/* @__PURE__ */ jsxRuntime.jsx(StatValue, { className: "stat-value", children: stats?.totalBounced || 0 }),
|
|
7312
7238
|
/* @__PURE__ */ jsxRuntime.jsx(StatLabel, { children: "Bounced" })
|
|
7313
7239
|
] })
|
|
@@ -7362,25 +7288,25 @@ const Analytics = () => {
|
|
|
7362
7288
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", children: log.templateName || "-" }) }),
|
|
7363
7289
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Td, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: formatDate(log.sentAt) }) }),
|
|
7364
7290
|
/* @__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:
|
|
7291
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-success600, #16A34A)" } }),
|
|
7292
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", fontWeight: "semiBold", style: { color: "var(--colors-success600, #16A34A)" }, children: [
|
|
7367
7293
|
log.openCount,
|
|
7368
7294
|
" ",
|
|
7369
7295
|
log.openCount === 1 ? "time" : "times"
|
|
7370
7296
|
] })
|
|
7371
7297
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
|
|
7372
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "
|
|
7298
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-neutral500)" } }),
|
|
7373
7299
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: "No" })
|
|
7374
7300
|
] }) }),
|
|
7375
7301
|
/* @__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:
|
|
7302
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-primary600, #0284C7)" } }),
|
|
7303
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "pi", fontWeight: "semiBold", style: { color: "var(--colors-primary600, #0284C7)" }, children: [
|
|
7378
7304
|
log.clickCount,
|
|
7379
7305
|
" ",
|
|
7380
7306
|
log.clickCount === 1 ? "time" : "times"
|
|
7381
7307
|
] })
|
|
7382
7308
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
|
|
7383
|
-
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "
|
|
7309
|
+
/* @__PURE__ */ jsxRuntime.jsx(outline.XCircleIcon, { style: { width: 16, height: 16, color: "var(--colors-neutral500)" } }),
|
|
7384
7310
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", children: "No" })
|
|
7385
7311
|
] }) })
|
|
7386
7312
|
] }, log.id)) })
|
|
@@ -7446,17 +7372,16 @@ const spin = styled.keyframes`
|
|
|
7446
7372
|
const colors = {
|
|
7447
7373
|
whatsapp: "#25D366",
|
|
7448
7374
|
whatsappDark: "#128C7E",
|
|
7449
|
-
whatsappLight: "
|
|
7375
|
+
whatsappLight: "rgba(37, 211, 102, 0.2)",
|
|
7450
7376
|
primary: "#4945ff",
|
|
7451
|
-
primaryLight: "
|
|
7377
|
+
primaryLight: "rgba(73, 69, 255, 0.06)",
|
|
7452
7378
|
success: "#5cb176",
|
|
7453
|
-
successLight: "
|
|
7379
|
+
successLight: "rgba(92, 177, 118, 0.12)",
|
|
7454
7380
|
danger: "#d02b20",
|
|
7455
7381
|
neutral: "#8e8ea9",
|
|
7456
|
-
neutralLight: "
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
textLight: "#666687"
|
|
7382
|
+
neutralLight: "rgba(142, 142, 169, 0.08)",
|
|
7383
|
+
border: "rgba(128, 128, 128, 0.2)",
|
|
7384
|
+
textLight: "var(--colors-neutral600, #666687)"
|
|
7460
7385
|
};
|
|
7461
7386
|
const PageContainer = styled__default.default(designSystem.Box)`
|
|
7462
7387
|
padding: 40px;
|
|
@@ -7517,8 +7442,8 @@ const StepDot = styled__default.default.div`
|
|
|
7517
7442
|
width: 56px;
|
|
7518
7443
|
height: 56px;
|
|
7519
7444
|
border-radius: 50%;
|
|
7520
|
-
background: ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : colors.
|
|
7521
|
-
color: ${(props) => props.$active || props.$completed ?
|
|
7445
|
+
background: ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : props.theme.colors.neutral0};
|
|
7446
|
+
color: ${(props) => props.$active || props.$completed ? "#ffffff" : colors.textLight};
|
|
7522
7447
|
border: 4px solid ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : colors.border};
|
|
7523
7448
|
display: flex;
|
|
7524
7449
|
align-items: center;
|
|
@@ -7549,7 +7474,7 @@ const StepLabel = styled__default.default(designSystem.Typography)`
|
|
|
7549
7474
|
transition: all 0.3s ease;
|
|
7550
7475
|
`;
|
|
7551
7476
|
const ContentCard = styled__default.default(designSystem.Box)`
|
|
7552
|
-
background: ${colors.
|
|
7477
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
7553
7478
|
border: 1px solid ${colors.border};
|
|
7554
7479
|
border-radius: 16px;
|
|
7555
7480
|
padding: 32px;
|
|
@@ -7625,14 +7550,14 @@ const ConnectedCard = styled__default.default(designSystem.Box)`
|
|
|
7625
7550
|
text-align: center;
|
|
7626
7551
|
`;
|
|
7627
7552
|
const InfoBox = styled__default.default(designSystem.Box)`
|
|
7628
|
-
background: linear-gradient(135deg,
|
|
7629
|
-
border: 1px solid
|
|
7553
|
+
background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, ${colors.whatsappLight} 100%);
|
|
7554
|
+
border: 1px solid rgba(2, 132, 199, 0.2);
|
|
7630
7555
|
border-radius: 12px;
|
|
7631
7556
|
padding: 24px;
|
|
7632
7557
|
margin: 20px 0;
|
|
7633
7558
|
`;
|
|
7634
7559
|
const TestSection = styled__default.default(designSystem.Box)`
|
|
7635
|
-
background: linear-gradient(135deg, ${colors.whatsappLight} 0%,
|
|
7560
|
+
background: linear-gradient(135deg, ${colors.whatsappLight} 0%, rgba(34, 197, 94, 0.1) 100%);
|
|
7636
7561
|
border: 1px solid ${colors.whatsapp}40;
|
|
7637
7562
|
border-radius: 16px;
|
|
7638
7563
|
padding: 24px;
|
|
@@ -7641,11 +7566,11 @@ const TestSection = styled__default.default(designSystem.Box)`
|
|
|
7641
7566
|
const WhatsAppInput = styled__default.default.input`
|
|
7642
7567
|
width: 100%;
|
|
7643
7568
|
padding: 14px 16px;
|
|
7644
|
-
border: 2px solid
|
|
7569
|
+
border: 2px solid rgba(128, 128, 128, 0.2);
|
|
7645
7570
|
border-radius: 12px;
|
|
7646
7571
|
font-size: 15px;
|
|
7647
|
-
background:
|
|
7648
|
-
color:
|
|
7572
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
7573
|
+
color: var(--colors-neutral800);
|
|
7649
7574
|
transition: all 0.2s ease;
|
|
7650
7575
|
box-sizing: border-box;
|
|
7651
7576
|
|
|
@@ -7656,17 +7581,17 @@ const WhatsAppInput = styled__default.default.input`
|
|
|
7656
7581
|
}
|
|
7657
7582
|
|
|
7658
7583
|
&::placeholder {
|
|
7659
|
-
color:
|
|
7584
|
+
color: rgba(128, 128, 128, 0.4);
|
|
7660
7585
|
}
|
|
7661
7586
|
`;
|
|
7662
7587
|
const WhatsAppTextarea = styled__default.default.textarea`
|
|
7663
7588
|
width: 100%;
|
|
7664
7589
|
padding: 14px 16px;
|
|
7665
|
-
border: 2px solid
|
|
7590
|
+
border: 2px solid rgba(128, 128, 128, 0.2);
|
|
7666
7591
|
border-radius: 12px;
|
|
7667
7592
|
font-size: 15px;
|
|
7668
|
-
background:
|
|
7669
|
-
color:
|
|
7593
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
7594
|
+
color: var(--colors-neutral800);
|
|
7670
7595
|
transition: all 0.2s ease;
|
|
7671
7596
|
box-sizing: border-box;
|
|
7672
7597
|
resize: vertical;
|
|
@@ -7680,7 +7605,7 @@ const WhatsAppTextarea = styled__default.default.textarea`
|
|
|
7680
7605
|
}
|
|
7681
7606
|
|
|
7682
7607
|
&::placeholder {
|
|
7683
|
-
color:
|
|
7608
|
+
color: rgba(128, 128, 128, 0.4);
|
|
7684
7609
|
}
|
|
7685
7610
|
`;
|
|
7686
7611
|
const InputLabel = styled__default.default.label`
|
|
@@ -7694,7 +7619,7 @@ const InputLabel = styled__default.default.label`
|
|
|
7694
7619
|
`;
|
|
7695
7620
|
const InputHint = styled__default.default.span`
|
|
7696
7621
|
font-size: 12px;
|
|
7697
|
-
color:
|
|
7622
|
+
color: var(--colors-neutral500);
|
|
7698
7623
|
margin-top: 6px;
|
|
7699
7624
|
display: block;
|
|
7700
7625
|
`;
|
|
@@ -7706,7 +7631,7 @@ const MessageSymbol = styled__default.default.span`
|
|
|
7706
7631
|
font-size: 16px;
|
|
7707
7632
|
`;
|
|
7708
7633
|
const UseCaseCard = styled__default.default(designSystem.Box)`
|
|
7709
|
-
background: linear-gradient(135deg, ${colors.whatsappLight},
|
|
7634
|
+
background: linear-gradient(135deg, ${colors.whatsappLight}, rgba(2, 132, 199, 0.06));
|
|
7710
7635
|
border: 2px solid ${colors.whatsapp};
|
|
7711
7636
|
border-radius: 16px;
|
|
7712
7637
|
padding: 24px;
|
|
@@ -7715,11 +7640,11 @@ const UseCaseCard = styled__default.default(designSystem.Box)`
|
|
|
7715
7640
|
const ButtonRow = styled__default.default(designSystem.Flex)`
|
|
7716
7641
|
margin-top: 32px;
|
|
7717
7642
|
padding-top: 24px;
|
|
7718
|
-
border-top: 1px solid
|
|
7643
|
+
border-top: 1px solid rgba(128, 128, 128, 0.2);
|
|
7719
7644
|
`;
|
|
7720
7645
|
const AlertBox = styled__default.default(designSystem.Box)`
|
|
7721
|
-
background:
|
|
7722
|
-
border: 1px solid
|
|
7646
|
+
background: rgba(2, 132, 199, 0.06);
|
|
7647
|
+
border: 1px solid rgba(2, 132, 199, 0.2);
|
|
7723
7648
|
border-radius: 12px;
|
|
7724
7649
|
padding: 16px 20px;
|
|
7725
7650
|
margin-top: 20px;
|
|
@@ -7731,7 +7656,7 @@ const AlertIcon = styled__default.default.div`
|
|
|
7731
7656
|
width: 24px;
|
|
7732
7657
|
height: 24px;
|
|
7733
7658
|
border-radius: 50%;
|
|
7734
|
-
background:
|
|
7659
|
+
background: var(--colors-primary600, #0EA5E9);
|
|
7735
7660
|
color: white;
|
|
7736
7661
|
display: flex;
|
|
7737
7662
|
align-items: center;
|
|
@@ -7741,8 +7666,8 @@ const AlertIcon = styled__default.default.div`
|
|
|
7741
7666
|
flex-shrink: 0;
|
|
7742
7667
|
`;
|
|
7743
7668
|
const SuccessBox = styled__default.default(designSystem.Box)`
|
|
7744
|
-
background:
|
|
7745
|
-
border: 1px solid
|
|
7669
|
+
background: rgba(22, 163, 74, 0.06);
|
|
7670
|
+
border: 1px solid rgba(22, 163, 74, 0.2);
|
|
7746
7671
|
border-radius: 12px;
|
|
7747
7672
|
padding: 16px 20px;
|
|
7748
7673
|
display: flex;
|
|
@@ -7753,7 +7678,7 @@ const SuccessIcon = styled__default.default.div`
|
|
|
7753
7678
|
width: 24px;
|
|
7754
7679
|
height: 24px;
|
|
7755
7680
|
border-radius: 50%;
|
|
7756
|
-
background:
|
|
7681
|
+
background: var(--colors-success600, #22C55E);
|
|
7757
7682
|
color: white;
|
|
7758
7683
|
display: flex;
|
|
7759
7684
|
align-items: center;
|
|
@@ -7770,8 +7695,8 @@ const WhatsAppButton = styled__default.default(StyledButtons.GradientButton)`
|
|
|
7770
7695
|
}
|
|
7771
7696
|
`;
|
|
7772
7697
|
const NotInstalledCard = styled__default.default(designSystem.Box)`
|
|
7773
|
-
background: linear-gradient(135deg,
|
|
7774
|
-
border: 2px solid #F59E0B;
|
|
7698
|
+
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(220, 38, 38, 0.12));
|
|
7699
|
+
border: 2px solid var(--colors-warning600, #F59E0B);
|
|
7775
7700
|
border-radius: 16px;
|
|
7776
7701
|
padding: 32px;
|
|
7777
7702
|
text-align: center;
|
|
@@ -8004,7 +7929,7 @@ const WhatsAppPage = () => {
|
|
|
8004
7929
|
isAvailable ? /* @__PURE__ */ jsxRuntime.jsxs(SuccessBox, { children: [
|
|
8005
7930
|
/* @__PURE__ */ jsxRuntime.jsx(SuccessIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(icons.Check, { style: { width: 14, height: 14 } }) }),
|
|
8006
7931
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
8007
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", style: { display: "block", marginBottom: "4px", color:
|
|
7932
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", style: { display: "block", marginBottom: "4px", color: "var(--colors-success600, #15803D)" }, children: "Dependencies Installed" }),
|
|
8008
7933
|
/* @__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
7934
|
] })
|
|
8010
7935
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(NotInstalledCard, { children: [
|
|
@@ -8053,7 +7978,7 @@ const WhatsAppPage = () => {
|
|
|
8053
7978
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", fontWeight: "bold", style: { display: "block", marginBottom: "8px" }, children: "Connect Your WhatsApp" }),
|
|
8054
7979
|
/* @__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
7980
|
/* @__PURE__ */ jsxRuntime.jsxs(InfoBox, { children: [
|
|
8056
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color:
|
|
7981
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color: "var(--colors-primary600, #075985)" }, children: "How it works" }),
|
|
8057
7982
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 3, children: [
|
|
8058
7983
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: '1. Click "Connect WhatsApp" to generate a QR code' }),
|
|
8059
7984
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: "2. Open WhatsApp on your phone" }),
|
|
@@ -8099,7 +8024,7 @@ const WhatsAppPage = () => {
|
|
|
8099
8024
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", children: "Generating QR code..." })
|
|
8100
8025
|
] }) }),
|
|
8101
8026
|
/* @__PURE__ */ jsxRuntime.jsxs(InfoBox, { children: [
|
|
8102
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color:
|
|
8027
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "16px", color: "var(--colors-primary600, #075985)" }, children: "Instructions" }),
|
|
8103
8028
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
8104
8029
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: "1. Open WhatsApp on your phone" }),
|
|
8105
8030
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral700", children: "2. Tap Menu or Settings" }),
|
|
@@ -8256,7 +8181,7 @@ const ModalOverlay = styled__default.default.div`
|
|
|
8256
8181
|
padding: 20px;
|
|
8257
8182
|
`;
|
|
8258
8183
|
const ModalContent = styled__default.default(designSystem.Box)`
|
|
8259
|
-
background:
|
|
8184
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
8260
8185
|
border-radius: 16px;
|
|
8261
8186
|
width: 100%;
|
|
8262
8187
|
max-width: 580px;
|
|
@@ -8265,7 +8190,7 @@ const ModalContent = styled__default.default(designSystem.Box)`
|
|
|
8265
8190
|
overflow: hidden;
|
|
8266
8191
|
`;
|
|
8267
8192
|
const GradientHeader = styled__default.default(designSystem.Box)`
|
|
8268
|
-
background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
|
|
8193
|
+
background: linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
|
|
8269
8194
|
padding: 32px 40px;
|
|
8270
8195
|
position: relative;
|
|
8271
8196
|
overflow: hidden;
|
|
@@ -8331,7 +8256,7 @@ const CloseButton = styled__default.default.button`
|
|
|
8331
8256
|
`;
|
|
8332
8257
|
const GradientButton = styled__default.default(designSystem.Button)`
|
|
8333
8258
|
&& {
|
|
8334
|
-
background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
|
|
8259
|
+
background: linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
|
|
8335
8260
|
color: white;
|
|
8336
8261
|
font-weight: 600;
|
|
8337
8262
|
border: none;
|
|
@@ -8340,7 +8265,7 @@ const GradientButton = styled__default.default(designSystem.Button)`
|
|
|
8340
8265
|
min-height: 44px;
|
|
8341
8266
|
|
|
8342
8267
|
&:hover:not(:disabled) {
|
|
8343
|
-
background: linear-gradient(135deg, #0284C7 0%, #9333EA 100%);
|
|
8268
|
+
background: linear-gradient(135deg, var(--colors-primary700, #0284C7) 0%, var(--colors-secondary600, #9333EA) 100%);
|
|
8344
8269
|
box-shadow: 0 6px 16px rgba(14, 165, 233, 0.5);
|
|
8345
8270
|
}
|
|
8346
8271
|
|
|
@@ -8352,22 +8277,22 @@ const GradientButton = styled__default.default(designSystem.Button)`
|
|
|
8352
8277
|
`;
|
|
8353
8278
|
styled__default.default(designSystem.Button)`
|
|
8354
8279
|
&& {
|
|
8355
|
-
background:
|
|
8356
|
-
color: #0EA5E9;
|
|
8280
|
+
background: rgba(14, 165, 233, 0.06);
|
|
8281
|
+
color: var(--colors-primary600, #0EA5E9);
|
|
8357
8282
|
font-weight: 600;
|
|
8358
|
-
border: 2px solid #0EA5E9;
|
|
8283
|
+
border: 2px solid var(--colors-primary600, #0EA5E9);
|
|
8359
8284
|
padding: 12px 24px;
|
|
8360
8285
|
min-height: 44px;
|
|
8361
8286
|
|
|
8362
8287
|
&:hover:not(:disabled) {
|
|
8363
|
-
background:
|
|
8288
|
+
background: rgba(14, 165, 233, 0.12);
|
|
8364
8289
|
}
|
|
8365
8290
|
}
|
|
8366
8291
|
`;
|
|
8367
8292
|
const ToggleButton = styled__default.default.button`
|
|
8368
8293
|
background: none;
|
|
8369
8294
|
border: none;
|
|
8370
|
-
color: #0EA5E9;
|
|
8295
|
+
color: var(--colors-primary600, #0EA5E9);
|
|
8371
8296
|
font-size: 13px;
|
|
8372
8297
|
font-weight: 600;
|
|
8373
8298
|
cursor: pointer;
|
|
@@ -8376,7 +8301,7 @@ const ToggleButton = styled__default.default.button`
|
|
|
8376
8301
|
transition: color 0.2s;
|
|
8377
8302
|
|
|
8378
8303
|
&:hover {
|
|
8379
|
-
color: #A855F7;
|
|
8304
|
+
color: var(--colors-secondary600, #A855F7);
|
|
8380
8305
|
}
|
|
8381
8306
|
|
|
8382
8307
|
&:disabled {
|
|
@@ -8547,7 +8472,7 @@ const LicenseGuard = ({ children }) => {
|
|
|
8547
8472
|
padding: 4,
|
|
8548
8473
|
style: {
|
|
8549
8474
|
borderRadius: "8px",
|
|
8550
|
-
border: "2px solid
|
|
8475
|
+
border: "2px solid rgba(14, 165, 233, 0.3)",
|
|
8551
8476
|
width: "100%"
|
|
8552
8477
|
},
|
|
8553
8478
|
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 +8536,7 @@ const LicenseGuard = ({ children }) => {
|
|
|
8611
8536
|
padding: 5,
|
|
8612
8537
|
style: {
|
|
8613
8538
|
borderRadius: "8px",
|
|
8614
|
-
border: "2px solid
|
|
8539
|
+
border: "2px solid rgba(34, 197, 94, 0.3)",
|
|
8615
8540
|
textAlign: "center"
|
|
8616
8541
|
},
|
|
8617
8542
|
children: [
|