@carbonid1/design-system 7.6.2 → 7.6.3

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": "@carbonid1/design-system",
3
- "version": "7.6.2",
3
+ "version": "7.6.3",
4
4
  "description": "Shared React UI primitives + design tokens (themes, postcss config)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,13 +11,13 @@ Run these commands from `packages/design-system`:
11
11
 
12
12
  ## Look at it with agent-browser
13
13
 
14
- Story tests prove behavior, not appearance. When a change can affect rendering, drive the affected stories with the repo's pinned `agent-browser` CLI and open the screenshots with an image viewer. A screenshot command that succeeds is not a visual pass. Playwright stays the Vitest browser provider and e2e runner; don't write ad-hoc Playwright scripts to inspect stories.
14
+ Story tests prove behavior, not appearance. When a change can affect rendering, drive the affected stories with the globally installed `agent-browser` CLI and open the screenshots with an image viewer. A screenshot command that succeeds is not a visual pass. Playwright stays the Vitest browser provider and e2e runner; don't write ad-hoc Playwright scripts to inspect stories.
15
15
 
16
- - Read the CLI's guide first: `pnpm exec agent-browser skills get core`. If its browser is missing, run `pnpm exec agent-browser install`. Use this project binary, not a global one.
17
- - Run every call in your own session: `--session "$(pnpm exec agent-browser session id --scope worktree --prefix ds)"`.
16
+ - Read the CLI's guide first: `agent-browser skills get core`.
17
+ - Run every call in your own session: `--session "$(agent-browser session id --scope worktree --prefix ds)"`.
18
18
  - Open a story in isolation at `http://localhost:7006/iframe.html?id=<story-id>&viewMode=story`. Story ids are in `http://localhost:7006/index.json`. Before reusing a running Storybook, confirm it serves this checkout.
19
19
  - Palettes and modes go in the URL: `&globals=palette:dashboard;theme:dark`. For reduced motion, use `set media light reduced-motion`.
20
- - For High Contrast (forced colors), open the story with `--args "--force-high-contrast"` and confirm it took with `eval "matchMedia('(forced-colors: active)').matches"`. The forced palette is dark.
20
+ - For High Contrast (forced colors), pass `--args "--force-high-contrast"` on every command, not just `open`; a command without it relaunches the browser without forced colors. Confirm it took with `eval "matchMedia('(forced-colors: active)').matches"`. The forced palette is dark.
21
21
  - Drive only the states the change touches, with real input: `press Tab` for focus-visible, plus clicks and typing. For a fix, screenshot the broken state before editing so you can compare.
22
22
  - When done, `close` the session and stop any Storybook you started.
23
23