strapi-plugin-magic-mark 3.3.1 → 3.3.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.
- package/dist/_chunks/{App-CeYRinOC.mjs → App-CozIqdTt.mjs} +1 -1
- package/dist/_chunks/{App-PJuAWFXQ.js → App-DFDDcq8K.js} +1 -1
- package/dist/_chunks/{UpgradePage-BWZTKs8A.mjs → UpgradePage-9godO_5E.mjs} +2 -2
- package/dist/_chunks/{UpgradePage-hQjPuiMV.js → UpgradePage-CwYDN8bT.js} +2 -2
- package/dist/_chunks/{index-D1AjX5wc.js → index-DCsuhvUc.js} +13 -13
- package/dist/_chunks/{index-Bh3DfbXD.mjs → index-DNoxLWi0.mjs} +13 -13
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { Flex, Loader, Box, Typography, SingleSelect, SingleSelectOption, Thead,
|
|
|
7
7
|
import { Pin, Eye, Pencil, Trash, Cross, Key, User, Mail, Check } from "@strapi/icons";
|
|
8
8
|
import { BookOpenIcon, UserIcon, SparklesIcon, LinkIcon, MagnifyingGlassIcon } from "@heroicons/react/24/outline";
|
|
9
9
|
import { useFetchClient, useNotification } from "@strapi/strapi/admin";
|
|
10
|
-
import { p as pluginId, g as getIconById, C as CreateEditModal } from "./index-
|
|
10
|
+
import { p as pluginId, g as getIconById, C as CreateEditModal } from "./index-DNoxLWi0.mjs";
|
|
11
11
|
const FEATURES = {
|
|
12
12
|
// Free tier features
|
|
13
13
|
basicBookmarks: { tier: "free", limit: 10 },
|
|
@@ -9,7 +9,7 @@ const designSystem = require("@strapi/design-system");
|
|
|
9
9
|
const icons = require("@strapi/icons");
|
|
10
10
|
const outline = require("@heroicons/react/24/outline");
|
|
11
11
|
const admin = require("@strapi/strapi/admin");
|
|
12
|
-
const index = require("./index-
|
|
12
|
+
const index = require("./index-DCsuhvUc.js");
|
|
13
13
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
14
14
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
15
15
|
const FEATURES = {
|
|
@@ -5,7 +5,7 @@ import { useFetchClient, useNotification } from "@strapi/strapi/admin";
|
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { Flex, Typography, Box, Badge, Button } from "@strapi/design-system";
|
|
7
7
|
import { Check, Cross, Sparkle, Lightning, Rocket } from "@strapi/icons";
|
|
8
|
-
import { p as pluginId } from "./index-
|
|
8
|
+
import { p as pluginId } from "./index-DNoxLWi0.mjs";
|
|
9
9
|
const Container = styled(Box)`
|
|
10
10
|
padding: 32px;
|
|
11
11
|
max-width: 1400px;
|
|
@@ -128,7 +128,7 @@ const FeatureIcon = styled(Box)`
|
|
|
128
128
|
background: rgba(34, 197, 94, 0.15);
|
|
129
129
|
svg { color: #16A34A; }
|
|
130
130
|
` : `
|
|
131
|
-
background:
|
|
131
|
+
background: rgba(239, 68, 68, 0.12);
|
|
132
132
|
svg { color: #DC2626; }
|
|
133
133
|
`}
|
|
134
134
|
`;
|
|
@@ -7,7 +7,7 @@ const admin = require("@strapi/strapi/admin");
|
|
|
7
7
|
const styled = require("styled-components");
|
|
8
8
|
const designSystem = require("@strapi/design-system");
|
|
9
9
|
const icons = require("@strapi/icons");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-DCsuhvUc.js");
|
|
11
11
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
12
12
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
13
13
|
const Container = styled__default.default(designSystem.Box)`
|
|
@@ -132,7 +132,7 @@ const FeatureIcon = styled__default.default(designSystem.Box)`
|
|
|
132
132
|
background: rgba(34, 197, 94, 0.15);
|
|
133
133
|
svg { color: #16A34A; }
|
|
134
134
|
` : `
|
|
135
|
-
background:
|
|
135
|
+
background: rgba(239, 68, 68, 0.12);
|
|
136
136
|
svg { color: #DC2626; }
|
|
137
137
|
`}
|
|
138
138
|
`;
|
|
@@ -1071,7 +1071,7 @@ const BookmarksList = styled__default.default.div`
|
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
&::-webkit-scrollbar-track {
|
|
1074
|
-
background:
|
|
1074
|
+
background: rgba(128, 128, 128, 0.12);
|
|
1075
1075
|
border-radius: 3px;
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
@@ -1204,7 +1204,7 @@ const ViewAllLink = styled__default.default.button`
|
|
|
1204
1204
|
transition: all 0.15s ease;
|
|
1205
1205
|
|
|
1206
1206
|
&:hover {
|
|
1207
|
-
background:
|
|
1207
|
+
background: rgba(73, 69, 255, 0.08);
|
|
1208
1208
|
}
|
|
1209
1209
|
|
|
1210
1210
|
svg {
|
|
@@ -1538,7 +1538,7 @@ const DropdownItem = styled__default.default.button`
|
|
|
1538
1538
|
|
|
1539
1539
|
&:focus {
|
|
1540
1540
|
outline: none;
|
|
1541
|
-
background:
|
|
1541
|
+
background: rgba(73, 69, 255, 0.06);
|
|
1542
1542
|
}
|
|
1543
1543
|
|
|
1544
1544
|
@media (max-width: 768px) {
|
|
@@ -2081,13 +2081,13 @@ const DeleteButton = styled__default.default.button`
|
|
|
2081
2081
|
width: 32px;
|
|
2082
2082
|
height: 32px;
|
|
2083
2083
|
border: none;
|
|
2084
|
-
background:
|
|
2084
|
+
background: rgba(239, 68, 68, 0.06);
|
|
2085
2085
|
color: #dc2626;
|
|
2086
2086
|
border-radius: 4px;
|
|
2087
2087
|
cursor: pointer;
|
|
2088
2088
|
flex-shrink: 0;
|
|
2089
2089
|
&:hover {
|
|
2090
|
-
background:
|
|
2090
|
+
background: rgba(239, 68, 68, 0.12);
|
|
2091
2091
|
}
|
|
2092
2092
|
svg {
|
|
2093
2093
|
width: 14px;
|
|
@@ -2109,7 +2109,7 @@ const AddButton = styled__default.default.button`
|
|
|
2109
2109
|
transition: all 0.15s ease;
|
|
2110
2110
|
&:hover {
|
|
2111
2111
|
border-color: #4945ff;
|
|
2112
|
-
background:
|
|
2112
|
+
background: rgba(73, 69, 255, 0.06);
|
|
2113
2113
|
}
|
|
2114
2114
|
`;
|
|
2115
2115
|
const InfoText = styled__default.default.div`
|
|
@@ -2339,14 +2339,14 @@ const FilterButton = styled__default.default.button`
|
|
|
2339
2339
|
font-weight: 500;
|
|
2340
2340
|
border: 1px solid ${(props) => props.$isActive ? "#4945FF" : "rgba(128, 128, 128, 0.25)"};
|
|
2341
2341
|
border-radius: 4px;
|
|
2342
|
-
background: ${(props) => props.$isActive ? "
|
|
2343
|
-
color: ${(props) => props.$isActive ? "#4945FF" :
|
|
2342
|
+
background: ${(props) => props.$isActive ? "rgba(73, 69, 255, 0.08)" : props.theme.colors.neutral0};
|
|
2343
|
+
color: ${(props) => props.$isActive ? "#4945FF" : props.theme.colors.neutral800};
|
|
2344
2344
|
cursor: pointer;
|
|
2345
2345
|
transition: all 0.15s ease;
|
|
2346
2346
|
white-space: nowrap;
|
|
2347
2347
|
|
|
2348
2348
|
&:hover {
|
|
2349
|
-
background: ${(props) => props.$isActive ? "
|
|
2349
|
+
background: ${(props) => props.$isActive ? "rgba(73, 69, 255, 0.12)" : props.theme.colors.neutral100};
|
|
2350
2350
|
border-color: ${(props) => props.$isActive ? "#4945FF" : "rgba(128, 128, 128, 0.3)"};
|
|
2351
2351
|
}
|
|
2352
2352
|
|
|
@@ -2369,13 +2369,13 @@ const ClearButton = styled__default.default.button`
|
|
|
2369
2369
|
padding: 0;
|
|
2370
2370
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
2371
2371
|
border-radius: 4px;
|
|
2372
|
-
background:
|
|
2372
|
+
background: rgba(239, 68, 68, 0.06);
|
|
2373
2373
|
color: #dc2626;
|
|
2374
2374
|
cursor: pointer;
|
|
2375
2375
|
transition: all 0.15s ease;
|
|
2376
2376
|
|
|
2377
2377
|
&:hover {
|
|
2378
|
-
background:
|
|
2378
|
+
background: rgba(239, 68, 68, 0.12);
|
|
2379
2379
|
border-color: rgba(239, 68, 68, 0.4);
|
|
2380
2380
|
}
|
|
2381
2381
|
|
|
@@ -2587,7 +2587,7 @@ const index = {
|
|
|
2587
2587
|
id: `${pluginId}.Admin.MainMenu.PluginName`,
|
|
2588
2588
|
defaultMessage: name
|
|
2589
2589
|
},
|
|
2590
|
-
Component: () => Promise.resolve().then(() => require("./App-
|
|
2590
|
+
Component: () => Promise.resolve().then(() => require("./App-DFDDcq8K.js")),
|
|
2591
2591
|
permissions: []
|
|
2592
2592
|
});
|
|
2593
2593
|
app.createSettingSection(
|
|
@@ -2608,7 +2608,7 @@ const index = {
|
|
|
2608
2608
|
to: `${pluginId}/upgrade`,
|
|
2609
2609
|
Component: () => Promise.resolve().then(() => require(
|
|
2610
2610
|
/* webpackChunkName: "magic-mark-upgrade" */
|
|
2611
|
-
"./UpgradePage-
|
|
2611
|
+
"./UpgradePage-CwYDN8bT.js"
|
|
2612
2612
|
)),
|
|
2613
2613
|
permissions: []
|
|
2614
2614
|
},
|
|
@@ -1065,7 +1065,7 @@ const BookmarksList = styled.div`
|
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
1067
|
&::-webkit-scrollbar-track {
|
|
1068
|
-
background:
|
|
1068
|
+
background: rgba(128, 128, 128, 0.12);
|
|
1069
1069
|
border-radius: 3px;
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
@@ -1198,7 +1198,7 @@ const ViewAllLink = styled.button`
|
|
|
1198
1198
|
transition: all 0.15s ease;
|
|
1199
1199
|
|
|
1200
1200
|
&:hover {
|
|
1201
|
-
background:
|
|
1201
|
+
background: rgba(73, 69, 255, 0.08);
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
1204
|
svg {
|
|
@@ -1532,7 +1532,7 @@ const DropdownItem = styled.button`
|
|
|
1532
1532
|
|
|
1533
1533
|
&:focus {
|
|
1534
1534
|
outline: none;
|
|
1535
|
-
background:
|
|
1535
|
+
background: rgba(73, 69, 255, 0.06);
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
1538
1538
|
@media (max-width: 768px) {
|
|
@@ -2075,13 +2075,13 @@ const DeleteButton = styled.button`
|
|
|
2075
2075
|
width: 32px;
|
|
2076
2076
|
height: 32px;
|
|
2077
2077
|
border: none;
|
|
2078
|
-
background:
|
|
2078
|
+
background: rgba(239, 68, 68, 0.06);
|
|
2079
2079
|
color: #dc2626;
|
|
2080
2080
|
border-radius: 4px;
|
|
2081
2081
|
cursor: pointer;
|
|
2082
2082
|
flex-shrink: 0;
|
|
2083
2083
|
&:hover {
|
|
2084
|
-
background:
|
|
2084
|
+
background: rgba(239, 68, 68, 0.12);
|
|
2085
2085
|
}
|
|
2086
2086
|
svg {
|
|
2087
2087
|
width: 14px;
|
|
@@ -2103,7 +2103,7 @@ const AddButton = styled.button`
|
|
|
2103
2103
|
transition: all 0.15s ease;
|
|
2104
2104
|
&:hover {
|
|
2105
2105
|
border-color: #4945ff;
|
|
2106
|
-
background:
|
|
2106
|
+
background: rgba(73, 69, 255, 0.06);
|
|
2107
2107
|
}
|
|
2108
2108
|
`;
|
|
2109
2109
|
const InfoText = styled.div`
|
|
@@ -2333,14 +2333,14 @@ const FilterButton = styled.button`
|
|
|
2333
2333
|
font-weight: 500;
|
|
2334
2334
|
border: 1px solid ${(props) => props.$isActive ? "#4945FF" : "rgba(128, 128, 128, 0.25)"};
|
|
2335
2335
|
border-radius: 4px;
|
|
2336
|
-
background: ${(props) => props.$isActive ? "
|
|
2337
|
-
color: ${(props) => props.$isActive ? "#4945FF" :
|
|
2336
|
+
background: ${(props) => props.$isActive ? "rgba(73, 69, 255, 0.08)" : props.theme.colors.neutral0};
|
|
2337
|
+
color: ${(props) => props.$isActive ? "#4945FF" : props.theme.colors.neutral800};
|
|
2338
2338
|
cursor: pointer;
|
|
2339
2339
|
transition: all 0.15s ease;
|
|
2340
2340
|
white-space: nowrap;
|
|
2341
2341
|
|
|
2342
2342
|
&:hover {
|
|
2343
|
-
background: ${(props) => props.$isActive ? "
|
|
2343
|
+
background: ${(props) => props.$isActive ? "rgba(73, 69, 255, 0.12)" : props.theme.colors.neutral100};
|
|
2344
2344
|
border-color: ${(props) => props.$isActive ? "#4945FF" : "rgba(128, 128, 128, 0.3)"};
|
|
2345
2345
|
}
|
|
2346
2346
|
|
|
@@ -2363,13 +2363,13 @@ const ClearButton = styled.button`
|
|
|
2363
2363
|
padding: 0;
|
|
2364
2364
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
2365
2365
|
border-radius: 4px;
|
|
2366
|
-
background:
|
|
2366
|
+
background: rgba(239, 68, 68, 0.06);
|
|
2367
2367
|
color: #dc2626;
|
|
2368
2368
|
cursor: pointer;
|
|
2369
2369
|
transition: all 0.15s ease;
|
|
2370
2370
|
|
|
2371
2371
|
&:hover {
|
|
2372
|
-
background:
|
|
2372
|
+
background: rgba(239, 68, 68, 0.12);
|
|
2373
2373
|
border-color: rgba(239, 68, 68, 0.4);
|
|
2374
2374
|
}
|
|
2375
2375
|
|
|
@@ -2581,7 +2581,7 @@ const index = {
|
|
|
2581
2581
|
id: `${pluginId}.Admin.MainMenu.PluginName`,
|
|
2582
2582
|
defaultMessage: name
|
|
2583
2583
|
},
|
|
2584
|
-
Component: () => import("./App-
|
|
2584
|
+
Component: () => import("./App-CozIqdTt.mjs"),
|
|
2585
2585
|
permissions: []
|
|
2586
2586
|
});
|
|
2587
2587
|
app.createSettingSection(
|
|
@@ -2602,7 +2602,7 @@ const index = {
|
|
|
2602
2602
|
to: `${pluginId}/upgrade`,
|
|
2603
2603
|
Component: () => import(
|
|
2604
2604
|
/* webpackChunkName: "magic-mark-upgrade" */
|
|
2605
|
-
"./UpgradePage-
|
|
2605
|
+
"./UpgradePage-9godO_5E.mjs"
|
|
2606
2606
|
),
|
|
2607
2607
|
permissions: []
|
|
2608
2608
|
},
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
package/package.json
CHANGED