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

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.
@@ -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-cFFCl8Po.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);
@@ -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-BzGp3i84.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: {
@@ -59,7 +59,7 @@ const index = {
59
59
  },
60
60
  Component: () => import(
61
61
  /* webpackChunkName: "magic-link-tokens" */
62
- "./index-DUSfbJha.mjs"
62
+ "./index-CO61Y9-I.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-Be71zSZ5.mjs"
86
86
  ),
87
87
  permissions: pluginPermissions.readSettings
88
88
  },
@@ -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-BzGp3i84.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,14 @@ 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
+ }
667
675
  `;
668
676
  const StatCard$2 = styled(Box)`
669
677
  background: ${(props) => props.theme.colors.neutral0};
@@ -687,6 +695,17 @@ const StatCard$2 = styled(Box)`
687
695
  transform: rotate(10deg) scale(1.1);
688
696
  }
689
697
  }
698
+
699
+ @media screen and (max-width: 768px) {
700
+ min-width: unset !important;
701
+ max-width: unset !important;
702
+ width: 100% !important;
703
+ padding: 16px !important;
704
+
705
+ &:hover {
706
+ transform: none !important;
707
+ }
708
+ }
690
709
  `;
691
710
  const StatIcon$2 = styled(Box)`
692
711
  width: 48px;
@@ -1400,6 +1419,14 @@ const StatsGrid$1 = styled(Box)`
1400
1419
  max-width: 1200px;
1401
1420
  margin-left: auto;
1402
1421
  margin-right: auto;
1422
+
1423
+ @media screen and (max-width: 768px) {
1424
+ display: grid !important;
1425
+ grid-template-columns: repeat(2, 1fr) !important;
1426
+ gap: 12px !important;
1427
+ max-width: 100% !important;
1428
+ margin-bottom: 24px !important;
1429
+ }
1403
1430
  `;
1404
1431
  const StatCard$1 = styled(Box)`
1405
1432
  background: ${(props) => props.theme.colors.neutral0};
@@ -1423,6 +1450,17 @@ const StatCard$1 = styled(Box)`
1423
1450
  transform: rotate(10deg) scale(1.1);
1424
1451
  }
1425
1452
  }
1453
+
1454
+ @media screen and (max-width: 768px) {
1455
+ min-width: unset !important;
1456
+ max-width: unset !important;
1457
+ width: 100% !important;
1458
+ padding: 16px !important;
1459
+
1460
+ &:hover {
1461
+ transform: none !important;
1462
+ }
1463
+ }
1426
1464
  `;
1427
1465
  const StatIcon$1 = styled(Box)`
1428
1466
  width: 48px;
@@ -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-cFFCl8Po.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,14 @@ 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
+ }
671
679
  `;
672
680
  const StatCard$2 = styled__default.default(designSystem.Box)`
673
681
  background: ${(props) => props.theme.colors.neutral0};
@@ -691,6 +699,17 @@ const StatCard$2 = styled__default.default(designSystem.Box)`
691
699
  transform: rotate(10deg) scale(1.1);
692
700
  }
693
701
  }
702
+
703
+ @media screen and (max-width: 768px) {
704
+ min-width: unset !important;
705
+ max-width: unset !important;
706
+ width: 100% !important;
707
+ padding: 16px !important;
708
+
709
+ &:hover {
710
+ transform: none !important;
711
+ }
712
+ }
694
713
  `;
695
714
  const StatIcon$2 = styled__default.default(designSystem.Box)`
696
715
  width: 48px;
@@ -1404,6 +1423,14 @@ const StatsGrid$1 = styled__default.default(designSystem.Box)`
1404
1423
  max-width: 1200px;
1405
1424
  margin-left: auto;
1406
1425
  margin-right: auto;
1426
+
1427
+ @media screen and (max-width: 768px) {
1428
+ display: grid !important;
1429
+ grid-template-columns: repeat(2, 1fr) !important;
1430
+ gap: 12px !important;
1431
+ max-width: 100% !important;
1432
+ margin-bottom: 24px !important;
1433
+ }
1407
1434
  `;
1408
1435
  const StatCard$1 = styled__default.default(designSystem.Box)`
1409
1436
  background: ${(props) => props.theme.colors.neutral0};
@@ -1427,6 +1454,17 @@ const StatCard$1 = styled__default.default(designSystem.Box)`
1427
1454
  transform: rotate(10deg) scale(1.1);
1428
1455
  }
1429
1456
  }
1457
+
1458
+ @media screen and (max-width: 768px) {
1459
+ min-width: unset !important;
1460
+ max-width: unset !important;
1461
+ width: 100% !important;
1462
+ padding: 16px !important;
1463
+
1464
+ &:hover {
1465
+ transform: none !important;
1466
+ }
1467
+ }
1430
1468
  `;
1431
1469
  const StatIcon$1 = styled__default.default(designSystem.Box)`
1432
1470
  width: 48px;
@@ -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-FpxkP0U3.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-B7DauaIz.js"
87
87
  )),
88
88
  permissions: pluginPermissions.readSettings
89
89
  },
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-Dl4jZVy_.js");
2
+ const index = require("../_chunks/index-cFFCl8Po.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-BzGp3i84.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.1",
3
3
  "keywords": [],
4
4
  "type": "commonjs",
5
5
  "exports": {