@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.
@@ -1,6 +1,7 @@
1
+ "use client"
1
2
  import {
2
3
  usePopover
3
- } from "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-Z5SS7LLL.mjs";
4
5
 
5
6
  // src/popover-footer.tsx
6
7
  import { ui, forwardRef } from "@yamada-ui/core";
@@ -1,6 +1,7 @@
1
+ "use client"
1
2
  import {
2
3
  usePopover
3
- } from "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-Z5SS7LLL.mjs";
4
5
 
5
6
  // src/popover-anchor.tsx
6
7
  import {
@@ -1,6 +1,7 @@
1
+ "use client"
1
2
  import {
2
3
  usePopover
3
- } from "./chunk-ETSTEROO.mjs";
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, (event) => {
24
- event.stopPropagation();
24
+ onClick: handlerAll(onClick, (ev) => {
25
+ ev.stopPropagation();
25
26
  onClose == null ? void 0 : onClose();
26
27
  }),
27
28
  size: "sm",
@@ -1,6 +1,7 @@
1
+ "use client"
1
2
  import {
2
3
  usePopover
3
- } from "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-Z5SS7LLL.mjs";
4
5
 
5
6
  // src/popover-body.tsx
6
7
  import { ui, forwardRef } from "@yamada-ui/core";
@@ -1,6 +1,7 @@
1
+ "use client"
1
2
  import {
2
3
  usePopover
3
- } from "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-Z5SS7LLL.mjs";
4
5
 
5
6
  // src/popover-header.tsx
6
7
  import { ui, forwardRef } from "@yamada-ui/core";
@@ -1,6 +1,7 @@
1
+ "use client"
1
2
  import {
2
3
  usePopover
3
- } from "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-Z5SS7LLL.mjs";
4
5
 
5
6
  // src/popover-trigger.tsx
6
7
  import {
@@ -1,9 +1,10 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverCloseButton
3
- } from "./chunk-BDB7H6MX.mjs";
4
+ } from "./chunk-IQVXY42J.mjs";
4
5
  import {
5
6
  usePopover
6
- } from "./chunk-ETSTEROO.mjs";
7
+ } from "./chunk-Z5SS7LLL.mjs";
7
8
 
8
9
  // src/popover-content.tsx
9
10
  import {
@@ -1,3 +1,5 @@
1
+ "use client"
2
+
1
3
  // src/popover.tsx
2
4
  import {
3
5
  useMultiComponentStyle,
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, (event) => {
297
- event.stopPropagation();
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-KGMMKS6D.mjs";
4
+ } from "./chunk-UHBIA3E2.mjs";
4
5
  import {
5
6
  PopoverAnchor
6
- } from "./chunk-UXUTGWX3.mjs";
7
+ } from "./chunk-AZMTGSD5.mjs";
7
8
  import {
8
9
  PopoverBody
9
- } from "./chunk-7CXPXQPJ.mjs";
10
+ } from "./chunk-K3ECBLCR.mjs";
10
11
  import {
11
12
  PopoverCloseButton
12
- } from "./chunk-BDB7H6MX.mjs";
13
+ } from "./chunk-IQVXY42J.mjs";
13
14
  import {
14
15
  PopoverFooter
15
- } from "./chunk-QRRK63WQ.mjs";
16
+ } from "./chunk-7AHXIHWE.mjs";
16
17
  import {
17
18
  PopoverHeader
18
- } from "./chunk-TR2LETAN.mjs";
19
+ } from "./chunk-MYJEKZGT.mjs";
19
20
  import {
20
21
  PopoverTrigger
21
- } from "./chunk-NUN32R3H.mjs";
22
+ } from "./chunk-QEQLVQMN.mjs";
22
23
  import {
23
24
  Popover
24
- } from "./chunk-ETSTEROO.mjs";
25
+ } from "./chunk-Z5SS7LLL.mjs";
25
26
  export {
26
27
  Popover,
27
28
  PopoverAnchor,
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,7 +1,8 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverAnchor
3
- } from "./chunk-UXUTGWX3.mjs";
4
- import "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-AZMTGSD5.mjs";
5
+ import "./chunk-Z5SS7LLL.mjs";
5
6
  export {
6
7
  PopoverAnchor
7
8
  };
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,7 +1,8 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverBody
3
- } from "./chunk-7CXPXQPJ.mjs";
4
- import "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-K3ECBLCR.mjs";
5
+ import "./chunk-Z5SS7LLL.mjs";
5
6
  export {
6
7
  PopoverBody
7
8
  };
@@ -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, (event) => {
60
- event.stopPropagation();
60
+ onClick: (0, import_utils2.handlerAll)(onClick, (ev) => {
61
+ ev.stopPropagation();
61
62
  onClose == null ? void 0 : onClose();
62
63
  }),
63
64
  size: "sm",
@@ -1,7 +1,8 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverCloseButton
3
- } from "./chunk-BDB7H6MX.mjs";
4
- import "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-IQVXY42J.mjs";
5
+ import "./chunk-Z5SS7LLL.mjs";
5
6
  export {
6
7
  PopoverCloseButton
7
8
  };
@@ -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, (event) => {
64
- event.stopPropagation();
64
+ onClick: (0, import_utils2.handlerAll)(onClick, (ev) => {
65
+ ev.stopPropagation();
65
66
  onClose == null ? void 0 : onClose();
66
67
  }),
67
68
  size: "sm",
@@ -1,13 +1,14 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverContent
3
- } from "./chunk-KGMMKS6D.mjs";
4
- import "./chunk-UXUTGWX3.mjs";
5
- import "./chunk-7CXPXQPJ.mjs";
6
- import "./chunk-BDB7H6MX.mjs";
7
- import "./chunk-QRRK63WQ.mjs";
8
- import "./chunk-TR2LETAN.mjs";
9
- import "./chunk-NUN32R3H.mjs";
10
- import "./chunk-ETSTEROO.mjs";
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
  };
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,7 +1,8 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverFooter
3
- } from "./chunk-QRRK63WQ.mjs";
4
- import "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-7AHXIHWE.mjs";
5
+ import "./chunk-Z5SS7LLL.mjs";
5
6
  export {
6
7
  PopoverFooter
7
8
  };
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,7 +1,8 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverHeader
3
- } from "./chunk-TR2LETAN.mjs";
4
- import "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-MYJEKZGT.mjs";
5
+ import "./chunk-Z5SS7LLL.mjs";
5
6
  export {
6
7
  PopoverHeader
7
8
  };
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,7 +1,8 @@
1
+ "use client"
1
2
  import {
2
3
  PopoverTrigger
3
- } from "./chunk-NUN32R3H.mjs";
4
- import "./chunk-ETSTEROO.mjs";
4
+ } from "./chunk-QEQLVQMN.mjs";
5
+ import "./chunk-Z5SS7LLL.mjs";
5
6
  export {
6
7
  PopoverTrigger
7
8
  };
package/dist/popover.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;
package/dist/popover.mjs CHANGED
@@ -1,7 +1,8 @@
1
+ "use client"
1
2
  import {
2
3
  Popover,
3
4
  usePopover
4
- } from "./chunk-ETSTEROO.mjs";
5
+ } from "./chunk-Z5SS7LLL.mjs";
5
6
  export {
6
7
  Popover,
7
8
  usePopover
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/popover",
3
- "version": "0.2.21",
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.8.0",
38
+ "@yamada-ui/core": "0.9.0",
39
39
  "@yamada-ui/utils": "0.2.0",
40
- "@yamada-ui/close-button": "0.2.17",
41
- "@yamada-ui/transitions": "0.2.18",
42
- "@yamada-ui/motion": "0.3.15",
43
- "@yamada-ui/use-popper": "0.3.7",
44
- "@yamada-ui/use-disclosure": "0.2.7",
45
- "@yamada-ui/use-focus": "0.1.6",
46
- "@yamada-ui/use-animation": "0.2.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",