robindoc 0.0.0-experimental-dfcffbb → 0.0.0-experimental-dd4fde6

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 +263 -263
  2. package/package.json +1 -1
package/lib/styles.css CHANGED
@@ -840,6 +840,103 @@
840
840
  .r-header-input:checked ~ .r-header-burger .r-burger-line._bottom {
841
841
  transform: translateY(0) rotate(-45deg);
842
842
  margin-top: 0;
843
+ }.r-dropdown {
844
+ position: relative;
845
+ color: var(--r-main-600);
846
+ transition: color 0.2s 0.1s;
847
+ }
848
+ .r-dropdown:hover, .r-dropdown:focus-within {
849
+ color: var(--r-main-950);
850
+ }
851
+ .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
852
+ visibility: visible;
853
+ pointer-events: all;
854
+ transform: translateY(20px);
855
+ opacity: 1;
856
+ }
857
+ .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
858
+ transform: rotate(180deg);
859
+ }
860
+
861
+ .r-dropdown-summary {
862
+ display: flex;
863
+ justify-content: space-between;
864
+ align-items: center;
865
+ width: 100%;
866
+ position: relative;
867
+ color: inherit;
868
+ cursor: pointer;
869
+ padding: 10px 4px;
870
+ font-size: 16px;
871
+ border: 0;
872
+ background: none;
873
+ z-index: 1;
874
+ box-sizing: border-box;
875
+ }
876
+
877
+ .r-dropdown-chevron {
878
+ display: block;
879
+ margin-left: 6px;
880
+ transition: transform 0.3s 0.1s;
881
+ box-sizing: border-box;
882
+ }
883
+
884
+ .r-dropdown-drop {
885
+ list-style: none;
886
+ position: absolute;
887
+ top: 16px;
888
+ left: -12px;
889
+ visibility: hidden;
890
+ pointer-events: none;
891
+ opacity: 0;
892
+ transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
893
+ background-color: var(--r-main-50);
894
+ border: 1px solid var(--r-main-100);
895
+ border-radius: 8px;
896
+ margin: 0;
897
+ padding: 2px 6px;
898
+ min-width: 120px;
899
+ max-width: 180px;
900
+ box-sizing: border-box;
901
+ }
902
+
903
+ .r-dropdown-link {
904
+ display: block;
905
+ width: 100%;
906
+ text-decoration: none;
907
+ color: var(--r-main-700);
908
+ padding: 4px 8px;
909
+ margin-top: 4px;
910
+ margin-bottom: 4px;
911
+ border-radius: 4px;
912
+ transition: background-color 0.2s;
913
+ box-sizing: border-box;
914
+ }
915
+ .r-dropdown-link:hover {
916
+ color: var(--r-main-900);
917
+ background-color: var(--r-main-100);
918
+ }
919
+
920
+ .r-dropdown-link._active {
921
+ color: var(--r-primary-700);
922
+ }.r-header-social {
923
+ display: flex;
924
+ flex: 1;
925
+ justify-content: flex-end;
926
+ }
927
+ @media screen and (width >= 1024px) {
928
+ .r-header-social {
929
+ flex: none;
930
+ justify-content: unset;
931
+ }
932
+ }
933
+
934
+ .r-header-social-git {
935
+ color: var(--r-main-700);
936
+ transition: color 0.2s;
937
+ }
938
+ .r-header-social-git:hover, .r-header-social-git:focus {
939
+ color: var(--r-main-950);
843
940
  }.r-search-btn {
844
941
  position: relative;
845
942
  border-radius: 6px;
@@ -1023,103 +1120,6 @@
1023
1120
  font-size: 14px;
1024
1121
  color: var(--r-main-600);
1025
1122
  margin: 12px 0 0;
1026
- }.r-dropdown {
1027
- position: relative;
1028
- color: var(--r-main-600);
1029
- transition: color 0.2s 0.1s;
1030
- }
1031
- .r-dropdown:hover, .r-dropdown:focus-within {
1032
- color: var(--r-main-950);
1033
- }
1034
- .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
1035
- visibility: visible;
1036
- pointer-events: all;
1037
- transform: translateY(20px);
1038
- opacity: 1;
1039
- }
1040
- .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
1041
- transform: rotate(180deg);
1042
- }
1043
-
1044
- .r-dropdown-summary {
1045
- display: flex;
1046
- justify-content: space-between;
1047
- align-items: center;
1048
- width: 100%;
1049
- position: relative;
1050
- color: inherit;
1051
- cursor: pointer;
1052
- padding: 10px 4px;
1053
- font-size: 16px;
1054
- border: 0;
1055
- background: none;
1056
- z-index: 1;
1057
- box-sizing: border-box;
1058
- }
1059
-
1060
- .r-dropdown-chevron {
1061
- display: block;
1062
- margin-left: 6px;
1063
- transition: transform 0.3s 0.1s;
1064
- box-sizing: border-box;
1065
- }
1066
-
1067
- .r-dropdown-drop {
1068
- list-style: none;
1069
- position: absolute;
1070
- top: 16px;
1071
- left: -12px;
1072
- visibility: hidden;
1073
- pointer-events: none;
1074
- opacity: 0;
1075
- transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
1076
- background-color: var(--r-main-50);
1077
- border: 1px solid var(--r-main-100);
1078
- border-radius: 8px;
1079
- margin: 0;
1080
- padding: 2px 6px;
1081
- min-width: 120px;
1082
- max-width: 180px;
1083
- box-sizing: border-box;
1084
- }
1085
-
1086
- .r-dropdown-link {
1087
- display: block;
1088
- width: 100%;
1089
- text-decoration: none;
1090
- color: var(--r-main-700);
1091
- padding: 4px 8px;
1092
- margin-top: 4px;
1093
- margin-bottom: 4px;
1094
- border-radius: 4px;
1095
- transition: background-color 0.2s;
1096
- box-sizing: border-box;
1097
- }
1098
- .r-dropdown-link:hover {
1099
- color: var(--r-main-900);
1100
- background-color: var(--r-main-100);
1101
- }
1102
-
1103
- .r-dropdown-link._active {
1104
- color: var(--r-primary-700);
1105
- }.r-header-social {
1106
- display: flex;
1107
- flex: 1;
1108
- justify-content: flex-end;
1109
- }
1110
- @media screen and (width >= 1024px) {
1111
- .r-header-social {
1112
- flex: none;
1113
- justify-content: unset;
1114
- }
1115
- }
1116
-
1117
- .r-header-social-git {
1118
- color: var(--r-main-700);
1119
- transition: color 0.2s;
1120
- }
1121
- .r-header-social-git:hover, .r-header-social-git:focus {
1122
- color: var(--r-main-950);
1123
1123
  }.r-container {
1124
1124
  max-width: 1180px;
1125
1125
  padding-right: 12px;
@@ -1209,82 +1209,10 @@
1209
1209
  padding: 0 !important;
1210
1210
  overflow: hidden !important;
1211
1211
  clip: rect(1px, 1px, 1px, 1px) !important;
1212
- border: 0 !important;
1213
- user-select: none;
1214
- pointer-events: none;
1215
- box-sizing: border-box;
1216
- }.r-pagination {
1217
- grid-area: pagination;
1218
- display: grid;
1219
- grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
1220
- gap: 16px;
1221
- margin-bottom: 40px;
1222
- }
1223
-
1224
- .r-pagination-item {
1225
- position: relative;
1226
- padding-top: 8px;
1227
- padding-bottom: 8px;
1228
- text-decoration: none;
1229
- font-size: 14px;
1230
- color: var(--r-main-800);
1231
- }
1232
- .r-pagination-item:hover {
1233
- color: var(--r-main-950);
1234
- }
1235
-
1236
- .r-pagination-item._prev {
1237
- padding-left: 28px;
1238
- }
1239
-
1240
- .r-pagination-item._next {
1241
- text-align: right;
1242
- padding-right: 28px;
1243
- }
1244
-
1245
- .r-pagination-text {
1246
- display: block;
1247
- line-height: 2;
1248
- }
1249
-
1250
- .r-pagination-title {
1251
- font-weight: 600;
1252
- font-size: 16px;
1253
- }
1254
-
1255
- .r-pagination-icon {
1256
- position: absolute;
1257
- top: 50%;
1258
- transform: translateY(-50%);
1259
- transition: transform 0.2s;
1260
- }
1261
-
1262
- .r-pagination-icon._prev {
1263
- left: 0;
1264
- }
1265
- .r-pagination-item:hover .r-pagination-icon._prev {
1266
- transform: translate(-4px, -50%);
1267
- }
1268
- @media screen and (width >= 1180px) {
1269
- .r-pagination-item:hover .r-pagination-icon._prev {
1270
- transform: translate(-8px, -50%);
1271
- }
1272
- }
1273
-
1274
- .r-pagination-icon._next {
1275
- right: 0;
1276
- }
1277
- .r-pagination-item:hover .r-pagination-icon._next {
1278
- transform: translate(4px, -50%);
1279
- }
1280
- @media screen and (width >= 1180px) {
1281
- .r-pagination-item:hover .r-pagination-icon._next {
1282
- transform: translate(8px, -50%);
1283
- }
1284
- }
1285
-
1286
- .r-pagination-svg {
1287
- display: block;
1212
+ border: 0 !important;
1213
+ user-select: none;
1214
+ pointer-events: none;
1215
+ box-sizing: border-box;
1288
1216
  }.r-breadcrumbs {
1289
1217
  grid-area: breadcrumbs;
1290
1218
  list-style: none;
@@ -1565,9 +1493,83 @@
1565
1493
  }
1566
1494
  .r-contents-git:hover {
1567
1495
  color: var(--r-main-900);
1496
+ }.r-pagination {
1497
+ grid-area: pagination;
1498
+ display: grid;
1499
+ grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
1500
+ gap: 16px;
1501
+ margin-bottom: 40px;
1502
+ }
1503
+
1504
+ .r-pagination-item {
1505
+ position: relative;
1506
+ padding-top: 8px;
1507
+ padding-bottom: 8px;
1508
+ text-decoration: none;
1509
+ font-size: 14px;
1510
+ color: var(--r-main-800);
1511
+ }
1512
+ .r-pagination-item:hover {
1513
+ color: var(--r-main-950);
1514
+ }
1515
+
1516
+ .r-pagination-item._prev {
1517
+ padding-left: 28px;
1518
+ }
1519
+
1520
+ .r-pagination-item._next {
1521
+ text-align: right;
1522
+ padding-right: 28px;
1523
+ }
1524
+
1525
+ .r-pagination-text {
1526
+ display: block;
1527
+ line-height: 2;
1528
+ }
1529
+
1530
+ .r-pagination-title {
1531
+ font-weight: 600;
1532
+ font-size: 16px;
1533
+ }
1534
+
1535
+ .r-pagination-icon {
1536
+ position: absolute;
1537
+ top: 50%;
1538
+ transform: translateY(-50%);
1539
+ transition: transform 0.2s;
1540
+ }
1541
+
1542
+ .r-pagination-icon._prev {
1543
+ left: 0;
1544
+ }
1545
+ .r-pagination-item:hover .r-pagination-icon._prev {
1546
+ transform: translate(-4px, -50%);
1547
+ }
1548
+ @media screen and (width >= 1180px) {
1549
+ .r-pagination-item:hover .r-pagination-icon._prev {
1550
+ transform: translate(-8px, -50%);
1551
+ }
1552
+ }
1553
+
1554
+ .r-pagination-icon._next {
1555
+ right: 0;
1556
+ }
1557
+ .r-pagination-item:hover .r-pagination-icon._next {
1558
+ transform: translate(4px, -50%);
1559
+ }
1560
+ @media screen and (width >= 1180px) {
1561
+ .r-pagination-item:hover .r-pagination-icon._next {
1562
+ transform: translate(8px, -50%);
1563
+ }
1564
+ }
1565
+
1566
+ .r-pagination-svg {
1567
+ display: block;
1568
1568
  }.r-last-modified {
1569
1569
  color: var(--r-main-700);
1570
1570
  margin-block-start: 16px;
1571
+ }.r-git-logo {
1572
+ display: block;
1571
1573
  }.r-backdrop {
1572
1574
  position: fixed;
1573
1575
  top: 0;
@@ -1615,8 +1617,6 @@
1615
1617
  background-color: currentColor;
1616
1618
  border-radius: 0 0 0 4px;
1617
1619
  box-sizing: border-box;
1618
- }.r-git-logo {
1619
- display: block;
1620
1620
  }.r-anchor-heading:hover .r-anchor-heading-link {
1621
1621
  visibility: visible;
1622
1622
  opacity: 1;
@@ -1636,14 +1636,6 @@
1636
1636
  }
1637
1637
  .r-anchor-heading-link::after {
1638
1638
  content: "#";
1639
- }.r-block {
1640
- width: 100%;
1641
- overflow: auto;
1642
- margin-block-start: 12px;
1643
- margin-block-end: 12px;
1644
- scrollbar-width: thin;
1645
- scrollbar-color: var(--r-main-200) transparent;
1646
- box-sizing: border-box;
1647
1639
  }.r-code-section {
1648
1640
  position: relative;
1649
1641
  margin-block-start: 1.5em;
@@ -1695,6 +1687,14 @@
1695
1687
 
1696
1688
  .r-code-section-filename {
1697
1689
  font-family: var(--monospace-font, monospace, monospace);
1690
+ }.r-block {
1691
+ width: 100%;
1692
+ overflow: auto;
1693
+ margin-block-start: 12px;
1694
+ margin-block-end: 12px;
1695
+ scrollbar-width: thin;
1696
+ scrollbar-color: var(--r-main-200) transparent;
1697
+ box-sizing: border-box;
1698
1698
  }.r-blockquote {
1699
1699
  background-color: var(--r-main-100);
1700
1700
  padding: 8px 12px 8px 20px;
@@ -1751,6 +1751,19 @@
1751
1751
  }
1752
1752
  .r-blockquote-caution .r-blockquote-title {
1753
1753
  color: var(--r-caution);
1754
+ }.r-code-block {
1755
+ font-family: var(--monospace-font, monospace, monospace);
1756
+ font-size: 16px;
1757
+ line-height: 1.33;
1758
+ border-radius: 6px;
1759
+ padding: 16px 20px;
1760
+ margin: 0;
1761
+ color: var(--r-primary-800);
1762
+ background-color: var(--r-main-50);
1763
+ overflow-x: auto;
1764
+ scrollbar-width: thin;
1765
+ scrollbar-color: var(--r-main-200) transparent;
1766
+ box-sizing: border-box;
1754
1767
  }.r-code-span {
1755
1768
  font-family: var(--monospace-font, monospace, monospace);
1756
1769
  background-color: var(--r-main-100);
@@ -1765,19 +1778,6 @@
1765
1778
 
1766
1779
  .r-code-span + .r-content-link-external {
1767
1780
  margin-left: -12px;
1768
- }.r-code-block {
1769
- font-family: var(--monospace-font, monospace, monospace);
1770
- font-size: 16px;
1771
- line-height: 1.33;
1772
- border-radius: 6px;
1773
- padding: 16px 20px;
1774
- margin: 0;
1775
- color: var(--r-primary-800);
1776
- background-color: var(--r-main-50);
1777
- overflow-x: auto;
1778
- scrollbar-width: thin;
1779
- scrollbar-color: var(--r-main-200) transparent;
1780
- box-sizing: border-box;
1781
1781
  }.r-h1 {
1782
1782
  font-size: 32px;
1783
1783
  line-height: 1.4;
@@ -1882,55 +1882,34 @@
1882
1882
  min-width: 24px;
1883
1883
  text-align: center;
1884
1884
  box-sizing: border-box;
1885
- }.r-content-link {
1886
- text-decoration: none;
1887
- color: inherit;
1888
- text-decoration: underline;
1889
- text-decoration-color: var(--r-primary-500);
1890
- text-underline-offset: 3px;
1891
- transition: text-decoration-offset 0.2s ease;
1892
- }
1893
- .r-content-link:hover {
1894
- color: var(--r-main-700);
1895
- text-decoration-color: var(--r-primary-400);
1896
- text-underline-offset: 2px;
1897
- text-decoration-thickness: 2px;
1898
- }
1899
- .r-content-link:active {
1900
- color: var(--r-primary-600);
1901
- }
1902
-
1903
- .r-content-link-external {
1885
+ }.r-copy-text {
1904
1886
  position: relative;
1905
- vertical-align: text-top;
1906
- display: inline-block;
1907
- margin-left: -4px;
1908
- margin-right: 2px;
1909
- width: 6px;
1910
- height: 6px;
1911
- box-sizing: border-box;
1887
+ cursor: pointer;
1888
+ background: none;
1889
+ border: 0;
1890
+ padding: 0;
1891
+ font: inherit;
1892
+ padding: 6px 0;
1912
1893
  }
1913
- .r-content-link-external::after {
1894
+ .r-copy-text:hover {
1895
+ color: var(--r-main-950);
1896
+ }
1897
+ .r-copy-text::before {
1914
1898
  content: "";
1915
1899
  position: absolute;
1916
- top: 0;
1917
- right: 0;
1900
+ bottom: 0;
1901
+ left: 0;
1918
1902
  width: 100%;
1919
- height: 100%;
1920
- border-top: 1px solid currentColor;
1921
- border-right: 1px solid currentColor;
1903
+ height: 1px;
1904
+ background: linear-gradient(to right, currentColor 30%, transparent 0%, transparent 80%, currentColor 80%) repeat-x 0px/8px;
1905
+ transition: background 0.2s;
1922
1906
  box-sizing: border-box;
1907
+ opacity: 0.6;
1923
1908
  }
1924
- .r-content-link-external::before {
1925
- content: "";
1926
- position: absolute;
1927
- top: 0;
1928
- right: 0;
1929
- width: 3px;
1930
- height: 3px;
1931
- background-color: currentColor;
1932
- border-radius: 0 0 0 4px;
1933
- box-sizing: border-box;
1909
+
1910
+ .r-copy-text:active,
1911
+ .r-copy-text._active {
1912
+ color: var(--r-success);
1934
1913
  }.r-copy-button {
1935
1914
  position: relative;
1936
1915
  padding: 6px;
@@ -1974,34 +1953,55 @@
1974
1953
 
1975
1954
  .r-copy-button-svg {
1976
1955
  display: block;
1977
- }.r-copy-text {
1978
- position: relative;
1979
- cursor: pointer;
1980
- background: none;
1981
- border: 0;
1982
- padding: 0;
1983
- font: inherit;
1984
- padding: 6px 0;
1956
+ }.r-content-link {
1957
+ text-decoration: none;
1958
+ color: inherit;
1959
+ text-decoration: underline;
1960
+ text-decoration-color: var(--r-primary-500);
1961
+ text-underline-offset: 3px;
1962
+ transition: text-decoration-offset 0.2s ease;
1985
1963
  }
1986
- .r-copy-text:hover {
1987
- color: var(--r-main-950);
1964
+ .r-content-link:hover {
1965
+ color: var(--r-main-700);
1966
+ text-decoration-color: var(--r-primary-400);
1967
+ text-underline-offset: 2px;
1968
+ text-decoration-thickness: 2px;
1988
1969
  }
1989
- .r-copy-text::before {
1970
+ .r-content-link:active {
1971
+ color: var(--r-primary-600);
1972
+ }
1973
+
1974
+ .r-content-link-external {
1975
+ position: relative;
1976
+ vertical-align: text-top;
1977
+ display: inline-block;
1978
+ margin-left: -4px;
1979
+ margin-right: 2px;
1980
+ width: 6px;
1981
+ height: 6px;
1982
+ box-sizing: border-box;
1983
+ }
1984
+ .r-content-link-external::after {
1990
1985
  content: "";
1991
1986
  position: absolute;
1992
- bottom: 0;
1993
- left: 0;
1987
+ top: 0;
1988
+ right: 0;
1994
1989
  width: 100%;
1995
- height: 1px;
1996
- background: linear-gradient(to right, currentColor 30%, transparent 0%, transparent 80%, currentColor 80%) repeat-x 0px/8px;
1997
- transition: background 0.2s;
1990
+ height: 100%;
1991
+ border-top: 1px solid currentColor;
1992
+ border-right: 1px solid currentColor;
1998
1993
  box-sizing: border-box;
1999
- opacity: 0.6;
2000
1994
  }
2001
-
2002
- .r-copy-text:active,
2003
- .r-copy-text._active {
2004
- color: var(--r-success);
1995
+ .r-content-link-external::before {
1996
+ content: "";
1997
+ position: absolute;
1998
+ top: 0;
1999
+ right: 0;
2000
+ width: 3px;
2001
+ height: 3px;
2002
+ background-color: currentColor;
2003
+ border-radius: 0 0 0 4px;
2004
+ box-sizing: border-box;
2005
2005
  }.r-li {
2006
2006
  line-height: 1.8;
2007
2007
  margin-block-start: 6px;
@@ -2026,8 +2026,6 @@
2026
2026
  text-align: left;
2027
2027
  border-collapse: collapse;
2028
2028
  box-sizing: border-box;
2029
- }.r-thead {
2030
- background-color: var(--r-main-100);
2031
2029
  }.r-td {
2032
2030
  padding: 6px 12px;
2033
2031
  border-bottom: 1px solid var(--r-main-400);
@@ -2037,6 +2035,10 @@
2037
2035
  border-top: 1px solid var(--r-main-500);
2038
2036
  border-bottom: 1px solid var(--r-main-500);
2039
2037
  border-collapse: collapse;
2038
+ }.r-thead {
2039
+ background-color: var(--r-main-100);
2040
+ }.r-task-ol {
2041
+ list-style: none;
2040
2042
  }.r-task-li.r-task-li {
2041
2043
  margin-block-start: 2px;
2042
2044
  margin-block-end: 2px;
@@ -2066,8 +2068,6 @@
2066
2068
 
2067
2069
  .r-task-label-text {
2068
2070
  vertical-align: middle;
2069
- }.r-task-ol {
2070
- list-style: none;
2071
2071
  }.r-task-ul {
2072
2072
  list-style: none;
2073
2073
  }.r-tooltip {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "0.0.0-experimental-dfcffbb",
3
+ "version": "0.0.0-experimental-dd4fde6",
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": {