react-tooltip 5.7.0 → 5.7.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/react-tooltip.d.ts +2 -3
- package/package.json +1 -1
- package/tsconfig.json +2 -2
package/dist/react-tooltip.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ElementType, ReactNode, CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
-
|
|
2
|
+
import { Middleware } from '@floating-ui/dom';
|
|
3
|
+
export { Middleware, autoPlacement, flip, inline, offset, shift, size } from '@floating-ui/dom';
|
|
3
4
|
|
|
4
5
|
type PlacesType = 'top' | 'right' | 'bottom' | 'left'
|
|
5
6
|
|
|
@@ -13,8 +14,6 @@ type EventsType = 'hover' | 'click'
|
|
|
13
14
|
|
|
14
15
|
type PositionStrategy = 'absolute' | 'fixed'
|
|
15
16
|
|
|
16
|
-
type Middleware = Middleware
|
|
17
|
-
|
|
18
17
|
type DataAttribute =
|
|
19
18
|
| 'place'
|
|
20
19
|
| 'content'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-tooltip",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.1",
|
|
4
4
|
"description": "react tooltip component",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "node ./cli.js --env=development && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.dev.js --watch",
|
package/tsconfig.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"include": ["./global.d.ts", "./src/**/*.ts", "./src/**/*.js", "./src/**/*.tsx"],
|
|
3
|
-
"exclude": [],
|
|
3
|
+
"exclude": ["src/test/**/*"],
|
|
4
4
|
"compilerOptions": {
|
|
5
5
|
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
6
6
|
|
|
@@ -104,6 +104,6 @@
|
|
|
104
104
|
|
|
105
105
|
/* Completeness */
|
|
106
106
|
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
107
|
-
"skipLibCheck":
|
|
107
|
+
"skipLibCheck": false /* Skip type checking all .d.ts files. */
|
|
108
108
|
}
|
|
109
109
|
}
|