chore: version packages - #586
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
blove
enabled auto-merge (squash)
September 8, 2026 03:15
Contributor
Vercel preview readyPreview: https://pretable-83syqw800-cacheplane.vercel.app Updated automatically by the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@pretable/react@0.18.0
Minor Changes
The kit's field and its checkbox, and the fourteen controls in the grid rebuilt (#585)
on them.
PretableTextInputis an<input>andPretableCheckboxabutton[role="checkbox"], withPretableTextInputProps,PretableCheckboxProps,PretableTextInputComponentandPretableCheckboxComponentalongside them andTextInputandCheckboxslotson
PretableComponents—components={{ TextInput, Checkbox }}on<PretableSurface>and<Pretable>replaces the grid's seven chrome textfields and all seven of its checkboxes, the same way
Button,IconButtonandSelectalready do. The fields are the filter dialog's value and its two rangebounds, the tool panel's three filter-row values, and the Columns search box;
the checkboxes are row select, header select-all, the boolean cell, the column
visibility toggle, "hide grouped columns", and the two enum checklists.
PretableButtonSiteis nowPretableSite, andPretableBuiltInButtonSiteisPretableBuiltInSite. The type names where any kit control sits, not where abutton does, and a field and a checkbox have sites too. The union gains ten
names:
filter-value,filter-row-value,tool-search,row-select,row-select-all,bool-cell,tool-column-toggle,hide-grouped,filter-choiceandfilter-row-choice.Three checkboxes are no longer
<input type="checkbox">. The filterdialog's enum checklist, the tool panel's filter-builder enum checklist and the
"hide grouped columns" switch are now
button[role="checkbox"]carryingaria-checked. A test keyed on.checked, on Playwright's.check()or on aninput[type=checkbox]selector must readaria-checkedand click the buttoninstead;
toBeChecked()still works, because it reads the ARIA state.A listbox option is marked
data-pretable-option-value, notdata-value.The select's open list is the one place where an attribute a consumer could
already have written against
0.17.0has been renamed: a selector like[data-pretable-option][data-value="open"]now matches nothing, and must readdata-pretable-option-valueinstead. (This branch's own end-to-end suite brokeon exactly that selector.) The new name says which option an element is, as
against the select trigger's
data-pretable-value, which is what that pickerhas committed.
Attributes. Every kit field carries
data-pretable-text-inputand every kitcheckbox
data-pretable-checkbox, and each site keeps thedata-pretable-*attribute it already had. The two enum checklists gain
data-pretable-filter-choiceanddata-pretable-filter-row-choice, and eachchoice carries
data-pretable-option-valuetoo. The filter builder's checklistwrapper is now
data-pretable-filter-row-set— the field alongside it keepsdata-pretable-filter-row-value, which the wrapper used to borrow.Look. The three ex-native checkboxes become the kit's 16px square drawn from
the
--pretable-checkbox-*tokens, in place of the browser's ~13px default. TheColumns search box and every kit checkbox now take the product focus ring
instead of the user agent's — visibly on the header select-all and the column
visibility toggle, and on row select and the boolean cell too, though both are
tabIndex={-1}and so out of aTab's reach. Nothing else moves: the sevenfields and the four checkboxes that were already buttons keep their boxes, their
element type and their spacing exactly.
Behaviour. A kit checkbox's keyboard is the native button's — Space and
Enter both activate. A consumer
onClickruns before the toggle and maypreventDefault()to veto it, which is how a shift-click range select keeps itsclick without a second write.
checkedaccepts"mixed"for the headerselect-all's partial selection; it renders the minus glyph and toggles to
true.Patch Changes
8ce28ca]:@pretable/ui@0.18.0
Patch Changes
The kit's field and its checkbox, and the fourteen controls in the grid rebuilt (#585)
on them.
PretableTextInputis an<input>andPretableCheckboxabutton[role="checkbox"], withPretableTextInputProps,PretableCheckboxProps,PretableTextInputComponentandPretableCheckboxComponentalongside them andTextInputandCheckboxslotson
PretableComponents—components={{ TextInput, Checkbox }}on<PretableSurface>and<Pretable>replaces the grid's seven chrome textfields and all seven of its checkboxes, the same way
Button,IconButtonandSelectalready do. The fields are the filter dialog's value and its two rangebounds, the tool panel's three filter-row values, and the Columns search box;
the checkboxes are row select, header select-all, the boolean cell, the column
visibility toggle, "hide grouped columns", and the two enum checklists.
PretableButtonSiteis nowPretableSite, andPretableBuiltInButtonSiteisPretableBuiltInSite. The type names where any kit control sits, not where abutton does, and a field and a checkbox have sites too. The union gains ten
names:
filter-value,filter-row-value,tool-search,row-select,row-select-all,bool-cell,tool-column-toggle,hide-grouped,filter-choiceandfilter-row-choice.Three checkboxes are no longer
<input type="checkbox">. The filterdialog's enum checklist, the tool panel's filter-builder enum checklist and the
"hide grouped columns" switch are now
button[role="checkbox"]carryingaria-checked. A test keyed on.checked, on Playwright's.check()or on aninput[type=checkbox]selector must readaria-checkedand click the buttoninstead;
toBeChecked()still works, because it reads the ARIA state.A listbox option is marked
data-pretable-option-value, notdata-value.The select's open list is the one place where an attribute a consumer could
already have written against
0.17.0has been renamed: a selector like[data-pretable-option][data-value="open"]now matches nothing, and must readdata-pretable-option-valueinstead. (This branch's own end-to-end suite brokeon exactly that selector.) The new name says which option an element is, as
against the select trigger's
data-pretable-value, which is what that pickerhas committed.
Attributes. Every kit field carries
data-pretable-text-inputand every kitcheckbox
data-pretable-checkbox, and each site keeps thedata-pretable-*attribute it already had. The two enum checklists gain
data-pretable-filter-choiceanddata-pretable-filter-row-choice, and eachchoice carries
data-pretable-option-valuetoo. The filter builder's checklistwrapper is now
data-pretable-filter-row-set— the field alongside it keepsdata-pretable-filter-row-value, which the wrapper used to borrow.Look. The three ex-native checkboxes become the kit's 16px square drawn from
the
--pretable-checkbox-*tokens, in place of the browser's ~13px default. TheColumns search box and every kit checkbox now take the product focus ring
instead of the user agent's — visibly on the header select-all and the column
visibility toggle, and on row select and the boolean cell too, though both are
tabIndex={-1}and so out of aTab's reach. Nothing else moves: the sevenfields and the four checkboxes that were already buttons keep their boxes, their
element type and their spacing exactly.
Behaviour. A kit checkbox's keyboard is the native button's — Space and
Enter both activate. A consumer
onClickruns before the toggle and maypreventDefault()to veto it, which is how a shift-click range select keeps itsclick without a second write.
checkedaccepts"mixed"for the headerselect-all's partial selection; it renders the minus glyph and toggles to
true.@pretable/core@0.18.0
@pretable/stream-adapter@0.18.0