ados-rcm 1.0.82 → 1.0.84

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.
@@ -213,22 +213,11 @@ export interface IADialogProps {
213
213
  export declare const ADialog: (props: IADialogProps) => React.ReactPortal;
214
214
  export interface IADialogState {
215
215
  isOpen: boolean;
216
+ setIsOpen: (isOpen: boolean) => void;
216
217
  open: () => void;
217
218
  onClose: () => void;
218
219
  }
219
- export type TADialogStates<T extends string> = {
220
- [key in T]: IADialogState;
221
- };
222
- export declare const useADialogStates: <T extends string>(dlgNames: readonly T[]) => TADialogStates<T>;
223
- export type TADialogActionRefs<T extends string> = {
224
- [key in T]: TActionRef<IADialogActions>;
225
- };
226
- /**
227
- * useADialogActionRefs
228
- *
229
- * Description : useADialogActionRefs is a hook that creates actionRefs for dialogs. dlgNames SHOULD NOT BE CHANGED on runtime
230
- */
231
- export declare const useADialogActionRefs: <T extends string>(dlgNames: readonly T[]) => TADialogActionRefs<T>;
220
+ export declare const useADialogState: () => IADialogState;
232
221
  export interface IADialogFrameProps {
233
222
  /**
234
223
  * dlgState : IADialogState
@@ -238,11 +227,8 @@ export interface IADialogFrameProps {
238
227
  */
239
228
  dlgState: IADialogState;
240
229
  /**
241
- * children : React.ReactNode
230
+ * children : React.ReactElement
242
231
  */
243
- children: React.ReactNode;
244
- }
245
- export interface IADialogFrameChildren {
246
- dlgState: IADialogState;
232
+ children: React.ReactElement;
247
233
  }
248
- export declare const ADialogFrame: (props: IADialogFrameProps) => import("react/jsx-runtime").JSX.Element | null;
234
+ export declare const ADialogFrame: (props: IADialogFrameProps) => import("react/jsx-runtime").JSX.Element;