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
32 changes: 0 additions & 32 deletions .changeset/platform-a11y-prefs.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @pretable/core

## 0.15.3

## 0.15.2

## 0.15.1
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pretable/core",
"version": "0.15.2",
"version": "0.15.3",
"description": "Framework-agnostic grid state primitives for Pretable.",
"license": "MIT",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @pretable/react

## 0.15.3

### Patch Changes

- Updated dependencies [[`2d7de95`](https://github.com/cacheplane/pretable/commit/2d7de9579907ebe18662a1e40766afabb783ce68)]:
- @pretable/ui@0.15.3
- @pretable/core@0.15.3

## 0.15.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pretable/react",
"version": "0.15.2",
"version": "0.15.3",
"description": "React components and hooks for Pretable.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions packages/stream-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @pretable/stream-adapter

## 0.15.3

## 0.15.2

## 0.15.1
Expand Down
2 changes: 1 addition & 1 deletion packages/stream-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pretable/stream-adapter",
"version": "0.15.2",
"version": "0.15.3",
"description": "Streaming row adapters for Pretable.",
"license": "MIT",
"repository": {
Expand Down
33 changes: 33 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# @pretable/ui

## 0.15.3

### Patch Changes

- The grid now answers two platform accessibility settings it was ignoring, and ([#578](https://github.com/cacheplane/pretable/pull/578))
every theme declares its `color-scheme`.

**Forced colours (Windows High Contrast).** A range selection was invisible.
The fill is a translucent `background-image`, and forced colours drop the image
and force the colour underneath to `Canvas` — so eleven selected cells came out
identical to no selection at all, with only the single focused cell marked, and
what the grid was about to copy could not be read off the screen. Selected cells
now take `Highlight`/`HighlightText`, the pair the platform guarantees against
each other, with `forced-color-adjust: none` so Chromium's text backplate does
not paint an opaque rectangle over every word (it did; the computed styles were
identical either way and only a screenshot told them apart). Descendants inherit
the cell's colour, so a red P&L inside a selection cannot paint itself onto the
fill at whatever contrast it happened to have. Disabled menu items take
`GrayText`. The rest of the grid needed nothing: the border cage carries the
structure, the row-select glyph is drawn in `currentColor`, and the frozen edge
falls back to the pinned cell's own border.

**Reduced motion.** `grid.css` animated three things and offered no way out; a
consumer cannot patch that without re-implementing rules they do not own. All
three are decoration and are now switched off under
`prefers-reduced-motion: reduce`, with a guard that fails if a future animation
is not named there too.

**`color-scheme`.** Only `pretable.css` declared it, so an Excel- or
Material-themed grid kept light scrollbars and a light `<select>` popup inside a
dark app — the one part of the surface a theme cannot reach with a custom
property. Both now declare it, Material in each mode it ships.

## 0.15.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pretable/ui",
"version": "0.15.2",
"version": "0.15.3",
"description": "CSS themes, tokens, and grid styles for Pretable.",
"license": "MIT",
"repository": {
Expand Down