@module-federation/devtools 0.0.0-perf-devtools-20260106124142 → 0.0.0-perf-devtools-20260108034446

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.
@@ -0,0 +1,457 @@
1
+ .container_967de {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 16px;
5
+ padding: 16px 12px;
6
+ max-width: 1024px;
7
+ }
8
+
9
+ @media (min-width: 768px) {
10
+ .container_967de {
11
+ padding: 24px 16px;
12
+ }
13
+ }
14
+ .heroSection_967de {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 8px;
18
+ }
19
+
20
+ .heroSubtitle_967de {
21
+ font-size: 12px;
22
+ font-weight: 600;
23
+ text-transform: uppercase;
24
+ letter-spacing: 0.025em;
25
+ color: #71717a;
26
+ margin: 0;
27
+ }
28
+
29
+ .heroTitle_967de {
30
+ font-size: 30px;
31
+ line-height: 36px;
32
+ font-weight: 700;
33
+ letter-spacing: -0.025em;
34
+ color: #18181b;
35
+ margin: 0;
36
+ }
37
+
38
+ .statsGrid_967de {
39
+ display: grid;
40
+ grid-template-columns: repeat(1, minmax(0, 1fr));
41
+ gap: 16px;
42
+ }
43
+
44
+ @media (min-width: 640px) {
45
+ .statsGrid_967de {
46
+ grid-template-columns: repeat(2, minmax(0, 1fr));
47
+ }
48
+ }
49
+ @media (min-width: 1024px) {
50
+ .statsGrid_967de {
51
+ grid-template-columns: repeat(3, minmax(0, 1fr));
52
+ }
53
+ }
54
+ .card_967de {
55
+ border-radius: 12px;
56
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
57
+ border: 1px solid #e4e4e7;
58
+ background-color: white;
59
+ }
60
+
61
+ .cardWithPadding_967de {
62
+ border-radius: 12px;
63
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
64
+ border: 1px solid #e4e4e7;
65
+ background-color: white;
66
+ padding: 16px;
67
+ }
68
+
69
+ .cardHeader_967de {
70
+ display: flex;
71
+ flex-direction: row;
72
+ align-items: center;
73
+ justify-content: space-between;
74
+ padding-bottom: 8px;
75
+ }
76
+
77
+ .statSpace_967de {
78
+ display: flex;
79
+ flex-direction: column;
80
+ gap: 4px;
81
+ }
82
+
83
+ .statLabel_967de {
84
+ font-size: 14px;
85
+ color: #71717a;
86
+ }
87
+
88
+ .statValue_967de {
89
+ font-size: 24px;
90
+ font-weight: 600;
91
+ display: flex;
92
+ align-items: center;
93
+ gap: 8px;
94
+ color: #18181b;
95
+ }
96
+
97
+ .icon_967de {
98
+ height: 20px;
99
+ width: 20px;
100
+ color: #a1a1aa;
101
+ }
102
+
103
+ .iconSmall_967de {
104
+ height: 12px;
105
+ width: 12px;
106
+ }
107
+
108
+ .iconMedium_967de {
109
+ height: 14px;
110
+ width: 14px;
111
+ color: #71717a;
112
+ }
113
+
114
+ .statDescription_967de {
115
+ font-size: 12px;
116
+ color: #71717a;
117
+ margin: 0;
118
+ }
119
+
120
+ .statSubtext_967de {
121
+ font-size: 16px;
122
+ color: #a1a1aa;
123
+ font-weight: 400;
124
+ }
125
+
126
+ .cardFooter_967de {
127
+ display: flex;
128
+ align-items: center;
129
+ justify-content: space-between;
130
+ font-size: 12px;
131
+ color: #71717a;
132
+ white-space: nowrap;
133
+ }
134
+
135
+ .truncate_967de {
136
+ overflow: hidden;
137
+ text-overflow: ellipsis;
138
+ white-space: nowrap;
139
+ }
140
+
141
+ .mr2_967de {
142
+ margin-right: 8px;
143
+ }
144
+
145
+ .badgeGroup_967de {
146
+ display: inline-flex;
147
+ align-items: center;
148
+ gap: 4px;
149
+ flex-shrink: 0;
150
+ }
151
+
152
+ .statusTags_967de {
153
+ display: flex;
154
+ flex-direction: column;
155
+ gap: 4px;
156
+ font-size: 12px;
157
+ color: #71717a;
158
+ }
159
+
160
+ .tagRow_967de {
161
+ display: flex;
162
+ align-items: center;
163
+ gap: 8px;
164
+ }
165
+
166
+ .tagContent_967de {
167
+ display: flex;
168
+ align-items: center;
169
+ }
170
+
171
+ .tagValue_967de {
172
+ font-weight: 600;
173
+ color: #18181b;
174
+ margin-left: 4px;
175
+ }
176
+
177
+ .mr1_967de {
178
+ margin-right: 4px;
179
+ }
180
+
181
+ .rightPanels_967de {
182
+ display: flex;
183
+ flex-direction: column;
184
+ gap: 16px;
185
+ }
186
+
187
+ .panelStack_967de {
188
+ display: flex;
189
+ flex-direction: column;
190
+ gap: 16px;
191
+ }
192
+
193
+ .cardTitle_967de {
194
+ font-size: 16px;
195
+ display: flex;
196
+ align-items: center;
197
+ gap: 8px;
198
+ }
199
+
200
+ .controlsGrid_967de {
201
+ display: grid;
202
+ gap: 12px;
203
+ margin-bottom: 12px;
204
+ padding: 8px;
205
+ }
206
+
207
+ @media (min-width: 768px) {
208
+ .controlsGrid_967de {
209
+ grid-template-columns: repeat(2, minmax(0, 1fr));
210
+ }
211
+ }
212
+ .inputGroup_967de {
213
+ display: flex;
214
+ flex-direction: column;
215
+ gap: 4px;
216
+ }
217
+
218
+ .inputLabel_967de {
219
+ font-size: 12px;
220
+ color: #71717a;
221
+ }
222
+
223
+ .fullWidth_967de {
224
+ width: 100%;
225
+ }
226
+
227
+ .resultBox_967de {
228
+ border-radius: 6px;
229
+ border: 1px dashed #e4e4e7;
230
+ background-color: #f9fafb;
231
+ padding: 8px 12px;
232
+ font-size: 12px;
233
+ }
234
+
235
+ .filterGrid_967de {
236
+ display: grid;
237
+ gap: 12px;
238
+ margin-bottom: 12px;
239
+ }
240
+
241
+ @media (min-width: 768px) {
242
+ .filterGrid_967de {
243
+ grid-template-columns: repeat(2, minmax(0, 1fr));
244
+ }
245
+ }
246
+ @media (min-width: 1024px) {
247
+ .filterGrid_967de {
248
+ grid-template-columns: repeat(3, minmax(0, 1fr));
249
+ }
250
+ }
251
+ .padding2_967de {
252
+ padding: 8px;
253
+ }
254
+
255
+ .searchGrid_967de {
256
+ display: grid;
257
+ gap: 12px;
258
+ padding: 8px;
259
+ }
260
+
261
+ @media (min-width: 768px) {
262
+ .searchGrid_967de {
263
+ grid-template-columns: repeat(2, minmax(0, 1fr));
264
+ }
265
+ }
266
+ .searchInput_967de {
267
+ font-size: 12px;
268
+ }
269
+
270
+ .matchCount_967de {
271
+ display: flex;
272
+ align-items: flex-end;
273
+ justify-content: flex-end;
274
+ gap: 8px;
275
+ font-size: 12px;
276
+ color: #71717a;
277
+ }
278
+
279
+ .matchValue_967de {
280
+ font-weight: 600;
281
+ color: #18181b;
282
+ margin-left: 4px;
283
+ }
284
+
285
+ .loadingText_967de {
286
+ padding-top: 16px;
287
+ padding-bottom: 16px;
288
+ font-size: 12px;
289
+ color: #71717a;
290
+ }
291
+
292
+ .errorText_967de {
293
+ padding-top: 12px;
294
+ padding-bottom: 12px;
295
+ font-size: 12px;
296
+ color: #dc2626;
297
+ }
298
+
299
+ .noMatchText_967de {
300
+ padding-top: 12px;
301
+ padding-bottom: 12px;
302
+ font-size: 12px;
303
+ color: #71717a;
304
+ }
305
+
306
+ .treeContainer_967de {
307
+ max-height: 320px;
308
+ overflow-y: auto;
309
+ }
310
+
311
+ .collapseWrapper_967de {
312
+ display: flex;
313
+ flex-direction: column;
314
+ gap: 8px;
315
+ border: 0;
316
+ }
317
+
318
+ .providerHeader_967de {
319
+ display: flex;
320
+ flex-direction: column;
321
+ align-items: flex-start;
322
+ gap: 4px;
323
+ text-align: left;
324
+ }
325
+
326
+ .providerTitle_967de {
327
+ display: flex;
328
+ align-items: center;
329
+ gap: 8px;
330
+ font-size: 14px;
331
+ font-weight: 500;
332
+ }
333
+
334
+ .providerMeta_967de {
335
+ display: flex;
336
+ flex-wrap: wrap;
337
+ gap: 8px;
338
+ font-size: 10px;
339
+ color: #71717a;
340
+ }
341
+
342
+ .scopeList_967de {
343
+ display: flex;
344
+ flex-direction: column;
345
+ gap: 16px;
346
+ }
347
+
348
+ .scopeItem_967de {
349
+ display: flex;
350
+ flex-direction: column;
351
+ gap: 8px;
352
+ }
353
+
354
+ .scopeHeader_967de {
355
+ display: flex;
356
+ align-items: center;
357
+ gap: 8px;
358
+ font-size: 12px;
359
+ font-weight: 500;
360
+ color: #52525b;
361
+ }
362
+
363
+ .tableContainer_967de {
364
+ overflow: hidden;
365
+ border-radius: 6px;
366
+ border: 1px solid #e4e4e7;
367
+ background-color: rgba(249, 250, 251, 0.4);
368
+ }
369
+
370
+ .cellCol_967de {
371
+ display: flex;
372
+ flex-direction: column;
373
+ }
374
+
375
+ .packageName_967de {
376
+ word-break: break-all;
377
+ font-family: monospace;
378
+ font-size: 11px;
379
+ color: #27272a;
380
+ }
381
+
382
+ .version_967de {
383
+ margin-top: 4px;
384
+ font-size: 11px;
385
+ color: #71717a;
386
+ }
387
+
388
+ .cellColGap_967de {
389
+ display: flex;
390
+ flex-direction: column;
391
+ gap: 4px;
392
+ }
393
+
394
+ .scopeText_967de {
395
+ font-size: 11px;
396
+ color: #71717a;
397
+ }
398
+
399
+ .tagContainer_967de {
400
+ width: 64px;
401
+ display: flex;
402
+ align-items: center;
403
+ justify-content: center;
404
+ }
405
+
406
+ .configTags_967de {
407
+ margin-top: 4px;
408
+ display: flex;
409
+ flex-wrap: wrap;
410
+ gap: 4px;
411
+ font-size: 10px;
412
+ color: #71717a;
413
+ }
414
+
415
+ .scale90_967de {
416
+ transform: scale(0.9);
417
+ transform-origin: left;
418
+ }
419
+
420
+ .popoverContent_967de {
421
+ width: 288px;
422
+ }
423
+
424
+ .popoverTitle_967de {
425
+ margin-bottom: 4px;
426
+ font-size: 12px;
427
+ font-weight: 500;
428
+ }
429
+
430
+ .consumerList_967de {
431
+ display: flex;
432
+ flex-direction: column;
433
+ gap: 4px;
434
+ font-size: 11px;
435
+ color: #374151;
436
+ padding-left: 0;
437
+ list-style: none;
438
+ margin: 0;
439
+ }
440
+
441
+ .consumerItem_967de {
442
+ display: flex;
443
+ align-items: center;
444
+ gap: 4px;
445
+ }
446
+
447
+ .dot_967de {
448
+ height: 6px;
449
+ width: 6px;
450
+ border-radius: 50%;
451
+ background-color: #10b981;
452
+ }
453
+
454
+ .btnContent_967de {
455
+ display: flex;
456
+ align-items: center;
457
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from))
11
+ if (!__hasOwnProp.call(to, key) && key !== except)
12
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ }
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
24
+ var import_helpers = __toESM(require("@module-federation/runtime/helpers"));
25
+ var import_sdk = require("../sdk");
26
+ var import_template = require("../../template");
27
+ var _a;
28
+ const chromeOverrideRemotesPlugin = function() {
29
+ return {
30
+ name: "mf-chrome-devtools-override-remotes-plugin",
31
+ beforeRegisterRemote(args) {
32
+ try {
33
+ const { remote } = args;
34
+ const overrideRemote = import_helpers.default.global.nativeGlobal.localStorage.getItem(
35
+ import_template.__FEDERATION_DEVTOOLS__
36
+ );
37
+ if (!overrideRemote) {
38
+ return args;
39
+ }
40
+ const parsedOverrideRemote = JSON.parse(overrideRemote);
41
+ const overrideEntryOrVersion = parsedOverrideRemote[remote.name];
42
+ if (overrideEntryOrVersion) {
43
+ if (overrideEntryOrVersion.startsWith("http")) {
44
+ delete remote.version;
45
+ remote.entry = overrideEntryOrVersion;
46
+ } else {
47
+ delete remote.entry;
48
+ remote.version = overrideEntryOrVersion;
49
+ }
50
+ }
51
+ } catch (e) {
52
+ console.error(e);
53
+ }
54
+ return args;
55
+ }
56
+ };
57
+ };
58
+ if (!(window == null ? void 0 : window.__FEDERATION__)) {
59
+ (0, import_sdk.definePropertyGlobalVal)(window, "__FEDERATION__", {});
60
+ (0, import_sdk.definePropertyGlobalVal)(window, "__VMOK__", window.__FEDERATION__);
61
+ }
62
+ if (!(window == null ? void 0 : window.__FEDERATION__.__GLOBAL_PLUGIN__)) {
63
+ window.__FEDERATION__.__GLOBAL_PLUGIN__ = [];
64
+ }
65
+ (_a = window.__FEDERATION__.__GLOBAL_PLUGIN__) == null ? void 0 : _a.push(chromeOverrideRemotesPlugin());
@@ -1,3 +1,5 @@
1
+ import '@arco-design/web-react/es/_util/react-19-adapter';
2
+ import './App.css';
1
3
  import './init';
2
4
  import { RootComponentProps } from './utils';
3
5
  import '@arco-design/web-react/dist/css/arco.css';
@@ -1,2 +1 @@
1
- import '@arco-design/web-react/es/_util/react-19-adapter';
2
- import './index.css';
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/devtools",
3
- "version": "0.0.0-perf-devtools-20260106124142",
3
+ "version": "0.0.0-perf-devtools-20260108034446",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,14 +46,12 @@
46
46
  "reactflow": "11.11.4",
47
47
  "echarts": "^6.0.0",
48
48
  "lucide-react": "^0.364.0",
49
- "tailwindcss-animate": "^1.0.7",
50
49
  "echarts-for-react": "^3.0.5",
51
- "@module-federation/sdk": "0.0.0-perf-devtools-20260106124142"
50
+ "@module-federation/sdk": "0.0.0-perf-devtools-20260108034446"
52
51
  },
53
52
  "devDependencies": {
54
53
  "@modern-js-app/eslint-config": "2.59.0",
55
54
  "@modern-js/app-tools": "2.69.3",
56
- "@modern-js/plugin-tailwindcss": "2.69.3",
57
55
  "@modern-js/eslint-config": "2.59.0",
58
56
  "@modern-js/module-tools": "2.69.3",
59
57
  "@modern-js/storybook": "2.69.3",
@@ -69,7 +67,7 @@
69
67
  "prettier": "~3.3.3",
70
68
  "rimraf": "~6.0.1",
71
69
  "vitest": "1.2.2",
72
- "@module-federation/runtime": "0.0.0-perf-devtools-20260106124142"
70
+ "@module-federation/runtime": "0.0.0-perf-devtools-20260108034446"
73
71
  },
74
72
  "scripts": {
75
73
  "build:storybook": "storybook build",