@entur/tooltip 5.2.13-beta.0 → 5.2.13-beta.10
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/Popover.d.ts +33 -0
- package/dist/Tooltip.d.ts +62 -0
- package/dist/index.d.ts +4 -108
- package/dist/index.js +8 -0
- package/dist/styles.css +679 -613
- package/dist/tooltip.cjs.development.js +347 -0
- package/dist/tooltip.cjs.development.js.map +1 -0
- package/dist/tooltip.cjs.production.min.js +2 -0
- package/dist/tooltip.cjs.production.min.js.map +1 -0
- package/dist/tooltip.esm.js +300 -3871
- package/dist/tooltip.esm.js.map +1 -1
- package/dist/utils.d.ts +3 -0
- package/package.json +16 -34
- package/dist/tooltip.cjs.js +0 -3926
- package/dist/tooltip.cjs.js.map +0 -1
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Placement as FloatingUIPlacement } from '@floating-ui/react-dom';
|
|
2
|
+
export type Placement = 'top' | 'top-left' | 'top-start' | 'top-right' | 'top-end' | 'left' | 'right' | 'bottom-left' | 'bottom-start' | 'bottom' | 'bottom-right' | 'bottom-end';
|
|
3
|
+
export declare function standardisePlacement(placement: string): FloatingUIPlacement;
|
package/package.json
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/tooltip",
|
|
3
|
-
"version": "5.2.13-beta.
|
|
3
|
+
"version": "5.2.13-beta.10",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"main": "dist/
|
|
5
|
+
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/tooltip.esm.js",
|
|
7
7
|
"typings": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/tooltip.esm.js",
|
|
12
|
-
"require": "./dist/tooltip.cjs.js"
|
|
13
|
-
},
|
|
14
|
-
"./dist/*": "./dist/*"
|
|
15
|
-
},
|
|
16
8
|
"files": [
|
|
17
9
|
"dist"
|
|
18
10
|
],
|
|
@@ -25,37 +17,27 @@
|
|
|
25
17
|
"access": "public"
|
|
26
18
|
},
|
|
27
19
|
"scripts": {
|
|
28
|
-
"start": "
|
|
29
|
-
"build": "
|
|
30
|
-
"test": "
|
|
31
|
-
"lint": "
|
|
20
|
+
"start": "dts watch --noClean",
|
|
21
|
+
"build": "dts build",
|
|
22
|
+
"test": "dts test",
|
|
23
|
+
"lint": "dts lint src"
|
|
32
24
|
},
|
|
33
25
|
"peerDependencies": {
|
|
34
26
|
"react": ">=16.8.0",
|
|
35
27
|
"react-dom": ">=16.8.0"
|
|
36
28
|
},
|
|
37
29
|
"dependencies": {
|
|
38
|
-
"@entur/button": "^3.3.13-beta.
|
|
39
|
-
"@entur/icons": "^8.0.
|
|
40
|
-
"@entur/layout": "^3.1.9-beta.
|
|
41
|
-
"@entur/tokens": "^3.19.
|
|
42
|
-
"@entur/utils": "^0.12.
|
|
43
|
-
"@floating-ui/react": "^0.26.
|
|
44
|
-
"@floating-ui/react-dom": "^2.1.
|
|
45
|
-
"classnames": "^2.
|
|
30
|
+
"@entur/button": "^3.3.13-beta.10",
|
|
31
|
+
"@entur/icons": "^8.0.0",
|
|
32
|
+
"@entur/layout": "^3.1.9-beta.10",
|
|
33
|
+
"@entur/tokens": "^3.19.1",
|
|
34
|
+
"@entur/utils": "^0.12.3",
|
|
35
|
+
"@floating-ui/react": "^0.26.24",
|
|
36
|
+
"@floating-ui/react-dom": "^2.1.0",
|
|
37
|
+
"classnames": "^2.3.1"
|
|
46
38
|
},
|
|
47
39
|
"devDependencies": {
|
|
48
|
-
"
|
|
49
|
-
"@testing-library/react": "^10.4.9",
|
|
50
|
-
"@testing-library/user-event": "14.6.1",
|
|
51
|
-
"@vitejs/plugin-react": "^5.0.1",
|
|
52
|
-
"eslint": "^7.32.0",
|
|
53
|
-
"jest": "^29.0.0",
|
|
54
|
-
"jest-environment-jsdom": "^29.0.0",
|
|
55
|
-
"ts-jest": "^29.0.0",
|
|
56
|
-
"typescript": "^5.9.2",
|
|
57
|
-
"vite": "^7.1.3",
|
|
58
|
-
"vite-plugin-dts": "^4.5.4"
|
|
40
|
+
"dts-cli": "2.0.5"
|
|
59
41
|
},
|
|
60
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "180506f42d45f01bf4129fa538e414379735a4b4"
|
|
61
43
|
}
|