strapi-plugin-magic-link-v5 4.15.0 → 4.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ import { useIntl } from "react-intl";
5
5
  import { Box, Typography, Flex, Button, Accordion, SingleSelect, SingleSelectOption, Grid, Toggle, NumberInput, TextInput, Divider, Badge } from "@strapi/design-system";
6
6
  import { Check, Cog, Shield, Mail, Code } from "@strapi/icons";
7
7
  import { useNotification, useFetchClient } from "@strapi/strapi/admin";
8
- import { g as getTrad } from "./index-Bq7MPLhd.mjs";
8
+ import { g as getTrad } from "./index-loURsawN.mjs";
9
9
  import { u as usePluginLanguage, L as LicenseGuard, a as LanguageProvider } from "./LicenseGuard-CaYQ_9Dz.mjs";
10
10
  const theme = {
11
11
  colors: {
@@ -7,7 +7,7 @@ const reactIntl = require("react-intl");
7
7
  const designSystem = require("@strapi/design-system");
8
8
  const icons = require("@strapi/icons");
9
9
  const admin = require("@strapi/strapi/admin");
10
- const index = require("./index-Dl4jZVy_.js");
10
+ const index = require("./index-DS6PLbr2.js");
11
11
  const LicenseGuard = require("./LicenseGuard-CmMMPuWx.js");
12
12
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
13
13
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
@@ -60,7 +60,7 @@ const index = {
60
60
  },
61
61
  Component: () => Promise.resolve().then(() => require(
62
62
  /* webpackChunkName: "magic-link-tokens" */
63
- "./index-C5lAm0wO.js"
63
+ "./index-RMaBG9DA.js"
64
64
  )),
65
65
  permissions: []
66
66
  // Leeres Array = keine Permission-Prüfung nötig
@@ -83,7 +83,7 @@ const index = {
83
83
  to: `${PLUGIN_ID}/config`,
84
84
  Component: () => Promise.resolve().then(() => require(
85
85
  /* webpackChunkName: "magic-link-settings" */
86
- "./index-DeiZv5sb.js"
86
+ "./index-DJXc9sCn.js"
87
87
  )),
88
88
  permissions: pluginPermissions.readSettings
89
89
  },
@@ -7,7 +7,7 @@ const styled = require("styled-components");
7
7
  const reactIntl = require("react-intl");
8
8
  const designSystem = require("@strapi/design-system");
9
9
  const icons = require("@strapi/icons");
10
- const index = require("./index-Dl4jZVy_.js");
10
+ const index = require("./index-DS6PLbr2.js");
11
11
  const admin = require("@strapi/strapi/admin");
12
12
  const LicenseGuard = require("./LicenseGuard-CmMMPuWx.js");
13
13
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
@@ -668,6 +668,15 @@ const StatsGrid$2 = styled__default.default(designSystem.Box)`
668
668
  max-width: 1200px;
669
669
  margin-left: auto;
670
670
  margin-right: auto;
671
+
672
+ @media screen and (max-width: 768px) {
673
+ display: grid !important;
674
+ grid-template-columns: repeat(2, 1fr) !important;
675
+ gap: 12px !important;
676
+ max-width: 100% !important;
677
+ margin-bottom: 24px !important;
678
+ padding: 0 12px !important;
679
+ }
671
680
  `;
672
681
  const StatCard$2 = styled__default.default(designSystem.Box)`
673
682
  background: ${(props) => props.theme.colors.neutral0};
@@ -691,6 +700,17 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
691
700
  transform: rotate(10deg) scale(1.1);
692
701
  }
693
702
  }
703
+
704
+ @media screen and (max-width: 768px) {
705
+ min-width: unset !important;
706
+ max-width: unset !important;
707
+ width: 100% !important;
708
+ padding: 16px !important;
709
+
710
+ &:hover {
711
+ transform: none !important;
712
+ }
713
+ }
694
714
  `;
695
715
  const StatIcon$2 = styled__default.default(designSystem.Box)`
696
716
  width: 48px;
@@ -1404,6 +1424,15 @@ const StatsGrid$1 = styled__default.default(designSystem.Box)`
1404
1424
  max-width: 1200px;
1405
1425
  margin-left: auto;
1406
1426
  margin-right: auto;
1427
+
1428
+ @media screen and (max-width: 768px) {
1429
+ display: flex !important;
1430
+ flex-direction: column !important;
1431
+ align-items: center !important;
1432
+ gap: 12px !important;
1433
+ max-width: 100% !important;
1434
+ margin-bottom: 24px !important;
1435
+ }
1407
1436
  `;
1408
1437
  const StatCard$1 = styled__default.default(designSystem.Box)`
1409
1438
  background: ${(props) => props.theme.colors.neutral0};
@@ -1427,6 +1456,17 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
1427
1456
  transform: rotate(10deg) scale(1.1);
1428
1457
  }
1429
1458
  }
1459
+
1460
+ @media screen and (max-width: 768px) {
1461
+ min-width: 250px !important;
1462
+ max-width: 300px !important;
1463
+ width: auto !important;
1464
+ padding: 20px !important;
1465
+
1466
+ &:hover {
1467
+ transform: none !important;
1468
+ }
1469
+ }
1430
1470
  `;
1431
1471
  const StatIcon$1 = styled__default.default(designSystem.Box)`
1432
1472
  width: 48px;
@@ -5,7 +5,7 @@ import styled, { keyframes, css } from "styled-components";
5
5
  import { useIntl } from "react-intl";
6
6
  import { Box, Flex, Typography, Button, TextInput, Textarea, Checkbox, IconButton, Loader, Searchbar, SingleSelect, SingleSelectOption, Thead, Tr, Th, Tbody, Td, Pagination, PreviousLink, PageLink, NextLink, Table, Badge, Main, VisuallyHidden } from "@strapi/design-system";
7
7
  import { Cross, Sparkle, Check, Shield, Clock, Lock, Trash, ArrowClockwise, CaretDown, User, Monitor, Calendar, Plus, Earth, WarningCircle, Server, Cog, Key, Eye, Link } from "@strapi/icons";
8
- import { g as getTrad } from "./index-Bq7MPLhd.mjs";
8
+ import { g as getTrad } from "./index-loURsawN.mjs";
9
9
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
10
10
  import { L as LicenseGuard, a as LanguageProvider } from "./LicenseGuard-CaYQ_9Dz.mjs";
11
11
  const CreateTokenModal = ({ isOpen, onClose, onSubmit, formData, setFormData }) => {
@@ -664,6 +664,15 @@ const StatsGrid$2 = styled(Box)`
664
664
  max-width: 1200px;
665
665
  margin-left: auto;
666
666
  margin-right: auto;
667
+
668
+ @media screen and (max-width: 768px) {
669
+ display: grid !important;
670
+ grid-template-columns: repeat(2, 1fr) !important;
671
+ gap: 12px !important;
672
+ max-width: 100% !important;
673
+ margin-bottom: 24px !important;
674
+ padding: 0 12px !important;
675
+ }
667
676
  `;
668
677
  const StatCard$2 = styled(Box)`
669
678
  background: ${(props) => props.theme.colors.neutral0};
@@ -687,6 +696,17 @@ const StatCard$2 = styled(Box)`
687
696
  transform: rotate(10deg) scale(1.1);
688
697
  }
689
698
  }
699
+
700
+ @media screen and (max-width: 768px) {
701
+ min-width: unset !important;
702
+ max-width: unset !important;
703
+ width: 100% !important;
704
+ padding: 16px !important;
705
+
706
+ &:hover {
707
+ transform: none !important;
708
+ }
709
+ }
690
710
  `;
691
711
  const StatIcon$2 = styled(Box)`
692
712
  width: 48px;
@@ -1400,6 +1420,15 @@ const StatsGrid$1 = styled(Box)`
1400
1420
  max-width: 1200px;
1401
1421
  margin-left: auto;
1402
1422
  margin-right: auto;
1423
+
1424
+ @media screen and (max-width: 768px) {
1425
+ display: flex !important;
1426
+ flex-direction: column !important;
1427
+ align-items: center !important;
1428
+ gap: 12px !important;
1429
+ max-width: 100% !important;
1430
+ margin-bottom: 24px !important;
1431
+ }
1403
1432
  `;
1404
1433
  const StatCard$1 = styled(Box)`
1405
1434
  background: ${(props) => props.theme.colors.neutral0};
@@ -1423,6 +1452,17 @@ const StatCard$1 = styled(Box)`
1423
1452
  transform: rotate(10deg) scale(1.1);
1424
1453
  }
1425
1454
  }
1455
+
1456
+ @media screen and (max-width: 768px) {
1457
+ min-width: 250px !important;
1458
+ max-width: 300px !important;
1459
+ width: auto !important;
1460
+ padding: 20px !important;
1461
+
1462
+ &:hover {
1463
+ transform: none !important;
1464
+ }
1465
+ }
1426
1466
  `;
1427
1467
  const StatIcon$1 = styled(Box)`
1428
1468
  width: 48px;
@@ -59,7 +59,7 @@ const index = {
59
59
  },
60
60
  Component: () => import(
61
61
  /* webpackChunkName: "magic-link-tokens" */
62
- "./index-DUSfbJha.mjs"
62
+ "./index-UVs49kU3.mjs"
63
63
  ),
64
64
  permissions: []
65
65
  // Leeres Array = keine Permission-Prüfung nötig
@@ -82,7 +82,7 @@ const index = {
82
82
  to: `${PLUGIN_ID}/config`,
83
83
  Component: () => import(
84
84
  /* webpackChunkName: "magic-link-settings" */
85
- "./index-DQdTKHCC.mjs"
85
+ "./index-BR9E5y4C.mjs"
86
86
  ),
87
87
  permissions: pluginPermissions.readSettings
88
88
  },
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-Dl4jZVy_.js");
2
+ const index = require("../_chunks/index-DS6PLbr2.js");
3
3
  require("@strapi/icons");
4
4
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-Bq7MPLhd.mjs";
1
+ import { i } from "../_chunks/index-loURsawN.mjs";
2
2
  import "@strapi/icons";
3
3
  export {
4
4
  i as default
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.15.0",
2
+ "version": "4.15.2",
3
3
  "keywords": [],
4
4
  "type": "commonjs",
5
5
  "exports": {