Skip to content

Commit 2c29e2d

Browse files
authored
chore: Ts more explicit modules (#8375)
* chore: make module boundaries explicit * fix s2 illustrations * fix lint and ts for React 18/19 * fix 16, 17 * fix return types to work with isolated modules for renderOverrides * fix inference
1 parent 4886b79 commit 2c29e2d

File tree

539 files changed

+1745
-1151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

539 files changed

+1745
-1151
lines changed

packages/@react-spectrum/color/test/ColorArea.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {ColorArea} from '../';
1414
import {composeStories} from '@storybook/react';
1515
import {fireEvent, installMouseEvent, installPointerEvent, pointerMap, renderv3 as render} from '@react-spectrum/test-utils-internal';
1616
import {parseColor} from '@react-stately/color';
17+
import {ProviderProps} from '@react-spectrum/provider';
1718
import React from 'react';
1819
import * as stories from '../stories/ColorArea.stories';
1920
import userEvent from '@testing-library/user-event';
@@ -209,7 +210,7 @@ describe('ColorArea', () => {
209210
{...props}
210211
onChange={onChangeSpy}
211212
onChangeEnd={onChangeEndSpy} />
212-
, undefined, {locale: 'ar-AE'});
213+
, undefined, {locale: 'ar-AE'} as ProviderProps);
213214
let [xSlider, ySlider] = getAllByRole('slider', {hidden: true});
214215

215216
expect(xSlider.getAttribute('aria-valuetext')).toBe([

0 commit comments

Comments
 (0)