Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. component lib fixes and improvements #1345

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

jossmac
Copy link
Member

@jossmac jossmac commented Nov 3, 2024

Address quirks and bugs encountered while implementing Keystone admin UI.

@jossmac jossmac requested a review from emmatown November 3, 2024 23:21
Copy link

changeset-bot bot commented Nov 3, 2024

🦋 Changeset detected

Latest commit: e75bd04

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

This PR includes changesets to release 14 packages
Name Type
@keystar/ui Patch
@keystar/docs Patch
@example/next-app Patch
@example/next-pages Patch
keystatic-docs Patch
@keystatic/core Patch
@example/astro-content Patch
@example/astro Patch
@example/localization Patch
@example/next-block-builder Patch
@keystatic/remix-test-app Patch
@keystatic/templates-astro Patch
@keystatic/templates-nextjs Patch
@keystatic/templates-remix 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

@@ -122,6 +122,7 @@ export function useCellStyles(props: Partial<CellStyleProps> = {}) {
trimBooleanKeys: true,
}),
className: css({
boxSizing: 'content-box',
Copy link
Member Author

@jossmac jossmac Nov 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explicit declaration overrides global reset, if any, to ensure correct dimensions.

@@ -50,23 +58,25 @@ export const NumberField: ForwardRefExoticComponent<

return (
<TextFieldPrimitive
ref={inputRef}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref wasn't passed on properly + add missing props contextualHelp, and isRequired.

Copy link
Member

@emmatown emmatown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a changeset but otherwise looks fine

@jossmac jossmac enabled auto-merge (squash) November 4, 2024 03:18
@jossmac jossmac requested a review from emmatown November 4, 2024 03:18
@jossmac jossmac merged commit 35575f5 into main Nov 4, 2024
8 checks passed
@jossmac jossmac deleted the component-lib-tidy branch November 4, 2024 03:21
@github-actions github-actions bot mentioned this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants