@umijs/plugin-docs 4.0.0-canary.20220418.2 → 4.0.0-canary.20220421.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.
@@ -519,10 +519,23 @@ Ensure the default browser behavior of the `hidden` attribute.
519
519
  border-left-width: 8px;
520
520
  }
521
521
 
522
- .mdx-message > p {
522
+ .dark .mdx-message code {
523
+ --tw-bg-opacity: 0.5;
524
+ }
525
+
526
+ .mdx-message-text :first-child {
523
527
  margin-top: 0px;
524
528
  }
525
529
 
530
+ .mdx-message-text img {
531
+ border-radius: 0.375rem;
532
+ }
533
+
534
+ .mdx-message-text pre {
535
+ margin-top: 0.5rem;
536
+ margin-bottom: 0.5rem;
537
+ }
538
+
526
539
  .mdx-message-info {
527
540
  --tw-border-opacity: 1;
528
541
  border-color: rgb(147 197 253 / var(--tw-border-opacity));
@@ -534,17 +547,17 @@ Ensure the default browser behavior of the `hidden` attribute.
534
547
  --tw-border-opacity: 1;
535
548
  border-color: rgb(59 130 246 / var(--tw-border-opacity));
536
549
  --tw-bg-opacity: 1;
537
- background-color: rgb(219 234 254 / var(--tw-bg-opacity));
550
+ background-color: rgb(30 58 138 / var(--tw-bg-opacity));
538
551
  }
539
552
 
540
- .mdx-message-info > p {
553
+ .mdx-message-info code {
541
554
  --tw-text-opacity: 1;
542
- color: rgb(30 58 138 / var(--tw-text-opacity));
555
+ color: rgb(30 64 175 / var(--tw-text-opacity));
543
556
  }
544
557
 
545
- .dark .mdx-message-info > p {
558
+ .dark .mdx-message-info code {
546
559
  --tw-text-opacity: 1;
547
- color: rgb(30 58 138 / var(--tw-text-opacity));
560
+ color: rgb(191 219 254 / var(--tw-text-opacity));
548
561
  }
549
562
 
550
563
  .mdx-message-success {
@@ -558,17 +571,17 @@ Ensure the default browser behavior of the `hidden` attribute.
558
571
  --tw-border-opacity: 1;
559
572
  border-color: rgb(34 197 94 / var(--tw-border-opacity));
560
573
  --tw-bg-opacity: 1;
561
- background-color: rgb(220 252 231 / var(--tw-bg-opacity));
574
+ background-color: rgb(21 128 61 / var(--tw-bg-opacity));
562
575
  }
563
576
 
564
- .mdx-message-success > p {
577
+ .mdx-message-success code {
565
578
  --tw-text-opacity: 1;
566
- color: rgb(20 83 45 / var(--tw-text-opacity));
579
+ color: rgb(22 101 52 / var(--tw-text-opacity));
567
580
  }
568
581
 
569
- .dark .mdx-message-success > p {
582
+ .dark .mdx-message-success code {
570
583
  --tw-text-opacity: 1;
571
- color: rgb(20 83 45 / var(--tw-text-opacity));
584
+ color: rgb(187 247 208 / var(--tw-text-opacity));
572
585
  }
573
586
 
574
587
  .mdx-message-warning {
@@ -582,17 +595,17 @@ Ensure the default browser behavior of the `hidden` attribute.
582
595
  --tw-border-opacity: 1;
583
596
  border-color: rgb(249 115 22 / var(--tw-border-opacity));
584
597
  --tw-bg-opacity: 1;
585
- background-color: rgb(255 237 213 / var(--tw-bg-opacity));
598
+ background-color: rgb(194 65 12 / var(--tw-bg-opacity));
586
599
  }
587
600
 
588
- .mdx-message-warning > p {
601
+ .mdx-message-warning code {
589
602
  --tw-text-opacity: 1;
590
- color: rgb(124 45 18 / var(--tw-text-opacity));
603
+ color: rgb(194 65 12 / var(--tw-text-opacity));
591
604
  }
592
605
 
593
- .dark .mdx-message-warning > p {
606
+ .dark .mdx-message-warning code {
594
607
  --tw-text-opacity: 1;
595
- color: rgb(124 45 18 / var(--tw-text-opacity));
608
+ color: rgb(255 237 213 / var(--tw-text-opacity));
596
609
  }
597
610
 
598
611
  .mdx-message-error {
@@ -604,19 +617,19 @@ Ensure the default browser behavior of the `hidden` attribute.
604
617
 
605
618
  .dark .mdx-message-error {
606
619
  --tw-border-opacity: 1;
607
- border-color: rgb(239 68 68 / var(--tw-border-opacity));
620
+ border-color: rgb(244 63 94 / var(--tw-border-opacity));
608
621
  --tw-bg-opacity: 1;
609
- background-color: rgb(254 226 226 / var(--tw-bg-opacity));
622
+ background-color: rgb(190 18 60 / var(--tw-bg-opacity));
610
623
  }
611
624
 
612
- .mdx-message-error > p {
625
+ .mdx-message-error code {
613
626
  --tw-text-opacity: 1;
614
- color: rgb(127 29 29 / var(--tw-text-opacity));
627
+ color: rgb(185 28 28 / var(--tw-text-opacity));
615
628
  }
616
629
 
617
- .dark .mdx-message-error > p {
630
+ .dark .mdx-message-error code {
618
631
  --tw-text-opacity: 1;
619
- color: rgb(127 29 29 / var(--tw-text-opacity));
632
+ color: rgb(255 228 230 / var(--tw-text-opacity));
620
633
  }
621
634
 
622
635
  .fixed {
@@ -668,26 +681,16 @@ Ensure the default browser behavior of the `hidden` attribute.
668
681
  z-index: 30;
669
682
  }
670
683
 
671
- .z-20 {
672
- z-index: 20;
673
- }
674
-
675
684
  .z-10 {
676
685
  z-index: 10;
677
686
  }
678
687
 
679
- .m-8 {
680
- margin: 2rem;
681
- }
682
-
683
- .mx-auto {
684
- margin-left: auto;
685
- margin-right: auto;
688
+ .z-20 {
689
+ z-index: 20;
686
690
  }
687
691
 
688
- .mx-5 {
689
- margin-left: 1.25rem;
690
- margin-right: 1.25rem;
692
+ .m-8 {
693
+ margin: 2rem;
691
694
  }
692
695
 
693
696
  .my-6 {
@@ -720,14 +723,14 @@ Ensure the default browser behavior of the `hidden` attribute.
720
723
  margin-bottom: 1rem;
721
724
  }
722
725
 
723
- .ml-4 {
724
- margin-left: 1rem;
725
- }
726
-
727
726
  .ml-2 {
728
727
  margin-left: 0.5rem;
729
728
  }
730
729
 
730
+ .ml-4 {
731
+ margin-left: 1rem;
732
+ }
733
+
731
734
  .mb-12 {
732
735
  margin-bottom: 3rem;
733
736
  }
@@ -764,12 +767,16 @@ Ensure the default browser behavior of the `hidden` attribute.
764
767
  margin-right: 0.75rem;
765
768
  }
766
769
 
767
- .block {
768
- display: block;
770
+ .mt-0 {
771
+ margin-top: 0px;
772
+ }
773
+
774
+ .mb-3 {
775
+ margin-bottom: 0.75rem;
769
776
  }
770
777
 
771
- .inline {
772
- display: inline;
778
+ .block {
779
+ display: block;
773
780
  }
774
781
 
775
782
  .flex {
@@ -896,6 +903,20 @@ Ensure the default browser behavior of the `hidden` attribute.
896
903
  flex: 1 1 0%;
897
904
  }
898
905
 
906
+ .flex-grow {
907
+ flex-grow: 1;
908
+ }
909
+
910
+ .-translate-x-2\.5 {
911
+ --tw-translate-x: -0.625rem;
912
+ 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));
913
+ }
914
+
915
+ .-translate-x-2 {
916
+ --tw-translate-x: -0.5rem;
917
+ 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));
918
+ }
919
+
899
920
  .-translate-y-1\.5 {
900
921
  --tw-translate-y: -0.375rem;
901
922
  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));
@@ -1110,22 +1131,17 @@ Ensure the default browser behavior of the `hidden` attribute.
1110
1131
  object-fit: cover;
1111
1132
  }
1112
1133
 
1113
- .p-2 {
1114
- padding: 0.5rem;
1115
- }
1116
-
1117
- .p-8 {
1118
- padding: 2rem;
1134
+ .p-4 {
1135
+ padding: 1rem;
1119
1136
  }
1120
1137
 
1121
- .px-8 {
1122
- padding-left: 2rem;
1123
- padding-right: 2rem;
1138
+ .p-2 {
1139
+ padding: 0.5rem;
1124
1140
  }
1125
1141
 
1126
- .py-3 {
1127
- padding-top: 0.75rem;
1128
- padding-bottom: 0.75rem;
1142
+ .px-4 {
1143
+ padding-left: 1rem;
1144
+ padding-right: 1rem;
1129
1145
  }
1130
1146
 
1131
1147
  .px-2 {
@@ -1138,16 +1154,16 @@ Ensure the default browser behavior of the `hidden` attribute.
1138
1154
  padding-bottom: 0.25rem;
1139
1155
  }
1140
1156
 
1141
- .px-4 {
1142
- padding-left: 1rem;
1143
- padding-right: 1rem;
1144
- }
1145
-
1146
1157
  .py-2 {
1147
1158
  padding-top: 0.5rem;
1148
1159
  padding-bottom: 0.5rem;
1149
1160
  }
1150
1161
 
1162
+ .px-8 {
1163
+ padding-left: 2rem;
1164
+ padding-right: 2rem;
1165
+ }
1166
+
1151
1167
  .px-1\.5 {
1152
1168
  padding-left: 0.375rem;
1153
1169
  padding-right: 0.375rem;
@@ -1173,6 +1189,11 @@ Ensure the default browser behavior of the `hidden` attribute.
1173
1189
  padding-bottom: 9rem;
1174
1190
  }
1175
1191
 
1192
+ .py-5 {
1193
+ padding-top: 1.25rem;
1194
+ padding-bottom: 1.25rem;
1195
+ }
1196
+
1176
1197
  .pt-4 {
1177
1198
  padding-top: 1rem;
1178
1199
  }
@@ -1189,6 +1210,14 @@ Ensure the default browser behavior of the `hidden` attribute.
1189
1210
  padding-right: 0.5rem;
1190
1211
  }
1191
1212
 
1213
+ .pt-12 {
1214
+ padding-top: 3rem;
1215
+ }
1216
+
1217
+ .pb-36 {
1218
+ padding-bottom: 9rem;
1219
+ }
1220
+
1192
1221
  .pb-12 {
1193
1222
  padding-bottom: 3rem;
1194
1223
  }
@@ -1495,6 +1524,10 @@ article ul {
1495
1524
 
1496
1525
  article li {
1497
1526
  margin-top: 0.5rem;
1527
+ font-size: 1rem;
1528
+ line-height: 1.75rem;
1529
+ --tw-text-opacity: 1;
1530
+ color: rgb(55 65 81 / var(--tw-text-opacity));
1498
1531
  }
1499
1532
 
1500
1533
  .dark article li {
@@ -1543,13 +1576,16 @@ article code {
1543
1576
  border-width: 1px;
1544
1577
  border-color: rgb(0 0 0 / var(--tw-border-opacity));
1545
1578
  --tw-border-opacity: 0.05;
1546
- background-color: rgb(0 0 0 / var(--tw-bg-opacity));
1579
+ background-color: rgb(30 41 59 / var(--tw-bg-opacity));
1547
1580
  --tw-bg-opacity: 0.05;
1581
+ --tw-text-opacity: 1;
1582
+ color: rgb(7 89 133 / var(--tw-text-opacity));
1548
1583
  }
1549
1584
 
1550
1585
  .dark article code {
1586
+ --tw-bg-opacity: 1;
1551
1587
  --tw-text-opacity: 1;
1552
- color: rgb(255 255 255 / var(--tw-text-opacity));
1588
+ color: rgb(125 211 252 / var(--tw-text-opacity));
1553
1589
  }
1554
1590
 
1555
1591
  article code {
@@ -1585,21 +1621,26 @@ article inlinecode {
1585
1621
  article pre {
1586
1622
  /* content-visibility: auto; */
1587
1623
  contain: paint;
1588
- margin-top: 2rem;
1589
- margin-bottom: 2rem;
1624
+ margin-top: 1rem;
1625
+ margin-bottom: 1rem;
1590
1626
  overflow-x: auto;
1591
1627
  border-radius: 0.75rem;
1592
1628
  --tw-bg-opacity: 1;
1593
- background-color: rgb(241 245 249 / var(--tw-bg-opacity));
1629
+ background-color: rgb(24 24 27 / var(--tw-bg-opacity));
1594
1630
  padding: 1rem;
1595
1631
  font-weight: 500;
1596
1632
  -webkit-font-smoothing: auto;
1597
1633
  -moz-osx-font-smoothing: auto;
1634
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1635
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1636
+ 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;
1637
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1638
+ transition-duration: 150ms;
1598
1639
  }
1599
1640
 
1600
1641
  .dark article pre {
1601
1642
  --tw-bg-opacity: 1;
1602
- background-color: rgb(30 41 59 / var(--tw-bg-opacity));
1643
+ background-color: rgb(24 24 27 / var(--tw-bg-opacity));
1603
1644
  --tw-text-opacity: 1;
1604
1645
  color: rgb(255 255 255 / var(--tw-text-opacity));
1605
1646
  }
@@ -1614,12 +1655,27 @@ article pre code {
1614
1655
  padding: 0px;
1615
1656
  font-size: 0.875rem;
1616
1657
  line-height: 1.25rem;
1617
- color: currentColor;
1658
+ --tw-text-opacity: 1;
1659
+ color: rgb(212 212 212 / var(--tw-text-opacity));
1660
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1661
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1662
+ 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;
1663
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1664
+ transition-duration: 150ms;
1618
1665
  }
1619
1666
 
1620
1667
  .dark article pre code {
1668
+ background-color: transparent;
1621
1669
  --tw-text-opacity: 1;
1622
- color: rgb(255 255 255 / var(--tw-text-opacity));
1670
+ color: rgb(212 212 212 / var(--tw-text-opacity));
1671
+ }
1672
+
1673
+ article pre code .line.highlighted {
1674
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1675
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1676
+ 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;
1677
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1678
+ transition-duration: 150ms;
1623
1679
  }
1624
1680
 
1625
1681
  article pre code .line.highlighted::before {
@@ -1643,22 +1699,11 @@ article pre code .line.highlighted::before {
1643
1699
  color: rgb(255 255 255 / var(--tw-text-opacity));
1644
1700
  }
1645
1701
 
1646
- article a code {
1647
- color: currentColor;
1648
- -webkit-text-decoration-line: none;
1649
- text-decoration-line: none;
1650
- }
1651
-
1652
- .dark article a code {
1653
- --tw-text-opacity: 1;
1654
- color: rgb(255 255 255 / var(--tw-text-opacity));
1655
- }
1656
-
1657
1702
  article a {
1658
1703
  margin-left: 0.25rem;
1659
1704
  margin-right: 0.25rem;
1660
1705
  --tw-text-opacity: 1;
1661
- color: rgb(37 99 235 / var(--tw-text-opacity));
1706
+ color: rgb(8 145 178 / var(--tw-text-opacity));
1662
1707
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1663
1708
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1664
1709
  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;
@@ -1668,12 +1713,17 @@ article a {
1668
1713
 
1669
1714
  article a:hover {
1670
1715
  --tw-text-opacity: 1;
1671
- color: rgb(147 197 253 / var(--tw-text-opacity));
1716
+ color: rgb(22 78 99 / var(--tw-text-opacity));
1672
1717
  }
1673
1718
 
1674
1719
  .dark article a {
1675
1720
  --tw-text-opacity: 1;
1676
- color: rgb(96 165 250 / var(--tw-text-opacity));
1721
+ color: rgb(245 208 254 / var(--tw-text-opacity));
1722
+ }
1723
+
1724
+ .dark article a:hover {
1725
+ --tw-text-opacity: 1;
1726
+ color: rgb(232 121 249 / var(--tw-text-opacity));
1677
1727
  }
1678
1728
 
1679
1729
  article a {
@@ -1683,6 +1733,31 @@ article a {
1683
1733
  );
1684
1734
  }
1685
1735
 
1736
+ article a code {
1737
+ --tw-text-opacity: 1;
1738
+ color: rgb(8 145 178 / var(--tw-text-opacity));
1739
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1740
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1741
+ 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;
1742
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1743
+ transition-duration: 150ms;
1744
+ }
1745
+
1746
+ article a code:hover {
1747
+ --tw-text-opacity: 1;
1748
+ color: rgb(22 78 99 / var(--tw-text-opacity));
1749
+ }
1750
+
1751
+ .dark article a code {
1752
+ --tw-text-opacity: 1;
1753
+ color: rgb(245 208 254 / var(--tw-text-opacity));
1754
+ }
1755
+
1756
+ .dark article a code:hover {
1757
+ --tw-text-opacity: 1;
1758
+ color: rgb(232 121 249 / var(--tw-text-opacity));
1759
+ }
1760
+
1686
1761
  article table {
1687
1762
  margin-top: 2rem;
1688
1763
  margin-bottom: 2rem;
@@ -2047,12 +2122,6 @@ h6 {
2047
2122
  color: rgb(59 130 246 / var(--tw-text-opacity));
2048
2123
  }
2049
2124
 
2050
- @media (min-width: 640px) {
2051
- .sm\:max-w-xl {
2052
- max-width: 36rem;
2053
- }
2054
- }
2055
-
2056
2125
  @media (min-width: 768px) {
2057
2126
  .md\:h-6 {
2058
2127
  height: 1.5rem;
@@ -2116,21 +2185,33 @@ h6 {
2116
2185
  width: 75%;
2117
2186
  }
2118
2187
 
2188
+ .lg\:px-12 {
2189
+ padding-left: 3rem;
2190
+ padding-right: 3rem;
2191
+ }
2192
+
2119
2193
  .lg\:px-2 {
2120
2194
  padding-left: 0.5rem;
2121
2195
  padding-right: 0.5rem;
2122
2196
  }
2123
2197
 
2124
- .lg\:py-12 {
2125
- padding-top: 3rem;
2126
- padding-bottom: 3rem;
2127
- }
2128
-
2129
2198
  .lg\:px-32 {
2130
2199
  padding-left: 8rem;
2131
2200
  padding-right: 8rem;
2132
2201
  }
2133
2202
 
2203
+ .lg\:pb-12 {
2204
+ padding-bottom: 3rem;
2205
+ }
2206
+
2207
+ .lg\:pt-6 {
2208
+ padding-top: 1.5rem;
2209
+ }
2210
+
2211
+ .lg\:pt-8 {
2212
+ padding-top: 2rem;
2213
+ }
2214
+
2134
2215
  .lg\:text-base {
2135
2216
  font-size: 1rem;
2136
2217
  line-height: 1.5rem;