solidjs-community / solid-aria

A library of high-quality primitives that help you build accessible user interfaces with SolidJS.
Other
289 stars 16 forks source link

Feat: refactor filterDOMProps util #63

Closed thetarnav closed 2 years ago

thetarnav commented 2 years ago

Refactors the filterDOMProps to do less work, and be easier to use

const domProps = mergeProps(createMemo(() => filterDOMProps(props, { labelable: true })));
const domProps = filterDOMProps(props, { labelable: true });

Besides the select package, all tests pass

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: ffc27a09890fda19bcac63118da4b0fd86b92150

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 29 packages | Name | Type | | --------------------------- | ----- | | @solid-aria/accordion | Patch | | @solid-aria/breadcrumbs | Patch | | @solid-aria/button | Patch | | @solid-aria/checkbox | Patch | | @solid-aria/collection | Patch | | @solid-aria/dialog | Patch | | @solid-aria/focus | Patch | | @solid-aria/i18n | Patch | | @solid-aria/interactions | Patch | | @solid-aria/label | Patch | | @solid-aria/link | Patch | | @solid-aria/list | Patch | | @solid-aria/listbox | Patch | | @solid-aria/menu | Patch | | @solid-aria/meter | Patch | | @solid-aria/overlays | Patch | | @solid-aria/primitives | Patch | | @solid-aria/progress | Patch | | @solid-aria/radio | Patch | | @solid-aria/select | Patch | | @solid-aria/selection | Patch | | @solid-aria/separator | Patch | | @solid-aria/switch | Patch | | @solid-aria/textfield | Patch | | @solid-aria/toggle | Patch | | @solid-aria/tree | Patch | | @solid-aria/types | Patch | | @solid-aria/utils | Patch | | @solid-aria/visually-hidden | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR