ados-rcm 1.0.495 → 1.0.496

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
1
  /// <reference types="react" />
2
2
  import { TCanCallback } from '../../AUtils/cbF';
3
3
  import { EDir12, IOffset, TActionRef } from '../ATypes/ATypes';
4
+ import { TUseValues } from '../../AHooks/useValues';
4
5
  export interface IAFloatMenuActions {
5
6
  /**
6
7
  * open : () => void
@@ -71,6 +72,12 @@ export interface IAFloatMenuProps<T> {
71
72
  * Description : defaultDef of AFloatMenu. it will affect all defs.
72
73
  */
73
74
  defaultDef?: IAFloatMenuDef<T>;
75
+ /**
76
+ * useIsOpen? : TUseValues<boolean>
77
+ *
78
+ * Description : useIsOpen of AFloatMenu
79
+ */
80
+ useIsOpen?: TUseValues<boolean>;
74
81
  /**
75
82
  * anchorElem : HTMLElement | null
76
83
  *
@@ -89,12 +96,6 @@ export interface IAFloatMenuProps<T> {
89
96
  * Description : onClick of AFloatMenu
90
97
  */
91
98
  onClick?: (key: keyof T) => any;
92
- /**
93
- * onClose? : () => void
94
- *
95
- * Description : onClose of AFloatMenu
96
- */
97
- onClose?: () => void;
98
99
  /**
99
100
  * offset? : IOffset
100
101
  *