@react-spectrum/s2 3.0.0-nightly-9bd8a5f19-250304 → 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/dist/CardView.cjs +45 -47
- package/dist/CardView.cjs.map +1 -1
- package/dist/CardView.css.map +1 -1
- package/dist/CardView.mjs +1 -3
- package/dist/CardView.mjs.map +1 -1
- package/dist/ColorSwatch.cjs.map +1 -1
- package/dist/ColorSwatch.css.map +1 -1
- package/dist/ColorSwatch.mjs.map +1 -1
- package/dist/ColorSwatchPicker.cjs.map +1 -1
- package/dist/ColorSwatchPicker.css.map +1 -1
- package/dist/ColorSwatchPicker.mjs.map +1 -1
- package/dist/TableView.cjs +1 -3
- package/dist/TableView.cjs.map +1 -1
- package/dist/TableView.css.map +1 -1
- package/dist/TableView.mjs +1 -3
- package/dist/TableView.mjs.map +1 -1
- package/dist/types.d.ts +1 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +18 -21
- package/src/CardView.tsx +1 -1
- package/src/ColorSwatch.tsx +1 -1
- package/src/ColorSwatchPicker.tsx +1 -2
- package/src/TableView.tsx +1 -1
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';
|
package/src/ColorSwatch.tsx
CHANGED
|
@@ -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';
|