reykit 1.0.93 → 1.0.95

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.
@@ -12,7 +12,7 @@ import { ReactNode, ComponentProps } from 'react';
12
12
  export declare function IconToggle({ openIcon, closeIcon, handleOpen, defaultOpen, rotate, listenOpen, className, onClick, ...props }: {
13
13
  openIcon: ReactNode;
14
14
  closeIcon: ReactNode;
15
- handleOpen: (open: boolean) => any | Promise<any>;
15
+ handleOpen: (newOpen: boolean) => any | Promise<any>;
16
16
  defaultOpen?: boolean;
17
17
  rotate?: boolean;
18
18
  listenOpen?: boolean;
package/dist/index.js CHANGED
@@ -27957,7 +27957,7 @@ function qA({
27957
27957
  closeIcon: U,
27958
27958
  handleOpen: j,
27959
27959
  defaultOpen: T = !0,
27960
- rotate: J = !0,
27960
+ rotate: J = !1,
27961
27961
  listenOpen: P,
27962
27962
  className: At,
27963
27963
  onClick: K,
@@ -27971,7 +27971,7 @@ function qA({
27971
27971
  [P]
27972
27972
  );
27973
27973
  const ot = async (Ct) => {
27974
- K && K(Ct), await j(Qt), Fe();
27974
+ K && K(Ct), await j(!Qt), Fe();
27975
27975
  };
27976
27976
  return /* @__PURE__ */ ue.jsxs(
27977
27977
  "button",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reykit",
3
- "version": "1.0.93",
3
+ "version": "1.0.95",
4
4
  "description": "Kit method set.",
5
5
  "author": "reyxbo",
6
6
  "keywords": [