@vscode/markdown-editor 0.0.2-74 → 0.0.2-75
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/index.d.ts +7 -0
- package/dist/index.js +657 -637
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/view/editor.css +36 -36
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscode/markdown-editor",
|
|
3
|
-
"version": "0.0.2-
|
|
3
|
+
"version": "0.0.2-75",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"vitest": "^4.1.0",
|
|
112
112
|
"zod": "^4.3.6"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "334994d67ceca5a816f6d7307410bed161baeb4f"
|
|
115
115
|
}
|
package/src/view/editor.css
CHANGED
|
@@ -234,13 +234,7 @@
|
|
|
234
234
|
align-self: center;
|
|
235
235
|
align-items: center;
|
|
236
236
|
gap: 0.22em;
|
|
237
|
-
height: 1.25em;
|
|
238
|
-
box-sizing: border-box;
|
|
239
237
|
margin-left: 0.04em;
|
|
240
|
-
padding: 0 0.38em;
|
|
241
|
-
border: 1px solid color-mix(in srgb, currentColor 44%, transparent);
|
|
242
|
-
border-radius: 1em;
|
|
243
|
-
background: color-mix(in srgb, currentColor 9%, transparent);
|
|
244
238
|
color: var(--vscode-descriptionForeground, currentColor);
|
|
245
239
|
font-size: 0.86em;
|
|
246
240
|
font-weight: 600;
|
|
@@ -248,10 +242,40 @@
|
|
|
248
242
|
}
|
|
249
243
|
|
|
250
244
|
.md-rich-link-detail[hidden],
|
|
245
|
+
.md-rich-link-changes[hidden],
|
|
251
246
|
.md-rich-link-status[hidden] {
|
|
252
247
|
display: none;
|
|
253
248
|
}
|
|
254
249
|
|
|
250
|
+
.md-rich-link-changes {
|
|
251
|
+
flex: none;
|
|
252
|
+
display: inline-flex;
|
|
253
|
+
align-self: center;
|
|
254
|
+
gap: 0.28em;
|
|
255
|
+
font-size: 0.86em;
|
|
256
|
+
font-weight: 600;
|
|
257
|
+
line-height: 1;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.md-rich-link-changes::before,
|
|
261
|
+
.md-rich-link:not(
|
|
262
|
+
[data-md-rich-link-kind='issue'],
|
|
263
|
+
[data-md-rich-link-kind='pullRequest'],
|
|
264
|
+
[data-md-rich-link-kind='session']
|
|
265
|
+
) .md-rich-link-primary-status::before {
|
|
266
|
+
content: '·';
|
|
267
|
+
color: var(--vscode-descriptionForeground, currentColor);
|
|
268
|
+
font-weight: 400;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.md-rich-link-insertions {
|
|
272
|
+
color: var(--vscode-charts-green, #1f883d);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.md-rich-link-deletions {
|
|
276
|
+
color: var(--vscode-charts-red, #cf222e);
|
|
277
|
+
}
|
|
278
|
+
|
|
255
279
|
.md-rich-link-status-icon {
|
|
256
280
|
flex: none;
|
|
257
281
|
align-self: center;
|
|
@@ -270,10 +294,6 @@
|
|
|
270
294
|
|
|
271
295
|
.md-rich-link-secondary-status {
|
|
272
296
|
margin-left: 0.06em;
|
|
273
|
-
padding: 0;
|
|
274
|
-
border: 0;
|
|
275
|
-
border-radius: 0;
|
|
276
|
-
background: transparent;
|
|
277
297
|
}
|
|
278
298
|
|
|
279
299
|
.md-rich-link-secondary-status::before {
|
|
@@ -1441,48 +1461,28 @@ ol.md-list>.md-list-item-active>.md-list-gutter>.md-marker-listItemMarker {
|
|
|
1441
1461
|
* The rotating "broken rounded-square" progress ring for an inactive task item
|
|
1442
1462
|
* whose text begins with the hidden `:running:` marker (see
|
|
1443
1463
|
* `ListItemViewData.isRunning`). Rendered as a conic-gradient ring — masked so
|
|
1444
|
-
* only the ring (not its center) paints — with a transparent gap that spins
|
|
1445
|
-
*
|
|
1446
|
-
* checked/unchecked box. The base checkbox border/background are hidden so
|
|
1447
|
-
* only the ring shows.
|
|
1464
|
+
* only the ring (not its center) paints — with a transparent gap that spins,
|
|
1465
|
+
* reading as a segmented spinner rather than a checked/unchecked box.
|
|
1448
1466
|
*/
|
|
1449
1467
|
.md-checkbox-running,
|
|
1450
1468
|
.md-checkbox-running:checked {
|
|
1451
|
-
background: transparent;
|
|
1452
|
-
border-color: transparent;
|
|
1453
|
-
opacity: 1;
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
@property --md-checkbox-spinner-angle {
|
|
1457
|
-
syntax: '<angle>';
|
|
1458
|
-
inherits: false;
|
|
1459
|
-
initial-value: 0deg;
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
.md-checkbox-running::after,
|
|
1463
|
-
.md-checkbox-running:checked::after {
|
|
1464
|
-
content: '';
|
|
1465
|
-
position: absolute;
|
|
1466
|
-
inset: -1px;
|
|
1467
1469
|
padding: 2px;
|
|
1468
|
-
width: auto;
|
|
1469
|
-
height: auto;
|
|
1470
1470
|
border: 0;
|
|
1471
1471
|
border-radius: 4px;
|
|
1472
1472
|
background: conic-gradient(
|
|
1473
|
-
from var(--md-checkbox-spinner-angle),
|
|
1474
1473
|
transparent 0deg 42deg,
|
|
1475
1474
|
#bbb 62deg 360deg
|
|
1476
1475
|
);
|
|
1477
1476
|
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
1478
1477
|
-webkit-mask-composite: xor;
|
|
1479
1478
|
mask-composite: exclude;
|
|
1480
|
-
animation: md-checkbox-spin 0.8s linear infinite
|
|
1479
|
+
animation: md-checkbox-spin 0.8s linear infinite;
|
|
1480
|
+
opacity: 1;
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
1483
|
@keyframes md-checkbox-spin {
|
|
1484
1484
|
to {
|
|
1485
|
-
|
|
1485
|
+
transform: rotate(360deg);
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
1488
|
|
|
@@ -1505,7 +1505,7 @@ ol.md-list>.md-list-item-active>.md-list-gutter>.md-marker-listItemMarker {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
|
|
1507
1507
|
@media (prefers-reduced-motion: reduce) {
|
|
1508
|
-
.md-checkbox-running
|
|
1508
|
+
.md-checkbox-running {
|
|
1509
1509
|
animation: none !important;
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|