robindoc 0.0.0-experimental-8b6a511 → 0.0.0-experimental-fbc3bd2
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.
- package/lib/components/blocks/code-section/index.d.ts.map +1 -1
- package/lib/components/blocks/code-section/index.js +1 -1
- package/lib/components/blocks/code-section/index.js.map +1 -1
- package/lib/components/blocks/theme-detector/index.js +1 -1
- package/lib/components/blocks/theme-detector/index.js.map +1 -1
- package/lib/components/elements/footer/index.js +1 -1
- package/lib/components/elements/footer/index.js.map +1 -1
- package/lib/components/stores/navigation/contexts.d.ts.map +1 -1
- package/lib/components/stores/navigation/contexts.js +1 -1
- package/lib/components/stores/navigation/contexts.js.map +1 -1
- package/lib/components/stores/navigation/stores.d.ts.map +1 -1
- package/lib/components/stores/navigation/stores.js +1 -1
- package/lib/components/stores/navigation/stores.js.map +1 -1
- package/lib/styles.css +184 -179
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/blocks/code-section/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/blocks/code-section/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAa,KAAK,cAAc,EAAE,4BAAsC;AAC/E,OAAO,EAAc,KAAK,eAAe,EAAE,6BAAuC;AAClF,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,qBAAqB,CAAC;AAE7B,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,eAAe,CAAC,cAAc,CAAC,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;CAClF;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAYlD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{CodeBlock as
|
|
1
|
+
import e from"react";import c from"clsx";import{CodeBlock as t}from"../../ui/code-block/index.js";import{CopyButton as o}from"../../ui/copy-button/index.js";import{CopyText as r}from"../../ui/copy-text/index.js";const a=({filename:a,code:m,...i})=>e.createElement("div",{className:"r-code-section"},a?e.createElement("div",{className:"r-code-section-header"},e.createElement(r,{className:"r-code-section-filename",text:a}),e.createElement(o,{raw:m})):e.createElement(o,{raw:m,className:"r-code-section-copy"}),e.createElement(t,{className:c("r-code-section-block",!a&&"_space-right"),code:m,...i}));export{a as CodeSection};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/blocks/code-section/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CodeBlock, type CodeBlockProps } from \"@src/components/ui/code-block\";\nimport { CopyButton, type CopyButtonProps } from \"@src/components/ui/copy-button\";\nimport { CopyText, type CopyTextProps } from \"../../ui/copy-text\";\n\nimport \"./code-section.scss\";\n\nexport interface CodeSectionProps extends CodeBlockProps {\n filename?: string;\n translations?: CopyButtonProps[\"translations\"] & CopyTextProps[\"translations\"];\n}\n\nexport const CodeSection: React.FC<CodeSectionProps> = ({ filename, code, ...props }) => (\n <div className=\"r-code-section\">\n {filename ? (\n <div className=\"r-code-section-header\">\n <CopyText className=\"r-code-section-filename\" text={filename} />\n <CopyButton raw={code} />\n </div>\n ) : (\n <CopyButton raw={code} className=\"r-code-section-copy\" />\n )}\n <CodeBlock className={
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/blocks/code-section/index.tsx"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\n\nimport { CodeBlock, type CodeBlockProps } from \"@src/components/ui/code-block\";\nimport { CopyButton, type CopyButtonProps } from \"@src/components/ui/copy-button\";\nimport { CopyText, type CopyTextProps } from \"../../ui/copy-text\";\n\nimport \"./code-section.scss\";\n\nexport interface CodeSectionProps extends CodeBlockProps {\n filename?: string;\n translations?: CopyButtonProps[\"translations\"] & CopyTextProps[\"translations\"];\n}\n\nexport const CodeSection: React.FC<CodeSectionProps> = ({ filename, code, ...props }) => (\n <div className=\"r-code-section\">\n {filename ? (\n <div className=\"r-code-section-header\">\n <CopyText className=\"r-code-section-filename\" text={filename} />\n <CopyButton raw={code} />\n </div>\n ) : (\n <CopyButton raw={code} className=\"r-code-section-copy\" />\n )}\n <CodeBlock className={clsx(\"r-code-section-block\", !filename && \"_space-right\")} code={code} {...props} />\n </div>\n);\n"],"names":["CodeSection","filename","code","props","React","createElement","className","CopyText","text","CopyButton","raw","CodeBlock","clsx"],"mappings":"0NAcaA,EAA0C,EAAGC,WAAUC,UAASC,KACzEC,EAAAC,cAAA,MAAA,CAAKC,UAAU,kBACVL,EACGG,EAAAC,cAAA,MAAA,CAAKC,UAAU,yBACXF,EAAAC,cAACE,GAASD,UAAU,0BAA0BE,KAAMP,IACpDG,EAAAC,cAACI,GAAWC,IAAKR,KAGrBE,EAAAC,cAACI,EAAU,CAACC,IAAKR,EAAMI,UAAU,wBAErCF,EAAAC,cAACM,GAAUL,UAAWM,EAAK,wBAAyBX,GAAY,gBAAiBC,KAAMA,KAAUC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import t,{useEffect as
|
|
2
|
+
import t,{useEffect as s}from"react";const e=()=>{const t=document.querySelector(".r-root");if(!t||t.classList.contains("r-ready"))return;t.classList.add("r-ready");const s=localStorage.getItem("theme");s&&["light","dark"].includes(s)?t.classList.add(`r-theme-${s}`):(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 e=localStorage.getItem("r-tabs"),r=e?.split(";").filter(t=>t&&/[\w-]+=[\w]+/.test(t))||[];Array.from(t.classList).forEach(s=>{s.startsWith("r-tabs-global")&&t.classList.remove(s)}),r.forEach(s=>{const[e,r]=s.split("=");t.classList.add(`r-tabs-global__${e}`,`r-tabs-global__${e}_${r}`)})},r=()=>(s(()=>{const t=document.querySelector(".r-root");if(t&&!t.classList.contains("r-ready"))return e(),()=>{t.classList.remove("r-ready")}},[]),t.createElement("script",{id:"detect-theme",dangerouslySetInnerHTML:{__html:`(${e})()`},async:!0}));export{r as ThemeDetector};
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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 || root.classList.contains(\"r-ready\")) return;\n\n root.classList.add(\"r-ready\");\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 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","classList","contains","add","userTheme","localStorage","getItem","includes","window","matchMedia","matches","store","items","split","filter","item","test","Array","from","forEach","className","startsWith","remove","tabsKey","tab","ThemeDetector","useEffect","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,C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,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAUqB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAE3B,CAAA,CAAA,CAAA,CAGCK,CAAAA,CAAAC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA,SAAA,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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{ThemeSwitcher as r}from"../../blocks/theme-switcher/index.js";import{Container as t}from"../../ui/container/index.js";const o=({copyright:o,hidePoweredBy:a})=>e.createElement("footer",{className:"r-footer"},e.createElement(t,
|
|
1
|
+
import e from"react";import{ThemeSwitcher as r}from"../../blocks/theme-switcher/index.js";import{Container as t}from"../../ui/container/index.js";const o=({copyright:o,hidePoweredBy:a})=>e.createElement("footer",{className:"r-footer"},e.createElement(t,{className:"r-footer-container"},e.createElement("div",{className:"r-footer-row"},e.createElement("div",{className:"r-copyright"},o),e.createElement(r,null)),!a&&e.createElement("div",{className:"r-footer-row r-footer-additional"},e.createElement("div",{className:"r-powered"},"Powered by"," ",e.createElement("a",{href:"https://robindoc.com",className:"r-powered-link",target:"_blank",rel:"noopener noreferrer"},"ROBINDOC")))));export{o as Footer};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/elements/footer/index.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ThemeSwitcher } from \"@src/components/blocks/theme-switcher\";\nimport { Container } from \"@src/components/ui/container\";\n\nimport \"./footer.scss\";\n\nexport type FooterProps = {\n copyright: string;\n hidePoweredBy?: boolean;\n};\n\nexport const Footer: React.FC<FooterProps> = ({ copyright, hidePoweredBy }) => (\n <footer className=\"r-footer\">\n <Container>\n <div className=\"r-footer-row\">\n <div className=\"r-copyright\">{copyright}</div>\n <ThemeSwitcher />\n </div>\n {!hidePoweredBy && (\n <div className=\"r-footer-row r-footer-additional\">\n <div className=\"r-powered\">\n Powered by{\" \"}\n <a\n href=\"https://robindoc.com\"\n className=\"r-powered-link\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n ROBINDOC\n </a>\n </div>\n </div>\n )}\n </Container>\n </footer>\n);\n"],"names":["Footer","copyright","hidePoweredBy","React","createElement","className","Container","ThemeSwitcher","href","target","rel"],"mappings":"kJAYO,MAAMA,EAAgC,EAAGC,YAAWC,mBACvDC,EAAAC,cAAA,SAAA,CAAQC,UAAU,YACdF,EAAAC,cAACE,EAAS,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/elements/footer/index.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ThemeSwitcher } from \"@src/components/blocks/theme-switcher\";\nimport { Container } from \"@src/components/ui/container\";\n\nimport \"./footer.scss\";\n\nexport type FooterProps = {\n copyright: string;\n hidePoweredBy?: boolean;\n};\n\nexport const Footer: React.FC<FooterProps> = ({ copyright, hidePoweredBy }) => (\n <footer className=\"r-footer\">\n <Container className=\"r-footer-container\">\n <div className=\"r-footer-row\">\n <div className=\"r-copyright\">{copyright}</div>\n <ThemeSwitcher />\n </div>\n {!hidePoweredBy && (\n <div className=\"r-footer-row r-footer-additional\">\n <div className=\"r-powered\">\n Powered by{\" \"}\n <a\n href=\"https://robindoc.com\"\n className=\"r-powered-link\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n ROBINDOC\n </a>\n </div>\n </div>\n )}\n </Container>\n </footer>\n);\n"],"names":["Footer","copyright","hidePoweredBy","React","createElement","className","Container","ThemeSwitcher","href","target","rel"],"mappings":"kJAYO,MAAMA,EAAgC,EAAGC,YAAWC,mBACvDC,EAAAC,cAAA,SAAA,CAAQC,UAAU,YACdF,EAAAC,cAACE,EAAS,CAACD,UAAU,sBACjBF,EAAAC,cAAA,MAAA,CAAKC,UAAU,gBACXF,EAAAC,cAAA,MAAA,CAAKC,UAAU,eAAeJ,GAC9BE,EAAAC,cAACG,UAEHL,GACEC,EAAAC,cAAA,MAAA,CAAKC,UAAU,oCACXF,EAAAC,cAAA,MAAA,CAAKC,UAAU,0BACA,IACXF,EAAAC,cAAA,IAAA,CACII,KAAK,uBACLH,UAAU,iBACVI,OAAO,SACPC,IAAI,uBAAqB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../src/components/stores/navigation/contexts.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../src/components/stores/navigation/contexts.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8C,MAAM,OAAO,CAAC;AAUnE,eAAO,MAAM,iBAAiB;iBACb,MAAM,MAAM;UACnB,CACF,KAAK,EAAE,IAAI,CACP,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,EACzF,MAAM,CACT,GAAG;QACA,IAAI,EAAE,MAAM,CAAC;KAChB,KACA,KAAK,CAAC,SAAS;EACkD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import e,{createContext as t,
|
|
2
|
+
import e,{createContext as t,useSyncExternalStore as r}from"react";import{navigationStore as o}from"./stores.js";const s=t({usePathname:()=>r(o.subscribe,o.get,()=>""),link:t=>e.createElement("a",{...t})});export{s as NavigationContext};
|
|
3
3
|
//# sourceMappingURL=contexts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.js","sources":["../../../../src/components/stores/navigation/contexts.tsx"],"sourcesContent":["\"use client\";\n\nimport React, { createContext,
|
|
1
|
+
{"version":3,"file":"contexts.js","sources":["../../../../src/components/stores/navigation/contexts.tsx"],"sourcesContent":["\"use client\";\n\nimport React, { createContext, useSyncExternalStore } from \"react\";\n\nimport { navigationStore } from \"./stores\";\n\nconst usePathnameDefault = () => {\n const pathname = useSyncExternalStore(navigationStore.subscribe, navigationStore.get, () => \"\");\n\n return pathname;\n};\n\nexport const NavigationContext = createContext<{\n usePathname: () => string;\n link: (\n props: Omit<\n React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>,\n \"href\"\n > & {\n href: string;\n },\n ) => React.ReactNode;\n}>({ usePathname: usePathnameDefault, link: (props) => <a {...props} /> });\n"],"names":["NavigationContext","createContext","usePathname","useSyncExternalStore","navigationStore","subscribe","get","link","props","React"],"mappings":";iHAMA,MAMaA,CAAAA,CAAoBC,CAAAA,CAU9B,CAAEC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAhBsB,CAAA,CAAA,CAAA,CACNC,CAAAA,CAAqBC,EAAgBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAWD,CAAAA,CAAgBE,CAAAA,CAAAA,CAAAA,CAAK,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAe1DC,CAAAA,CAAAA,CAAAA,CAAAA,CAAOC,GAAUC,CAAAA,uBAAOD,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores.d.ts","sourceRoot":"","sources":["../../../../src/components/stores/navigation/stores.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB;;0BASD,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI;
|
|
1
|
+
{"version":3,"file":"stores.d.ts","sourceRoot":"","sources":["../../../../src/components/stores/navigation/stores.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB;;0BASD,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI;CAkC1D,CAAC;AAEF,eAAO,MAAM,eAAe;;0BApCK,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI;CAoCL,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
const t=()=>"undefined"==typeof window?"/":window.location.pathname,e=()=>{let e=t();const n=new Set,
|
|
2
|
+
const t=()=>"undefined"==typeof window?"/":window.location.pathname,e=()=>{let e=t();const n=new Set,r=()=>{e=t(),n.forEach(t=>t(e))};return(()=>{if("undefined"==typeof window)return;const t=history.pushState,e=history.replaceState;history.pushState=(...e)=>{const n=t.apply(history,e);return requestAnimationFrame(r),n},history.replaceState=(...t)=>{const n=e.apply(history,t);return requestAnimationFrame(r),n},window.addEventListener("popstate",()=>requestAnimationFrame(r))})(),{get:()=>e,subscribe:t=>(n.add(t),()=>{n.delete(t)})}},n=e();export{e as createNavigationStore,n as navigationStore};
|
|
3
3
|
//# sourceMappingURL=stores.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores.js","sources":["../../../../src/components/stores/navigation/stores.ts"],"sourcesContent":["\"use client\";\n\nconst getPathname = () => {\n if (typeof window === \"undefined\") return \"/\";\n return window.location.pathname;\n};\n\nexport const createNavigationStore = () => {\n let pathname = getPathname();\n const listeners = new Set<(pathname: string) => void>();\n\n const notify = () => {\n pathname = getPathname();\n listeners.forEach((l) => l(pathname));\n };\n\n const subscribe = (listener: (pathname: string) => void) => {\n listeners.add(listener);\n return () => {\n listeners.delete(listener);\n };\n };\n\n const init = () => {\n if (typeof window === \"undefined\") return;\n\n const pushState = history.pushState;\n const replaceState = history.replaceState;\n\n history.pushState = (...args: Parameters<typeof history.pushState>) => {\n const ret = pushState.apply(history, args);\n
|
|
1
|
+
{"version":3,"file":"stores.js","sources":["../../../../src/components/stores/navigation/stores.ts"],"sourcesContent":["\"use client\";\n\nconst getPathname = () => {\n if (typeof window === \"undefined\") return \"/\";\n return window.location.pathname;\n};\n\nexport const createNavigationStore = () => {\n let pathname = getPathname();\n const listeners = new Set<(pathname: string) => void>();\n\n const notify = () => {\n pathname = getPathname();\n listeners.forEach((l) => l(pathname));\n };\n\n const subscribe = (listener: (pathname: string) => void) => {\n listeners.add(listener);\n return () => {\n listeners.delete(listener);\n };\n };\n\n const init = () => {\n if (typeof window === \"undefined\") return;\n\n const pushState = history.pushState;\n const replaceState = history.replaceState;\n\n history.pushState = (...args: Parameters<typeof history.pushState>) => {\n const ret = pushState.apply(history, args);\n requestAnimationFrame(notify);\n return ret;\n };\n\n history.replaceState = (...args: Parameters<typeof history.replaceState>) => {\n const ret = replaceState.apply(history, args);\n requestAnimationFrame(notify);\n return ret;\n };\n\n window.addEventListener(\"popstate\", () => requestAnimationFrame(notify));\n };\n\n init();\n\n return {\n get: () => pathname,\n subscribe,\n };\n};\n\nexport const navigationStore = createNavigationStore();\n"],"names":["getPathname","window","location","pathname","createNavigationStore","listeners","Set","notify","forEach","l","pushState","history","replaceState","args","ret","apply","requestAnimationFrame","addEventListener","init","get","subscribe","listener","add","delete","navigationStore"],"mappings":";AAEA,CAAA,CAAA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AAA,CAhCeC,IACfhB,CAAAA,CAAUiB,CAAAA,CAAAA,CAAAA,CAAID,GACP,CAAA,CAAA,CAAA,CAAA,CACHhB,CAAAA,CAAUkB,OAAOF,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAiChBG,CAAAA,CAAkBpB"}
|
package/lib/styles.css
CHANGED
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
color: var(--r-main-700);
|
|
26
26
|
transition: color 0.2s;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
+
font-size: 1.25rem;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
text-decoration: none;
|
|
28
31
|
}
|
|
29
32
|
.r-header-logo:hover, .r-header-logo:focus {
|
|
30
33
|
color: var(--r-main-950);
|
|
@@ -89,41 +92,6 @@
|
|
|
89
92
|
width: 100%;
|
|
90
93
|
left: 0;
|
|
91
94
|
}
|
|
92
|
-
}.r-footer {
|
|
93
|
-
border-top: 1px solid var(--r-main-300);
|
|
94
|
-
padding-top: 16px;
|
|
95
|
-
padding-bottom: 16px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.r-footer-row {
|
|
99
|
-
display: flex;
|
|
100
|
-
justify-content: space-between;
|
|
101
|
-
align-items: center;
|
|
102
|
-
gap: 32px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.r-footer-additional {
|
|
106
|
-
margin-top: 20px;
|
|
107
|
-
justify-content: flex-end;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.r-copyright {
|
|
111
|
-
color: var(--r-main-800);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.r-powered {
|
|
115
|
-
font-size: 14px;
|
|
116
|
-
display: block;
|
|
117
|
-
color: var(--r-main-600);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.r-powered-link {
|
|
121
|
-
font-weight: 600;
|
|
122
|
-
text-decoration: none;
|
|
123
|
-
color: var(--r-main-950);
|
|
124
|
-
}
|
|
125
|
-
.r-powered-link:hover {
|
|
126
|
-
color: var(--r-primary-900);
|
|
127
95
|
}.r-root {
|
|
128
96
|
--r-header-height: 60px;
|
|
129
97
|
position: relative;
|
|
@@ -357,6 +325,61 @@
|
|
|
357
325
|
--r-cl-60: #86181d;
|
|
358
326
|
--r-cl-61: #144620;
|
|
359
327
|
--r-cl-62: #c24e00;
|
|
328
|
+
}.r-footer {
|
|
329
|
+
border-top: 1px solid var(--r-main-300);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.r-footer-container.r-footer-container {
|
|
333
|
+
padding: 16px 24px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.r-footer-row {
|
|
337
|
+
display: flex;
|
|
338
|
+
justify-content: space-between;
|
|
339
|
+
align-items: center;
|
|
340
|
+
gap: 32px;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.r-footer-additional {
|
|
344
|
+
margin-top: 20px;
|
|
345
|
+
justify-content: flex-end;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.r-copyright {
|
|
349
|
+
color: var(--r-main-800);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.r-powered {
|
|
353
|
+
font-size: 14px;
|
|
354
|
+
display: block;
|
|
355
|
+
color: var(--r-main-600);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.r-powered-link {
|
|
359
|
+
font-weight: 600;
|
|
360
|
+
text-decoration: none;
|
|
361
|
+
color: var(--r-main-950);
|
|
362
|
+
}
|
|
363
|
+
.r-powered-link:hover {
|
|
364
|
+
color: var(--r-primary-900);
|
|
365
|
+
}.r-page-container {
|
|
366
|
+
min-height: calc(100dvh - var(--r-header-height));
|
|
367
|
+
overflow-wrap: break-word;
|
|
368
|
+
box-sizing: border-box;
|
|
369
|
+
}.r-blog-container {
|
|
370
|
+
min-height: calc(100dvh - var(--r-header-height));
|
|
371
|
+
overflow-wrap: break-word;
|
|
372
|
+
box-sizing: border-box;
|
|
373
|
+
}
|
|
374
|
+
@media screen and (width >= 1180px) {
|
|
375
|
+
.r-blog-container {
|
|
376
|
+
display: grid;
|
|
377
|
+
justify-content: space-between;
|
|
378
|
+
column-gap: 40px;
|
|
379
|
+
grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
|
|
380
|
+
grid-template-columns: 760px 220px;
|
|
381
|
+
grid-template-rows: auto 1fr auto;
|
|
382
|
+
}
|
|
360
383
|
}.r-docs-container {
|
|
361
384
|
min-height: calc(100dvh - var(--r-header-height));
|
|
362
385
|
overflow-wrap: break-word;
|
|
@@ -379,24 +402,6 @@
|
|
|
379
402
|
grid-template-columns: 200px 640px 238px;
|
|
380
403
|
grid-template-rows: auto 1fr auto;
|
|
381
404
|
}
|
|
382
|
-
}.r-blog-container {
|
|
383
|
-
min-height: calc(100dvh - var(--r-header-height));
|
|
384
|
-
overflow-wrap: break-word;
|
|
385
|
-
box-sizing: border-box;
|
|
386
|
-
}
|
|
387
|
-
@media screen and (width >= 1180px) {
|
|
388
|
-
.r-blog-container {
|
|
389
|
-
display: grid;
|
|
390
|
-
justify-content: space-between;
|
|
391
|
-
column-gap: 40px;
|
|
392
|
-
grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
|
|
393
|
-
grid-template-columns: 760px 220px;
|
|
394
|
-
grid-template-rows: auto 1fr auto;
|
|
395
|
-
}
|
|
396
|
-
}.r-page-container {
|
|
397
|
-
min-height: calc(100dvh - var(--r-header-height));
|
|
398
|
-
overflow-wrap: break-word;
|
|
399
|
-
box-sizing: border-box;
|
|
400
405
|
}.keylink-to-content {
|
|
401
406
|
position: absolute !important;
|
|
402
407
|
top: 8px;
|
|
@@ -1249,6 +1254,78 @@
|
|
|
1249
1254
|
.r-breadcrumb-title {
|
|
1250
1255
|
color: var(--r-main-950);
|
|
1251
1256
|
font-weight: 600;
|
|
1257
|
+
}.r-pagination {
|
|
1258
|
+
grid-area: pagination;
|
|
1259
|
+
display: grid;
|
|
1260
|
+
grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
|
|
1261
|
+
gap: 16px;
|
|
1262
|
+
margin-bottom: 40px;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
.r-pagination-item {
|
|
1266
|
+
position: relative;
|
|
1267
|
+
padding-top: 8px;
|
|
1268
|
+
padding-bottom: 8px;
|
|
1269
|
+
text-decoration: none;
|
|
1270
|
+
font-size: 14px;
|
|
1271
|
+
color: var(--r-main-800);
|
|
1272
|
+
}
|
|
1273
|
+
.r-pagination-item:hover {
|
|
1274
|
+
color: var(--r-main-950);
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
.r-pagination-item._prev {
|
|
1278
|
+
padding-left: 28px;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
.r-pagination-item._next {
|
|
1282
|
+
text-align: right;
|
|
1283
|
+
padding-right: 28px;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
.r-pagination-text {
|
|
1287
|
+
display: block;
|
|
1288
|
+
line-height: 2;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.r-pagination-title {
|
|
1292
|
+
font-weight: 600;
|
|
1293
|
+
font-size: 16px;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
.r-pagination-icon {
|
|
1297
|
+
position: absolute;
|
|
1298
|
+
top: 50%;
|
|
1299
|
+
transform: translateY(-50%);
|
|
1300
|
+
transition: transform 0.2s;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
.r-pagination-icon._prev {
|
|
1304
|
+
left: 0;
|
|
1305
|
+
}
|
|
1306
|
+
.r-pagination-item:hover .r-pagination-icon._prev {
|
|
1307
|
+
transform: translate(-4px, -50%);
|
|
1308
|
+
}
|
|
1309
|
+
@media screen and (width >= 1180px) {
|
|
1310
|
+
.r-pagination-item:hover .r-pagination-icon._prev {
|
|
1311
|
+
transform: translate(-8px, -50%);
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.r-pagination-icon._next {
|
|
1316
|
+
right: 0;
|
|
1317
|
+
}
|
|
1318
|
+
.r-pagination-item:hover .r-pagination-icon._next {
|
|
1319
|
+
transform: translate(4px, -50%);
|
|
1320
|
+
}
|
|
1321
|
+
@media screen and (width >= 1180px) {
|
|
1322
|
+
.r-pagination-item:hover .r-pagination-icon._next {
|
|
1323
|
+
transform: translate(8px, -50%);
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
.r-pagination-svg {
|
|
1328
|
+
display: block;
|
|
1252
1329
|
}.r-contents {
|
|
1253
1330
|
grid-area: contents;
|
|
1254
1331
|
}
|
|
@@ -1488,78 +1565,6 @@
|
|
|
1488
1565
|
}
|
|
1489
1566
|
.r-contents-git:hover {
|
|
1490
1567
|
color: var(--r-main-900);
|
|
1491
|
-
}.r-pagination {
|
|
1492
|
-
grid-area: pagination;
|
|
1493
|
-
display: grid;
|
|
1494
|
-
grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
|
|
1495
|
-
gap: 16px;
|
|
1496
|
-
margin-bottom: 40px;
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
.r-pagination-item {
|
|
1500
|
-
position: relative;
|
|
1501
|
-
padding-top: 8px;
|
|
1502
|
-
padding-bottom: 8px;
|
|
1503
|
-
text-decoration: none;
|
|
1504
|
-
font-size: 14px;
|
|
1505
|
-
color: var(--r-main-800);
|
|
1506
|
-
}
|
|
1507
|
-
.r-pagination-item:hover {
|
|
1508
|
-
color: var(--r-main-950);
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
.r-pagination-item._prev {
|
|
1512
|
-
padding-left: 28px;
|
|
1513
|
-
}
|
|
1514
|
-
|
|
1515
|
-
.r-pagination-item._next {
|
|
1516
|
-
text-align: right;
|
|
1517
|
-
padding-right: 28px;
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
.r-pagination-text {
|
|
1521
|
-
display: block;
|
|
1522
|
-
line-height: 2;
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
.r-pagination-title {
|
|
1526
|
-
font-weight: 600;
|
|
1527
|
-
font-size: 16px;
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
.r-pagination-icon {
|
|
1531
|
-
position: absolute;
|
|
1532
|
-
top: 50%;
|
|
1533
|
-
transform: translateY(-50%);
|
|
1534
|
-
transition: transform 0.2s;
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
.r-pagination-icon._prev {
|
|
1538
|
-
left: 0;
|
|
1539
|
-
}
|
|
1540
|
-
.r-pagination-item:hover .r-pagination-icon._prev {
|
|
1541
|
-
transform: translate(-4px, -50%);
|
|
1542
|
-
}
|
|
1543
|
-
@media screen and (width >= 1180px) {
|
|
1544
|
-
.r-pagination-item:hover .r-pagination-icon._prev {
|
|
1545
|
-
transform: translate(-8px, -50%);
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
|
-
.r-pagination-icon._next {
|
|
1550
|
-
right: 0;
|
|
1551
|
-
}
|
|
1552
|
-
.r-pagination-item:hover .r-pagination-icon._next {
|
|
1553
|
-
transform: translate(4px, -50%);
|
|
1554
|
-
}
|
|
1555
|
-
@media screen and (width >= 1180px) {
|
|
1556
|
-
.r-pagination-item:hover .r-pagination-icon._next {
|
|
1557
|
-
transform: translate(8px, -50%);
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
.r-pagination-svg {
|
|
1562
|
-
display: block;
|
|
1563
1568
|
}.r-last-modified {
|
|
1564
1569
|
color: var(--r-main-700);
|
|
1565
1570
|
margin-block-start: 16px;
|
|
@@ -1612,25 +1617,6 @@
|
|
|
1612
1617
|
background-color: currentColor;
|
|
1613
1618
|
border-radius: 0 0 0 4px;
|
|
1614
1619
|
box-sizing: border-box;
|
|
1615
|
-
}.r-anchor-heading:hover .r-anchor-heading-link {
|
|
1616
|
-
visibility: visible;
|
|
1617
|
-
opacity: 1;
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
.r-anchor-heading-link {
|
|
1621
|
-
visibility: hidden;
|
|
1622
|
-
opacity: 0;
|
|
1623
|
-
transition: opacity 0.3s allow-discrete;
|
|
1624
|
-
padding-inline: 8px;
|
|
1625
|
-
margin-inline-start: -4px;
|
|
1626
|
-
color: var(--r-main-600);
|
|
1627
|
-
text-decoration: none;
|
|
1628
|
-
}
|
|
1629
|
-
.r-anchor-heading-link:hover {
|
|
1630
|
-
color: var(--r-primary-800);
|
|
1631
|
-
}
|
|
1632
|
-
.r-anchor-heading-link::after {
|
|
1633
|
-
content: "#";
|
|
1634
1620
|
}.r-code-section {
|
|
1635
1621
|
position: relative;
|
|
1636
1622
|
margin-block-start: 1.5em;
|
|
@@ -1682,6 +1668,25 @@
|
|
|
1682
1668
|
|
|
1683
1669
|
.r-code-section-filename {
|
|
1684
1670
|
font-family: var(--monospace-font, monospace, monospace);
|
|
1671
|
+
}.r-anchor-heading:hover .r-anchor-heading-link {
|
|
1672
|
+
visibility: visible;
|
|
1673
|
+
opacity: 1;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
.r-anchor-heading-link {
|
|
1677
|
+
visibility: hidden;
|
|
1678
|
+
opacity: 0;
|
|
1679
|
+
transition: opacity 0.3s allow-discrete;
|
|
1680
|
+
padding-inline: 8px;
|
|
1681
|
+
margin-inline-start: -4px;
|
|
1682
|
+
color: var(--r-main-600);
|
|
1683
|
+
text-decoration: none;
|
|
1684
|
+
}
|
|
1685
|
+
.r-anchor-heading-link:hover {
|
|
1686
|
+
color: var(--r-primary-800);
|
|
1687
|
+
}
|
|
1688
|
+
.r-anchor-heading-link::after {
|
|
1689
|
+
content: "#";
|
|
1685
1690
|
}.r-block {
|
|
1686
1691
|
width: 100%;
|
|
1687
1692
|
overflow: auto;
|
|
@@ -1746,6 +1751,19 @@
|
|
|
1746
1751
|
}
|
|
1747
1752
|
.r-blockquote-caution .r-blockquote-title {
|
|
1748
1753
|
color: var(--r-caution);
|
|
1754
|
+
}.r-code-block {
|
|
1755
|
+
font-family: var(--monospace-font, monospace, monospace);
|
|
1756
|
+
font-size: 16px;
|
|
1757
|
+
line-height: 1.33;
|
|
1758
|
+
border-radius: 6px;
|
|
1759
|
+
padding: 16px 20px;
|
|
1760
|
+
margin: 0;
|
|
1761
|
+
color: var(--r-primary-800);
|
|
1762
|
+
background-color: var(--r-main-50);
|
|
1763
|
+
overflow-x: auto;
|
|
1764
|
+
scrollbar-width: thin;
|
|
1765
|
+
scrollbar-color: var(--r-main-200) transparent;
|
|
1766
|
+
box-sizing: border-box;
|
|
1749
1767
|
}.r-code-span {
|
|
1750
1768
|
font-family: var(--monospace-font, monospace, monospace);
|
|
1751
1769
|
background-color: var(--r-main-100);
|
|
@@ -1760,22 +1778,6 @@
|
|
|
1760
1778
|
|
|
1761
1779
|
.r-code-span + .r-content-link-external {
|
|
1762
1780
|
margin-left: -12px;
|
|
1763
|
-
}.r-img {
|
|
1764
|
-
max-width: 100%;
|
|
1765
|
-
box-sizing: border-box;
|
|
1766
|
-
}.r-code-block {
|
|
1767
|
-
font-family: var(--monospace-font, monospace, monospace);
|
|
1768
|
-
font-size: 16px;
|
|
1769
|
-
line-height: 1.33;
|
|
1770
|
-
border-radius: 6px;
|
|
1771
|
-
padding: 16px 20px;
|
|
1772
|
-
margin: 0;
|
|
1773
|
-
color: var(--r-primary-800);
|
|
1774
|
-
background-color: var(--r-main-50);
|
|
1775
|
-
overflow-x: auto;
|
|
1776
|
-
scrollbar-width: thin;
|
|
1777
|
-
scrollbar-color: var(--r-main-200) transparent;
|
|
1778
|
-
box-sizing: border-box;
|
|
1779
1781
|
}.r-h1 {
|
|
1780
1782
|
font-size: 32px;
|
|
1781
1783
|
line-height: 1.4;
|
|
@@ -1816,6 +1818,9 @@
|
|
|
1816
1818
|
line-height: 1.4;
|
|
1817
1819
|
margin-block-start: 1.8em;
|
|
1818
1820
|
margin-block-end: 1.8em;
|
|
1821
|
+
}.r-img {
|
|
1822
|
+
max-width: 100%;
|
|
1823
|
+
box-sizing: border-box;
|
|
1819
1824
|
}.r-p {
|
|
1820
1825
|
line-height: 1.8;
|
|
1821
1826
|
margin-block-start: 1em;
|
|
@@ -1997,17 +2002,6 @@
|
|
|
1997
2002
|
background-color: currentColor;
|
|
1998
2003
|
border-radius: 0 0 0 4px;
|
|
1999
2004
|
box-sizing: border-box;
|
|
2000
|
-
}.r-li {
|
|
2001
|
-
line-height: 1.8;
|
|
2002
|
-
margin-block-start: 6px;
|
|
2003
|
-
margin-block-end: 6px;
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
.r-li > .r-ul,
|
|
2007
|
-
.r-li > .r-ol {
|
|
2008
|
-
padding-inline-start: 20px;
|
|
2009
|
-
margin-block-start: 6px;
|
|
2010
|
-
margin-block-end: 6px;
|
|
2011
2005
|
}.r-ol {
|
|
2012
2006
|
padding-inline-start: 2rem;
|
|
2013
2007
|
margin-block-start: 1em;
|
|
@@ -2016,15 +2010,26 @@
|
|
|
2016
2010
|
padding-inline-start: 2rem;
|
|
2017
2011
|
margin-block-start: 1em;
|
|
2018
2012
|
margin-block-end: 1em;
|
|
2019
|
-
}.r-td {
|
|
2020
|
-
padding: 6px 12px;
|
|
2021
|
-
border-bottom: 1px solid var(--r-main-400);
|
|
2022
|
-
border-collapse: collapse;
|
|
2023
2013
|
}.r-table {
|
|
2024
2014
|
min-width: 100%;
|
|
2025
2015
|
text-align: left;
|
|
2026
2016
|
border-collapse: collapse;
|
|
2027
2017
|
box-sizing: border-box;
|
|
2018
|
+
}.r-td {
|
|
2019
|
+
padding: 6px 12px;
|
|
2020
|
+
border-bottom: 1px solid var(--r-main-400);
|
|
2021
|
+
border-collapse: collapse;
|
|
2022
|
+
}.r-li {
|
|
2023
|
+
line-height: 1.8;
|
|
2024
|
+
margin-block-start: 6px;
|
|
2025
|
+
margin-block-end: 6px;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
.r-li > .r-ul,
|
|
2029
|
+
.r-li > .r-ol {
|
|
2030
|
+
padding-inline-start: 20px;
|
|
2031
|
+
margin-block-start: 6px;
|
|
2032
|
+
margin-block-end: 6px;
|
|
2028
2033
|
}.r-th {
|
|
2029
2034
|
padding: 6px 12px;
|
|
2030
2035
|
border-top: 1px solid var(--r-main-500);
|
|
@@ -2032,10 +2037,6 @@
|
|
|
2032
2037
|
border-collapse: collapse;
|
|
2033
2038
|
}.r-thead {
|
|
2034
2039
|
background-color: var(--r-main-100);
|
|
2035
|
-
}.r-task-ol {
|
|
2036
|
-
list-style: none;
|
|
2037
|
-
}.r-task-ul {
|
|
2038
|
-
list-style: none;
|
|
2039
2040
|
}.r-task-li.r-task-li {
|
|
2040
2041
|
margin-block-start: 2px;
|
|
2041
2042
|
margin-block-end: 2px;
|
|
@@ -2065,6 +2066,10 @@
|
|
|
2065
2066
|
|
|
2066
2067
|
.r-task-label-text {
|
|
2067
2068
|
vertical-align: middle;
|
|
2069
|
+
}.r-task-ol {
|
|
2070
|
+
list-style: none;
|
|
2071
|
+
}.r-task-ul {
|
|
2072
|
+
list-style: none;
|
|
2068
2073
|
}.r-tooltip {
|
|
2069
2074
|
font-family: var(--monospace-font, monospace, monospace);
|
|
2070
2075
|
display: none;
|
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-fbc3bd2",
|
|
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": {
|