@radix-ui/react-select 2.1.2 → 2.1.3-rc.1

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,3 +1,4 @@
1
+ import * as _radix_ui_react_context from '@radix-ui/react-context';
1
2
  import * as React from 'react';
2
3
  import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
3
4
  import { FocusScope } from '@radix-ui/react-focus-scope';
@@ -5,19 +6,8 @@ import * as PopperPrimitive from '@radix-ui/react-popper';
5
6
  import { Portal as Portal$1 } from '@radix-ui/react-portal';
6
7
  import { Primitive } from '@radix-ui/react-primitive';
7
8
 
8
- type Scope<C = any> = {
9
- [scopeName: string]: React.Context<C>[];
10
- } | undefined;
11
- type ScopeHook = (scope: Scope) => {
12
- [__scopeProp: string]: Scope;
13
- };
14
- interface CreateScope {
15
- scopeName: string;
16
- (): ScopeHook;
17
- }
18
-
19
9
  type Direction = 'ltr' | 'rtl';
20
- declare const createSelectScope: CreateScope;
10
+ declare const createSelectScope: _radix_ui_react_context.CreateScope;
21
11
  interface SelectProps {
22
12
  children?: React.ReactNode;
23
13
  value?: string;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as _radix_ui_react_context from '@radix-ui/react-context';
1
2
  import * as React from 'react';
2
3
  import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
3
4
  import { FocusScope } from '@radix-ui/react-focus-scope';
@@ -5,19 +6,8 @@ import * as PopperPrimitive from '@radix-ui/react-popper';
5
6
  import { Portal as Portal$1 } from '@radix-ui/react-portal';
6
7
  import { Primitive } from '@radix-ui/react-primitive';
7
8
 
8
- type Scope<C = any> = {
9
- [scopeName: string]: React.Context<C>[];
10
- } | undefined;
11
- type ScopeHook = (scope: Scope) => {
12
- [__scopeProp: string]: Scope;
13
- };
14
- interface CreateScope {
15
- scopeName: string;
16
- (): ScopeHook;
17
- }
18
-
19
9
  type Direction = 'ltr' | 'rtl';
20
- declare const createSelectScope: CreateScope;
10
+ declare const createSelectScope: _radix_ui_react_context.CreateScope;
21
11
  interface SelectProps {
22
12
  children?: React.ReactNode;
23
13
  value?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-ui/react-select",
3
- "version": "2.1.2",
3
+ "version": "2.1.3-rc.1",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -29,24 +29,24 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@radix-ui/number": "1.1.0",
32
- "@radix-ui/primitive": "1.1.0",
33
- "@radix-ui/react-collection": "1.1.0",
34
- "@radix-ui/react-compose-refs": "1.1.0",
32
+ "@radix-ui/primitive": "1.1.1-rc.1",
33
+ "@radix-ui/react-collection": "1.1.1-rc.1",
34
+ "@radix-ui/react-compose-refs": "1.1.1-rc.1",
35
35
  "@radix-ui/react-context": "1.1.1",
36
36
  "@radix-ui/react-direction": "1.1.0",
37
- "@radix-ui/react-dismissable-layer": "1.1.1",
37
+ "@radix-ui/react-dismissable-layer": "1.1.2-rc.1",
38
38
  "@radix-ui/react-focus-guards": "1.1.1",
39
- "@radix-ui/react-focus-scope": "1.1.0",
39
+ "@radix-ui/react-focus-scope": "1.1.1-rc.1",
40
40
  "@radix-ui/react-id": "1.1.0",
41
- "@radix-ui/react-popper": "1.2.0",
42
- "@radix-ui/react-portal": "1.1.2",
43
- "@radix-ui/react-primitive": "2.0.0",
44
- "@radix-ui/react-slot": "1.1.0",
41
+ "@radix-ui/react-popper": "1.2.1-rc.1",
42
+ "@radix-ui/react-portal": "1.1.3-rc.1",
43
+ "@radix-ui/react-primitive": "2.0.1-rc.1",
44
+ "@radix-ui/react-slot": "1.1.1-rc.1",
45
45
  "@radix-ui/react-use-callback-ref": "1.1.0",
46
46
  "@radix-ui/react-use-controllable-state": "1.1.0",
47
47
  "@radix-ui/react-use-layout-effect": "1.1.0",
48
48
  "@radix-ui/react-use-previous": "1.1.0",
49
- "@radix-ui/react-visually-hidden": "1.1.0",
49
+ "@radix-ui/react-visually-hidden": "1.1.1-rc.1",
50
50
  "aria-hidden": "^1.1.1",
51
51
  "react-remove-scroll": "2.6.0"
52
52
  },
@@ -71,5 +71,6 @@
71
71
  },
72
72
  "bugs": {
73
73
  "url": "https://github.com/radix-ui/primitives/issues"
74
- }
74
+ },
75
+ "stableVersion": "2.1.2"
75
76
  }