@compill/admin 1.0.49 → 1.0.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compill/admin",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "module": "./index.esm.js",
5
5
  "main": "./index.cjs.js"
6
6
  }
package/src/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export * from "./lib/json/types/QueryWrapperDialog";
17
17
  export * from "./lib/json/types/MultiQueryWrapper";
18
18
  export * from "./lib/json/ScreenRenderer";
19
19
  export * from "./lib/layout/AdminLayout";
20
+ export { MenuConfig } from "./lib/layout/Menu";
20
21
  export * from "./lib/modal/AttachDialog";
21
22
  export * from "./lib/modal/FormActionDialog";
22
23
  export * from "./lib/modal/ItemEditDialog";
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { IconButtonProps } from "@valerya/ui";
3
- interface InvalidateButtonProps extends Omit<IconButtonProps, "icon"> {
2
+ import { ButtonBarButtonProps } from "../layout/ButtonBar";
3
+ interface InvalidateButtonProps extends ButtonBarButtonProps {
4
4
  pathOrPermalink: string;
5
5
  }
6
6
  export declare function InvalidateButton({ pathOrPermalink, ...props }: InvalidateButtonProps): JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare function RefreshButton({ queryKey }: {
3
+ queryKey: string[];
4
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ParentComponent, SoperioComponent } from "@soperio/react";
3
+ import { ButtonProps } from "@valerya/ui";
4
+ export declare function ButtonBar({ children, ...props }: ParentComponent & SoperioComponent): JSX.Element;
5
+ export type ButtonBarButtonProps = {
6
+ icon?: string;
7
+ } & ButtonProps;
8
+ export declare function ButtonBarButton({ icon, children, ...props }: ButtonBarButtonProps): JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ParentComponent, SoperioComponent } from "@soperio/react";
3
+ interface TableTopBarProps extends SoperioComponent, ParentComponent {
4
+ title?: string;
5
+ }
6
+ export declare function PageTitleBar({ title, children, ...props }: TableTopBarProps): JSX.Element;
7
+ export {};