@react-spectrum/card 3.0.0-alpha.24 → 3.0.0-alpha.26
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/main.css +1 -1
- package/dist/main.js +55 -57
- package/dist/main.js.map +1 -1
- package/dist/module.js +55 -57
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +18 -21
- package/src/BaseLayout.tsx +1 -2
- package/src/GridLayout.tsx +1 -2
- package/src/WaterfallLayout.tsx +1 -2
- package/dist/import.mjs +0 -1651
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/card",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.26",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,25 +36,22 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/focus": "^3.
|
|
40
|
-
"@react-aria/grid": "^3.8.
|
|
41
|
-
"@react-aria/i18n": "^3.
|
|
42
|
-
"@react-aria/interactions": "^3.
|
|
43
|
-
"@react-aria/utils": "^3.
|
|
44
|
-
"@react-aria/virtualizer": "^3.9.
|
|
45
|
-
"@react-spectrum/checkbox": "^3.
|
|
46
|
-
"@react-spectrum/
|
|
47
|
-
"@react-spectrum/
|
|
48
|
-
"@react-
|
|
49
|
-
"@react-
|
|
50
|
-
"@react-stately/
|
|
51
|
-
"@react-stately/
|
|
52
|
-
"@react-
|
|
53
|
-
"@react-
|
|
54
|
-
"@react-
|
|
55
|
-
"@react-types/card": "3.0.0-alpha.20",
|
|
56
|
-
"@react-types/provider": "^3.7.0",
|
|
57
|
-
"@react-types/shared": "^3.21.0",
|
|
39
|
+
"@react-aria/focus": "^3.15.0",
|
|
40
|
+
"@react-aria/grid": "^3.8.5",
|
|
41
|
+
"@react-aria/i18n": "^3.9.0",
|
|
42
|
+
"@react-aria/interactions": "^3.20.0",
|
|
43
|
+
"@react-aria/utils": "^3.22.0",
|
|
44
|
+
"@react-aria/virtualizer": "^3.9.6",
|
|
45
|
+
"@react-spectrum/checkbox": "^3.9.0",
|
|
46
|
+
"@react-spectrum/progress": "^3.7.2",
|
|
47
|
+
"@react-spectrum/utils": "^3.11.2",
|
|
48
|
+
"@react-stately/collections": "^3.10.3",
|
|
49
|
+
"@react-stately/grid": "^3.8.3",
|
|
50
|
+
"@react-stately/list": "^3.10.1",
|
|
51
|
+
"@react-stately/virtualizer": "^3.6.5",
|
|
52
|
+
"@react-types/card": "3.0.0-alpha.21",
|
|
53
|
+
"@react-types/provider": "^3.7.1",
|
|
54
|
+
"@react-types/shared": "^3.22.0",
|
|
58
55
|
"@swc/helpers": "^0.5.0"
|
|
59
56
|
},
|
|
60
57
|
"devDependencies": {
|
|
@@ -68,5 +65,5 @@
|
|
|
68
65
|
"publishConfig": {
|
|
69
66
|
"access": "public"
|
|
70
67
|
},
|
|
71
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "4a7ee6fc93e00a34d4cdad26d48439f8dabee88b"
|
|
72
69
|
}
|
package/src/BaseLayout.tsx
CHANGED
|
@@ -10,11 +10,10 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import {Direction, KeyboardDelegate, Node} from '@react-types/shared';
|
|
13
|
+
import {Direction, Key, KeyboardDelegate, Node} from '@react-types/shared';
|
|
14
14
|
import {getChildNodes, getFirstItem} from '@react-stately/collections';
|
|
15
15
|
import {GridCollection} from '@react-stately/grid';
|
|
16
16
|
import {InvalidationContext, Layout, LayoutInfo, Rect, Size} from '@react-stately/virtualizer';
|
|
17
|
-
import {Key} from 'react';
|
|
18
17
|
import {Scale} from '@react-types/provider';
|
|
19
18
|
|
|
20
19
|
export interface BaseLayoutOptions {
|
package/src/GridLayout.tsx
CHANGED
|
@@ -12,9 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
import {BaseLayout, BaseLayoutOptions} from './BaseLayout';
|
|
14
14
|
import {getChildNodes, getFirstItem} from '@react-stately/collections';
|
|
15
|
-
import {Key} from 'react';
|
|
15
|
+
import {Key, Node, Orientation} from '@react-types/shared';
|
|
16
16
|
import {LayoutInfo, Rect, Size} from '@react-stately/virtualizer';
|
|
17
|
-
import {Node, Orientation} from '@react-types/shared';
|
|
18
17
|
|
|
19
18
|
export interface GridLayoutOptions extends BaseLayoutOptions {
|
|
20
19
|
// /**
|
package/src/WaterfallLayout.tsx
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
import {BaseLayout, BaseLayoutOptions} from './BaseLayout';
|
|
14
14
|
import {getChildNodes, getFirstItem} from '@react-stately/collections';
|
|
15
15
|
import {InvalidationContext, LayoutInfo, Rect, Size} from '@react-stately/virtualizer';
|
|
16
|
-
import {Key} from 'react';
|
|
17
|
-
import {KeyboardDelegate, Node} from '@react-types/shared';
|
|
16
|
+
import {Key, KeyboardDelegate, Node} from '@react-types/shared';
|
|
18
17
|
|
|
19
18
|
export interface WaterfallLayoutOptions extends BaseLayoutOptions {
|
|
20
19
|
/**
|