@abgov/react-components 6.11.0-dev.1 → 6.11.0-dev.3

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.
@@ -0,0 +1,26 @@
1
+ import { ReactNode } from 'react';
2
+ interface WCProps {
3
+ open?: boolean;
4
+ testid?: string;
5
+ heading?: string;
6
+ width?: string;
7
+ ref: React.RefObject<HTMLElement | null>;
8
+ }
9
+ declare module "react" {
10
+ namespace JSX {
11
+ interface IntrinsicElements {
12
+ "goa-push-drawer": WCProps & React.HTMLAttributes<HTMLElement>;
13
+ }
14
+ }
15
+ }
16
+ export interface GoabPushDrawerProps {
17
+ testid?: string;
18
+ open?: boolean;
19
+ heading?: string;
20
+ width?: string;
21
+ actions?: ReactNode | undefined;
22
+ children: ReactNode;
23
+ onClose: () => void;
24
+ }
25
+ export declare function GoabPushDrawer({ testid, open, heading, width, actions, children, onClose, }: GoabPushDrawerProps): import("react/jsx-runtime").JSX.Element;
26
+ export default GoabPushDrawer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "6.11.0-dev.1",
3
+ "version": "6.11.0-dev.3",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"