-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore: revert export provider context #7416
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
@@ -341,7 +341,7 @@ describe('ColorWheel', () => { | |||
let defaultColor = parseColor('hsl(0, 100%, 50%)'); | |||
let {container: _container, getByRole} = render(<ControlledHSL defaultValue={defaultColor} onChange={onChangeSpy} onChangeEnd={onChangeEndSpy} />); | |||
let slider = getByRole('slider'); | |||
let container = _container?.firstChild?.firstChild?.firstChild as HTMLElement; | |||
let container = _container?.firstChild?.firstChild?.firstChild?.firstChild as HTMLElement; |
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.
😂
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.
yeah... we have far too many of these, they are very silly
@@ -34,3 +37,7 @@ function customRender(ui, options) { | |||
|
|||
// override render method with | |||
export {customRender as render}; | |||
|
|||
export function renderv3(ui, options, providerProps) { |
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.
just confirming: this isn't the public test utils package right?
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.
correct, this is private
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.
Co-authored-by: Devon Govett <[email protected]>
## API Changes
@react-spectrum/provider/@react-spectrum/provider:Context-Context {
- UNTYPED
-} |
Closes
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project: