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
14 changes: 0 additions & 14 deletions .changeset/button-flat-slotted-shadow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dropdown-item-addons.md

This file was deleted.

16 changes: 16 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @perimetre/ui

## 16.13.0

### Minor Changes

- 83138e8: Button: add a `flat` (text-only) variant and a slotted shadow colour for OIQ.
- New `flat` variant — a text-only button (no fill/border/shadow), implementing
the OIQ Figma Button/Text spec (node 720:333). Acorn gets a neutral default.
- The OIQ button's hard offset shadow colour is now a slot
(`--pui-button-shadow-color`, default black). Recolour it — e.g. the "on
black" purple-shadow variant — with the new `pui:button-shadow-*` functional
utility (reads the `--color-*` theme; arbitrary `pui:button-shadow-[#…]` also
works), or from a consumer app via a `[--pui-button-shadow-color:…]`
arbitrary property.

- 83138e8: FieldDropdown/FieldBaseDropdown: options can now carry per-item leading and trailing slots via the `itemLeading`/`itemTrailing` render props (keyed on the option's `{ selected, focus, disabled }` state), mirroring the field's `leading`/`trailing` addons. Options lay out as a `justify-between` row (leading + label, then trailing). FieldDropdown defaults `itemTrailing` to a check on the selected option (matches the design system); pass your own to override for selected or unselected items.

## 16.12.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@
],
"type": "module",
"types": "./dist/index.d.ts",
"version": "16.12.1"
"version": "16.13.0"
}
Loading