Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/switch-atom.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @code-sherpas/pharos-react

## 0.18.0

### Minor Changes

- 414d5a0: Add `Switch`, a single on/off toggle (the shadcn Switch contract) over Base
UI's `Switch` — `role="switch"`, Space to toggle, and the shared Button / Input
/ Checkbox focus ring. Sibling to `Checkbox` in the boolean form-control
family: same `checked` / `onCheckedChange` / `disabled` API, no third
`indeterminate` state (a toggle is binary). Label-less by design (D11): pair
with a `<label htmlFor>`; error via `aria-invalid`. Geometry is fully
token-derived (40×24 track, 16px thumb, spacing-4 travel); no icon dependency.

## 0.17.0

### Minor Changes
Expand Down
7 changes: 7 additions & 0 deletions examples/saas-demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @examples/saas-demo

## 0.0.4

### Patch Changes

- Updated dependencies [414d5a0]
- @code-sherpas/pharos-react@0.18.0

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/saas-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/saas-demo",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"type": "module",
"description": "Consumer harness: a SaaS-style client that composes every Pharos component the way an external consumer would (built dist + styles.css + tokens/css), exercised end-to-end by Playwright. Regression net for composition + the publish contract. Never published.",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@code-sherpas/pharos-react",
"version": "0.17.0",
"version": "0.18.0",
"description": "React component library for Code Sherpas. Consumes @code-sherpas/pharos-tokens. Vite library mode + CSS Modules — no Tailwind, no CSS framework required at the consumer.",
"license": "MIT",
"repository": {
Expand Down
Loading