@radix-ui/react-roving-focus
Advanced tools
Comparing version 1.1.0-rc.3 to 1.1.0-rc.4
import * as React from 'react'; | ||
import * as Radix from '@radix-ui/react-primitive'; | ||
import { Primitive } from '@radix-ui/react-primitive'; | ||
declare type Scope<C = any> = { | ||
type Scope<C = any> = { | ||
[scopeName: string]: React.Context<C>[]; | ||
} | undefined; | ||
declare type ScopeHook = (scope: Scope) => { | ||
type ScopeHook = (scope: Scope) => { | ||
[__scopeProp: string]: Scope; | ||
@@ -17,4 +16,4 @@ }; | ||
declare const createRovingFocusGroupScope: CreateScope; | ||
declare type Orientation = React.AriaAttributes['aria-orientation']; | ||
declare type Direction = 'ltr' | 'rtl'; | ||
type Orientation = React.AriaAttributes['aria-orientation']; | ||
type Direction = 'ltr' | 'rtl'; | ||
interface RovingFocusGroupOptions { | ||
@@ -39,3 +38,3 @@ /** | ||
declare const RovingFocusGroup: React.ForwardRefExoticComponent<RovingFocusGroupProps & React.RefAttributes<HTMLDivElement>>; | ||
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>; | ||
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>; | ||
interface RovingFocusGroupImplProps extends Omit<PrimitiveDivProps, 'dir'>, RovingFocusGroupOptions { | ||
@@ -48,3 +47,3 @@ currentTabStopId?: string | null; | ||
} | ||
declare type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>; | ||
type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>; | ||
interface RovingFocusItemProps extends PrimitiveSpanProps { | ||
@@ -51,0 +50,0 @@ tabStopId?: string; |
{ | ||
"name": "@radix-ui/react-roving-focus", | ||
"version": "1.1.0-rc.3", | ||
"version": "1.1.0-rc.4", | ||
"license": "MIT", | ||
@@ -31,11 +31,11 @@ "exports": { | ||
"dependencies": { | ||
"@radix-ui/primitive": "1.1.0-rc.3", | ||
"@radix-ui/react-collection": "1.1.0-rc.3", | ||
"@radix-ui/react-compose-refs": "1.1.0-rc.3", | ||
"@radix-ui/react-context": "1.1.0-rc.3", | ||
"@radix-ui/react-direction": "1.1.0-rc.3", | ||
"@radix-ui/react-id": "1.1.0-rc.3", | ||
"@radix-ui/react-primitive": "1.1.0-rc.3", | ||
"@radix-ui/react-use-callback-ref": "1.1.0-rc.3", | ||
"@radix-ui/react-use-controllable-state": "1.1.0-rc.3" | ||
"@radix-ui/primitive": "1.1.0-rc.4", | ||
"@radix-ui/react-collection": "1.1.0-rc.4", | ||
"@radix-ui/react-compose-refs": "1.1.0-rc.4", | ||
"@radix-ui/react-context": "1.1.0-rc.4", | ||
"@radix-ui/react-direction": "1.1.0-rc.4", | ||
"@radix-ui/react-id": "1.1.0-rc.4", | ||
"@radix-ui/react-primitive": "2.0.0-rc.1", | ||
"@radix-ui/react-use-callback-ref": "1.1.0-rc.4", | ||
"@radix-ui/react-use-controllable-state": "1.1.0-rc.4" | ||
}, | ||
@@ -45,4 +45,4 @@ "peerDependencies": { | ||
"@types/react-dom": "*", | ||
"react": "^16.8 || ^17.0 || ^18.0", | ||
"react-dom": "^16.8 || ^17.0 || ^18.0" | ||
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0", | ||
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "peerDependenciesMeta": { |
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
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
64205
538
+ Added@radix-ui/primitive@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-collection@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-compose-refs@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-context@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-direction@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-id@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-primitive@2.0.0-rc.1(transitive)
+ Added@radix-ui/react-slot@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-callback-ref@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-controllable-state@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-layout-effect@1.1.0-rc.4(transitive)
- Removed@radix-ui/primitive@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-collection@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-compose-refs@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-context@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-direction@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-id@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-primitive@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-slot@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-callback-ref@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-controllable-state@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-layout-effect@1.1.0-rc.3(transitive)