robindoc 0.0.0-experimental-7bcc2d8 → 0.0.0-experimental-93b881a

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":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/blocks/theme-detector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiC1B,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAQjC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/blocks/theme-detector/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAkCzC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAoBjC,CAAC"}
@@ -1,2 +1,3 @@
1
- import t from"react";const e=()=>{const t=document.querySelector(".r-root");if(!t)return;const e=localStorage.getItem("theme");e&&["light","dark"].includes(e)?t.classList.add(`r-theme-${e}`):(t.classList.add("r-theme-system"),window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?t.classList.add("r-theme-dark"):t.classList.add("r-theme-light"));const s=localStorage.getItem("r-tabs"),a=s?.split(";").filter(t=>t&&/[\w-]+=[\w]+/.test(t))||[];Array.from(t.classList).forEach(e=>{e.startsWith("r-tabs-global")&&t.classList.remove(e)}),a.forEach(e=>{const[s,a]=e.split("=");t.classList.add(`r-tabs-global__${s}`,`r-tabs-global__${s}_${a}`)})},s=()=>t.createElement("script",{id:"detect-theme",dangerouslySetInnerHTML:{__html:`(${e})()`},async:!0});export{s as ThemeDetector};
1
+ 'use client';
2
+ import t,{useEffect as e}from"react";const s=()=>{const t=document.querySelector(".r-root");if(!t)return;const e=localStorage.getItem("theme");e&&["light","dark"].includes(e)?t.classList.add(`r-theme-${e}`):(t.classList.add("r-theme-system"),window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?t.classList.add("r-theme-dark"):t.classList.add("r-theme-light"));const s=localStorage.getItem("r-tabs"),r=s?.split(";").filter(t=>t&&/[\w-]+=[\w]+/.test(t))||[];Array.from(t.classList).forEach(e=>{e.startsWith("r-tabs-global")&&t.classList.remove(e)}),r.forEach(e=>{const[s,r]=e.split("=");t.classList.add(`r-tabs-global__${s}`,`r-tabs-global__${s}_${r}`)}),t.classList.add("r-ready")},r=()=>(e(()=>{const t=document.querySelector(".r-root");if(t&&!t.classList.contains("r-ready"))return s(),()=>{t.classList.remove("r-ready")}},[]),t.createElement("script",{id:"detect-theme",dangerouslySetInnerHTML:{__html:`(${s})()`},async:!0}));export{r as ThemeDetector};
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/blocks/theme-detector/index.tsx"],"sourcesContent":["import React from \"react\";\n\nconst clientLogic = () => {\n const root = document.querySelector(\".r-root\");\n\n if (!root) return;\n\n const userTheme = localStorage.getItem(\"theme\");\n if (userTheme && [\"light\", \"dark\"].includes(userTheme)) {\n root.classList.add(`r-theme-${userTheme}`);\n } else {\n root.classList.add(`r-theme-system`);\n if (window.matchMedia && window.matchMedia(\"(prefers-color-scheme: dark)\").matches) {\n root.classList.add(\"r-theme-dark\");\n } else {\n root.classList.add(\"r-theme-light\");\n }\n }\n\n const store = localStorage.getItem(\"r-tabs\");\n const items = store?.split(\";\").filter((item) => item && /[\\w-]+=[\\w]+/.test(item)) || [];\n const classNames = Array.from(root.classList);\n classNames.forEach((className) => {\n if (className.startsWith(`r-tabs-global`)) {\n root.classList.remove(className);\n }\n });\n items.forEach((item) => {\n const [tabsKey, tab] = item.split(\"=\");\n root.classList.add(`r-tabs-global__${tabsKey}`, `r-tabs-global__${tabsKey}_${tab}`);\n });\n};\n\nexport const ThemeDetector: React.FC = () => (\n <script\n id=\"detect-theme\"\n dangerouslySetInnerHTML={{\n __html: `(${clientLogic})()`,\n }}\n async\n />\n);\n"],"names":["clientLogic","root","document","querySelector","userTheme","localStorage","getItem","includes","classList","add","window","matchMedia","matches","store","items","split","filter","item","test","Array","from","forEach","className","startsWith","remove","tabsKey","tab","ThemeDetector","React","createElement","id","dangerouslySetInnerHTML","__html","async"],"mappings":"qBAEA,MAAMA,EAAc,KAChB,MAAMC,EAAOC,SAASC,cAAc,WAEpC,IAAKF,EAAM,OAEX,MAAMG,EAAYC,aAAaC,QAAQ,SACnCF,GAAa,CAAC,QAAS,QAAQG,SAASH,GACxCH,EAAKO,UAAUC,IAAI,WAAWL,MAE9BH,EAAKO,UAAUC,IAAI,kBACfC,OAAOC,YAAcD,OAAOC,WAAW,gCAAgCC,QACvEX,EAAKO,UAAUC,IAAI,gBAEnBR,EAAKO,UAAUC,IAAI,kBAI3B,MAAMI,EAAQR,aAAaC,QAAQ,UAC7BQ,EAAQD,GAAOE,MAAM,KAAKC,OAAQC,GAASA,GAAQ,eAAeC,KAAKD,KAAU,GACpEE,MAAMC,KAAKnB,EAAKO,WACxBa,QAASC,IACZA,EAAUC,WAAW,kBACrBtB,EAAKO,UAAUgB,OAAOF,KAG9BR,EAAMO,QAASJ,IACX,MAAOQ,EAASC,GAAOT,EAAKF,MAAM,KAClCd,EAAKO,UAAUC,IAAI,kBAAkBgB,IAAW,kBAAkBA,KAAWC,QAIxEC,EAA0B,IACnCC,EAAAC,cAAA,SAAA,CACIC,GAAG,eACHC,wBAAyB,CACrBC,OAAQ,IAAIhC,QAEhBiC,OAAK"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/blocks/theme-detector/index.tsx"],"sourcesContent":["\"use client\";\n\nimport React, { useEffect } from \"react\";\n\nconst clientLogic = () => {\n const root = document.querySelector(\".r-root\");\n\n if (!root) return;\n\n const userTheme = localStorage.getItem(\"theme\");\n if (userTheme && [\"light\", \"dark\"].includes(userTheme)) {\n root.classList.add(`r-theme-${userTheme}`);\n } else {\n root.classList.add(`r-theme-system`);\n if (window.matchMedia && window.matchMedia(\"(prefers-color-scheme: dark)\").matches) {\n root.classList.add(\"r-theme-dark\");\n } else {\n root.classList.add(\"r-theme-light\");\n }\n }\n\n const store = localStorage.getItem(\"r-tabs\");\n const items = store?.split(\";\").filter((item) => item && /[\\w-]+=[\\w]+/.test(item)) || [];\n const classNames = Array.from(root.classList);\n classNames.forEach((className) => {\n if (className.startsWith(`r-tabs-global`)) {\n root.classList.remove(className);\n }\n });\n items.forEach((item) => {\n const [tabsKey, tab] = item.split(\"=\");\n root.classList.add(`r-tabs-global__${tabsKey}`, `r-tabs-global__${tabsKey}_${tab}`);\n });\n root.classList.add(\"r-ready\");\n};\n\nexport const ThemeDetector: React.FC = () => {\n useEffect(() => {\n const root = document.querySelector(\".r-root\");\n if (!root || root.classList.contains(\"r-ready\")) return;\n clientLogic();\n\n return () => {\n root.classList.remove(\"r-ready\");\n };\n }, []);\n\n return (\n <script\n id=\"detect-theme\"\n dangerouslySetInnerHTML={{\n __html: `(${clientLogic})()`,\n }}\n async\n />\n );\n};\n"],"names":["clientLogic","root","document","querySelector","userTheme","localStorage","getItem","includes","classList","add","window","matchMedia","matches","store","items","split","filter","item","test","Array","from","forEach","className","startsWith","remove","tabsKey","tab","ThemeDetector","useEffect","contains","React","createElement","id","dangerouslySetInnerHTML","__html","async"],"mappings":";qCAIA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAMA,CAAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAChB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAMC,CAAAA,CAAOC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAASC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAEpC,CAAA,CAAA,CAAA,CAAKF,CAAAA,CAAM,OAEX,CAAA,CAAA,CAAA,CAAA,CAAA,CAAMG,CAAAA,CAAYC,CAAAA,CAAAA,CA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AA,CAAA,CAAA,CAAA,CAAA,CAAA,CACIC,CAAAA,CAAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACHC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAyB,CACrBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAQ,CAAA,CAAA,CAAA,CAAIlC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAEhBmC,OAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA"}
package/lib/styles.css CHANGED
@@ -122,6 +122,28 @@
122
122
  }
123
123
  .r-powered-link:hover {
124
124
  color: var(--r-primary-900);
125
+ }.r-docs-container {
126
+ min-height: calc(100dvh - var(--r-header-height));
127
+ overflow-wrap: break-word;
128
+ box-sizing: border-box;
129
+ }
130
+ @media screen and (width >= 768px) {
131
+ .r-docs-container {
132
+ display: grid;
133
+ justify-content: center;
134
+ column-gap: 32px;
135
+ grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
136
+ grid-template-columns: 1fr calc(100% - 248px);
137
+ grid-template-rows: auto auto 1fr auto;
138
+ }
139
+ }
140
+ @media screen and (width >= 1180px) {
141
+ .r-docs-container {
142
+ column-gap: 40px;
143
+ grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
144
+ grid-template-columns: 1fr 640px 1fr;
145
+ grid-template-rows: auto 1fr auto;
146
+ }
125
147
  }.r-root {
126
148
  overflow: hidden;
127
149
  --rb-neutral-50: #f8fafc;
@@ -422,28 +444,6 @@
422
444
  --r-cl-60: #86181d;
423
445
  --r-cl-61: #144620;
424
446
  --r-cl-62: #c24e00;
425
- }.r-docs-container {
426
- min-height: calc(100dvh - var(--r-header-height));
427
- overflow-wrap: break-word;
428
- box-sizing: border-box;
429
- }
430
- @media screen and (width >= 768px) {
431
- .r-docs-container {
432
- display: grid;
433
- justify-content: center;
434
- column-gap: 32px;
435
- grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
436
- grid-template-columns: 1fr calc(100% - 248px);
437
- grid-template-rows: auto auto 1fr auto;
438
- }
439
- }
440
- @media screen and (width >= 1180px) {
441
- .r-docs-container {
442
- column-gap: 40px;
443
- grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
444
- grid-template-columns: 1fr 640px 1fr;
445
- grid-template-rows: auto 1fr auto;
446
- }
447
447
  }.r-blog-container {
448
448
  min-height: calc(100dvh - var(--r-header-height));
449
449
  overflow-wrap: break-word;
@@ -467,8 +467,6 @@
467
467
  top: 8px;
468
468
  left: 12px;
469
469
  z-index: 1001;
470
- }.keylink-to-navigation {
471
- margin-top: -40px;
472
470
  }.r-article {
473
471
  padding: 20px 0 80px;
474
472
  grid-area: content;
@@ -518,6 +516,8 @@
518
516
 
519
517
  .r-label-text {
520
518
  vertical-align: middle;
519
+ }.keylink-to-navigation {
520
+ margin-top: -40px;
521
521
  }.r-sidebar {
522
522
  grid-area: sidebar;
523
523
  box-sizing: border-box;
@@ -1075,13 +1075,6 @@
1075
1075
 
1076
1076
  .r-dropdown-link._active {
1077
1077
  color: var(--r-primary-700);
1078
- }.r-container {
1079
- max-width: 1180px;
1080
- padding-right: 12px;
1081
- padding-left: 12px;
1082
- margin-right: auto;
1083
- margin-left: auto;
1084
- box-sizing: border-box;
1085
1078
  }.r-header-social {
1086
1079
  display: flex;
1087
1080
  flex: 1;
@@ -1100,6 +1093,13 @@
1100
1093
  }
1101
1094
  .r-header-social-git:hover, .r-header-social-git:focus {
1102
1095
  color: var(--r-neutral-950);
1096
+ }.r-container {
1097
+ max-width: 1180px;
1098
+ padding-right: 12px;
1099
+ padding-left: 12px;
1100
+ margin-right: auto;
1101
+ margin-left: auto;
1102
+ box-sizing: border-box;
1103
1103
  }.r-theme-switcher {
1104
1104
  position: relative;
1105
1105
  display: flex;
@@ -1191,6 +1191,121 @@
1191
1191
  user-select: none;
1192
1192
  pointer-events: none;
1193
1193
  box-sizing: border-box;
1194
+ }.r-breadcrumbs {
1195
+ grid-area: breadcrumbs;
1196
+ list-style: none;
1197
+ margin: 0;
1198
+ padding: 20px 0 0;
1199
+ line-height: 2;
1200
+ }
1201
+ @media screen and (width >= 768px) {
1202
+ .r-breadcrumbs {
1203
+ padding: 32px 0 0;
1204
+ }
1205
+ }
1206
+
1207
+ .r-breadcrumb {
1208
+ display: inline;
1209
+ }
1210
+
1211
+ .r-breadcrumb._previous::after {
1212
+ content: "/";
1213
+ font-weight: 600;
1214
+ margin-inline: 8px;
1215
+ }
1216
+
1217
+ .r-breadcrumb-link {
1218
+ color: var(--r-neutral-700);
1219
+ text-decoration: none;
1220
+ }
1221
+ .r-breadcrumb-link:hover {
1222
+ color: var(--r-primary-800);
1223
+ }
1224
+
1225
+ .r-breadcrumb-link,
1226
+ .r-breadcrumb-title {
1227
+ display: inline;
1228
+ padding: 6px 0;
1229
+ margin: 0;
1230
+ }
1231
+
1232
+ .r-breadcrumb-title {
1233
+ color: var(--r-neutral-950);
1234
+ font-weight: 600;
1235
+ }.r-pagination {
1236
+ grid-area: pagination;
1237
+ display: grid;
1238
+ grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
1239
+ gap: 16px;
1240
+ margin-bottom: 80px;
1241
+ }
1242
+
1243
+ .r-pagination-item {
1244
+ position: relative;
1245
+ padding-top: 8px;
1246
+ padding-bottom: 8px;
1247
+ text-decoration: none;
1248
+ font-size: 14px;
1249
+ color: var(--r-neutral-700);
1250
+ }
1251
+ .r-pagination-item:hover {
1252
+ color: var(--r-neutral-900);
1253
+ }
1254
+
1255
+ .r-pagination-item._prev {
1256
+ padding-left: 32px;
1257
+ }
1258
+
1259
+ .r-pagination-item._next {
1260
+ text-align: right;
1261
+ padding-right: 32px;
1262
+ }
1263
+
1264
+ .r-pagination-text {
1265
+ display: block;
1266
+ line-height: 2;
1267
+ }
1268
+
1269
+ .r-pagination-title {
1270
+ font-weight: 600;
1271
+ font-size: 18px;
1272
+ color: var(--r-neutral-950);
1273
+ }
1274
+
1275
+ .r-pagination-icon {
1276
+ position: absolute;
1277
+ top: 50%;
1278
+ transform: translateY(-50%);
1279
+ transition: transform 0.2s;
1280
+ margin: -4px;
1281
+ }
1282
+
1283
+ .r-pagination-icon._prev {
1284
+ left: 0;
1285
+ }
1286
+ .r-pagination-item:hover .r-pagination-icon._prev {
1287
+ transform: translate(-4px, -50%);
1288
+ }
1289
+ @media screen and (width >= 1180px) {
1290
+ .r-pagination-item:hover .r-pagination-icon._prev {
1291
+ transform: translate(-8px, -50%);
1292
+ }
1293
+ }
1294
+
1295
+ .r-pagination-icon._next {
1296
+ right: 0;
1297
+ }
1298
+ .r-pagination-item:hover .r-pagination-icon._next {
1299
+ transform: translate(4px, -50%);
1300
+ }
1301
+ @media screen and (width >= 1180px) {
1302
+ .r-pagination-item:hover .r-pagination-icon._next {
1303
+ transform: translate(8px, -50%);
1304
+ }
1305
+ }
1306
+
1307
+ .r-pagination-svg {
1308
+ display: block;
1194
1309
  }.r-contents {
1195
1310
  grid-area: contents;
1196
1311
  }
@@ -1424,126 +1539,9 @@
1424
1539
  }
1425
1540
  .r-contents-git:hover {
1426
1541
  color: var(--r-neutral-900);
1427
- }.r-breadcrumbs {
1428
- grid-area: breadcrumbs;
1429
- list-style: none;
1430
- margin: 0;
1431
- padding: 20px 0 0;
1432
- line-height: 2;
1433
- }
1434
- @media screen and (width >= 768px) {
1435
- .r-breadcrumbs {
1436
- padding: 32px 0 0;
1437
- }
1438
- }
1439
-
1440
- .r-breadcrumb {
1441
- display: inline;
1442
- }
1443
-
1444
- .r-breadcrumb._previous::after {
1445
- content: "/";
1446
- font-weight: 600;
1447
- margin-inline: 8px;
1448
- }
1449
-
1450
- .r-breadcrumb-link {
1451
- color: var(--r-neutral-700);
1452
- text-decoration: none;
1453
- }
1454
- .r-breadcrumb-link:hover {
1455
- color: var(--r-primary-800);
1456
- }
1457
-
1458
- .r-breadcrumb-link,
1459
- .r-breadcrumb-title {
1460
- display: inline;
1461
- padding: 6px 0;
1462
- margin: 0;
1463
- }
1464
-
1465
- .r-breadcrumb-title {
1466
- color: var(--r-neutral-950);
1467
- font-weight: 600;
1468
1542
  }.r-last-modified {
1469
1543
  color: var(--r-neutral-700);
1470
1544
  margin-block-start: 16px;
1471
- }.r-pagination {
1472
- grid-area: pagination;
1473
- display: grid;
1474
- grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
1475
- gap: 16px;
1476
- margin-bottom: 80px;
1477
- }
1478
-
1479
- .r-pagination-item {
1480
- position: relative;
1481
- padding-top: 8px;
1482
- padding-bottom: 8px;
1483
- text-decoration: none;
1484
- font-size: 14px;
1485
- color: var(--r-neutral-700);
1486
- }
1487
- .r-pagination-item:hover {
1488
- color: var(--r-neutral-900);
1489
- }
1490
-
1491
- .r-pagination-item._prev {
1492
- padding-left: 32px;
1493
- }
1494
-
1495
- .r-pagination-item._next {
1496
- text-align: right;
1497
- padding-right: 32px;
1498
- }
1499
-
1500
- .r-pagination-text {
1501
- display: block;
1502
- line-height: 2;
1503
- }
1504
-
1505
- .r-pagination-title {
1506
- font-weight: 600;
1507
- font-size: 18px;
1508
- color: var(--r-neutral-950);
1509
- }
1510
-
1511
- .r-pagination-icon {
1512
- position: absolute;
1513
- top: 50%;
1514
- transform: translateY(-50%);
1515
- transition: transform 0.2s;
1516
- margin: -4px;
1517
- }
1518
-
1519
- .r-pagination-icon._prev {
1520
- left: 0;
1521
- }
1522
- .r-pagination-item:hover .r-pagination-icon._prev {
1523
- transform: translate(-4px, -50%);
1524
- }
1525
- @media screen and (width >= 1180px) {
1526
- .r-pagination-item:hover .r-pagination-icon._prev {
1527
- transform: translate(-8px, -50%);
1528
- }
1529
- }
1530
-
1531
- .r-pagination-icon._next {
1532
- right: 0;
1533
- }
1534
- .r-pagination-item:hover .r-pagination-icon._next {
1535
- transform: translate(4px, -50%);
1536
- }
1537
- @media screen and (width >= 1180px) {
1538
- .r-pagination-item:hover .r-pagination-icon._next {
1539
- transform: translate(8px, -50%);
1540
- }
1541
- }
1542
-
1543
- .r-pagination-svg {
1544
- display: block;
1545
- }.r-git-logo {
1546
- display: block;
1547
1545
  }.r-external-mark {
1548
1546
  position: relative;
1549
1547
  vertical-align: text-top;
@@ -1575,6 +1573,8 @@
1575
1573
  background-color: currentColor;
1576
1574
  border-radius: 0 0 0 4px;
1577
1575
  box-sizing: border-box;
1576
+ }.r-git-logo {
1577
+ display: block;
1578
1578
  }.r-anchor-heading:hover .r-anchor-heading-link {
1579
1579
  visibility: visible;
1580
1580
  opacity: 1;
@@ -1854,14 +1854,6 @@
1854
1854
  .r-modal._visible {
1855
1855
  transform: translateX(-50%) scale(1);
1856
1856
  }
1857
- }.r-kbd-key {
1858
- background-color: var(--r-neutral-200);
1859
- font-size: 12px;
1860
- border-radius: 4px;
1861
- padding: 5px 8px;
1862
- min-width: 24px;
1863
- text-align: center;
1864
- box-sizing: border-box;
1865
1857
  }.r-kbd-container {
1866
1858
  display: flex;
1867
1859
  gap: 4px;
@@ -1870,6 +1862,14 @@
1870
1862
  }
1871
1863
  .r-kbd-container:hover {
1872
1864
  color: var(--r-neutral-950);
1865
+ }.r-kbd-key {
1866
+ background-color: var(--r-neutral-200);
1867
+ font-size: 12px;
1868
+ border-radius: 4px;
1869
+ padding: 5px 8px;
1870
+ min-width: 24px;
1871
+ text-align: center;
1872
+ box-sizing: border-box;
1873
1873
  }.r-copy-button {
1874
1874
  position: relative;
1875
1875
  padding: 8px;
@@ -2009,17 +2009,21 @@
2009
2009
  text-align: left;
2010
2010
  border-collapse: collapse;
2011
2011
  box-sizing: border-box;
2012
- }.r-td {
2013
- padding: 6px 12px;
2014
- border-bottom: 1px solid var(--r-neutral-400);
2015
- border-collapse: collapse;
2016
2012
  }.r-th {
2017
2013
  padding: 6px 12px;
2018
2014
  border-top: 1px solid var(--r-neutral-500);
2019
2015
  border-bottom: 1px solid var(--r-neutral-500);
2020
2016
  border-collapse: collapse;
2017
+ }.r-td {
2018
+ padding: 6px 12px;
2019
+ border-bottom: 1px solid var(--r-neutral-400);
2020
+ border-collapse: collapse;
2021
2021
  }.r-thead {
2022
2022
  background-color: var(--r-neutral-100);
2023
+ }.r-task-ol {
2024
+ list-style: none;
2025
+ }.r-task-ul {
2026
+ list-style: none;
2023
2027
  }.r-task-li.r-task-li {
2024
2028
  margin-block-start: 2px;
2025
2029
  margin-block-end: 2px;
@@ -2049,10 +2053,6 @@
2049
2053
 
2050
2054
  .r-task-label-text {
2051
2055
  vertical-align: middle;
2052
- }.r-task-ol {
2053
- list-style: none;
2054
- }.r-task-ul {
2055
- list-style: none;
2056
2056
  }.r-backdrop {
2057
2057
  position: fixed;
2058
2058
  top: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "0.0.0-experimental-7bcc2d8",
3
+ "version": "0.0.0-experimental-93b881a",
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": {