robindoc 3.7.5 → 3.7.6

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 +255 -255
  2. package/package.json +8 -8
package/lib/styles.css CHANGED
@@ -111,71 +111,6 @@
111
111
  width: 100%;
112
112
  left: 0;
113
113
  }
114
- }.r-footer {
115
- border-top: 1px solid var(--r-main-300);
116
- }
117
-
118
- .r-footer-container.r-footer-container {
119
- padding: 16px 12px;
120
- }
121
- @media screen and (width >= 1024px) {
122
- .r-footer-container.r-footer-container {
123
- padding-left: 24px;
124
- padding-right: 24px;
125
- }
126
- }
127
-
128
- .r-footer-row {
129
- display: flex;
130
- justify-content: space-between;
131
- align-items: center;
132
- gap: 32px;
133
- }
134
-
135
- .r-footer-additional {
136
- margin-top: 20px;
137
- justify-content: flex-end;
138
- }
139
-
140
- .r-copyright {
141
- color: var(--r-main-800);
142
- }
143
-
144
- .r-powered {
145
- font-size: 14px;
146
- display: block;
147
- color: var(--r-main-600);
148
- }
149
-
150
- .r-powered-link {
151
- font-weight: 600;
152
- text-decoration: none;
153
- color: var(--r-main-950);
154
- }
155
- .r-powered-link:hover {
156
- color: var(--r-primary-900);
157
- }.r-docs-container {
158
- min-height: calc(100dvh - var(--r-header-height));
159
- overflow-wrap: break-word;
160
- box-sizing: border-box;
161
- }
162
- @media screen and (width >= 768px) {
163
- .r-docs-container {
164
- display: grid;
165
- justify-content: center;
166
- column-gap: 32px;
167
- grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
168
- grid-template-columns: 1fr calc(100% - 248px);
169
- grid-template-rows: auto auto 1fr auto;
170
- }
171
- }
172
- @media screen and (width >= 1180px) {
173
- .r-docs-container {
174
- column-gap: 40px;
175
- grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
176
- grid-template-columns: 200px 640px 238px;
177
- grid-template-rows: auto 1fr auto;
178
- }
179
114
  }.r-root {
180
115
  --r-header-height: 60px;
181
116
  position: relative;
@@ -409,10 +344,71 @@
409
344
  --r-cl-60: #86181d;
410
345
  --r-cl-61: #144620;
411
346
  --r-cl-62: #c24e00;
412
- }.r-page-container {
347
+ }.r-footer {
348
+ border-top: 1px solid var(--r-main-300);
349
+ }
350
+
351
+ .r-footer-container.r-footer-container {
352
+ padding: 16px 12px;
353
+ }
354
+ @media screen and (width >= 1024px) {
355
+ .r-footer-container.r-footer-container {
356
+ padding-left: 24px;
357
+ padding-right: 24px;
358
+ }
359
+ }
360
+
361
+ .r-footer-row {
362
+ display: flex;
363
+ justify-content: space-between;
364
+ align-items: center;
365
+ gap: 32px;
366
+ }
367
+
368
+ .r-footer-additional {
369
+ margin-top: 20px;
370
+ justify-content: flex-end;
371
+ }
372
+
373
+ .r-copyright {
374
+ color: var(--r-main-800);
375
+ }
376
+
377
+ .r-powered {
378
+ font-size: 14px;
379
+ display: block;
380
+ color: var(--r-main-600);
381
+ }
382
+
383
+ .r-powered-link {
384
+ font-weight: 600;
385
+ text-decoration: none;
386
+ color: var(--r-main-950);
387
+ }
388
+ .r-powered-link:hover {
389
+ color: var(--r-primary-900);
390
+ }.r-docs-container {
413
391
  min-height: calc(100dvh - var(--r-header-height));
414
392
  overflow-wrap: break-word;
415
393
  box-sizing: border-box;
394
+ }
395
+ @media screen and (width >= 768px) {
396
+ .r-docs-container {
397
+ display: grid;
398
+ justify-content: center;
399
+ column-gap: 32px;
400
+ grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
401
+ grid-template-columns: 1fr calc(100% - 248px);
402
+ grid-template-rows: auto auto 1fr auto;
403
+ }
404
+ }
405
+ @media screen and (width >= 1180px) {
406
+ .r-docs-container {
407
+ column-gap: 40px;
408
+ grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
409
+ grid-template-columns: 200px 640px 238px;
410
+ grid-template-rows: auto 1fr auto;
411
+ }
416
412
  }.r-blog-container {
417
413
  min-height: calc(100dvh - var(--r-header-height));
418
414
  overflow-wrap: break-word;
@@ -427,13 +423,17 @@
427
423
  grid-template-columns: 760px 220px;
428
424
  grid-template-rows: auto 1fr auto;
429
425
  }
430
- }.r-keylink.keylink-to-navigation:focus {
431
- margin-top: -40px;
426
+ }.r-page-container {
427
+ min-height: calc(100dvh - var(--r-header-height));
428
+ overflow-wrap: break-word;
429
+ box-sizing: border-box;
432
430
  }.keylink-to-content {
433
431
  position: absolute !important;
434
432
  top: 8px;
435
433
  left: 12px;
436
434
  z-index: 1001;
435
+ }.r-keylink.keylink-to-navigation:focus {
436
+ margin-top: -40px;
437
437
  }.r-code-span {
438
438
  font-family: var(--monospace-font, monospace, monospace);
439
439
  background-color: var(--r-main-100);
@@ -615,6 +615,24 @@
615
615
 
616
616
  .r-dropdown-link._active {
617
617
  color: var(--r-primary-700);
618
+ }.r-header-social {
619
+ display: flex;
620
+ flex: 1;
621
+ justify-content: flex-end;
622
+ }
623
+ @media screen and (width >= 1024px) {
624
+ .r-header-social {
625
+ flex: none;
626
+ justify-content: unset;
627
+ }
628
+ }
629
+
630
+ .r-header-social-git {
631
+ color: var(--r-main-700);
632
+ transition: color 0.2s;
633
+ }
634
+ .r-header-social-git:hover, .r-header-social-git:focus {
635
+ color: var(--r-main-950);
618
636
  }.r-search-btn {
619
637
  position: relative;
620
638
  border-radius: 6px;
@@ -798,24 +816,6 @@
798
816
  font-size: 14px;
799
817
  color: var(--r-main-600);
800
818
  margin: 12px 0 0;
801
- }.r-header-social {
802
- display: flex;
803
- flex: 1;
804
- justify-content: flex-end;
805
- }
806
- @media screen and (width >= 1024px) {
807
- .r-header-social {
808
- flex: none;
809
- justify-content: unset;
810
- }
811
- }
812
-
813
- .r-header-social-git {
814
- color: var(--r-main-700);
815
- transition: color 0.2s;
816
- }
817
- .r-header-social-git:hover, .r-header-social-git:focus {
818
- color: var(--r-main-950);
819
819
  }.r-container {
820
820
  max-width: 1180px;
821
821
  padding-right: 12px;
@@ -823,72 +823,6 @@
823
823
  margin-right: auto;
824
824
  margin-left: auto;
825
825
  box-sizing: border-box;
826
- }.r-theme-switcher {
827
- position: relative;
828
- display: flex;
829
- gap: 4px;
830
- width: 109px;
831
- height: 37px;
832
- padding: 2px;
833
- background-color: var(--r-main-100);
834
- border: 1px solid var(--r-main-200);
835
- border-radius: 100px;
836
- box-sizing: border-box;
837
- }
838
- .r-theme-switcher::before {
839
- content: "";
840
- position: absolute;
841
- display: block;
842
- height: 32px;
843
- width: 32px;
844
- top: 2px;
845
- left: 2px;
846
- background-color: var(--r-main-50);
847
- border: 1px solid var(--r-main-200);
848
- border-radius: 100px;
849
- transition: left 0.2s;
850
- box-sizing: border-box;
851
- }
852
-
853
- .r-theme-switcher-btn {
854
- padding: 8px;
855
- background: none;
856
- border: 0;
857
- border-radius: 100px;
858
- cursor: pointer;
859
- color: var(--r-main-700);
860
- fill: transparent;
861
- z-index: 1;
862
- transition: color 0.2s 0.1s, fill 0.2s;
863
- }
864
- .r-theme-switcher-btn:hover {
865
- color: var(--r-main-950);
866
- fill: var(--r-main-600);
867
- }
868
-
869
- .r-theme-dark:not(.r-theme-system) .r-theme-switcher::before {
870
- left: 2px;
871
- }
872
-
873
- .r-theme-dark:not(.r-theme-system) .r-theme-switcher-btn__dark,
874
- .r-theme-system .r-theme-switcher-btn__system,
875
- .r-theme-light:not(.r-theme-system) .r-theme-switcher-btn__light {
876
- color: var(--r-main-950);
877
- fill: var(--r-main-950);
878
- pointer-events: none;
879
- }
880
-
881
- .r-theme-switcher::before,
882
- .r-theme-system .r-theme-switcher::before {
883
- left: 38px;
884
- }
885
-
886
- .r-theme-light:not(.r-theme-system) .r-theme-switcher::before {
887
- left: 74px;
888
- }
889
-
890
- .r-theme-switcher-svg {
891
- display: block;
892
826
  }.r-article {
893
827
  padding: 20px 0 40px;
894
828
  grid-area: content;
@@ -1232,6 +1166,72 @@
1232
1166
 
1233
1167
  .r-sidebar-drop[open] > .r-sidebar-drop-btn > .r-sidebar-drop-icon {
1234
1168
  transform: rotate(90deg);
1169
+ }.r-theme-switcher {
1170
+ position: relative;
1171
+ display: flex;
1172
+ gap: 4px;
1173
+ width: 109px;
1174
+ height: 37px;
1175
+ padding: 2px;
1176
+ background-color: var(--r-main-100);
1177
+ border: 1px solid var(--r-main-200);
1178
+ border-radius: 100px;
1179
+ box-sizing: border-box;
1180
+ }
1181
+ .r-theme-switcher::before {
1182
+ content: "";
1183
+ position: absolute;
1184
+ display: block;
1185
+ height: 32px;
1186
+ width: 32px;
1187
+ top: 2px;
1188
+ left: 2px;
1189
+ background-color: var(--r-main-50);
1190
+ border: 1px solid var(--r-main-200);
1191
+ border-radius: 100px;
1192
+ transition: left 0.2s;
1193
+ box-sizing: border-box;
1194
+ }
1195
+
1196
+ .r-theme-switcher-btn {
1197
+ padding: 8px;
1198
+ background: none;
1199
+ border: 0;
1200
+ border-radius: 100px;
1201
+ cursor: pointer;
1202
+ color: var(--r-main-700);
1203
+ fill: transparent;
1204
+ z-index: 1;
1205
+ transition: color 0.2s 0.1s, fill 0.2s;
1206
+ }
1207
+ .r-theme-switcher-btn:hover {
1208
+ color: var(--r-main-950);
1209
+ fill: var(--r-main-600);
1210
+ }
1211
+
1212
+ .r-theme-dark:not(.r-theme-system) .r-theme-switcher::before {
1213
+ left: 2px;
1214
+ }
1215
+
1216
+ .r-theme-dark:not(.r-theme-system) .r-theme-switcher-btn__dark,
1217
+ .r-theme-system .r-theme-switcher-btn__system,
1218
+ .r-theme-light:not(.r-theme-system) .r-theme-switcher-btn__light {
1219
+ color: var(--r-main-950);
1220
+ fill: var(--r-main-950);
1221
+ pointer-events: none;
1222
+ }
1223
+
1224
+ .r-theme-switcher::before,
1225
+ .r-theme-system .r-theme-switcher::before {
1226
+ left: 38px;
1227
+ }
1228
+
1229
+ .r-theme-light:not(.r-theme-system) .r-theme-switcher::before {
1230
+ left: 74px;
1231
+ }
1232
+
1233
+ .r-theme-switcher-svg {
1234
+ display: block;
1235
1235
  }.r-keylink {
1236
1236
  display: block;
1237
1237
  position: relative;
@@ -1252,6 +1252,8 @@
1252
1252
  user-select: none;
1253
1253
  pointer-events: none;
1254
1254
  box-sizing: border-box;
1255
+ }.r-git-logo {
1256
+ display: block;
1255
1257
  }.r-backdrop {
1256
1258
  position: fixed;
1257
1259
  top: 0;
@@ -1268,8 +1270,6 @@
1268
1270
  opacity: 1;
1269
1271
  visibility: visible;
1270
1272
  pointer-events: all;
1271
- }.r-git-logo {
1272
- display: block;
1273
1273
  }.r-external-mark {
1274
1274
  position: relative;
1275
1275
  vertical-align: text-top;
@@ -1656,14 +1656,6 @@
1656
1656
  }.r-last-modified {
1657
1657
  color: var(--r-main-700);
1658
1658
  margin-block-start: 16px;
1659
- }.r-kbd-key {
1660
- background-color: var(--r-main-200);
1661
- font-size: 12px;
1662
- border-radius: 4px;
1663
- padding: 5px 8px;
1664
- min-width: 24px;
1665
- text-align: center;
1666
- box-sizing: border-box;
1667
1659
  }.r-kbd-container {
1668
1660
  display: flex;
1669
1661
  gap: 4px;
@@ -1672,6 +1664,14 @@
1672
1664
  }
1673
1665
  .r-kbd-container:hover {
1674
1666
  color: var(--r-main-950);
1667
+ }.r-kbd-key {
1668
+ background-color: var(--r-main-200);
1669
+ font-size: 12px;
1670
+ border-radius: 4px;
1671
+ padding: 5px 8px;
1672
+ min-width: 24px;
1673
+ text-align: center;
1674
+ box-sizing: border-box;
1675
1675
  }.r-anchor-heading:hover .r-anchor-heading-link {
1676
1676
  visibility: visible;
1677
1677
  opacity: 1;
@@ -1752,6 +1752,46 @@
1752
1752
  scrollbar-color: var(--r-main-200) transparent;
1753
1753
  box-sizing: border-box;
1754
1754
  z-index: 1;
1755
+ }.r-h1 {
1756
+ font-size: 32px;
1757
+ line-height: 1.4;
1758
+ margin-block-start: 0.67em;
1759
+ margin-block-end: 0.67em;
1760
+ }
1761
+
1762
+ .r-h2 {
1763
+ font-size: 26px;
1764
+ line-height: 1.4;
1765
+ margin-block-start: 0.83em;
1766
+ margin-block-end: 0.83em;
1767
+ }
1768
+
1769
+ .r-h3 {
1770
+ font-size: 22px;
1771
+ line-height: 1.4;
1772
+ margin-block-start: 1em;
1773
+ margin-block-end: 1em;
1774
+ }
1775
+
1776
+ .r-h4 {
1777
+ font-size: 20px;
1778
+ line-height: 1.4;
1779
+ margin-block-start: 1.33em;
1780
+ margin-block-end: 1.33em;
1781
+ }
1782
+
1783
+ .r-h5 {
1784
+ font-size: 18px;
1785
+ line-height: 1.4;
1786
+ margin-block-start: 1.5em;
1787
+ margin-block-end: 1.5em;
1788
+ }
1789
+
1790
+ .r-h6 {
1791
+ font-size: 16px;
1792
+ line-height: 1.4;
1793
+ margin-block-start: 1.8em;
1794
+ margin-block-end: 1.8em;
1755
1795
  }.r-blockquote {
1756
1796
  padding: 4px 12px 4px 20px;
1757
1797
  border: 4px solid var(--r-main-100);
@@ -1809,53 +1849,13 @@
1809
1849
  }
1810
1850
  .r-blockquote-caution .r-blockquote-title {
1811
1851
  color: var(--r-caution);
1812
- }.r-h1 {
1813
- font-size: 32px;
1814
- line-height: 1.4;
1815
- margin-block-start: 0.67em;
1816
- margin-block-end: 0.67em;
1817
- }
1818
-
1819
- .r-h2 {
1820
- font-size: 26px;
1821
- line-height: 1.4;
1822
- margin-block-start: 0.83em;
1823
- margin-block-end: 0.83em;
1824
- }
1825
-
1826
- .r-h3 {
1827
- font-size: 22px;
1828
- line-height: 1.4;
1852
+ }.r-p {
1853
+ line-height: 1.8;
1829
1854
  margin-block-start: 1em;
1830
1855
  margin-block-end: 1em;
1831
- }
1832
-
1833
- .r-h4 {
1834
- font-size: 20px;
1835
- line-height: 1.4;
1836
- margin-block-start: 1.33em;
1837
- margin-block-end: 1.33em;
1838
- }
1839
-
1840
- .r-h5 {
1841
- font-size: 18px;
1842
- line-height: 1.4;
1843
- margin-block-start: 1.5em;
1844
- margin-block-end: 1.5em;
1845
- }
1846
-
1847
- .r-h6 {
1848
- font-size: 16px;
1849
- line-height: 1.4;
1850
- margin-block-start: 1.8em;
1851
- margin-block-end: 1.8em;
1852
1856
  }.r-img {
1853
1857
  max-width: 100%;
1854
1858
  box-sizing: border-box;
1855
- }.r-p {
1856
- line-height: 1.8;
1857
- margin-block-start: 1em;
1858
- margin-block-end: 1em;
1859
1859
  }.r-tabs {
1860
1860
  margin-block-start: 1.5em;
1861
1861
  margin-block-end: 1.75em;
@@ -1897,6 +1897,55 @@
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;
1900
1949
  }.r-copy-button {
1901
1950
  position: relative;
1902
1951
  padding: 6px;
@@ -1968,55 +2017,6 @@
1968
2017
  .r-copy-text:active,
1969
2018
  .r-copy-text._active {
1970
2019
  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;
@@ -2132,10 +2132,10 @@
2132
2132
 
2133
2133
  .r-task-label-text {
2134
2134
  vertical-align: middle;
2135
- }.r-task-ol {
2136
- list-style: none;
2137
2135
  }.r-task-ul {
2138
2136
  list-style: none;
2137
+ }.r-task-ol {
2138
+ list-style: none;
2139
2139
  }.r-tooltip {
2140
2140
  font-family: var(--monospace-font, monospace, monospace);
2141
2141
  display: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "3.7.5",
3
+ "version": "3.7.6",
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": {
@@ -38,7 +38,7 @@
38
38
  "github-slugger": "2.0.0",
39
39
  "gray-matter": "4.0.3",
40
40
  "hast-util-to-jsx-runtime": "2.3.6",
41
- "html-react-parser": "5.2.11",
41
+ "html-react-parser": "5.2.14",
42
42
  "marked": "17.0.1",
43
43
  "shiki": "3.21.0",
44
44
  "tinyglobby": "0.2.15"
@@ -48,16 +48,16 @@
48
48
  "@rollup/plugin-terser": "0.4.4",
49
49
  "@rollup/plugin-typescript": "12.3.0",
50
50
  "@types/github-slugger": "2.0.0",
51
- "@types/node": "25.0.8",
52
- "@types/react": "19.2.8",
51
+ "@types/node": "25.1.0",
52
+ "@types/react": "19.2.10",
53
53
  "@types/react-dom": "19.2.3",
54
- "react": "19.2.3",
55
- "react-dom": "19.2.3",
56
- "rollup": "4.55.1",
54
+ "react": "19.2.4",
55
+ "react-dom": "19.2.4",
56
+ "rollup": "4.57.0",
57
57
  "rollup-plugin-copy": "3.5.0",
58
58
  "rollup-plugin-sass": "1.15.3",
59
59
  "rollup-preserve-directives": "1.1.3",
60
- "sass": "1.97.2",
60
+ "sass": "1.97.3",
61
61
  "ts-patch": "3.3.0",
62
62
  "typescript": "5.9.3",
63
63
  "typescript-transform-paths": "3.5.6"