@solibo/solibo-ui 0.3.40 → 0.4.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/README.md CHANGED
@@ -10,7 +10,7 @@ A React 19 + TypeScript component library built with Vite. Ships typed, tree‑s
10
10
 
11
11
  ```bash
12
12
  pnpm add @solibo/solibo-ui
13
- # peer deps (if not present)
13
+ # peer dependencies
14
14
  pnpm add react@^19 react-dom@^19 -D
15
15
  ```
16
16
 
@@ -50,15 +50,25 @@ pnpm storybook
50
50
  ### Scripts
51
51
 
52
52
  ```bash
53
- pnpm dev # vite build --watch (library build)
54
- pnpm build # type-check + library build
55
- pnpm test # vitest (UI mode by default via script)
56
- pnpm lint # eslint
57
- pnpm stylelint # stylelint for CSS modules
58
- pnpm format # prettier check
59
- pnpm format:fix # prettier write
53
+ pnpm dev # vite build --watch (library build)
54
+ pnpm build # type-check + library build
55
+ pnpm test # vitest (UI mode by default via script)
56
+ pnpm lint # eslint
57
+ pnpm stylelint # stylelint for CSS modules
58
+ pnpm format # prettier check
59
+ pnpm format:fix # prettier fix
60
+ pnpm tokens:build # generate design tokens CSS
61
+ pnpm tokens:audit # report literals / undefined vars
62
+ pnpm tokens:import # bootstrap tokens from CSS
60
63
  ```
61
64
 
65
+ ## Design tokens
66
+
67
+ A singular JSON manifest for design tokens across platforms. The source lives in `design-tokens.json`. Shared CSS variables are generated for `src/styles/tokens.css`, and published builds expose:
68
+
69
+ - `@solibo/solibo-ui/tokens.css`
70
+ - `@solibo/solibo-ui/tokens.json`
71
+
62
72
  ## CI/CD
63
73
 
64
74
  - GitHub Actions handle builds, tests, and publishing.