robindoc 0.0.0-experimental-dc26dca → 0.0.0-experimental-7348177
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/components/contexts/contents/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/components/contexts/contents/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAoD9D,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import e,{useState as t,useRef as
|
|
2
|
+
import e,{useState as t,useRef as r,useCallback as n,useEffect as o}from"react";import{HeadingsContext as c,CurrentHeadingContext as i}from"./context.js";const l=({children:l})=>{const[u,d]=t({from:0,to:0}),m=r([]),s=n(()=>{const e=m.current.findLastIndex(e=>e.getBoundingClientRect().top<40),t=e+1;let r=m.current.length-1;for(let e=t;e<m.current.length;e++)if(m.current[e].getBoundingClientRect().top>window.innerHeight){r=e-1;break}d(t=>t.from!==e||t.to!==r?{from:e,to:r}:t)},[]);return o(()=>{let e=!1;const t=document.querySelector(".r-root");if(!t)return;const r=t===document.documentElement?window:t,n=()=>{!e&&window.innerWidth>1080&&(e=!0,setTimeout(()=>{s(),e=!1},100))};return s(),r.addEventListener("scroll",n),()=>{r.removeEventListener("scroll",n)}},[]),e.createElement(c.Provider,{value:m.current},e.createElement(i.Provider,{value:u},l))};export{l as ContentsProvider};
|
|
3
3
|
//# sourceMappingURL=provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sources":["../../../../src/components/contexts/contents/provider.tsx"],"sourcesContent":["\"use client\";\n\nimport React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { CurrentHeadingContext, HeadingsContext } from \"./context\";\n\nexport const ContentsProvider: React.FC<React.PropsWithChildren> = ({ children }) => {\n const [activeIndex, setActiveIndex] = useState<{ from: number; to: number }>({ from: 0, to: 0 });\n const headings = useRef<HTMLHeadingElement[]>([]);\n\n const updateTargetSection = useCallback(() => {\n const fromIndex = headings.current.findLastIndex((el) => el.getBoundingClientRect().top < 40);\n const toIndex = headings.current.
|
|
1
|
+
{"version":3,"file":"provider.js","sources":["../../../../src/components/contexts/contents/provider.tsx"],"sourcesContent":["\"use client\";\n\nimport React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { CurrentHeadingContext, HeadingsContext } from \"./context\";\n\nexport const ContentsProvider: React.FC<React.PropsWithChildren> = ({ children }) => {\n const [activeIndex, setActiveIndex] = useState<{ from: number; to: number }>({ from: 0, to: 0 });\n const headings = useRef<HTMLHeadingElement[]>([]);\n\n const updateTargetSection = useCallback(() => {\n const fromIndex = headings.current.findLastIndex((el) => el.getBoundingClientRect().top < 40);\n const searchToStartIndex = fromIndex + 1;\n let toIndex = headings.current.length - 1;\n\n for (let i = searchToStartIndex; i < headings.current.length; i++) {\n if (headings.current[i].getBoundingClientRect().top > window.innerHeight) {\n toIndex = i - 1;\n break;\n }\n }\n\n setActiveIndex((prev) =>\n prev.from !== fromIndex || prev.to !== toIndex ? { from: fromIndex, to: toIndex } : prev,\n );\n }, []);\n\n useEffect(() => {\n let scheduledAnimationFrame = false;\n const rootElement = document.querySelector<HTMLElement>(\".r-root\");\n\n if (!rootElement) return;\n\n const scrollElement = rootElement === document.documentElement ? window : rootElement;\n\n const scrollHandler = () => {\n if (!scheduledAnimationFrame && window.innerWidth > 1080) {\n scheduledAnimationFrame = true;\n setTimeout(() => {\n updateTargetSection();\n scheduledAnimationFrame = false;\n }, 100);\n }\n };\n\n updateTargetSection();\n scrollElement.addEventListener(\"scroll\", scrollHandler);\n\n return () => {\n scrollElement.removeEventListener(\"scroll\", scrollHandler);\n };\n }, []);\n\n return (\n <HeadingsContext.Provider value={headings.current}>\n <CurrentHeadingContext.Provider value={activeIndex}>{children}</CurrentHeadingContext.Provider>\n </HeadingsContext.Provider>\n );\n};\n"],"names":["ContentsProvider","children","activeIndex","setActiveIndex","useState","from","to","headings","useRef","updateTargetSection","useCallback","fromIndex","current","findLastIndex","el","getBoundingClientRect","top","searchToStartIndex","toIndex","length","i","window","innerHeight","prev","useEffect","scheduledAnimationFrame","rootElement","document","querySelector","scrollElement","documentElement","scrollHandler","innerWidth","setTimeout","addEventListener","removeEventListener","React","createElement","HeadingsContext","Provider","value","CurrentHeadingContext"],"mappings":";gKAKaA,CAAAA,CAAsD,CAAA,CAAGC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAClE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAOC,EAAaC,CAAAA,CAAAA,CAAkBC,CAAAA,CAAuC,CAAEC,CAAAA,CAAAA,CAAAA,CAAAA,CAAM,CAAA,CAAGC,CAAAA,CAAAA,CAAI,CAAA,CAAA,CAAA,CACtFC,CAAAA,CAAWC,EAA6B,CAAA,CAAA,CAAA,CAExCC,CAAAA,CAAsBC,CAAAA,CAAY,CAAA,CAAA,CAAA,CAAA,CACpC,MAAMC,CAAAA,CAAYJ,CAAAA,CAASK,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAQC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAeC,GAAOA,CAAAA,CAAGC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAA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AA,CAAAA"}
|
package/lib/styles.css
CHANGED
|
@@ -1,4 +1,93 @@
|
|
|
1
|
-
.r-
|
|
1
|
+
.r-header {
|
|
2
|
+
position: sticky;
|
|
3
|
+
background-color: var(--r-main-50);
|
|
4
|
+
top: 0;
|
|
5
|
+
border-bottom: 1px solid var(--r-main-300);
|
|
6
|
+
height: 60px;
|
|
7
|
+
z-index: 1000;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.r-header-body {
|
|
12
|
+
height: 100%;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 24px;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.r-header-logo {
|
|
21
|
+
display: block;
|
|
22
|
+
margin-right: 24px;
|
|
23
|
+
color: var(--r-main-700);
|
|
24
|
+
transition: color 0.2s;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
}
|
|
27
|
+
.r-header-logo:hover, .r-header-logo:focus {
|
|
28
|
+
color: var(--r-main-950);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.r-header-nav {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
gap: 12px 16px;
|
|
35
|
+
}
|
|
36
|
+
@media screen and (width >= 1024px) {
|
|
37
|
+
.r-header-nav {
|
|
38
|
+
flex-direction: row;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.r-header-link {
|
|
43
|
+
color: var(--r-main-600);
|
|
44
|
+
text-decoration: none;
|
|
45
|
+
padding: 4px 0;
|
|
46
|
+
transition: color 0.2s;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
}
|
|
49
|
+
.r-header-link:hover, .r-header-link:focus-visible {
|
|
50
|
+
color: var(--r-main-950);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.r-header-link._target {
|
|
54
|
+
color: var(--r-primary-800);
|
|
55
|
+
}
|
|
56
|
+
.r-header-link._target:hover, .r-header-link._target:focus-visible {
|
|
57
|
+
color: var(--r-primary-700);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.r-header-actions {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column-reverse;
|
|
63
|
+
gap: 16px;
|
|
64
|
+
align-items: stretch;
|
|
65
|
+
}
|
|
66
|
+
@media screen and (width >= 1024px) {
|
|
67
|
+
.r-header-actions {
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: 28px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.r-header-sections {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
gap: 12px;
|
|
78
|
+
}
|
|
79
|
+
@media screen and (width < 768px) {
|
|
80
|
+
.r-header-sections .r-dropdown {
|
|
81
|
+
flex: 1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
@media screen and (width < 768px) {
|
|
85
|
+
.r-header-sections .r-dropdown-drop {
|
|
86
|
+
max-width: none;
|
|
87
|
+
width: 100%;
|
|
88
|
+
left: 0;
|
|
89
|
+
}
|
|
90
|
+
}.r-footer {
|
|
2
91
|
border-top: 1px solid var(--r-main-300);
|
|
3
92
|
padding-top: 16px;
|
|
4
93
|
padding-bottom: 16px;
|
|
@@ -33,26 +122,27 @@
|
|
|
33
122
|
}
|
|
34
123
|
.r-powered-link:hover {
|
|
35
124
|
color: var(--r-primary-900);
|
|
36
|
-
}.r-
|
|
125
|
+
}.r-page-container {
|
|
126
|
+
min-height: calc(100dvh - var(--r-header-height));
|
|
127
|
+
overflow-wrap: break-word;
|
|
128
|
+
box-sizing: border-box;
|
|
129
|
+
}.keylink-to-content {
|
|
130
|
+
position: absolute !important;
|
|
131
|
+
top: 8px;
|
|
132
|
+
left: 12px;
|
|
133
|
+
z-index: 1001;
|
|
134
|
+
}.r-blog-container {
|
|
37
135
|
min-height: calc(100dvh - var(--r-header-height));
|
|
38
136
|
overflow-wrap: break-word;
|
|
39
137
|
box-sizing: border-box;
|
|
40
|
-
}
|
|
41
|
-
@media screen and (width >= 768px) {
|
|
42
|
-
.r-docs-container {
|
|
43
|
-
display: grid;
|
|
44
|
-
justify-content: center;
|
|
45
|
-
column-gap: 32px;
|
|
46
|
-
grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
|
|
47
|
-
grid-template-columns: 1fr calc(100% - 248px);
|
|
48
|
-
grid-template-rows: auto auto 1fr auto;
|
|
49
|
-
}
|
|
50
138
|
}
|
|
51
139
|
@media screen and (width >= 1180px) {
|
|
52
|
-
.r-
|
|
140
|
+
.r-blog-container {
|
|
141
|
+
display: grid;
|
|
142
|
+
justify-content: space-between;
|
|
53
143
|
column-gap: 40px;
|
|
54
|
-
grid-template-areas: "
|
|
55
|
-
grid-template-columns:
|
|
144
|
+
grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
|
|
145
|
+
grid-template-columns: 760px 220px;
|
|
56
146
|
grid-template-rows: auto 1fr auto;
|
|
57
147
|
}
|
|
58
148
|
}.r-root {
|
|
@@ -287,120 +377,82 @@
|
|
|
287
377
|
--r-cl-60: #86181d;
|
|
288
378
|
--r-cl-61: #144620;
|
|
289
379
|
--r-cl-62: #c24e00;
|
|
290
|
-
}.r-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
height: 60px;
|
|
296
|
-
z-index: 1000;
|
|
380
|
+
}.r-keylink.keylink-to-navigation:focus {
|
|
381
|
+
margin-top: -40px;
|
|
382
|
+
}.r-docs-container {
|
|
383
|
+
min-height: calc(100dvh - var(--r-header-height));
|
|
384
|
+
overflow-wrap: break-word;
|
|
297
385
|
box-sizing: border-box;
|
|
298
386
|
}
|
|
299
|
-
|
|
300
|
-
.r-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
387
|
+
@media screen and (width >= 768px) {
|
|
388
|
+
.r-docs-container {
|
|
389
|
+
display: grid;
|
|
390
|
+
justify-content: center;
|
|
391
|
+
column-gap: 32px;
|
|
392
|
+
grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
|
|
393
|
+
grid-template-columns: 1fr calc(100% - 248px);
|
|
394
|
+
grid-template-rows: auto auto 1fr auto;
|
|
395
|
+
}
|
|
307
396
|
}
|
|
308
|
-
|
|
309
|
-
.r-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
397
|
+
@media screen and (width >= 1180px) {
|
|
398
|
+
.r-docs-container {
|
|
399
|
+
column-gap: 40px;
|
|
400
|
+
grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
|
|
401
|
+
grid-template-columns: 1fr 640px 1fr;
|
|
402
|
+
grid-template-rows: auto 1fr auto;
|
|
403
|
+
}
|
|
404
|
+
}.r-article {
|
|
405
|
+
padding: 20px 0 40px;
|
|
406
|
+
grid-area: content;
|
|
315
407
|
}
|
|
316
|
-
|
|
317
|
-
|
|
408
|
+
@media screen and (width >= 1180px) {
|
|
409
|
+
.r-article {
|
|
410
|
+
padding: 32px 0 40px;
|
|
411
|
+
}
|
|
318
412
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
display: flex;
|
|
322
|
-
flex-direction: column;
|
|
323
|
-
gap: 12px 16px;
|
|
413
|
+
.r-article > *:first-child {
|
|
414
|
+
margin-top: 0;
|
|
324
415
|
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
flex-direction: row;
|
|
328
|
-
}
|
|
416
|
+
.r-article > *:last-child {
|
|
417
|
+
margin-bottom: 0;
|
|
329
418
|
}
|
|
330
419
|
|
|
331
|
-
.r-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
420
|
+
.r-checkbox {
|
|
421
|
+
cursor: pointer;
|
|
422
|
+
width: 20px;
|
|
423
|
+
height: 20px;
|
|
424
|
+
margin: 4px;
|
|
425
|
+
vertical-align: middle;
|
|
336
426
|
box-sizing: border-box;
|
|
337
427
|
}
|
|
338
|
-
.r-header-link:hover, .r-header-link:focus-visible {
|
|
339
|
-
color: var(--r-main-950);
|
|
340
|
-
}
|
|
341
428
|
|
|
342
|
-
.r-
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
.r-header-link._target:hover, .r-header-link._target:focus-visible {
|
|
346
|
-
color: var(--r-primary-700);
|
|
429
|
+
.r-label {
|
|
430
|
+
cursor: pointer;
|
|
347
431
|
}
|
|
348
432
|
|
|
349
|
-
.r-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
gap: 16px;
|
|
353
|
-
align-items: stretch;
|
|
354
|
-
}
|
|
355
|
-
@media screen and (width >= 1024px) {
|
|
356
|
-
.r-header-actions {
|
|
357
|
-
flex-direction: row;
|
|
358
|
-
align-items: center;
|
|
359
|
-
gap: 28px;
|
|
360
|
-
}
|
|
433
|
+
.r-task-ol,
|
|
434
|
+
.r-task-ul {
|
|
435
|
+
list-style: none;
|
|
361
436
|
}
|
|
362
437
|
|
|
363
|
-
.r-
|
|
364
|
-
display:
|
|
365
|
-
|
|
366
|
-
|
|
438
|
+
.r-task-label {
|
|
439
|
+
display: block;
|
|
440
|
+
width: 100%;
|
|
441
|
+
padding-top: 2px;
|
|
442
|
+
padding-bottom: 2px;
|
|
443
|
+
box-sizing: border-box;
|
|
367
444
|
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
flex: 1;
|
|
371
|
-
}
|
|
445
|
+
.r-task-label:hover .r-checkbox {
|
|
446
|
+
filter: brightness(0.8);
|
|
372
447
|
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
left: 0;
|
|
378
|
-
}
|
|
379
|
-
}.r-blog-container {
|
|
380
|
-
min-height: calc(100dvh - var(--r-header-height));
|
|
381
|
-
overflow-wrap: break-word;
|
|
382
|
-
box-sizing: border-box;
|
|
448
|
+
|
|
449
|
+
.r-task-li.r-task-li {
|
|
450
|
+
margin-block-start: 2px;
|
|
451
|
+
margin-block-end: 2px;
|
|
383
452
|
}
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
justify-content: space-between;
|
|
388
|
-
column-gap: 40px;
|
|
389
|
-
grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
|
|
390
|
-
grid-template-columns: 760px 220px;
|
|
391
|
-
grid-template-rows: auto 1fr auto;
|
|
392
|
-
}
|
|
393
|
-
}.r-page-container {
|
|
394
|
-
min-height: calc(100dvh - var(--r-header-height));
|
|
395
|
-
overflow-wrap: break-word;
|
|
396
|
-
box-sizing: border-box;
|
|
397
|
-
}.keylink-to-content {
|
|
398
|
-
position: absolute !important;
|
|
399
|
-
top: 8px;
|
|
400
|
-
left: 12px;
|
|
401
|
-
z-index: 1001;
|
|
402
|
-
}.r-keylink.keylink-to-navigation:focus {
|
|
403
|
-
margin-top: -40px;
|
|
453
|
+
|
|
454
|
+
.r-label-text {
|
|
455
|
+
vertical-align: middle;
|
|
404
456
|
}.r-sidebar {
|
|
405
457
|
grid-area: sidebar;
|
|
406
458
|
box-sizing: border-box;
|
|
@@ -673,136 +725,6 @@
|
|
|
673
725
|
|
|
674
726
|
.r-sidebar-drop[open] > .r-sidebar-drop-btn > .r-sidebar-drop-icon {
|
|
675
727
|
transform: rotate(90deg);
|
|
676
|
-
}.r-article {
|
|
677
|
-
padding: 20px 0 40px;
|
|
678
|
-
grid-area: content;
|
|
679
|
-
}
|
|
680
|
-
@media screen and (width >= 1180px) {
|
|
681
|
-
.r-article {
|
|
682
|
-
padding: 32px 0 40px;
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
.r-article > *:first-child {
|
|
686
|
-
margin-top: 0;
|
|
687
|
-
}
|
|
688
|
-
.r-article > *:last-child {
|
|
689
|
-
margin-bottom: 0;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.r-checkbox {
|
|
693
|
-
cursor: pointer;
|
|
694
|
-
width: 20px;
|
|
695
|
-
height: 20px;
|
|
696
|
-
margin: 4px;
|
|
697
|
-
vertical-align: middle;
|
|
698
|
-
box-sizing: border-box;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.r-label {
|
|
702
|
-
cursor: pointer;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
.r-task-ol,
|
|
706
|
-
.r-task-ul {
|
|
707
|
-
list-style: none;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.r-task-label {
|
|
711
|
-
display: block;
|
|
712
|
-
width: 100%;
|
|
713
|
-
padding-top: 2px;
|
|
714
|
-
padding-bottom: 2px;
|
|
715
|
-
box-sizing: border-box;
|
|
716
|
-
}
|
|
717
|
-
.r-task-label:hover .r-checkbox {
|
|
718
|
-
filter: brightness(0.8);
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
.r-task-li.r-task-li {
|
|
722
|
-
margin-block-start: 2px;
|
|
723
|
-
margin-block-end: 2px;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
.r-label-text {
|
|
727
|
-
vertical-align: middle;
|
|
728
|
-
}.r-theme-switcher {
|
|
729
|
-
position: relative;
|
|
730
|
-
display: flex;
|
|
731
|
-
gap: 4px;
|
|
732
|
-
width: 108px;
|
|
733
|
-
height: 36px;
|
|
734
|
-
padding: 2px;
|
|
735
|
-
background-color: var(--r-main-950);
|
|
736
|
-
border-radius: 14px;
|
|
737
|
-
box-sizing: border-box;
|
|
738
|
-
}
|
|
739
|
-
.r-theme-switcher::before {
|
|
740
|
-
content: "";
|
|
741
|
-
position: absolute;
|
|
742
|
-
display: block;
|
|
743
|
-
height: 32px;
|
|
744
|
-
width: 32px;
|
|
745
|
-
top: 2px;
|
|
746
|
-
left: 2px;
|
|
747
|
-
background-color: var(--r-main-50);
|
|
748
|
-
border-radius: 12px;
|
|
749
|
-
transition: left 0.2s;
|
|
750
|
-
box-sizing: border-box;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.r-theme-switcher-btn {
|
|
754
|
-
padding: 8px;
|
|
755
|
-
background: none;
|
|
756
|
-
border: 0;
|
|
757
|
-
border-radius: 12px;
|
|
758
|
-
cursor: pointer;
|
|
759
|
-
color: var(--r-main-50);
|
|
760
|
-
fill: var(--r-main-950);
|
|
761
|
-
z-index: 1;
|
|
762
|
-
transition: color 0.2s 0.1s, fill 0.2s;
|
|
763
|
-
}
|
|
764
|
-
.r-theme-switcher-btn:hover {
|
|
765
|
-
color: var(--r-main-50);
|
|
766
|
-
fill: var(--r-main-50);
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
.r-theme-dark:not(.r-theme-system) .r-theme-switcher::before {
|
|
770
|
-
left: 2px;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
.r-theme-dark:not(.r-theme-system) .r-theme-switcher-btn__dark {
|
|
774
|
-
color: var(--r-main-950);
|
|
775
|
-
pointer-events: none;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
.r-theme-switcher::before,
|
|
779
|
-
.r-theme-system .r-theme-switcher::before {
|
|
780
|
-
left: 38px;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
.r-theme-system .r-theme-switcher-btn__system {
|
|
784
|
-
color: var(--r-main-950);
|
|
785
|
-
pointer-events: none;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
.r-theme-light:not(.r-theme-system) .r-theme-switcher::before {
|
|
789
|
-
left: 74px;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
.r-theme-light:not(.r-theme-system) .r-theme-switcher-btn__light {
|
|
793
|
-
color: var(--r-main-950);
|
|
794
|
-
pointer-events: none;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
.r-theme-switcher-svg {
|
|
798
|
-
display: block;
|
|
799
|
-
}.r-container {
|
|
800
|
-
max-width: 1180px;
|
|
801
|
-
padding-right: 12px;
|
|
802
|
-
padding-left: 12px;
|
|
803
|
-
margin-right: auto;
|
|
804
|
-
margin-left: auto;
|
|
805
|
-
box-sizing: border-box;
|
|
806
728
|
}.r-header-menu {
|
|
807
729
|
display: flex;
|
|
808
730
|
justify-content: flex-end;
|
|
@@ -884,13 +806,92 @@
|
|
|
884
806
|
margin-top: 0;
|
|
885
807
|
}
|
|
886
808
|
|
|
887
|
-
.r-burger-line._bottom {
|
|
888
|
-
transform: translateY(3px);
|
|
809
|
+
.r-burger-line._bottom {
|
|
810
|
+
transform: translateY(3px);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.r-header-input:checked ~ .r-header-burger .r-burger-line._bottom {
|
|
814
|
+
transform: translateY(0) rotate(-45deg);
|
|
815
|
+
margin-top: 0;
|
|
816
|
+
}.r-dropdown {
|
|
817
|
+
position: relative;
|
|
818
|
+
color: var(--r-main-600);
|
|
819
|
+
transition: color 0.2s 0.1s;
|
|
820
|
+
}
|
|
821
|
+
.r-dropdown:hover, .r-dropdown:focus-within {
|
|
822
|
+
color: var(--r-main-950);
|
|
823
|
+
}
|
|
824
|
+
.r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
|
|
825
|
+
visibility: visible;
|
|
826
|
+
pointer-events: all;
|
|
827
|
+
transform: translateY(20px);
|
|
828
|
+
opacity: 1;
|
|
829
|
+
}
|
|
830
|
+
.r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
|
|
831
|
+
transform: rotate(180deg);
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.r-dropdown-summary {
|
|
835
|
+
display: flex;
|
|
836
|
+
justify-content: space-between;
|
|
837
|
+
align-items: center;
|
|
838
|
+
width: 100%;
|
|
839
|
+
position: relative;
|
|
840
|
+
color: inherit;
|
|
841
|
+
cursor: pointer;
|
|
842
|
+
padding: 10px 4px;
|
|
843
|
+
font-size: 16px;
|
|
844
|
+
border: 0;
|
|
845
|
+
background: none;
|
|
846
|
+
z-index: 1;
|
|
847
|
+
box-sizing: border-box;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.r-dropdown-chevron {
|
|
851
|
+
display: block;
|
|
852
|
+
margin-left: 6px;
|
|
853
|
+
transition: transform 0.3s 0.1s;
|
|
854
|
+
box-sizing: border-box;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.r-dropdown-drop {
|
|
858
|
+
list-style: none;
|
|
859
|
+
position: absolute;
|
|
860
|
+
top: 16px;
|
|
861
|
+
left: -12px;
|
|
862
|
+
visibility: hidden;
|
|
863
|
+
pointer-events: none;
|
|
864
|
+
opacity: 0;
|
|
865
|
+
transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
|
|
866
|
+
background-color: var(--r-main-50);
|
|
867
|
+
border: 1px solid var(--r-main-100);
|
|
868
|
+
border-radius: 8px;
|
|
869
|
+
margin: 0;
|
|
870
|
+
padding: 2px 6px;
|
|
871
|
+
min-width: 120px;
|
|
872
|
+
max-width: 180px;
|
|
873
|
+
box-sizing: border-box;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.r-dropdown-link {
|
|
877
|
+
display: block;
|
|
878
|
+
width: 100%;
|
|
879
|
+
text-decoration: none;
|
|
880
|
+
color: var(--r-main-700);
|
|
881
|
+
padding: 4px 8px;
|
|
882
|
+
margin-top: 4px;
|
|
883
|
+
margin-bottom: 4px;
|
|
884
|
+
border-radius: 4px;
|
|
885
|
+
transition: background-color 0.2s;
|
|
886
|
+
box-sizing: border-box;
|
|
887
|
+
}
|
|
888
|
+
.r-dropdown-link:hover {
|
|
889
|
+
color: var(--r-main-900);
|
|
890
|
+
background-color: var(--r-main-100);
|
|
889
891
|
}
|
|
890
892
|
|
|
891
|
-
.r-
|
|
892
|
-
|
|
893
|
-
margin-top: 0;
|
|
893
|
+
.r-dropdown-link._active {
|
|
894
|
+
color: var(--r-primary-700);
|
|
894
895
|
}.r-search-btn {
|
|
895
896
|
position: relative;
|
|
896
897
|
border-radius: 6px;
|
|
@@ -1007,103 +1008,102 @@
|
|
|
1007
1008
|
font-size: 14px;
|
|
1008
1009
|
color: var(--r-main-600);
|
|
1009
1010
|
margin: 12px 0 0;
|
|
1010
|
-
}.r-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
}
|
|
1015
|
-
.r-dropdown:hover, .r-dropdown:focus-within {
|
|
1016
|
-
color: var(--r-main-950);
|
|
1017
|
-
}
|
|
1018
|
-
.r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
|
|
1019
|
-
visibility: visible;
|
|
1020
|
-
pointer-events: all;
|
|
1021
|
-
transform: translateY(20px);
|
|
1022
|
-
opacity: 1;
|
|
1011
|
+
}.r-header-social {
|
|
1012
|
+
display: flex;
|
|
1013
|
+
flex: 1;
|
|
1014
|
+
justify-content: flex-end;
|
|
1023
1015
|
}
|
|
1024
|
-
|
|
1025
|
-
|
|
1016
|
+
@media screen and (width >= 1024px) {
|
|
1017
|
+
.r-header-social {
|
|
1018
|
+
flex: none;
|
|
1019
|
+
justify-content: unset;
|
|
1020
|
+
}
|
|
1026
1021
|
}
|
|
1027
1022
|
|
|
1028
|
-
.r-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1023
|
+
.r-header-social-git {
|
|
1024
|
+
color: var(--r-main-700);
|
|
1025
|
+
transition: color 0.2s;
|
|
1026
|
+
}
|
|
1027
|
+
.r-header-social-git:hover, .r-header-social-git:focus {
|
|
1028
|
+
color: var(--r-main-950);
|
|
1029
|
+
}.r-container {
|
|
1030
|
+
max-width: 1180px;
|
|
1031
|
+
padding-right: 12px;
|
|
1032
|
+
padding-left: 12px;
|
|
1033
|
+
margin-right: auto;
|
|
1034
|
+
margin-left: auto;
|
|
1035
|
+
box-sizing: border-box;
|
|
1036
|
+
}.r-theme-switcher {
|
|
1033
1037
|
position: relative;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
background:
|
|
1040
|
-
|
|
1038
|
+
display: flex;
|
|
1039
|
+
gap: 4px;
|
|
1040
|
+
width: 108px;
|
|
1041
|
+
height: 36px;
|
|
1042
|
+
padding: 2px;
|
|
1043
|
+
background-color: var(--r-main-950);
|
|
1044
|
+
border-radius: 14px;
|
|
1041
1045
|
box-sizing: border-box;
|
|
1042
1046
|
}
|
|
1043
|
-
|
|
1044
|
-
|
|
1047
|
+
.r-theme-switcher::before {
|
|
1048
|
+
content: "";
|
|
1049
|
+
position: absolute;
|
|
1045
1050
|
display: block;
|
|
1046
|
-
|
|
1047
|
-
|
|
1051
|
+
height: 32px;
|
|
1052
|
+
width: 32px;
|
|
1053
|
+
top: 2px;
|
|
1054
|
+
left: 2px;
|
|
1055
|
+
background-color: var(--r-main-50);
|
|
1056
|
+
border-radius: 12px;
|
|
1057
|
+
transition: left 0.2s;
|
|
1048
1058
|
box-sizing: border-box;
|
|
1049
1059
|
}
|
|
1050
1060
|
|
|
1051
|
-
.r-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
min-width: 120px;
|
|
1066
|
-
max-width: 180px;
|
|
1067
|
-
box-sizing: border-box;
|
|
1061
|
+
.r-theme-switcher-btn {
|
|
1062
|
+
padding: 8px;
|
|
1063
|
+
background: none;
|
|
1064
|
+
border: 0;
|
|
1065
|
+
border-radius: 12px;
|
|
1066
|
+
cursor: pointer;
|
|
1067
|
+
color: var(--r-main-50);
|
|
1068
|
+
fill: var(--r-main-950);
|
|
1069
|
+
z-index: 1;
|
|
1070
|
+
transition: color 0.2s 0.1s, fill 0.2s;
|
|
1071
|
+
}
|
|
1072
|
+
.r-theme-switcher-btn:hover {
|
|
1073
|
+
color: var(--r-main-50);
|
|
1074
|
+
fill: var(--r-main-50);
|
|
1068
1075
|
}
|
|
1069
1076
|
|
|
1070
|
-
.r-
|
|
1071
|
-
|
|
1072
|
-
width: 100%;
|
|
1073
|
-
text-decoration: none;
|
|
1074
|
-
color: var(--r-main-700);
|
|
1075
|
-
padding: 4px 8px;
|
|
1076
|
-
margin-top: 4px;
|
|
1077
|
-
margin-bottom: 4px;
|
|
1078
|
-
border-radius: 4px;
|
|
1079
|
-
transition: background-color 0.2s;
|
|
1080
|
-
box-sizing: border-box;
|
|
1077
|
+
.r-theme-dark:not(.r-theme-system) .r-theme-switcher::before {
|
|
1078
|
+
left: 2px;
|
|
1081
1079
|
}
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1080
|
+
|
|
1081
|
+
.r-theme-dark:not(.r-theme-system) .r-theme-switcher-btn__dark {
|
|
1082
|
+
color: var(--r-main-950);
|
|
1083
|
+
pointer-events: none;
|
|
1085
1084
|
}
|
|
1086
1085
|
|
|
1087
|
-
.r-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
display: flex;
|
|
1091
|
-
flex: 1;
|
|
1092
|
-
justify-content: flex-end;
|
|
1086
|
+
.r-theme-switcher::before,
|
|
1087
|
+
.r-theme-system .r-theme-switcher::before {
|
|
1088
|
+
left: 38px;
|
|
1093
1089
|
}
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
}
|
|
1090
|
+
|
|
1091
|
+
.r-theme-system .r-theme-switcher-btn__system {
|
|
1092
|
+
color: var(--r-main-950);
|
|
1093
|
+
pointer-events: none;
|
|
1099
1094
|
}
|
|
1100
1095
|
|
|
1101
|
-
.r-
|
|
1102
|
-
|
|
1103
|
-
transition: color 0.2s;
|
|
1096
|
+
.r-theme-light:not(.r-theme-system) .r-theme-switcher::before {
|
|
1097
|
+
left: 74px;
|
|
1104
1098
|
}
|
|
1105
|
-
|
|
1099
|
+
|
|
1100
|
+
.r-theme-light:not(.r-theme-system) .r-theme-switcher-btn__light {
|
|
1106
1101
|
color: var(--r-main-950);
|
|
1102
|
+
pointer-events: none;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.r-theme-switcher-svg {
|
|
1106
|
+
display: block;
|
|
1107
1107
|
}.r-keylink {
|
|
1108
1108
|
display: block;
|
|
1109
1109
|
position: relative;
|
|
@@ -1506,25 +1506,6 @@
|
|
|
1506
1506
|
background-color: currentColor;
|
|
1507
1507
|
border-radius: 0 0 0 4px;
|
|
1508
1508
|
box-sizing: border-box;
|
|
1509
|
-
}.r-anchor-heading:hover .r-anchor-heading-link {
|
|
1510
|
-
visibility: visible;
|
|
1511
|
-
opacity: 1;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
.r-anchor-heading-link {
|
|
1515
|
-
visibility: hidden;
|
|
1516
|
-
opacity: 0;
|
|
1517
|
-
transition: opacity 0.3s allow-discrete;
|
|
1518
|
-
padding-inline: 8px;
|
|
1519
|
-
margin-inline-start: -4px;
|
|
1520
|
-
color: var(--r-main-600);
|
|
1521
|
-
text-decoration: none;
|
|
1522
|
-
}
|
|
1523
|
-
.r-anchor-heading-link:hover {
|
|
1524
|
-
color: var(--r-primary-800);
|
|
1525
|
-
}
|
|
1526
|
-
.r-anchor-heading-link::after {
|
|
1527
|
-
content: "#";
|
|
1528
1509
|
}.r-code-section {
|
|
1529
1510
|
position: relative;
|
|
1530
1511
|
margin-block-start: 1.5em;
|
|
@@ -1576,6 +1557,25 @@
|
|
|
1576
1557
|
|
|
1577
1558
|
.r-code-section-filename {
|
|
1578
1559
|
font-family: var(--monospace-font, monospace, monospace);
|
|
1560
|
+
}.r-anchor-heading:hover .r-anchor-heading-link {
|
|
1561
|
+
visibility: visible;
|
|
1562
|
+
opacity: 1;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.r-anchor-heading-link {
|
|
1566
|
+
visibility: hidden;
|
|
1567
|
+
opacity: 0;
|
|
1568
|
+
transition: opacity 0.3s allow-discrete;
|
|
1569
|
+
padding-inline: 8px;
|
|
1570
|
+
margin-inline-start: -4px;
|
|
1571
|
+
color: var(--r-main-600);
|
|
1572
|
+
text-decoration: none;
|
|
1573
|
+
}
|
|
1574
|
+
.r-anchor-heading-link:hover {
|
|
1575
|
+
color: var(--r-primary-800);
|
|
1576
|
+
}
|
|
1577
|
+
.r-anchor-heading-link::after {
|
|
1578
|
+
content: "#";
|
|
1579
1579
|
}.r-block {
|
|
1580
1580
|
width: 100%;
|
|
1581
1581
|
overflow: auto;
|
|
@@ -1667,9 +1667,6 @@
|
|
|
1667
1667
|
scrollbar-width: thin;
|
|
1668
1668
|
scrollbar-color: var(--r-main-200) transparent;
|
|
1669
1669
|
box-sizing: border-box;
|
|
1670
|
-
}.r-img {
|
|
1671
|
-
max-width: 100%;
|
|
1672
|
-
box-sizing: border-box;
|
|
1673
1670
|
}.r-h1 {
|
|
1674
1671
|
font-size: 32px;
|
|
1675
1672
|
line-height: 1.4;
|
|
@@ -1710,6 +1707,9 @@
|
|
|
1710
1707
|
line-height: 1.4;
|
|
1711
1708
|
margin-block-start: 1.8em;
|
|
1712
1709
|
margin-block-end: 1.8em;
|
|
1710
|
+
}.r-img {
|
|
1711
|
+
max-width: 100%;
|
|
1712
|
+
box-sizing: border-box;
|
|
1713
1713
|
}.r-p {
|
|
1714
1714
|
line-height: 1.8;
|
|
1715
1715
|
margin-block-start: 1em;
|
|
@@ -1790,14 +1790,6 @@
|
|
|
1790
1790
|
.r-modal._visible {
|
|
1791
1791
|
transform: translateX(-50%) scale(1);
|
|
1792
1792
|
}
|
|
1793
|
-
}.r-kbd-container {
|
|
1794
|
-
display: flex;
|
|
1795
|
-
gap: 4px;
|
|
1796
|
-
font-size: 14px;
|
|
1797
|
-
cursor: pointer;
|
|
1798
|
-
}
|
|
1799
|
-
.r-kbd-container:hover {
|
|
1800
|
-
color: var(--r-main-950);
|
|
1801
1793
|
}.r-kbd-key {
|
|
1802
1794
|
background-color: var(--r-main-200);
|
|
1803
1795
|
font-size: 12px;
|
|
@@ -1806,6 +1798,14 @@
|
|
|
1806
1798
|
min-width: 24px;
|
|
1807
1799
|
text-align: center;
|
|
1808
1800
|
box-sizing: border-box;
|
|
1801
|
+
}.r-kbd-container {
|
|
1802
|
+
display: flex;
|
|
1803
|
+
gap: 4px;
|
|
1804
|
+
font-size: 14px;
|
|
1805
|
+
cursor: pointer;
|
|
1806
|
+
}
|
|
1807
|
+
.r-kbd-container:hover {
|
|
1808
|
+
color: var(--r-main-950);
|
|
1809
1809
|
}.r-copy-button {
|
|
1810
1810
|
position: relative;
|
|
1811
1811
|
padding: 6px;
|
|
@@ -1926,10 +1926,6 @@
|
|
|
1926
1926
|
background-color: currentColor;
|
|
1927
1927
|
border-radius: 0 0 0 4px;
|
|
1928
1928
|
box-sizing: border-box;
|
|
1929
|
-
}.r-ul {
|
|
1930
|
-
padding-inline-start: 2rem;
|
|
1931
|
-
margin-block-start: 1em;
|
|
1932
|
-
margin-block-end: 1em;
|
|
1933
1929
|
}.r-li {
|
|
1934
1930
|
line-height: 1.8;
|
|
1935
1931
|
margin-block-start: 6px;
|
|
@@ -1945,15 +1941,19 @@
|
|
|
1945
1941
|
padding-inline-start: 2rem;
|
|
1946
1942
|
margin-block-start: 1em;
|
|
1947
1943
|
margin-block-end: 1em;
|
|
1948
|
-
}.r-
|
|
1949
|
-
padding:
|
|
1950
|
-
|
|
1951
|
-
|
|
1944
|
+
}.r-ul {
|
|
1945
|
+
padding-inline-start: 2rem;
|
|
1946
|
+
margin-block-start: 1em;
|
|
1947
|
+
margin-block-end: 1em;
|
|
1952
1948
|
}.r-table {
|
|
1953
1949
|
min-width: 100%;
|
|
1954
1950
|
text-align: left;
|
|
1955
1951
|
border-collapse: collapse;
|
|
1956
1952
|
box-sizing: border-box;
|
|
1953
|
+
}.r-td {
|
|
1954
|
+
padding: 6px 12px;
|
|
1955
|
+
border-bottom: 1px solid var(--r-main-400);
|
|
1956
|
+
border-collapse: collapse;
|
|
1957
1957
|
}.r-th {
|
|
1958
1958
|
padding: 6px 12px;
|
|
1959
1959
|
border-top: 1px solid var(--r-main-500);
|
|
@@ -1961,6 +1961,8 @@
|
|
|
1961
1961
|
border-collapse: collapse;
|
|
1962
1962
|
}.r-thead {
|
|
1963
1963
|
background-color: var(--r-main-100);
|
|
1964
|
+
}.r-task-ul {
|
|
1965
|
+
list-style: none;
|
|
1964
1966
|
}.r-task-ol {
|
|
1965
1967
|
list-style: none;
|
|
1966
1968
|
}.r-task-li.r-task-li {
|
|
@@ -1992,8 +1994,6 @@
|
|
|
1992
1994
|
|
|
1993
1995
|
.r-task-label-text {
|
|
1994
1996
|
vertical-align: middle;
|
|
1995
|
-
}.r-task-ul {
|
|
1996
|
-
list-style: none;
|
|
1997
1997
|
}.r-backdrop {
|
|
1998
1998
|
position: fixed;
|
|
1999
1999
|
top: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "robindoc",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-7348177",
|
|
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": {
|