@umijs/plugin-docs 4.0.40 → 4.0.42

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.
@@ -457,53 +457,6 @@ video {
457
457
  --tw-backdrop-sepia: ;
458
458
  }
459
459
 
460
- ::-webkit-backdrop {
461
- --tw-border-spacing-x: 0;
462
- --tw-border-spacing-y: 0;
463
- --tw-translate-x: 0;
464
- --tw-translate-y: 0;
465
- --tw-rotate: 0;
466
- --tw-skew-x: 0;
467
- --tw-skew-y: 0;
468
- --tw-scale-x: 1;
469
- --tw-scale-y: 1;
470
- --tw-pan-x: ;
471
- --tw-pan-y: ;
472
- --tw-pinch-zoom: ;
473
- --tw-scroll-snap-strictness: proximity;
474
- --tw-ordinal: ;
475
- --tw-slashed-zero: ;
476
- --tw-numeric-figure: ;
477
- --tw-numeric-spacing: ;
478
- --tw-numeric-fraction: ;
479
- --tw-ring-inset: ;
480
- --tw-ring-offset-width: 0px;
481
- --tw-ring-offset-color: #fff;
482
- --tw-ring-color: rgb(59 130 246 / 0.5);
483
- --tw-ring-offset-shadow: 0 0 #0000;
484
- --tw-ring-shadow: 0 0 #0000;
485
- --tw-shadow: 0 0 #0000;
486
- --tw-shadow-colored: 0 0 #0000;
487
- --tw-blur: ;
488
- --tw-brightness: ;
489
- --tw-contrast: ;
490
- --tw-grayscale: ;
491
- --tw-hue-rotate: ;
492
- --tw-invert: ;
493
- --tw-saturate: ;
494
- --tw-sepia: ;
495
- --tw-drop-shadow: ;
496
- --tw-backdrop-blur: ;
497
- --tw-backdrop-brightness: ;
498
- --tw-backdrop-contrast: ;
499
- --tw-backdrop-grayscale: ;
500
- --tw-backdrop-hue-rotate: ;
501
- --tw-backdrop-invert: ;
502
- --tw-backdrop-opacity: ;
503
- --tw-backdrop-saturate: ;
504
- --tw-backdrop-sepia: ;
505
- }
506
-
507
460
  ::backdrop {
508
461
  --tw-border-spacing-x: 0;
509
462
  --tw-border-spacing-y: 0;
@@ -728,7 +681,6 @@ video {
728
681
  }
729
682
 
730
683
  .sticky {
731
- position: -webkit-sticky;
732
684
  position: sticky;
733
685
  }
734
686
 
@@ -1072,12 +1024,6 @@ video {
1072
1024
  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
1025
  }
1074
1026
 
1075
- @-webkit-keyframes pulse {
1076
- 50% {
1077
- opacity: .5;
1078
- }
1079
- }
1080
-
1081
1027
  @keyframes pulse {
1082
1028
  50% {
1083
1029
  opacity: .5;
@@ -1085,8 +1031,7 @@ video {
1085
1031
  }
1086
1032
 
1087
1033
  .animate-pulse {
1088
- -webkit-animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1089
- animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1034
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1090
1035
  }
1091
1036
 
1092
1037
  .cursor-pointer {
@@ -1551,9 +1496,9 @@ video {
1551
1496
  }
1552
1497
 
1553
1498
  .transition {
1554
- transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1499
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
1555
1500
  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-text-decoration-color, -webkit-backdrop-filter;
1501
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
1557
1502
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1558
1503
  transition-duration: 150ms;
1559
1504
  }
@@ -1894,8 +1839,7 @@ article blockquote {
1894
1839
  }
1895
1840
 
1896
1841
  article h2 a {
1897
- -webkit-text-decoration-line: none;
1898
- text-decoration-line: none;
1842
+ text-decoration-line: none;
1899
1843
  }
1900
1844
 
1901
1845
  .dark article h2 a {
@@ -1956,9 +1900,9 @@ article pre {
1956
1900
  color: rgb(212 212 212 / var(--tw-text-opacity));
1957
1901
  -webkit-font-smoothing: auto;
1958
1902
  -moz-osx-font-smoothing: auto;
1959
- transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1903
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
1960
1904
  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-text-decoration-color, -webkit-backdrop-filter;
1905
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
1962
1906
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1963
1907
  transition-duration: 150ms;
1964
1908
  }
@@ -2147,9 +2091,9 @@ article a {
2147
2091
  margin-right: 0.25rem;
2148
2092
  --tw-text-opacity: 1;
2149
2093
  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-text-decoration-color, -webkit-backdrop-filter;
2094
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
2151
2095
  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-text-decoration-color, -webkit-backdrop-filter;
2096
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
2153
2097
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2154
2098
  transition-duration: 150ms;
2155
2099
  }
@@ -2188,9 +2132,9 @@ article a {
2188
2132
  article a > code {
2189
2133
  --tw-text-opacity: 1;
2190
2134
  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-text-decoration-color, -webkit-backdrop-filter;
2135
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
2192
2136
  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-text-decoration-color, -webkit-backdrop-filter;
2137
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
2194
2138
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2195
2139
  transition-duration: 150ms;
2196
2140
  }
@@ -2296,9 +2240,9 @@ article table tbody td {
2296
2240
  margin-right: 0.25rem;
2297
2241
  --tw-text-opacity: 1;
2298
2242
  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-text-decoration-color, -webkit-backdrop-filter;
2243
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
2300
2244
  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-text-decoration-color, -webkit-backdrop-filter;
2245
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
2302
2246
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2303
2247
  transition-duration: 150ms;
2304
2248
  }
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.40",
3
+ "version": "4.0.42",
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",
@@ -43,7 +43,7 @@
43
43
  "rehype-slug": "5.0.1",
44
44
  "remark-gfm": "^3.0.1",
45
45
  "tailwindcss": "^3.0.24",
46
- "umi": "4.0.40"
46
+ "umi": "4.0.42"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"