-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: Assorted new docs fixes from testing #8875
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
Conversation
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
|
||
// TODO: this causes a flash when the headings change size, maybe we just move this code | ||
// to client and append suppressHydrationWarning to the h1s | ||
export function TitleResizer() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Want to use https://una.im/5-css-functions/#fluid-type if it's supported in the browser?
it's already in chrome Fyrd/caniuse#7368
Build successful! 🎉 |
…gation scroll positioning
… the images at small screen sizes
…r updates during scroll on mobile this is because the page doesnt actually remount, we reuse the existing component tree
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just a few comments
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I poked around with this example and decided to update it entirely since the Form + CheckboxGroup looks strange when the size was increased via the controls
Build successful! 🎉 |
## API Changes
@react-spectrum/s2/@react-spectrum/s2:EditableCell-EditableCell {
- align?: 'start' | 'center' | 'end' = 'start'
- children: ReactNode
- className?: ClassNameOrFunction<CellRenderProps> = 'react-aria-Cell'
- colSpan?: number
- id?: Key
- isSaving?: boolean
- onCancel: () => void
- onSubmit: () => void
- renderEditing: () => ReactNode
- showDivider?: boolean
- style?: StyleOrFunction<CellRenderProps>
- textValue?: string
-} |
* fix modal so it always appears over mobile header and fix dropzone width * add title font size resizing behavior to s2 docs * dont use useResizeObserver because we want to catch fonts changing * fix mobile header icon and library label * fix cross page anchor navigation scrolling and mobile cross page navigation scroll positioning * properly close mobile header menu when clicking on component card * making image coordinator example wrap to new row instead of squishing the images at small screen sizes * set a minwidth large enough so disallowEmptySelection have its label wrap * properly reobserve the new page post-navigation so the page nav picker updates during scroll on mobile this is because the page doesnt actually remount, we reuse the existing component tree * remove broken title resizer code and fix rebase * restore styles * fix internationalized logo * add 404 page * forgot to remove test code * hide error page from search * update S2 popover example * update icon in example --------- Co-authored-by: Reid Barber <[email protected]>
* fix modal so it always appears over mobile header and fix dropzone width * add title font size resizing behavior to s2 docs * dont use useResizeObserver because we want to catch fonts changing * fix mobile header icon and library label * fix cross page anchor navigation scrolling and mobile cross page navigation scroll positioning * properly close mobile header menu when clicking on component card * making image coordinator example wrap to new row instead of squishing the images at small screen sizes * set a minwidth large enough so disallowEmptySelection have its label wrap * properly reobserve the new page post-navigation so the page nav picker updates during scroll on mobile this is because the page doesnt actually remount, we reuse the existing component tree * remove broken title resizer code and fix rebase * restore styles * fix internationalized logo * add 404 page * forgot to remove test code * hide error page from search * update S2 popover example * update icon in example --------- Co-authored-by: Reid Barber <[email protected]>
Does the following:
✅ Pull Request Checklist:
📝 Test Instructions:
See the above
🧢 Your Project:
RSP