@yamada-ui/popover 0.2.21 → 0.3.0
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/{chunk-QRRK63WQ.mjs → chunk-7AHXIHWE.mjs} +2 -1
- package/dist/{chunk-UXUTGWX3.mjs → chunk-AZMTGSD5.mjs} +2 -1
- package/dist/{chunk-BDB7H6MX.mjs → chunk-IQVXY42J.mjs} +4 -3
- package/dist/{chunk-7CXPXQPJ.mjs → chunk-K3ECBLCR.mjs} +2 -1
- package/dist/{chunk-TR2LETAN.mjs → chunk-MYJEKZGT.mjs} +2 -1
- package/dist/{chunk-NUN32R3H.mjs → chunk-QEQLVQMN.mjs} +2 -1
- package/dist/{chunk-KGMMKS6D.mjs → chunk-UHBIA3E2.mjs} +3 -2
- package/dist/{chunk-ETSTEROO.mjs → chunk-Z5SS7LLL.mjs} +2 -0
- package/dist/index.js +3 -2
- package/dist/index.mjs +9 -8
- package/dist/popover-anchor.js +1 -0
- package/dist/popover-anchor.mjs +3 -2
- package/dist/popover-body.js +1 -0
- package/dist/popover-body.mjs +3 -2
- package/dist/popover-close-button.js +3 -2
- package/dist/popover-close-button.mjs +3 -2
- package/dist/popover-content.js +3 -2
- package/dist/popover-content.mjs +9 -8
- package/dist/popover-footer.js +1 -0
- package/dist/popover-footer.mjs +3 -2
- package/dist/popover-header.js +1 -0
- package/dist/popover-header.mjs +3 -2
- package/dist/popover-trigger.js +1 -0
- package/dist/popover-trigger.mjs +3 -2
- package/dist/popover.js +1 -0
- package/dist/popover.mjs +2 -1
- package/package.json +13 -10
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
"use client"
|
|
1
2
|
import {
|
|
2
3
|
usePopover
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z5SS7LLL.mjs";
|
|
4
5
|
|
|
5
6
|
// src/popover-close-button.tsx
|
|
6
7
|
import { CloseButton } from "@yamada-ui/close-button";
|
|
@@ -20,8 +21,8 @@ var PopoverCloseButton = forwardRef(
|
|
|
20
21
|
ref,
|
|
21
22
|
className: cx("ui-popover-close-button"),
|
|
22
23
|
__css: css,
|
|
23
|
-
onClick: handlerAll(onClick, (
|
|
24
|
-
|
|
24
|
+
onClick: handlerAll(onClick, (ev) => {
|
|
25
|
+
ev.stopPropagation();
|
|
25
26
|
onClose == null ? void 0 : onClose();
|
|
26
27
|
}),
|
|
27
28
|
size: "sm",
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client"
|
|
1
2
|
"use strict";
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -293,8 +294,8 @@ var PopoverCloseButton = (0, import_core2.forwardRef)(
|
|
|
293
294
|
ref,
|
|
294
295
|
className: (0, import_utils2.cx)("ui-popover-close-button"),
|
|
295
296
|
__css: css,
|
|
296
|
-
onClick: (0, import_utils2.handlerAll)(onClick, (
|
|
297
|
-
|
|
297
|
+
onClick: (0, import_utils2.handlerAll)(onClick, (ev) => {
|
|
298
|
+
ev.stopPropagation();
|
|
298
299
|
onClose == null ? void 0 : onClose();
|
|
299
300
|
}),
|
|
300
301
|
size: "sm",
|
package/dist/index.mjs
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
+
"use client"
|
|
1
2
|
import {
|
|
2
3
|
PopoverContent
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UHBIA3E2.mjs";
|
|
4
5
|
import {
|
|
5
6
|
PopoverAnchor
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZMTGSD5.mjs";
|
|
7
8
|
import {
|
|
8
9
|
PopoverBody
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K3ECBLCR.mjs";
|
|
10
11
|
import {
|
|
11
12
|
PopoverCloseButton
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IQVXY42J.mjs";
|
|
13
14
|
import {
|
|
14
15
|
PopoverFooter
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7AHXIHWE.mjs";
|
|
16
17
|
import {
|
|
17
18
|
PopoverHeader
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MYJEKZGT.mjs";
|
|
19
20
|
import {
|
|
20
21
|
PopoverTrigger
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QEQLVQMN.mjs";
|
|
22
23
|
import {
|
|
23
24
|
Popover
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z5SS7LLL.mjs";
|
|
25
26
|
export {
|
|
26
27
|
Popover,
|
|
27
28
|
PopoverAnchor,
|
package/dist/popover-anchor.js
CHANGED
package/dist/popover-anchor.mjs
CHANGED
package/dist/popover-body.js
CHANGED
package/dist/popover-body.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client"
|
|
1
2
|
"use strict";
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -56,8 +57,8 @@ var PopoverCloseButton = (0, import_core2.forwardRef)(
|
|
|
56
57
|
ref,
|
|
57
58
|
className: (0, import_utils2.cx)("ui-popover-close-button"),
|
|
58
59
|
__css: css,
|
|
59
|
-
onClick: (0, import_utils2.handlerAll)(onClick, (
|
|
60
|
-
|
|
60
|
+
onClick: (0, import_utils2.handlerAll)(onClick, (ev) => {
|
|
61
|
+
ev.stopPropagation();
|
|
61
62
|
onClose == null ? void 0 : onClose();
|
|
62
63
|
}),
|
|
63
64
|
size: "sm",
|
package/dist/popover-content.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client"
|
|
1
2
|
"use strict";
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -60,8 +61,8 @@ var PopoverCloseButton = (0, import_core2.forwardRef)(
|
|
|
60
61
|
ref,
|
|
61
62
|
className: (0, import_utils2.cx)("ui-popover-close-button"),
|
|
62
63
|
__css: css,
|
|
63
|
-
onClick: (0, import_utils2.handlerAll)(onClick, (
|
|
64
|
-
|
|
64
|
+
onClick: (0, import_utils2.handlerAll)(onClick, (ev) => {
|
|
65
|
+
ev.stopPropagation();
|
|
65
66
|
onClose == null ? void 0 : onClose();
|
|
66
67
|
}),
|
|
67
68
|
size: "sm",
|
package/dist/popover-content.mjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
"use client"
|
|
1
2
|
import {
|
|
2
3
|
PopoverContent
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-UHBIA3E2.mjs";
|
|
5
|
+
import "./chunk-AZMTGSD5.mjs";
|
|
6
|
+
import "./chunk-K3ECBLCR.mjs";
|
|
7
|
+
import "./chunk-IQVXY42J.mjs";
|
|
8
|
+
import "./chunk-7AHXIHWE.mjs";
|
|
9
|
+
import "./chunk-MYJEKZGT.mjs";
|
|
10
|
+
import "./chunk-QEQLVQMN.mjs";
|
|
11
|
+
import "./chunk-Z5SS7LLL.mjs";
|
|
11
12
|
export {
|
|
12
13
|
PopoverContent
|
|
13
14
|
};
|
package/dist/popover-footer.js
CHANGED
package/dist/popover-footer.mjs
CHANGED
package/dist/popover-header.js
CHANGED
package/dist/popover-header.mjs
CHANGED
package/dist/popover-trigger.js
CHANGED
package/dist/popover-trigger.mjs
CHANGED
package/dist/popover.js
CHANGED
package/dist/popover.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/popover",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Yamada UI popover component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@yamada-ui/core": "0.
|
|
38
|
+
"@yamada-ui/core": "0.9.0",
|
|
39
39
|
"@yamada-ui/utils": "0.2.0",
|
|
40
|
-
"@yamada-ui/close-button": "0.
|
|
41
|
-
"@yamada-ui/transitions": "0.
|
|
42
|
-
"@yamada-ui/motion": "0.
|
|
43
|
-
"@yamada-ui/use-popper": "0.
|
|
44
|
-
"@yamada-ui/use-disclosure": "0.
|
|
45
|
-
"@yamada-ui/use-focus": "0.
|
|
46
|
-
"@yamada-ui/use-animation": "0.
|
|
40
|
+
"@yamada-ui/close-button": "0.3.0",
|
|
41
|
+
"@yamada-ui/transitions": "0.3.0",
|
|
42
|
+
"@yamada-ui/motion": "0.4.0",
|
|
43
|
+
"@yamada-ui/use-popper": "0.4.0",
|
|
44
|
+
"@yamada-ui/use-disclosure": "0.3.0",
|
|
45
|
+
"@yamada-ui/use-focus": "0.2.0",
|
|
46
|
+
"@yamada-ui/use-animation": "0.3.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"react": "^18.0.0",
|
|
@@ -59,7 +59,10 @@
|
|
|
59
59
|
"format": [
|
|
60
60
|
"cjs",
|
|
61
61
|
"esm"
|
|
62
|
-
]
|
|
62
|
+
],
|
|
63
|
+
"banner": {
|
|
64
|
+
"js": "\"use client\""
|
|
65
|
+
}
|
|
63
66
|
},
|
|
64
67
|
"module": "dist/index.mjs",
|
|
65
68
|
"types": "dist/index.d.ts",
|