@lijinmei-810/dev-inspector 0.2.0 → 0.2.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.
- package/dist/dev-inspector.css +494 -160
- package/dist/index.cjs +688 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +478 -180
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +689 -178
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
package/dist/index.css
CHANGED
|
@@ -53,186 +53,63 @@
|
|
|
53
53
|
opacity: 1;
|
|
54
54
|
transform: translateY(0);
|
|
55
55
|
}
|
|
56
|
-
.di-
|
|
57
|
-
position:
|
|
58
|
-
|
|
59
|
-
bottom: 24px;
|
|
60
|
-
z-index: 99999;
|
|
61
|
-
width: 48px;
|
|
62
|
-
height: 48px;
|
|
63
|
-
border-radius: 50%;
|
|
64
|
-
border: none;
|
|
65
|
-
background: #1a1a1a;
|
|
66
|
-
color: #fff;
|
|
67
|
-
font-size: 11px;
|
|
68
|
-
font-weight: 700;
|
|
69
|
-
font-family:
|
|
70
|
-
"PingFang SC",
|
|
71
|
-
system-ui,
|
|
72
|
-
sans-serif;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
|
|
75
|
-
transition: background 0.15s, box-shadow 0.15s;
|
|
76
|
-
}
|
|
77
|
-
.di-dl-btn:hover {
|
|
78
|
-
background: #333;
|
|
79
|
-
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
|
|
80
|
-
}
|
|
81
|
-
.di-dl-modal {
|
|
82
|
-
position: fixed;
|
|
83
|
-
right: 72px;
|
|
84
|
-
bottom: 80px;
|
|
85
|
-
z-index: 99999;
|
|
86
|
-
width: 200px;
|
|
87
|
-
background: #fff;
|
|
88
|
-
border-radius: 12px;
|
|
89
|
-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
|
|
90
|
-
padding: 16px;
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
gap: 10px;
|
|
94
|
-
font-family:
|
|
95
|
-
"PingFang SC",
|
|
96
|
-
system-ui,
|
|
97
|
-
sans-serif;
|
|
98
|
-
}
|
|
99
|
-
.di-dl-title {
|
|
100
|
-
font-size: 13px;
|
|
101
|
-
font-weight: 700;
|
|
102
|
-
color: #111;
|
|
103
|
-
}
|
|
104
|
-
.di-dl-row {
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: space-between;
|
|
108
|
-
gap: 8px;
|
|
109
|
-
font-size: 13px;
|
|
110
|
-
color: #333;
|
|
111
|
-
}
|
|
112
|
-
.di-dl-check-label {
|
|
113
|
-
display: flex;
|
|
56
|
+
.di-match-badge {
|
|
57
|
+
position: relative;
|
|
58
|
+
display: inline-flex;
|
|
114
59
|
align-items: center;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
accent-color: #1a1a1a;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
}
|
|
122
|
-
.di-dl-detail-btn {
|
|
123
|
-
background: none;
|
|
124
|
-
border: none;
|
|
125
|
-
font-size: 11px;
|
|
126
|
-
color: #888;
|
|
127
|
-
cursor: pointer;
|
|
128
|
-
padding: 0;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
text-decoration: underline;
|
|
131
|
-
}
|
|
132
|
-
.di-dl-detail-btn:hover {
|
|
133
|
-
color: #333;
|
|
134
|
-
}
|
|
135
|
-
.di-dl-file-list {
|
|
136
|
-
margin: -4px 0 0 0;
|
|
137
|
-
padding: 8px 10px;
|
|
138
|
-
background: #f5f5f5;
|
|
139
|
-
border-radius: 6px;
|
|
140
|
-
list-style: none;
|
|
141
|
-
display: flex;
|
|
142
|
-
flex-direction: column;
|
|
143
|
-
gap: 6px;
|
|
144
|
-
}
|
|
145
|
-
.di-dl-file-list li {
|
|
146
|
-
display: flex;
|
|
147
|
-
flex-direction: column;
|
|
148
|
-
gap: 1px;
|
|
149
|
-
}
|
|
150
|
-
.di-dl-file-name {
|
|
151
|
-
font-size: 11px;
|
|
152
|
-
font-weight: 600;
|
|
153
|
-
color: #222;
|
|
154
|
-
font-family: "SF Mono", monospace;
|
|
155
|
-
}
|
|
156
|
-
.di-dl-file-desc {
|
|
60
|
+
justify-content: center;
|
|
61
|
+
height: 20px;
|
|
62
|
+
padding: 0 7px;
|
|
63
|
+
border-radius: 999px;
|
|
157
64
|
font-size: 10px;
|
|
158
|
-
|
|
159
|
-
line-height: 1
|
|
65
|
+
font-weight: 800;
|
|
66
|
+
line-height: 1;
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
cursor: default;
|
|
69
|
+
outline: none;
|
|
160
70
|
}
|
|
161
|
-
.di-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
71
|
+
.di-match-badge::after {
|
|
72
|
+
content: attr(data-tooltip);
|
|
73
|
+
position: absolute;
|
|
74
|
+
left: 50%;
|
|
75
|
+
bottom: calc(100% + 8px);
|
|
76
|
+
transform: translate(-50%, 4px);
|
|
77
|
+
width: max-content;
|
|
78
|
+
max-width: 220px;
|
|
79
|
+
padding: 7px 9px;
|
|
80
|
+
border-radius: 7px;
|
|
81
|
+
background: #0f172a;
|
|
165
82
|
color: #fff;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
font-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
.di-dl-confirm:disabled {
|
|
177
|
-
background: #ccc;
|
|
178
|
-
cursor: not-allowed;
|
|
179
|
-
}
|
|
180
|
-
.di-dl-status {
|
|
181
|
-
display: flex;
|
|
182
|
-
align-items: center;
|
|
183
|
-
gap: 8px;
|
|
184
|
-
font-size: 12px;
|
|
185
|
-
color: #555;
|
|
186
|
-
padding: 4px 0;
|
|
187
|
-
}
|
|
188
|
-
.di-dl-status--error {
|
|
189
|
-
color: #dc2626;
|
|
190
|
-
}
|
|
191
|
-
.di-dl-spinner {
|
|
192
|
-
width: 12px;
|
|
193
|
-
height: 12px;
|
|
194
|
-
border: 2px solid #ddd;
|
|
195
|
-
border-top-color: #1a1a1a;
|
|
196
|
-
border-radius: 50%;
|
|
197
|
-
animation: di-spin 0.7s linear infinite;
|
|
198
|
-
flex-shrink: 0;
|
|
199
|
-
}
|
|
200
|
-
@keyframes di-spin {
|
|
201
|
-
to {
|
|
202
|
-
transform: rotate(360deg);
|
|
203
|
-
}
|
|
83
|
+
font-size: 11px;
|
|
84
|
+
line-height: 1.35;
|
|
85
|
+
font-weight: 650;
|
|
86
|
+
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
|
|
87
|
+
opacity: 0;
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
transition: opacity 0.12s, transform 0.12s;
|
|
90
|
+
white-space: normal;
|
|
91
|
+
z-index: 20;
|
|
204
92
|
}
|
|
205
|
-
.di-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
padding: 4px 0;
|
|
93
|
+
.di-match-badge:hover::after,
|
|
94
|
+
.di-match-badge:focus-visible::after {
|
|
95
|
+
opacity: 1;
|
|
96
|
+
transform: translate(-50%, 0);
|
|
210
97
|
}
|
|
211
|
-
.di-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
color: #1a1a1a;
|
|
98
|
+
.di-match-badge--matched {
|
|
99
|
+
background: #ede9fe;
|
|
100
|
+
color: #7c3aed;
|
|
215
101
|
}
|
|
216
|
-
.di-
|
|
217
|
-
|
|
218
|
-
color: #
|
|
219
|
-
font-family: "SF Mono", monospace;
|
|
220
|
-
word-break: break-all;
|
|
102
|
+
.di-match-badge--pending {
|
|
103
|
+
background: #f1f5f9;
|
|
104
|
+
color: #64748b;
|
|
221
105
|
}
|
|
222
|
-
.di-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
background: #f0f0f0;
|
|
226
|
-
border: none;
|
|
227
|
-
border-radius: 7px;
|
|
228
|
-
font-size: 12px;
|
|
229
|
-
font-weight: 500;
|
|
230
|
-
color: #333;
|
|
231
|
-
cursor: pointer;
|
|
232
|
-
transition: background 0.15s;
|
|
106
|
+
.di-match-badge--token {
|
|
107
|
+
background: #ede9fe;
|
|
108
|
+
color: #7c3aed;
|
|
233
109
|
}
|
|
234
|
-
.di-
|
|
235
|
-
background: #
|
|
110
|
+
.di-match-badge--raw {
|
|
111
|
+
background: #eef2f7;
|
|
112
|
+
color: #64748b;
|
|
236
113
|
}
|
|
237
114
|
.di-hover {
|
|
238
115
|
outline: 2px solid rgba(124, 58, 237, 0.5) !important;
|
|
@@ -770,6 +647,20 @@
|
|
|
770
647
|
min-width: 104px;
|
|
771
648
|
height: 36px;
|
|
772
649
|
}
|
|
650
|
+
.di-library-toolbar-actions {
|
|
651
|
+
display: flex;
|
|
652
|
+
align-items: center;
|
|
653
|
+
justify-content: flex-end;
|
|
654
|
+
gap: 8px;
|
|
655
|
+
flex-wrap: wrap;
|
|
656
|
+
}
|
|
657
|
+
.di-library-toolbar-actions .di-btn-save,
|
|
658
|
+
.di-library-toolbar-actions .di-library-workbench-soft-btn {
|
|
659
|
+
flex: 0 0 auto;
|
|
660
|
+
width: auto;
|
|
661
|
+
min-width: 104px;
|
|
662
|
+
height: 36px;
|
|
663
|
+
}
|
|
773
664
|
.di-library-workbench-table {
|
|
774
665
|
display: grid;
|
|
775
666
|
gap: 8px;
|
|
@@ -1356,6 +1247,7 @@
|
|
|
1356
1247
|
text-align: center;
|
|
1357
1248
|
}
|
|
1358
1249
|
.di-library-edit-panel,
|
|
1250
|
+
.di-library-import-panel,
|
|
1359
1251
|
.di-library-detail-card {
|
|
1360
1252
|
display: grid;
|
|
1361
1253
|
gap: 12px;
|
|
@@ -1378,6 +1270,139 @@
|
|
|
1378
1270
|
display: grid;
|
|
1379
1271
|
gap: 6px;
|
|
1380
1272
|
}
|
|
1273
|
+
.di-library-import-option {
|
|
1274
|
+
display: grid;
|
|
1275
|
+
grid-template-columns: 22px minmax(0, 1fr) max-content;
|
|
1276
|
+
align-items: start;
|
|
1277
|
+
column-gap: 12px;
|
|
1278
|
+
row-gap: 8px;
|
|
1279
|
+
min-width: 0;
|
|
1280
|
+
padding: 14px;
|
|
1281
|
+
border: 1px solid #eef2f7;
|
|
1282
|
+
border-radius: 10px;
|
|
1283
|
+
background: #f8fafc;
|
|
1284
|
+
}
|
|
1285
|
+
.di-library-import-steps {
|
|
1286
|
+
display: flex;
|
|
1287
|
+
flex-wrap: wrap;
|
|
1288
|
+
gap: 6px;
|
|
1289
|
+
}
|
|
1290
|
+
.di-library-import-steps span {
|
|
1291
|
+
height: 24px;
|
|
1292
|
+
display: inline-flex;
|
|
1293
|
+
align-items: center;
|
|
1294
|
+
padding: 0 8px;
|
|
1295
|
+
border-radius: 999px;
|
|
1296
|
+
background: #f8fafc;
|
|
1297
|
+
color: #64748b;
|
|
1298
|
+
font-size: 10px;
|
|
1299
|
+
font-weight: 800;
|
|
1300
|
+
}
|
|
1301
|
+
.di-library-import-option--primary {
|
|
1302
|
+
border-color: #ede9fe;
|
|
1303
|
+
background: #faf5ff;
|
|
1304
|
+
}
|
|
1305
|
+
.di-library-import-option > div {
|
|
1306
|
+
min-width: 0;
|
|
1307
|
+
display: contents;
|
|
1308
|
+
}
|
|
1309
|
+
.di-library-import-option svg {
|
|
1310
|
+
grid-column: 1;
|
|
1311
|
+
grid-row: 1;
|
|
1312
|
+
align-self: center;
|
|
1313
|
+
justify-self: center;
|
|
1314
|
+
color: #7c3aed;
|
|
1315
|
+
}
|
|
1316
|
+
.di-library-import-option strong {
|
|
1317
|
+
grid-column: 2;
|
|
1318
|
+
grid-row: 1;
|
|
1319
|
+
align-self: center;
|
|
1320
|
+
min-width: 0;
|
|
1321
|
+
color: #111827;
|
|
1322
|
+
font-size: 13px;
|
|
1323
|
+
font-weight: 900;
|
|
1324
|
+
overflow: hidden;
|
|
1325
|
+
text-overflow: ellipsis;
|
|
1326
|
+
white-space: nowrap;
|
|
1327
|
+
}
|
|
1328
|
+
.di-library-import-option span {
|
|
1329
|
+
grid-column: 2;
|
|
1330
|
+
grid-row: 2;
|
|
1331
|
+
min-width: 0;
|
|
1332
|
+
color: #64748b;
|
|
1333
|
+
font-size: 11px;
|
|
1334
|
+
font-weight: 700;
|
|
1335
|
+
line-height: 1.4;
|
|
1336
|
+
}
|
|
1337
|
+
.di-library-import-option button,
|
|
1338
|
+
.di-library-import-option input::file-selector-button {
|
|
1339
|
+
grid-column: 3;
|
|
1340
|
+
grid-row: 1;
|
|
1341
|
+
align-self: center;
|
|
1342
|
+
justify-self: end;
|
|
1343
|
+
min-width: 72px;
|
|
1344
|
+
height: 28px;
|
|
1345
|
+
padding: 0 9px;
|
|
1346
|
+
border: 1px solid #e5e7eb;
|
|
1347
|
+
border-radius: 8px;
|
|
1348
|
+
background: #fff;
|
|
1349
|
+
color: #334155;
|
|
1350
|
+
font-family: inherit;
|
|
1351
|
+
font-size: 10px;
|
|
1352
|
+
font-weight: 850;
|
|
1353
|
+
cursor: pointer;
|
|
1354
|
+
}
|
|
1355
|
+
.di-library-import-option button:hover,
|
|
1356
|
+
.di-library-import-option button:focus-visible,
|
|
1357
|
+
.di-library-import-option input::file-selector-button:hover {
|
|
1358
|
+
border-color: #c4b5fd;
|
|
1359
|
+
color: #7c3aed;
|
|
1360
|
+
outline: none;
|
|
1361
|
+
}
|
|
1362
|
+
.di-library-import-option input {
|
|
1363
|
+
grid-column: 3;
|
|
1364
|
+
grid-row: 1;
|
|
1365
|
+
align-self: center;
|
|
1366
|
+
justify-self: end;
|
|
1367
|
+
width: 78px;
|
|
1368
|
+
max-width: 78px;
|
|
1369
|
+
color: transparent;
|
|
1370
|
+
}
|
|
1371
|
+
.di-library-import-format {
|
|
1372
|
+
margin: 0;
|
|
1373
|
+
padding: 0;
|
|
1374
|
+
border-radius: 9px;
|
|
1375
|
+
background: #f8fafc;
|
|
1376
|
+
color: #475569;
|
|
1377
|
+
overflow: auto;
|
|
1378
|
+
}
|
|
1379
|
+
.di-library-import-format summary {
|
|
1380
|
+
min-height: 32px;
|
|
1381
|
+
display: flex;
|
|
1382
|
+
align-items: center;
|
|
1383
|
+
padding: 0 10px;
|
|
1384
|
+
color: #64748b;
|
|
1385
|
+
font-size: 11px;
|
|
1386
|
+
font-weight: 850;
|
|
1387
|
+
cursor: pointer;
|
|
1388
|
+
}
|
|
1389
|
+
.di-library-import-format pre {
|
|
1390
|
+
margin: 0;
|
|
1391
|
+
padding: 10px;
|
|
1392
|
+
border-top: 1px solid #e5e7eb;
|
|
1393
|
+
color: #475569;
|
|
1394
|
+
font-size: 10px;
|
|
1395
|
+
line-height: 1.5;
|
|
1396
|
+
white-space: pre-wrap;
|
|
1397
|
+
}
|
|
1398
|
+
.di-library-import-msg {
|
|
1399
|
+
padding: 8px 10px;
|
|
1400
|
+
border-radius: 8px;
|
|
1401
|
+
background: #ede9fe;
|
|
1402
|
+
color: #7c3aed;
|
|
1403
|
+
font-size: 11px;
|
|
1404
|
+
font-weight: 800;
|
|
1405
|
+
}
|
|
1381
1406
|
.di-library-detail-preview {
|
|
1382
1407
|
display: grid;
|
|
1383
1408
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
@@ -3430,7 +3455,7 @@
|
|
|
3430
3455
|
background: #faf5ff;
|
|
3431
3456
|
font-size: 11px;
|
|
3432
3457
|
line-height: 1.5;
|
|
3433
|
-
color: #
|
|
3458
|
+
color: #94a3b8;
|
|
3434
3459
|
}
|
|
3435
3460
|
.di-component-card {
|
|
3436
3461
|
display: flex;
|
|
@@ -3464,20 +3489,136 @@
|
|
|
3464
3489
|
text-overflow: ellipsis;
|
|
3465
3490
|
white-space: nowrap;
|
|
3466
3491
|
}
|
|
3492
|
+
.di-component-title-row {
|
|
3493
|
+
display: flex;
|
|
3494
|
+
align-items: center;
|
|
3495
|
+
gap: 8px;
|
|
3496
|
+
min-width: 0;
|
|
3497
|
+
}
|
|
3467
3498
|
.di-component-meta-row {
|
|
3468
|
-
display:
|
|
3469
|
-
|
|
3499
|
+
display: flex;
|
|
3500
|
+
align-items: center;
|
|
3501
|
+
justify-content: space-between;
|
|
3502
|
+
gap: 8px;
|
|
3503
|
+
}
|
|
3504
|
+
.di-component-meta-block {
|
|
3505
|
+
display: flex;
|
|
3506
|
+
flex-direction: column;
|
|
3470
3507
|
gap: 6px;
|
|
3471
3508
|
}
|
|
3472
|
-
.di-component-meta-
|
|
3473
|
-
|
|
3509
|
+
.di-component-meta-toggle {
|
|
3510
|
+
height: 26px;
|
|
3511
|
+
padding: 0 9px;
|
|
3512
|
+
border: 1px solid #e5e7eb;
|
|
3513
|
+
border-radius: 7px;
|
|
3514
|
+
background: #fff;
|
|
3474
3515
|
color: #64748b;
|
|
3516
|
+
font-family: inherit;
|
|
3475
3517
|
font-size: 11px;
|
|
3476
|
-
font-weight:
|
|
3518
|
+
font-weight: 800;
|
|
3519
|
+
cursor: pointer;
|
|
3520
|
+
display: inline-flex;
|
|
3521
|
+
align-items: center;
|
|
3522
|
+
gap: 6px;
|
|
3523
|
+
justify-self: end;
|
|
3524
|
+
transition:
|
|
3525
|
+
border-color 0.12s,
|
|
3526
|
+
background 0.12s,
|
|
3527
|
+
color 0.12s;
|
|
3528
|
+
}
|
|
3529
|
+
.di-component-meta-toggle:hover,
|
|
3530
|
+
.di-component-meta-toggle:focus-visible,
|
|
3531
|
+
.di-component-meta-toggle--on {
|
|
3532
|
+
border-color: #c4b5fd;
|
|
3533
|
+
background: #faf5ff;
|
|
3534
|
+
color: #7c3aed;
|
|
3535
|
+
outline: none;
|
|
3536
|
+
}
|
|
3537
|
+
.di-component-meta-toggle svg {
|
|
3538
|
+
transition: transform 0.12s ease;
|
|
3539
|
+
}
|
|
3540
|
+
.di-component-meta-toggle--on svg {
|
|
3541
|
+
transform: rotate(180deg);
|
|
3542
|
+
}
|
|
3543
|
+
.di-component-info-panel {
|
|
3544
|
+
margin: 0;
|
|
3545
|
+
padding: 0;
|
|
3546
|
+
border: none;
|
|
3547
|
+
border-radius: 0;
|
|
3548
|
+
background: transparent;
|
|
3549
|
+
display: flex;
|
|
3550
|
+
flex-direction: column;
|
|
3551
|
+
gap: 8px;
|
|
3552
|
+
}
|
|
3553
|
+
.di-component-info-row {
|
|
3554
|
+
display: grid;
|
|
3555
|
+
grid-template-columns: 48px minmax(0, 1fr);
|
|
3556
|
+
align-items: start;
|
|
3557
|
+
gap: 8px;
|
|
3558
|
+
}
|
|
3559
|
+
.di-component-info-row dt {
|
|
3560
|
+
color: #64748b;
|
|
3561
|
+
font-size: 11px;
|
|
3562
|
+
font-weight: 700;
|
|
3477
3563
|
line-height: 1.35;
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3564
|
+
}
|
|
3565
|
+
.di-component-info-row dd {
|
|
3566
|
+
margin: 0;
|
|
3567
|
+
min-width: 0;
|
|
3568
|
+
color: #111827;
|
|
3569
|
+
font-size: 12px;
|
|
3570
|
+
font-weight: 650;
|
|
3571
|
+
line-height: 1.35;
|
|
3572
|
+
word-break: break-word;
|
|
3573
|
+
}
|
|
3574
|
+
.di-component-info-elements {
|
|
3575
|
+
display: flex;
|
|
3576
|
+
flex-direction: column;
|
|
3577
|
+
gap: 8px;
|
|
3578
|
+
}
|
|
3579
|
+
.di-component-info-element-list {
|
|
3580
|
+
display: flex;
|
|
3581
|
+
flex-direction: column;
|
|
3582
|
+
gap: 8px;
|
|
3583
|
+
}
|
|
3584
|
+
.di-component-info-element-card {
|
|
3585
|
+
padding: 8px;
|
|
3586
|
+
border: 1px solid #e5e7eb;
|
|
3587
|
+
border-radius: 7px;
|
|
3588
|
+
background: #fff;
|
|
3589
|
+
display: flex;
|
|
3590
|
+
flex-direction: column;
|
|
3591
|
+
gap: 7px;
|
|
3592
|
+
}
|
|
3593
|
+
.di-component-info-element-head {
|
|
3594
|
+
display: flex;
|
|
3595
|
+
flex-direction: column;
|
|
3596
|
+
gap: 2px;
|
|
3597
|
+
}
|
|
3598
|
+
.di-component-info-element-label {
|
|
3599
|
+
color: #111827;
|
|
3600
|
+
font-size: 12px;
|
|
3601
|
+
font-weight: 800;
|
|
3602
|
+
line-height: 1.35;
|
|
3603
|
+
}
|
|
3604
|
+
.di-component-info-element-selector {
|
|
3605
|
+
color: #94a3b8;
|
|
3606
|
+
font-size: 11px;
|
|
3607
|
+
font-weight: 650;
|
|
3608
|
+
line-height: 1.35;
|
|
3609
|
+
word-break: break-all;
|
|
3610
|
+
}
|
|
3611
|
+
.di-component-info-element-meta {
|
|
3612
|
+
margin: 0;
|
|
3613
|
+
display: flex;
|
|
3614
|
+
flex-direction: column;
|
|
3615
|
+
gap: 6px;
|
|
3616
|
+
}
|
|
3617
|
+
.di-component-info-inline {
|
|
3618
|
+
display: inline-flex;
|
|
3619
|
+
align-items: center;
|
|
3620
|
+
flex-wrap: wrap;
|
|
3621
|
+
gap: 6px;
|
|
3481
3622
|
}
|
|
3482
3623
|
.di-component-fields {
|
|
3483
3624
|
display: flex;
|
|
@@ -3541,6 +3682,10 @@
|
|
|
3541
3682
|
.di-component-child-item--with-label {
|
|
3542
3683
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
3543
3684
|
}
|
|
3685
|
+
.di-component-child-item:has(.di-component-child-variant-grid) {
|
|
3686
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
3687
|
+
align-items: start;
|
|
3688
|
+
}
|
|
3544
3689
|
.di-component-child-label {
|
|
3545
3690
|
color: #64748b;
|
|
3546
3691
|
font-size: 11px;
|
|
@@ -3558,6 +3703,46 @@
|
|
|
3558
3703
|
text-overflow: ellipsis;
|
|
3559
3704
|
white-space: nowrap;
|
|
3560
3705
|
}
|
|
3706
|
+
.di-component-child-variant-grid {
|
|
3707
|
+
min-width: 0;
|
|
3708
|
+
display: grid;
|
|
3709
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3710
|
+
gap: 6px;
|
|
3711
|
+
}
|
|
3712
|
+
.di-component-child-variant-tile {
|
|
3713
|
+
min-width: 0;
|
|
3714
|
+
min-height: 28px;
|
|
3715
|
+
padding: 0 8px;
|
|
3716
|
+
border: 0;
|
|
3717
|
+
border-radius: 6px;
|
|
3718
|
+
background: transparent;
|
|
3719
|
+
color: #64748b;
|
|
3720
|
+
font-family: inherit;
|
|
3721
|
+
font-size: 12px;
|
|
3722
|
+
font-weight: 750;
|
|
3723
|
+
line-height: 1.2;
|
|
3724
|
+
cursor: pointer;
|
|
3725
|
+
white-space: nowrap;
|
|
3726
|
+
overflow: hidden;
|
|
3727
|
+
text-overflow: ellipsis;
|
|
3728
|
+
transition:
|
|
3729
|
+
background 0.12s,
|
|
3730
|
+
color 0.12s,
|
|
3731
|
+
box-shadow 0.12s;
|
|
3732
|
+
}
|
|
3733
|
+
.di-component-child-variant-tile:hover,
|
|
3734
|
+
.di-component-child-variant-tile:focus-visible {
|
|
3735
|
+
background: #ede9fe;
|
|
3736
|
+
color: #7c3aed;
|
|
3737
|
+
outline: none;
|
|
3738
|
+
}
|
|
3739
|
+
.di-component-child-variant-tile--on,
|
|
3740
|
+
.di-component-child-variant-tile--on:hover,
|
|
3741
|
+
.di-component-child-variant-tile--on:focus-visible {
|
|
3742
|
+
background: #fff;
|
|
3743
|
+
color: #7c3aed;
|
|
3744
|
+
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
3745
|
+
}
|
|
3561
3746
|
.di-component-child-select {
|
|
3562
3747
|
height: 24px;
|
|
3563
3748
|
padding: 0 8px;
|
|
@@ -3592,6 +3777,51 @@
|
|
|
3592
3777
|
.di-component-segment--tone {
|
|
3593
3778
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3594
3779
|
}
|
|
3780
|
+
.di-component-variant-grid {
|
|
3781
|
+
min-width: 0;
|
|
3782
|
+
display: grid;
|
|
3783
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3784
|
+
gap: 6px;
|
|
3785
|
+
padding: 8px;
|
|
3786
|
+
border: 1px solid #e5e7eb;
|
|
3787
|
+
border-radius: 8px;
|
|
3788
|
+
background: #f8fafc;
|
|
3789
|
+
box-sizing: border-box;
|
|
3790
|
+
}
|
|
3791
|
+
.di-component-variant-tile {
|
|
3792
|
+
min-width: 0;
|
|
3793
|
+
min-height: 32px;
|
|
3794
|
+
padding: 0 8px;
|
|
3795
|
+
border: 0;
|
|
3796
|
+
border-radius: 6px;
|
|
3797
|
+
background: transparent;
|
|
3798
|
+
color: #64748b;
|
|
3799
|
+
font-family: inherit;
|
|
3800
|
+
font-size: 12px;
|
|
3801
|
+
font-weight: 750;
|
|
3802
|
+
line-height: 1.2;
|
|
3803
|
+
cursor: pointer;
|
|
3804
|
+
white-space: nowrap;
|
|
3805
|
+
overflow: hidden;
|
|
3806
|
+
text-overflow: ellipsis;
|
|
3807
|
+
transition:
|
|
3808
|
+
background 0.12s,
|
|
3809
|
+
color 0.12s,
|
|
3810
|
+
box-shadow 0.12s;
|
|
3811
|
+
}
|
|
3812
|
+
.di-component-variant-tile:hover,
|
|
3813
|
+
.di-component-variant-tile:focus-visible {
|
|
3814
|
+
background: #ede9fe;
|
|
3815
|
+
color: #7c3aed;
|
|
3816
|
+
outline: none;
|
|
3817
|
+
}
|
|
3818
|
+
.di-component-variant-tile--on,
|
|
3819
|
+
.di-component-variant-tile--on:hover,
|
|
3820
|
+
.di-component-variant-tile--on:focus-visible {
|
|
3821
|
+
background: #fff;
|
|
3822
|
+
color: #7c3aed;
|
|
3823
|
+
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
3824
|
+
}
|
|
3595
3825
|
.di-component-segment-btn {
|
|
3596
3826
|
min-width: 0;
|
|
3597
3827
|
height: 26px;
|
|
@@ -6135,6 +6365,15 @@
|
|
|
6135
6365
|
.di-btn-save:hover {
|
|
6136
6366
|
background: #6d28d9;
|
|
6137
6367
|
}
|
|
6368
|
+
.di-btn-save-content {
|
|
6369
|
+
display: inline-flex;
|
|
6370
|
+
align-items: center;
|
|
6371
|
+
justify-content: center;
|
|
6372
|
+
gap: 6px;
|
|
6373
|
+
width: 100%;
|
|
6374
|
+
min-width: 0;
|
|
6375
|
+
white-space: nowrap;
|
|
6376
|
+
}
|
|
6138
6377
|
.di-section-title--spaced {
|
|
6139
6378
|
margin-top: 16px;
|
|
6140
6379
|
}
|
|
@@ -6377,6 +6616,54 @@
|
|
|
6377
6616
|
grid-template-columns: 24px minmax(0, 1fr);
|
|
6378
6617
|
padding-left: 3px;
|
|
6379
6618
|
}
|
|
6619
|
+
.di-annotation-card {
|
|
6620
|
+
display: flex;
|
|
6621
|
+
flex-direction: column;
|
|
6622
|
+
gap: var(--di-control-gap-y);
|
|
6623
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
6624
|
+
border-radius: 10px;
|
|
6625
|
+
background: #f8fafc;
|
|
6626
|
+
}
|
|
6627
|
+
.di-annotation-count {
|
|
6628
|
+
height: 20px;
|
|
6629
|
+
padding: 0 7px;
|
|
6630
|
+
border-radius: 999px;
|
|
6631
|
+
background: #ede9fe;
|
|
6632
|
+
color: #7c3aed;
|
|
6633
|
+
font-size: 10px;
|
|
6634
|
+
font-weight: 800;
|
|
6635
|
+
line-height: 20px;
|
|
6636
|
+
white-space: nowrap;
|
|
6637
|
+
}
|
|
6638
|
+
.di-annotation-textarea {
|
|
6639
|
+
width: 100%;
|
|
6640
|
+
min-width: 0;
|
|
6641
|
+
min-height: 58px;
|
|
6642
|
+
max-height: 128px;
|
|
6643
|
+
padding: 8px 9px;
|
|
6644
|
+
border: 1px solid #e5e7eb;
|
|
6645
|
+
border-radius: 7px;
|
|
6646
|
+
background: #fff;
|
|
6647
|
+
color: var(--di-text-body-color, #6b7280);
|
|
6648
|
+
font-family: inherit;
|
|
6649
|
+
font-size: var(--di-text-body-size, 12px);
|
|
6650
|
+
font-weight: var(--di-text-body-weight, 400);
|
|
6651
|
+
line-height: var(--di-text-body-line-height, 1.5);
|
|
6652
|
+
box-sizing: border-box;
|
|
6653
|
+
outline: none;
|
|
6654
|
+
resize: none;
|
|
6655
|
+
transition: border-color 0.12s, background 0.12s;
|
|
6656
|
+
}
|
|
6657
|
+
.di-annotation-textarea::placeholder {
|
|
6658
|
+
color: var(--di-text-meta-color, #94a3b8);
|
|
6659
|
+
font-size: var(--di-text-meta-size, 11px);
|
|
6660
|
+
font-weight: var(--di-text-meta-weight, 600);
|
|
6661
|
+
line-height: var(--di-text-meta-line-height, 1.35);
|
|
6662
|
+
}
|
|
6663
|
+
.di-annotation-textarea:focus {
|
|
6664
|
+
border-color: #a78bfa;
|
|
6665
|
+
background: #fff;
|
|
6666
|
+
}
|
|
6380
6667
|
.di-layout-section .di-section-title,
|
|
6381
6668
|
.di-shadow-section .di-section-title,
|
|
6382
6669
|
.di-space-section .di-section-title {
|
|
@@ -6502,6 +6789,17 @@
|
|
|
6502
6789
|
.di-border-control--radius {
|
|
6503
6790
|
grid-template-columns: minmax(0, 1fr);
|
|
6504
6791
|
}
|
|
6792
|
+
.di-border-control--radius {
|
|
6793
|
+
display: inline-flex;
|
|
6794
|
+
align-items: center;
|
|
6795
|
+
justify-content: flex-start;
|
|
6796
|
+
gap: 4px;
|
|
6797
|
+
}
|
|
6798
|
+
.di-border-control--radius .di-border-style-label,
|
|
6799
|
+
.di-border-control--radius .di-typography-control-value {
|
|
6800
|
+
flex: 0 0 auto;
|
|
6801
|
+
line-height: 1;
|
|
6802
|
+
}
|
|
6505
6803
|
.di-typography-control--size-token,
|
|
6506
6804
|
.di-typography-control--weight,
|
|
6507
6805
|
.di-border-control--line {
|