@radix-ui/react-roving-focus 1.1.0 → 1.1.1-rc.2

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/index.d.mts CHANGED
@@ -1,18 +1,8 @@
1
+ import * as _radix_ui_react_context from '@radix-ui/react-context';
1
2
  import * as React from 'react';
2
3
  import { Primitive } from '@radix-ui/react-primitive';
3
4
 
4
- type Scope<C = any> = {
5
- [scopeName: string]: React.Context<C>[];
6
- } | undefined;
7
- type ScopeHook = (scope: Scope) => {
8
- [__scopeProp: string]: Scope;
9
- };
10
- interface CreateScope {
11
- scopeName: string;
12
- (): ScopeHook;
13
- }
14
-
15
- declare const createRovingFocusGroupScope: CreateScope;
5
+ declare const createRovingFocusGroupScope: _radix_ui_react_context.CreateScope;
16
6
  type Orientation = React.AriaAttributes['aria-orientation'];
17
7
  type Direction = 'ltr' | 'rtl';
18
8
  interface RovingFocusGroupOptions {
package/dist/index.d.ts CHANGED
@@ -1,18 +1,8 @@
1
+ import * as _radix_ui_react_context from '@radix-ui/react-context';
1
2
  import * as React from 'react';
2
3
  import { Primitive } from '@radix-ui/react-primitive';
3
4
 
4
- type Scope<C = any> = {
5
- [scopeName: string]: React.Context<C>[];
6
- } | undefined;
7
- type ScopeHook = (scope: Scope) => {
8
- [__scopeProp: string]: Scope;
9
- };
10
- interface CreateScope {
11
- scopeName: string;
12
- (): ScopeHook;
13
- }
14
-
15
- declare const createRovingFocusGroupScope: CreateScope;
5
+ declare const createRovingFocusGroupScope: _radix_ui_react_context.CreateScope;
16
6
  type Orientation = React.AriaAttributes['aria-orientation'];
17
7
  type Direction = 'ltr' | 'rtl';
18
8
  interface RovingFocusGroupOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-ui/react-roving-focus",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-rc.2",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -28,13 +28,13 @@
28
28
  "version": "yarn version"
29
29
  },
30
30
  "dependencies": {
31
- "@radix-ui/primitive": "1.1.0",
32
- "@radix-ui/react-collection": "1.1.0",
33
- "@radix-ui/react-compose-refs": "1.1.0",
34
- "@radix-ui/react-context": "1.1.0",
31
+ "@radix-ui/primitive": "1.1.1-rc.2",
32
+ "@radix-ui/react-collection": "1.1.1-rc.2",
33
+ "@radix-ui/react-compose-refs": "1.1.1-rc.2",
34
+ "@radix-ui/react-context": "1.1.1",
35
35
  "@radix-ui/react-direction": "1.1.0",
36
36
  "@radix-ui/react-id": "1.1.0",
37
- "@radix-ui/react-primitive": "2.0.0",
37
+ "@radix-ui/react-primitive": "2.0.1-rc.2",
38
38
  "@radix-ui/react-use-callback-ref": "1.1.0",
39
39
  "@radix-ui/react-use-controllable-state": "1.1.0"
40
40
  },
@@ -59,5 +59,6 @@
59
59
  },
60
60
  "bugs": {
61
61
  "url": "https://github.com/radix-ui/primitives/issues"
62
- }
62
+ },
63
+ "stableVersion": "1.1.0"
63
64
  }