@glasshome/ui 1.8.0 → 1.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/SPEC.md CHANGED
@@ -109,6 +109,7 @@ role clears 4.5:1 against `--background`/`--card`/`--popover`/`--muted` (3:1 for
109
109
  | a form inside a modal | `<Body as="form" id="…">` + a footer button with `form="…"` | a `display: contents` form wrapper inside the Body |
110
110
  | a status chip | `<Badge tone="var(--success)">` | `rounded-full bg-green-500/10` |
111
111
  | a callout | `<Alert tone="warning">` | `border-amber-500/30 bg-amber-500/10` |
112
+ | a labelled group inside a card | `<SectionGroup icon label count action>` | a hand-rolled `SectionIcon` + `SectionSubtitle` header row |
112
113
  | a titled group of form rows | `<FieldSet>` + `<FieldLegend>` (+ `<FieldDescription>`) | a tracked uppercase `SectionLabel` eyebrow |
113
114
  | rows that belong to the row above them | `<FieldSubGroup>` | a bare `<Separator>` and a left pad |
114
115
  | picking one of a few described choices | `<OptionCardGroup>` + `<OptionCard>` | a hand-rolled `role="radio"` card list |
@@ -180,5 +181,5 @@ Checklist for a new component:
180
181
  around, cascade requirements, a11y invariants). One line each.
181
182
 
182
183
  Guards: `bun run check:tokens` (theme.css ↔ tokens/presets.ts sync) here;
183
- `bun run ui:check` in the apps (deny-by-default drift scan; escape with a
184
+ `bun gov check --only ui-drift` in dash (deny-by-default drift scan for every app; escape with a
184
185
  `ui-drift-ok <reason>` line comment only for genuinely bespoke art).
@@ -66,7 +66,7 @@ export { ResponsiveDialog, ResponsiveDialogBody, ResponsiveDialogClose, Responsi
66
66
  export { type ExtendedJSONSchema, SCHEMA_FORM_FORM_TYPES, SchemaForm, } from "./schema-form.js";
67
67
  export { ScopeIndicator } from "./scope-indicator.js";
68
68
  export { ScrollArea, ScrollBar } from "./scroll-area.js";
69
- export { type GlassSurface, ListRow, NOOP_GLASS, SectionCard, SectionIcon, SectionLabel, SectionMeta, SectionRow, SectionRowSkeleton, SectionRowSkeletons, SectionSubtitle, SectionTitle, } from "./section-card.js";
69
+ export { type GlassSurface, ListRow, NOOP_GLASS, SectionCard, SectionGroup, SectionIcon, SectionLabel, SectionMeta, SectionRow, SectionRowSkeleton, SectionRowSkeletons, SectionSubtitle, SectionTitle, } from "./section-card.js";
70
70
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, } from "./select.js";
71
71
  export { Separator } from "./separator.js";
72
72
  export { LabeledField, LabeledIconPicker, LabeledInput, RowActions, SectionAddButton, SectionEmpty, SwitchRow, } from "./settings-row.js";