├── .eslintrc.yml ├── .github └── workflows │ ├── ci.yml │ ├── release.canary.yml │ └── release.prod.yml ├── .gitignore ├── LICENSE ├── README.md ├── ava.config.mjs ├── client.d.ts ├── client.js ├── document.d.ts ├── document.js ├── next-env.d.ts ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.cjs ├── public ├── android-chrome-192x192.png ├── android-chrome-512x512.png ├── apple-touch-icon.png ├── favicon-16x16.png ├── favicon-32x32.png ├── favicon.ico ├── site.webmanifest └── vercel.svg ├── server.d.ts ├── server.js ├── spellcraft.json ├── src ├── cache │ ├── context.ts │ ├── fs.ts │ └── index.ts ├── client │ ├── index.ts │ ├── useSpell.ts │ └── withApp.tsx ├── document │ └── index.ts ├── index.css ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── api │ │ └── spellcraft.ts │ └── index.tsx └── server │ ├── StylesAPI.ts │ ├── index.ts │ └── withStylesCache.ts ├── tailwind.config.cjs ├── test └── example.test.ts ├── tsconfig.json └── tsconfig.tests.json /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.canary.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/.github/workflows/release.canary.yml -------------------------------------------------------------------------------- /.github/workflows/release.prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/.github/workflows/release.prod.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/README.md -------------------------------------------------------------------------------- /ava.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/ava.config.mjs -------------------------------------------------------------------------------- /client.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./dist/client"; -------------------------------------------------------------------------------- /client.js: -------------------------------------------------------------------------------- 1 | export * from "./dist/client/index.js"; 2 | -------------------------------------------------------------------------------- /document.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./dist/document"; -------------------------------------------------------------------------------- /document.js: -------------------------------------------------------------------------------- 1 | export * from "./dist/document/index.js"; 2 | -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/postcss.config.cjs -------------------------------------------------------------------------------- /public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/apple-touch-icon.png -------------------------------------------------------------------------------- /public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/favicon-16x16.png -------------------------------------------------------------------------------- /public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/favicon-32x32.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/site.webmanifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/site.webmanifest -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /server.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./dist/server"; -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | export * from "./dist/server/index.js"; 2 | -------------------------------------------------------------------------------- /spellcraft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/spellcraft.json -------------------------------------------------------------------------------- /src/cache/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/cache/context.ts -------------------------------------------------------------------------------- /src/cache/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/cache/fs.ts -------------------------------------------------------------------------------- /src/cache/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/cache/index.ts -------------------------------------------------------------------------------- /src/client/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/client/index.ts -------------------------------------------------------------------------------- /src/client/useSpell.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/client/useSpell.ts -------------------------------------------------------------------------------- /src/client/withApp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/client/withApp.tsx -------------------------------------------------------------------------------- /src/document/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/document/index.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/index.css -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/api/spellcraft.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/pages/api/spellcraft.ts -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/server/StylesAPI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/server/StylesAPI.ts -------------------------------------------------------------------------------- /src/server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/server/index.ts -------------------------------------------------------------------------------- /src/server/withStylesCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/src/server/withStylesCache.ts -------------------------------------------------------------------------------- /tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/tailwind.config.cjs -------------------------------------------------------------------------------- /test/example.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/test/example.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.tests.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SpellcraftAI/ui/HEAD/tsconfig.tests.json --------------------------------------------------------------------------------