create-kuckit-app 0.3.0 → 0.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kuckit-app",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Create a new Kuckit application",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -12,15 +12,26 @@
12
12
  "@kuckit/sdk-react": "^1.0.0",
13
13
  "@orpc/client": "^1.10.0",
14
14
  "@orpc/tanstack-query": "^1.10.0",
15
+ "@radix-ui/react-avatar": "^1.1.10",
16
+ "@radix-ui/react-collapsible": "^1.1.11",
17
+ "@radix-ui/react-dialog": "^1.1.14",
18
+ "@radix-ui/react-separator": "^1.1.7",
19
+ "@radix-ui/react-slot": "^1.2.3",
20
+ "@radix-ui/react-tooltip": "^1.2.7",
15
21
  "@tanstack/react-query": "^5.85.5",
16
22
  "@tanstack/react-router": "^1.114.25",
17
23
  "better-auth": "^1.3.28",
24
+ "class-variance-authority": "^0.7.1",
25
+ "clsx": "^2.1.1",
26
+ "lucide-react": "^0.511.0",
18
27
  "react": "^19.1.0",
19
28
  "react-dom": "^19.1.0",
29
+ "tailwind-merge": "^3.3.0",
20
30
  "zod": "^4.1.11",
21
31
  "@__APP_NAME_KEBAB__/auth": "workspace:*"
22
32
  },
23
33
  "devDependencies": {
34
+ "@tailwindcss/vite": "^4.0.15",
24
35
  "@tanstack/react-router-devtools": "^1.114.27",
25
36
  "@tanstack/router-plugin": "^1.114.27",
26
37
  "@tanstack/react-query-devtools": "^5.85.5",
@@ -28,6 +39,8 @@
28
39
  "@types/react": "~19.1.10",
29
40
  "@types/react-dom": "^19.0.4",
30
41
  "@vitejs/plugin-react": "^4.3.4",
42
+ "postcss": "^8.5.3",
43
+ "tailwindcss": "^4.0.15",
31
44
  "typescript": "^5.8.2",
32
45
  "vite": "^6.2.2"
33
46
  }
@@ -0,0 +1,133 @@
1
+ @import "tailwindcss";
2
+
3
+ @custom-variant dark (&:where(.dark, .dark *));
4
+
5
+ @theme {
6
+ --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif,
7
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
8
+ }
9
+
10
+ html,
11
+ body {
12
+ @apply bg-white dark:bg-gray-950;
13
+
14
+ @media (prefers-color-scheme: dark) {
15
+ color-scheme: dark;
16
+ }
17
+ }
18
+
19
+ :root {
20
+ --radius: 0.625rem;
21
+ --background: oklch(1 0 0);
22
+ --foreground: oklch(0.145 0 0);
23
+ --card: oklch(1 0 0);
24
+ --card-foreground: oklch(0.145 0 0);
25
+ --popover: oklch(1 0 0);
26
+ --popover-foreground: oklch(0.145 0 0);
27
+ --primary: oklch(0.205 0 0);
28
+ --primary-foreground: oklch(0.985 0 0);
29
+ --secondary: oklch(0.97 0 0);
30
+ --secondary-foreground: oklch(0.205 0 0);
31
+ --muted: oklch(0.97 0 0);
32
+ --muted-foreground: oklch(0.556 0 0);
33
+ --accent: oklch(0.97 0 0);
34
+ --accent-foreground: oklch(0.205 0 0);
35
+ --destructive: oklch(0.577 0.245 27.325);
36
+ --border: oklch(0.922 0 0);
37
+ --input: oklch(0.922 0 0);
38
+ --ring: oklch(0.708 0 0);
39
+ --chart-1: oklch(0.646 0.222 41.116);
40
+ --chart-2: oklch(0.6 0.118 184.704);
41
+ --chart-3: oklch(0.398 0.07 227.392);
42
+ --chart-4: oklch(0.828 0.189 84.429);
43
+ --chart-5: oklch(0.769 0.188 70.08);
44
+ --sidebar: oklch(0.985 0 0);
45
+ --sidebar-foreground: oklch(0.145 0 0);
46
+ --sidebar-primary: oklch(0.205 0 0);
47
+ --sidebar-primary-foreground: oklch(0.985 0 0);
48
+ --sidebar-accent: oklch(0.97 0 0);
49
+ --sidebar-accent-foreground: oklch(0.205 0 0);
50
+ --sidebar-border: oklch(0.922 0 0);
51
+ --sidebar-ring: oklch(0.708 0 0);
52
+ }
53
+
54
+ .dark {
55
+ --background: oklch(0.145 0 0);
56
+ --foreground: oklch(0.985 0 0);
57
+ --card: oklch(0.205 0 0);
58
+ --card-foreground: oklch(0.985 0 0);
59
+ --popover: oklch(0.205 0 0);
60
+ --popover-foreground: oklch(0.985 0 0);
61
+ --primary: oklch(0.922 0 0);
62
+ --primary-foreground: oklch(0.205 0 0);
63
+ --secondary: oklch(0.269 0 0);
64
+ --secondary-foreground: oklch(0.985 0 0);
65
+ --muted: oklch(0.269 0 0);
66
+ --muted-foreground: oklch(0.708 0 0);
67
+ --accent: oklch(0.269 0 0);
68
+ --accent-foreground: oklch(0.985 0 0);
69
+ --destructive: oklch(0.704 0.191 22.216);
70
+ --border: oklch(1 0 0 / 10%);
71
+ --input: oklch(1 0 0 / 15%);
72
+ --ring: oklch(0.556 0 0);
73
+ --chart-1: oklch(0.488 0.243 264.376);
74
+ --chart-2: oklch(0.696 0.17 162.48);
75
+ --chart-3: oklch(0.769 0.188 70.08);
76
+ --chart-4: oklch(0.627 0.265 303.9);
77
+ --chart-5: oklch(0.645 0.246 16.439);
78
+ --sidebar: oklch(0.205 0 0);
79
+ --sidebar-foreground: oklch(0.985 0 0);
80
+ --sidebar-primary: oklch(0.488 0.243 264.376);
81
+ --sidebar-primary-foreground: oklch(0.985 0 0);
82
+ --sidebar-accent: oklch(0.269 0 0);
83
+ --sidebar-accent-foreground: oklch(0.985 0 0);
84
+ --sidebar-border: oklch(1 0 0 / 10%);
85
+ --sidebar-ring: oklch(0.556 0 0);
86
+ }
87
+
88
+ @theme inline {
89
+ --radius-sm: calc(var(--radius) - 4px);
90
+ --radius-md: calc(var(--radius) - 2px);
91
+ --radius-lg: var(--radius);
92
+ --radius-xl: calc(var(--radius) + 4px);
93
+ --color-background: var(--background);
94
+ --color-foreground: var(--foreground);
95
+ --color-card: var(--card);
96
+ --color-card-foreground: var(--card-foreground);
97
+ --color-popover: var(--popover);
98
+ --color-popover-foreground: var(--popover-foreground);
99
+ --color-primary: var(--primary);
100
+ --color-primary-foreground: var(--primary-foreground);
101
+ --color-secondary: var(--secondary);
102
+ --color-secondary-foreground: var(--secondary-foreground);
103
+ --color-muted: var(--muted);
104
+ --color-muted-foreground: var(--muted-foreground);
105
+ --color-accent: var(--accent);
106
+ --color-accent-foreground: var(--accent-foreground);
107
+ --color-destructive: var(--destructive);
108
+ --color-border: var(--border);
109
+ --color-input: var(--input);
110
+ --color-ring: var(--ring);
111
+ --color-chart-1: var(--chart-1);
112
+ --color-chart-2: var(--chart-2);
113
+ --color-chart-3: var(--chart-3);
114
+ --color-chart-4: var(--chart-4);
115
+ --color-chart-5: var(--chart-5);
116
+ --color-sidebar: var(--sidebar);
117
+ --color-sidebar-foreground: var(--sidebar-foreground);
118
+ --color-sidebar-primary: var(--sidebar-primary);
119
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
120
+ --color-sidebar-accent: var(--sidebar-accent);
121
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
122
+ --color-sidebar-border: var(--sidebar-border);
123
+ --color-sidebar-ring: var(--sidebar-ring);
124
+ }
125
+
126
+ @layer base {
127
+ * {
128
+ @apply border-border outline-ring/50;
129
+ }
130
+ body {
131
+ @apply bg-background text-foreground;
132
+ }
133
+ }
@@ -3,6 +3,7 @@ import ReactDOM from 'react-dom/client'
3
3
  import { routeTree } from './routeTree.gen'
4
4
  import { ServicesProvider } from './providers/ServicesProvider'
5
5
  import { KuckitProvider } from './providers/KuckitProvider'
6
+ import './index.css'
6
7
 
7
8
  declare module '@tanstack/react-router' {
8
9
  interface Register {
@@ -1,5 +1,5 @@
1
1
  import type { ClientModuleSpec } from '@kuckit/sdk-react'
2
- import { kuckitClientModule as itemsClientModule } from '@__APP_NAME_KEBAB__/items-module/src/client-module'
2
+ import { kuckitClientModule as itemsClientModule } from '@__APP_NAME_KEBAB__/items-module/client'
3
3
 
4
4
  /**
5
5
  * Client modules configuration
@@ -1,10 +1,11 @@
1
- import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react'
1
+ import tailwindcss from '@tailwindcss/vite'
3
2
  import { TanStackRouterVite } from '@tanstack/router-plugin/vite'
4
- import path from 'path'
3
+ import react from '@vitejs/plugin-react'
4
+ import path from 'node:path'
5
+ import { defineConfig } from 'vite'
5
6
 
6
7
  export default defineConfig({
7
- plugins: [TanStackRouterVite(), react()],
8
+ plugins: [tailwindcss(), TanStackRouterVite(), react()],
8
9
  resolve: {
9
10
  alias: {
10
11
  '@': path.resolve(__dirname, './src'),
@@ -13,6 +13,10 @@
13
13
  "./client": {
14
14
  "types": "./src/client-module.ts",
15
15
  "default": "./src/client-module.ts"
16
+ },
17
+ "./ui": {
18
+ "types": "./src/ui/index.ts",
19
+ "default": "./src/ui/index.ts"
16
20
  }
17
21
  },
18
22
  "peerDependencies": {
@@ -0,0 +1 @@
1
+ export { ItemsPage } from './ItemsPage'