strapi-plugin-magic-sessionmanager 4.2.16 → 4.3.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.
Files changed (23) hide show
  1. package/dist/_chunks/{Analytics-BC4jdzBT.mjs → Analytics-sX94t6D9.mjs} +2 -2
  2. package/dist/_chunks/{Analytics-D6RGeWO5.js → Analytics-tOOj5T92.js} +2 -2
  3. package/dist/_chunks/{App-CahdcIEB.mjs → App-Cs4KKd3L.mjs} +155 -54
  4. package/dist/_chunks/{App-BkaaNOpt.js → App-D4qVym6y.js} +154 -53
  5. package/dist/_chunks/{License-BFx721o7.mjs → License-CN5YpqIu.mjs} +1 -1
  6. package/dist/_chunks/{License-C8VnKtV1.js → License-kfVcskd3.js} +1 -1
  7. package/dist/_chunks/{OnlineUsersWidget-uJ6DZB_N.js → OnlineUsersWidget-Cg3R7602.js} +1 -1
  8. package/dist/_chunks/{OnlineUsersWidget-r2ZgSnok.mjs → OnlineUsersWidget-ytykP_tA.mjs} +1 -1
  9. package/dist/_chunks/{Settings-jtZRw_VP.js → Settings-DVRIrGho.js} +26 -54
  10. package/dist/_chunks/{Settings-DOUUwwxB.mjs → Settings-XloJ-aHl.mjs} +26 -54
  11. package/dist/_chunks/StyledButtons-D2EbG_Zw.js +419 -0
  12. package/dist/_chunks/StyledButtons-fbNVRlMY.mjs +418 -0
  13. package/dist/_chunks/{UpgradePage-mqr6dLVY.mjs → UpgradePage-C441wvPX.mjs} +1 -1
  14. package/dist/_chunks/{UpgradePage-Bwy_1m6f.js → UpgradePage-D2FRalDz.js} +1 -1
  15. package/dist/_chunks/{index-BuxWeACw.js → index-DtBfKBne.js} +236 -190
  16. package/dist/_chunks/{index-CUSrDKCG.mjs → index-Ij0JRf9W.mjs} +237 -193
  17. package/dist/_chunks/{useLicense-xjKLHcVq.mjs → useLicense-DJEDGSap.mjs} +1 -1
  18. package/dist/_chunks/{useLicense-D7FSpX8c.js → useLicense-NCFYHpDd.js} +1 -1
  19. package/dist/admin/index.js +1 -1
  20. package/dist/admin/index.mjs +1 -1
  21. package/dist/server/index.js +35938 -169
  22. package/dist/server/index.mjs +35927 -167
  23. package/package.json +7 -7
@@ -0,0 +1,419 @@
1
+ "use strict";
2
+ const styled = require("styled-components");
3
+ const designSystem = require("@strapi/design-system");
4
+ const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
5
+ const styled__default = /* @__PURE__ */ _interopDefault(styled);
6
+ const GradientButton = styled__default.default(designSystem.Button)`
7
+ && {
8
+ background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
9
+ color: white;
10
+ font-weight: 600;
11
+ border: none;
12
+ padding: 10px 20px;
13
+ min-height: 40px;
14
+ transition: all 0.2s ease;
15
+
16
+ &:hover:not(:disabled) {
17
+ background: linear-gradient(135deg, #0284C7 0%, #9333EA 100%);
18
+ transform: translateY(-1px);
19
+ box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
20
+ }
21
+
22
+ &:active:not(:disabled) {
23
+ transform: translateY(0);
24
+ }
25
+
26
+ &:disabled {
27
+ opacity: 0.6;
28
+ cursor: not-allowed;
29
+ }
30
+ }
31
+ `;
32
+ const SecondaryButton = styled__default.default(designSystem.Button)`
33
+ && {
34
+ background: white;
35
+ color: #7C3AED;
36
+ font-weight: 600;
37
+ border: 2px solid transparent;
38
+ background-image: linear-gradient(white, white), linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
39
+ background-origin: border-box;
40
+ background-clip: padding-box, border-box;
41
+ padding: 10px 20px;
42
+ min-height: 40px;
43
+ transition: all 0.2s ease;
44
+
45
+ &:hover:not(:disabled) {
46
+ background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
47
+ background-clip: padding-box;
48
+ color: white;
49
+ transform: translateY(-1px);
50
+ box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
51
+ }
52
+
53
+ &:active:not(:disabled) {
54
+ transform: translateY(0);
55
+ }
56
+
57
+ &:disabled {
58
+ opacity: 0.6;
59
+ cursor: not-allowed;
60
+ }
61
+ }
62
+ `;
63
+ const TertiaryButton = styled__default.default(designSystem.Button)`
64
+ && {
65
+ background: transparent;
66
+ color: #64748B;
67
+ font-weight: 500;
68
+ border: 1px solid #E2E8F0;
69
+ padding: 10px 20px;
70
+ min-height: 40px;
71
+ transition: all 0.2s ease;
72
+
73
+ &:hover:not(:disabled) {
74
+ background: #F1F5F9;
75
+ border-color: #CBD5E1;
76
+ color: #334155;
77
+ }
78
+
79
+ &:disabled {
80
+ opacity: 0.6;
81
+ cursor: not-allowed;
82
+ }
83
+ }
84
+ `;
85
+ const DangerButton = styled__default.default(designSystem.Button)`
86
+ && {
87
+ background: #FEE2E2;
88
+ color: #DC2626;
89
+ font-weight: 600;
90
+ border: 1px solid #FECACA;
91
+ padding: 10px 20px;
92
+ min-height: 40px;
93
+ transition: all 0.2s ease;
94
+
95
+ &:hover:not(:disabled) {
96
+ background: #DC2626;
97
+ color: white;
98
+ border-color: #DC2626;
99
+ }
100
+
101
+ &:disabled {
102
+ opacity: 0.6;
103
+ cursor: not-allowed;
104
+ }
105
+ }
106
+ `;
107
+ styled__default.default(designSystem.Button)`
108
+ && {
109
+ background: linear-gradient(135deg, #10B981 0%, #059669 100%);
110
+ color: white;
111
+ font-weight: 600;
112
+ border: none;
113
+ padding: 10px 20px;
114
+ min-height: 40px;
115
+ transition: all 0.2s ease;
116
+
117
+ &:hover:not(:disabled) {
118
+ background: linear-gradient(135deg, #059669 0%, #047857 100%);
119
+ transform: translateY(-1px);
120
+ box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
121
+ }
122
+
123
+ &:disabled {
124
+ opacity: 0.6;
125
+ cursor: not-allowed;
126
+ }
127
+ }
128
+ `;
129
+ styled__default.default(designSystem.Button)`
130
+ && {
131
+ background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
132
+ color: #64748B;
133
+ border: 1px solid #E2E8F0;
134
+ padding: 8px;
135
+ min-width: 38px;
136
+ min-height: 38px;
137
+ width: 38px;
138
+ height: 38px;
139
+ border-radius: 10px;
140
+ display: flex;
141
+ align-items: center;
142
+ justify-content: center;
143
+ transition: all 0.2s ease;
144
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
145
+
146
+ svg {
147
+ width: 18px;
148
+ height: 18px;
149
+ }
150
+
151
+ &:hover:not(:disabled) {
152
+ background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
153
+ border-color: #0EA5E9;
154
+ color: white;
155
+ transform: translateY(-1px);
156
+ box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
157
+ }
158
+
159
+ &:disabled {
160
+ opacity: 0.6;
161
+ cursor: not-allowed;
162
+ }
163
+ }
164
+ `;
165
+ const IconButtonDanger = styled__default.default(designSystem.Button)`
166
+ && {
167
+ background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
168
+ color: #EF4444;
169
+ border: 1px solid #FECACA;
170
+ padding: 8px;
171
+ min-width: 38px;
172
+ min-height: 38px;
173
+ width: 38px;
174
+ height: 38px;
175
+ border-radius: 10px;
176
+ display: flex;
177
+ align-items: center;
178
+ justify-content: center;
179
+ transition: all 0.2s ease;
180
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
181
+
182
+ svg {
183
+ width: 18px;
184
+ height: 18px;
185
+ }
186
+
187
+ &:hover:not(:disabled) {
188
+ background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
189
+ border-color: #EF4444;
190
+ color: white;
191
+ transform: translateY(-1px);
192
+ box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
193
+ }
194
+
195
+ &:disabled {
196
+ opacity: 0.6;
197
+ cursor: not-allowed;
198
+ }
199
+ }
200
+ `;
201
+ const IconButtonPrimary = styled__default.default(designSystem.Button)`
202
+ && {
203
+ background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
204
+ color: #0EA5E9;
205
+ border: 1px solid #BAE6FD;
206
+ padding: 8px;
207
+ min-width: 38px;
208
+ min-height: 38px;
209
+ width: 38px;
210
+ height: 38px;
211
+ border-radius: 10px;
212
+ display: flex;
213
+ align-items: center;
214
+ justify-content: center;
215
+ transition: all 0.2s ease;
216
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
217
+
218
+ svg {
219
+ width: 18px;
220
+ height: 18px;
221
+ }
222
+
223
+ &:hover:not(:disabled) {
224
+ background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
225
+ border-color: #0EA5E9;
226
+ color: white;
227
+ transform: translateY(-1px);
228
+ box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
229
+ }
230
+
231
+ &:disabled {
232
+ opacity: 0.6;
233
+ cursor: not-allowed;
234
+ }
235
+ }
236
+ `;
237
+ styled__default.default(designSystem.Button)`
238
+ && {
239
+ background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
240
+ color: #22C55E;
241
+ border: 1px solid #BBF7D0;
242
+ padding: 8px;
243
+ min-width: 38px;
244
+ min-height: 38px;
245
+ width: 38px;
246
+ height: 38px;
247
+ border-radius: 10px;
248
+ display: flex;
249
+ align-items: center;
250
+ justify-content: center;
251
+ transition: all 0.2s ease;
252
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
253
+
254
+ svg {
255
+ width: 18px;
256
+ height: 18px;
257
+ }
258
+
259
+ &:hover:not(:disabled) {
260
+ background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
261
+ border-color: #22C55E;
262
+ color: white;
263
+ transform: translateY(-1px);
264
+ box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
265
+ }
266
+
267
+ &:disabled {
268
+ opacity: 0.6;
269
+ cursor: not-allowed;
270
+ }
271
+ }
272
+ `;
273
+ const IconButtonWarning = styled__default.default(designSystem.Button)`
274
+ && {
275
+ background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
276
+ color: #D97706;
277
+ border: 1px solid #FDE68A;
278
+ padding: 8px;
279
+ min-width: 38px;
280
+ min-height: 38px;
281
+ width: 38px;
282
+ height: 38px;
283
+ border-radius: 10px;
284
+ display: flex;
285
+ align-items: center;
286
+ justify-content: center;
287
+ transition: all 0.2s ease;
288
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
289
+
290
+ svg {
291
+ width: 18px;
292
+ height: 18px;
293
+ }
294
+
295
+ &:hover:not(:disabled) {
296
+ background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
297
+ border-color: #F59E0B;
298
+ color: white;
299
+ transform: translateY(-1px);
300
+ box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
301
+ }
302
+
303
+ &:disabled {
304
+ opacity: 0.5;
305
+ cursor: not-allowed;
306
+ background: #F3F4F6;
307
+ border-color: #E5E7EB;
308
+ color: #9CA3AF;
309
+ }
310
+ }
311
+ `;
312
+ styled__default.default(designSystem.Button)`
313
+ && {
314
+ background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
315
+ color: white;
316
+ font-weight: 700;
317
+ font-size: 1rem;
318
+ border: none;
319
+ padding: 14px 28px;
320
+ min-height: 52px;
321
+ border-radius: 12px;
322
+ transition: all 0.2s ease;
323
+ box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
324
+
325
+ &:hover:not(:disabled) {
326
+ background: linear-gradient(135deg, #0284C7 0%, #9333EA 100%);
327
+ transform: translateY(-2px);
328
+ box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
329
+ }
330
+
331
+ &:active:not(:disabled) {
332
+ transform: translateY(0);
333
+ }
334
+
335
+ &:disabled {
336
+ opacity: 0.6;
337
+ cursor: not-allowed;
338
+ }
339
+ }
340
+ `;
341
+ styled__default.default(designSystem.Button)`
342
+ && {
343
+ background: transparent;
344
+ color: #0EA5E9;
345
+ font-weight: 500;
346
+ border: none;
347
+ padding: 4px 8px;
348
+ min-height: auto;
349
+ text-decoration: underline;
350
+ transition: all 0.2s ease;
351
+
352
+ &:hover:not(:disabled) {
353
+ color: #0284C7;
354
+ text-decoration: none;
355
+ }
356
+
357
+ &:disabled {
358
+ opacity: 0.6;
359
+ cursor: not-allowed;
360
+ }
361
+ }
362
+ `;
363
+ const ShowHideButton = styled__default.default(designSystem.Button)`
364
+ && {
365
+ background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
366
+ color: #64748B;
367
+ font-weight: 600;
368
+ border: 1px solid #E2E8F0;
369
+ padding: 10px 16px;
370
+ min-height: 40px;
371
+ border-radius: 8px;
372
+ transition: all 0.2s ease;
373
+
374
+ &:hover:not(:disabled) {
375
+ background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
376
+ color: #334155;
377
+ transform: translateY(-1px);
378
+ }
379
+
380
+ &:disabled {
381
+ opacity: 0.6;
382
+ cursor: not-allowed;
383
+ }
384
+ }
385
+ `;
386
+ const CopyButton = styled__default.default(designSystem.Button)`
387
+ && {
388
+ background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
389
+ color: #0284C7;
390
+ font-weight: 600;
391
+ border: 1px solid #BAE6FD;
392
+ padding: 10px 16px;
393
+ min-height: 40px;
394
+ border-radius: 8px;
395
+ transition: all 0.2s ease;
396
+
397
+ &:hover:not(:disabled) {
398
+ background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
399
+ color: white;
400
+ border-color: #0EA5E9;
401
+ transform: translateY(-1px);
402
+ box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
403
+ }
404
+
405
+ &:disabled {
406
+ opacity: 0.6;
407
+ cursor: not-allowed;
408
+ }
409
+ }
410
+ `;
411
+ exports.CopyButton = CopyButton;
412
+ exports.DangerButton = DangerButton;
413
+ exports.GradientButton = GradientButton;
414
+ exports.IconButtonDanger = IconButtonDanger;
415
+ exports.IconButtonPrimary = IconButtonPrimary;
416
+ exports.IconButtonWarning = IconButtonWarning;
417
+ exports.SecondaryButton = SecondaryButton;
418
+ exports.ShowHideButton = ShowHideButton;
419
+ exports.TertiaryButton = TertiaryButton;