@radix-ui/react-tooltip 1.1.4 → 1.1.5-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,21 +1,11 @@
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 * as PopperPrimitive from '@radix-ui/react-popper';
4
5
  import { Portal as Portal$1 } from '@radix-ui/react-portal';
5
6
  import { Primitive } from '@radix-ui/react-primitive';
6
7
 
7
- type Scope<C = any> = {
8
- [scopeName: string]: React.Context<C>[];
9
- } | undefined;
10
- type ScopeHook = (scope: Scope) => {
11
- [__scopeProp: string]: Scope;
12
- };
13
- interface CreateScope {
14
- scopeName: string;
15
- (): ScopeHook;
16
- }
17
-
18
- declare const createTooltipScope: CreateScope;
8
+ declare const createTooltipScope: _radix_ui_react_context.CreateScope;
19
9
  interface TooltipProviderProps {
20
10
  children: React.ReactNode;
21
11
  /**
package/dist/index.d.ts CHANGED
@@ -1,21 +1,11 @@
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 * as PopperPrimitive from '@radix-ui/react-popper';
4
5
  import { Portal as Portal$1 } from '@radix-ui/react-portal';
5
6
  import { Primitive } from '@radix-ui/react-primitive';
6
7
 
7
- type Scope<C = any> = {
8
- [scopeName: string]: React.Context<C>[];
9
- } | undefined;
10
- type ScopeHook = (scope: Scope) => {
11
- [__scopeProp: string]: Scope;
12
- };
13
- interface CreateScope {
14
- scopeName: string;
15
- (): ScopeHook;
16
- }
17
-
18
- declare const createTooltipScope: CreateScope;
8
+ declare const createTooltipScope: _radix_ui_react_context.CreateScope;
19
9
  interface TooltipProviderProps {
20
10
  children: React.ReactNode;
21
11
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-ui/react-tooltip",
3
- "version": "1.1.4",
3
+ "version": "1.1.5-rc.1",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -28,18 +28,18 @@
28
28
  "version": "yarn version"
29
29
  },
30
30
  "dependencies": {
31
- "@radix-ui/primitive": "1.1.0",
32
- "@radix-ui/react-compose-refs": "1.1.0",
31
+ "@radix-ui/primitive": "1.1.1-rc.1",
32
+ "@radix-ui/react-compose-refs": "1.1.1-rc.1",
33
33
  "@radix-ui/react-context": "1.1.1",
34
- "@radix-ui/react-dismissable-layer": "1.1.1",
34
+ "@radix-ui/react-dismissable-layer": "1.1.2-rc.1",
35
35
  "@radix-ui/react-id": "1.1.0",
36
- "@radix-ui/react-popper": "1.2.0",
37
- "@radix-ui/react-portal": "1.1.2",
38
- "@radix-ui/react-presence": "1.1.1",
39
- "@radix-ui/react-primitive": "2.0.0",
40
- "@radix-ui/react-slot": "1.1.0",
36
+ "@radix-ui/react-popper": "1.2.1-rc.1",
37
+ "@radix-ui/react-portal": "1.1.3-rc.1",
38
+ "@radix-ui/react-presence": "1.1.2-rc.1",
39
+ "@radix-ui/react-primitive": "2.0.1-rc.1",
40
+ "@radix-ui/react-slot": "1.1.1-rc.1",
41
41
  "@radix-ui/react-use-controllable-state": "1.1.0",
42
- "@radix-ui/react-visually-hidden": "1.1.0"
42
+ "@radix-ui/react-visually-hidden": "1.1.1-rc.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@types/react": "*",
@@ -62,5 +62,6 @@
62
62
  },
63
63
  "bugs": {
64
64
  "url": "https://github.com/radix-ui/primitives/issues"
65
- }
65
+ },
66
+ "stableVersion": "1.1.4"
66
67
  }