@sarunyu/system-one 4.8.3 → 4.9.0

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/llms.txt CHANGED
@@ -8,7 +8,7 @@ that uses this library. The rules are non-negotiable.
8
8
 
9
9
  ---
10
10
 
11
- ## The 4 rules
11
+ ## The 5 rules
12
12
 
13
13
  1. **Use library components for every element it provides.** Never recreate
14
14
  Button, Input, Tag, Dropdown, Card, Tab, Checkbox, Toggle, Radio, DateInput, TimeInput,
@@ -16,7 +16,11 @@ that uses this library. The rules are non-negotiable.
16
16
  2. **Use design-token classes for color and typography.** Never `text-blue-600`,
17
17
  `bg-gray-100`, `text-[#3b82f6]`. The token table below is exhaustive — if a
18
18
  color you need is not in it, use `text-foreground` / `bg-card`.
19
- 3. **No arbitrary bracket values for spacing / sizing / typography.**
19
+ 3. **Use `@phosphor-icons/react` for all icons.** Never import from `lucide-react`
20
+ or any other icon library. Install with `npm install @phosphor-icons/react`.
21
+ Import named icons: `import { House, MagnifyingGlass, CaretDown } from "@phosphor-icons/react"`.
22
+ Every icon accepts `size`, `weight` (`"regular"` | `"bold"` | `"fill"` | `"duotone"` | `"light"` | `"thin"`), and `className` props.
23
+ 4. **No arbitrary bracket values for spacing / sizing / typography.**
20
24
  Use scale utilities, not pixel overrides. The library's shipped stylesheet
21
25
  only contains scale utilities + a fixed list of safelisted container widths,
22
26
  so any other `[...]` value is a no-op in hosts without Tailwind installed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarunyu/system-one",
3
- "version": "4.8.3",
3
+ "version": "4.9.0",
4
4
  "type": "module",
5
5
  "description": "A production-ready React design system built for AI-powered web generation tools (Figma Make, Lovable, V0). Tailwind CSS v4 + CSS custom properties for full theming support.",
6
6
  "keywords": [