@yamada-ui/popover 0.2.4 → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePopover
3
- } from "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-MTV2U3J2.mjs";
4
4
 
5
5
  // src/popover-body.tsx
6
6
  import { ui, forwardRef } from "@yamada-ui/core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePopover
3
- } from "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-MTV2U3J2.mjs";
4
4
 
5
5
  // src/popover-header.tsx
6
6
  import { ui, forwardRef } from "@yamada-ui/core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePopover
3
- } from "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-MTV2U3J2.mjs";
4
4
 
5
5
  // src/popover-trigger.tsx
6
6
  import { Children, cloneElement } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePopover
3
- } from "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-MTV2U3J2.mjs";
4
4
 
5
5
  // src/popover-close-button.tsx
6
6
  import { CloseButton } from "@yamada-ui/close-button";
@@ -37,7 +37,7 @@ var Popover = (props) => {
37
37
  duration,
38
38
  ...rest
39
39
  } = omitThemeProps(mergedProps);
40
- const [isOpen, onOpen, onClose, onToggle] = useDisclosure(mergedProps);
40
+ const { isOpen, onOpen, onClose, onToggle } = useDisclosure(mergedProps);
41
41
  const anchorRef = useRef(null);
42
42
  const triggerRef = useRef(null);
43
43
  const popoverRef = useRef(null);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePopover
3
- } from "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-MTV2U3J2.mjs";
4
4
 
5
5
  // src/popover-anchor.tsx
6
6
  import { Children, cloneElement } from "react";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PopoverCloseButton
3
- } from "./chunk-MRA7DCWU.mjs";
3
+ } from "./chunk-FATHV76U.mjs";
4
4
  import {
5
5
  usePopover
6
- } from "./chunk-DQEXAU5O.mjs";
6
+ } from "./chunk-MTV2U3J2.mjs";
7
7
 
8
8
  // src/popover-content.tsx
9
9
  import { ui, forwardRef } from "@yamada-ui/core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePopover
3
- } from "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-MTV2U3J2.mjs";
4
4
 
5
5
  // src/popover-footer.tsx
6
6
  import { ui, forwardRef } from "@yamada-ui/core";
package/dist/index.js CHANGED
@@ -63,7 +63,7 @@ var Popover = (props) => {
63
63
  duration,
64
64
  ...rest
65
65
  } = (0, import_core.omitThemeProps)(mergedProps);
66
- const [isOpen, onOpen, onClose, onToggle] = (0, import_use_disclosure.useDisclosure)(mergedProps);
66
+ const { isOpen, onOpen, onClose, onToggle } = (0, import_use_disclosure.useDisclosure)(mergedProps);
67
67
  const anchorRef = (0, import_react.useRef)(null);
68
68
  const triggerRef = (0, import_react.useRef)(null);
69
69
  const popoverRef = (0, import_react.useRef)(null);
package/dist/index.mjs CHANGED
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  PopoverContent
3
- } from "./chunk-LPYOVPSE.mjs";
3
+ } from "./chunk-TKSIF3VR.mjs";
4
4
  import {
5
5
  PopoverAnchor
6
- } from "./chunk-TUH3DDWH.mjs";
6
+ } from "./chunk-QT5ZKMKL.mjs";
7
7
  import {
8
8
  PopoverBody
9
- } from "./chunk-2NALYFOE.mjs";
9
+ } from "./chunk-3DUCJBT6.mjs";
10
10
  import {
11
11
  PopoverCloseButton
12
- } from "./chunk-MRA7DCWU.mjs";
12
+ } from "./chunk-FATHV76U.mjs";
13
13
  import {
14
14
  PopoverFooter
15
- } from "./chunk-PGWQGH7T.mjs";
15
+ } from "./chunk-ZH43FBXY.mjs";
16
16
  import {
17
17
  PopoverHeader
18
- } from "./chunk-YLDMHQCU.mjs";
18
+ } from "./chunk-3ZBBCVWN.mjs";
19
19
  import {
20
20
  PopoverTrigger
21
- } from "./chunk-TEP6TGUO.mjs";
21
+ } from "./chunk-DUC7O5IU.mjs";
22
22
  import {
23
23
  Popover
24
- } from "./chunk-DQEXAU5O.mjs";
24
+ } from "./chunk-MTV2U3J2.mjs";
25
25
  export {
26
26
  Popover,
27
27
  PopoverAnchor,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PopoverAnchor
3
- } from "./chunk-TUH3DDWH.mjs";
4
- import "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-QT5ZKMKL.mjs";
4
+ import "./chunk-MTV2U3J2.mjs";
5
5
  export {
6
6
  PopoverAnchor
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PopoverBody
3
- } from "./chunk-2NALYFOE.mjs";
4
- import "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-3DUCJBT6.mjs";
4
+ import "./chunk-MTV2U3J2.mjs";
5
5
  export {
6
6
  PopoverBody
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PopoverCloseButton
3
- } from "./chunk-MRA7DCWU.mjs";
4
- import "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-FATHV76U.mjs";
4
+ import "./chunk-MTV2U3J2.mjs";
5
5
  export {
6
6
  PopoverCloseButton
7
7
  };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  PopoverContent
3
- } from "./chunk-LPYOVPSE.mjs";
4
- import "./chunk-TUH3DDWH.mjs";
5
- import "./chunk-2NALYFOE.mjs";
6
- import "./chunk-MRA7DCWU.mjs";
7
- import "./chunk-PGWQGH7T.mjs";
8
- import "./chunk-YLDMHQCU.mjs";
9
- import "./chunk-TEP6TGUO.mjs";
10
- import "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-TKSIF3VR.mjs";
4
+ import "./chunk-QT5ZKMKL.mjs";
5
+ import "./chunk-3DUCJBT6.mjs";
6
+ import "./chunk-FATHV76U.mjs";
7
+ import "./chunk-ZH43FBXY.mjs";
8
+ import "./chunk-3ZBBCVWN.mjs";
9
+ import "./chunk-DUC7O5IU.mjs";
10
+ import "./chunk-MTV2U3J2.mjs";
11
11
  export {
12
12
  PopoverContent
13
13
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PopoverFooter
3
- } from "./chunk-PGWQGH7T.mjs";
4
- import "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-ZH43FBXY.mjs";
4
+ import "./chunk-MTV2U3J2.mjs";
5
5
  export {
6
6
  PopoverFooter
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PopoverHeader
3
- } from "./chunk-YLDMHQCU.mjs";
4
- import "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-3ZBBCVWN.mjs";
4
+ import "./chunk-MTV2U3J2.mjs";
5
5
  export {
6
6
  PopoverHeader
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PopoverTrigger
3
- } from "./chunk-TEP6TGUO.mjs";
4
- import "./chunk-DQEXAU5O.mjs";
3
+ } from "./chunk-DUC7O5IU.mjs";
4
+ import "./chunk-MTV2U3J2.mjs";
5
5
  export {
6
6
  PopoverTrigger
7
7
  };
package/dist/popover.js CHANGED
@@ -55,7 +55,7 @@ var Popover = (props) => {
55
55
  duration,
56
56
  ...rest
57
57
  } = (0, import_core.omitThemeProps)(mergedProps);
58
- const [isOpen, onOpen, onClose, onToggle] = (0, import_use_disclosure.useDisclosure)(mergedProps);
58
+ const { isOpen, onOpen, onClose, onToggle } = (0, import_use_disclosure.useDisclosure)(mergedProps);
59
59
  const anchorRef = (0, import_react.useRef)(null);
60
60
  const triggerRef = (0, import_react.useRef)(null);
61
61
  const popoverRef = (0, import_react.useRef)(null);
package/dist/popover.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Popover,
3
3
  usePopover
4
- } from "./chunk-DQEXAU5O.mjs";
4
+ } from "./chunk-MTV2U3J2.mjs";
5
5
  export {
6
6
  Popover,
7
7
  usePopover
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/popover",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Yamada UI popover component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -41,7 +41,7 @@
41
41
  "@yamada-ui/transitions": "0.2.3",
42
42
  "@yamada-ui/motion": "0.3.0",
43
43
  "@yamada-ui/use-popper": "0.2.2",
44
- "@yamada-ui/use-disclosure": "0.2.1",
44
+ "@yamada-ui/use-disclosure": "0.2.2",
45
45
  "@yamada-ui/use-focus": "0.1.1",
46
46
  "@yamada-ui/use-animation": "0.1.14"
47
47
  },