robindoc 3.7.2 → 3.7.3

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.
Files changed (2) hide show
  1. package/lib/styles.css +233 -233
  2. package/package.json +1 -1
package/lib/styles.css CHANGED
@@ -396,6 +396,15 @@
396
396
  grid-template-columns: 200px 640px 238px;
397
397
  grid-template-rows: auto 1fr auto;
398
398
  }
399
+ }.r-page-container {
400
+ min-height: calc(100dvh - var(--r-header-height));
401
+ overflow-wrap: break-word;
402
+ box-sizing: border-box;
403
+ }.keylink-to-content {
404
+ position: absolute !important;
405
+ top: 8px;
406
+ left: 12px;
407
+ z-index: 1001;
399
408
  }.r-blog-container {
400
409
  min-height: calc(100dvh - var(--r-header-height));
401
410
  overflow-wrap: break-word;
@@ -410,15 +419,6 @@
410
419
  grid-template-columns: 760px 220px;
411
420
  grid-template-rows: auto 1fr auto;
412
421
  }
413
- }.r-page-container {
414
- min-height: calc(100dvh - var(--r-header-height));
415
- overflow-wrap: break-word;
416
- box-sizing: border-box;
417
- }.keylink-to-content {
418
- position: absolute !important;
419
- top: 8px;
420
- left: 12px;
421
- z-index: 1001;
422
422
  }.r-keylink.keylink-to-navigation:focus {
423
423
  margin-top: -40px;
424
424
  }.r-article {
@@ -852,6 +852,85 @@
852
852
  .r-header-input:checked ~ .r-header-burger .r-burger-line._bottom {
853
853
  transform: translateY(0) rotate(-45deg);
854
854
  margin-top: 0;
855
+ }.r-dropdown {
856
+ position: relative;
857
+ color: var(--r-main-600);
858
+ transition: color 0.2s 0.1s;
859
+ }
860
+ .r-dropdown:hover, .r-dropdown:focus-within {
861
+ color: var(--r-main-950);
862
+ }
863
+ .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
864
+ visibility: visible;
865
+ pointer-events: all;
866
+ transform: translateY(20px);
867
+ opacity: 1;
868
+ }
869
+ .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
870
+ transform: rotate(180deg);
871
+ }
872
+
873
+ .r-dropdown-summary {
874
+ display: flex;
875
+ justify-content: space-between;
876
+ align-items: center;
877
+ width: 100%;
878
+ position: relative;
879
+ color: inherit;
880
+ cursor: pointer;
881
+ padding: 10px 4px;
882
+ font-size: 16px;
883
+ border: 0;
884
+ background: none;
885
+ z-index: 1;
886
+ box-sizing: border-box;
887
+ }
888
+
889
+ .r-dropdown-chevron {
890
+ display: block;
891
+ margin-left: 6px;
892
+ transition: transform 0.3s 0.1s;
893
+ box-sizing: border-box;
894
+ }
895
+
896
+ .r-dropdown-drop {
897
+ list-style: none;
898
+ position: absolute;
899
+ top: 16px;
900
+ left: -12px;
901
+ visibility: hidden;
902
+ pointer-events: none;
903
+ opacity: 0;
904
+ transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
905
+ background-color: var(--r-main-50);
906
+ border: 1px solid var(--r-main-100);
907
+ border-radius: 8px;
908
+ margin: 0;
909
+ padding: 2px 6px;
910
+ min-width: 120px;
911
+ max-width: 180px;
912
+ box-sizing: border-box;
913
+ }
914
+
915
+ .r-dropdown-link {
916
+ display: block;
917
+ width: 100%;
918
+ text-decoration: none;
919
+ color: var(--r-main-700);
920
+ padding: 4px 8px;
921
+ margin-top: 4px;
922
+ margin-bottom: 4px;
923
+ border-radius: 4px;
924
+ transition: background-color 0.2s;
925
+ box-sizing: border-box;
926
+ }
927
+ .r-dropdown-link:hover {
928
+ color: var(--r-main-900);
929
+ background-color: var(--r-main-100);
930
+ }
931
+
932
+ .r-dropdown-link._active {
933
+ color: var(--r-primary-700);
855
934
  }.r-search-btn {
856
935
  position: relative;
857
936
  border-radius: 6px;
@@ -1035,85 +1114,6 @@
1035
1114
  font-size: 14px;
1036
1115
  color: var(--r-main-600);
1037
1116
  margin: 12px 0 0;
1038
- }.r-dropdown {
1039
- position: relative;
1040
- color: var(--r-main-600);
1041
- transition: color 0.2s 0.1s;
1042
- }
1043
- .r-dropdown:hover, .r-dropdown:focus-within {
1044
- color: var(--r-main-950);
1045
- }
1046
- .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
1047
- visibility: visible;
1048
- pointer-events: all;
1049
- transform: translateY(20px);
1050
- opacity: 1;
1051
- }
1052
- .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
1053
- transform: rotate(180deg);
1054
- }
1055
-
1056
- .r-dropdown-summary {
1057
- display: flex;
1058
- justify-content: space-between;
1059
- align-items: center;
1060
- width: 100%;
1061
- position: relative;
1062
- color: inherit;
1063
- cursor: pointer;
1064
- padding: 10px 4px;
1065
- font-size: 16px;
1066
- border: 0;
1067
- background: none;
1068
- z-index: 1;
1069
- box-sizing: border-box;
1070
- }
1071
-
1072
- .r-dropdown-chevron {
1073
- display: block;
1074
- margin-left: 6px;
1075
- transition: transform 0.3s 0.1s;
1076
- box-sizing: border-box;
1077
- }
1078
-
1079
- .r-dropdown-drop {
1080
- list-style: none;
1081
- position: absolute;
1082
- top: 16px;
1083
- left: -12px;
1084
- visibility: hidden;
1085
- pointer-events: none;
1086
- opacity: 0;
1087
- transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
1088
- background-color: var(--r-main-50);
1089
- border: 1px solid var(--r-main-100);
1090
- border-radius: 8px;
1091
- margin: 0;
1092
- padding: 2px 6px;
1093
- min-width: 120px;
1094
- max-width: 180px;
1095
- box-sizing: border-box;
1096
- }
1097
-
1098
- .r-dropdown-link {
1099
- display: block;
1100
- width: 100%;
1101
- text-decoration: none;
1102
- color: var(--r-main-700);
1103
- padding: 4px 8px;
1104
- margin-top: 4px;
1105
- margin-bottom: 4px;
1106
- border-radius: 4px;
1107
- transition: background-color 0.2s;
1108
- box-sizing: border-box;
1109
- }
1110
- .r-dropdown-link:hover {
1111
- color: var(--r-main-900);
1112
- background-color: var(--r-main-100);
1113
- }
1114
-
1115
- .r-dropdown-link._active {
1116
- color: var(--r-primary-700);
1117
1117
  }.r-header-social {
1118
1118
  display: flex;
1119
1119
  flex: 1;
@@ -1225,6 +1225,78 @@
1225
1225
  user-select: none;
1226
1226
  pointer-events: none;
1227
1227
  box-sizing: border-box;
1228
+ }.r-pagination {
1229
+ grid-area: pagination;
1230
+ display: grid;
1231
+ grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
1232
+ gap: 16px;
1233
+ margin-bottom: 40px;
1234
+ }
1235
+
1236
+ .r-pagination-item {
1237
+ position: relative;
1238
+ padding-top: 8px;
1239
+ padding-bottom: 8px;
1240
+ text-decoration: none;
1241
+ font-size: 14px;
1242
+ color: var(--r-main-800);
1243
+ }
1244
+ .r-pagination-item:hover {
1245
+ color: var(--r-main-950);
1246
+ }
1247
+
1248
+ .r-pagination-item._prev {
1249
+ padding-left: 28px;
1250
+ }
1251
+
1252
+ .r-pagination-item._next {
1253
+ text-align: right;
1254
+ padding-right: 28px;
1255
+ }
1256
+
1257
+ .r-pagination-text {
1258
+ display: block;
1259
+ line-height: 2;
1260
+ }
1261
+
1262
+ .r-pagination-title {
1263
+ font-weight: 600;
1264
+ font-size: 16px;
1265
+ }
1266
+
1267
+ .r-pagination-icon {
1268
+ position: absolute;
1269
+ top: 50%;
1270
+ transform: translateY(-50%);
1271
+ transition: transform 0.2s;
1272
+ }
1273
+
1274
+ .r-pagination-icon._prev {
1275
+ left: 0;
1276
+ }
1277
+ .r-pagination-item:hover .r-pagination-icon._prev {
1278
+ transform: translate(-4px, -50%);
1279
+ }
1280
+ @media screen and (width >= 1180px) {
1281
+ .r-pagination-item:hover .r-pagination-icon._prev {
1282
+ transform: translate(-8px, -50%);
1283
+ }
1284
+ }
1285
+
1286
+ .r-pagination-icon._next {
1287
+ right: 0;
1288
+ }
1289
+ .r-pagination-item:hover .r-pagination-icon._next {
1290
+ transform: translate(4px, -50%);
1291
+ }
1292
+ @media screen and (width >= 1180px) {
1293
+ .r-pagination-item:hover .r-pagination-icon._next {
1294
+ transform: translate(8px, -50%);
1295
+ }
1296
+ }
1297
+
1298
+ .r-pagination-svg {
1299
+ display: block;
1228
1300
  }.r-contents {
1229
1301
  grid-area: contents;
1230
1302
  }
@@ -1464,6 +1536,9 @@
1464
1536
  }
1465
1537
  .r-contents-git:hover {
1466
1538
  color: var(--r-main-900);
1539
+ }.r-last-modified {
1540
+ color: var(--r-main-700);
1541
+ margin-block-start: 16px;
1467
1542
  }.r-breadcrumbs {
1468
1543
  grid-area: breadcrumbs;
1469
1544
  list-style: none;
@@ -1505,81 +1580,6 @@
1505
1580
  .r-breadcrumb-title {
1506
1581
  color: var(--r-main-950);
1507
1582
  font-weight: 600;
1508
- }.r-last-modified {
1509
- color: var(--r-main-700);
1510
- margin-block-start: 16px;
1511
- }.r-pagination {
1512
- grid-area: pagination;
1513
- display: grid;
1514
- grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
1515
- gap: 16px;
1516
- margin-bottom: 40px;
1517
- }
1518
-
1519
- .r-pagination-item {
1520
- position: relative;
1521
- padding-top: 8px;
1522
- padding-bottom: 8px;
1523
- text-decoration: none;
1524
- font-size: 14px;
1525
- color: var(--r-main-800);
1526
- }
1527
- .r-pagination-item:hover {
1528
- color: var(--r-main-950);
1529
- }
1530
-
1531
- .r-pagination-item._prev {
1532
- padding-left: 28px;
1533
- }
1534
-
1535
- .r-pagination-item._next {
1536
- text-align: right;
1537
- padding-right: 28px;
1538
- }
1539
-
1540
- .r-pagination-text {
1541
- display: block;
1542
- line-height: 2;
1543
- }
1544
-
1545
- .r-pagination-title {
1546
- font-weight: 600;
1547
- font-size: 16px;
1548
- }
1549
-
1550
- .r-pagination-icon {
1551
- position: absolute;
1552
- top: 50%;
1553
- transform: translateY(-50%);
1554
- transition: transform 0.2s;
1555
- }
1556
-
1557
- .r-pagination-icon._prev {
1558
- left: 0;
1559
- }
1560
- .r-pagination-item:hover .r-pagination-icon._prev {
1561
- transform: translate(-4px, -50%);
1562
- }
1563
- @media screen and (width >= 1180px) {
1564
- .r-pagination-item:hover .r-pagination-icon._prev {
1565
- transform: translate(-8px, -50%);
1566
- }
1567
- }
1568
-
1569
- .r-pagination-icon._next {
1570
- right: 0;
1571
- }
1572
- .r-pagination-item:hover .r-pagination-icon._next {
1573
- transform: translate(4px, -50%);
1574
- }
1575
- @media screen and (width >= 1180px) {
1576
- .r-pagination-item:hover .r-pagination-icon._next {
1577
- transform: translate(8px, -50%);
1578
- }
1579
- }
1580
-
1581
- .r-pagination-svg {
1582
- display: block;
1583
1583
  }.r-backdrop {
1584
1584
  position: fixed;
1585
1585
  top: 0;
@@ -1629,14 +1629,6 @@
1629
1629
  background-color: currentColor;
1630
1630
  border-radius: 0 0 0 4px;
1631
1631
  box-sizing: border-box;
1632
- }.r-kbd-container {
1633
- display: flex;
1634
- gap: 4px;
1635
- font-size: 14px;
1636
- cursor: pointer;
1637
- }
1638
- .r-kbd-container:hover {
1639
- color: var(--r-main-950);
1640
1632
  }.r-kbd-key {
1641
1633
  background-color: var(--r-main-200);
1642
1634
  font-size: 12px;
@@ -1645,6 +1637,14 @@
1645
1637
  min-width: 24px;
1646
1638
  text-align: center;
1647
1639
  box-sizing: border-box;
1640
+ }.r-kbd-container {
1641
+ display: flex;
1642
+ gap: 4px;
1643
+ font-size: 14px;
1644
+ cursor: pointer;
1645
+ }
1646
+ .r-kbd-container:hover {
1647
+ color: var(--r-main-950);
1648
1648
  }.r-anchor-heading:hover .r-anchor-heading-link {
1649
1649
  visibility: visible;
1650
1650
  opacity: 1;
@@ -1782,19 +1782,6 @@
1782
1782
  }
1783
1783
  .r-blockquote-caution .r-blockquote-title {
1784
1784
  color: var(--r-caution);
1785
- }.r-code-block {
1786
- font-family: var(--monospace-font, monospace, monospace);
1787
- font-size: 16px;
1788
- line-height: 1.33;
1789
- border-radius: 6px;
1790
- padding: 16px 20px;
1791
- margin: 0;
1792
- color: var(--r-primary-800);
1793
- background-color: var(--r-main-50);
1794
- overflow-x: auto;
1795
- scrollbar-width: thin;
1796
- scrollbar-color: var(--r-main-200) transparent;
1797
- box-sizing: border-box;
1798
1785
  }.r-code-span {
1799
1786
  font-family: var(--monospace-font, monospace, monospace);
1800
1787
  background-color: var(--r-main-100);
@@ -1809,6 +1796,19 @@
1809
1796
 
1810
1797
  .r-code-span + .r-content-link-external {
1811
1798
  margin-left: -12px;
1799
+ }.r-code-block {
1800
+ font-family: var(--monospace-font, monospace, monospace);
1801
+ font-size: 16px;
1802
+ line-height: 1.33;
1803
+ border-radius: 6px;
1804
+ padding: 16px 20px;
1805
+ margin: 0;
1806
+ color: var(--r-primary-800);
1807
+ background-color: var(--r-main-50);
1808
+ overflow-x: auto;
1809
+ scrollbar-width: thin;
1810
+ scrollbar-color: var(--r-main-200) transparent;
1811
+ box-sizing: border-box;
1812
1812
  }.r-img {
1813
1813
  max-width: 100%;
1814
1814
  box-sizing: border-box;
@@ -1897,55 +1897,6 @@
1897
1897
 
1898
1898
  .r-tab-header-code {
1899
1899
  font-family: var(--monospace-font, monospace, monospace);
1900
- }.r-content-link {
1901
- text-decoration: none;
1902
- color: inherit;
1903
- text-decoration: underline;
1904
- text-decoration-color: var(--r-primary-500);
1905
- text-underline-offset: 3px;
1906
- transition: text-decoration-offset 0.2s ease;
1907
- }
1908
- .r-content-link:hover {
1909
- color: var(--r-main-700);
1910
- text-decoration-color: var(--r-primary-400);
1911
- text-underline-offset: 2px;
1912
- text-decoration-thickness: 2px;
1913
- }
1914
- .r-content-link:active {
1915
- color: var(--r-primary-600);
1916
- }
1917
-
1918
- .r-content-link-external {
1919
- position: relative;
1920
- vertical-align: text-top;
1921
- display: inline-block;
1922
- margin-left: -4px;
1923
- margin-right: 2px;
1924
- width: 6px;
1925
- height: 6px;
1926
- box-sizing: border-box;
1927
- }
1928
- .r-content-link-external::after {
1929
- content: "";
1930
- position: absolute;
1931
- top: 0;
1932
- right: 0;
1933
- width: 100%;
1934
- height: 100%;
1935
- border-top: 1px solid currentColor;
1936
- border-right: 1px solid currentColor;
1937
- box-sizing: border-box;
1938
- }
1939
- .r-content-link-external::before {
1940
- content: "";
1941
- position: absolute;
1942
- top: 0;
1943
- right: 0;
1944
- width: 3px;
1945
- height: 3px;
1946
- background-color: currentColor;
1947
- border-radius: 0 0 0 4px;
1948
- box-sizing: border-box;
1949
1900
  }.r-copy-button {
1950
1901
  position: relative;
1951
1902
  padding: 6px;
@@ -2017,6 +1968,55 @@
2017
1968
  .r-copy-text:active,
2018
1969
  .r-copy-text._active {
2019
1970
  color: var(--r-success);
1971
+ }.r-content-link {
1972
+ text-decoration: none;
1973
+ color: inherit;
1974
+ text-decoration: underline;
1975
+ text-decoration-color: var(--r-primary-500);
1976
+ text-underline-offset: 3px;
1977
+ transition: text-decoration-offset 0.2s ease;
1978
+ }
1979
+ .r-content-link:hover {
1980
+ color: var(--r-main-700);
1981
+ text-decoration-color: var(--r-primary-400);
1982
+ text-underline-offset: 2px;
1983
+ text-decoration-thickness: 2px;
1984
+ }
1985
+ .r-content-link:active {
1986
+ color: var(--r-primary-600);
1987
+ }
1988
+
1989
+ .r-content-link-external {
1990
+ position: relative;
1991
+ vertical-align: text-top;
1992
+ display: inline-block;
1993
+ margin-left: -4px;
1994
+ margin-right: 2px;
1995
+ width: 6px;
1996
+ height: 6px;
1997
+ box-sizing: border-box;
1998
+ }
1999
+ .r-content-link-external::after {
2000
+ content: "";
2001
+ position: absolute;
2002
+ top: 0;
2003
+ right: 0;
2004
+ width: 100%;
2005
+ height: 100%;
2006
+ border-top: 1px solid currentColor;
2007
+ border-right: 1px solid currentColor;
2008
+ box-sizing: border-box;
2009
+ }
2010
+ .r-content-link-external::before {
2011
+ content: "";
2012
+ position: absolute;
2013
+ top: 0;
2014
+ right: 0;
2015
+ width: 3px;
2016
+ height: 3px;
2017
+ background-color: currentColor;
2018
+ border-radius: 0 0 0 4px;
2019
+ box-sizing: border-box;
2020
2020
  }.r-li {
2021
2021
  line-height: 1.8;
2022
2022
  margin-block-start: 6px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "Robindoc is a framework for automatically creating documentation websites based on markdown files, built on React.js Server Components",
5
5
  "main": "./lib/index.js",
6
6
  "scripts": {