strapi-plugin-magic-sessionmanager 4.4.3 → 4.4.4

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.
Files changed (23) hide show
  1. package/dist/_chunks/{Analytics-CQNEZTUR.mjs → Analytics-CFlATYIp.mjs} +5 -5
  2. package/dist/_chunks/{Analytics-DDcZzOJc.js → Analytics-mFarhu5A.js} +5 -5
  3. package/dist/_chunks/{App-GrZxgdsa.mjs → App-BkFz8R3I.mjs} +9 -9
  4. package/dist/_chunks/{App-DmXHGW6v.js → App-CrdNlRlL.js} +9 -9
  5. package/dist/_chunks/{License-U8nciB7B.js → License-BI04KWfw.js} +2 -2
  6. package/dist/_chunks/{License-DJ2szRWp.mjs → License-BnbIePhc.mjs} +2 -2
  7. package/dist/_chunks/{OnlineUsersWidget-JvbLXkDK.js → OnlineUsersWidget-D1B_2ge5.js} +1 -1
  8. package/dist/_chunks/{OnlineUsersWidget--050_ZKf.mjs → OnlineUsersWidget-eBwttUiU.mjs} +1 -1
  9. package/dist/_chunks/{Settings-BKE3rMNU.mjs → Settings-BfKDErt5.mjs} +7 -7
  10. package/dist/_chunks/{Settings-CvYIqeue.js → Settings-Cy-6vah_.js} +7 -7
  11. package/dist/_chunks/{StyledButtons-HrcisfdR.mjs → StyledButtons-Cz8oYhmc.mjs} +2 -2
  12. package/dist/_chunks/{StyledButtons-UnlRhqip.js → StyledButtons-DDuxnYz8.js} +2 -2
  13. package/dist/_chunks/{UpgradePage-D8dw2eU6.mjs → UpgradePage-2mV2iqDM.mjs} +2 -2
  14. package/dist/_chunks/{UpgradePage-CCIXYVW3.js → UpgradePage-B8kz6Cyz.js} +2 -2
  15. package/dist/_chunks/{index-CLfOD-6A.mjs → index-B0wQeSSu.mjs} +9 -9
  16. package/dist/_chunks/{index-DcU_ELxj.js → index-BEh2DizI.js} +9 -9
  17. package/dist/_chunks/{useLicense-qbK401y8.js → useLicense-DFdVp_qI.js} +1 -1
  18. package/dist/_chunks/{useLicense-Bi6skBLw.mjs → useLicense-RxDUbCoU.mjs} +1 -1
  19. package/dist/admin/index.js +1 -1
  20. package/dist/admin/index.mjs +1 -1
  21. package/dist/server/index.js +1 -1
  22. package/dist/server/index.mjs +1 -1
  23. package/package.json +1 -1
@@ -4,8 +4,8 @@ import { useFetchClient } from "@strapi/strapi/admin";
4
4
  import styled, { css, keyframes } from "styled-components";
5
5
  import { Loader, Typography, Box, Flex, Badge } from "@strapi/design-system";
6
6
  import { ChartBubble, Crown, User, Clock, Monitor } from "@strapi/icons";
7
- import { a as pluginId } from "./index-CLfOD-6A.mjs";
8
- import { u as useLicense } from "./useLicense-Bi6skBLw.mjs";
7
+ import { a as pluginId } from "./index-B0wQeSSu.mjs";
8
+ import { u as useLicense } from "./useLicense-RxDUbCoU.mjs";
9
9
  const theme = {
10
10
  shadows: {
11
11
  sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
@@ -88,7 +88,7 @@ const HeaderContent = styled(Flex)`
88
88
  z-index: 1;
89
89
  `;
90
90
  const Title = styled(Typography)`
91
- color: ${"var(--colors-neutral0, white)"};
91
+ color: ${(p) => p.theme.colors.neutral0};
92
92
  font-size: 2.25rem;
93
93
  font-weight: 700;
94
94
  letter-spacing: -0.025em;
@@ -117,7 +117,7 @@ const StatsGrid = styled.div`
117
117
  margin-bottom: 40px;
118
118
  `;
119
119
  const StatCard = styled(Box)`
120
- background: ${"var(--colors-neutral0, white)"};
120
+ background: ${(p) => p.theme.colors.neutral0};
121
121
  border-radius: ${theme.borderRadius.lg};
122
122
  padding: 32px;
123
123
  position: relative;
@@ -182,7 +182,7 @@ const StatLabel = styled(Typography)`
182
182
  text-align: center;
183
183
  `;
184
184
  const ChartCard = styled(Box)`
185
- background: ${"var(--colors-neutral0, white)"};
185
+ background: ${(p) => p.theme.colors.neutral0};
186
186
  border-radius: ${theme.borderRadius.lg};
187
187
  padding: 36px;
188
188
  box-shadow: ${theme.shadows.md};
@@ -6,8 +6,8 @@ const admin = require("@strapi/strapi/admin");
6
6
  const styled = require("styled-components");
7
7
  const designSystem = require("@strapi/design-system");
8
8
  const icons = require("@strapi/icons");
9
- const index = require("./index-DcU_ELxj.js");
10
- const useLicense = require("./useLicense-qbK401y8.js");
9
+ const index = require("./index-BEh2DizI.js");
10
+ const useLicense = require("./useLicense-DFdVp_qI.js");
11
11
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
12
12
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
13
13
  const theme = {
@@ -92,7 +92,7 @@ const HeaderContent = styled__default.default(designSystem.Flex)`
92
92
  z-index: 1;
93
93
  `;
94
94
  const Title = styled__default.default(designSystem.Typography)`
95
- color: ${"var(--colors-neutral0, white)"};
95
+ color: ${(p) => p.theme.colors.neutral0};
96
96
  font-size: 2.25rem;
97
97
  font-weight: 700;
98
98
  letter-spacing: -0.025em;
@@ -121,7 +121,7 @@ const StatsGrid = styled__default.default.div`
121
121
  margin-bottom: 40px;
122
122
  `;
123
123
  const StatCard = styled__default.default(designSystem.Box)`
124
- background: ${"var(--colors-neutral0, white)"};
124
+ background: ${(p) => p.theme.colors.neutral0};
125
125
  border-radius: ${theme.borderRadius.lg};
126
126
  padding: 32px;
127
127
  position: relative;
@@ -186,7 +186,7 @@ const StatLabel = styled__default.default(designSystem.Typography)`
186
186
  text-align: center;
187
187
  `;
188
188
  const ChartCard = styled__default.default(designSystem.Box)`
189
- background: ${"var(--colors-neutral0, white)"};
189
+ background: ${(p) => p.theme.colors.neutral0};
190
190
  border-radius: ${theme.borderRadius.lg};
191
191
  padding: 36px;
192
192
  box-shadow: ${theme.shadows.md};
@@ -3,11 +3,11 @@ import { useState, useEffect } from "react";
3
3
  import { useIntl } from "react-intl";
4
4
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
5
5
  import styled, { css, keyframes } from "styled-components";
6
- import { p as parseUserAgent, a as pluginId, g as getTranslation } from "./index-CLfOD-6A.mjs";
6
+ import { p as parseUserAgent, a as pluginId, g as getTranslation } from "./index-B0wQeSSu.mjs";
7
7
  import { Modal, Flex, Box, Typography, Divider, Button, Loader, SingleSelect, SingleSelectOption, Thead, Tr, Th, Tbody, Td, Table, TextInput } from "@strapi/design-system";
8
8
  import { Check, Information, Monitor, Server, Clock, Cross, Earth, Shield, Crown, Phone, Download, User, Eye, Trash, Search, Key } from "@strapi/icons";
9
- import { u as useLicense } from "./useLicense-Bi6skBLw.mjs";
10
- import { S as ShowHideButton, T as TertiaryButton, D as DangerButton, I as IconButtonPrimary, a as IconButtonWarning, b as IconButtonDanger } from "./StyledButtons-HrcisfdR.mjs";
9
+ import { u as useLicense } from "./useLicense-RxDUbCoU.mjs";
10
+ import { S as ShowHideButton, T as TertiaryButton, D as DangerButton, I as IconButtonPrimary, a as IconButtonWarning, b as IconButtonDanger } from "./StyledButtons-Cz8oYhmc.mjs";
11
11
  import { useNavigate } from "react-router-dom";
12
12
  const theme = {
13
13
  shadows: {
@@ -568,7 +568,7 @@ const StatsGrid = styled.div`
568
568
  }
569
569
  `;
570
570
  const StatCard = styled(Box)`
571
- background: var(--colors-neutral0, white);
571
+ background: ${(p) => p.theme.colors.neutral0};
572
572
  border-radius: ${theme.borderRadius.lg};
573
573
  padding: 28px ${theme.spacing.lg};
574
574
  position: relative;
@@ -665,7 +665,7 @@ const StatLabel = styled(Typography)`
665
665
  }
666
666
  `;
667
667
  const DataTable = styled(Box)`
668
- background: var(--colors-neutral0, white);
668
+ background: ${(p) => p.theme.colors.neutral0};
669
669
  border-radius: ${theme.borderRadius.lg};
670
670
  overflow: hidden;
671
671
  box-shadow: ${theme.shadows.sm};
@@ -720,7 +720,7 @@ styled.div`
720
720
  ${css`animation: ${(props) => props.$online ? pulse : "none"} 2s ease-in-out infinite;`}
721
721
  `;
722
722
  const FilterBar = styled(Flex)`
723
- background: var(--colors-neutral0, white);
723
+ background: ${(p) => p.theme.colors.neutral0};
724
724
  padding: ${theme.spacing.md} ${theme.spacing.lg};
725
725
  border-radius: ${theme.borderRadius.lg};
726
726
  margin-bottom: ${theme.spacing.lg};
@@ -750,7 +750,7 @@ const StyledSearchInput = styled.input`
750
750
  border-radius: ${theme.borderRadius.md};
751
751
  font-size: 0.875rem;
752
752
  transition: all ${theme.transitions.fast};
753
- background: var(--colors-neutral0, white);
753
+ background: ${(p) => p.theme.colors.neutral0};
754
754
  color: var(--colors-neutral800);
755
755
 
756
756
  &:focus {
@@ -842,7 +842,7 @@ const ClickableRow = styled(Tr)`
842
842
  }
843
843
  `;
844
844
  styled(Box)`
845
- background: var(--colors-neutral0, white);
845
+ background: ${(p) => p.theme.colors.neutral0};
846
846
  border-radius: ${theme.borderRadius.xl};
847
847
  border: 2px dashed rgba(128, 128, 128, 0.3);
848
848
  padding: 80px 32px;
@@ -1517,7 +1517,7 @@ const ModalOverlay = styled.div`
1517
1517
  padding: 20px;
1518
1518
  `;
1519
1519
  const ModalContent = styled(Box)`
1520
- background: var(--colors-neutral0, white);
1520
+ background: ${(p) => p.theme.colors.neutral0};
1521
1521
  border-radius: 16px;
1522
1522
  width: 100%;
1523
1523
  max-width: 580px;
@@ -5,11 +5,11 @@ const react = require("react");
5
5
  const reactIntl = require("react-intl");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  const styled = require("styled-components");
8
- const index = require("./index-DcU_ELxj.js");
8
+ const index = require("./index-BEh2DizI.js");
9
9
  const designSystem = require("@strapi/design-system");
10
10
  const icons = require("@strapi/icons");
11
- const useLicense = require("./useLicense-qbK401y8.js");
12
- const StyledButtons = require("./StyledButtons-UnlRhqip.js");
11
+ const useLicense = require("./useLicense-DFdVp_qI.js");
12
+ const StyledButtons = require("./StyledButtons-DDuxnYz8.js");
13
13
  const reactRouterDom = require("react-router-dom");
14
14
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
15
15
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
@@ -572,7 +572,7 @@ const StatsGrid = styled__default.default.div`
572
572
  }
573
573
  `;
574
574
  const StatCard = styled__default.default(designSystem.Box)`
575
- background: var(--colors-neutral0, white);
575
+ background: ${(p) => p.theme.colors.neutral0};
576
576
  border-radius: ${theme.borderRadius.lg};
577
577
  padding: 28px ${theme.spacing.lg};
578
578
  position: relative;
@@ -669,7 +669,7 @@ const StatLabel = styled__default.default(designSystem.Typography)`
669
669
  }
670
670
  `;
671
671
  const DataTable = styled__default.default(designSystem.Box)`
672
- background: var(--colors-neutral0, white);
672
+ background: ${(p) => p.theme.colors.neutral0};
673
673
  border-radius: ${theme.borderRadius.lg};
674
674
  overflow: hidden;
675
675
  box-shadow: ${theme.shadows.sm};
@@ -724,7 +724,7 @@ styled__default.default.div`
724
724
  ${styled.css`animation: ${(props) => props.$online ? pulse : "none"} 2s ease-in-out infinite;`}
725
725
  `;
726
726
  const FilterBar = styled__default.default(designSystem.Flex)`
727
- background: var(--colors-neutral0, white);
727
+ background: ${(p) => p.theme.colors.neutral0};
728
728
  padding: ${theme.spacing.md} ${theme.spacing.lg};
729
729
  border-radius: ${theme.borderRadius.lg};
730
730
  margin-bottom: ${theme.spacing.lg};
@@ -754,7 +754,7 @@ const StyledSearchInput = styled__default.default.input`
754
754
  border-radius: ${theme.borderRadius.md};
755
755
  font-size: 0.875rem;
756
756
  transition: all ${theme.transitions.fast};
757
- background: var(--colors-neutral0, white);
757
+ background: ${(p) => p.theme.colors.neutral0};
758
758
  color: var(--colors-neutral800);
759
759
 
760
760
  &:focus {
@@ -846,7 +846,7 @@ const ClickableRow = styled__default.default(designSystem.Tr)`
846
846
  }
847
847
  `;
848
848
  styled__default.default(designSystem.Box)`
849
- background: var(--colors-neutral0, white);
849
+ background: ${(p) => p.theme.colors.neutral0};
850
850
  border-radius: ${theme.borderRadius.xl};
851
851
  border: 2px dashed rgba(128, 128, 128, 0.3);
852
852
  padding: 80px 32px;
@@ -1521,7 +1521,7 @@ const ModalOverlay = styled__default.default.div`
1521
1521
  padding: 20px;
1522
1522
  `;
1523
1523
  const ModalContent = styled__default.default(designSystem.Box)`
1524
- background: var(--colors-neutral0, white);
1524
+ background: ${(p) => p.theme.colors.neutral0};
1525
1525
  border-radius: 16px;
1526
1526
  width: 100%;
1527
1527
  max-width: 580px;
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  const icons = require("@strapi/icons");
8
8
  const styled = require("styled-components");
9
- const index = require("./index-DcU_ELxj.js");
9
+ const index = require("./index-BEh2DizI.js");
10
10
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
11
11
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
12
12
  const theme = {
@@ -29,7 +29,7 @@ const StickySaveBar = styled__default.default(designSystem.Box)`
29
29
  position: sticky;
30
30
  top: 0;
31
31
  z-index: 10;
32
- background: var(--colors-neutral0, white);
32
+ background: ${(p) => p.theme.colors.neutral0};
33
33
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
34
34
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
35
35
  `;
@@ -4,7 +4,7 @@ import { Loader, Box, Alert, Flex, Typography, Button, Badge, Accordion } from "
4
4
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
5
5
  import { ArrowClockwise, Duplicate, Download, User, Shield, Sparkle, ChartBubble } from "@strapi/icons";
6
6
  import styled, { css, keyframes } from "styled-components";
7
- import { a as pluginId } from "./index-CLfOD-6A.mjs";
7
+ import { a as pluginId } from "./index-B0wQeSSu.mjs";
8
8
  const theme = {
9
9
  borderRadius: { lg: "12px" }
10
10
  };
@@ -25,7 +25,7 @@ const StickySaveBar = styled(Box)`
25
25
  position: sticky;
26
26
  top: 0;
27
27
  z-index: 10;
28
- background: var(--colors-neutral0, white);
28
+ background: ${(p) => p.theme.colors.neutral0};
29
29
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
30
30
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
31
31
  `;
@@ -6,7 +6,7 @@ const reactIntl = require("react-intl");
6
6
  const designSystem = require("@strapi/design-system");
7
7
  const icons = require("@strapi/icons");
8
8
  const admin = require("@strapi/strapi/admin");
9
- const index = require("./index-DcU_ELxj.js");
9
+ const index = require("./index-BEh2DizI.js");
10
10
  const OnlineUsersWidget = () => {
11
11
  const { formatMessage } = reactIntl.useIntl();
12
12
  const { get } = admin.useFetchClient();
@@ -4,7 +4,7 @@ import { useIntl } from "react-intl";
4
4
  import { Box, Typography, Flex, Grid } from "@strapi/design-system";
5
5
  import { Check, Cross, Clock, User } from "@strapi/icons";
6
6
  import { useFetchClient } from "@strapi/strapi/admin";
7
- import { g as getTranslation } from "./index-CLfOD-6A.mjs";
7
+ import { g as getTranslation } from "./index-B0wQeSSu.mjs";
8
8
  const OnlineUsersWidget = () => {
9
9
  const { formatMessage } = useIntl();
10
10
  const { get } = useFetchClient();
@@ -5,9 +5,9 @@ import { Flex, Loader, Typography, Button, Box, Badge, Accordion, Grid, SingleSe
5
5
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
6
6
  import { Check, Information, Cog, Trash, Shield, Code, Duplicate, Mail } from "@strapi/icons";
7
7
  import styled, { css, keyframes } from "styled-components";
8
- import { a as pluginId, g as getTranslation } from "./index-CLfOD-6A.mjs";
9
- import { u as useLicense } from "./useLicense-Bi6skBLw.mjs";
10
- import { D as DangerButton, S as ShowHideButton, G as GradientButton, C as CopyButton, T as TertiaryButton, c as SecondaryButton } from "./StyledButtons-HrcisfdR.mjs";
8
+ import { a as pluginId, g as getTranslation } from "./index-B0wQeSSu.mjs";
9
+ import { u as useLicense } from "./useLicense-RxDUbCoU.mjs";
10
+ import { D as DangerButton, S as ShowHideButton, G as GradientButton, C as CopyButton, T as TertiaryButton, c as SecondaryButton } from "./StyledButtons-Cz8oYhmc.mjs";
11
11
  const theme = {
12
12
  borderRadius: { md: "8px", lg: "12px" }
13
13
  };
@@ -28,7 +28,7 @@ const StickySaveBar = styled(Box)`
28
28
  position: sticky;
29
29
  top: 0;
30
30
  z-index: 10;
31
- background: var(--colors-neutral0, white);
31
+ background: ${(p) => p.theme.colors.neutral0};
32
32
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
33
33
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
34
34
  `;
@@ -666,7 +666,7 @@ const SettingsPage = () => {
666
666
  borderRadius: theme.borderRadius.lg,
667
667
  marginBottom: "32px",
668
668
  border: `2px solid ${"rgba(2, 132, 199, 0.12)"}`,
669
- background: `linear-gradient(135deg, ${"var(--colors-neutral0, white)"} 0%, ${"rgba(2, 132, 199, 0.06)"} 100%)`
669
+ background: "rgba(2, 132, 199, 0.04)"
670
670
  },
671
671
  children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 4, children: [
672
672
  /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 3, children: [
@@ -1373,7 +1373,7 @@ const SettingsPage = () => {
1373
1373
  fontSize: "14px",
1374
1374
  lineHeight: "1.8",
1375
1375
  color: "var(--colors-neutral800)",
1376
- background: "var(--colors-neutral0, white)",
1376
+ background: "transparent",
1377
1377
  resize: "vertical",
1378
1378
  minHeight: "80px"
1379
1379
  }
@@ -1416,7 +1416,7 @@ const SettingsPage = () => {
1416
1416
  fontSize: "14px",
1417
1417
  lineHeight: "1.8",
1418
1418
  color: "var(--colors-neutral800)",
1419
- background: "var(--colors-neutral0, white)",
1419
+ background: "transparent",
1420
1420
  resize: "vertical",
1421
1421
  minHeight: "80px"
1422
1422
  }
@@ -7,9 +7,9 @@ const designSystem = require("@strapi/design-system");
7
7
  const admin = require("@strapi/strapi/admin");
8
8
  const icons = require("@strapi/icons");
9
9
  const styled = require("styled-components");
10
- const index = require("./index-DcU_ELxj.js");
11
- const useLicense = require("./useLicense-qbK401y8.js");
12
- const StyledButtons = require("./StyledButtons-UnlRhqip.js");
10
+ const index = require("./index-BEh2DizI.js");
11
+ const useLicense = require("./useLicense-DFdVp_qI.js");
12
+ const StyledButtons = require("./StyledButtons-DDuxnYz8.js");
13
13
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
14
14
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
15
15
  const theme = {
@@ -32,7 +32,7 @@ const StickySaveBar = styled__default.default(designSystem.Box)`
32
32
  position: sticky;
33
33
  top: 0;
34
34
  z-index: 10;
35
- background: var(--colors-neutral0, white);
35
+ background: ${(p) => p.theme.colors.neutral0};
36
36
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
37
37
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
38
38
  `;
@@ -670,7 +670,7 @@ const SettingsPage = () => {
670
670
  borderRadius: theme.borderRadius.lg,
671
671
  marginBottom: "32px",
672
672
  border: `2px solid ${"rgba(2, 132, 199, 0.12)"}`,
673
- background: `linear-gradient(135deg, ${"var(--colors-neutral0, white)"} 0%, ${"rgba(2, 132, 199, 0.06)"} 100%)`
673
+ background: "rgba(2, 132, 199, 0.04)"
674
674
  },
675
675
  children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 4, children: [
676
676
  /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
@@ -1377,7 +1377,7 @@ const SettingsPage = () => {
1377
1377
  fontSize: "14px",
1378
1378
  lineHeight: "1.8",
1379
1379
  color: "var(--colors-neutral800)",
1380
- background: "var(--colors-neutral0, white)",
1380
+ background: "transparent",
1381
1381
  resize: "vertical",
1382
1382
  minHeight: "80px"
1383
1383
  }
@@ -1420,7 +1420,7 @@ const SettingsPage = () => {
1420
1420
  fontSize: "14px",
1421
1421
  lineHeight: "1.8",
1422
1422
  color: "var(--colors-neutral800)",
1423
- background: "var(--colors-neutral0, white)",
1423
+ background: "transparent",
1424
1424
  resize: "vertical",
1425
1425
  minHeight: "80px"
1426
1426
  }
@@ -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, #0EA5E9 0%, #A855F7 100%);
35
+ background-image: linear-gradient(${(p) => p.theme.colors.neutral0}, ${(p) => p.theme.colors.neutral0}), linear-gradient(135deg, #0EA5E9 0%, #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, #0EA5E9 0%, #A855F7 100%);
38
+ background-image: linear-gradient(${(p) => p.theme.colors.neutral0}, ${(p) => p.theme.colors.neutral0}), linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
39
39
  background-origin: border-box;
40
40
  background-clip: padding-box, border-box;
41
41
  padding: 10px 20px;
@@ -4,7 +4,7 @@ import { useFetchClient, useNotification } from "@strapi/strapi/admin";
4
4
  import styled from "styled-components";
5
5
  import { Flex, Typography, Box, Badge, Button } from "@strapi/design-system";
6
6
  import { Check, Cross, Sparkle, Lightning, Rocket } from "@strapi/icons";
7
- import { a as pluginId } from "./index-CLfOD-6A.mjs";
7
+ import { a as pluginId } from "./index-B0wQeSSu.mjs";
8
8
  const Container = styled(Box)`
9
9
  padding: 32px;
10
10
  max-width: 1400px;
@@ -48,7 +48,7 @@ const TierWrapper = styled(Box)`
48
48
  display: flex;
49
49
  `;
50
50
  const TierCard = styled(Box)`
51
- background: var(--colors-neutral0, white);
51
+ background: ${(p) => p.theme.colors.neutral0};
52
52
  border-radius: 16px;
53
53
  padding: 32px;
54
54
  border: 2px solid ${(props) => props.$featured ? "var(--colors-primary600, #0EA5E9)" : "rgba(128, 128, 128, 0.2)"};
@@ -6,7 +6,7 @@ const admin = require("@strapi/strapi/admin");
6
6
  const styled = require("styled-components");
7
7
  const designSystem = require("@strapi/design-system");
8
8
  const icons = require("@strapi/icons");
9
- const index = require("./index-DcU_ELxj.js");
9
+ const index = require("./index-BEh2DizI.js");
10
10
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
11
11
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
12
12
  const Container = styled__default.default(designSystem.Box)`
@@ -52,7 +52,7 @@ const TierWrapper = styled__default.default(designSystem.Box)`
52
52
  display: flex;
53
53
  `;
54
54
  const TierCard = styled__default.default(designSystem.Box)`
55
- background: var(--colors-neutral0, white);
55
+ background: ${(p) => p.theme.colors.neutral0};
56
56
  border-radius: 16px;
57
57
  padding: 32px;
58
58
  border: 2px solid ${(props) => props.$featured ? "var(--colors-primary600, #0EA5E9)" : "rgba(128, 128, 128, 0.2)"};
@@ -121,7 +121,7 @@ const BlockedWarning = styled(Box)`
121
121
  `;
122
122
  const SessionCard = styled(Box)`
123
123
  padding: 16px;
124
- background: var(--colors-neutral0, white);
124
+ background: ${(p) => p.theme.colors.neutral0};
125
125
  border-radius: 10px;
126
126
  border: 1px solid rgba(128, 128, 128, 0.2);
127
127
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
@@ -173,7 +173,7 @@ const ActionButton = styled.button`
173
173
  transition: all 0.2s ease;
174
174
 
175
175
  ${(props) => props.$variant === "danger" && `
176
- background: var(--colors-neutral0, white);
176
+ background: ${(p) => p.theme.colors.neutral0};
177
177
  color: var(--colors-danger600, #DC2626);
178
178
  border: 2px solid var(--colors-danger600, #DC2626);
179
179
 
@@ -184,7 +184,7 @@ const ActionButton = styled.button`
184
184
  `}
185
185
 
186
186
  ${(props) => props.$variant === "success" && `
187
- background: var(--colors-neutral0, white);
187
+ background: ${(p) => p.theme.colors.neutral0};
188
188
  color: var(--colors-success600, #16A34A);
189
189
  border: 2px solid var(--colors-success600, #16A34A);
190
190
 
@@ -440,7 +440,7 @@ const index = {
440
440
  id: `${pluginId}.plugin.name`,
441
441
  defaultMessage: pluginPkg.strapi.displayName
442
442
  },
443
- Component: () => import("./App-GrZxgdsa.mjs")
443
+ Component: () => import("./App-BkFz8R3I.mjs")
444
444
  });
445
445
  app.createSettingSection(
446
446
  {
@@ -456,7 +456,7 @@ const index = {
456
456
  },
457
457
  id: "upgrade",
458
458
  to: `${pluginId}/upgrade`,
459
- Component: () => import("./UpgradePage-D8dw2eU6.mjs")
459
+ Component: () => import("./UpgradePage-2mV2iqDM.mjs")
460
460
  },
461
461
  {
462
462
  intlLabel: {
@@ -465,7 +465,7 @@ const index = {
465
465
  },
466
466
  id: "general",
467
467
  to: `${pluginId}/general`,
468
- Component: () => import("./Settings-BKE3rMNU.mjs")
468
+ Component: () => import("./Settings-BfKDErt5.mjs")
469
469
  },
470
470
  {
471
471
  intlLabel: {
@@ -474,7 +474,7 @@ const index = {
474
474
  },
475
475
  id: "analytics",
476
476
  to: `${pluginId}/analytics`,
477
- Component: () => import("./Analytics-CQNEZTUR.mjs")
477
+ Component: () => import("./Analytics-CFlATYIp.mjs")
478
478
  },
479
479
  {
480
480
  intlLabel: {
@@ -483,7 +483,7 @@ const index = {
483
483
  },
484
484
  id: "license",
485
485
  to: `${pluginId}/license`,
486
- Component: () => import("./License-DJ2szRWp.mjs")
486
+ Component: () => import("./License-BnbIePhc.mjs")
487
487
  }
488
488
  ]
489
489
  );
@@ -501,7 +501,7 @@ const index = {
501
501
  defaultMessage: "Online Users"
502
502
  },
503
503
  component: async () => {
504
- const component = await import("./OnlineUsersWidget--050_ZKf.mjs");
504
+ const component = await import("./OnlineUsersWidget-eBwttUiU.mjs");
505
505
  return component.default;
506
506
  },
507
507
  id: "online-users-widget",
@@ -124,7 +124,7 @@ const BlockedWarning = styled__default.default(designSystem.Box)`
124
124
  `;
125
125
  const SessionCard = styled__default.default(designSystem.Box)`
126
126
  padding: 16px;
127
- background: var(--colors-neutral0, white);
127
+ background: ${(p) => p.theme.colors.neutral0};
128
128
  border-radius: 10px;
129
129
  border: 1px solid rgba(128, 128, 128, 0.2);
130
130
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
@@ -176,7 +176,7 @@ const ActionButton = styled__default.default.button`
176
176
  transition: all 0.2s ease;
177
177
 
178
178
  ${(props) => props.$variant === "danger" && `
179
- background: var(--colors-neutral0, white);
179
+ background: ${(p) => p.theme.colors.neutral0};
180
180
  color: var(--colors-danger600, #DC2626);
181
181
  border: 2px solid var(--colors-danger600, #DC2626);
182
182
 
@@ -187,7 +187,7 @@ const ActionButton = styled__default.default.button`
187
187
  `}
188
188
 
189
189
  ${(props) => props.$variant === "success" && `
190
- background: var(--colors-neutral0, white);
190
+ background: ${(p) => p.theme.colors.neutral0};
191
191
  color: var(--colors-success600, #16A34A);
192
192
  border: 2px solid var(--colors-success600, #16A34A);
193
193
 
@@ -443,7 +443,7 @@ const index = {
443
443
  id: `${pluginId}.plugin.name`,
444
444
  defaultMessage: pluginPkg.strapi.displayName
445
445
  },
446
- Component: () => Promise.resolve().then(() => require("./App-DmXHGW6v.js"))
446
+ Component: () => Promise.resolve().then(() => require("./App-CrdNlRlL.js"))
447
447
  });
448
448
  app.createSettingSection(
449
449
  {
@@ -459,7 +459,7 @@ const index = {
459
459
  },
460
460
  id: "upgrade",
461
461
  to: `${pluginId}/upgrade`,
462
- Component: () => Promise.resolve().then(() => require("./UpgradePage-CCIXYVW3.js"))
462
+ Component: () => Promise.resolve().then(() => require("./UpgradePage-B8kz6Cyz.js"))
463
463
  },
464
464
  {
465
465
  intlLabel: {
@@ -468,7 +468,7 @@ const index = {
468
468
  },
469
469
  id: "general",
470
470
  to: `${pluginId}/general`,
471
- Component: () => Promise.resolve().then(() => require("./Settings-CvYIqeue.js"))
471
+ Component: () => Promise.resolve().then(() => require("./Settings-Cy-6vah_.js"))
472
472
  },
473
473
  {
474
474
  intlLabel: {
@@ -477,7 +477,7 @@ const index = {
477
477
  },
478
478
  id: "analytics",
479
479
  to: `${pluginId}/analytics`,
480
- Component: () => Promise.resolve().then(() => require("./Analytics-DDcZzOJc.js"))
480
+ Component: () => Promise.resolve().then(() => require("./Analytics-mFarhu5A.js"))
481
481
  },
482
482
  {
483
483
  intlLabel: {
@@ -486,7 +486,7 @@ const index = {
486
486
  },
487
487
  id: "license",
488
488
  to: `${pluginId}/license`,
489
- Component: () => Promise.resolve().then(() => require("./License-U8nciB7B.js"))
489
+ Component: () => Promise.resolve().then(() => require("./License-BI04KWfw.js"))
490
490
  }
491
491
  ]
492
492
  );
@@ -504,7 +504,7 @@ const index = {
504
504
  defaultMessage: "Online Users"
505
505
  },
506
506
  component: async () => {
507
- const component = await Promise.resolve().then(() => require("./OnlineUsersWidget-JvbLXkDK.js"));
507
+ const component = await Promise.resolve().then(() => require("./OnlineUsersWidget-D1B_2ge5.js"));
508
508
  return component.default;
509
509
  },
510
510
  id: "online-users-widget",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  const react = require("react");
3
3
  const admin = require("@strapi/strapi/admin");
4
- const index = require("./index-DcU_ELxj.js");
4
+ const index = require("./index-BEh2DizI.js");
5
5
  const useLicense = () => {
6
6
  const { get } = admin.useFetchClient();
7
7
  const [isPremium, setIsPremium] = react.useState(false);
@@ -1,6 +1,6 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { useFetchClient } from "@strapi/strapi/admin";
3
- import { a as pluginId } from "./index-CLfOD-6A.mjs";
3
+ import { a as pluginId } from "./index-B0wQeSSu.mjs";
4
4
  const useLicense = () => {
5
5
  const { get } = useFetchClient();
6
6
  const [isPremium, setIsPremium] = useState(false);
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-DcU_ELxj.js");
2
+ const index = require("../_chunks/index-BEh2DizI.js");
3
3
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-CLfOD-6A.mjs";
1
+ import { i } from "../_chunks/index-B0wQeSSu.mjs";
2
2
  export {
3
3
  i as default
4
4
  };
@@ -2740,7 +2740,7 @@ var session$1 = ({ strapi: strapi2 }) => {
2740
2740
  }
2741
2741
  };
2742
2742
  };
2743
- const version$1 = "4.4.2";
2743
+ const version$1 = "4.4.3";
2744
2744
  const require$$2 = {
2745
2745
  version: version$1
2746
2746
  };
@@ -2727,7 +2727,7 @@ var session$1 = ({ strapi: strapi2 }) => {
2727
2727
  }
2728
2728
  };
2729
2729
  };
2730
- const version$1 = "4.4.2";
2730
+ const version$1 = "4.4.3";
2731
2731
  const require$$2 = {
2732
2732
  version: version$1
2733
2733
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.4.3",
2
+ "version": "4.4.4",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "strapi-plugin",