robindoc 3.7.0 → 3.7.2

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,5 +1,4 @@
1
1
  import React from "react";
2
- import "./thead.scss";
3
2
  export interface TheadProps {
4
3
  className?: string;
5
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/table/thead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,UAAU;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAE/D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/table/thead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,UAAU;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAE/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/ui/table/thead/index.tsx"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\n\nimport \"./thead.scss\";\n\nexport interface TheadProps {\n className?: string;\n}\n\nexport const Thead: React.FC<React.PropsWithChildren<TheadProps>> = ({ className, children }) => {\n return <thead className={clsx(\"r-thead\", className)}>{children}</thead>;\n};\n"],"names":["Thead","className","children","React","createElement","clsx"],"mappings":"yCASO,MAAMA,EAAuD,EAAGC,YAAWC,cACvEC,EAAAC,cAAA,QAAA,CAAOH,UAAWI,EAAK,UAAWJ,IAAaC"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/ui/table/thead/index.tsx"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\n\nexport interface TheadProps {\n className?: string;\n}\n\nexport const Thead: React.FC<React.PropsWithChildren<TheadProps>> = ({ className, children }) => {\n return <thead className={clsx(\"r-thead\", className)}>{children}</thead>;\n};\n"],"names":["Thead","className","children","React","createElement","clsx"],"mappings":"yCAOO,MAAMA,EAAuD,EAAGC,YAAWC,cACvEC,EAAAC,cAAA,QAAA,CAAOH,UAAWI,EAAK,UAAWJ,IAAaC"}
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import "./tr.scss";
2
3
  export interface TrProps {
3
4
  className?: string;
4
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/table/tr/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,OAAO;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAEzD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/table/tr/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,WAAW,CAAC;AAEnB,MAAM,WAAW,OAAO;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAEzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/ui/table/tr/index.tsx"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\n\nexport interface TrProps {\n className?: string;\n}\n\nexport const Tr: React.FC<React.PropsWithChildren<TrProps>> = ({ className, children }) => {\n return <tr className={clsx(\"r-tr\", className)}>{children}</tr>;\n};\n"],"names":["Tr","className","children","React","createElement","clsx"],"mappings":"yCAOO,MAAMA,EAAiD,EAAGC,YAAWC,cACjEC,EAAAC,cAAA,KAAA,CAAIH,UAAWI,EAAK,OAAQJ,IAAaC"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/ui/table/tr/index.tsx"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\n\nimport \"./tr.scss\";\n\nexport interface TrProps {\n className?: string;\n}\n\nexport const Tr: React.FC<React.PropsWithChildren<TrProps>> = ({ className, children }) => {\n return <tr className={clsx(\"r-tr\", className)}>{children}</tr>;\n};\n"],"names":["Tr","className","children","React","createElement","clsx"],"mappings":"yCASO,MAAMA,EAAiD,EAAGC,YAAWC,cACjEC,EAAAC,cAAA,KAAA,CAAIH,UAAWI,EAAK,OAAQJ,IAAaC"}
@@ -1,2 +1,2 @@
1
- import{readFile as t}from"fs/promises";import{glob as e}from"glob";import s from"path";import{BaseProvider as o}from"./base.js";import{extensionsMap as r}from"../data/contents.js";import{getFileUrl as i,normalizePathname as a}from"../utils/path-tools.js";class c extends o{type="local";sourceRoot;constructor(t=process.cwd()){super(t),this.sourceRoot=t.replaceAll("\\","/"),this.filesPromise=this.loadFiles("")}async getPageSourcePathname(t){if(this.sourceRoot.endsWith(".md")||this.sourceRoot.endsWith(".mdx"))return this.sourceRoot;const e=s.posix.join(this.sourceRoot,t).replaceAll("\\","/").replace(/\/$/,"");return super.getPageSourcePathname(t,e)}async load(e){const s=await this.getPageSourcePathname(e);if(!s)throw new Error(`Can not find file for "${e}"`);return await t(s,"utf-8")}async getFileSrc(e,o,i){if(o.match(/https?:\/\//))return o;const a=s.posix.join(process.cwd(),e?.replace(/^\//,"./")||"",o.replace(/^\//,"./")),c=s.posix.relative(process.cwd(),a),{dir:n,ext:l}=s.parse(c),p=i&&new RegExp(`^(${i?.join("|")})(/|$)`),u=p&&n.match(p);let h=o;if(u)h=`${c.replace(u[1],"")}`;else if(l in r){const e=await t(c,"base64");h=`data:${r[l]};base64,${e}`}return h}async loadFiles(t){const o=t?.replace(/^\//,""),r=(await e(["**/*.{md,mdx}","**/structure.json"],{cwd:this.sourceRoot,posix:!0})).reduce((t,e)=>{if(!o||o&&e.startsWith(o)){const r=s.relative(process.cwd(),(this.sourceRoot||".")+"/"+e).replace(/\\/g,"/");if(e.match(/\.mdx?$/)){const s=i("/"+e),c=a(s.substring(o?.length||0)),n=c.replace(/\/[0-9]+[-_](.)/g,"/$1");t.docs.push({origPath:r,clientPath:n,origClientPath:c})}else t.structures.push(r)}return t},{docs:[],structures:[]});return r.docs.sort((t,e)=>t.origClientPath.localeCompare(e.origClientPath)),this.filesPromise=r,r}}export{c as FileSystemProvider};
1
+ import{readFile as t}from"fs/promises";import{glob as e}from"tinyglobby";import s from"path";import{BaseProvider as o}from"./base.js";import{extensionsMap as r}from"../data/contents.js";import{getFileUrl as i,normalizePathname as a}from"../utils/path-tools.js";class c extends o{type="local";sourceRoot;constructor(t=process.cwd()){super(t),this.sourceRoot=t.replaceAll("\\","/"),this.filesPromise=this.loadFiles("")}async getPageSourcePathname(t){if(this.sourceRoot.endsWith(".md")||this.sourceRoot.endsWith(".mdx"))return this.sourceRoot;const e=s.posix.join(this.sourceRoot,t).replaceAll("\\","/").replace(/\/$/,"");return super.getPageSourcePathname(t,e)}async load(e){const s=await this.getPageSourcePathname(e);if(!s)throw new Error(`Can not find file for "${e}"`);return await t(s,"utf-8")}async getFileSrc(e,o,i){if(o.match(/https?:\/\//))return o;const a=s.posix.join(process.cwd(),e?.replace(/^\//,"./")||"",o.replace(/^\//,"./")),c=s.posix.relative(process.cwd(),a),{dir:n,ext:l}=s.parse(c),p=i&&new RegExp(`^(${i?.join("|")})(/|$)`),u=p&&n.match(p);let h=o;if(u)h=`${c.replace(u[1],"")}`;else if(l in r){const e=await t(c,"base64");h=`data:${r[l]};base64,${e}`}return h}async loadFiles(t){const o=t?.replace(/^\//,""),r=(await e(["**/*.{md,mdx}","**/structure.json"],{cwd:this.sourceRoot})).reduce((t,e)=>{if(!o||o&&e.startsWith(o)){const r=s.relative(process.cwd(),(this.sourceRoot||".")+"/"+e).replace(/\\/g,"/");if(e.match(/\.mdx?$/)){const s=i("/"+e),c=a(s.substring(o?.length||0)),n=c.replace(/\/[0-9]+[-_](.)/g,"/$1");t.docs.push({origPath:r,clientPath:n,origClientPath:c})}else t.structures.push(r)}return t},{docs:[],structures:[]});return r.docs.sort((t,e)=>t.origClientPath.localeCompare(e.origClientPath)),this.filesPromise=r,r}}export{c as FileSystemProvider};
2
2
  //# sourceMappingURL=file-system.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-system.js","sources":["../../../src/core/providers/file-system.ts"],"sourcesContent":["import { readFile } from \"fs/promises\";\nimport { glob } from \"glob\";\nimport path from \"path\";\n\nimport { type BranchFiles } from \"../types/content\";\nimport { BaseProvider } from \"./base\";\nimport { extensionsMap } from \"../data/contents\";\nimport { getFileUrl, normalizePathname } from \"../utils/path-tools\";\n\nexport class FileSystemProvider extends BaseProvider {\n readonly type = \"local\";\n\n sourceRoot: string;\n\n constructor(sourceRoot: string = process.cwd()) {\n super(sourceRoot);\n this.sourceRoot = sourceRoot.replaceAll(\"\\\\\", \"/\");\n this.filesPromise = this.loadFiles(\"\");\n }\n\n async getPageSourcePathname(uri: string) {\n if (this.sourceRoot.endsWith(\".md\") || this.sourceRoot.endsWith(\".mdx\")) {\n return this.sourceRoot;\n }\n const fullUri = path.posix.join(this.sourceRoot, uri).replaceAll(\"\\\\\", \"/\").replace(/\\/$/, \"\");\n return super.getPageSourcePathname(uri, fullUri);\n }\n\n async load(uri: string) {\n const filePath = await this.getPageSourcePathname(uri);\n if (!filePath) {\n throw new Error(`Can not find file for \"${uri}\"`);\n }\n const content = await readFile(filePath, \"utf-8\");\n return content;\n }\n\n async getFileSrc(uri: string, href: string, publicDirs?: string[]) {\n if (href.match(/https?:\\/\\//)) return href;\n\n const assetPath = path.posix.join(process.cwd(), uri?.replace(/^\\//, \"./\") || \"\", href.replace(/^\\//, \"./\"));\n const relativePath = path.posix.relative(process.cwd(), assetPath);\n const { dir, ext } = path.parse(relativePath);\n const publicDirsRule = publicDirs && new RegExp(`^(${publicDirs?.join(\"|\")})(\\/|$)`);\n const publicDirMatch = publicDirsRule && dir.match(publicDirsRule);\n\n let src = href;\n if (publicDirMatch) {\n src = `${relativePath.replace(publicDirMatch[1], \"\")}`;\n } else if (ext in extensionsMap) {\n const base64Image = await readFile(relativePath, \"base64\");\n src = `data:${extensionsMap[ext as keyof typeof extensionsMap]};base64,${base64Image}`;\n }\n return src;\n }\n\n private async loadFiles(pathname?: string) {\n const pathnameClean = pathname?.replace(/^\\//, \"\");\n const files = await glob([\"**/*.{md,mdx}\", \"**/structure.json\"], { cwd: this.sourceRoot, posix: true });\n\n const fileTree = files.reduce<BranchFiles>(\n (acc, item) => {\n if (!pathnameClean || (pathnameClean && item.startsWith(pathnameClean))) {\n const origPath = path\n .relative(process.cwd(), (this.sourceRoot || \".\") + \"/\" + item)\n .replace(/\\\\/g, \"/\");\n\n if (item.match(/\\.mdx?$/)) {\n const clientUrl = getFileUrl(\"/\" + item);\n const origClientPath = normalizePathname(clientUrl.substring(pathnameClean?.length || 0));\n const clientPath = origClientPath.replace(/\\/[0-9]+[-_](.)/g, \"/$1\");\n\n acc.docs.push({\n origPath,\n clientPath,\n origClientPath,\n });\n } else {\n acc.structures.push(origPath);\n }\n }\n return acc;\n },\n { docs: [], structures: [] },\n );\n fileTree.docs.sort((a, b) => a.origClientPath.localeCompare(b.origClientPath));\n this.filesPromise = fileTree;\n return fileTree;\n }\n}\n"],"names":["FileSystemProvider","BaseProvider","type","sourceRoot","constructor","process","cwd","super","this","replaceAll","filesPromise","loadFiles","getPageSourcePathname","uri","endsWith","fullUri","path","posix","join","replace","load","filePath","Error","readFile","getFileSrc","href","publicDirs","match","assetPath","relativePath","relative","dir","ext","parse","publicDirsRule","RegExp","publicDirMatch","src","extensionsMap","base64Image","pathname","pathnameClean","fileTree","glob","reduce","acc","item","startsWith","origPath","clientUrl","getFileUrl","origClientPath","normalizePathname","substring","length","clientPath","docs","push","structures","sort","a","b","localeCompare"],"mappings":"+PASM,MAAOA,UAA2BC,EAC3BC,KAAO,QAEhBC,WAEA,WAAAC,CAAYD,EAAqBE,QAAQC,OACrCC,MAAMJ,GACNK,KAAKL,WAAaA,EAAWM,WAAW,KAAM,KAC9CD,KAAKE,aAAeF,KAAKG,UAAU,GACvC,CAEA,2BAAMC,CAAsBC,GACxB,GAAIL,KAAKL,WAAWW,SAAS,QAAUN,KAAKL,WAAWW,SAAS,QAC5D,OAAON,KAAKL,WAEhB,MAAMY,EAAUC,EAAKC,MAAMC,KAAKV,KAAKL,WAAYU,GAAKJ,WAAW,KAAM,KAAKU,QAAQ,MAAO,IAC3F,OAAOZ,MAAMK,sBAAsBC,EAAKE,EAC5C,CAEA,UAAMK,CAAKP,GACP,MAAMQ,QAAiBb,KAAKI,sBAAsBC,GAClD,IAAKQ,EACD,MAAM,IAAIC,MAAM,0BAA0BT,MAG9C,aADsBU,EAASF,EAAU,QAE7C,CAEA,gBAAMG,CAAWX,EAAaY,EAAcC,GACxC,GAAID,EAAKE,MAAM,eAAgB,OAAOF,EAEtC,MAAMG,EAAYZ,EAAKC,MAAMC,KAAKb,QAAQC,MAAOO,GAAKM,QAAQ,MAAO,OAAS,GAAIM,EAAKN,QAAQ,MAAO,OAChGU,EAAeb,EAAKC,MAAMa,SAASzB,QAAQC,MAAOsB,IAClDG,IAAEA,EAAGC,IAAEA,GAAQhB,EAAKiB,MAAMJ,GAC1BK,EAAiBR,GAAc,IAAIS,OAAO,KAAKT,GAAYR,KAAK,cAChEkB,EAAiBF,GAAkBH,EAAIJ,MAAMO,GAEnD,IAAIG,EAAMZ,EACV,GAAIW,EACAC,EAAM,GAAGR,EAAaV,QAAQiB,EAAe,GAAI,WAC9C,GAAIJ,KAAOM,EAAe,CAC7B,MAAMC,QAAoBhB,EAASM,EAAc,UACjDQ,EAAM,QAAQC,EAAcN,aAA6CO,GAC7E,CACA,OAAOF,CACX,CAEQ,eAAM1B,CAAU6B,GACpB,MAAMC,EAAgBD,GAAUrB,QAAQ,MAAO,IAGzCuB,SAFcC,EAAK,CAAC,gBAAiB,qBAAsB,CAAErC,IAAKE,KAAKL,WAAYc,OAAO,KAEzE2B,OACnB,CAACC,EAAKC,KACF,IAAKL,GAAkBA,GAAiBK,EAAKC,WAAWN,GAAiB,CACrE,MAAMO,EAAWhC,EACZc,SAASzB,QAAQC,OAAQE,KAAKL,YAAc,KAAO,IAAM2C,GACzD3B,QAAQ,MAAO,KAEpB,GAAI2B,EAAKnB,MAAM,WAAY,CACvB,MAAMsB,EAAYC,EAAW,IAAMJ,GAC7BK,EAAiBC,EAAkBH,EAAUI,UAAUZ,GAAea,QAAU,IAChFC,EAAaJ,EAAehC,QAAQ,mBAAoB,OAE9D0B,EAAIW,KAAKC,KAAK,CACVT,WACAO,aACAJ,kBAER,MACIN,EAAIa,WAAWD,KAAKT,EAE5B,CACA,OAAOH,GAEX,CAAEW,KAAM,GAAIE,WAAY,KAI5B,OAFAhB,EAASc,KAAKG,KAAK,CAACC,EAAGC,IAAMD,EAAET,eAAeW,cAAcD,EAAEV,iBAC9D3C,KAAKE,aAAegC,EACbA,CACX"}
1
+ {"version":3,"file":"file-system.js","sources":["../../../src/core/providers/file-system.ts"],"sourcesContent":["import { readFile } from \"fs/promises\";\nimport { glob } from \"tinyglobby\";\nimport path from \"path\";\n\nimport { type BranchFiles } from \"../types/content\";\nimport { BaseProvider } from \"./base\";\nimport { extensionsMap } from \"../data/contents\";\nimport { getFileUrl, normalizePathname } from \"../utils/path-tools\";\n\nexport class FileSystemProvider extends BaseProvider {\n readonly type = \"local\";\n\n sourceRoot: string;\n\n constructor(sourceRoot: string = process.cwd()) {\n super(sourceRoot);\n this.sourceRoot = sourceRoot.replaceAll(\"\\\\\", \"/\");\n this.filesPromise = this.loadFiles(\"\");\n }\n\n async getPageSourcePathname(uri: string) {\n if (this.sourceRoot.endsWith(\".md\") || this.sourceRoot.endsWith(\".mdx\")) {\n return this.sourceRoot;\n }\n const fullUri = path.posix.join(this.sourceRoot, uri).replaceAll(\"\\\\\", \"/\").replace(/\\/$/, \"\");\n return super.getPageSourcePathname(uri, fullUri);\n }\n\n async load(uri: string) {\n const filePath = await this.getPageSourcePathname(uri);\n if (!filePath) {\n throw new Error(`Can not find file for \"${uri}\"`);\n }\n const content = await readFile(filePath, \"utf-8\");\n return content;\n }\n\n async getFileSrc(uri: string, href: string, publicDirs?: string[]) {\n if (href.match(/https?:\\/\\//)) return href;\n\n const assetPath = path.posix.join(process.cwd(), uri?.replace(/^\\//, \"./\") || \"\", href.replace(/^\\//, \"./\"));\n const relativePath = path.posix.relative(process.cwd(), assetPath);\n const { dir, ext } = path.parse(relativePath);\n const publicDirsRule = publicDirs && new RegExp(`^(${publicDirs?.join(\"|\")})(\\/|$)`);\n const publicDirMatch = publicDirsRule && dir.match(publicDirsRule);\n\n let src = href;\n if (publicDirMatch) {\n src = `${relativePath.replace(publicDirMatch[1], \"\")}`;\n } else if (ext in extensionsMap) {\n const base64Image = await readFile(relativePath, \"base64\");\n src = `data:${extensionsMap[ext as keyof typeof extensionsMap]};base64,${base64Image}`;\n }\n return src;\n }\n\n private async loadFiles(pathname?: string) {\n const pathnameClean = pathname?.replace(/^\\//, \"\");\n const files = await glob([\"**/*.{md,mdx}\", \"**/structure.json\"], { cwd: this.sourceRoot });\n\n const fileTree = files.reduce<BranchFiles>(\n (acc, item) => {\n if (!pathnameClean || (pathnameClean && item.startsWith(pathnameClean))) {\n const origPath = path\n .relative(process.cwd(), (this.sourceRoot || \".\") + \"/\" + item)\n .replace(/\\\\/g, \"/\");\n\n if (item.match(/\\.mdx?$/)) {\n const clientUrl = getFileUrl(\"/\" + item);\n const origClientPath = normalizePathname(clientUrl.substring(pathnameClean?.length || 0));\n const clientPath = origClientPath.replace(/\\/[0-9]+[-_](.)/g, \"/$1\");\n\n acc.docs.push({\n origPath,\n clientPath,\n origClientPath,\n });\n } else {\n acc.structures.push(origPath);\n }\n }\n return acc;\n },\n { docs: [], structures: [] },\n );\n fileTree.docs.sort((a, b) => a.origClientPath.localeCompare(b.origClientPath));\n this.filesPromise = fileTree;\n return fileTree;\n }\n}\n"],"names":["FileSystemProvider","BaseProvider","type","sourceRoot","constructor","process","cwd","super","this","replaceAll","filesPromise","loadFiles","getPageSourcePathname","uri","endsWith","fullUri","path","posix","join","replace","load","filePath","Error","readFile","getFileSrc","href","publicDirs","match","assetPath","relativePath","relative","dir","ext","parse","publicDirsRule","RegExp","publicDirMatch","src","extensionsMap","base64Image","pathname","pathnameClean","fileTree","glob","reduce","acc","item","startsWith","origPath","clientUrl","getFileUrl","origClientPath","normalizePathname","substring","length","clientPath","docs","push","structures","sort","a","b","localeCompare"],"mappings":"qQASM,MAAOA,UAA2BC,EAC3BC,KAAO,QAEhBC,WAEA,WAAAC,CAAYD,EAAqBE,QAAQC,OACrCC,MAAMJ,GACNK,KAAKL,WAAaA,EAAWM,WAAW,KAAM,KAC9CD,KAAKE,aAAeF,KAAKG,UAAU,GACvC,CAEA,2BAAMC,CAAsBC,GACxB,GAAIL,KAAKL,WAAWW,SAAS,QAAUN,KAAKL,WAAWW,SAAS,QAC5D,OAAON,KAAKL,WAEhB,MAAMY,EAAUC,EAAKC,MAAMC,KAAKV,KAAKL,WAAYU,GAAKJ,WAAW,KAAM,KAAKU,QAAQ,MAAO,IAC3F,OAAOZ,MAAMK,sBAAsBC,EAAKE,EAC5C,CAEA,UAAMK,CAAKP,GACP,MAAMQ,QAAiBb,KAAKI,sBAAsBC,GAClD,IAAKQ,EACD,MAAM,IAAIC,MAAM,0BAA0BT,MAG9C,aADsBU,EAASF,EAAU,QAE7C,CAEA,gBAAMG,CAAWX,EAAaY,EAAcC,GACxC,GAAID,EAAKE,MAAM,eAAgB,OAAOF,EAEtC,MAAMG,EAAYZ,EAAKC,MAAMC,KAAKb,QAAQC,MAAOO,GAAKM,QAAQ,MAAO,OAAS,GAAIM,EAAKN,QAAQ,MAAO,OAChGU,EAAeb,EAAKC,MAAMa,SAASzB,QAAQC,MAAOsB,IAClDG,IAAEA,EAAGC,IAAEA,GAAQhB,EAAKiB,MAAMJ,GAC1BK,EAAiBR,GAAc,IAAIS,OAAO,KAAKT,GAAYR,KAAK,cAChEkB,EAAiBF,GAAkBH,EAAIJ,MAAMO,GAEnD,IAAIG,EAAMZ,EACV,GAAIW,EACAC,EAAM,GAAGR,EAAaV,QAAQiB,EAAe,GAAI,WAC9C,GAAIJ,KAAOM,EAAe,CAC7B,MAAMC,QAAoBhB,EAASM,EAAc,UACjDQ,EAAM,QAAQC,EAAcN,aAA6CO,GAC7E,CACA,OAAOF,CACX,CAEQ,eAAM1B,CAAU6B,GACpB,MAAMC,EAAgBD,GAAUrB,QAAQ,MAAO,IAGzCuB,SAFcC,EAAK,CAAC,gBAAiB,qBAAsB,CAAErC,IAAKE,KAAKL,cAEtDyC,OACnB,CAACC,EAAKC,KACF,IAAKL,GAAkBA,GAAiBK,EAAKC,WAAWN,GAAiB,CACrE,MAAMO,EAAWhC,EACZc,SAASzB,QAAQC,OAAQE,KAAKL,YAAc,KAAO,IAAM2C,GACzD3B,QAAQ,MAAO,KAEpB,GAAI2B,EAAKnB,MAAM,WAAY,CACvB,MAAMsB,EAAYC,EAAW,IAAMJ,GAC7BK,EAAiBC,EAAkBH,EAAUI,UAAUZ,GAAea,QAAU,IAChFC,EAAaJ,EAAehC,QAAQ,mBAAoB,OAE9D0B,EAAIW,KAAKC,KAAK,CACVT,WACAO,aACAJ,kBAER,MACIN,EAAIa,WAAWD,KAAKT,EAE5B,CACA,OAAOH,GAEX,CAAEW,KAAM,GAAIE,WAAY,KAI5B,OAFAhB,EAASc,KAAKG,KAAK,CAACC,EAAGC,IAAMD,EAAET,eAAeW,cAAcD,EAAEV,iBAC9D3C,KAAKE,aAAegC,EACbA,CACX"}
package/lib/styles.css CHANGED
@@ -1,41 +1,4 @@
1
- .r-footer {
2
- border-top: 1px solid var(--r-main-300);
3
- }
4
-
5
- .r-footer-container.r-footer-container {
6
- padding: 16px 24px;
7
- }
8
-
9
- .r-footer-row {
10
- display: flex;
11
- justify-content: space-between;
12
- align-items: center;
13
- gap: 32px;
14
- }
15
-
16
- .r-footer-additional {
17
- margin-top: 20px;
18
- justify-content: flex-end;
19
- }
20
-
21
- .r-copyright {
22
- color: var(--r-main-800);
23
- }
24
-
25
- .r-powered {
26
- font-size: 14px;
27
- display: block;
28
- color: var(--r-main-600);
29
- }
30
-
31
- .r-powered-link {
32
- font-weight: 600;
33
- text-decoration: none;
34
- color: var(--r-main-950);
35
- }
36
- .r-powered-link:hover {
37
- color: var(--r-primary-900);
38
- }.r-header {
1
+ .r-header {
39
2
  position: sticky;
40
3
  background-color: var(--r-main-50);
41
4
  top: 0;
@@ -52,8 +15,14 @@
52
15
  align-items: center;
53
16
  gap: 24px;
54
17
  box-sizing: border-box;
55
- padding-left: 24px;
56
- padding-right: 24px;
18
+ padding-left: 12px;
19
+ padding-right: 12px;
20
+ }
21
+ @media screen and (width >= 1024px) {
22
+ .r-header-body.r-header-body {
23
+ padding-left: 24px;
24
+ padding-right: 24px;
25
+ }
57
26
  }
58
27
 
59
28
  .r-header-logo {
@@ -129,6 +98,49 @@
129
98
  width: 100%;
130
99
  left: 0;
131
100
  }
101
+ }.r-footer {
102
+ border-top: 1px solid var(--r-main-300);
103
+ }
104
+
105
+ .r-footer-container.r-footer-container {
106
+ padding: 16px 12px;
107
+ }
108
+ @media screen and (width >= 1024px) {
109
+ .r-footer-container.r-footer-container {
110
+ padding-left: 24px;
111
+ padding-right: 24px;
112
+ }
113
+ }
114
+
115
+ .r-footer-row {
116
+ display: flex;
117
+ justify-content: space-between;
118
+ align-items: center;
119
+ gap: 32px;
120
+ }
121
+
122
+ .r-footer-additional {
123
+ margin-top: 20px;
124
+ justify-content: flex-end;
125
+ }
126
+
127
+ .r-copyright {
128
+ color: var(--r-main-800);
129
+ }
130
+
131
+ .r-powered {
132
+ font-size: 14px;
133
+ display: block;
134
+ color: var(--r-main-600);
135
+ }
136
+
137
+ .r-powered-link {
138
+ font-weight: 600;
139
+ text-decoration: none;
140
+ color: var(--r-main-950);
141
+ }
142
+ .r-powered-link:hover {
143
+ color: var(--r-primary-900);
132
144
  }.r-root {
133
145
  --r-header-height: 60px;
134
146
  position: relative;
@@ -752,79 +764,6 @@
752
764
 
753
765
  .r-sidebar-drop[open] > .r-sidebar-drop-btn > .r-sidebar-drop-icon {
754
766
  transform: rotate(90deg);
755
- }.r-theme-switcher {
756
- position: relative;
757
- display: flex;
758
- gap: 4px;
759
- width: 109px;
760
- height: 37px;
761
- padding: 2px;
762
- background-color: var(--r-main-100);
763
- border: 1px solid var(--r-main-200);
764
- border-radius: 100px;
765
- box-sizing: border-box;
766
- }
767
- .r-theme-switcher::before {
768
- content: "";
769
- position: absolute;
770
- display: block;
771
- height: 32px;
772
- width: 32px;
773
- top: 2px;
774
- left: 2px;
775
- background-color: var(--r-main-50);
776
- border: 1px solid var(--r-main-200);
777
- border-radius: 100px;
778
- transition: left 0.2s;
779
- box-sizing: border-box;
780
- }
781
-
782
- .r-theme-switcher-btn {
783
- padding: 8px;
784
- background: none;
785
- border: 0;
786
- border-radius: 100px;
787
- cursor: pointer;
788
- color: var(--r-main-700);
789
- fill: transparent;
790
- z-index: 1;
791
- transition: color 0.2s 0.1s, fill 0.2s;
792
- }
793
- .r-theme-switcher-btn:hover {
794
- color: var(--r-main-950);
795
- fill: var(--r-main-600);
796
- }
797
-
798
- .r-theme-dark:not(.r-theme-system) .r-theme-switcher::before {
799
- left: 2px;
800
- }
801
-
802
- .r-theme-dark:not(.r-theme-system) .r-theme-switcher-btn__dark,
803
- .r-theme-system .r-theme-switcher-btn__system,
804
- .r-theme-light:not(.r-theme-system) .r-theme-switcher-btn__light {
805
- color: var(--r-main-950);
806
- fill: var(--r-main-950);
807
- pointer-events: none;
808
- }
809
-
810
- .r-theme-switcher::before,
811
- .r-theme-system .r-theme-switcher::before {
812
- left: 38px;
813
- }
814
-
815
- .r-theme-light:not(.r-theme-system) .r-theme-switcher::before {
816
- left: 74px;
817
- }
818
-
819
- .r-theme-switcher-svg {
820
- display: block;
821
- }.r-container {
822
- max-width: 1180px;
823
- padding-right: 12px;
824
- padding-left: 12px;
825
- margin-right: auto;
826
- margin-left: auto;
827
- box-sizing: border-box;
828
767
  }.r-header-menu {
829
768
  display: flex;
830
769
  justify-content: flex-end;
@@ -913,85 +852,6 @@
913
852
  .r-header-input:checked ~ .r-header-burger .r-burger-line._bottom {
914
853
  transform: translateY(0) rotate(-45deg);
915
854
  margin-top: 0;
916
- }.r-dropdown {
917
- position: relative;
918
- color: var(--r-main-600);
919
- transition: color 0.2s 0.1s;
920
- }
921
- .r-dropdown:hover, .r-dropdown:focus-within {
922
- color: var(--r-main-950);
923
- }
924
- .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
925
- visibility: visible;
926
- pointer-events: all;
927
- transform: translateY(20px);
928
- opacity: 1;
929
- }
930
- .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
931
- transform: rotate(180deg);
932
- }
933
-
934
- .r-dropdown-summary {
935
- display: flex;
936
- justify-content: space-between;
937
- align-items: center;
938
- width: 100%;
939
- position: relative;
940
- color: inherit;
941
- cursor: pointer;
942
- padding: 10px 4px;
943
- font-size: 16px;
944
- border: 0;
945
- background: none;
946
- z-index: 1;
947
- box-sizing: border-box;
948
- }
949
-
950
- .r-dropdown-chevron {
951
- display: block;
952
- margin-left: 6px;
953
- transition: transform 0.3s 0.1s;
954
- box-sizing: border-box;
955
- }
956
-
957
- .r-dropdown-drop {
958
- list-style: none;
959
- position: absolute;
960
- top: 16px;
961
- left: -12px;
962
- visibility: hidden;
963
- pointer-events: none;
964
- opacity: 0;
965
- transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
966
- background-color: var(--r-main-50);
967
- border: 1px solid var(--r-main-100);
968
- border-radius: 8px;
969
- margin: 0;
970
- padding: 2px 6px;
971
- min-width: 120px;
972
- max-width: 180px;
973
- box-sizing: border-box;
974
- }
975
-
976
- .r-dropdown-link {
977
- display: block;
978
- width: 100%;
979
- text-decoration: none;
980
- color: var(--r-main-700);
981
- padding: 4px 8px;
982
- margin-top: 4px;
983
- margin-bottom: 4px;
984
- border-radius: 4px;
985
- transition: background-color 0.2s;
986
- box-sizing: border-box;
987
- }
988
- .r-dropdown-link:hover {
989
- color: var(--r-main-900);
990
- background-color: var(--r-main-100);
991
- }
992
-
993
- .r-dropdown-link._active {
994
- color: var(--r-primary-700);
995
855
  }.r-search-btn {
996
856
  position: relative;
997
857
  border-radius: 6px;
@@ -1175,24 +1035,176 @@
1175
1035
  font-size: 14px;
1176
1036
  color: var(--r-main-600);
1177
1037
  margin: 12px 0 0;
1178
- }.r-header-social {
1179
- display: flex;
1180
- flex: 1;
1181
- justify-content: flex-end;
1038
+ }.r-dropdown {
1039
+ position: relative;
1040
+ color: var(--r-main-600);
1041
+ transition: color 0.2s 0.1s;
1182
1042
  }
1183
- @media screen and (width >= 1024px) {
1184
- .r-header-social {
1185
- flex: none;
1186
- justify-content: unset;
1187
- }
1043
+ .r-dropdown:hover, .r-dropdown:focus-within {
1044
+ color: var(--r-main-950);
1188
1045
  }
1189
-
1190
- .r-header-social-git {
1191
- color: var(--r-main-700);
1192
- transition: color 0.2s;
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;
1193
1051
  }
1194
- .r-header-social-git:hover, .r-header-social-git:focus {
1195
- color: var(--r-main-950);
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
+ }.r-header-social {
1118
+ display: flex;
1119
+ flex: 1;
1120
+ justify-content: flex-end;
1121
+ }
1122
+ @media screen and (width >= 1024px) {
1123
+ .r-header-social {
1124
+ flex: none;
1125
+ justify-content: unset;
1126
+ }
1127
+ }
1128
+
1129
+ .r-header-social-git {
1130
+ color: var(--r-main-700);
1131
+ transition: color 0.2s;
1132
+ }
1133
+ .r-header-social-git:hover, .r-header-social-git:focus {
1134
+ color: var(--r-main-950);
1135
+ }.r-container {
1136
+ max-width: 1180px;
1137
+ padding-right: 12px;
1138
+ padding-left: 12px;
1139
+ margin-right: auto;
1140
+ margin-left: auto;
1141
+ box-sizing: border-box;
1142
+ }.r-theme-switcher {
1143
+ position: relative;
1144
+ display: flex;
1145
+ gap: 4px;
1146
+ width: 109px;
1147
+ height: 37px;
1148
+ padding: 2px;
1149
+ background-color: var(--r-main-100);
1150
+ border: 1px solid var(--r-main-200);
1151
+ border-radius: 100px;
1152
+ box-sizing: border-box;
1153
+ }
1154
+ .r-theme-switcher::before {
1155
+ content: "";
1156
+ position: absolute;
1157
+ display: block;
1158
+ height: 32px;
1159
+ width: 32px;
1160
+ top: 2px;
1161
+ left: 2px;
1162
+ background-color: var(--r-main-50);
1163
+ border: 1px solid var(--r-main-200);
1164
+ border-radius: 100px;
1165
+ transition: left 0.2s;
1166
+ box-sizing: border-box;
1167
+ }
1168
+
1169
+ .r-theme-switcher-btn {
1170
+ padding: 8px;
1171
+ background: none;
1172
+ border: 0;
1173
+ border-radius: 100px;
1174
+ cursor: pointer;
1175
+ color: var(--r-main-700);
1176
+ fill: transparent;
1177
+ z-index: 1;
1178
+ transition: color 0.2s 0.1s, fill 0.2s;
1179
+ }
1180
+ .r-theme-switcher-btn:hover {
1181
+ color: var(--r-main-950);
1182
+ fill: var(--r-main-600);
1183
+ }
1184
+
1185
+ .r-theme-dark:not(.r-theme-system) .r-theme-switcher::before {
1186
+ left: 2px;
1187
+ }
1188
+
1189
+ .r-theme-dark:not(.r-theme-system) .r-theme-switcher-btn__dark,
1190
+ .r-theme-system .r-theme-switcher-btn__system,
1191
+ .r-theme-light:not(.r-theme-system) .r-theme-switcher-btn__light {
1192
+ color: var(--r-main-950);
1193
+ fill: var(--r-main-950);
1194
+ pointer-events: none;
1195
+ }
1196
+
1197
+ .r-theme-switcher::before,
1198
+ .r-theme-system .r-theme-switcher::before {
1199
+ left: 38px;
1200
+ }
1201
+
1202
+ .r-theme-light:not(.r-theme-system) .r-theme-switcher::before {
1203
+ left: 74px;
1204
+ }
1205
+
1206
+ .r-theme-switcher-svg {
1207
+ display: block;
1196
1208
  }.r-keylink {
1197
1209
  display: block;
1198
1210
  position: relative;
@@ -1493,6 +1505,9 @@
1493
1505
  .r-breadcrumb-title {
1494
1506
  color: var(--r-main-950);
1495
1507
  font-weight: 600;
1508
+ }.r-last-modified {
1509
+ color: var(--r-main-700);
1510
+ margin-block-start: 16px;
1496
1511
  }.r-pagination {
1497
1512
  grid-area: pagination;
1498
1513
  display: grid;
@@ -1565,9 +1580,22 @@
1565
1580
 
1566
1581
  .r-pagination-svg {
1567
1582
  display: block;
1568
- }.r-last-modified {
1569
- color: var(--r-main-700);
1570
- margin-block-start: 16px;
1583
+ }.r-backdrop {
1584
+ position: fixed;
1585
+ top: 0;
1586
+ right: 0;
1587
+ bottom: 0;
1588
+ left: 0;
1589
+ opacity: 0;
1590
+ visibility: hidden;
1591
+ pointer-events: none;
1592
+ z-index: 100;
1593
+ }
1594
+
1595
+ .r-backdrop._visible {
1596
+ opacity: 1;
1597
+ visibility: visible;
1598
+ pointer-events: all;
1571
1599
  }.r-git-logo {
1572
1600
  display: block;
1573
1601
  }.r-external-mark {
@@ -1601,22 +1629,6 @@
1601
1629
  background-color: currentColor;
1602
1630
  border-radius: 0 0 0 4px;
1603
1631
  box-sizing: border-box;
1604
- }.r-backdrop {
1605
- position: fixed;
1606
- top: 0;
1607
- right: 0;
1608
- bottom: 0;
1609
- left: 0;
1610
- opacity: 0;
1611
- visibility: hidden;
1612
- pointer-events: none;
1613
- z-index: 100;
1614
- }
1615
-
1616
- .r-backdrop._visible {
1617
- opacity: 1;
1618
- visibility: visible;
1619
- pointer-events: all;
1620
1632
  }.r-kbd-container {
1621
1633
  display: flex;
1622
1634
  gap: 4px;
@@ -1704,6 +1716,7 @@
1704
1716
  .r-code-section-filename {
1705
1717
  font-family: var(--monospace-font, monospace, monospace);
1706
1718
  }.r-block {
1719
+ position: relative;
1707
1720
  width: 100%;
1708
1721
  overflow: auto;
1709
1722
  margin-block-start: 12px;
@@ -1711,16 +1724,18 @@
1711
1724
  scrollbar-width: thin;
1712
1725
  scrollbar-color: var(--r-main-200) transparent;
1713
1726
  box-sizing: border-box;
1727
+ z-index: 1;
1714
1728
  }.r-blockquote {
1715
- background-color: var(--r-main-100);
1716
- padding: 8px 12px 8px 20px;
1717
- border-left: 6px solid var(--r-main-600);
1729
+ padding: 4px 12px 4px 20px;
1730
+ border: 4px solid var(--r-main-100);
1731
+ border-left: 4px solid var(--r-main-600);
1718
1732
  border-top-right-radius: 2px;
1719
1733
  border-bottom-right-radius: 2px;
1720
1734
  font: inherit;
1721
1735
  margin-inline: 0;
1722
1736
  margin-block-start: 1em;
1723
1737
  margin-block-end: 1em;
1738
+ border-radius: 8px;
1724
1739
  }
1725
1740
 
1726
1741
  .r-blockquote-title {
@@ -1794,6 +1809,9 @@
1794
1809
 
1795
1810
  .r-code-span + .r-content-link-external {
1796
1811
  margin-left: -12px;
1812
+ }.r-img {
1813
+ max-width: 100%;
1814
+ box-sizing: border-box;
1797
1815
  }.r-h1 {
1798
1816
  font-size: 32px;
1799
1817
  line-height: 1.4;
@@ -1834,9 +1852,6 @@
1834
1852
  line-height: 1.4;
1835
1853
  margin-block-start: 1.8em;
1836
1854
  margin-block-end: 1.8em;
1837
- }.r-img {
1838
- max-width: 100%;
1839
- box-sizing: border-box;
1840
1855
  }.r-p {
1841
1856
  line-height: 1.8;
1842
1857
  margin-block-start: 1em;
@@ -1882,6 +1897,55 @@
1882
1897
 
1883
1898
  .r-tab-header-code {
1884
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;
1885
1949
  }.r-copy-button {
1886
1950
  position: relative;
1887
1951
  padding: 6px;
@@ -1953,55 +2017,6 @@
1953
2017
  .r-copy-text:active,
1954
2018
  .r-copy-text._active {
1955
2019
  color: var(--r-success);
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;
1963
- }
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;
1969
- }
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 {
1985
- content: "";
1986
- position: absolute;
1987
- top: 0;
1988
- right: 0;
1989
- width: 100%;
1990
- height: 100%;
1991
- border-top: 1px solid currentColor;
1992
- border-right: 1px solid currentColor;
1993
- box-sizing: border-box;
1994
- }
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
2020
  }.r-li {
2006
2021
  line-height: 1.8;
2007
2022
  margin-block-start: 6px;
@@ -2013,24 +2028,39 @@
2013
2028
  padding-inline-start: 20px;
2014
2029
  margin-block-start: 6px;
2015
2030
  margin-block-end: 6px;
2016
- }.r-ol {
2031
+ }.r-ul {
2017
2032
  padding-inline-start: 2rem;
2018
2033
  margin-block-start: 1em;
2019
2034
  margin-block-end: 1em;
2020
- }.r-ul {
2035
+ }.r-ol {
2021
2036
  padding-inline-start: 2rem;
2022
2037
  margin-block-start: 1em;
2023
2038
  margin-block-end: 1em;
2024
2039
  }.r-table {
2040
+ position: relative;
2025
2041
  min-width: 100%;
2026
2042
  text-align: left;
2027
2043
  border-collapse: collapse;
2028
2044
  box-sizing: border-box;
2045
+ background-color: var(--r-main-50);
2046
+ margin: 4px;
2047
+ border-radius: 6px;
2048
+ }
2049
+ .r-table::before {
2050
+ content: "";
2051
+ inset: -4px;
2052
+ position: absolute;
2053
+ background-color: var(--r-main-100);
2054
+ z-index: -1;
2055
+ border-radius: 8px;
2056
+ border: 1px solid var(--r-main-200);
2029
2057
  }.r-td {
2030
- padding: 6px 12px;
2031
- border-bottom: 1px solid var(--r-main-400);
2058
+ padding: 8px 12px;
2032
2059
  border-collapse: collapse;
2033
2060
  }
2061
+ .r-td:not(:last-child) {
2062
+ border-right: 1px solid var(--r-main-200);
2063
+ }
2034
2064
 
2035
2065
  .r-td_left {
2036
2066
  text-align: left;
@@ -2043,10 +2073,19 @@
2043
2073
  .r-td_right {
2044
2074
  text-align: right;
2045
2075
  }.r-th {
2046
- padding: 6px 12px;
2047
- border-top: 1px solid var(--r-main-500);
2048
- border-bottom: 1px solid var(--r-main-500);
2076
+ padding: 8px 12px;
2049
2077
  border-collapse: collapse;
2078
+ background-color: var(--r-main-100);
2079
+ border-bottom: 1px solid var(--r-main-200);
2080
+ }
2081
+ .r-thead .r-th:first-child {
2082
+ border-top-left-radius: 6px;
2083
+ }
2084
+ .r-thead .r-th:last-child {
2085
+ border-top-right-radius: 6px;
2086
+ }
2087
+ .r-th:not(:last-child) {
2088
+ border-right: 1px solid var(--r-main-200);
2050
2089
  }
2051
2090
 
2052
2091
  .r-th_left {
@@ -2059,6 +2098,11 @@
2059
2098
 
2060
2099
  .r-th_right {
2061
2100
  text-align: right;
2101
+ }.r-tr {
2102
+ border-collapse: collapse;
2103
+ }
2104
+ .r-tr:not(:first-child) {
2105
+ border-top: 1px solid var(--r-main-200);
2062
2106
  }.r-task-li.r-task-li {
2063
2107
  margin-block-start: 2px;
2064
2108
  margin-block-end: 2px;
@@ -2088,8 +2132,6 @@
2088
2132
 
2089
2133
  .r-task-label-text {
2090
2134
  vertical-align: middle;
2091
- }.r-thead {
2092
- background-color: var(--r-main-100);
2093
2135
  }.r-task-ol {
2094
2136
  list-style: none;
2095
2137
  }.r-task-ul {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "3.7.0",
3
+ "version": "3.7.2",
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": {
@@ -36,7 +36,7 @@
36
36
  "clsx": "2.1.1",
37
37
  "dot-prop": "10.1.0",
38
38
  "github-slugger": "2.0.0",
39
- "glob": "13.0.0",
39
+ "tinyglobby": "0.2.15",
40
40
  "gray-matter": "4.0.3",
41
41
  "html-react-parser": "5.2.11",
42
42
  "marked": "17.0.1",