@datatechsolutions/ui 2.7.135 → 2.7.136

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.
package/dist/index.d.mts CHANGED
@@ -1232,8 +1232,10 @@ type GlassModalProps = {
1232
1232
  children: ReactNode;
1233
1233
  panelClassName?: string;
1234
1234
  contentClassName?: string;
1235
+ /** z-index class (default "z-50"). Use "z-[160]" for modals on top of other modals. */
1236
+ zIndex?: string;
1235
1237
  };
1236
- declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1238
+ declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, zIndex, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1237
1239
 
1238
1240
  declare function Text({ className, ...props }: React.ComponentPropsWithoutRef<'p'>): react_jsx_runtime.JSX.Element;
1239
1241
  declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element;
@@ -1397,8 +1399,10 @@ interface GlassModalShellProps {
1397
1399
  closeLabel?: string;
1398
1400
  /** Extra class on the panel */
1399
1401
  className?: string;
1402
+ /** z-index class for nested modals (default "z-50", use "z-[160]" for modals on top of modals) */
1403
+ zIndex?: string;
1400
1404
  }
1401
- declare function GlassModalShell({ open, onClose, gradient, icon, label, title, subtitle, headerActions, children, footer, onSubmit, maxWidth, closeLabel, className, }: GlassModalShellProps): react_jsx_runtime.JSX.Element;
1405
+ declare function GlassModalShell({ open, onClose, gradient, icon, label, title, subtitle, headerActions, children, footer, onSubmit, maxWidth, closeLabel, className, zIndex, }: GlassModalShellProps): react_jsx_runtime.JSX.Element;
1402
1406
 
1403
1407
  interface FormModalProps {
1404
1408
  open: boolean;
package/dist/index.d.ts CHANGED
@@ -1232,8 +1232,10 @@ type GlassModalProps = {
1232
1232
  children: ReactNode;
1233
1233
  panelClassName?: string;
1234
1234
  contentClassName?: string;
1235
+ /** z-index class (default "z-50"). Use "z-[160]" for modals on top of other modals. */
1236
+ zIndex?: string;
1235
1237
  };
1236
- declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1238
+ declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, zIndex, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1237
1239
 
1238
1240
  declare function Text({ className, ...props }: React.ComponentPropsWithoutRef<'p'>): react_jsx_runtime.JSX.Element;
1239
1241
  declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element;
@@ -1397,8 +1399,10 @@ interface GlassModalShellProps {
1397
1399
  closeLabel?: string;
1398
1400
  /** Extra class on the panel */
1399
1401
  className?: string;
1402
+ /** z-index class for nested modals (default "z-50", use "z-[160]" for modals on top of modals) */
1403
+ zIndex?: string;
1400
1404
  }
1401
- declare function GlassModalShell({ open, onClose, gradient, icon, label, title, subtitle, headerActions, children, footer, onSubmit, maxWidth, closeLabel, className, }: GlassModalShellProps): react_jsx_runtime.JSX.Element;
1405
+ declare function GlassModalShell({ open, onClose, gradient, icon, label, title, subtitle, headerActions, children, footer, onSubmit, maxWidth, closeLabel, className, zIndex, }: GlassModalShellProps): react_jsx_runtime.JSX.Element;
1402
1406
 
1403
1407
  interface FormModalProps {
1404
1408
  open: boolean;