@react-types/layout
Advanced tools
Comparing version 3.0.0-alpha.1 to 3.0.0-nightly-641446f65-240905
{ | ||
"name": "@react-types/layout", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-nightly-641446f65-240905", | ||
"description": "Spectrum UI components in React", | ||
@@ -9,9 +9,9 @@ "license": "Apache-2.0", | ||
"type": "git", | ||
"url": "https://github.com/adobe-private/react-spectrum-v3" | ||
"url": "https://github.com/adobe/react-spectrum" | ||
}, | ||
"dependencies": { | ||
"@react-types/shared": "^3.0.0-rc.2" | ||
"@react-types/shared": "^3.0.0-nightly-641446f65-240905" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
}, | ||
@@ -21,3 +21,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "207e6ee9076905c96638a7f81a367758872e1410" | ||
} | ||
"stableVersion": "3.3.17" | ||
} |
# @react-types/layout | ||
This package is part of [react-spectrum](https://github.com/adobe-private/react-spectrum-v3). See the repo for more details. | ||
This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details. |
@@ -14,3 +14,3 @@ /* | ||
import {DOMProps, FlexStyleProps} from '@react-types/shared'; | ||
import {ReactElement} from 'react'; | ||
import {ReactNode} from 'react'; | ||
@@ -20,3 +20,4 @@ export type Slots = {[key: string]: any}; | ||
export interface FlexProps extends DOMProps, FlexStyleProps { | ||
children: ReactElement | ReactElement[] | ||
/** Children of the flex container. */ | ||
children: ReactNode | ||
} |
@@ -17,3 +17,4 @@ /* | ||
export interface GridProps extends DOMProps, GridStyleProps { | ||
/** Children of the grid container. */ | ||
children: ReactNode | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48
32
250
3076
5
+ Addedreact@19.0.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)