@destyler/tooltip 0.0.7-beta.9 → 0.2.0-beta.5

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.
@@ -364,8 +364,7 @@ function machine(userContext) {
364
364
  if (!ctx$1.closeOnScroll) return;
365
365
  const triggerEl = dom.getTriggerEl(ctx$1);
366
366
  if (!triggerEl) return;
367
- const overflowParents = getOverflowAncestors(triggerEl);
368
- const cleanups = overflowParents.map((overflowParent) => {
367
+ const cleanups = getOverflowAncestors(triggerEl).map((overflowParent) => {
369
368
  const onScroll = () => {
370
369
  send({
371
370
  type: "CLOSE",
package/package.json CHANGED
@@ -1,28 +1,37 @@
1
1
  {
2
2
  "name": "@destyler/tooltip",
3
3
  "type": "module",
4
- "version": "0.0.7-beta.9",
4
+ "version": "0.2.0-beta.5",
5
5
  "description": "A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.",
6
6
  "author": "Elone Hoo <elonehoo@gmail.com>",
7
7
  "license": "MIT",
8
+ "homepage": "https://github.com/destyler/destyler",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/destyler/destyler.git",
12
+ "directory": "packages/components/tooltip"
13
+ },
8
14
  "exports": {
9
- ".": "./dist/index.js"
15
+ ".": "./dist/index.mjs"
10
16
  },
11
- "main": "dist/index.js",
12
- "module": "dist/index.js",
13
- "types": "dist/index.d.ts",
17
+ "main": "dist/index.mjs",
18
+ "module": "dist/index.mjs",
19
+ "types": "dist/index.d.mts",
14
20
  "files": [
15
21
  "*.d.ts",
16
22
  "dist"
17
23
  ],
18
24
  "dependencies": {
19
- "@destyler/anatomy": "0.0.7-beta.9",
20
- "@destyler/focus-visible": "0.0.7-beta.9",
21
- "@destyler/dom": "0.0.7-beta.9",
22
- "@destyler/popper": "0.0.7-beta.9",
23
- "@destyler/types": "0.0.7-beta.9",
24
- "@destyler/utils": "0.0.7-beta.9",
25
- "@destyler/xstate": "0.0.7-beta.9"
25
+ "@destyler/anatomy": "0.2.0-beta.5",
26
+ "@destyler/dom": "0.2.0-beta.5",
27
+ "@destyler/focus-visible": "0.2.0-beta.5",
28
+ "@destyler/types": "0.2.0-beta.5",
29
+ "@destyler/utils": "0.2.0-beta.5",
30
+ "@destyler/popper": "0.2.0-beta.5",
31
+ "@destyler/xstate": "0.2.0-beta.5"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
26
35
  },
27
36
  "scripts": {
28
37
  "clear": "rimraf ./dist",
File without changes