@diplodoc/client 3.4.2 → 3.4.4

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.
@@ -229,8 +229,20 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
229
229
  .yfm ol > li > ol > li > ol > li > ol > li > ol > li > ol > li::marker {
230
230
  content: counter(hier-list-item) "." counter(sub-hier-list-item) "." counter(sub-sub-hier-list-item) "." counter(sub-sub-sub-hier-list-item) "." counter(sub-sub-sub-sub-hier-list-item) "." counter(sub-sub-sub-sub-sub-hier-list-item) ". ";
231
231
  }
232
- .yfm.yfm_no-list-reset ol > li::marker,
233
- .yfm ol.yfm_no-list-reset > li::marker {
232
+ .yfm.yfm_no-list-reset ol,
233
+ .yfm ol.yfm_no-list-reset,
234
+ .yfm .yfm_no-list-reset ol {
235
+ counter-reset: list-item;
236
+ }
237
+ .yfm.yfm_no-list-reset ol li,
238
+ .yfm ol.yfm_no-list-reset li,
239
+ .yfm .yfm_no-list-reset ol li {
240
+ counter-increment: none;
241
+ counter-increment: initial;
242
+ }
243
+ .yfm.yfm_no-list-reset ol li::marker,
244
+ .yfm ol.yfm_no-list-reset li::marker,
245
+ .yfm .yfm_no-list-reset ol li::marker {
234
246
  content: normal;
235
247
  content: initial;
236
248
  }
@@ -590,16 +602,17 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
590
602
  .yfm ol {
591
603
  padding-right: 2.2em;
592
604
  }
593
- .yfm ul ul,
594
- .yfm ul ol,
595
- .yfm ol ol,
596
- .yfm ol ul {
605
+ .yfm ul ul:last-child,
606
+ .yfm ul ol:last-child,
607
+ .yfm ol ol:last-child,
608
+ .yfm ol ul:last-child {
597
609
  margin-top: 0;
598
610
  margin-bottom: 0;
599
611
  }
600
612
  .yfm li {
601
613
  word-wrap: break-word;
602
614
  }
615
+ .yfm li:first-child,
603
616
  .yfm li + li {
604
617
  margin-block: 0.33em 0;
605
618
  margin-block: var(--yfm-list-item-margin-block, 0.33em 0);
@@ -609,17 +622,16 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
609
622
  margin-block: 0 15px;
610
623
  margin-block: var(--yfm-list-text-margin-block, 0 15px);
611
624
  }
612
- .yfm li > p:only-child,
613
- .yfm li > blockquote:only-child {
625
+ .yfm li > p:only-of-type,
626
+ .yfm li > blockquote:only-of-type,
627
+ .yfm li > p:first-child:has(+ ul),
628
+ .yfm li > p:first-child:has(+ ol) {
614
629
  margin-block: 0;
615
630
  margin-block: var(--yfm-list-text-only-margin-block, 0);
616
631
  }
617
- @supports selector(:has(br)) {
618
- .yfm li > p:only-child:has(br),
619
- .yfm li > blockquote:only-child:has(br) {
620
- margin-block: 0 15px;
621
- margin-block: var(--yfm-list-text-margin-block, 0 15px);
622
- }
632
+ .yfm li > p:last-child {
633
+ margin-block: 0;
634
+ margin-block: var(--yfm-list-text-last-margin-block, 0);
623
635
  }
624
636
  .yfm code {
625
637
  padding: 0.1em 0.4em 0.15em;
@@ -635,6 +647,9 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
635
647
  -o-tab-size: var(--yfm-tab-size-code, inherit);
636
648
  tab-size: var(--yfm-tab-size-code, inherit);
637
649
  }
650
+ .yfm a code {
651
+ color: inherit;
652
+ }
638
653
  .yfm pre {
639
654
  word-wrap: normal;
640
655
  }
@@ -659,6 +674,15 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
659
674
  color: var(--yfm-color-text);
660
675
  white-space: pre;
661
676
  }
677
+ .yfm pre > code .yfm-line-number {
678
+ display: inline-block;
679
+ padding-left: 1em;
680
+ color: #666;
681
+ color: var(--yfm-color-line-numbers, #666);
682
+ -webkit-user-select: none;
683
+ -moz-user-select: none;
684
+ user-select: none;
685
+ }
662
686
  .yfm sup,
663
687
  .yfm sub {
664
688
  line-height: 0;
@@ -678,12 +702,39 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
678
702
  -moz-user-select: none;
679
703
  user-select: none;
680
704
  }
705
+ .yfm h1 .yfm-clipboard-anchor,
706
+ .yfm h2 .yfm-clipboard-anchor,
707
+ .yfm h3 .yfm-clipboard-anchor,
708
+ .yfm h4 .yfm-clipboard-anchor,
709
+ .yfm h5 .yfm-clipboard-anchor,
710
+ .yfm h6 .yfm-clipboard-anchor {
711
+ background: none;
712
+ color: var(--yfm-color-link);
713
+ border: none;
714
+ padding: 0;
715
+ font: inherit;
716
+ cursor: pointer;
717
+ }
718
+ .yfm h1 .yfm-clipboard-anchor:hover,
719
+ .yfm h2 .yfm-clipboard-anchor:hover,
720
+ .yfm h3 .yfm-clipboard-anchor:hover,
721
+ .yfm h4 .yfm-clipboard-anchor:hover,
722
+ .yfm h5 .yfm-clipboard-anchor:hover,
723
+ .yfm h6 .yfm-clipboard-anchor:hover {
724
+ color: var(--yfm-color-link-hover);
725
+ }
681
726
  .yfm h1 .yfm-anchor,
727
+ .yfm h1 .yfm-clipboard-anchor,
682
728
  .yfm h2 .yfm-anchor,
729
+ .yfm h2 .yfm-clipboard-anchor,
683
730
  .yfm h3 .yfm-anchor,
731
+ .yfm h3 .yfm-clipboard-anchor,
684
732
  .yfm h4 .yfm-anchor,
733
+ .yfm h4 .yfm-clipboard-anchor,
685
734
  .yfm h5 .yfm-anchor,
686
- .yfm h6 .yfm-anchor {
735
+ .yfm h5 .yfm-clipboard-anchor,
736
+ .yfm h6 .yfm-anchor,
737
+ .yfm h6 .yfm-clipboard-anchor {
687
738
  display: inline-block;
688
739
  width: 24px;
689
740
  padding-left: 4px;
@@ -693,41 +744,66 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
693
744
  font-size: 18px;
694
745
  }
695
746
  .yfm h1 .yfm-anchor:focus::before,
747
+ .yfm h1 .yfm-clipboard-anchor:focus::before,
696
748
  .yfm h2 .yfm-anchor:focus::before,
749
+ .yfm h2 .yfm-clipboard-anchor:focus::before,
697
750
  .yfm h3 .yfm-anchor:focus::before,
751
+ .yfm h3 .yfm-clipboard-anchor:focus::before,
698
752
  .yfm h4 .yfm-anchor:focus::before,
753
+ .yfm h4 .yfm-clipboard-anchor:focus::before,
699
754
  .yfm h5 .yfm-anchor:focus::before,
700
- .yfm h6 .yfm-anchor:focus::before {
755
+ .yfm h5 .yfm-clipboard-anchor:focus::before,
756
+ .yfm h6 .yfm-anchor:focus::before,
757
+ .yfm h6 .yfm-clipboard-anchor:focus::before {
701
758
  opacity: 1;
702
759
  }
703
760
  .yfm h1 .yfm-anchor::before,
761
+ .yfm h1 .yfm-clipboard-anchor::before,
704
762
  .yfm h2 .yfm-anchor::before,
763
+ .yfm h2 .yfm-clipboard-anchor::before,
705
764
  .yfm h3 .yfm-anchor::before,
765
+ .yfm h3 .yfm-clipboard-anchor::before,
706
766
  .yfm h4 .yfm-anchor::before,
767
+ .yfm h4 .yfm-clipboard-anchor::before,
707
768
  .yfm h5 .yfm-anchor::before,
708
- .yfm h6 .yfm-anchor::before {
769
+ .yfm h5 .yfm-clipboard-anchor::before,
770
+ .yfm h6 .yfm-anchor::before,
771
+ .yfm h6 .yfm-clipboard-anchor::before {
709
772
  content: "#";
710
773
  opacity: 0;
711
774
  }
712
775
  .yfm h1:hover .yfm-anchor::before,
776
+ .yfm h1:hover .yfm-clipboard-anchor::before,
713
777
  .yfm h2:hover .yfm-anchor::before,
778
+ .yfm h2:hover .yfm-clipboard-anchor::before,
714
779
  .yfm h3:hover .yfm-anchor::before,
780
+ .yfm h3:hover .yfm-clipboard-anchor::before,
715
781
  .yfm h4:hover .yfm-anchor::before,
782
+ .yfm h4:hover .yfm-clipboard-anchor::before,
716
783
  .yfm h5:hover .yfm-anchor::before,
717
- .yfm h6:hover .yfm-anchor::before {
784
+ .yfm h5:hover .yfm-clipboard-anchor::before,
785
+ .yfm h6:hover .yfm-anchor::before,
786
+ .yfm h6:hover .yfm-clipboard-anchor::before {
718
787
  opacity: 1;
719
788
  }
720
789
  .yfm table h1 .yfm-anchor,
790
+ .yfm table h1 .yfm-clipboard-anchor,
721
791
  .yfm table h2 .yfm-anchor,
792
+ .yfm table h2 .yfm-clipboard-anchor,
722
793
  .yfm table h3 .yfm-anchor,
794
+ .yfm table h3 .yfm-clipboard-anchor,
723
795
  .yfm table h4 .yfm-anchor,
796
+ .yfm table h4 .yfm-clipboard-anchor,
724
797
  .yfm table h5 .yfm-anchor,
725
- .yfm table h6 .yfm-anchor {
798
+ .yfm table h5 .yfm-clipboard-anchor,
799
+ .yfm table h6 .yfm-anchor,
800
+ .yfm table h6 .yfm-clipboard-anchor {
726
801
  width: 1em;
727
802
  margin-right: -1em;
728
803
  padding-left: 0;
729
804
  }
730
- .yfm .yfm-tabs .yfm-anchor::before {
805
+ .yfm .yfm-tabs .yfm-anchor::before,
806
+ .yfm .yfm-tabs .yfm-clipboard-anchor::before {
731
807
  position: absolute;
732
808
  padding-left: 2px;
733
809
  }
@@ -547,20 +547,6 @@ e);return new ml(b)};exports.render=function(a,b,c){if(!ol(b))throw Error(p(200)
547
547
  exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!ol(c))throw Error(p(200));if(null==a||void 0===a._reactInternals)throw Error(p(38));return rl(a,b,c,!1,d)};exports.version="18.3.1-next-f1338f8080-20240426";
548
548
 
549
549
 
550
- /***/ }),
551
-
552
- /***/ 5338:
553
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
554
-
555
-
556
-
557
- var m = __webpack_require__(40961);
558
- if (true) {
559
- exports.H = m.createRoot;
560
- exports.c = m.hydrateRoot;
561
- } else { var i; }
562
-
563
-
564
550
  /***/ }),
565
551
 
566
552
  /***/ 40961:
@@ -633,7 +619,7 @@ var __webpack_unused_export__;
633
619
  * LICENSE file in the root directory of this source tree.
634
620
  */
635
621
  var f=__webpack_require__(96540),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
636
- function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}__webpack_unused_export__=l;exports.jsx=q;__webpack_unused_export__=q;
622
+ function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}__webpack_unused_export__=l;__webpack_unused_export__=q;__webpack_unused_export__=q;
637
623
 
638
624
 
639
625
  /***/ }),
@@ -689,7 +675,7 @@ if (true) {
689
675
 
690
676
 
691
677
  if (true) {
692
- module.exports = __webpack_require__(21020);
678
+ /* unused reexport */ __webpack_require__(21020);
693
679
  } else {}
694
680
 
695
681