@react-aria/grid
Advanced tools
Comparing version 3.0.0-nightly.2876 to 3.0.0-nightly.2878
@@ -453,3 +453,4 @@ var { | ||
return (_state$collection$get = state.collection.getItem(key)) == null ? void 0 : _state$collection$get.textValue; | ||
} | ||
}, | ||
scrollRef | ||
} = props; | ||
@@ -484,3 +485,5 @@ let formatMessage = useMessageFormatter($df311f3c863e8abccff59a8ae65a46d3$var$intlMessages); | ||
selectionManager: state.selectionManager, | ||
keyboardDelegate: delegate | ||
keyboardDelegate: delegate, | ||
isVirtualized, | ||
scrollRef | ||
}); | ||
@@ -487,0 +490,0 @@ let id = useId(); |
@@ -412,3 +412,4 @@ import { focusSafely, getFocusableTreeWalker } from "@react-aria/focus"; | ||
return (_state$collection$get = state.collection.getItem(key)) == null ? void 0 : _state$collection$get.textValue; | ||
} | ||
}, | ||
scrollRef | ||
} = props; | ||
@@ -443,3 +444,5 @@ let formatMessage = useMessageFormatter($e3c4cce891c32069b0b54eddd405e76$var$intlMessages); | ||
selectionManager: state.selectionManager, | ||
keyboardDelegate: delegate | ||
keyboardDelegate: delegate, | ||
isVirtualized, | ||
scrollRef | ||
}); | ||
@@ -446,0 +449,0 @@ let id = useId(); |
@@ -56,2 +56,6 @@ import { Direction, KeyboardDelegate, Node, AriaLabelingProps, DOMProps } from "@react-types/shared"; | ||
getRowText?: (key: Key) => string; | ||
/** | ||
* The ref attached to the scrollable body. Used to provided automatic scrolling on item focus for non-virtualized grids. | ||
*/ | ||
scrollRef?: RefObject<HTMLElement>; | ||
} | ||
@@ -58,0 +62,0 @@ export interface GridAria { |
{ | ||
"name": "@react-aria/grid", | ||
"version": "3.0.0-nightly.2876+185cd9d89", | ||
"version": "3.0.0-nightly.2878+562b4006e", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,12 +21,12 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/focus": "3.0.0-nightly.1191+185cd9d89", | ||
"@react-aria/i18n": "3.0.0-nightly.1191+185cd9d89", | ||
"@react-aria/interactions": "3.0.0-nightly.1191+185cd9d89", | ||
"@react-aria/live-announcer": "3.0.0-nightly.1191+185cd9d89", | ||
"@react-aria/selection": "3.0.0-nightly.1191+185cd9d89", | ||
"@react-aria/utils": "3.0.0-nightly.1191+185cd9d89", | ||
"@react-stately/grid": "3.0.0-nightly.2876+185cd9d89", | ||
"@react-stately/virtualizer": "3.1.6-nightly.2876+185cd9d89", | ||
"@react-types/grid": "3.0.0-nightly.2876+185cd9d89", | ||
"@react-types/shared": "3.0.0-nightly.1191+185cd9d89" | ||
"@react-aria/focus": "3.0.0-nightly.1193+562b4006e", | ||
"@react-aria/i18n": "3.0.0-nightly.1193+562b4006e", | ||
"@react-aria/interactions": "3.0.0-nightly.1193+562b4006e", | ||
"@react-aria/live-announcer": "3.0.0-nightly.1193+562b4006e", | ||
"@react-aria/selection": "3.0.0-nightly.1193+562b4006e", | ||
"@react-aria/utils": "3.0.0-nightly.1193+562b4006e", | ||
"@react-stately/grid": "3.0.0-nightly.2878+562b4006e", | ||
"@react-stately/virtualizer": "3.1.6-nightly.2878+562b4006e", | ||
"@react-types/grid": "3.0.0-nightly.2878+562b4006e", | ||
"@react-types/shared": "3.0.0-nightly.1193+562b4006e" | ||
}, | ||
@@ -40,3 +40,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "185cd9d89d70618490e32895112774262cf25548" | ||
"gitHead": "562b4006e27f2c479d3498df44c4ea689ff37c3a" | ||
} |
@@ -43,3 +43,7 @@ /* | ||
*/ | ||
getRowText?: (key: Key) => string | ||
getRowText?: (key: Key) => string, | ||
/** | ||
* The ref attached to the scrollable body. Used to provided automatic scrolling on item focus for non-virtualized grids. | ||
*/ | ||
scrollRef?: RefObject<HTMLElement> | ||
} | ||
@@ -64,3 +68,4 @@ | ||
focusMode, | ||
getRowText = (key) => state.collection.getItem(key)?.textValue | ||
getRowText = (key) => state.collection.getItem(key)?.textValue, | ||
scrollRef | ||
} = props; | ||
@@ -88,3 +93,5 @@ let formatMessage = useMessageFormatter(intlMessages); | ||
selectionManager: state.selectionManager, | ||
keyboardDelegate: delegate | ||
keyboardDelegate: delegate, | ||
isVirtualized, | ||
scrollRef | ||
}); | ||
@@ -91,0 +98,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
207023
2212