strapi-plugin-magic-mail 2.6.2 → 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.
@@ -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-BthPdM8c.js");
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) {
@@ -122,8 +122,6 @@ const colors$1 = {
122
122
  successLight: "rgba(92, 177, 118, 0.12)",
123
123
  // Gray
124
124
  neutralLight: "rgba(142, 142, 169, 0.08)",
125
- // Light gray
126
- white: "var(--colors-neutral0, #ffffff)",
127
125
  border: "rgba(128, 128, 128, 0.2)",
128
126
  text: "var(--colors-neutral800, #32324d)",
129
127
  textLight: "var(--colors-neutral600, #666687)"
@@ -191,8 +189,8 @@ const StepDot$1 = styled__default.default.div`
191
189
  width: 56px;
192
190
  height: 56px;
193
191
  border-radius: 50%;
194
- background: ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : colors$1.white};
195
- color: ${(props) => props.$active || props.$completed ? colors$1.white : colors$1.textLight};
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};
196
194
  border: 4px solid ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : colors$1.border};
197
195
  display: flex;
198
196
  align-items: center;
@@ -233,7 +231,7 @@ const ProvidersGrid = styled__default.default(designSystem.Box)`
233
231
  margin-right: auto;
234
232
  `;
235
233
  const ProviderCard = styled__default.default(designSystem.Box)`
236
- background: ${(props) => props.$selected ? colors$1.successLight : colors$1.white};
234
+ background: ${(props) => props.$selected ? colors$1.successLight : props.theme.colors.neutral0};
237
235
  border: 2px solid ${(props) => props.$selected ? colors$1.success : colors$1.border};
238
236
  border-radius: 12px;
239
237
  padding: 24px;
@@ -1973,7 +1971,7 @@ const StatsGrid$3 = styled__default.default.div`
1973
1971
  }
1974
1972
  `;
1975
1973
  const StatCard$3 = styled__default.default(designSystem.Box)`
1976
- background: var(--colors-neutral0, white);
1974
+ background: ${(p) => p.theme.colors.neutral0};
1977
1975
  border-radius: ${theme$3.borderRadius.lg};
1978
1976
  padding: 28px ${theme$3.spacing.lg};
1979
1977
  position: relative;
@@ -2073,7 +2071,7 @@ const AccountsContainer = styled__default.default(designSystem.Box)`
2073
2071
  margin-top: ${theme$3.spacing.xl};
2074
2072
  `;
2075
2073
  const EmptyState$3 = styled__default.default(designSystem.Box)`
2076
- background: var(--colors-neutral0, white);
2074
+ background: ${(p) => p.theme.colors.neutral0};
2077
2075
  border-radius: ${theme$3.borderRadius.xl};
2078
2076
  border: 2px dashed rgba(128, 128, 128, 0.3);
2079
2077
  padding: 80px 32px;
@@ -2142,7 +2140,7 @@ const StyledTable$3 = styled__default.default(designSystem.Table)`
2142
2140
  }
2143
2141
  `;
2144
2142
  const FilterBar$3 = styled__default.default(designSystem.Flex)`
2145
- background: var(--colors-neutral0, white);
2143
+ background: ${(p) => p.theme.colors.neutral0};
2146
2144
  padding: ${theme$3.spacing.md} ${theme$3.spacing.lg};
2147
2145
  border-radius: ${theme$3.borderRadius.lg};
2148
2146
  margin-bottom: ${theme$3.spacing.lg};
@@ -2172,7 +2170,7 @@ const StyledSearchInput$2 = styled__default.default.input`
2172
2170
  border-radius: ${theme$3.borderRadius.md};
2173
2171
  font-size: 0.875rem;
2174
2172
  transition: all ${theme$3.transitions.fast};
2175
- background: var(--colors-neutral0, white);
2173
+ background: ${(p) => p.theme.colors.neutral0};
2176
2174
  color: var(--colors-neutral800);
2177
2175
 
2178
2176
  &:focus {
@@ -2227,7 +2225,7 @@ const StyledModalHeader$1 = styled__default.default(designSystem.Modal.Header)`
2227
2225
  const StyledModalBody$1 = styled__default.default(designSystem.Modal.Body)`
2228
2226
  && {
2229
2227
  padding: 24px 28px;
2230
- background: var(--colors-neutral0, white);
2228
+ background: ${(p) => p.theme.colors.neutral0};
2231
2229
  width: 100%;
2232
2230
  box-sizing: border-box;
2233
2231
  }
@@ -2258,7 +2256,7 @@ const TestOptionCard = styled__default.default(designSystem.Box)`
2258
2256
  border-radius: 12px;
2259
2257
  cursor: pointer;
2260
2258
  transition: all ${theme$3.transitions.fast};
2261
- background: ${(props) => props.$selected ? "rgba(2, 132, 199, 0.06)" : "var(--colors-neutral0, white)"};
2259
+ background: ${(props) => props.$selected ? "rgba(2, 132, 199, 0.06)" : "${(p) => p.theme.colors.neutral0}"};
2262
2260
 
2263
2261
  &:hover {
2264
2262
  border-color: ${"rgba(2, 132, 199, 0.4)"};
@@ -2283,7 +2281,7 @@ const StyledModalSelect = styled__default.default.select`
2283
2281
  border: 1px solid rgba(128, 128, 128, 0.2);
2284
2282
  border-radius: 8px;
2285
2283
  font-size: 14px;
2286
- background: var(--colors-neutral0, white);
2284
+ background: ${(p) => p.theme.colors.neutral0};
2287
2285
  color: var(--colors-neutral800);
2288
2286
  cursor: pointer;
2289
2287
  transition: all ${theme$3.transitions.fast};
@@ -2301,7 +2299,7 @@ const StyledModalInput = styled__default.default.input`
2301
2299
  border: 1px solid rgba(128, 128, 128, 0.2);
2302
2300
  border-radius: 8px;
2303
2301
  font-size: 14px;
2304
- background: var(--colors-neutral0, white);
2302
+ background: ${(p) => p.theme.colors.neutral0};
2305
2303
  color: var(--colors-neutral800);
2306
2304
  transition: all ${theme$3.transitions.fast};
2307
2305
  box-sizing: border-box;
@@ -3007,7 +3005,7 @@ const StatsGrid$2 = styled__default.default.div`
3007
3005
  }
3008
3006
  `;
3009
3007
  const StatCard$2 = styled__default.default(designSystem.Box)`
3010
- background: var(--colors-neutral0, white);
3008
+ background: ${(p) => p.theme.colors.neutral0};
3011
3009
  border-radius: ${theme$2.borderRadius.lg};
3012
3010
  padding: 28px ${theme$2.spacing.lg};
3013
3011
  position: relative;
@@ -3107,7 +3105,7 @@ const RulesContainer = styled__default.default(designSystem.Box)`
3107
3105
  margin-top: ${theme$2.spacing.xl};
3108
3106
  `;
3109
3107
  const EmptyState$2 = styled__default.default(designSystem.Box)`
3110
- background: var(--colors-neutral0, white);
3108
+ background: ${(p) => p.theme.colors.neutral0};
3111
3109
  border-radius: ${theme$2.borderRadius.xl};
3112
3110
  border: 2px dashed rgba(128, 128, 128, 0.3);
3113
3111
  padding: 80px 32px;
@@ -3176,7 +3174,7 @@ const StyledTable$2 = styled__default.default(designSystem.Table)`
3176
3174
  }
3177
3175
  `;
3178
3176
  const FilterBar$2 = styled__default.default(designSystem.Flex)`
3179
- background: var(--colors-neutral0, white);
3177
+ background: ${(p) => p.theme.colors.neutral0};
3180
3178
  padding: ${theme$2.spacing.md} ${theme$2.spacing.lg};
3181
3179
  border-radius: ${theme$2.borderRadius.lg};
3182
3180
  margin-bottom: ${theme$2.spacing.lg};
@@ -3908,7 +3906,7 @@ const ScrollableDialogBody = styled__default.default(designSystem.Box)`
3908
3906
  overflow-y: auto;
3909
3907
  max-height: calc(85vh - 160px);
3910
3908
  padding: 24px 28px 28px 28px;
3911
- background: var(--colors-neutral0, white);
3909
+ background: ${(p) => p.theme.colors.neutral0};
3912
3910
 
3913
3911
  /* Custom Scrollbar */
3914
3912
  &::-webkit-scrollbar {
@@ -4192,7 +4190,7 @@ const StatsGrid$1 = styled__default.default.div`
4192
4190
  }
4193
4191
  `;
4194
4192
  const StatCard$1 = styled__default.default(designSystem.Box)`
4195
- background: var(--colors-neutral0, white);
4193
+ background: ${(p) => p.theme.colors.neutral0};
4196
4194
  border-radius: ${theme$1.borderRadius.lg};
4197
4195
  padding: 28px ${theme$1.spacing.lg};
4198
4196
  position: relative;
@@ -4295,7 +4293,7 @@ const SectionHeader = styled__default.default(designSystem.Box)`
4295
4293
  margin-bottom: ${theme$1.spacing.md};
4296
4294
  `;
4297
4295
  const FilterBar$1 = styled__default.default(designSystem.Flex)`
4298
- background: var(--colors-neutral0, white);
4296
+ background: ${(p) => p.theme.colors.neutral0};
4299
4297
  padding: ${theme$1.spacing.md} ${theme$1.spacing.lg};
4300
4298
  border-radius: ${theme$1.borderRadius.lg};
4301
4299
  margin-bottom: ${theme$1.spacing.lg};
@@ -4327,7 +4325,7 @@ const TableWrapper = styled__default.default(designSystem.Box)`
4327
4325
  overflow-x: auto;
4328
4326
  border-radius: ${theme$1.borderRadius.lg};
4329
4327
  border: 1px solid rgba(128, 128, 128, 0.2);
4330
- background: var(--colors-neutral0, white);
4328
+ background: ${(p) => p.theme.colors.neutral0};
4331
4329
 
4332
4330
  &::-webkit-scrollbar {
4333
4331
  height: 8px;
@@ -4393,7 +4391,7 @@ const PaginationWrapper = styled__default.default(designSystem.Flex)`
4393
4391
  border-radius: 0 0 ${theme$1.borderRadius.lg} ${theme$1.borderRadius.lg};
4394
4392
  `;
4395
4393
  const PaginationButton = styled__default.default.button`
4396
- background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%)" : "var(--colors-neutral0, white)"};
4394
+ background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%)" : "${(p) => p.theme.colors.neutral0}"};
4397
4395
  color: ${(props) => props.active ? "white" : "var(--colors-neutral700)"};
4398
4396
  border: 1px solid ${(props) => props.active ? "transparent" : "rgba(128, 128, 128, 0.3)"};
4399
4397
  padding: 6px 12px;
@@ -4416,7 +4414,7 @@ const PaginationButton = styled__default.default.button`
4416
4414
  }
4417
4415
  `;
4418
4416
  const EmptyState$1 = styled__default.default(designSystem.Box)`
4419
- background: var(--colors-neutral0, white);
4417
+ background: ${(p) => p.theme.colors.neutral0};
4420
4418
  border-radius: ${theme$1.borderRadius.xl};
4421
4419
  border: 2px dashed rgba(128, 128, 128, 0.3);
4422
4420
  padding: 80px 32px;
@@ -4481,7 +4479,7 @@ const EmptyFeatureItem = styled__default.default.div`
4481
4479
  text-align: center;
4482
4480
  gap: ${theme$1.spacing.sm};
4483
4481
  padding: ${theme$1.spacing.lg};
4484
- background: var(--colors-neutral0, white);
4482
+ background: ${(p) => p.theme.colors.neutral0};
4485
4483
  border-radius: ${theme$1.borderRadius.md};
4486
4484
  box-shadow: ${theme$1.shadows.sm};
4487
4485
  transition: ${theme$1.transitions.fast};
@@ -4555,7 +4553,7 @@ const StyledModalHeader = styled__default.default(designSystem.Modal.Header)`
4555
4553
  const StyledModalBody = styled__default.default(designSystem.Modal.Body)`
4556
4554
  && {
4557
4555
  padding: 28px;
4558
- background: var(--colors-neutral0, white);
4556
+ background: ${(p) => p.theme.colors.neutral0};
4559
4557
  }
4560
4558
  `;
4561
4559
  const ModalField = styled__default.default(designSystem.Box)`
@@ -4600,7 +4598,7 @@ const StyledSelect = styled__default.default.select`
4600
4598
  border-radius: 8px;
4601
4599
  border: 1px solid rgba(128, 128, 128, 0.2);
4602
4600
  font-size: 14px;
4603
- background: var(--colors-neutral0, white);
4601
+ background: ${(p) => p.theme.colors.neutral0};
4604
4602
  cursor: pointer;
4605
4603
  transition: all ${theme$1.transitions.fast};
4606
4604
  color: var(--colors-neutral700);
@@ -5679,7 +5677,7 @@ const Container$1 = styled__default.default.div`
5679
5677
  `;
5680
5678
  const Header$1 = styled__default.default.div`
5681
5679
  padding: 24px;
5682
- background: var(--colors-neutral0, white);
5680
+ background: ${(p) => p.theme.colors.neutral0};
5683
5681
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
5684
5682
  `;
5685
5683
  const HeaderRow = styled__default.default.div`
@@ -5750,7 +5748,7 @@ const TabsWrapper = styled__default.default.div`
5750
5748
  `;
5751
5749
  const TabListWrapper = styled__default.default.div`
5752
5750
  padding: 0 24px;
5753
- background: var(--colors-neutral0, white);
5751
+ background: ${(p) => p.theme.colors.neutral0};
5754
5752
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
5755
5753
  `;
5756
5754
  const StyledTabsRoot = styled__default.default(designSystem.Tabs.Root)`
@@ -5765,7 +5763,7 @@ const StyledTabsContent = styled__default.default(designSystem.Tabs.Content)`
5765
5763
  `;
5766
5764
  const TabContentWrapper = styled__default.default.div`
5767
5765
  height: calc(100vh - 240px);
5768
- background: var(--colors-neutral0, white);
5766
+ background: ${(p) => p.theme.colors.neutral0};
5769
5767
  position: relative;
5770
5768
  `;
5771
5769
  const TextTabContent = styled__default.default.div`
@@ -5837,7 +5835,7 @@ const ImportExportButton = styled__default.default.span`
5837
5835
  gap: 6px;
5838
5836
  padding: 8px 16px;
5839
5837
  height: 36px;
5840
- background: var(--colors-neutral0, white);
5838
+ background: ${(p) => p.theme.colors.neutral0};
5841
5839
  border: 1px solid rgba(128, 128, 128, 0.2);
5842
5840
  border-radius: 4px;
5843
5841
  color: var(--colors-neutral800);
@@ -5869,7 +5867,7 @@ const ImportLabel = styled__default.default.label`
5869
5867
  display: inline-block;
5870
5868
  `;
5871
5869
  const BackButton = styled__default.default.button`
5872
- background: var(--colors-neutral0, white);
5870
+ background: ${(p) => p.theme.colors.neutral0};
5873
5871
  border: 1px solid rgba(128, 128, 128, 0.2);
5874
5872
  border-radius: 4px;
5875
5873
  padding: 8px 10px;
@@ -5896,7 +5894,7 @@ const BackButton = styled__default.default.button`
5896
5894
  }
5897
5895
  `;
5898
5896
  const VersionButton = styled__default.default.button`
5899
- background: var(--colors-neutral0, white);
5897
+ background: ${(p) => p.theme.colors.neutral0};
5900
5898
  border: 1px solid rgba(128, 128, 128, 0.2);
5901
5899
  border-radius: 4px;
5902
5900
  padding: 8px 16px;
@@ -5935,7 +5933,7 @@ const VersionModal = styled__default.default.div`
5935
5933
  right: ${(props) => props.$isOpen ? "0" : "-450px"};
5936
5934
  width: 450px;
5937
5935
  height: 100vh;
5938
- background: var(--colors-neutral0, white);
5936
+ background: ${(p) => p.theme.colors.neutral0};
5939
5937
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
5940
5938
  z-index: 9999;
5941
5939
  transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
@@ -6915,7 +6913,7 @@ const StatsGrid = styled__default.default.div`
6915
6913
  }
6916
6914
  `;
6917
6915
  const StatCard = styled__default.default(designSystem.Box)`
6918
- background: var(--colors-neutral0, white);
6916
+ background: ${(p) => p.theme.colors.neutral0};
6919
6917
  border-radius: ${theme.borderRadius.lg};
6920
6918
  padding: 28px ${theme.spacing.lg};
6921
6919
  position: relative;
@@ -7009,7 +7007,7 @@ const StatLabel = styled__default.default(designSystem.Typography)`
7009
7007
  }
7010
7008
  `;
7011
7009
  const FilterBar = styled__default.default(designSystem.Box)`
7012
- background: var(--colors-neutral0, white);
7010
+ background: ${(p) => p.theme.colors.neutral0};
7013
7011
  border-radius: ${theme.borderRadius.lg};
7014
7012
  padding: ${theme.spacing.lg} ${theme.spacing.xl};
7015
7013
  margin-bottom: ${theme.spacing.lg};
@@ -7051,7 +7049,7 @@ const StyledTable = styled__default.default(designSystem.Table)`
7051
7049
  }
7052
7050
  `;
7053
7051
  const TableContainer = styled__default.default(designSystem.Box)`
7054
- background: var(--colors-neutral0, white);
7052
+ background: ${(p) => p.theme.colors.neutral0};
7055
7053
  border-radius: ${theme.borderRadius.lg};
7056
7054
  box-shadow: ${theme.shadows.md};
7057
7055
  border: 1px solid rgba(128, 128, 128, 0.2);
@@ -7059,7 +7057,7 @@ const TableContainer = styled__default.default(designSystem.Box)`
7059
7057
  margin-bottom: ${theme.spacing.xl};
7060
7058
  `;
7061
7059
  const EmptyState = styled__default.default(designSystem.Box)`
7062
- background: var(--colors-neutral0, white);
7060
+ background: ${(p) => p.theme.colors.neutral0};
7063
7061
  border-radius: ${theme.borderRadius.xl};
7064
7062
  border: 2px dashed rgba(128, 128, 128, 0.3);
7065
7063
  padding: 80px 32px;
@@ -7382,7 +7380,6 @@ const colors = {
7382
7380
  danger: "#d02b20",
7383
7381
  neutral: "#8e8ea9",
7384
7382
  neutralLight: "rgba(142, 142, 169, 0.08)",
7385
- white: "var(--colors-neutral0, #ffffff)",
7386
7383
  border: "rgba(128, 128, 128, 0.2)",
7387
7384
  textLight: "var(--colors-neutral600, #666687)"
7388
7385
  };
@@ -7445,8 +7442,8 @@ const StepDot = styled__default.default.div`
7445
7442
  width: 56px;
7446
7443
  height: 56px;
7447
7444
  border-radius: 50%;
7448
- background: ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : colors.white};
7449
- color: ${(props) => props.$active || props.$completed ? colors.white : colors.textLight};
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};
7450
7447
  border: 4px solid ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : colors.border};
7451
7448
  display: flex;
7452
7449
  align-items: center;
@@ -7477,7 +7474,7 @@ const StepLabel = styled__default.default(designSystem.Typography)`
7477
7474
  transition: all 0.3s ease;
7478
7475
  `;
7479
7476
  const ContentCard = styled__default.default(designSystem.Box)`
7480
- background: ${colors.white};
7477
+ background: ${(p) => p.theme.colors.neutral0};
7481
7478
  border: 1px solid ${colors.border};
7482
7479
  border-radius: 16px;
7483
7480
  padding: 32px;
@@ -7572,7 +7569,7 @@ const WhatsAppInput = styled__default.default.input`
7572
7569
  border: 2px solid rgba(128, 128, 128, 0.2);
7573
7570
  border-radius: 12px;
7574
7571
  font-size: 15px;
7575
- background: var(--colors-neutral0, white);
7572
+ background: ${(p) => p.theme.colors.neutral0};
7576
7573
  color: var(--colors-neutral800);
7577
7574
  transition: all 0.2s ease;
7578
7575
  box-sizing: border-box;
@@ -7593,7 +7590,7 @@ const WhatsAppTextarea = styled__default.default.textarea`
7593
7590
  border: 2px solid rgba(128, 128, 128, 0.2);
7594
7591
  border-radius: 12px;
7595
7592
  font-size: 15px;
7596
- background: var(--colors-neutral0, white);
7593
+ background: ${(p) => p.theme.colors.neutral0};
7597
7594
  color: var(--colors-neutral800);
7598
7595
  transition: all 0.2s ease;
7599
7596
  box-sizing: border-box;
@@ -8184,7 +8181,7 @@ const ModalOverlay = styled__default.default.div`
8184
8181
  padding: 20px;
8185
8182
  `;
8186
8183
  const ModalContent = styled__default.default(designSystem.Box)`
8187
- background: var(--colors-neutral0, white);
8184
+ background: ${(p) => p.theme.colors.neutral0};
8188
8185
  border-radius: 16px;
8189
8186
  width: 100%;
8190
8187
  max-width: 580px;
@@ -6,7 +6,7 @@ import { EnvelopeIcon, ServerIcon, SparklesIcon, PlusIcon, PencilIcon, PlayIcon,
6
6
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
7
7
  import styled, { css, keyframes } from "styled-components";
8
8
  import { Star, Mail, Server, Lock, Cog, Check, Cloud, Key, ArrowLeft, ArrowRight, ArrowClockwise, Play, Cross } from "@strapi/icons";
9
- import { T as TertiaryButton, G as GradientButton$1, C as CTAButton, I as IconButton, a as IconButtonPrimary, b as IconButtonDanger, S as SecondaryButton, c as IconButtonPurple, d as IconButtonSuccess, D as DangerButton } from "./StyledButtons-B1mvI82D.mjs";
9
+ import { T as TertiaryButton, G as GradientButton$1, C as CTAButton, I as IconButton, a as IconButtonPrimary, b as IconButtonDanger, S as SecondaryButton, c as IconButtonPurple, d as IconButtonSuccess, D as DangerButton } from "./StyledButtons-CdOf4Sps.mjs";
10
10
  import * as ReactEmailEditor from "react-email-editor";
11
11
  const useAuthRefresh = () => {
12
12
  const { get } = useFetchClient();
@@ -99,8 +99,6 @@ const colors$1 = {
99
99
  successLight: "rgba(92, 177, 118, 0.12)",
100
100
  // Gray
101
101
  neutralLight: "rgba(142, 142, 169, 0.08)",
102
- // Light gray
103
- white: "var(--colors-neutral0, #ffffff)",
104
102
  border: "rgba(128, 128, 128, 0.2)",
105
103
  text: "var(--colors-neutral800, #32324d)",
106
104
  textLight: "var(--colors-neutral600, #666687)"
@@ -168,8 +166,8 @@ const StepDot$1 = styled.div`
168
166
  width: 56px;
169
167
  height: 56px;
170
168
  border-radius: 50%;
171
- background: ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : colors$1.white};
172
- color: ${(props) => props.$active || props.$completed ? colors$1.white : colors$1.textLight};
169
+ background: ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : props.theme.colors.neutral0};
170
+ color: ${(props) => props.$active || props.$completed ? "#ffffff" : colors$1.textLight};
173
171
  border: 4px solid ${(props) => props.$active ? colors$1.primary : props.$completed ? colors$1.success : colors$1.border};
174
172
  display: flex;
175
173
  align-items: center;
@@ -210,7 +208,7 @@ const ProvidersGrid = styled(Box)`
210
208
  margin-right: auto;
211
209
  `;
212
210
  const ProviderCard = styled(Box)`
213
- background: ${(props) => props.$selected ? colors$1.successLight : colors$1.white};
211
+ background: ${(props) => props.$selected ? colors$1.successLight : props.theme.colors.neutral0};
214
212
  border: 2px solid ${(props) => props.$selected ? colors$1.success : colors$1.border};
215
213
  border-radius: 12px;
216
214
  padding: 24px;
@@ -1950,7 +1948,7 @@ const StatsGrid$3 = styled.div`
1950
1948
  }
1951
1949
  `;
1952
1950
  const StatCard$3 = styled(Box)`
1953
- background: var(--colors-neutral0, white);
1951
+ background: ${(p) => p.theme.colors.neutral0};
1954
1952
  border-radius: ${theme$3.borderRadius.lg};
1955
1953
  padding: 28px ${theme$3.spacing.lg};
1956
1954
  position: relative;
@@ -2050,7 +2048,7 @@ const AccountsContainer = styled(Box)`
2050
2048
  margin-top: ${theme$3.spacing.xl};
2051
2049
  `;
2052
2050
  const EmptyState$3 = styled(Box)`
2053
- background: var(--colors-neutral0, white);
2051
+ background: ${(p) => p.theme.colors.neutral0};
2054
2052
  border-radius: ${theme$3.borderRadius.xl};
2055
2053
  border: 2px dashed rgba(128, 128, 128, 0.3);
2056
2054
  padding: 80px 32px;
@@ -2119,7 +2117,7 @@ const StyledTable$3 = styled(Table)`
2119
2117
  }
2120
2118
  `;
2121
2119
  const FilterBar$3 = styled(Flex)`
2122
- background: var(--colors-neutral0, white);
2120
+ background: ${(p) => p.theme.colors.neutral0};
2123
2121
  padding: ${theme$3.spacing.md} ${theme$3.spacing.lg};
2124
2122
  border-radius: ${theme$3.borderRadius.lg};
2125
2123
  margin-bottom: ${theme$3.spacing.lg};
@@ -2149,7 +2147,7 @@ const StyledSearchInput$2 = styled.input`
2149
2147
  border-radius: ${theme$3.borderRadius.md};
2150
2148
  font-size: 0.875rem;
2151
2149
  transition: all ${theme$3.transitions.fast};
2152
- background: var(--colors-neutral0, white);
2150
+ background: ${(p) => p.theme.colors.neutral0};
2153
2151
  color: var(--colors-neutral800);
2154
2152
 
2155
2153
  &:focus {
@@ -2204,7 +2202,7 @@ const StyledModalHeader$1 = styled(Modal.Header)`
2204
2202
  const StyledModalBody$1 = styled(Modal.Body)`
2205
2203
  && {
2206
2204
  padding: 24px 28px;
2207
- background: var(--colors-neutral0, white);
2205
+ background: ${(p) => p.theme.colors.neutral0};
2208
2206
  width: 100%;
2209
2207
  box-sizing: border-box;
2210
2208
  }
@@ -2235,7 +2233,7 @@ const TestOptionCard = styled(Box)`
2235
2233
  border-radius: 12px;
2236
2234
  cursor: pointer;
2237
2235
  transition: all ${theme$3.transitions.fast};
2238
- background: ${(props) => props.$selected ? "rgba(2, 132, 199, 0.06)" : "var(--colors-neutral0, white)"};
2236
+ background: ${(props) => props.$selected ? "rgba(2, 132, 199, 0.06)" : "${(p) => p.theme.colors.neutral0}"};
2239
2237
 
2240
2238
  &:hover {
2241
2239
  border-color: ${"rgba(2, 132, 199, 0.4)"};
@@ -2260,7 +2258,7 @@ const StyledModalSelect = styled.select`
2260
2258
  border: 1px solid rgba(128, 128, 128, 0.2);
2261
2259
  border-radius: 8px;
2262
2260
  font-size: 14px;
2263
- background: var(--colors-neutral0, white);
2261
+ background: ${(p) => p.theme.colors.neutral0};
2264
2262
  color: var(--colors-neutral800);
2265
2263
  cursor: pointer;
2266
2264
  transition: all ${theme$3.transitions.fast};
@@ -2278,7 +2276,7 @@ const StyledModalInput = styled.input`
2278
2276
  border: 1px solid rgba(128, 128, 128, 0.2);
2279
2277
  border-radius: 8px;
2280
2278
  font-size: 14px;
2281
- background: var(--colors-neutral0, white);
2279
+ background: ${(p) => p.theme.colors.neutral0};
2282
2280
  color: var(--colors-neutral800);
2283
2281
  transition: all ${theme$3.transitions.fast};
2284
2282
  box-sizing: border-box;
@@ -2984,7 +2982,7 @@ const StatsGrid$2 = styled.div`
2984
2982
  }
2985
2983
  `;
2986
2984
  const StatCard$2 = styled(Box)`
2987
- background: var(--colors-neutral0, white);
2985
+ background: ${(p) => p.theme.colors.neutral0};
2988
2986
  border-radius: ${theme$2.borderRadius.lg};
2989
2987
  padding: 28px ${theme$2.spacing.lg};
2990
2988
  position: relative;
@@ -3084,7 +3082,7 @@ const RulesContainer = styled(Box)`
3084
3082
  margin-top: ${theme$2.spacing.xl};
3085
3083
  `;
3086
3084
  const EmptyState$2 = styled(Box)`
3087
- background: var(--colors-neutral0, white);
3085
+ background: ${(p) => p.theme.colors.neutral0};
3088
3086
  border-radius: ${theme$2.borderRadius.xl};
3089
3087
  border: 2px dashed rgba(128, 128, 128, 0.3);
3090
3088
  padding: 80px 32px;
@@ -3153,7 +3151,7 @@ const StyledTable$2 = styled(Table)`
3153
3151
  }
3154
3152
  `;
3155
3153
  const FilterBar$2 = styled(Flex)`
3156
- background: var(--colors-neutral0, white);
3154
+ background: ${(p) => p.theme.colors.neutral0};
3157
3155
  padding: ${theme$2.spacing.md} ${theme$2.spacing.lg};
3158
3156
  border-radius: ${theme$2.borderRadius.lg};
3159
3157
  margin-bottom: ${theme$2.spacing.lg};
@@ -3885,7 +3883,7 @@ const ScrollableDialogBody = styled(Box)`
3885
3883
  overflow-y: auto;
3886
3884
  max-height: calc(85vh - 160px);
3887
3885
  padding: 24px 28px 28px 28px;
3888
- background: var(--colors-neutral0, white);
3886
+ background: ${(p) => p.theme.colors.neutral0};
3889
3887
 
3890
3888
  /* Custom Scrollbar */
3891
3889
  &::-webkit-scrollbar {
@@ -4169,7 +4167,7 @@ const StatsGrid$1 = styled.div`
4169
4167
  }
4170
4168
  `;
4171
4169
  const StatCard$1 = styled(Box)`
4172
- background: var(--colors-neutral0, white);
4170
+ background: ${(p) => p.theme.colors.neutral0};
4173
4171
  border-radius: ${theme$1.borderRadius.lg};
4174
4172
  padding: 28px ${theme$1.spacing.lg};
4175
4173
  position: relative;
@@ -4272,7 +4270,7 @@ const SectionHeader = styled(Box)`
4272
4270
  margin-bottom: ${theme$1.spacing.md};
4273
4271
  `;
4274
4272
  const FilterBar$1 = styled(Flex)`
4275
- background: var(--colors-neutral0, white);
4273
+ background: ${(p) => p.theme.colors.neutral0};
4276
4274
  padding: ${theme$1.spacing.md} ${theme$1.spacing.lg};
4277
4275
  border-radius: ${theme$1.borderRadius.lg};
4278
4276
  margin-bottom: ${theme$1.spacing.lg};
@@ -4304,7 +4302,7 @@ const TableWrapper = styled(Box)`
4304
4302
  overflow-x: auto;
4305
4303
  border-radius: ${theme$1.borderRadius.lg};
4306
4304
  border: 1px solid rgba(128, 128, 128, 0.2);
4307
- background: var(--colors-neutral0, white);
4305
+ background: ${(p) => p.theme.colors.neutral0};
4308
4306
 
4309
4307
  &::-webkit-scrollbar {
4310
4308
  height: 8px;
@@ -4370,7 +4368,7 @@ const PaginationWrapper = styled(Flex)`
4370
4368
  border-radius: 0 0 ${theme$1.borderRadius.lg} ${theme$1.borderRadius.lg};
4371
4369
  `;
4372
4370
  const PaginationButton = styled.button`
4373
- background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%)" : "var(--colors-neutral0, white)"};
4371
+ background: ${(props) => props.active ? "linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%)" : "${(p) => p.theme.colors.neutral0}"};
4374
4372
  color: ${(props) => props.active ? "white" : "var(--colors-neutral700)"};
4375
4373
  border: 1px solid ${(props) => props.active ? "transparent" : "rgba(128, 128, 128, 0.3)"};
4376
4374
  padding: 6px 12px;
@@ -4393,7 +4391,7 @@ const PaginationButton = styled.button`
4393
4391
  }
4394
4392
  `;
4395
4393
  const EmptyState$1 = styled(Box)`
4396
- background: var(--colors-neutral0, white);
4394
+ background: ${(p) => p.theme.colors.neutral0};
4397
4395
  border-radius: ${theme$1.borderRadius.xl};
4398
4396
  border: 2px dashed rgba(128, 128, 128, 0.3);
4399
4397
  padding: 80px 32px;
@@ -4458,7 +4456,7 @@ const EmptyFeatureItem = styled.div`
4458
4456
  text-align: center;
4459
4457
  gap: ${theme$1.spacing.sm};
4460
4458
  padding: ${theme$1.spacing.lg};
4461
- background: var(--colors-neutral0, white);
4459
+ background: ${(p) => p.theme.colors.neutral0};
4462
4460
  border-radius: ${theme$1.borderRadius.md};
4463
4461
  box-shadow: ${theme$1.shadows.sm};
4464
4462
  transition: ${theme$1.transitions.fast};
@@ -4532,7 +4530,7 @@ const StyledModalHeader = styled(Modal.Header)`
4532
4530
  const StyledModalBody = styled(Modal.Body)`
4533
4531
  && {
4534
4532
  padding: 28px;
4535
- background: var(--colors-neutral0, white);
4533
+ background: ${(p) => p.theme.colors.neutral0};
4536
4534
  }
4537
4535
  `;
4538
4536
  const ModalField = styled(Box)`
@@ -4577,7 +4575,7 @@ const StyledSelect = styled.select`
4577
4575
  border-radius: 8px;
4578
4576
  border: 1px solid rgba(128, 128, 128, 0.2);
4579
4577
  font-size: 14px;
4580
- background: var(--colors-neutral0, white);
4578
+ background: ${(p) => p.theme.colors.neutral0};
4581
4579
  cursor: pointer;
4582
4580
  transition: all ${theme$1.transitions.fast};
4583
4581
  color: var(--colors-neutral700);
@@ -5656,7 +5654,7 @@ const Container$1 = styled.div`
5656
5654
  `;
5657
5655
  const Header$1 = styled.div`
5658
5656
  padding: 24px;
5659
- background: var(--colors-neutral0, white);
5657
+ background: ${(p) => p.theme.colors.neutral0};
5660
5658
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
5661
5659
  `;
5662
5660
  const HeaderRow = styled.div`
@@ -5727,7 +5725,7 @@ const TabsWrapper = styled.div`
5727
5725
  `;
5728
5726
  const TabListWrapper = styled.div`
5729
5727
  padding: 0 24px;
5730
- background: var(--colors-neutral0, white);
5728
+ background: ${(p) => p.theme.colors.neutral0};
5731
5729
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
5732
5730
  `;
5733
5731
  const StyledTabsRoot = styled(Tabs.Root)`
@@ -5742,7 +5740,7 @@ const StyledTabsContent = styled(Tabs.Content)`
5742
5740
  `;
5743
5741
  const TabContentWrapper = styled.div`
5744
5742
  height: calc(100vh - 240px);
5745
- background: var(--colors-neutral0, white);
5743
+ background: ${(p) => p.theme.colors.neutral0};
5746
5744
  position: relative;
5747
5745
  `;
5748
5746
  const TextTabContent = styled.div`
@@ -5814,7 +5812,7 @@ const ImportExportButton = styled.span`
5814
5812
  gap: 6px;
5815
5813
  padding: 8px 16px;
5816
5814
  height: 36px;
5817
- background: var(--colors-neutral0, white);
5815
+ background: ${(p) => p.theme.colors.neutral0};
5818
5816
  border: 1px solid rgba(128, 128, 128, 0.2);
5819
5817
  border-radius: 4px;
5820
5818
  color: var(--colors-neutral800);
@@ -5846,7 +5844,7 @@ const ImportLabel = styled.label`
5846
5844
  display: inline-block;
5847
5845
  `;
5848
5846
  const BackButton = styled.button`
5849
- background: var(--colors-neutral0, white);
5847
+ background: ${(p) => p.theme.colors.neutral0};
5850
5848
  border: 1px solid rgba(128, 128, 128, 0.2);
5851
5849
  border-radius: 4px;
5852
5850
  padding: 8px 10px;
@@ -5873,7 +5871,7 @@ const BackButton = styled.button`
5873
5871
  }
5874
5872
  `;
5875
5873
  const VersionButton = styled.button`
5876
- background: var(--colors-neutral0, white);
5874
+ background: ${(p) => p.theme.colors.neutral0};
5877
5875
  border: 1px solid rgba(128, 128, 128, 0.2);
5878
5876
  border-radius: 4px;
5879
5877
  padding: 8px 16px;
@@ -5912,7 +5910,7 @@ const VersionModal = styled.div`
5912
5910
  right: ${(props) => props.$isOpen ? "0" : "-450px"};
5913
5911
  width: 450px;
5914
5912
  height: 100vh;
5915
- background: var(--colors-neutral0, white);
5913
+ background: ${(p) => p.theme.colors.neutral0};
5916
5914
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
5917
5915
  z-index: 9999;
5918
5916
  transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
@@ -6892,7 +6890,7 @@ const StatsGrid = styled.div`
6892
6890
  }
6893
6891
  `;
6894
6892
  const StatCard = styled(Box)`
6895
- background: var(--colors-neutral0, white);
6893
+ background: ${(p) => p.theme.colors.neutral0};
6896
6894
  border-radius: ${theme.borderRadius.lg};
6897
6895
  padding: 28px ${theme.spacing.lg};
6898
6896
  position: relative;
@@ -6986,7 +6984,7 @@ const StatLabel = styled(Typography)`
6986
6984
  }
6987
6985
  `;
6988
6986
  const FilterBar = styled(Box)`
6989
- background: var(--colors-neutral0, white);
6987
+ background: ${(p) => p.theme.colors.neutral0};
6990
6988
  border-radius: ${theme.borderRadius.lg};
6991
6989
  padding: ${theme.spacing.lg} ${theme.spacing.xl};
6992
6990
  margin-bottom: ${theme.spacing.lg};
@@ -7028,7 +7026,7 @@ const StyledTable = styled(Table)`
7028
7026
  }
7029
7027
  `;
7030
7028
  const TableContainer = styled(Box)`
7031
- background: var(--colors-neutral0, white);
7029
+ background: ${(p) => p.theme.colors.neutral0};
7032
7030
  border-radius: ${theme.borderRadius.lg};
7033
7031
  box-shadow: ${theme.shadows.md};
7034
7032
  border: 1px solid rgba(128, 128, 128, 0.2);
@@ -7036,7 +7034,7 @@ const TableContainer = styled(Box)`
7036
7034
  margin-bottom: ${theme.spacing.xl};
7037
7035
  `;
7038
7036
  const EmptyState = styled(Box)`
7039
- background: var(--colors-neutral0, white);
7037
+ background: ${(p) => p.theme.colors.neutral0};
7040
7038
  border-radius: ${theme.borderRadius.xl};
7041
7039
  border: 2px dashed rgba(128, 128, 128, 0.3);
7042
7040
  padding: 80px 32px;
@@ -7359,7 +7357,6 @@ const colors = {
7359
7357
  danger: "#d02b20",
7360
7358
  neutral: "#8e8ea9",
7361
7359
  neutralLight: "rgba(142, 142, 169, 0.08)",
7362
- white: "var(--colors-neutral0, #ffffff)",
7363
7360
  border: "rgba(128, 128, 128, 0.2)",
7364
7361
  textLight: "var(--colors-neutral600, #666687)"
7365
7362
  };
@@ -7422,8 +7419,8 @@ const StepDot = styled.div`
7422
7419
  width: 56px;
7423
7420
  height: 56px;
7424
7421
  border-radius: 50%;
7425
- background: ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : colors.white};
7426
- color: ${(props) => props.$active || props.$completed ? colors.white : colors.textLight};
7422
+ background: ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : props.theme.colors.neutral0};
7423
+ color: ${(props) => props.$active || props.$completed ? "#ffffff" : colors.textLight};
7427
7424
  border: 4px solid ${(props) => props.$active ? colors.whatsapp : props.$completed ? colors.success : colors.border};
7428
7425
  display: flex;
7429
7426
  align-items: center;
@@ -7454,7 +7451,7 @@ const StepLabel = styled(Typography)`
7454
7451
  transition: all 0.3s ease;
7455
7452
  `;
7456
7453
  const ContentCard = styled(Box)`
7457
- background: ${colors.white};
7454
+ background: ${(p) => p.theme.colors.neutral0};
7458
7455
  border: 1px solid ${colors.border};
7459
7456
  border-radius: 16px;
7460
7457
  padding: 32px;
@@ -7549,7 +7546,7 @@ const WhatsAppInput = styled.input`
7549
7546
  border: 2px solid rgba(128, 128, 128, 0.2);
7550
7547
  border-radius: 12px;
7551
7548
  font-size: 15px;
7552
- background: var(--colors-neutral0, white);
7549
+ background: ${(p) => p.theme.colors.neutral0};
7553
7550
  color: var(--colors-neutral800);
7554
7551
  transition: all 0.2s ease;
7555
7552
  box-sizing: border-box;
@@ -7570,7 +7567,7 @@ const WhatsAppTextarea = styled.textarea`
7570
7567
  border: 2px solid rgba(128, 128, 128, 0.2);
7571
7568
  border-radius: 12px;
7572
7569
  font-size: 15px;
7573
- background: var(--colors-neutral0, white);
7570
+ background: ${(p) => p.theme.colors.neutral0};
7574
7571
  color: var(--colors-neutral800);
7575
7572
  transition: all 0.2s ease;
7576
7573
  box-sizing: border-box;
@@ -8161,7 +8158,7 @@ const ModalOverlay = styled.div`
8161
8158
  padding: 20px;
8162
8159
  `;
8163
8160
  const ModalContent = styled(Box)`
8164
- background: var(--colors-neutral0, white);
8161
+ background: ${(p) => p.theme.colors.neutral0};
8165
8162
  border-radius: 16px;
8166
8163
  width: 100%;
8167
8164
  max-width: 580px;
@@ -51,7 +51,7 @@ const TierWrapper = styled__default.default(designSystem.Box)`
51
51
  display: flex;
52
52
  `;
53
53
  const TierCard = styled__default.default(designSystem.Box)`
54
- background: var(--colors-neutral0, white);
54
+ background: ${(p) => p.theme.colors.neutral0};
55
55
  border-radius: 16px;
56
56
  padding: 32px;
57
57
  border: 2px solid ${(props) => props.$featured ? "var(--colors-primary600, #0EA5E9)" : "rgba(128, 128, 128, 0.2)"};
@@ -47,7 +47,7 @@ const TierWrapper = styled(Box)`
47
47
  display: flex;
48
48
  `;
49
49
  const TierCard = styled(Box)`
50
- background: var(--colors-neutral0, white);
50
+ background: ${(p) => p.theme.colors.neutral0};
51
51
  border-radius: 16px;
52
52
  padding: 32px;
53
53
  border: 2px solid ${(props) => props.$featured ? "var(--colors-primary600, #0EA5E9)" : "rgba(128, 128, 128, 0.2)"};
@@ -4,7 +4,7 @@ import { Loader, Typography, Flex, Toggle, Box, Field, TextInput } from "@strapi
4
4
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
5
5
  import { ArrowPathIcon, LinkIcon, EyeIcon, EnvelopeIcon, UserIcon } from "@heroicons/react/24/outline";
6
6
  import styled, { css, keyframes } from "styled-components";
7
- import { T as TertiaryButton, G as GradientButton } from "./StyledButtons-B1mvI82D.mjs";
7
+ import { T as TertiaryButton, G as GradientButton } from "./StyledButtons-CdOf4Sps.mjs";
8
8
  const fadeIn = keyframes`
9
9
  from { opacity: 0; transform: translateY(10px); }
10
10
  to { opacity: 1; transform: translateY(0); }
@@ -35,13 +35,13 @@ const PageSubtitle = styled(Typography)`
35
35
  const ActionBar = styled(Flex)`
36
36
  margin-bottom: 32px;
37
37
  padding: 16px 20px;
38
- background: var(--colors-neutral0, white);
38
+ background: ${(p) => p.theme.colors.neutral0};
39
39
  border: 1px solid rgba(128, 128, 128, 0.2);
40
40
  border-radius: 8px;
41
41
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
42
42
  `;
43
43
  const SettingsSection = styled(Box)`
44
- background: var(--colors-neutral0, white);
44
+ background: ${(p) => p.theme.colors.neutral0};
45
45
  border: 1px solid rgba(128, 128, 128, 0.2);
46
46
  border-radius: 12px;
47
47
  overflow: hidden;
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  const outline = require("@heroicons/react/24/outline");
8
8
  const styled = require("styled-components");
9
- const StyledButtons = require("./StyledButtons-BthPdM8c.js");
9
+ const StyledButtons = require("./StyledButtons-DVGuFoqy.js");
10
10
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
11
11
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
12
12
  const fadeIn = styled.keyframes`
@@ -39,13 +39,13 @@ const PageSubtitle = styled__default.default(designSystem.Typography)`
39
39
  const ActionBar = styled__default.default(designSystem.Flex)`
40
40
  margin-bottom: 32px;
41
41
  padding: 16px 20px;
42
- background: var(--colors-neutral0, white);
42
+ background: ${(p) => p.theme.colors.neutral0};
43
43
  border: 1px solid rgba(128, 128, 128, 0.2);
44
44
  border-radius: 8px;
45
45
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
46
46
  `;
47
47
  const SettingsSection = styled__default.default(designSystem.Box)`
48
- background: var(--colors-neutral0, white);
48
+ background: ${(p) => p.theme.colors.neutral0};
49
49
  border: 1px solid rgba(128, 128, 128, 0.2);
50
50
  border-radius: 12px;
51
51
  overflow: hidden;
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  const outline = require("@heroicons/react/24/outline");
8
8
  const styled = require("styled-components");
9
- const StyledButtons = require("./StyledButtons-BthPdM8c.js");
9
+ const StyledButtons = require("./StyledButtons-DVGuFoqy.js");
10
10
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
11
11
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
12
12
  const fadeIn = styled.keyframes`
@@ -26,7 +26,7 @@ const StickySaveBar = styled__default.default(designSystem.Box)`
26
26
  position: sticky;
27
27
  top: 0;
28
28
  z-index: 10;
29
- background: var(--colors-neutral0, white);
29
+ background: ${(p) => p.theme.colors.neutral0};
30
30
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
31
31
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
32
32
  `;
@@ -4,7 +4,7 @@ import { Loader, Box, Alert, Flex, Typography, Badge, Accordion } from "@strapi/
4
4
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
5
5
  import { ArrowPathIcon, DocumentDuplicateIcon, ArrowDownTrayIcon, UserIcon, ShieldCheckIcon, SparklesIcon, ChartBarIcon } from "@heroicons/react/24/outline";
6
6
  import styled, { css, keyframes } from "styled-components";
7
- import { S as SecondaryButton, W as WhiteOutlineButton } from "./StyledButtons-B1mvI82D.mjs";
7
+ import { S as SecondaryButton, W as WhiteOutlineButton } from "./StyledButtons-CdOf4Sps.mjs";
8
8
  const fadeIn = keyframes`
9
9
  from { opacity: 0; transform: translateY(10px); }
10
10
  to { opacity: 1; transform: translateY(0); }
@@ -22,7 +22,7 @@ const StickySaveBar = styled(Box)`
22
22
  position: sticky;
23
23
  top: 0;
24
24
  z-index: 10;
25
- background: var(--colors-neutral0, white);
25
+ background: ${(p) => p.theme.colors.neutral0};
26
26
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
27
27
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
28
28
  `;
@@ -28,11 +28,11 @@ const GradientButton = styled(Button)`
28
28
  `;
29
29
  const SecondaryButton = styled(Button)`
30
30
  && {
31
- background: var(--colors-neutral0, white);
31
+ background: ${(p) => p.theme.colors.neutral0};
32
32
  color: var(--colors-secondary600, #7C3AED);
33
33
  font-weight: 600;
34
34
  border: 2px solid transparent;
35
- background-image: linear-gradient(var(--colors-neutral0, white), var(--colors-neutral0, white)), linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
35
+ background-image: linear-gradient(${(p) => p.theme.colors.neutral0}, ${(p) => p.theme.colors.neutral0}), linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
36
36
  background-origin: border-box;
37
37
  background-clip: padding-box, border-box;
38
38
  padding: 10px 20px;
@@ -31,11 +31,11 @@ const GradientButton = styled__default.default(designSystem.Button)`
31
31
  `;
32
32
  const SecondaryButton = styled__default.default(designSystem.Button)`
33
33
  && {
34
- background: var(--colors-neutral0, white);
34
+ background: ${(p) => p.theme.colors.neutral0};
35
35
  color: var(--colors-secondary600, #7C3AED);
36
36
  font-weight: 600;
37
37
  border: 2px solid transparent;
38
- background-image: linear-gradient(var(--colors-neutral0, white), var(--colors-neutral0, white)), linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
38
+ background-image: linear-gradient(${(p) => p.theme.colors.neutral0}, ${(p) => p.theme.colors.neutral0}), linear-gradient(135deg, var(--colors-primary600, #0EA5E9) 0%, var(--colors-secondary500, #A855F7) 100%);
39
39
  background-origin: border-box;
40
40
  background-clip: padding-box, border-box;
41
41
  padding: 10px 20px;
@@ -65,7 +65,7 @@ const index = {
65
65
  id: `${pluginId}.plugin.name`,
66
66
  defaultMessage: "MagicMail"
67
67
  },
68
- Component: () => Promise.resolve().then(() => require("../_chunks/App-BQRVLK7n.js"))
68
+ Component: () => Promise.resolve().then(() => require("../_chunks/App-Cp6QQAHt.js"))
69
69
  });
70
70
  app.createSettingSection(
71
71
  {
@@ -81,7 +81,7 @@ const index = {
81
81
  },
82
82
  id: "plugin-settings",
83
83
  to: `${pluginId}/plugin-settings`,
84
- Component: () => Promise.resolve().then(() => require("../_chunks/PluginSettings-BwL8Vqwq.js"))
84
+ Component: () => Promise.resolve().then(() => require("../_chunks/PluginSettings-cZXE_vy8.js"))
85
85
  },
86
86
  {
87
87
  intlLabel: {
@@ -90,7 +90,7 @@ const index = {
90
90
  },
91
91
  id: "upgrade",
92
92
  to: `${pluginId}/upgrade`,
93
- Component: () => Promise.resolve().then(() => require("../_chunks/LicensePage-B-EIY3Gv.js"))
93
+ Component: () => Promise.resolve().then(() => require("../_chunks/LicensePage-C38rs_Wj.js"))
94
94
  },
95
95
  {
96
96
  intlLabel: {
@@ -99,7 +99,7 @@ const index = {
99
99
  },
100
100
  id: "license",
101
101
  to: `${pluginId}/license`,
102
- Component: () => Promise.resolve().then(() => require("../_chunks/Settings-Bz6ogaIs.js"))
102
+ Component: () => Promise.resolve().then(() => require("../_chunks/Settings-BRFoD1yZ.js"))
103
103
  }
104
104
  ]
105
105
  );
@@ -64,7 +64,7 @@ const index = {
64
64
  id: `${pluginId}.plugin.name`,
65
65
  defaultMessage: "MagicMail"
66
66
  },
67
- Component: () => import("../_chunks/App-CtzU0GEJ.mjs")
67
+ Component: () => import("../_chunks/App-DvwmedNr.mjs")
68
68
  });
69
69
  app.createSettingSection(
70
70
  {
@@ -80,7 +80,7 @@ const index = {
80
80
  },
81
81
  id: "plugin-settings",
82
82
  to: `${pluginId}/plugin-settings`,
83
- Component: () => import("../_chunks/PluginSettings-B4qJyLnA.mjs")
83
+ Component: () => import("../_chunks/PluginSettings-XwyzH95_.mjs")
84
84
  },
85
85
  {
86
86
  intlLabel: {
@@ -89,7 +89,7 @@ const index = {
89
89
  },
90
90
  id: "upgrade",
91
91
  to: `${pluginId}/upgrade`,
92
- Component: () => import("../_chunks/LicensePage-C8ZmA1BC.mjs")
92
+ Component: () => import("../_chunks/LicensePage-DTrGRpi7.mjs")
93
93
  },
94
94
  {
95
95
  intlLabel: {
@@ -98,7 +98,7 @@ const index = {
98
98
  },
99
99
  id: "license",
100
100
  to: `${pluginId}/license`,
101
- Component: () => import("../_chunks/Settings-BMyRAG6n.mjs")
101
+ Component: () => import("../_chunks/Settings-DoSrZKfp.mjs")
102
102
  }
103
103
  ]
104
104
  );
@@ -5649,7 +5649,7 @@ function requireOauth() {
5649
5649
  });
5650
5650
  return oauth;
5651
5651
  }
5652
- const version = "2.6.1";
5652
+ const version = "2.6.2";
5653
5653
  const require$$2 = {
5654
5654
  version
5655
5655
  };
@@ -5639,7 +5639,7 @@ function requireOauth() {
5639
5639
  });
5640
5640
  return oauth;
5641
5641
  }
5642
- const version = "2.6.1";
5642
+ const version = "2.6.2";
5643
5643
  const require$$2 = {
5644
5644
  version
5645
5645
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.6.2",
2
+ "version": "2.6.3",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "strapi-plugin",