ados-rcm 1.0.494 → 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
@@ -72,11 +73,17 @@ export interface IAFloatMenuProps<T> {
72
73
  */
73
74
  defaultDef?: IAFloatMenuDef<T>;
74
75
  /**
75
- * anchorElem : HTMLElement
76
+ * useIsOpen? : TUseValues<boolean>
77
+ *
78
+ * Description : useIsOpen of AFloatMenu
79
+ */
80
+ useIsOpen?: TUseValues<boolean>;
81
+ /**
82
+ * anchorElem : HTMLElement | null
76
83
  *
77
84
  * Description : anchorElem of AFloatMenu
78
85
  */
79
- anchorElem: HTMLElement;
86
+ anchorElem: HTMLElement | null;
80
87
  /**
81
88
  * position? : EDir12 = EDir12.ES
82
89
  *
@@ -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
  *