@datatechsolutions/ui 2.7.137 → 2.7.139

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
@@ -1234,8 +1234,14 @@ type GlassModalProps = {
1234
1234
  contentClassName?: string;
1235
1235
  /** z-index class (default "z-50"). Use "z-[160]" for modals on top of other modals. */
1236
1236
  zIndex?: string;
1237
- };
1238
- declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, zIndex, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1237
+ /** data-testid for the backdrop overlay */
1238
+ overlayTestId?: string;
1239
+ /** data-testid for the dialog panel */
1240
+ panelTestId?: string;
1241
+ /** aria-labelledby for the Dialog (connects to a heading id) */
1242
+ ariaLabelledBy?: string;
1243
+ };
1244
+ declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, zIndex, overlayTestId, panelTestId, ariaLabelledBy, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1239
1245
 
1240
1246
  declare function Text({ className, ...props }: React.ComponentPropsWithoutRef<'p'>): react_jsx_runtime.JSX.Element;
1241
1247
  declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -1234,8 +1234,14 @@ type GlassModalProps = {
1234
1234
  contentClassName?: string;
1235
1235
  /** z-index class (default "z-50"). Use "z-[160]" for modals on top of other modals. */
1236
1236
  zIndex?: string;
1237
- };
1238
- declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, zIndex, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1237
+ /** data-testid for the backdrop overlay */
1238
+ overlayTestId?: string;
1239
+ /** data-testid for the dialog panel */
1240
+ panelTestId?: string;
1241
+ /** aria-labelledby for the Dialog (connects to a heading id) */
1242
+ ariaLabelledBy?: string;
1243
+ };
1244
+ declare function GlassModal({ open, onClose, children, panelClassName, contentClassName, zIndex, overlayTestId, panelTestId, ariaLabelledBy, }: GlassModalProps): react_jsx_runtime.JSX.Element;
1239
1245
 
1240
1246
  declare function Text({ className, ...props }: React.ComponentPropsWithoutRef<'p'>): react_jsx_runtime.JSX.Element;
1241
1247
  declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element;