@amateescu/portal-ui-components 0.0.7 → 0.0.9-beta0

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.
Files changed (38) hide show
  1. package/dist/ButtonBase-Dv90LYxj.js +956 -0
  2. package/dist/Skeleton-g81JQrtl.js +25004 -0
  3. package/dist/VModalIcon-D7L4bQLO.js +5 -0
  4. package/dist/assets/index2.css +1 -1
  5. package/dist/assets/index3.css +1 -1
  6. package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +2 -0
  7. package/dist/components/ConfirmationModal/ConfirmationModal.js +50 -0
  8. package/dist/components/ConfirmationModal/ConfirmationModal.types.d.ts +11 -0
  9. package/dist/components/CustomButton/index.js +359 -9
  10. package/dist/components/CustomPagination/CustomPagination.d.ts +11 -0
  11. package/dist/components/CustomPagination/CustomPagination.js +948 -0
  12. package/dist/components/ErrorModal/ErrorModal.d.ts +2 -0
  13. package/dist/components/ErrorModal/ErrorModal.js +35 -0
  14. package/dist/components/ErrorModal/ErrorModal.types.d.ts +10 -0
  15. package/dist/components/ErrorModal/ErrorModal.types.js +1 -0
  16. package/dist/components/InfoModal/index.js +23 -6128
  17. package/dist/components/KpiCard/index.js +23 -24
  18. package/dist/components/LoadingAnimation/index.js +254 -37
  19. package/dist/components/TotalDataGrid/TotalDataGrid.d.ts +2 -0
  20. package/dist/components/TotalDataGrid/TotalDataGrid.js +125 -0
  21. package/dist/components/TotalDataGrid/TotalDataGrid.types.js +1 -0
  22. package/dist/generateUtilityClasses-CBdP3bZj.js +3259 -0
  23. package/dist/index-BczMuCik.js +6111 -0
  24. package/dist/main.d.ts +4 -1
  25. package/dist/main.js +18 -12
  26. package/dist/{index-kNWC7pFF.js → objectWithoutPropertiesLoose-CIT-1_kH.js} +25 -25
  27. package/dist/types/CustomSvg.d.ts +5 -0
  28. package/dist/types/CustomSvg.js +1 -0
  29. package/package.json +1 -1
  30. package/dist/Button-BgbkoKxR.js +0 -1314
  31. package/dist/CircularProgress-BsBIRj7X.js +0 -225
  32. package/dist/Skeleton-BB4Y_Her.js +0 -5898
  33. package/dist/components/TotalDataGrid/index.d.ts +0 -2
  34. package/dist/components/TotalDataGrid/index.js +0 -28058
  35. package/dist/generateUtilityClasses-sdN6xOVt.js +0 -3985
  36. package/dist/toPropertyKey-DMiYgyB_.js +0 -19113
  37. /package/dist/components/{TotalDataGrid/types.js → ConfirmationModal/ConfirmationModal.types.js} +0 -0
  38. /package/dist/components/TotalDataGrid/{types.d.ts → TotalDataGrid.types.d.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ import { default as ErrorModalProps } from './ErrorModal.types';
2
+ export declare const ErrorModal: ({ error, resetErrorBoundary, title, tryAgain, cancel }: ErrorModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { useState as d } from "react";
3
+ import { M as i } from "../../index-BczMuCik.js";
4
+ const n = {}, x = ({ error: o, resetErrorBoundary: r, title: t, tryAgain: s, cancel: l }) => {
5
+ const [c, a] = d(!0), p = () => {
6
+ a(!1);
7
+ };
8
+ return /* @__PURE__ */ e(
9
+ i,
10
+ {
11
+ title: /* @__PURE__ */ e("span", { className: n.flexRowCenter, children: /* @__PURE__ */ e("p", { className: n.text18, children: t }) }),
12
+ centered: !0,
13
+ open: c,
14
+ onOk: r,
15
+ onCancel: p,
16
+ closeIcon: !0,
17
+ okText: /* @__PURE__ */ e("span", { className: n.flexRowCenter, children: /* @__PURE__ */ e("span", { children: s }) }),
18
+ okButtonProps: {
19
+ style: {
20
+ backgroundColor: "#05A952"
21
+ }
22
+ },
23
+ cancelButtonProps: {
24
+ style: {
25
+ borderColor: "#05A952"
26
+ }
27
+ },
28
+ cancelText: /* @__PURE__ */ e("span", { className: n.flexRowCenter, children: /* @__PURE__ */ e("span", { children: l }) }),
29
+ children: /* @__PURE__ */ e("p", { className: n.content, children: o.toString() })
30
+ }
31
+ );
32
+ };
33
+ export {
34
+ x as ErrorModal
35
+ };
@@ -0,0 +1,10 @@
1
+ interface ErrorModalProps {
2
+ error: {
3
+ message: string;
4
+ };
5
+ resetErrorBoundary: () => void;
6
+ title: string;
7
+ tryAgain: string;
8
+ cancel: string;
9
+ }
10
+ export default ErrorModalProps;