@create-ui/cli 0.5.0 → 0.5.2

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.
@@ -9,7 +9,7 @@ allowed-tools: Bash(npx @create-ui/cli *), Bash(pnpm createui *), Bash(pnpm dlx
9
9
 
10
10
  Create UI is a design code system: **one unified styling system + many themes**. Components are added as source code into the user's project via the `createui` CLI, and styled with Create UI's own semantic tokens.
11
11
 
12
- It evolved from the shadcn/ui architecture (registry + components-as-source) but is its own system — its own CLI (`createui`), its own registry (`@createui`), and its own tokens and themes. There is no style/base split.
12
+ Components are delivered as source code through a registry (registry + components-as-source). Create UI is its own system — its own CLI (`createui`), its own registry (`@createui`), and its own tokens and themes. There is no style/base split.
13
13
 
14
14
  > **IMPORTANT:** Run published CLI commands with `npx @create-ui/cli <command>` (or `pnpm dlx @create-ui/cli <command>`). Inside this monorepo, contributors use `pnpm createui <command>` against the local registry — see [contributing.md](./contributing.md).
15
15
 
@@ -184,7 +184,7 @@ full rules):
184
184
  A correct root element looks like:
185
185
 
186
186
  ```tsx
187
- // Incorrect — ring focus, shadcn-style token, anonymous default export
187
+ // Incorrect — ring focus, non-semantic token, anonymous default export
188
188
  <button className={`${base} focus-visible:ring-2 bg-primary`}>{children}</button>
189
189
 
190
190
  // Correct — data-slot, cn(), outline focus, semantic token
@@ -6,7 +6,7 @@ Create UI is **one styling system with many themes**. Components reference seman
6
6
 
7
7
  - How it works (CSS variables → Tailwind utilities → components)
8
8
  - Token families (surfaces, text, primary scale, status, shadows, focus, radius)
9
- - shadcn Create UI token map (for migrants)
9
+ - Token name map (for migrants from other libraries)
10
10
  - Semantic spacing & typography tokens
11
11
  - Theming (primary themes, neutral themes, font variants)
12
12
  - Dark mode setup
@@ -77,11 +77,11 @@ Use `outline-primary-700` (or `outline-strongest` / `outline-strong`) for focus.
77
77
 
78
78
  ---
79
79
 
80
- ## shadcn Create UI Token Map
80
+ ## Token Name Map
81
81
 
82
- If you are migrating markup written against shadcn token names, translate them:
82
+ If you are porting markup written against common component-library token names, translate them:
83
83
 
84
- | shadcn | Create UI |
84
+ | Common token | Create UI |
85
85
  | --- | --- |
86
86
  | `bg-background` | `bg-static` |
87
87
  | `bg-card` | `bg-static` (or `bg-weakest` for subtle surfaces) |
@@ -11,7 +11,7 @@
11
11
  "Uses Switch for independent on/off notification toggles (not looping Button with manual active state)",
12
12
  "Uses data-invalid on Field and aria-invalid on the input control for validation states",
13
13
  "Uses gap-* (e.g. gap-4, gap-6) instead of space-y-* or space-x-* for spacing",
14
- "Uses Create UI semantic tokens (e.g. bg-static, text-body, text-placeholder, text-error-base) — never shadcn tokens like bg-background/text-muted-foreground or raw colors like bg-red-500",
14
+ "Uses Create UI semantic tokens (e.g. bg-static, text-body, text-placeholder, text-error-base) — never foreign tokens like bg-background/text-muted-foreground or raw colors like bg-red-500",
15
15
  "No manual dark: color overrides (tokens swap via the .dark class)"
16
16
  ]
17
17
  },
@@ -38,7 +38,7 @@
38
38
  "Uses full Card composition with CardHeader, CardTitle, CardContent (not dumping everything into CardContent)",
39
39
  "Uses the Skeleton component for loading placeholders instead of custom animate-pulse divs",
40
40
  "Uses a Badge or StatusBadge for the percentage change instead of custom styled spans",
41
- "Uses Create UI semantic tokens (e.g. text-body, text-strongest, text-success-base) instead of shadcn tokens or raw colors like bg-green-500",
41
+ "Uses Create UI semantic tokens (e.g. text-body, text-strongest, text-success-base) instead of foreign tokens or raw colors like bg-green-500",
42
42
  "Uses gap-* instead of space-y-* or space-x-* for spacing",
43
43
  "Uses size-* when width and height are equal instead of separate w-* h-*"
44
44
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@create-ui/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Add components to your apps.",
5
5
  "publishConfig": {
6
6
  "access": "public"