@nateui/cli 0.0.0-stage → 0.0.4

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.
@@ -0,0 +1,54 @@
1
+ @import "./base.css";
2
+
3
+ @theme {
4
+ --animate-dash-flow: dash-flow 0.3s linear infinite;
5
+
6
+ @keyframes dash-flow {
7
+ to {
8
+ stroke-dashoffset: -12;
9
+ }
10
+ }
11
+ }
12
+
13
+ @layer base {
14
+ button,
15
+ [role="button"] {
16
+ cursor: pointer;
17
+ }
18
+
19
+ body {
20
+ @apply bg-background text-sm leading-normal text-foreground;
21
+ text-rendering: optimizeLegibility;
22
+ -webkit-font-smoothing: antialiased;
23
+ }
24
+
25
+ h1,
26
+ .h1 {
27
+ @apply text-4xl font-semibold text-foreground;
28
+ }
29
+
30
+ h2,
31
+ .h2 {
32
+ @apply text-3xl font-semibold text-foreground;
33
+ }
34
+
35
+ h3,
36
+ .h3 {
37
+ @apply text-2xl font-semibold text-foreground;
38
+ }
39
+
40
+ h4,
41
+ .h4 {
42
+ @apply text-xl font-semibold text-foreground;
43
+ }
44
+
45
+ h5,
46
+ .h5 {
47
+ @apply text-lg font-semibold text-foreground;
48
+ }
49
+
50
+ h6,
51
+ .h6 {
52
+ @apply text-base font-medium text-foreground;
53
+ }
54
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx",
15
+ "incremental": true,
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./src/*"]
23
+ }
24
+ },
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
33
+ "exclude": ["node_modules"]
34
+ }
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
7
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
8
+ <link
9
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
10
+ rel="stylesheet"
11
+ />
12
+ <title>NateUI App</title>
13
+ </head>
14
+ <body>
15
+ <div id="root"></div>
16
+ <script type="module" src="/src/main.tsx"></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "nateui-app",
3
+ "private": true,
4
+ "version": "0.1.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "tsc -b && vite build",
9
+ "preview": "vite preview"
10
+ },
11
+ "dependencies": {
12
+ "react": "19.2.4",
13
+ "react-dom": "19.2.4",
14
+ "@floating-ui/react": "^0.27",
15
+ "clsx": "^2.1.1",
16
+ "dayjs": "^1",
17
+ "motion": "^12",
18
+ "tailwind-merge": "^2"
19
+ },
20
+ "devDependencies": {
21
+ "@tailwindcss/typography": "^0.5.19",
22
+ "@tailwindcss/vite": "^4",
23
+ "@types/node": "^24",
24
+ "@types/react": "^19",
25
+ "@types/react-dom": "^19",
26
+ "@vitejs/plugin-react": "^6",
27
+ "tailwindcss": "^4",
28
+ "typescript": "~6.0.2",
29
+ "vite": "^8"
30
+ }
31
+ }
@@ -0,0 +1,12 @@
1
+ import { Button } from "@/components/ui/button";
2
+
3
+ function App() {
4
+ return (
5
+ <main className="flex min-h-screen flex-col items-center justify-center gap-4">
6
+ <p className="text-foreground">This app was created with NateUI.</p>
7
+ <Button>Get started</Button>
8
+ </main>
9
+ );
10
+ }
11
+
12
+ export default App;
@@ -0,0 +1,10 @@
1
+ import { StrictMode } from "react";
2
+ import { createRoot } from "react-dom/client";
3
+ import "@/styles/index.css";
4
+ import App from "./App.tsx";
5
+
6
+ createRoot(document.getElementById("root")!).render(
7
+ <StrictMode>
8
+ <App />
9
+ </StrictMode>,
10
+ );