diff --git a/.changeset/components-sp2-select.md b/.changeset/components-sp2-select.md deleted file mode 100644 index 4763362ab..000000000 --- a/.changeset/components-sp2-select.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -"@pretable/react": minor -"@pretable/ui": patch ---- - -The kit's picker, and the four `` elements.** The filter dialog's -operator, the tool panel's filter column and filter operator, and the grouping -aggregate picker are now `button[role="combobox"]` triggers carrying -`data-pretable-value`, which open a `[data-pretable-listbox]` of -`[data-pretable-option][data-value]` in `document.body`. A test keyed on -`select`, on `.value`, on Playwright's `selectOption()` or on `toHaveValue()` -must read the attribute and click the option instead. Every site keeps the -`data-pretable-*` attribute it already had, and the aggregate picker gains -`data-pretable-aggregate`. - -**Keyboard.** Arrows, Enter and Space open a closed picker; arrows wrap and skip -disabled options; Home and End jump to the ends; typing a prefix jumps to the -first match (the buffer clears after 500ms); Enter or Space commits; Escape -closes back to the trigger; Tab closes and moves on. `onChange` fires only when -the value actually changes. The trigger is an explicit tab stop in every -browser, which the native control was not in WebKit. - -A disabled option is shown, skipped and inert rather than hidden — that is the -aggregate picker's `Custom` entry, a consumer-written aggregator the grid -displays but never writes back. - -**Styling.** The enum cell editor's list is now the kit list, so -`data-pretable-enum-listbox` and `data-pretable-enum-option` are gone, replaced -by `data-pretable-listbox` and `data-pretable-option` — plus `[data-active]` for -the roving highlight and `[aria-selected="true"]` for the current value. Tokens -are unchanged. - -**Layout.** The tool panel's filter rows wrap less: a picker now sizes to its -own label, with an ellipsis, instead of to its longest option. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 7c63a352e..0b3150fe7 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,7 @@ # @pretable/core +## 0.17.0 + ## 0.16.0 ## 0.15.3 diff --git a/packages/core/package.json b/packages/core/package.json index d5a04b6c8..9320c24ae 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@pretable/core", - "version": "0.16.0", + "version": "0.17.0", "description": "Framework-agnostic grid state primitives for Pretable.", "license": "MIT", "repository": { diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 77c8ba29d..536d4560c 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,55 @@ # @pretable/react +## 0.17.0 + +### Minor Changes + +- The kit's picker, and the four `` elements.** The filter dialog's + operator, the tool panel's filter column and filter operator, and the grouping + aggregate picker are now `button[role="combobox"]` triggers carrying + `data-pretable-value`, which open a `[data-pretable-listbox]` of + `[data-pretable-option][data-value]` in `document.body`. A test keyed on + `select`, on `.value`, on Playwright's `selectOption()` or on `toHaveValue()` + must read the attribute and click the option instead. Every site keeps the + `data-pretable-*` attribute it already had, and the aggregate picker gains + `data-pretable-aggregate`. + + **Keyboard.** Arrows, Enter and Space open a closed picker; arrows wrap and skip + disabled options; Home and End jump to the ends; typing a prefix jumps to the + first match (the buffer clears after 500ms); Enter or Space commits; Escape + closes back to the trigger; Tab closes and moves on. `onChange` fires only when + the value actually changes. The trigger is an explicit tab stop in every + browser, which the native control was not in WebKit. + + A disabled option is shown, skipped and inert rather than hidden — that is the + aggregate picker's `Custom` entry, a consumer-written aggregator the grid + displays but never writes back. + + **Styling.** The enum cell editor's list is now the kit list, so + `data-pretable-enum-listbox` and `data-pretable-enum-option` are gone, replaced + by `data-pretable-listbox` and `data-pretable-option` — plus `[data-active]` for + the roving highlight and `[aria-selected="true"]` for the current value. Tokens + are unchanged. + + **Layout.** The tool panel's filter rows wrap less: a picker now sizes to its + own label, with an ellipsis, instead of to its longest option. + +### Patch Changes + +- Updated dependencies [[`2f4c6fc`](https://github.com/cacheplane/pretable/commit/2f4c6fc755ed510955fa918ac82cab4bbd8bf3c4)]: + - @pretable/ui@0.17.0 + - @pretable/core@0.17.0 + ## 0.16.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 88433db2a..7988d0ac7 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@pretable/react", - "version": "0.16.0", + "version": "0.17.0", "description": "React components and hooks for Pretable.", "license": "MIT", "repository": { diff --git a/packages/stream-adapter/CHANGELOG.md b/packages/stream-adapter/CHANGELOG.md index 5aeb866dd..75b1d3ff6 100644 --- a/packages/stream-adapter/CHANGELOG.md +++ b/packages/stream-adapter/CHANGELOG.md @@ -1,5 +1,7 @@ # @pretable/stream-adapter +## 0.17.0 + ## 0.16.0 ## 0.15.3 diff --git a/packages/stream-adapter/package.json b/packages/stream-adapter/package.json index 683cda056..9ce8b9962 100644 --- a/packages/stream-adapter/package.json +++ b/packages/stream-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@pretable/stream-adapter", - "version": "0.16.0", + "version": "0.17.0", "description": "Streaming row adapters for Pretable.", "license": "MIT", "repository": { diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 49b49996d..9ba8f218f 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,49 @@ # @pretable/ui +## 0.17.0 + +### Patch Changes + +- The kit's picker, and the four `` elements.** The filter dialog's + operator, the tool panel's filter column and filter operator, and the grouping + aggregate picker are now `button[role="combobox"]` triggers carrying + `data-pretable-value`, which open a `[data-pretable-listbox]` of + `[data-pretable-option][data-value]` in `document.body`. A test keyed on + `select`, on `.value`, on Playwright's `selectOption()` or on `toHaveValue()` + must read the attribute and click the option instead. Every site keeps the + `data-pretable-*` attribute it already had, and the aggregate picker gains + `data-pretable-aggregate`. + + **Keyboard.** Arrows, Enter and Space open a closed picker; arrows wrap and skip + disabled options; Home and End jump to the ends; typing a prefix jumps to the + first match (the buffer clears after 500ms); Enter or Space commits; Escape + closes back to the trigger; Tab closes and moves on. `onChange` fires only when + the value actually changes. The trigger is an explicit tab stop in every + browser, which the native control was not in WebKit. + + A disabled option is shown, skipped and inert rather than hidden — that is the + aggregate picker's `Custom` entry, a consumer-written aggregator the grid + displays but never writes back. + + **Styling.** The enum cell editor's list is now the kit list, so + `data-pretable-enum-listbox` and `data-pretable-enum-option` are gone, replaced + by `data-pretable-listbox` and `data-pretable-option` — plus `[data-active]` for + the roving highlight and `[aria-selected="true"]` for the current value. Tokens + are unchanged. + + **Layout.** The tool panel's filter rows wrap less: a picker now sizes to its + own label, with an ellipsis, instead of to its longest option. + ## 0.16.0 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index dd0e8ff60..841bd8569 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@pretable/ui", - "version": "0.16.0", + "version": "0.17.0", "description": "CSS themes, tokens, and grid styles for Pretable.", "license": "MIT", "repository": {