@radix-ui/react-scroll-area
Advanced tools
Comparing version 1.2.1 to 1.2.2-rc.1
@@ -0,15 +1,5 @@ | ||
import * as _radix_ui_react_context from '@radix-ui/react-context'; | ||
import * as React from 'react'; | ||
import { Primitive } from '@radix-ui/react-primitive'; | ||
type Scope<C = any> = { | ||
[scopeName: string]: React.Context<C>[]; | ||
} | undefined; | ||
type ScopeHook = (scope: Scope) => { | ||
[__scopeProp: string]: Scope; | ||
}; | ||
interface CreateScope { | ||
scopeName: string; | ||
(): ScopeHook; | ||
} | ||
type Direction = 'ltr' | 'rtl'; | ||
@@ -25,3 +15,3 @@ type Sizes = { | ||
}; | ||
declare const createScrollAreaScope: CreateScope; | ||
declare const createScrollAreaScope: _radix_ui_react_context.CreateScope; | ||
type ScrollAreaContextValue = { | ||
@@ -28,0 +18,0 @@ type: 'auto' | 'always' | 'scroll' | 'hover'; |
@@ -590,3 +590,3 @@ "use strict"; | ||
); | ||
const removeUnlinkedScrollListenerRef = React2.useRef(); | ||
const removeUnlinkedScrollListenerRef = React2.useRef(void 0); | ||
const debounceScrollEnd = useDebounceCallback(() => { | ||
@@ -593,0 +593,0 @@ if (removeUnlinkedScrollListenerRef.current) { |
{ | ||
"name": "@radix-ui/react-scroll-area", | ||
"version": "1.2.1", | ||
"version": "1.2.2-rc.1", | ||
"license": "MIT", | ||
@@ -32,8 +32,8 @@ "exports": { | ||
"@radix-ui/number": "1.1.0", | ||
"@radix-ui/primitive": "1.1.0", | ||
"@radix-ui/react-compose-refs": "1.1.0", | ||
"@radix-ui/primitive": "1.1.1-rc.1", | ||
"@radix-ui/react-compose-refs": "1.1.1-rc.1", | ||
"@radix-ui/react-context": "1.1.1", | ||
"@radix-ui/react-direction": "1.1.0", | ||
"@radix-ui/react-presence": "1.1.1", | ||
"@radix-ui/react-primitive": "2.0.0", | ||
"@radix-ui/react-presence": "1.1.2-rc.1", | ||
"@radix-ui/react-primitive": "2.0.1-rc.1", | ||
"@radix-ui/react-use-callback-ref": "1.1.0", | ||
@@ -66,3 +66,4 @@ "@radix-ui/react-use-layout-effect": "1.1.0" | ||
"url": "https://github.com/radix-ui/primitives/issues" | ||
} | ||
}, | ||
"stableVersion": "1.2.1" | ||
} |
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
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
196192
1628
1
+ Added@radix-ui/primitive@1.1.1-rc.1(transitive)
+ Added@radix-ui/react-compose-refs@1.1.1-rc.1(transitive)
+ Added@radix-ui/react-presence@1.1.2-rc.1(transitive)
+ Added@radix-ui/react-primitive@2.0.1-rc.1(transitive)
+ Added@radix-ui/react-slot@1.1.1-rc.1(transitive)
- Removed@radix-ui/primitive@1.1.0(transitive)
- Removed@radix-ui/react-compose-refs@1.1.0(transitive)
- Removed@radix-ui/react-presence@1.1.1(transitive)
- Removed@radix-ui/react-primitive@2.0.0(transitive)
- Removed@radix-ui/react-slot@1.1.0(transitive)