@react-spectrum/s2 3.0.0-nightly-527c98a84-250305 → 3.0.0-nightly-b4695c8fd-250306

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/CardView.tsx CHANGED
@@ -16,6 +16,7 @@ import {
16
16
  GridLayout,
17
17
  GridListItem,
18
18
  GridListProps,
19
+ Size,
19
20
  Virtualizer,
20
21
  WaterfallLayout
21
22
  } from 'react-aria-components';
@@ -25,7 +26,6 @@ import {DOMRef, DOMRefValue, forwardRefType, Key, LoadingState} from '@react-typ
25
26
  import {focusRing, style} from '../style' with {type: 'macro'};
26
27
  import {getAllowedOverrides, StylesPropWithHeight, UnsafeStyles} from './style-utils' with {type: 'macro'};
27
28
  import {ImageCoordinator} from './ImageCoordinator';
28
- import {Size} from '@react-stately/virtualizer';
29
29
  import {useActionBarContainer} from './ActionBar';
30
30
  import {useDOMRef} from '@react-spectrum/utils';
31
31
  import {useEffectEvent, useLayoutEffect, useLoadMore, useResizeObserver} from '@react-aria/utils';
@@ -13,10 +13,10 @@
13
13
  import {
14
14
  ColorSwatch as AriaColorSwatch,
15
15
  ColorSwatchProps as AriaColorSwatchProps,
16
+ Color,
16
17
  ContextValue,
17
18
  parseColor
18
19
  } from 'react-aria-components';
19
- import {Color} from '@react-types/color';
20
20
  import {createContext, forwardRef, JSX, ReactElement, useContext, useMemo} from 'react';
21
21
  import {DOMRef, DOMRefValue} from '@react-types/shared';
22
22
  import {getAllowedOverrides, StylesPropWithHeight, UnsafeStyles} from './style-utils' with {type: 'macro'};
@@ -10,8 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import {ColorSwatchPicker as AriaColorSwatchPicker, ColorSwatchPickerItem as AriaColorSwatchPickerItem, ContextValue, SlotProps} from 'react-aria-components';
14
- import {Color} from '@react-types/color';
13
+ import {ColorSwatchPicker as AriaColorSwatchPicker, ColorSwatchPickerItem as AriaColorSwatchPickerItem, Color, ContextValue, SlotProps} from 'react-aria-components';
15
14
  import {ColorSwatchProps, InternalColorSwatchContext} from './ColorSwatch';
16
15
  import {createContext, forwardRef, ReactElement, ReactNode} from 'react';
17
16
  import {DOMRef, DOMRefValue, ValueBase} from '@react-types/shared';
package/src/TableView.tsx CHANGED
@@ -32,6 +32,7 @@ import {
32
32
  TableHeader as RACTableHeader,
33
33
  TableHeaderProps as RACTableHeaderProps,
34
34
  TableProps as RACTableProps,
35
+ Rect,
35
36
  ResizableTableContainer,
36
37
  RowRenderProps,
37
38
  TableBodyRenderProps,
@@ -59,7 +60,6 @@ import Nubbin from '../ui-icons/S2_MoveHorizontalTableWidget.svg';
59
60
  import {ProgressCircle} from './ProgressCircle';
60
61
  import {raw} from '../style/style-macro' with {type: 'macro'};
61
62
  import React, {createContext, forwardRef, ReactElement, ReactNode, useCallback, useContext, useMemo, useRef, useState} from 'react';
62
- import {Rect} from '@react-stately/virtualizer';
63
63
  import SortDownArrow from '../s2wf-icons/S2_Icon_SortDown_20_N.svg';
64
64
  import SortUpArrow from '../s2wf-icons/S2_Icon_SortUp_20_N.svg';
65
65
  import {useActionBarContainer} from './ActionBar';