robindoc 0.0.0-experimental-8b6a511 → 0.0.0-experimental-dfcffbb
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 +151 -146
- 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,CA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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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AA,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);
|
|
@@ -91,8 +94,10 @@
|
|
|
91
94
|
}
|
|
92
95
|
}.r-footer {
|
|
93
96
|
border-top: 1px solid var(--r-main-300);
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.r-footer-container.r-footer-container {
|
|
100
|
+
padding: 16px 24px;
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
.r-footer-row {
|
|
@@ -1208,6 +1213,78 @@
|
|
|
1208
1213
|
user-select: none;
|
|
1209
1214
|
pointer-events: none;
|
|
1210
1215
|
box-sizing: border-box;
|
|
1216
|
+
}.r-pagination {
|
|
1217
|
+
grid-area: pagination;
|
|
1218
|
+
display: grid;
|
|
1219
|
+
grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
|
|
1220
|
+
gap: 16px;
|
|
1221
|
+
margin-bottom: 40px;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.r-pagination-item {
|
|
1225
|
+
position: relative;
|
|
1226
|
+
padding-top: 8px;
|
|
1227
|
+
padding-bottom: 8px;
|
|
1228
|
+
text-decoration: none;
|
|
1229
|
+
font-size: 14px;
|
|
1230
|
+
color: var(--r-main-800);
|
|
1231
|
+
}
|
|
1232
|
+
.r-pagination-item:hover {
|
|
1233
|
+
color: var(--r-main-950);
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
.r-pagination-item._prev {
|
|
1237
|
+
padding-left: 28px;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
.r-pagination-item._next {
|
|
1241
|
+
text-align: right;
|
|
1242
|
+
padding-right: 28px;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
.r-pagination-text {
|
|
1246
|
+
display: block;
|
|
1247
|
+
line-height: 2;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.r-pagination-title {
|
|
1251
|
+
font-weight: 600;
|
|
1252
|
+
font-size: 16px;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
.r-pagination-icon {
|
|
1256
|
+
position: absolute;
|
|
1257
|
+
top: 50%;
|
|
1258
|
+
transform: translateY(-50%);
|
|
1259
|
+
transition: transform 0.2s;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
.r-pagination-icon._prev {
|
|
1263
|
+
left: 0;
|
|
1264
|
+
}
|
|
1265
|
+
.r-pagination-item:hover .r-pagination-icon._prev {
|
|
1266
|
+
transform: translate(-4px, -50%);
|
|
1267
|
+
}
|
|
1268
|
+
@media screen and (width >= 1180px) {
|
|
1269
|
+
.r-pagination-item:hover .r-pagination-icon._prev {
|
|
1270
|
+
transform: translate(-8px, -50%);
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.r-pagination-icon._next {
|
|
1275
|
+
right: 0;
|
|
1276
|
+
}
|
|
1277
|
+
.r-pagination-item:hover .r-pagination-icon._next {
|
|
1278
|
+
transform: translate(4px, -50%);
|
|
1279
|
+
}
|
|
1280
|
+
@media screen and (width >= 1180px) {
|
|
1281
|
+
.r-pagination-item:hover .r-pagination-icon._next {
|
|
1282
|
+
transform: translate(8px, -50%);
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
.r-pagination-svg {
|
|
1287
|
+
display: block;
|
|
1211
1288
|
}.r-breadcrumbs {
|
|
1212
1289
|
grid-area: breadcrumbs;
|
|
1213
1290
|
list-style: none;
|
|
@@ -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;
|
|
@@ -1579,8 +1584,6 @@
|
|
|
1579
1584
|
opacity: 1;
|
|
1580
1585
|
visibility: visible;
|
|
1581
1586
|
pointer-events: all;
|
|
1582
|
-
}.r-git-logo {
|
|
1583
|
-
display: block;
|
|
1584
1587
|
}.r-external-mark {
|
|
1585
1588
|
position: relative;
|
|
1586
1589
|
vertical-align: text-top;
|
|
@@ -1612,6 +1615,8 @@
|
|
|
1612
1615
|
background-color: currentColor;
|
|
1613
1616
|
border-radius: 0 0 0 4px;
|
|
1614
1617
|
box-sizing: border-box;
|
|
1618
|
+
}.r-git-logo {
|
|
1619
|
+
display: block;
|
|
1615
1620
|
}.r-anchor-heading:hover .r-anchor-heading-link {
|
|
1616
1621
|
visibility: visible;
|
|
1617
1622
|
opacity: 1;
|
|
@@ -1631,6 +1636,14 @@
|
|
|
1631
1636
|
}
|
|
1632
1637
|
.r-anchor-heading-link::after {
|
|
1633
1638
|
content: "#";
|
|
1639
|
+
}.r-block {
|
|
1640
|
+
width: 100%;
|
|
1641
|
+
overflow: auto;
|
|
1642
|
+
margin-block-start: 12px;
|
|
1643
|
+
margin-block-end: 12px;
|
|
1644
|
+
scrollbar-width: thin;
|
|
1645
|
+
scrollbar-color: var(--r-main-200) transparent;
|
|
1646
|
+
box-sizing: border-box;
|
|
1634
1647
|
}.r-code-section {
|
|
1635
1648
|
position: relative;
|
|
1636
1649
|
margin-block-start: 1.5em;
|
|
@@ -1682,14 +1695,6 @@
|
|
|
1682
1695
|
|
|
1683
1696
|
.r-code-section-filename {
|
|
1684
1697
|
font-family: var(--monospace-font, monospace, monospace);
|
|
1685
|
-
}.r-block {
|
|
1686
|
-
width: 100%;
|
|
1687
|
-
overflow: auto;
|
|
1688
|
-
margin-block-start: 12px;
|
|
1689
|
-
margin-block-end: 12px;
|
|
1690
|
-
scrollbar-width: thin;
|
|
1691
|
-
scrollbar-color: var(--r-main-200) transparent;
|
|
1692
|
-
box-sizing: border-box;
|
|
1693
1698
|
}.r-blockquote {
|
|
1694
1699
|
background-color: var(--r-main-100);
|
|
1695
1700
|
padding: 8px 12px 8px 20px;
|
|
@@ -1760,9 +1765,6 @@
|
|
|
1760
1765
|
|
|
1761
1766
|
.r-code-span + .r-content-link-external {
|
|
1762
1767
|
margin-left: -12px;
|
|
1763
|
-
}.r-img {
|
|
1764
|
-
max-width: 100%;
|
|
1765
|
-
box-sizing: border-box;
|
|
1766
1768
|
}.r-code-block {
|
|
1767
1769
|
font-family: var(--monospace-font, monospace, monospace);
|
|
1768
1770
|
font-size: 16px;
|
|
@@ -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;
|
|
@@ -1877,6 +1882,55 @@
|
|
|
1877
1882
|
min-width: 24px;
|
|
1878
1883
|
text-align: center;
|
|
1879
1884
|
box-sizing: border-box;
|
|
1885
|
+
}.r-content-link {
|
|
1886
|
+
text-decoration: none;
|
|
1887
|
+
color: inherit;
|
|
1888
|
+
text-decoration: underline;
|
|
1889
|
+
text-decoration-color: var(--r-primary-500);
|
|
1890
|
+
text-underline-offset: 3px;
|
|
1891
|
+
transition: text-decoration-offset 0.2s ease;
|
|
1892
|
+
}
|
|
1893
|
+
.r-content-link:hover {
|
|
1894
|
+
color: var(--r-main-700);
|
|
1895
|
+
text-decoration-color: var(--r-primary-400);
|
|
1896
|
+
text-underline-offset: 2px;
|
|
1897
|
+
text-decoration-thickness: 2px;
|
|
1898
|
+
}
|
|
1899
|
+
.r-content-link:active {
|
|
1900
|
+
color: var(--r-primary-600);
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
.r-content-link-external {
|
|
1904
|
+
position: relative;
|
|
1905
|
+
vertical-align: text-top;
|
|
1906
|
+
display: inline-block;
|
|
1907
|
+
margin-left: -4px;
|
|
1908
|
+
margin-right: 2px;
|
|
1909
|
+
width: 6px;
|
|
1910
|
+
height: 6px;
|
|
1911
|
+
box-sizing: border-box;
|
|
1912
|
+
}
|
|
1913
|
+
.r-content-link-external::after {
|
|
1914
|
+
content: "";
|
|
1915
|
+
position: absolute;
|
|
1916
|
+
top: 0;
|
|
1917
|
+
right: 0;
|
|
1918
|
+
width: 100%;
|
|
1919
|
+
height: 100%;
|
|
1920
|
+
border-top: 1px solid currentColor;
|
|
1921
|
+
border-right: 1px solid currentColor;
|
|
1922
|
+
box-sizing: border-box;
|
|
1923
|
+
}
|
|
1924
|
+
.r-content-link-external::before {
|
|
1925
|
+
content: "";
|
|
1926
|
+
position: absolute;
|
|
1927
|
+
top: 0;
|
|
1928
|
+
right: 0;
|
|
1929
|
+
width: 3px;
|
|
1930
|
+
height: 3px;
|
|
1931
|
+
background-color: currentColor;
|
|
1932
|
+
border-radius: 0 0 0 4px;
|
|
1933
|
+
box-sizing: border-box;
|
|
1880
1934
|
}.r-copy-button {
|
|
1881
1935
|
position: relative;
|
|
1882
1936
|
padding: 6px;
|
|
@@ -1948,55 +2002,6 @@
|
|
|
1948
2002
|
.r-copy-text:active,
|
|
1949
2003
|
.r-copy-text._active {
|
|
1950
2004
|
color: var(--r-success);
|
|
1951
|
-
}.r-content-link {
|
|
1952
|
-
text-decoration: none;
|
|
1953
|
-
color: inherit;
|
|
1954
|
-
text-decoration: underline;
|
|
1955
|
-
text-decoration-color: var(--r-primary-500);
|
|
1956
|
-
text-underline-offset: 3px;
|
|
1957
|
-
transition: text-decoration-offset 0.2s ease;
|
|
1958
|
-
}
|
|
1959
|
-
.r-content-link:hover {
|
|
1960
|
-
color: var(--r-main-700);
|
|
1961
|
-
text-decoration-color: var(--r-primary-400);
|
|
1962
|
-
text-underline-offset: 2px;
|
|
1963
|
-
text-decoration-thickness: 2px;
|
|
1964
|
-
}
|
|
1965
|
-
.r-content-link:active {
|
|
1966
|
-
color: var(--r-primary-600);
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
.r-content-link-external {
|
|
1970
|
-
position: relative;
|
|
1971
|
-
vertical-align: text-top;
|
|
1972
|
-
display: inline-block;
|
|
1973
|
-
margin-left: -4px;
|
|
1974
|
-
margin-right: 2px;
|
|
1975
|
-
width: 6px;
|
|
1976
|
-
height: 6px;
|
|
1977
|
-
box-sizing: border-box;
|
|
1978
|
-
}
|
|
1979
|
-
.r-content-link-external::after {
|
|
1980
|
-
content: "";
|
|
1981
|
-
position: absolute;
|
|
1982
|
-
top: 0;
|
|
1983
|
-
right: 0;
|
|
1984
|
-
width: 100%;
|
|
1985
|
-
height: 100%;
|
|
1986
|
-
border-top: 1px solid currentColor;
|
|
1987
|
-
border-right: 1px solid currentColor;
|
|
1988
|
-
box-sizing: border-box;
|
|
1989
|
-
}
|
|
1990
|
-
.r-content-link-external::before {
|
|
1991
|
-
content: "";
|
|
1992
|
-
position: absolute;
|
|
1993
|
-
top: 0;
|
|
1994
|
-
right: 0;
|
|
1995
|
-
width: 3px;
|
|
1996
|
-
height: 3px;
|
|
1997
|
-
background-color: currentColor;
|
|
1998
|
-
border-radius: 0 0 0 4px;
|
|
1999
|
-
box-sizing: border-box;
|
|
2000
2005
|
}.r-li {
|
|
2001
2006
|
line-height: 1.8;
|
|
2002
2007
|
margin-block-start: 6px;
|
|
@@ -2016,26 +2021,22 @@
|
|
|
2016
2021
|
padding-inline-start: 2rem;
|
|
2017
2022
|
margin-block-start: 1em;
|
|
2018
2023
|
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
2024
|
}.r-table {
|
|
2024
2025
|
min-width: 100%;
|
|
2025
2026
|
text-align: left;
|
|
2026
2027
|
border-collapse: collapse;
|
|
2027
2028
|
box-sizing: border-box;
|
|
2029
|
+
}.r-thead {
|
|
2030
|
+
background-color: var(--r-main-100);
|
|
2031
|
+
}.r-td {
|
|
2032
|
+
padding: 6px 12px;
|
|
2033
|
+
border-bottom: 1px solid var(--r-main-400);
|
|
2034
|
+
border-collapse: collapse;
|
|
2028
2035
|
}.r-th {
|
|
2029
2036
|
padding: 6px 12px;
|
|
2030
2037
|
border-top: 1px solid var(--r-main-500);
|
|
2031
2038
|
border-bottom: 1px solid var(--r-main-500);
|
|
2032
2039
|
border-collapse: collapse;
|
|
2033
|
-
}.r-thead {
|
|
2034
|
-
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-dfcffbb",
|
|
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": {
|