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
25 changes: 0 additions & 25 deletions .changeset/finish-editor-kit-correctness.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/guard-pending-edit-lifecycle.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/repair-overlay-scope-and-states.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/repair-shared-control-state.md

This file was deleted.

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

## 0.19.0

### Patch Changes

- Prevent cell edits from committing before permission resolves or dispatching ([#588](https://github.com/cacheplane/pretable/pull/588))
duplicate validation/save operations. Recover from permission, parsing,
validation, and save callback failures without leaving a pending editor stuck,
and ignore stale results after an edit session is replaced or cancelled.

Draft writes during checking, validating, and saving are now ignored, including
writes from custom editors. This intentionally removes the previous behavior
where a draft write could unlock a pending edit. Enum label normalization waits
for edit permission, and pending editor commit keys do not submit another write.

## 0.18.0

## 0.17.0
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.18.0",
"version": "0.19.0",
"description": "Framework-agnostic grid state primitives for Pretable.",
"license": "MIT",
"repository": {
Expand Down
72 changes: 72 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
# @pretable/react

## 0.19.0

### Minor Changes

- Finish editor adoption of the component kit. Text, number, enum and date ([#588](https://github.com/cacheplane/pretable/pull/588))
fields resolve TextInput; multiline fields resolve the new native Textarea
slot. Number steppers and date month buttons resolve IconButton. Preserve
forwarded refs, native props, handlers and ARIA/data hooks in replacements.

Correct enum identity and clearing. Explicit choices retain their canonical
value even with duplicate labels; ambiguous typed labels/values require a
choice. Empty queries can commit null. Custom parsers receive canonical value
text for an explicit choice and query text for typed input.

Composition keys retain native behavior. Shift+Tab commits left and Shift+Enter
up, including when controlled rows acknowledge a save later; cancelled or
replaced sessions ignore stale acknowledgements. Multiline plain Enter remains a newline. Calendar navigation now browses
without changing the draft: Enter accepts an intentionally navigated date,
while Tab/blur commit the typed/current value. Date inputs expose a complete
grid-popup combobox contract.

Preserve editor error/focus/pending styling after kit adoption, prevent error
messages from squeezing fields sideways, and complete disabled and forced-color
calendar/action states. Upgrade React and UI together for the new site hooks.

- Add PretableOverlayProvider for an explicit popup container. Place the grid ([#588](https://github.com/cacheplane/pretable/pull/588))
and portal host in the same CSS scope to preserve custom tokens, direction
and live theme changes while escaping the grid's clipping viewport. The
provider does not copy trigger styles. Without a provider, popups still use
body; a provider with a null target defers popup content until attachment.

Track nested portal ownership for outside presses. Sibling Selects close one
another, clicks inside nested lists preserve the parent dialog, and trigger
toggles work without hiding outside pointer events.
Keep Select and header popups anchored when live scope or layout changes move
their trigger, including delayed portal attachment.

Rename the listbox active marker from data-active to data-pretable-active.
Update custom selectors and upgrade the React/UI packages together. Complete
disabled option styles and forced-colors active-option/checkbox state pairs,
including selected-disabled options and checked/mixed disabled checkboxes.

- Keep Select highlights attached to option values when options reorder, and ([#588](https://github.com/cacheplane/pretable/pull/588))
choose an enabled fallback when an active option is removed or disabled.
Empty rosters close the Select; all-disabled lists have no active option.
Typeahead starts fresh each time the list opens.

Rich Select option labels now require a plain `textValue` for typeahead.
String and number labels continue to infer their text. This tightens
`PretableSelectOption` from an interface to a union: add `textValue` to rich
labels and replace interfaces extending the old type with type intersections.

Preserve callback-ref cleanup in Select, Checkbox and TextInput, including
ref replacement and StrictMode attachment cycles. Object refs and callbacks
without cleanup still receive their usual null detach.

### Patch Changes

- Prevent cell edits from committing before permission resolves or dispatching ([#588](https://github.com/cacheplane/pretable/pull/588))
duplicate validation/save operations. Recover from permission, parsing,
validation, and save callback failures without leaving a pending editor stuck,
and ignore stale results after an edit session is replaced or cancelled.

Draft writes during checking, validating, and saving are now ignored, including
writes from custom editors. This intentionally removes the previous behavior
where a draft write could unlock a pending edit. Enum label normalization waits
for edit permission, and pending editor commit keys do not submit another write.

- Updated dependencies [[`5d8e30a`](https://github.com/cacheplane/pretable/commit/5d8e30a9c84c2fd7f885b407159ada29be839938), [`5d8e30a`](https://github.com/cacheplane/pretable/commit/5d8e30a9c84c2fd7f885b407159ada29be839938), [`5d8e30a`](https://github.com/cacheplane/pretable/commit/5d8e30a9c84c2fd7f885b407159ada29be839938)]:
- @pretable/ui@0.19.0
- @pretable/core@0.19.0

## 0.18.0

### Minor 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.18.0",
"version": "0.19.0",
"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.19.0

## 0.18.0

## 0.17.0
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.18.0",
"version": "0.19.0",
"description": "Streaming row adapters for Pretable.",
"license": "MIT",
"repository": {
Expand Down
42 changes: 42 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# @pretable/ui

## 0.19.0

### Minor Changes

- Finish editor adoption of the component kit. Text, number, enum and date ([#588](https://github.com/cacheplane/pretable/pull/588))
fields resolve TextInput; multiline fields resolve the new native Textarea
slot. Number steppers and date month buttons resolve IconButton. Preserve
forwarded refs, native props, handlers and ARIA/data hooks in replacements.

Correct enum identity and clearing. Explicit choices retain their canonical
value even with duplicate labels; ambiguous typed labels/values require a
choice. Empty queries can commit null. Custom parsers receive canonical value
text for an explicit choice and query text for typed input.

Composition keys retain native behavior. Shift+Tab commits left and Shift+Enter
up, including when controlled rows acknowledge a save later; cancelled or
replaced sessions ignore stale acknowledgements. Multiline plain Enter remains a newline. Calendar navigation now browses
without changing the draft: Enter accepts an intentionally navigated date,
while Tab/blur commit the typed/current value. Date inputs expose a complete
grid-popup combobox contract.

Preserve editor error/focus/pending styling after kit adoption, prevent error
messages from squeezing fields sideways, and complete disabled and forced-color
calendar/action states. Upgrade React and UI together for the new site hooks.

- Add PretableOverlayProvider for an explicit popup container. Place the grid ([#588](https://github.com/cacheplane/pretable/pull/588))
and portal host in the same CSS scope to preserve custom tokens, direction
and live theme changes while escaping the grid's clipping viewport. The
provider does not copy trigger styles. Without a provider, popups still use
body; a provider with a null target defers popup content until attachment.

Track nested portal ownership for outside presses. Sibling Selects close one
another, clicks inside nested lists preserve the parent dialog, and trigger
toggles work without hiding outside pointer events.
Keep Select and header popups anchored when live scope or layout changes move
their trigger, including delayed portal attachment.

Rename the listbox active marker from data-active to data-pretable-active.
Update custom selectors and upgrade the React/UI packages together. Complete
disabled option styles and forced-colors active-option/checkbox state pairs,
including selected-disabled options and checked/mixed disabled checkboxes.

## 0.18.0

### 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.18.0",
"version": "0.19.0",
"description": "CSS themes, tokens, and grid styles for Pretable.",
"license": "MIT",
"repository": {
Expand Down