@tuwaio/docs-ui 0.0.6 → 0.0.8
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/dist/index.cjs +2 -2
- package/dist/index.css +119 -178
- package/dist/index.js +2 -2
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var novaCore=require('@tuwaio/nova-core'),outline=require('@heroicons/react/24/outline'),jsxRuntime=require('react/jsx-runtime'),reactSyntaxHighlighter=require('react-syntax-highlighter'),prism=require('react-syntax-highlighter/dist/esm/styles/prism'),O=require('next/dynamic'),D=require('next/image'),nextraThemeDocs=require('nextra-theme-docs'),components=require('nextra/components');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var O__default=/*#__PURE__*/_interopDefault(O);var D__default=/*#__PURE__*/_interopDefault(D);function h({isCopied:o,onCopy:t}){return jsxRuntime.jsx("button",{onClick:t,type:"button",className:novaCore.cn("tuwadocs:h-6 tuwadocs:w-6 tuwadocs:cursor-pointer tuwadocs:transition-colors",o?"tuwadocs:text-[var(--tuwa-success-icon)]":"tuwadocs:text-[var(--tuwa-text-secondary)] tuwadocs:hover:text-[var(--tuwa-text-primary)]"),children:o?jsxRuntime.jsx(outline.CheckCircleIcon,{}):jsxRuntime.jsx(outline.Square2StackIcon,{})})}function b({title:o,titleIcons:t,children:a,textToCopy:s}){let{isCopied:r,copy:m}=novaCore.useCopyToClipboard(1500);return jsxRuntime.jsxs("div",{className:novaCore.cn("tuwadocs:group tuwadocs:overflow-hidden tuwadocs:rounded-lg tuwadocs:border","tuwadocs:border-[var(--tuwa-border-secondary)] tuwadocs:bg-[var(--tuwa-bg-primary)]"),children:[jsxRuntime.jsxs("div",{className:novaCore.cn("tuwadocs:flex tuwadocs:items-center tuwadocs:justify-between tuwadocs:gap-4 tuwadocs:px-4 tuwadocs:py-2","tuwadocs:border-b tuwadocs:border-[var(--tuwa-border-secondary)] tuwadocs:bg-[var(--tuwa-bg-secondary)]"),children:[jsxRuntime.jsxs("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-2",children:[jsxRuntime.jsx("div",{className:"tuwadocs:h-[20px] tuwadocs:w-[20px] tuwadocs:text-[var(--tuwa-text-secondary)]",children:t}),jsxRuntime.jsx("p",{className:"tuwadocs:text-sm tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-primary)]",children:o})]}),jsxRuntime.jsx("div",{className:"tuwadocs:transition tuwadocs:md:opacity-0 tuwadocs:group-hover:opacity-100",children:jsxRuntime.jsx(h,{isCopied:r,onCopy:()=>m(s)})})]}),a]})}var V=({children:o})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:o}),d=O__default.default(()=>Promise.resolve(V),{ssr:false});function x({children:o,language:t,resolvedTheme:a}){return jsxRuntime.jsx("div",{className:"tuwadocs:border-t tuwadocs:border-[var(--tuwa-border-secondary)]",children:jsxRuntime.jsx(d,{children:jsxRuntime.jsx(reactSyntaxHighlighter.Prism,{language:t??"bash",customStyle:{margin:0,background:"transparent"},style:a==="dark"?prism.materialOceanic:prism.materialLight,children:String(o).replace(/\n$/,"")})})})}function No({features:o}){return jsxRuntime.jsx("div",{className:"tuwadocs:grid tuwadocs:grid-cols-1 tuwadocs:md:grid-cols-3 tuwadocs:gap-6 tuwadocs:mt-12",children:o.map(t=>jsxRuntime.jsxs("div",{className:"tuwadocs:p-6 tuwadocs:border tuwadocs:rounded-lg tuwadocs:hover:shadow-lg tuwadocs:transition-shadow",children:[jsxRuntime.jsx("div",{className:"tuwadocs:text-2xl tuwadocs:mb-3",children:t.icon}),jsxRuntime.jsx("h3",{className:"tuwadocs:text-lg tuwadocs:font-semibold tuwadocs:mb-2",children:t.title}),jsxRuntime.jsx("p",{className:"tuwadocs:text-gray-600 tuwadocs:dark:text-gray-400",children:t.description})]},t.title))})}var y=[{title:"NPM",href:"https://npmjs.com/org/tuwaio",className:"tuwadocs:hover:text-red-600 tuwadocs:dark:hover:text-red-400",image:jsxRuntime.jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0H1.763zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113l.017-13.847z"})})}],k=[{title:"NPM",href:"https://npmjs.com/org/tuwaio",className:"tuwa-footer-link--npm",image:jsxRuntime.jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0H1.763zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113l.017-13.847z"})})},{title:"GitHub",href:"https://github.com/TuwaIO",className:"tuwa-footer-link--github",image:jsxRuntime.jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}];function Io({links:o}){return jsxRuntime.jsx(nextraThemeDocs.Footer,{children:jsxRuntime.jsxs("div",{className:"tuwadocs:flex tuwadocs:w-full tuwadocs:flex-col tuwadocs:items-center tuwadocs:sm:items-start tuwa-footer-border tuwadocs:pt-8",children:[jsxRuntime.jsxs("div",{className:"tuwadocs:mb-6 tuwadocs:flex tuwadocs:items-center tuwadocs:gap-4 tuwadocs:w-full tuwadocs:justify-between",children:[jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:items-center",children:jsxRuntime.jsx(d,{children:jsxRuntime.jsx(D__default.default,{width:120,height:40,src:"https://raw.githubusercontent.com/TuwaIO/workflows/refs/heads/main/preview/tuwa_logo.svg",alt:"TUWA Logo",className:"tuwadocs:transition-opacity tuwadocs:duration-300"})})}),jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-4 tuwadocs:text-sm",children:(o??k).map(({title:t,href:a,image:s,className:r})=>jsxRuntime.jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:novaCore.cn("tuwa-footer-link tuwadocs:flex tuwadocs:items-center tuwadocs:gap-1",r),children:[s,jsxRuntime.jsx("span",{className:"tuwadocs:hidden tuwadocs:sm:inline",children:t})]},t))})]}),jsxRuntime.jsxs("div",{className:"tuwadocs:w-full tuwa-footer-border tuwadocs:pt-4",children:[jsxRuntime.jsxs("div",{className:"tuwadocs:flex tuwadocs:flex-col tuwadocs:sm:flex-row tuwadocs:justify-between tuwadocs:items-start tuwadocs:sm:items-center tuwadocs:gap-4",children:[jsxRuntime.jsxs("div",{className:"tuwadocs:flex-1",children:[jsxRuntime.jsx("p",{className:"tuwa-footer-description",children:"A useful and powerful utils for building decentralized applications."}),jsxRuntime.jsx("p",{className:"tuwa-footer-license",children:"Licensed under Apache 2.0. Open source and free to use."})]}),jsxRuntime.jsxs("div",{className:"tuwa-footer-copyright",children:["\xA9 2025 - ",new Date().getFullYear()," TUWA. Built with"," ",jsxRuntime.jsx("span",{className:"tuwa-heart","aria-label":"love",children:"\u2764\uFE0F"})," ","for Web3."]})]}),jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:flex-wrap tuwadocs:items-center tuwadocs:gap-3 tuwadocs:mt-4 tuwadocs:pt-4 tuwa-footer-border"})]})]})})}function Oo({links:o}){return jsxRuntime.jsx(nextraThemeDocs.Navbar,{logo:jsxRuntime.jsx(d,{children:jsxRuntime.jsx(D__default.default,{width:120,height:40,src:"https://raw.githubusercontent.com/TuwaIO/workflows/refs/heads/main/preview/tuwa_logo.svg",alt:"TUWA Logo"})}),children:jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-3",children:(o??y).map(({title:t,href:a,image:s,className:r})=>jsxRuntime.jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:novaCore.cn("tuwadocs:hidden tuwadocs:sm:flex tuwadocs:items-center tuwadocs:gap-1 tuwadocs:px-3 tuwadocs:py-1.5 tuwadocs:text-sm tuwadocs:font-medium tuwadocs:transition-colors tuwadocs:text-gray-700 tuwadocs:dark:text-gray-300",r),children:[s,t]},t))})})}var P=[{title:"pnpm",command:"pnpm add"},{title:"bun",command:"bun add"},{title:"npm",command:"npm install"},{title:"yarn",command:"yarn add"}];function Yo({packagesList:o,resolvedTheme:t}){return jsxRuntime.jsx("div",{className:"tuwadocs:my-4",children:jsxRuntime.jsx(components.Tabs,{items:P.map(a=>a.title),children:P.map(a=>jsxRuntime.jsx(components.Tabs.Tab,{children:jsxRuntime.jsx(b,{title:"Terminal",titleIcons:jsxRuntime.jsx(outline.CommandLineIcon,{}),textToCopy:`${a.command} ${o}`,children:jsxRuntime.jsx(x,{resolvedTheme:t,language:"bash",children:`${a.command} ${o}`})})},a.title))})})}function Ko({href:o,children:t}){return jsxRuntime.jsx("a",{className:novaCore.cn("tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-accent)]","tuwadocs:transition-all tuwadocs:hover:underline tuwadocs:underline-offset-4"),href:o,target:"_blank",rel:"noopener noreferrer",children:t})}var jo=({src:o,poster:t,autoplay:a=false,muted:s=false,loop:r=false,controls:m=true,className:R="",aspectRatio:T="aspect-video",onPlay:I,onPause:L,onEnded:B,"aria-label":H})=>jsxRuntime.jsx("div",{className:novaCore.cn("tuwadocs:relative tuwadocs:w-full tuwadocs:overflow-hidden tuwadocs:rounded-lg tuwadocs:bg-black tuwadocs:my-4",T,R),children:jsxRuntime.jsxs("video",{src:o,poster:t,controls:m,autoPlay:a,muted:s,loop:r,className:novaCore.cn("tuwadocs:absolute tuwadocs:inset-0 tuwadocs:h-full tuwadocs:w-full tuwadocs:object-contain","tuwadocs:transition-opacity tuwadocs:duration-200","tuwadocs:focus:outline-none tuwadocs:focus:ring-2 tuwadocs:focus:ring-blue-500 tuwadocs:focus:ring-offset-2"),onPlay:I,onPause:L,onEnded:B,"aria-label":H,preload:"metadata",children:[jsxRuntime.jsx("track",{kind:"captions"}),"Your browser does not support the video tag. Please"," ",jsxRuntime.jsx("a",{href:o,download:true,className:"tuwadocs:text-blue-400 tuwadocs:underline tuwadocs:hover:text-blue-300",children:"download the video"})," ","to watch it."]})});
|
|
2
|
-
exports.CodeBlock=b;exports.CodeHighlighter=x;exports.CopyIconButton=h;exports.Features=No;exports.Footer=Io;exports.Navbar=Oo;exports.PackageInstallationTabs=Yo;exports.StyledLink=Ko;exports.VideoPlayer=jo;exports.baseFooterLinks=
|
|
1
|
+
'use strict';var novaCore=require('@tuwaio/nova-core'),outline=require('@heroicons/react/24/outline'),jsxRuntime=require('react/jsx-runtime'),reactSyntaxHighlighter=require('react-syntax-highlighter'),prism=require('react-syntax-highlighter/dist/esm/styles/prism'),O=require('next/dynamic'),D=require('next/image'),nextraThemeDocs=require('nextra-theme-docs'),components=require('nextra/components');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var O__default=/*#__PURE__*/_interopDefault(O);var D__default=/*#__PURE__*/_interopDefault(D);function h({isCopied:o,onCopy:t}){return jsxRuntime.jsx("button",{onClick:t,type:"button",className:novaCore.cn("tuwadocs:h-6 tuwadocs:w-6 tuwadocs:cursor-pointer tuwadocs:transition-colors",o?"tuwadocs:text-[var(--tuwa-success-icon)]":"tuwadocs:text-[var(--tuwa-text-secondary)] tuwadocs:hover:text-[var(--tuwa-text-primary)]"),children:o?jsxRuntime.jsx(outline.CheckCircleIcon,{}):jsxRuntime.jsx(outline.Square2StackIcon,{})})}function b({title:o,titleIcons:t,children:a,textToCopy:s}){let{isCopied:r,copy:m}=novaCore.useCopyToClipboard(1500);return jsxRuntime.jsxs("div",{className:novaCore.cn("tuwadocs:group tuwadocs:overflow-hidden tuwadocs:rounded-[var(--tuwa-rounded-corners)] tuwadocs:border","tuwadocs:border-[var(--tuwa-border-secondary)] tuwadocs:bg-[var(--tuwa-bg-primary)]"),children:[jsxRuntime.jsxs("div",{className:novaCore.cn("tuwadocs:flex tuwadocs:items-center tuwadocs:justify-between tuwadocs:gap-4 tuwadocs:px-4 tuwadocs:py-2","tuwadocs:border-b tuwadocs:border-[var(--tuwa-border-secondary)] tuwadocs:bg-[var(--tuwa-bg-secondary)]"),children:[jsxRuntime.jsxs("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-2",children:[jsxRuntime.jsx("div",{className:"tuwadocs:h-[20px] tuwadocs:w-[20px] tuwadocs:text-[var(--tuwa-text-secondary)]",children:t}),jsxRuntime.jsx("p",{className:"tuwadocs:text-sm tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-primary)]",children:o})]}),jsxRuntime.jsx("div",{className:"tuwadocs:transition tuwadocs:md:opacity-0 tuwadocs:group-hover:opacity-100",children:jsxRuntime.jsx(h,{isCopied:r,onCopy:()=>m(s)})})]}),a]})}var V=({children:o})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:o}),d=O__default.default(()=>Promise.resolve(V),{ssr:false});function x({children:o,language:t,resolvedTheme:a}){return jsxRuntime.jsx("div",{className:"tuwadocs:border-t tuwadocs:border-[var(--tuwa-border-secondary)]",children:jsxRuntime.jsx(d,{children:jsxRuntime.jsx(reactSyntaxHighlighter.Prism,{language:t??"bash",customStyle:{margin:0,background:"transparent"},style:a==="dark"?prism.materialOceanic:prism.materialLight,children:String(o).replace(/\n$/,"")})})})}function No({features:o}){return jsxRuntime.jsx("div",{className:"tuwadocs:grid tuwadocs:grid-cols-1 tuwadocs:md:grid-cols-3 tuwadocs:gap-6 tuwadocs:mt-12",children:o.map(t=>jsxRuntime.jsxs("div",{className:"tuwadocs:p-6 tuwadocs:border tuwadocs:rounded-[var(--tuwa-rounded-corners)] tuwadocs:hover:shadow-lg tuwadocs:transition-shadow",children:[jsxRuntime.jsx("div",{className:"tuwadocs:text-2xl tuwadocs:mb-3",children:t.icon}),jsxRuntime.jsx("h3",{className:"tuwadocs:text-lg tuwadocs:font-semibold tuwadocs:mb-2",children:t.title}),jsxRuntime.jsx("p",{className:"tuwadocs:text-[var(--tuwa-text-secondary)]",children:t.description})]},t.title))})}var y=[{title:"NPM",href:"https://npmjs.com/org/tuwaio",className:"tuwadocs:hover:text-red-600 tuwadocs:dark:hover:text-red-400",image:jsxRuntime.jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0H1.763zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113l.017-13.847z"})})}],C=[{title:"NPM",href:"https://npmjs.com/org/tuwaio",className:"tuwa-footer-link--npm",image:jsxRuntime.jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0H1.763zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113l.017-13.847z"})})},{title:"GitHub",href:"https://github.com/TuwaIO",className:"tuwa-footer-link--github",image:jsxRuntime.jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}];function Io({links:o}){return jsxRuntime.jsx(nextraThemeDocs.Footer,{children:jsxRuntime.jsxs("div",{className:"tuwadocs:flex tuwadocs:w-full tuwadocs:flex-col tuwadocs:items-center tuwadocs:sm:items-start tuwa-footer-border tuwadocs:pt-8",children:[jsxRuntime.jsxs("div",{className:"tuwadocs:mb-6 tuwadocs:flex tuwadocs:items-center tuwadocs:gap-4 tuwadocs:w-full tuwadocs:justify-between",children:[jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:items-center",children:jsxRuntime.jsx(d,{children:jsxRuntime.jsx(D__default.default,{width:120,height:40,src:"https://raw.githubusercontent.com/TuwaIO/workflows/refs/heads/main/preview/tuwa_logo.svg",alt:"TUWA Logo",className:"tuwadocs:transition-opacity tuwadocs:duration-300"})})}),jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-4 tuwadocs:text-sm",children:(o??C).map(({title:t,href:a,image:s,className:r})=>jsxRuntime.jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:novaCore.cn("tuwa-footer-link tuwadocs:flex tuwadocs:items-center tuwadocs:gap-1",r),children:[s,jsxRuntime.jsx("span",{className:"tuwadocs:hidden tuwadocs:sm:inline",children:t})]},t))})]}),jsxRuntime.jsxs("div",{className:"tuwadocs:w-full tuwa-footer-border tuwadocs:pt-4",children:[jsxRuntime.jsxs("div",{className:"tuwadocs:flex tuwadocs:flex-col tuwadocs:sm:flex-row tuwadocs:justify-between tuwadocs:items-start tuwadocs:sm:items-center tuwadocs:gap-4",children:[jsxRuntime.jsxs("div",{className:"tuwadocs:flex-1",children:[jsxRuntime.jsx("p",{className:"tuwa-footer-description",children:"A useful and powerful utils for building decentralized applications."}),jsxRuntime.jsx("p",{className:"tuwa-footer-license",children:"Licensed under Apache 2.0. Open source and free to use."})]}),jsxRuntime.jsxs("div",{className:"tuwa-footer-copyright",children:["\xA9 2025 - ",new Date().getFullYear()," TUWA. Built with"," ",jsxRuntime.jsx("span",{className:"tuwa-heart","aria-label":"love",children:"\u2764\uFE0F"})," ","for Web3."]})]}),jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:flex-wrap tuwadocs:items-center tuwadocs:gap-3 tuwadocs:mt-4 tuwadocs:pt-4 tuwa-footer-border"})]})]})})}function Oo({links:o}){return jsxRuntime.jsx(nextraThemeDocs.Navbar,{logo:jsxRuntime.jsx(d,{children:jsxRuntime.jsx(D__default.default,{width:120,height:40,src:"https://raw.githubusercontent.com/TuwaIO/workflows/refs/heads/main/preview/tuwa_logo.svg",alt:"TUWA Logo"})}),children:jsxRuntime.jsx("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-3",children:(o??y).map(({title:t,href:a,image:s,className:r})=>jsxRuntime.jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:novaCore.cn("tuwadocs:hidden tuwadocs:sm:flex tuwadocs:items-center tuwadocs:gap-1 tuwadocs:px-3 tuwadocs:py-1.5 tuwadocs:text-sm tuwadocs:font-medium tuwadocs:transition-colors tuwadocs:text-[var(--tuwa-text-primary)]",r),children:[s,t]},t))})})}var P=[{title:"pnpm",command:"pnpm add"},{title:"bun",command:"bun add"},{title:"npm",command:"npm install"},{title:"yarn",command:"yarn add"}];function Yo({packagesList:o,resolvedTheme:t}){return jsxRuntime.jsx("div",{className:"tuwadocs:my-4",children:jsxRuntime.jsx(components.Tabs,{items:P.map(a=>a.title),children:P.map(a=>jsxRuntime.jsx(components.Tabs.Tab,{children:jsxRuntime.jsx(b,{title:"Terminal",titleIcons:jsxRuntime.jsx(outline.CommandLineIcon,{}),textToCopy:`${a.command} ${o}`,children:jsxRuntime.jsx(x,{resolvedTheme:t,language:"bash",children:`${a.command} ${o}`})})},a.title))})})}function Ko({href:o,children:t}){return jsxRuntime.jsx("a",{className:novaCore.cn("tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-accent)]","tuwadocs:transition-all tuwadocs:hover:underline tuwadocs:underline-offset-4"),href:o,target:"_blank",rel:"noopener noreferrer",children:t})}var jo=({src:o,poster:t,autoplay:a=false,muted:s=false,loop:r=false,controls:m=true,className:R="",aspectRatio:T="aspect-video",onPlay:I,onPause:L,onEnded:B,"aria-label":H})=>jsxRuntime.jsx("div",{className:novaCore.cn("tuwadocs:relative tuwadocs:w-full tuwadocs:overflow-hidden tuwadocs:rounded-[var(--tuwa-rounded-corners)] tuwadocs:bg-black tuwadocs:my-4",T,R),children:jsxRuntime.jsxs("video",{src:o,poster:t,controls:m,autoPlay:a,muted:s,loop:r,className:novaCore.cn("tuwadocs:absolute tuwadocs:inset-0 tuwadocs:h-full tuwadocs:w-full tuwadocs:object-contain","tuwadocs:transition-opacity tuwadocs:duration-200","tuwadocs:focus:outline-none tuwadocs:focus:ring-[length:var(--tuwa-ring-width)] tuwadocs:focus:ring-[var(--tuwa-text-accent)] tuwadocs:focus:ring-offset-[length:var(--tuwa-ring-width)] tuwadocs:focus:ring-offset-[var(--tuwa-bg-primary)]"),onPlay:I,onPause:L,onEnded:B,"aria-label":H,preload:"metadata",children:[jsxRuntime.jsx("track",{kind:"captions"}),"Your browser does not support the video tag. Please"," ",jsxRuntime.jsx("a",{href:o,download:true,className:"tuwadocs:text-[var(--tuwa-text-accent)] tuwadocs:underline tuwadocs:hover:opacity-80",children:"download the video"})," ","to watch it."]})});
|
|
2
|
+
exports.CodeBlock=b;exports.CodeHighlighter=x;exports.CopyIconButton=h;exports.Features=No;exports.Footer=Io;exports.Navbar=Oo;exports.PackageInstallationTabs=Yo;exports.StyledLink=Ko;exports.VideoPlayer=jo;exports.baseFooterLinks=C;exports.baseNavLinks=y;Object.keys(novaCore).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return novaCore[k]}})});
|
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1
|
|
1
|
+
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
|
2
2
|
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
3
3
|
@layer properties;
|
|
4
4
|
@layer properties;
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
--novacore-font-weight-semibold: 600;
|
|
15
15
|
--novacore-font-weight-bold: 700;
|
|
16
16
|
--novacore-tracking-tight: -0.025em;
|
|
17
|
-
--novacore-radius-md: 0.375rem;
|
|
18
|
-
--novacore-radius-2xl: 1rem;
|
|
19
17
|
--novacore-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
20
18
|
--novacore-blur-sm: 8px;
|
|
21
19
|
--novacore-default-transition-duration: 150ms;
|
|
@@ -110,6 +108,9 @@
|
|
|
110
108
|
.novacore\:justify-between {
|
|
111
109
|
justify-content: space-between;
|
|
112
110
|
}
|
|
111
|
+
.novacore\:justify-center {
|
|
112
|
+
justify-content: center;
|
|
113
|
+
}
|
|
113
114
|
.novacore\:gap-1 {
|
|
114
115
|
gap: calc(var(--novacore-spacing) * 1);
|
|
115
116
|
}
|
|
@@ -122,15 +123,15 @@
|
|
|
122
123
|
.novacore\:overflow-y-auto {
|
|
123
124
|
overflow-y: auto;
|
|
124
125
|
}
|
|
126
|
+
.novacore\:rounded-\[var\(--tuwa-rounded-corners\)\] {
|
|
127
|
+
border-radius: var(--tuwa-rounded-corners);
|
|
128
|
+
}
|
|
125
129
|
.novacore\:rounded-full {
|
|
126
130
|
border-radius: calc(infinity * 1px);
|
|
127
131
|
}
|
|
128
|
-
.novacore\:rounded-
|
|
129
|
-
border-radius: var(--
|
|
130
|
-
|
|
131
|
-
.novacore\:rounded-t-2xl {
|
|
132
|
-
border-top-left-radius: var(--novacore-radius-2xl);
|
|
133
|
-
border-top-right-radius: var(--novacore-radius-2xl);
|
|
132
|
+
.novacore\:rounded-t-\[var\(--tuwa-rounded-corners\)\] {
|
|
133
|
+
border-top-left-radius: var(--tuwa-rounded-corners);
|
|
134
|
+
border-top-right-radius: var(--tuwa-rounded-corners);
|
|
134
135
|
}
|
|
135
136
|
.novacore\:border {
|
|
136
137
|
border-style: var(--tw-border-style);
|
|
@@ -155,10 +156,7 @@
|
|
|
155
156
|
.novacore\:bg-black\/55 {
|
|
156
157
|
background-color: var(--novacore-color-black);
|
|
157
158
|
@supports (color: color-mix(in lab, red, red)) {
|
|
158
|
-
background-color: var(--novacore-color-black);
|
|
159
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
160
|
-
background-color: color-mix(in oklab, var(--novacore-color-black) 55%, transparent);
|
|
161
|
-
}
|
|
159
|
+
background-color: color-mix(in oklab, var(--novacore-color-black) 55%, transparent);
|
|
162
160
|
}
|
|
163
161
|
}
|
|
164
162
|
.novacore\:p-0 {
|
|
@@ -209,10 +207,6 @@
|
|
|
209
207
|
.novacore\:text-\[var\(--tuwa-text-tertiary\)\] {
|
|
210
208
|
color: var(--tuwa-text-tertiary);
|
|
211
209
|
}
|
|
212
|
-
.novacore\:shadow-2xl {
|
|
213
|
-
--tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
|
|
214
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
215
|
-
}
|
|
216
210
|
.novacore\:backdrop-blur-sm {
|
|
217
211
|
--tw-backdrop-blur: blur(var(--novacore-blur-sm));
|
|
218
212
|
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
@@ -307,9 +301,9 @@
|
|
|
307
301
|
}
|
|
308
302
|
}
|
|
309
303
|
}
|
|
310
|
-
.novacore\:sm\:rounded-
|
|
304
|
+
.novacore\:sm\:rounded-\[var\(--tuwa-rounded-corners\)\] {
|
|
311
305
|
@media (width >= 40rem) {
|
|
312
|
-
border-radius: var(--
|
|
306
|
+
border-radius: var(--tuwa-rounded-corners);
|
|
313
307
|
}
|
|
314
308
|
}
|
|
315
309
|
.novacore\:sm\:p-4 {
|
|
@@ -317,13 +311,6 @@
|
|
|
317
311
|
padding: calc(var(--novacore-spacing) * 4);
|
|
318
312
|
}
|
|
319
313
|
}
|
|
320
|
-
.novacore\:\[\&_path\]\:first-of-type\:fill-\[var\(--tuwa-testnet-icons\)\] {
|
|
321
|
-
& path {
|
|
322
|
-
&:first-of-type {
|
|
323
|
-
fill: var(--tuwa-testnet-icons);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
314
|
}
|
|
328
315
|
:root {
|
|
329
316
|
--tuwa-success-bg: oklch(96.2% 0.044 156.743);
|
|
@@ -355,6 +342,8 @@
|
|
|
355
342
|
--tuwa-standart-button-bg: oklch(96.7% 0.003 264.542);
|
|
356
343
|
--tuwa-standart-button-hover: oklch(92.8% 0.006 264.531);
|
|
357
344
|
--tuwa-testnet-icons: #c4bfb8;
|
|
345
|
+
--tuwa-rounded-corners: 4px;
|
|
346
|
+
--tuwa-ring-width: 2px;
|
|
358
347
|
}
|
|
359
348
|
.dark {
|
|
360
349
|
--tuwa-success-bg: oklch(39.3% 0.095 152.535);
|
|
@@ -452,71 +441,6 @@
|
|
|
452
441
|
syntax: "*";
|
|
453
442
|
inherits: false;
|
|
454
443
|
}
|
|
455
|
-
@property --tw-shadow {
|
|
456
|
-
syntax: "*";
|
|
457
|
-
inherits: false;
|
|
458
|
-
initial-value: 0 0 #0000;
|
|
459
|
-
}
|
|
460
|
-
@property --tw-shadow-color {
|
|
461
|
-
syntax: "*";
|
|
462
|
-
inherits: false;
|
|
463
|
-
}
|
|
464
|
-
@property --tw-shadow-alpha {
|
|
465
|
-
syntax: "<percentage>";
|
|
466
|
-
inherits: false;
|
|
467
|
-
initial-value: 100%;
|
|
468
|
-
}
|
|
469
|
-
@property --tw-inset-shadow {
|
|
470
|
-
syntax: "*";
|
|
471
|
-
inherits: false;
|
|
472
|
-
initial-value: 0 0 #0000;
|
|
473
|
-
}
|
|
474
|
-
@property --tw-inset-shadow-color {
|
|
475
|
-
syntax: "*";
|
|
476
|
-
inherits: false;
|
|
477
|
-
}
|
|
478
|
-
@property --tw-inset-shadow-alpha {
|
|
479
|
-
syntax: "<percentage>";
|
|
480
|
-
inherits: false;
|
|
481
|
-
initial-value: 100%;
|
|
482
|
-
}
|
|
483
|
-
@property --tw-ring-color {
|
|
484
|
-
syntax: "*";
|
|
485
|
-
inherits: false;
|
|
486
|
-
}
|
|
487
|
-
@property --tw-ring-shadow {
|
|
488
|
-
syntax: "*";
|
|
489
|
-
inherits: false;
|
|
490
|
-
initial-value: 0 0 #0000;
|
|
491
|
-
}
|
|
492
|
-
@property --tw-inset-ring-color {
|
|
493
|
-
syntax: "*";
|
|
494
|
-
inherits: false;
|
|
495
|
-
}
|
|
496
|
-
@property --tw-inset-ring-shadow {
|
|
497
|
-
syntax: "*";
|
|
498
|
-
inherits: false;
|
|
499
|
-
initial-value: 0 0 #0000;
|
|
500
|
-
}
|
|
501
|
-
@property --tw-ring-inset {
|
|
502
|
-
syntax: "*";
|
|
503
|
-
inherits: false;
|
|
504
|
-
}
|
|
505
|
-
@property --tw-ring-offset-width {
|
|
506
|
-
syntax: "<length>";
|
|
507
|
-
inherits: false;
|
|
508
|
-
initial-value: 0px;
|
|
509
|
-
}
|
|
510
|
-
@property --tw-ring-offset-color {
|
|
511
|
-
syntax: "*";
|
|
512
|
-
inherits: false;
|
|
513
|
-
initial-value: #fff;
|
|
514
|
-
}
|
|
515
|
-
@property --tw-ring-offset-shadow {
|
|
516
|
-
syntax: "*";
|
|
517
|
-
inherits: false;
|
|
518
|
-
initial-value: 0 0 #0000;
|
|
519
|
-
}
|
|
520
444
|
@property --tw-backdrop-blur {
|
|
521
445
|
syntax: "*";
|
|
522
446
|
inherits: false;
|
|
@@ -585,20 +509,6 @@
|
|
|
585
509
|
--tw-leading: initial;
|
|
586
510
|
--tw-font-weight: initial;
|
|
587
511
|
--tw-tracking: initial;
|
|
588
|
-
--tw-shadow: 0 0 #0000;
|
|
589
|
-
--tw-shadow-color: initial;
|
|
590
|
-
--tw-shadow-alpha: 100%;
|
|
591
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
592
|
-
--tw-inset-shadow-color: initial;
|
|
593
|
-
--tw-inset-shadow-alpha: 100%;
|
|
594
|
-
--tw-ring-color: initial;
|
|
595
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
596
|
-
--tw-inset-ring-color: initial;
|
|
597
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
598
|
-
--tw-ring-inset: initial;
|
|
599
|
-
--tw-ring-offset-width: 0px;
|
|
600
|
-
--tw-ring-offset-color: #fff;
|
|
601
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
602
512
|
--tw-backdrop-blur: initial;
|
|
603
513
|
--tw-backdrop-brightness: initial;
|
|
604
514
|
--tw-backdrop-contrast: initial;
|
|
@@ -620,17 +530,7 @@
|
|
|
620
530
|
:root, :host {
|
|
621
531
|
--tuwadocs-color-red-400: oklch(70.4% 0.191 22.216);
|
|
622
532
|
--tuwadocs-color-red-600: oklch(57.7% 0.245 27.325);
|
|
623
|
-
--tuwadocs-color-blue-300: oklch(80.9% 0.105 251.813);
|
|
624
|
-
--tuwadocs-color-blue-400: oklch(70.7% 0.165 254.624);
|
|
625
|
-
--tuwadocs-color-blue-500: oklch(62.3% 0.214 259.815);
|
|
626
|
-
--tuwadocs-color-gray-200: oklch(92.8% 0.006 264.531);
|
|
627
|
-
--tuwadocs-color-gray-300: oklch(87.2% 0.01 258.338);
|
|
628
|
-
--tuwadocs-color-gray-400: oklch(70.7% 0.022 261.325);
|
|
629
|
-
--tuwadocs-color-gray-600: oklch(44.6% 0.03 256.802);
|
|
630
|
-
--tuwadocs-color-gray-700: oklch(37.3% 0.034 259.733);
|
|
631
|
-
--tuwadocs-color-gray-900: oklch(21% 0.034 264.665);
|
|
632
533
|
--tuwadocs-color-black: #000;
|
|
633
|
-
--tuwadocs-color-white: #fff;
|
|
634
534
|
--tuwadocs-spacing: 0.25rem;
|
|
635
535
|
--tuwadocs-text-xs: 0.75rem;
|
|
636
536
|
--tuwadocs-text-xs--line-height: calc(1 / 0.75);
|
|
@@ -644,10 +544,6 @@
|
|
|
644
544
|
--tuwadocs-font-weight-semibold: 600;
|
|
645
545
|
--tuwadocs-font-weight-bold: 700;
|
|
646
546
|
--tuwadocs-tracking-tight: -0.025em;
|
|
647
|
-
--tuwadocs-radius-md: 0.375rem;
|
|
648
|
-
--tuwadocs-radius-lg: 0.5rem;
|
|
649
|
-
--tuwadocs-radius-xl: 0.75rem;
|
|
650
|
-
--tuwadocs-radius-2xl: 1rem;
|
|
651
547
|
--tuwadocs-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
652
548
|
--tuwadocs-blur-sm: 8px;
|
|
653
549
|
--tuwadocs-default-transition-duration: 150ms;
|
|
@@ -757,8 +653,8 @@
|
|
|
757
653
|
.tuwadocs\:overflow-hidden {
|
|
758
654
|
overflow: hidden;
|
|
759
655
|
}
|
|
760
|
-
.tuwadocs\:rounded-
|
|
761
|
-
border-radius: var(--
|
|
656
|
+
.tuwadocs\:rounded-\[var\(--tuwa-rounded-corners\)\] {
|
|
657
|
+
border-radius: var(--tuwa-rounded-corners);
|
|
762
658
|
}
|
|
763
659
|
.tuwadocs\:border {
|
|
764
660
|
border-style: var(--tw-border-style);
|
|
@@ -841,15 +737,6 @@
|
|
|
841
737
|
.tuwadocs\:text-\[var\(--tuwa-text-secondary\)\] {
|
|
842
738
|
color: var(--tuwa-text-secondary);
|
|
843
739
|
}
|
|
844
|
-
.tuwadocs\:text-blue-400 {
|
|
845
|
-
color: var(--tuwadocs-color-blue-400);
|
|
846
|
-
}
|
|
847
|
-
.tuwadocs\:text-gray-600 {
|
|
848
|
-
color: var(--tuwadocs-color-gray-600);
|
|
849
|
-
}
|
|
850
|
-
.tuwadocs\:text-gray-700 {
|
|
851
|
-
color: var(--tuwadocs-color-gray-700);
|
|
852
|
-
}
|
|
853
740
|
.tuwadocs\:underline {
|
|
854
741
|
text-decoration-line: underline;
|
|
855
742
|
}
|
|
@@ -903,24 +790,24 @@
|
|
|
903
790
|
}
|
|
904
791
|
}
|
|
905
792
|
}
|
|
906
|
-
.tuwadocs\:hover\:text-
|
|
793
|
+
.tuwadocs\:hover\:text-red-600 {
|
|
907
794
|
&:hover {
|
|
908
795
|
@media (hover: hover) {
|
|
909
|
-
color: var(--tuwadocs-color-
|
|
796
|
+
color: var(--tuwadocs-color-red-600);
|
|
910
797
|
}
|
|
911
798
|
}
|
|
912
799
|
}
|
|
913
|
-
.tuwadocs\:hover\:
|
|
800
|
+
.tuwadocs\:hover\:underline {
|
|
914
801
|
&:hover {
|
|
915
802
|
@media (hover: hover) {
|
|
916
|
-
|
|
803
|
+
text-decoration-line: underline;
|
|
917
804
|
}
|
|
918
805
|
}
|
|
919
806
|
}
|
|
920
|
-
.tuwadocs\:hover\:
|
|
807
|
+
.tuwadocs\:hover\:opacity-80 {
|
|
921
808
|
&:hover {
|
|
922
809
|
@media (hover: hover) {
|
|
923
|
-
|
|
810
|
+
opacity: 80%;
|
|
924
811
|
}
|
|
925
812
|
}
|
|
926
813
|
}
|
|
@@ -932,23 +819,28 @@
|
|
|
932
819
|
}
|
|
933
820
|
}
|
|
934
821
|
}
|
|
935
|
-
.tuwadocs\:focus\:ring-
|
|
822
|
+
.tuwadocs\:focus\:ring-\[length\:var\(--tuwa-ring-width\)\] {
|
|
936
823
|
&:focus {
|
|
937
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(
|
|
824
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(var(--tuwa-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
938
825
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
939
826
|
}
|
|
940
827
|
}
|
|
941
|
-
.tuwadocs\:focus\:ring-
|
|
828
|
+
.tuwadocs\:focus\:ring-\[var\(--tuwa-text-accent\)\] {
|
|
942
829
|
&:focus {
|
|
943
|
-
--tw-ring-color: var(--
|
|
830
|
+
--tw-ring-color: var(--tuwa-text-accent);
|
|
944
831
|
}
|
|
945
832
|
}
|
|
946
|
-
.tuwadocs\:focus\:ring-offset-
|
|
833
|
+
.tuwadocs\:focus\:ring-offset-\[length\:var\(--tuwa-ring-width\)\] {
|
|
947
834
|
&:focus {
|
|
948
|
-
--tw-ring-offset-width:
|
|
835
|
+
--tw-ring-offset-width: var(--tuwa-ring-width);
|
|
949
836
|
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
950
837
|
}
|
|
951
838
|
}
|
|
839
|
+
.tuwadocs\:focus\:ring-offset-\[var\(--tuwa-bg-primary\)\] {
|
|
840
|
+
&:focus {
|
|
841
|
+
--tw-ring-offset-color: var(--tuwa-bg-primary);
|
|
842
|
+
}
|
|
843
|
+
}
|
|
952
844
|
.tuwadocs\:focus\:outline-none {
|
|
953
845
|
&:focus {
|
|
954
846
|
--tw-outline-style: none;
|
|
@@ -990,16 +882,6 @@
|
|
|
990
882
|
opacity: 0%;
|
|
991
883
|
}
|
|
992
884
|
}
|
|
993
|
-
.tuwadocs\:dark\:text-gray-300 {
|
|
994
|
-
@media (prefers-color-scheme: dark) {
|
|
995
|
-
color: var(--tuwadocs-color-gray-300);
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
.tuwadocs\:dark\:text-gray-400 {
|
|
999
|
-
@media (prefers-color-scheme: dark) {
|
|
1000
|
-
color: var(--tuwadocs-color-gray-400);
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
885
|
.tuwadocs\:dark\:hover\:text-red-400 {
|
|
1004
886
|
@media (prefers-color-scheme: dark) {
|
|
1005
887
|
&:hover {
|
|
@@ -1161,7 +1043,7 @@
|
|
|
1161
1043
|
[data-nextra-search] input {
|
|
1162
1044
|
border-color: rgb(229 231 235);
|
|
1163
1045
|
transition: all 0.2s ease;
|
|
1164
|
-
border-radius:
|
|
1046
|
+
border-radius: var(--tuwa-rounded-corners);
|
|
1165
1047
|
}
|
|
1166
1048
|
[data-nextra-search] input:focus {
|
|
1167
1049
|
border-color: var(--tuwa-primary) !important;
|
|
@@ -1184,7 +1066,7 @@
|
|
|
1184
1066
|
color: var(--tuwa-primary);
|
|
1185
1067
|
}
|
|
1186
1068
|
[data-nextra-code] {
|
|
1187
|
-
border-radius:
|
|
1069
|
+
border-radius: var(--tuwa-rounded-corners);
|
|
1188
1070
|
border: 1px solid rgb(229 231 235);
|
|
1189
1071
|
background: rgb(249 250 251);
|
|
1190
1072
|
}
|
|
@@ -1257,7 +1139,7 @@
|
|
|
1257
1139
|
.tuwa-button {
|
|
1258
1140
|
display: inline-flex;
|
|
1259
1141
|
align-items: center;
|
|
1260
|
-
border-radius: var(--
|
|
1142
|
+
border-radius: var(--tuwa-rounded-corners);
|
|
1261
1143
|
border-style: var(--tw-border-style);
|
|
1262
1144
|
border-width: 1px;
|
|
1263
1145
|
border-color: transparent;
|
|
@@ -1276,11 +1158,9 @@
|
|
|
1276
1158
|
box-shadow: 0 4px 12px rgb(99 102 241 / 0.3);
|
|
1277
1159
|
}
|
|
1278
1160
|
.tuwa-card {
|
|
1279
|
-
border-radius: var(--
|
|
1161
|
+
border-radius: var(--tuwa-rounded-corners);
|
|
1280
1162
|
border-style: var(--tw-border-style);
|
|
1281
1163
|
border-width: 1px;
|
|
1282
|
-
border-color: var(--tuwadocs-color-gray-200);
|
|
1283
|
-
background-color: var(--tuwadocs-color-white);
|
|
1284
1164
|
padding: calc(var(--tuwadocs-spacing) * 6);
|
|
1285
1165
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1286
1166
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -1295,12 +1175,8 @@
|
|
|
1295
1175
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1296
1176
|
}
|
|
1297
1177
|
}
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
}
|
|
1301
|
-
@media (prefers-color-scheme: dark) {
|
|
1302
|
-
background-color: var(--tuwadocs-color-gray-900);
|
|
1303
|
-
}
|
|
1178
|
+
background-color: var(--tuwa-bg-primary);
|
|
1179
|
+
border-color: var(--tuwa-border-primary);
|
|
1304
1180
|
}
|
|
1305
1181
|
.nextra-nav-container .nx-text-primary-600 {
|
|
1306
1182
|
color: var(--tuwa-primary) !important;
|
|
@@ -1367,6 +1243,71 @@
|
|
|
1367
1243
|
syntax: "*";
|
|
1368
1244
|
inherits: false;
|
|
1369
1245
|
}
|
|
1246
|
+
@property --tw-shadow {
|
|
1247
|
+
syntax: "*";
|
|
1248
|
+
inherits: false;
|
|
1249
|
+
initial-value: 0 0 #0000;
|
|
1250
|
+
}
|
|
1251
|
+
@property --tw-shadow-color {
|
|
1252
|
+
syntax: "*";
|
|
1253
|
+
inherits: false;
|
|
1254
|
+
}
|
|
1255
|
+
@property --tw-shadow-alpha {
|
|
1256
|
+
syntax: "<percentage>";
|
|
1257
|
+
inherits: false;
|
|
1258
|
+
initial-value: 100%;
|
|
1259
|
+
}
|
|
1260
|
+
@property --tw-inset-shadow {
|
|
1261
|
+
syntax: "*";
|
|
1262
|
+
inherits: false;
|
|
1263
|
+
initial-value: 0 0 #0000;
|
|
1264
|
+
}
|
|
1265
|
+
@property --tw-inset-shadow-color {
|
|
1266
|
+
syntax: "*";
|
|
1267
|
+
inherits: false;
|
|
1268
|
+
}
|
|
1269
|
+
@property --tw-inset-shadow-alpha {
|
|
1270
|
+
syntax: "<percentage>";
|
|
1271
|
+
inherits: false;
|
|
1272
|
+
initial-value: 100%;
|
|
1273
|
+
}
|
|
1274
|
+
@property --tw-ring-color {
|
|
1275
|
+
syntax: "*";
|
|
1276
|
+
inherits: false;
|
|
1277
|
+
}
|
|
1278
|
+
@property --tw-ring-shadow {
|
|
1279
|
+
syntax: "*";
|
|
1280
|
+
inherits: false;
|
|
1281
|
+
initial-value: 0 0 #0000;
|
|
1282
|
+
}
|
|
1283
|
+
@property --tw-inset-ring-color {
|
|
1284
|
+
syntax: "*";
|
|
1285
|
+
inherits: false;
|
|
1286
|
+
}
|
|
1287
|
+
@property --tw-inset-ring-shadow {
|
|
1288
|
+
syntax: "*";
|
|
1289
|
+
inherits: false;
|
|
1290
|
+
initial-value: 0 0 #0000;
|
|
1291
|
+
}
|
|
1292
|
+
@property --tw-ring-inset {
|
|
1293
|
+
syntax: "*";
|
|
1294
|
+
inherits: false;
|
|
1295
|
+
}
|
|
1296
|
+
@property --tw-ring-offset-width {
|
|
1297
|
+
syntax: "<length>";
|
|
1298
|
+
inherits: false;
|
|
1299
|
+
initial-value: 0px;
|
|
1300
|
+
}
|
|
1301
|
+
@property --tw-ring-offset-color {
|
|
1302
|
+
syntax: "*";
|
|
1303
|
+
inherits: false;
|
|
1304
|
+
initial-value: #fff;
|
|
1305
|
+
}
|
|
1306
|
+
@property --tw-ring-offset-shadow {
|
|
1307
|
+
syntax: "*";
|
|
1308
|
+
inherits: false;
|
|
1309
|
+
initial-value: 0 0 #0000;
|
|
1310
|
+
}
|
|
1370
1311
|
@keyframes pulse {
|
|
1371
1312
|
50% {
|
|
1372
1313
|
opacity: 0.5;
|
|
@@ -1379,20 +1320,6 @@
|
|
|
1379
1320
|
--tw-leading: initial;
|
|
1380
1321
|
--tw-font-weight: initial;
|
|
1381
1322
|
--tw-tracking: initial;
|
|
1382
|
-
--tw-shadow: 0 0 #0000;
|
|
1383
|
-
--tw-shadow-color: initial;
|
|
1384
|
-
--tw-shadow-alpha: 100%;
|
|
1385
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
1386
|
-
--tw-inset-shadow-color: initial;
|
|
1387
|
-
--tw-inset-shadow-alpha: 100%;
|
|
1388
|
-
--tw-ring-color: initial;
|
|
1389
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
1390
|
-
--tw-inset-ring-color: initial;
|
|
1391
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
1392
|
-
--tw-ring-inset: initial;
|
|
1393
|
-
--tw-ring-offset-width: 0px;
|
|
1394
|
-
--tw-ring-offset-color: #fff;
|
|
1395
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1396
1323
|
--tw-backdrop-blur: initial;
|
|
1397
1324
|
--tw-backdrop-brightness: initial;
|
|
1398
1325
|
--tw-backdrop-contrast: initial;
|
|
@@ -1407,6 +1334,20 @@
|
|
|
1407
1334
|
--tw-translate-z: 0;
|
|
1408
1335
|
--tw-space-x-reverse: 0;
|
|
1409
1336
|
--tw-duration: initial;
|
|
1337
|
+
--tw-shadow: 0 0 #0000;
|
|
1338
|
+
--tw-shadow-color: initial;
|
|
1339
|
+
--tw-shadow-alpha: 100%;
|
|
1340
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
1341
|
+
--tw-inset-shadow-color: initial;
|
|
1342
|
+
--tw-inset-shadow-alpha: 100%;
|
|
1343
|
+
--tw-ring-color: initial;
|
|
1344
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
1345
|
+
--tw-inset-ring-color: initial;
|
|
1346
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
1347
|
+
--tw-ring-inset: initial;
|
|
1348
|
+
--tw-ring-offset-width: 0px;
|
|
1349
|
+
--tw-ring-offset-color: #fff;
|
|
1350
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1410
1351
|
}
|
|
1411
1352
|
}
|
|
1412
1353
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {cn,useCopyToClipboard}from'@tuwaio/nova-core';export*from'@tuwaio/nova-core';import {CheckCircleIcon,Square2StackIcon,CommandLineIcon}from'@heroicons/react/24/outline';import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {Prism}from'react-syntax-highlighter';import {materialOceanic,materialLight}from'react-syntax-highlighter/dist/esm/styles/prism';import O from'next/dynamic';import D from'next/image';import {Footer,Navbar}from'nextra-theme-docs';import {Tabs}from'nextra/components';function h({isCopied:o,onCopy:t}){return jsx("button",{onClick:t,type:"button",className:cn("tuwadocs:h-6 tuwadocs:w-6 tuwadocs:cursor-pointer tuwadocs:transition-colors",o?"tuwadocs:text-[var(--tuwa-success-icon)]":"tuwadocs:text-[var(--tuwa-text-secondary)] tuwadocs:hover:text-[var(--tuwa-text-primary)]"),children:o?jsx(CheckCircleIcon,{}):jsx(Square2StackIcon,{})})}function b({title:o,titleIcons:t,children:a,textToCopy:s}){let{isCopied:r,copy:m}=useCopyToClipboard(1500);return jsxs("div",{className:cn("tuwadocs:group tuwadocs:overflow-hidden tuwadocs:rounded-
|
|
2
|
-
export{b as CodeBlock,x as CodeHighlighter,h as CopyIconButton,No as Features,Io as Footer,Oo as Navbar,Yo as PackageInstallationTabs,Ko as StyledLink,jo as VideoPlayer,
|
|
1
|
+
import {cn,useCopyToClipboard}from'@tuwaio/nova-core';export*from'@tuwaio/nova-core';import {CheckCircleIcon,Square2StackIcon,CommandLineIcon}from'@heroicons/react/24/outline';import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {Prism}from'react-syntax-highlighter';import {materialOceanic,materialLight}from'react-syntax-highlighter/dist/esm/styles/prism';import O from'next/dynamic';import D from'next/image';import {Footer,Navbar}from'nextra-theme-docs';import {Tabs}from'nextra/components';function h({isCopied:o,onCopy:t}){return jsx("button",{onClick:t,type:"button",className:cn("tuwadocs:h-6 tuwadocs:w-6 tuwadocs:cursor-pointer tuwadocs:transition-colors",o?"tuwadocs:text-[var(--tuwa-success-icon)]":"tuwadocs:text-[var(--tuwa-text-secondary)] tuwadocs:hover:text-[var(--tuwa-text-primary)]"),children:o?jsx(CheckCircleIcon,{}):jsx(Square2StackIcon,{})})}function b({title:o,titleIcons:t,children:a,textToCopy:s}){let{isCopied:r,copy:m}=useCopyToClipboard(1500);return jsxs("div",{className:cn("tuwadocs:group tuwadocs:overflow-hidden tuwadocs:rounded-[var(--tuwa-rounded-corners)] tuwadocs:border","tuwadocs:border-[var(--tuwa-border-secondary)] tuwadocs:bg-[var(--tuwa-bg-primary)]"),children:[jsxs("div",{className:cn("tuwadocs:flex tuwadocs:items-center tuwadocs:justify-between tuwadocs:gap-4 tuwadocs:px-4 tuwadocs:py-2","tuwadocs:border-b tuwadocs:border-[var(--tuwa-border-secondary)] tuwadocs:bg-[var(--tuwa-bg-secondary)]"),children:[jsxs("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-2",children:[jsx("div",{className:"tuwadocs:h-[20px] tuwadocs:w-[20px] tuwadocs:text-[var(--tuwa-text-secondary)]",children:t}),jsx("p",{className:"tuwadocs:text-sm tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-primary)]",children:o})]}),jsx("div",{className:"tuwadocs:transition tuwadocs:md:opacity-0 tuwadocs:group-hover:opacity-100",children:jsx(h,{isCopied:r,onCopy:()=>m(s)})})]}),a]})}var V=({children:o})=>jsx(Fragment,{children:o}),d=O(()=>Promise.resolve(V),{ssr:false});function x({children:o,language:t,resolvedTheme:a}){return jsx("div",{className:"tuwadocs:border-t tuwadocs:border-[var(--tuwa-border-secondary)]",children:jsx(d,{children:jsx(Prism,{language:t??"bash",customStyle:{margin:0,background:"transparent"},style:a==="dark"?materialOceanic:materialLight,children:String(o).replace(/\n$/,"")})})})}function No({features:o}){return jsx("div",{className:"tuwadocs:grid tuwadocs:grid-cols-1 tuwadocs:md:grid-cols-3 tuwadocs:gap-6 tuwadocs:mt-12",children:o.map(t=>jsxs("div",{className:"tuwadocs:p-6 tuwadocs:border tuwadocs:rounded-[var(--tuwa-rounded-corners)] tuwadocs:hover:shadow-lg tuwadocs:transition-shadow",children:[jsx("div",{className:"tuwadocs:text-2xl tuwadocs:mb-3",children:t.icon}),jsx("h3",{className:"tuwadocs:text-lg tuwadocs:font-semibold tuwadocs:mb-2",children:t.title}),jsx("p",{className:"tuwadocs:text-[var(--tuwa-text-secondary)]",children:t.description})]},t.title))})}var y=[{title:"NPM",href:"https://npmjs.com/org/tuwaio",className:"tuwadocs:hover:text-red-600 tuwadocs:dark:hover:text-red-400",image:jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0H1.763zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113l.017-13.847z"})})}],C=[{title:"NPM",href:"https://npmjs.com/org/tuwaio",className:"tuwa-footer-link--npm",image:jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0H1.763zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113l.017-13.847z"})})},{title:"GitHub",href:"https://github.com/TuwaIO",className:"tuwa-footer-link--github",image:jsx("svg",{className:"tuwadocs:w-4 tuwadocs:h-4",fill:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}];function Io({links:o}){return jsx(Footer,{children:jsxs("div",{className:"tuwadocs:flex tuwadocs:w-full tuwadocs:flex-col tuwadocs:items-center tuwadocs:sm:items-start tuwa-footer-border tuwadocs:pt-8",children:[jsxs("div",{className:"tuwadocs:mb-6 tuwadocs:flex tuwadocs:items-center tuwadocs:gap-4 tuwadocs:w-full tuwadocs:justify-between",children:[jsx("div",{className:"tuwadocs:flex tuwadocs:items-center",children:jsx(d,{children:jsx(D,{width:120,height:40,src:"https://raw.githubusercontent.com/TuwaIO/workflows/refs/heads/main/preview/tuwa_logo.svg",alt:"TUWA Logo",className:"tuwadocs:transition-opacity tuwadocs:duration-300"})})}),jsx("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-4 tuwadocs:text-sm",children:(o??C).map(({title:t,href:a,image:s,className:r})=>jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:cn("tuwa-footer-link tuwadocs:flex tuwadocs:items-center tuwadocs:gap-1",r),children:[s,jsx("span",{className:"tuwadocs:hidden tuwadocs:sm:inline",children:t})]},t))})]}),jsxs("div",{className:"tuwadocs:w-full tuwa-footer-border tuwadocs:pt-4",children:[jsxs("div",{className:"tuwadocs:flex tuwadocs:flex-col tuwadocs:sm:flex-row tuwadocs:justify-between tuwadocs:items-start tuwadocs:sm:items-center tuwadocs:gap-4",children:[jsxs("div",{className:"tuwadocs:flex-1",children:[jsx("p",{className:"tuwa-footer-description",children:"A useful and powerful utils for building decentralized applications."}),jsx("p",{className:"tuwa-footer-license",children:"Licensed under Apache 2.0. Open source and free to use."})]}),jsxs("div",{className:"tuwa-footer-copyright",children:["\xA9 2025 - ",new Date().getFullYear()," TUWA. Built with"," ",jsx("span",{className:"tuwa-heart","aria-label":"love",children:"\u2764\uFE0F"})," ","for Web3."]})]}),jsx("div",{className:"tuwadocs:flex tuwadocs:flex-wrap tuwadocs:items-center tuwadocs:gap-3 tuwadocs:mt-4 tuwadocs:pt-4 tuwa-footer-border"})]})]})})}function Oo({links:o}){return jsx(Navbar,{logo:jsx(d,{children:jsx(D,{width:120,height:40,src:"https://raw.githubusercontent.com/TuwaIO/workflows/refs/heads/main/preview/tuwa_logo.svg",alt:"TUWA Logo"})}),children:jsx("div",{className:"tuwadocs:flex tuwadocs:items-center tuwadocs:gap-3",children:(o??y).map(({title:t,href:a,image:s,className:r})=>jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:cn("tuwadocs:hidden tuwadocs:sm:flex tuwadocs:items-center tuwadocs:gap-1 tuwadocs:px-3 tuwadocs:py-1.5 tuwadocs:text-sm tuwadocs:font-medium tuwadocs:transition-colors tuwadocs:text-[var(--tuwa-text-primary)]",r),children:[s,t]},t))})})}var P=[{title:"pnpm",command:"pnpm add"},{title:"bun",command:"bun add"},{title:"npm",command:"npm install"},{title:"yarn",command:"yarn add"}];function Yo({packagesList:o,resolvedTheme:t}){return jsx("div",{className:"tuwadocs:my-4",children:jsx(Tabs,{items:P.map(a=>a.title),children:P.map(a=>jsx(Tabs.Tab,{children:jsx(b,{title:"Terminal",titleIcons:jsx(CommandLineIcon,{}),textToCopy:`${a.command} ${o}`,children:jsx(x,{resolvedTheme:t,language:"bash",children:`${a.command} ${o}`})})},a.title))})})}function Ko({href:o,children:t}){return jsx("a",{className:cn("tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-accent)]","tuwadocs:transition-all tuwadocs:hover:underline tuwadocs:underline-offset-4"),href:o,target:"_blank",rel:"noopener noreferrer",children:t})}var jo=({src:o,poster:t,autoplay:a=false,muted:s=false,loop:r=false,controls:m=true,className:R="",aspectRatio:T="aspect-video",onPlay:I,onPause:L,onEnded:B,"aria-label":H})=>jsx("div",{className:cn("tuwadocs:relative tuwadocs:w-full tuwadocs:overflow-hidden tuwadocs:rounded-[var(--tuwa-rounded-corners)] tuwadocs:bg-black tuwadocs:my-4",T,R),children:jsxs("video",{src:o,poster:t,controls:m,autoPlay:a,muted:s,loop:r,className:cn("tuwadocs:absolute tuwadocs:inset-0 tuwadocs:h-full tuwadocs:w-full tuwadocs:object-contain","tuwadocs:transition-opacity tuwadocs:duration-200","tuwadocs:focus:outline-none tuwadocs:focus:ring-[length:var(--tuwa-ring-width)] tuwadocs:focus:ring-[var(--tuwa-text-accent)] tuwadocs:focus:ring-offset-[length:var(--tuwa-ring-width)] tuwadocs:focus:ring-offset-[var(--tuwa-bg-primary)]"),onPlay:I,onPause:L,onEnded:B,"aria-label":H,preload:"metadata",children:[jsx("track",{kind:"captions"}),"Your browser does not support the video tag. Please"," ",jsx("a",{href:o,download:true,className:"tuwadocs:text-[var(--tuwa-text-accent)] tuwadocs:underline tuwadocs:hover:opacity-80",children:"download the video"})," ","to watch it."]})});
|
|
2
|
+
export{b as CodeBlock,x as CodeHighlighter,h as CopyIconButton,No as Features,Io as Footer,Oo as Navbar,Yo as PackageInstallationTabs,Ko as StyledLink,jo as VideoPlayer,C as baseFooterLinks,y as baseNavLinks};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/docs-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Oleksandr Tkach",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@tuwaio/nova-core": "^0.2
|
|
50
|
+
"@tuwaio/nova-core": "^0.3.2",
|
|
51
51
|
"clsx": "^2.1.1",
|
|
52
|
-
"react-syntax-highlighter": "^16.1.
|
|
52
|
+
"react-syntax-highlighter": "^16.1.1",
|
|
53
53
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
54
|
-
"tailwind-merge": "^3.
|
|
54
|
+
"tailwind-merge": "^3.5.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@heroicons/react": ">=2",
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
"nextra": "^4.6.1",
|
|
66
66
|
"nextra-theme-docs": "^4.6.1",
|
|
67
67
|
"@heroicons/react": "^2.2.0",
|
|
68
|
-
"@tailwindcss/postcss": "^4.1
|
|
69
|
-
"@tailwindcss/vite": "^4.1
|
|
68
|
+
"@tailwindcss/postcss": "^4.2.1",
|
|
69
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
70
70
|
"@types/node": "^25",
|
|
71
|
-
"@types/react": "^19.2.
|
|
72
|
-
"autoprefixer": "^10.4.
|
|
73
|
-
"postcss": "^8.5.
|
|
71
|
+
"@types/react": "^19.2.14",
|
|
72
|
+
"autoprefixer": "^10.4.27",
|
|
73
|
+
"postcss": "^8.5.8",
|
|
74
74
|
"postcss-cli": "^11.0.1",
|
|
75
75
|
"react": "^19.2.4",
|
|
76
|
-
"tailwindcss": "^4.1
|
|
76
|
+
"tailwindcss": "^4.2.1",
|
|
77
77
|
"tsup": "^8.5.1",
|
|
78
78
|
"typescript": "^5.9.3"
|
|
79
79
|
},
|