@converge-cloudops/gaia-ui 0.5.2 → 0.6.1
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/components/layouts/GaiaShellLayout/GaiaShellLayout.d.ts.map +1 -1
- package/dist/components/layouts/SubHeader/SubHeader.d.ts +2 -1
- package/dist/components/layouts/SubHeader/SubHeader.d.ts.map +1 -1
- package/dist/components/modals/ConfirmModal.d.ts +3 -2
- package/dist/components/modals/ConfirmModal.d.ts.map +1 -1
- package/dist/components/tables/actions/TableActions.d.ts +2 -1
- package/dist/components/tables/actions/TableActions.d.ts.map +1 -1
- package/dist/context/GaiaShellLayoutContext.d.ts +2 -0
- package/dist/context/GaiaShellLayoutContext.d.ts.map +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +722 -711
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GaiaShellLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/GaiaShellLayout/GaiaShellLayout.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,eAAe,CAAC;AA8DvB,MAAM,WAAW,oBAAoB;IACnC,oCAAoC;IACpC,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;IACjD,qFAAqF;IACrF,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;IAC7C,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACpD,mBAAmB;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,WAAW,EACX,cAAc,EAAE,kBAAkB,EAClC,YAAiB,EACjB,WAAiB,EACjB,gBAAuB,EACvB,QAAQ,GACT,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"GaiaShellLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/GaiaShellLayout/GaiaShellLayout.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,eAAe,CAAC;AA8DvB,MAAM,WAAW,oBAAoB;IACnC,oCAAoC;IACpC,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;IACjD,qFAAqF;IACrF,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;IAC7C,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACpD,mBAAmB;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,WAAW,EACX,cAAc,EAAE,kBAAkB,EAClC,YAAiB,EACjB,WAAiB,EACjB,gBAAuB,EACvB,QAAQ,GACT,EAAE,oBAAoB,2CAkDtB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface SubHeaderProps {
|
|
2
2
|
title: string;
|
|
3
|
+
titleExtra?: React.ReactNode;
|
|
3
4
|
content?: React.ReactNode;
|
|
4
5
|
}
|
|
5
|
-
export declare function SubHeader({ title, content }: SubHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function SubHeader({ title, titleExtra, content }: SubHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
//# sourceMappingURL=SubHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/SubHeader/SubHeader.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"SubHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/SubHeader/SubHeader.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,cAAc,2CAUvE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ModalProps } from '@mantine/core';
|
|
1
2
|
import { Icon } from '@tabler/icons-react';
|
|
2
|
-
export type ConfirmModalProps = {
|
|
3
|
+
export type ConfirmModalProps = Omit<ModalProps, "title"> & {
|
|
3
4
|
opened: boolean;
|
|
4
5
|
onClose: () => void;
|
|
5
6
|
onConfirm: () => void;
|
|
@@ -9,5 +10,5 @@ export type ConfirmModalProps = {
|
|
|
9
10
|
isLoading?: boolean;
|
|
10
11
|
icon?: Icon;
|
|
11
12
|
};
|
|
12
|
-
export declare function ConfirmModal({ opened, onClose, onConfirm, title, description, confirmLabel, isLoading, icon: Icon, }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function ConfirmModal({ opened, onClose, onConfirm, title, description, confirmLabel, isLoading, icon: Icon, transitionProps, }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
//# sourceMappingURL=ConfirmModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ConfirmModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ConfirmModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,UAAU,EAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAqB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG;IAC1D,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,SAAS,EACT,KAAK,EACL,WAAW,EACX,YAAuB,EACvB,SAAiB,EACjB,IAAI,EAAE,IAAwB,EAC9B,eAAe,GAChB,EAAE,iBAAiB,2CAkCnB"}
|
|
@@ -3,7 +3,8 @@ export type TableAction = "view" | "update" | "delete";
|
|
|
3
3
|
export type TableActionsProps = {
|
|
4
4
|
include?: TableAction[];
|
|
5
5
|
justify?: GroupProps["justify"];
|
|
6
|
+
loading?: boolean | Partial<Record<TableAction, boolean>>;
|
|
6
7
|
onClick: (action: TableAction) => void;
|
|
7
8
|
};
|
|
8
|
-
export declare function TableActions({ include, justify, onClick, }: TableActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function TableActions({ include, justify, loading, onClick, }: TableActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=TableActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableActions.d.ts","sourceRoot":"","sources":["../../../../src/components/tables/actions/TableActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAQnE,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,OAAsC,EACtC,OAAsB,EACtB,OAAO,GACR,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"TableActions.d.ts","sourceRoot":"","sources":["../../../../src/components/tables/actions/TableActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAQnE,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,OAAO,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,OAAsC,EACtC,OAAsB,EACtB,OAAO,EACP,OAAO,GACR,EAAE,iBAAiB,2CA8BnB"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export interface GaiaShellLayoutContextValue {
|
|
2
2
|
setPageActions: (actions: React.ReactNode) => void;
|
|
3
|
+
setTitleExtra: (extra: React.ReactNode) => void;
|
|
3
4
|
}
|
|
4
5
|
declare const GaiaShellLayoutContext: import('react').Context<GaiaShellLayoutContextValue>;
|
|
5
6
|
export declare const useSetPageActions: () => (actions: React.ReactNode) => void;
|
|
7
|
+
export declare const useSetTitleExtra: () => (extra: React.ReactNode) => void;
|
|
6
8
|
export { GaiaShellLayoutContext };
|
|
7
9
|
//# sourceMappingURL=GaiaShellLayoutContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GaiaShellLayoutContext.d.ts","sourceRoot":"","sources":["../../src/context/GaiaShellLayoutContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"GaiaShellLayoutContext.d.ts","sourceRoot":"","sources":["../../src/context/GaiaShellLayoutContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACnD,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;CACjD;AAED,QAAA,MAAM,sBAAsB,sDAG1B,CAAC;AAEH,eAAO,MAAM,iBAAiB,kBATF,KAAK,CAAC,SAAS,KAAK,IAUG,CAAC;AAEpD,eAAO,MAAM,gBAAgB,gBAXJ,KAAK,CAAC,SAAS,KAAK,IAYK,CAAC;AAEnD,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|