@umijs/plugin-docs 4.0.41 → 4.0.43
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/client/theme-doc/tailwind.out.css +21 -68
- package/dist/compiler.js +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.
|
|
2
|
+
! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
31
31
|
3. Use a more readable tab size.
|
|
32
32
|
4. Use the user's configured `sans` font-family by default.
|
|
33
|
+
5. Use the user's configured `sans` font-feature-settings by default.
|
|
33
34
|
*/
|
|
34
35
|
|
|
35
36
|
html {
|
|
@@ -44,6 +45,8 @@ html {
|
|
|
44
45
|
/* 3 */
|
|
45
46
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
46
47
|
/* 4 */
|
|
48
|
+
font-feature-settings: normal;
|
|
49
|
+
/* 5 */
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
/*
|
|
@@ -410,54 +413,13 @@ video {
|
|
|
410
413
|
height: auto;
|
|
411
414
|
}
|
|
412
415
|
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
--tw-translate-y: 0;
|
|
418
|
-
--tw-rotate: 0;
|
|
419
|
-
--tw-skew-x: 0;
|
|
420
|
-
--tw-skew-y: 0;
|
|
421
|
-
--tw-scale-x: 1;
|
|
422
|
-
--tw-scale-y: 1;
|
|
423
|
-
--tw-pan-x: ;
|
|
424
|
-
--tw-pan-y: ;
|
|
425
|
-
--tw-pinch-zoom: ;
|
|
426
|
-
--tw-scroll-snap-strictness: proximity;
|
|
427
|
-
--tw-ordinal: ;
|
|
428
|
-
--tw-slashed-zero: ;
|
|
429
|
-
--tw-numeric-figure: ;
|
|
430
|
-
--tw-numeric-spacing: ;
|
|
431
|
-
--tw-numeric-fraction: ;
|
|
432
|
-
--tw-ring-inset: ;
|
|
433
|
-
--tw-ring-offset-width: 0px;
|
|
434
|
-
--tw-ring-offset-color: #fff;
|
|
435
|
-
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
436
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
437
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
438
|
-
--tw-shadow: 0 0 #0000;
|
|
439
|
-
--tw-shadow-colored: 0 0 #0000;
|
|
440
|
-
--tw-blur: ;
|
|
441
|
-
--tw-brightness: ;
|
|
442
|
-
--tw-contrast: ;
|
|
443
|
-
--tw-grayscale: ;
|
|
444
|
-
--tw-hue-rotate: ;
|
|
445
|
-
--tw-invert: ;
|
|
446
|
-
--tw-saturate: ;
|
|
447
|
-
--tw-sepia: ;
|
|
448
|
-
--tw-drop-shadow: ;
|
|
449
|
-
--tw-backdrop-blur: ;
|
|
450
|
-
--tw-backdrop-brightness: ;
|
|
451
|
-
--tw-backdrop-contrast: ;
|
|
452
|
-
--tw-backdrop-grayscale: ;
|
|
453
|
-
--tw-backdrop-hue-rotate: ;
|
|
454
|
-
--tw-backdrop-invert: ;
|
|
455
|
-
--tw-backdrop-opacity: ;
|
|
456
|
-
--tw-backdrop-saturate: ;
|
|
457
|
-
--tw-backdrop-sepia: ;
|
|
416
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
417
|
+
|
|
418
|
+
[hidden] {
|
|
419
|
+
display: none;
|
|
458
420
|
}
|
|
459
421
|
|
|
460
|
-
|
|
422
|
+
*, ::before, ::after {
|
|
461
423
|
--tw-border-spacing-x: 0;
|
|
462
424
|
--tw-border-spacing-y: 0;
|
|
463
425
|
--tw-translate-x: 0;
|
|
@@ -728,7 +690,6 @@ video {
|
|
|
728
690
|
}
|
|
729
691
|
|
|
730
692
|
.sticky {
|
|
731
|
-
position: -webkit-sticky;
|
|
732
693
|
position: sticky;
|
|
733
694
|
}
|
|
734
695
|
|
|
@@ -1072,12 +1033,6 @@ video {
|
|
|
1072
1033
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1073
1034
|
}
|
|
1074
1035
|
|
|
1075
|
-
@-webkit-keyframes pulse {
|
|
1076
|
-
50% {
|
|
1077
|
-
opacity: .5;
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
1036
|
@keyframes pulse {
|
|
1082
1037
|
50% {
|
|
1083
1038
|
opacity: .5;
|
|
@@ -1085,8 +1040,7 @@ video {
|
|
|
1085
1040
|
}
|
|
1086
1041
|
|
|
1087
1042
|
.animate-pulse {
|
|
1088
|
-
|
|
1089
|
-
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
1043
|
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
1090
1044
|
}
|
|
1091
1045
|
|
|
1092
1046
|
.cursor-pointer {
|
|
@@ -1551,9 +1505,9 @@ video {
|
|
|
1551
1505
|
}
|
|
1552
1506
|
|
|
1553
1507
|
.transition {
|
|
1554
|
-
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-
|
|
1508
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
1555
1509
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
1556
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-
|
|
1510
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
1557
1511
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1558
1512
|
transition-duration: 150ms;
|
|
1559
1513
|
}
|
|
@@ -1894,8 +1848,7 @@ article blockquote {
|
|
|
1894
1848
|
}
|
|
1895
1849
|
|
|
1896
1850
|
article h2 a {
|
|
1897
|
-
|
|
1898
|
-
text-decoration-line: none;
|
|
1851
|
+
text-decoration-line: none;
|
|
1899
1852
|
}
|
|
1900
1853
|
|
|
1901
1854
|
.dark article h2 a {
|
|
@@ -1956,9 +1909,9 @@ article pre {
|
|
|
1956
1909
|
color: rgb(212 212 212 / var(--tw-text-opacity));
|
|
1957
1910
|
-webkit-font-smoothing: auto;
|
|
1958
1911
|
-moz-osx-font-smoothing: auto;
|
|
1959
|
-
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-
|
|
1912
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
1960
1913
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
1961
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-
|
|
1914
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
1962
1915
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1963
1916
|
transition-duration: 150ms;
|
|
1964
1917
|
}
|
|
@@ -2147,9 +2100,9 @@ article a {
|
|
|
2147
2100
|
margin-right: 0.25rem;
|
|
2148
2101
|
--tw-text-opacity: 1;
|
|
2149
2102
|
color: rgb(8 145 178 / var(--tw-text-opacity));
|
|
2150
|
-
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-
|
|
2103
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2151
2104
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2152
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-
|
|
2105
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
2153
2106
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2154
2107
|
transition-duration: 150ms;
|
|
2155
2108
|
}
|
|
@@ -2188,9 +2141,9 @@ article a {
|
|
|
2188
2141
|
article a > code {
|
|
2189
2142
|
--tw-text-opacity: 1;
|
|
2190
2143
|
color: rgb(8 145 178 / var(--tw-text-opacity));
|
|
2191
|
-
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-
|
|
2144
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2192
2145
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2193
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-
|
|
2146
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
2194
2147
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2195
2148
|
transition-duration: 150ms;
|
|
2196
2149
|
}
|
|
@@ -2296,9 +2249,9 @@ article table tbody td {
|
|
|
2296
2249
|
margin-right: 0.25rem;
|
|
2297
2250
|
--tw-text-opacity: 1;
|
|
2298
2251
|
color: rgb(37 99 235 / var(--tw-text-opacity));
|
|
2299
|
-
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-
|
|
2252
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2300
2253
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2301
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-
|
|
2254
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
2302
2255
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2303
2256
|
transition-duration: 150ms;
|
|
2304
2257
|
}
|
package/dist/compiler.js
CHANGED
|
@@ -86,7 +86,7 @@ function MDXContent(props = {}) {
|
|
|
86
86
|
import_plugin_utils.logger.error(opts.content.split("\n").filter((_, i) => i == e.line - 1).join("\n"));
|
|
87
87
|
import_plugin_utils.logger.error(" ".repeat(e.column - 1) + "^");
|
|
88
88
|
if (process.env.NODE_ENV === "production") {
|
|
89
|
-
throw new Error("compile error");
|
|
89
|
+
throw new Error("compile error", { cause: e });
|
|
90
90
|
}
|
|
91
91
|
return { result: "" };
|
|
92
92
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugin-docs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.43",
|
|
4
4
|
"description": "@umijs/plugin-docs",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/plugin-docs#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@mdx-js/mdx": "2.1.1",
|
|
39
39
|
"@types/github-slugger": "^1.3.0",
|
|
40
40
|
"@types/keymaster": "^1.6.30",
|
|
41
|
-
"@types/react-helmet": "^6.1.
|
|
41
|
+
"@types/react-helmet": "^6.1.6",
|
|
42
42
|
"rehype-autolink-headings": "^6.1.1",
|
|
43
43
|
"rehype-slug": "5.0.1",
|
|
44
44
|
"remark-gfm": "^3.0.1",
|
|
45
|
-
"tailwindcss": "^3.
|
|
46
|
-
"umi": "4.0.
|
|
45
|
+
"tailwindcss": "^3.2.4",
|
|
46
|
+
"umi": "4.0.43"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|