@abgov/react-components 4.0.0-alpha.160 → 4.0.0-alpha.162
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/index.d.ts +2 -0
- package/lib/sidebar/sidebar.d.ts +13 -0
- package/lib/sidebar-group/sidebar-group.d.ts +17 -0
- package/package.json +1 -1
- package/react-components.esm.js +112 -89
- package/react-components.umd.js +113 -88
package/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import "@abgov/web-components";
|
|
2
|
+
export * from "./lib/sidebar-group/sidebar-group";
|
|
3
|
+
export * from "./lib/sidebar/sidebar";
|
|
2
4
|
export * from "./lib/pages/pages";
|
|
3
5
|
export * from "./lib/file-upload-card/file-upload-card";
|
|
4
6
|
export * from "./lib/file-upload-input/file-upload-input";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
"goa-sidebar": React.HTMLAttributes<HTMLElement>;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export interface SidebarProps {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function GoASidebar(props: SidebarProps): JSX.Element;
|
|
13
|
+
export default GoASidebar;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
interface WCProps {
|
|
3
|
+
heading: string;
|
|
4
|
+
}
|
|
5
|
+
declare global {
|
|
6
|
+
namespace JSX {
|
|
7
|
+
interface IntrinsicElements {
|
|
8
|
+
"goa-sidebar-group": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
interface SidebarGroupProps {
|
|
13
|
+
heading: string;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare function GoASidebarGroup(props: SidebarGroupProps): JSX.Element;
|
|
17
|
+
export default GoASidebarGroup;
|
package/package.json
CHANGED