@amateescu/portal-ui-components 0.0.11 → 0.0.12-beta1
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/CustomButton/{index.d.ts → CustomButton.d.ts} +1 -1
- package/dist/components/CustomPagination/CustomPagination.d.ts +1 -5
- package/dist/components/InfoModal/{index.d.ts → InfoModal.d.ts} +1 -1
- package/dist/components/KpiCard/{index.d.ts → KpiCard.d.ts} +1 -1
- package/dist/components/KpiCard/{index.js → KpiCard.js} +2 -2
- package/dist/components/KpiWrapper/{index.js → KpiWrapper.js} +1 -1
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +22 -0
- package/dist/main.d.ts +2 -10
- package/dist/main.js +5 -5
- package/dist/types/CustomSvg.d.ts +1 -2
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.js +1 -0
- package/package.json +5 -1
- /package/dist/assets/{index2.css → KpiCard.css} +0 -0
- /package/dist/assets/{index.css → KpiWrapper.css} +0 -0
- /package/dist/components/CustomButton/{index.js → CustomButton.js} +0 -0
- /package/dist/components/CustomButton/{types.d.ts → CustomeButton.types.d.ts} +0 -0
- /package/dist/components/CustomButton/{types.js → CustomeButton.types.js} +0 -0
- /package/dist/components/InfoModal/{index.js → InfoModal.js} +0 -0
- /package/dist/components/InfoModal/{types.d.ts → InfoModal.types.d.ts} +0 -0
- /package/dist/components/InfoModal/{types.js → InfoModal.types.js} +0 -0
- /package/dist/components/KpiCard/{types.d.ts → KpiCard.types.d.ts} +0 -0
- /package/dist/components/KpiCard/{types.js → KpiCard.types.js} +0 -0
- /package/dist/components/KpiWrapper/{index.d.ts → KpiWrapper.d.ts} +0 -0
- /package/dist/components/LoadingAnimation/{index.d.ts → LoadingAnimation.d.ts} +0 -0
- /package/dist/components/LoadingAnimation/{index.js → LoadingAnimation.js} +0 -0
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
isRtl: boolean;
|
|
3
|
-
pageCount: number;
|
|
4
|
-
};
|
|
1
|
+
import { ExternalPaginationProps } from './CustomPagination.types';
|
|
5
2
|
export declare function CustomPagination({ isRtl, pageCount }: ExternalPaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InfoModalProps } from './types';
|
|
1
|
+
import { InfoModalProps } from './InfoModal.types';
|
|
2
2
|
export declare function InfoModal({ modalOpen, contentText, setModalOpen, title, okText }: InfoModalProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as KpiCardProps } from './types';
|
|
1
|
+
import { default as KpiCardProps } from './KpiCard.types';
|
|
2
2
|
export declare function KpiCard({ title, content, icon, menuCollapsed }: KpiCardProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as $n, jsxs as Kr } from "react/jsx-runtime";
|
|
2
|
-
import { LoadingAnimation as li } from "../LoadingAnimation/
|
|
2
|
+
import { LoadingAnimation as li } from "../LoadingAnimation/LoadingAnimation.js";
|
|
3
3
|
import si from "../../utils/cn.js";
|
|
4
4
|
import * as i from "react";
|
|
5
5
|
import ot, { useState as qe, useMemo as Nn, useCallback as Qt, forwardRef as ci, useRef as Fe, useImperativeHandle as ui, createContext as di, useEffect as Mt } from "react";
|
|
6
6
|
import { _ as ua, a as da, b as fa, c as va, s as Xn, u as Jn, f as dr, d as Tn, e as V, t as xr, w as fr, i as fi, K as Zt, g as Ke, h as te, j as At, r as ma, k as O, l as zt, m as $t, C as Qn, n as Er, o as vi, p as vr, q as ha, v as _t, x as mr, y as mi, P as ga, z as je, A as ce, B as hi, D as ba, E as nn, F as bn, G as Zn, I as pa, H as gi, J as bi, L as Rr, M as ya, N as Ca, O as L, Q as Mr, R as Pr, S as Sa, T as Yn, U as pi, V as yi, W as wa, X as er, Y as Ci } from "../../Skeleton-g81JQrtl.js";
|
|
7
7
|
import { a as de } from "../../objectWithoutPropertiesLoose-CIT-1_kH.js";
|
|
8
|
-
import '../../assets/
|
|
8
|
+
import '../../assets/KpiCard.css';var hr = /* @__PURE__ */ i.createContext(null);
|
|
9
9
|
function Si(e) {
|
|
10
10
|
var t = e.children, n = e.onBatchResize, r = i.useRef(0), a = i.useRef([]), o = i.useContext(hr), l = i.useCallback(function(s, c, u) {
|
|
11
11
|
r.current += 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/
|
|
2
|
+
import '../../assets/KpiWrapper.css';const t = "_flexRowSpaceBetween_1v6py_1", c = {
|
|
3
3
|
flexRowSpaceBetween: t
|
|
4
4
|
};
|
|
5
5
|
function a({ children: e, style: o }) {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { ConfirmationModal } from './ConfirmationModal/ConfirmationModal';
|
|
2
|
+
export { CustomButton } from './CustomButton/CustomButton';
|
|
3
|
+
export { CustomFooter } from './CustomFooter/CustomFooter';
|
|
4
|
+
export { CustomPagination } from './CustomPagination/CustomPagination';
|
|
5
|
+
export { ErrorModal } from './ErrorModal/ErrorModal';
|
|
6
|
+
export { InfoModal } from './InfoModal/InfoModal';
|
|
7
|
+
export { KpiCard } from './KpiCard/KpiCard';
|
|
8
|
+
export { KpiWrapper } from './KpiWrapper/KpiWrapper';
|
|
9
|
+
export { LoadingAnimation } from './LoadingAnimation/LoadingAnimation';
|
|
10
|
+
export { TotalDataGrid } from './TotalDataGrid/TotalDataGrid';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ConfirmationModal as t } from "./ConfirmationModal/ConfirmationModal.js";
|
|
2
|
+
import { CustomButton as p } from "./CustomButton/CustomButton.js";
|
|
3
|
+
import { CustomFooter as e } from "./CustomFooter/CustomFooter.js";
|
|
4
|
+
import { CustomPagination as i } from "./CustomPagination/CustomPagination.js";
|
|
5
|
+
import { ErrorModal as n } from "./ErrorModal/ErrorModal.js";
|
|
6
|
+
import { InfoModal as C } from "./InfoModal/InfoModal.js";
|
|
7
|
+
import { KpiCard as u } from "./KpiCard/KpiCard.js";
|
|
8
|
+
import { KpiWrapper as M } from "./KpiWrapper/KpiWrapper.js";
|
|
9
|
+
import { LoadingAnimation as K } from "./LoadingAnimation/LoadingAnimation.js";
|
|
10
|
+
import { TotalDataGrid as B } from "./TotalDataGrid/TotalDataGrid.js";
|
|
11
|
+
export {
|
|
12
|
+
t as ConfirmationModal,
|
|
13
|
+
p as CustomButton,
|
|
14
|
+
e as CustomFooter,
|
|
15
|
+
i as CustomPagination,
|
|
16
|
+
n as ErrorModal,
|
|
17
|
+
C as InfoModal,
|
|
18
|
+
u as KpiCard,
|
|
19
|
+
M as KpiWrapper,
|
|
20
|
+
K as LoadingAnimation,
|
|
21
|
+
B as TotalDataGrid
|
|
22
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export { CustomFooter } from './components/CustomFooter/CustomFooter';
|
|
4
|
-
export { CustomPagination } from './components/CustomPagination/CustomPagination';
|
|
5
|
-
export { ErrorModal } from './components/ErrorModal/ErrorModal';
|
|
6
|
-
export { InfoModal } from './components/InfoModal';
|
|
7
|
-
export { KpiCard } from './components/KpiCard';
|
|
8
|
-
export { KpiWrapper } from './components/KpiWrapper';
|
|
9
|
-
export { LoadingAnimation } from './components/LoadingAnimation';
|
|
10
|
-
export { TotalDataGrid } from './components/TotalDataGrid/TotalDataGrid';
|
|
1
|
+
export * from './components';
|
|
2
|
+
export type * from './types';
|
package/dist/main.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ConfirmationModal as t } from "./components/ConfirmationModal/ConfirmationModal.js";
|
|
2
|
-
import { CustomButton as p } from "./components/CustomButton/
|
|
2
|
+
import { CustomButton as p } from "./components/CustomButton/CustomButton.js";
|
|
3
3
|
import { CustomFooter as e } from "./components/CustomFooter/CustomFooter.js";
|
|
4
4
|
import { CustomPagination as i } from "./components/CustomPagination/CustomPagination.js";
|
|
5
5
|
import { ErrorModal as n } from "./components/ErrorModal/ErrorModal.js";
|
|
6
|
-
import { InfoModal as C } from "./components/InfoModal/
|
|
7
|
-
import { KpiCard as u } from "./components/KpiCard/
|
|
8
|
-
import { KpiWrapper as M } from "./components/KpiWrapper/
|
|
9
|
-
import { LoadingAnimation as K } from "./components/LoadingAnimation/
|
|
6
|
+
import { InfoModal as C } from "./components/InfoModal/InfoModal.js";
|
|
7
|
+
import { KpiCard as u } from "./components/KpiCard/KpiCard.js";
|
|
8
|
+
import { KpiWrapper as M } from "./components/KpiWrapper/KpiWrapper.js";
|
|
9
|
+
import { LoadingAnimation as K } from "./components/LoadingAnimation/LoadingAnimation.js";
|
|
10
10
|
import { TotalDataGrid as B } from "./components/TotalDataGrid/TotalDataGrid.js";
|
|
11
11
|
export {
|
|
12
12
|
t as ConfirmationModal,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
"name": "@amateescu/portal-ui-components",
|
|
3
3
|
"main": "dist/main.js",
|
|
4
4
|
"types": "dist/main.d.ts",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.12-beta1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
|
+
"exports": {
|
|
11
|
+
"./components": "./dist/components/index.js",
|
|
12
|
+
"./types": "./dist/types/index.js"
|
|
13
|
+
},
|
|
10
14
|
"scripts": {
|
|
11
15
|
"build": "tsc && vite build",
|
|
12
16
|
"tsc": "tsc",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|