toku-ui 2.19.5 → 2.20.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/README.md +17 -17
- package/dist/index.es.js +1007 -3914
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -22
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -19,15 +19,15 @@ curl https://get.volta.sh | bash
|
|
|
19
19
|
|
|
20
20
|
## Commands
|
|
21
21
|
|
|
22
|
-
| Command
|
|
23
|
-
|
|
24
|
-
| `pnpm storybook`
|
|
25
|
-
| `pnpm build`
|
|
26
|
-
| `pnpm test`
|
|
27
|
-
| `pnpm test:watch`
|
|
28
|
-
| `pnpm lint`
|
|
29
|
-
| `pnpm lint:fix`
|
|
30
|
-
| `pnpm build-storybook` | Static Storybook for Chromatic
|
|
22
|
+
| Command | What it does |
|
|
23
|
+
| ---------------------- | -------------------------------------------------------------------- |
|
|
24
|
+
| `pnpm storybook` | Storybook on port 6006 — primary dev surface |
|
|
25
|
+
| `pnpm build` | Library build + emit `dist/*.d.ts` (also the only way to type-check) |
|
|
26
|
+
| `pnpm test` | Vitest, run once |
|
|
27
|
+
| `pnpm test:watch` | Vitest in watch mode |
|
|
28
|
+
| `pnpm lint` | ESLint over `./src` |
|
|
29
|
+
| `pnpm lint:fix` | ESLint with `--fix` |
|
|
30
|
+
| `pnpm build-storybook` | Static Storybook for Chromatic |
|
|
31
31
|
|
|
32
32
|
There is no separate `typecheck` script — type errors surface during `pnpm build`'s declaration-emit step.
|
|
33
33
|
|
|
@@ -40,14 +40,14 @@ There is no separate `typecheck` script — type errors surface during `pnpm bui
|
|
|
40
40
|
|
|
41
41
|
## Repo orientation
|
|
42
42
|
|
|
43
|
-
| Area
|
|
44
|
-
|
|
45
|
-
| Components
|
|
46
|
-
| Tokens & theme | `src/theme/` — base theme; ADR 003 covers the consumer flow
|
|
47
|
-
| Composables
|
|
48
|
-
| Public API
|
|
49
|
-
| Tests
|
|
50
|
-
| Stories
|
|
43
|
+
| Area | Where |
|
|
44
|
+
| -------------- | ---------------------------------------------------------------------- |
|
|
45
|
+
| Components | `src/components/T<Name>/` — one folder per component |
|
|
46
|
+
| Tokens & theme | `src/theme/` — base theme; ADR 003 covers the consumer flow |
|
|
47
|
+
| Composables | `src/composables/` — `useTheme`, `useDialog`, etc. |
|
|
48
|
+
| Public API | `src/index.ts` — every shipped surface re-exports through here |
|
|
49
|
+
| Tests | `*.spec.ts(x)` next to the component (vitest + `@testing-library/vue`) |
|
|
50
|
+
| Stories | `*.stories.ts` next to the component (Storybook + Chromatic) |
|
|
51
51
|
|
|
52
52
|
## AI agent context (`.agents/`)
|
|
53
53
|
|