@amateescu/portal-ui-components 0.0.28 → 0.0.30-beta

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 (45) hide show
  1. package/dist/Box-ZFRI9JCw.js +102 -0
  2. package/dist/Button-CNfTnafe.js +676 -0
  3. package/dist/ButtonBase-DWpUn0eT.js +965 -0
  4. package/dist/CircularProgress-D6RyizwS.js +247 -0
  5. package/dist/{EllipsisOutlined-DZsCEqiL.js → EllipsisOutlined-CzFuvGH_.js} +3 -3
  6. package/dist/{PurePanel-iUNZWTe_.js → PurePanel-CxlAi3G7.js} +3 -3
  7. package/dist/{Skeleton-CfEiGUkR.js → Skeleton-dypyF9G2.js} +2 -2
  8. package/dist/{UserInfoDropdown-CoZutJAR.js → UserInfoDropdown-DPyds49a.js} +763 -769
  9. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  10. package/dist/components/ConfirmationModal/ConfirmationModal.js +1 -1
  11. package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +1 -1
  12. package/dist/components/CustomButton/CustomButton.js +1 -1
  13. package/dist/components/CustomButton/CustomButton.stories.d.ts +1 -0
  14. package/dist/components/CustomButton/CustomButton.stories.js +21 -7
  15. package/dist/components/CustomFooter/CustomFooter.js +1 -1
  16. package/dist/components/CustomPagination/CustomPagination.js +484 -372
  17. package/dist/components/ErrorModal/ErrorModal.js +1 -1
  18. package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
  19. package/dist/components/InfoModal/InfoModal.js +1 -1
  20. package/dist/components/InfoModal/InfoModal.stories.js +1 -1
  21. package/dist/components/KpiCard/KpiCard.js +355 -351
  22. package/dist/components/LoadingAnimation/LoadingAnimation.js +6 -215
  23. package/dist/components/Login/Login.js +4638 -3844
  24. package/dist/components/Login/Login.stories.js +15693 -14785
  25. package/dist/components/SideMenu/SideMenu.js +1 -1
  26. package/dist/components/TotalDataGrid/TotalDataGrid.js +6 -6
  27. package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
  28. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
  29. package/dist/components/index.js +1 -1
  30. package/dist/{context-Crxhk7DD.js → context-Bk4VnwMB.js} +7 -7
  31. package/dist/createSimplePaletteValueFilter-rq2_biPF.js +3443 -0
  32. package/dist/createSvgIcon-jB7EUYpq.js +248 -0
  33. package/dist/{index-BxiDYyNJ.js → index-DLbr86ak.js} +511 -513
  34. package/dist/{index-DpDv68WZ.js → index-xh_JY2OQ.js} +1 -1
  35. package/dist/main.js +1 -1
  36. package/dist/objectWithoutPropertiesLoose-BTau6TOn.js +33 -0
  37. package/dist/useSlot-CT4096EK.js +188 -0
  38. package/package.json +31 -31
  39. package/dist/Box-C1OwXVV-.js +0 -68
  40. package/dist/Button-CIvE-fcO.js +0 -355
  41. package/dist/ButtonBase-BeQnmGXr.js +0 -966
  42. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  43. package/dist/createSvgIcon-Db107M0j.js +0 -250
  44. package/dist/generateUtilityClasses-DY-qyzNG.js +0 -3427
  45. package/dist/objectWithoutPropertiesLoose-DYizGgyG.js +0 -46
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
4
+ export {
5
+ e as g
6
+ };
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
3
  import { S as m } from "../../VModalIcon-D7L4bQLO.js";
4
4
  import '../../assets/theme.css';import '../../assets/ConfirmationModal.css';/* empty css */
5
- import { M as d } from "../../index-BxiDYyNJ.js";
5
+ import { M as d } from "../../index-DLbr86ak.js";
6
6
  const x = (t) => /* @__PURE__ */ n.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ n.createElement("path", { d: "M7 10L9 12L13 8M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10Z", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), p = (t) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ n.createElement("path", { d: "M6 18L18 6M6 6L18 18", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), g = "_flexRowCenter_1mxo7_43", w = "_mr10_1mxo7_49", f = "_text18_1mxo7_61", C = "_content_1mxo7_65", o = {
7
7
  flexRowCenter: g,
8
8
  mr10: w,
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { ConfirmationModal as r } from "./ConfirmationModal.js";
3
- import { C as e } from "../../context-Crxhk7DD.js";
3
+ import { C as e } from "../../context-Bk4VnwMB.js";
4
4
  const n = ({ isRtl: t }) => /* @__PURE__ */ o(e, { direction: t ? "rtl" : "ltr", children: /* @__PURE__ */ o(
5
5
  r,
6
6
  {
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import '../../assets/theme.css';/* empty css */
3
- import { B as l } from "../../Button-CIvE-fcO.js";
3
+ import { B as l } from "../../Button-CNfTnafe.js";
4
4
  const p = ({ content: r, height: o = "40px", width: t = "120px", direction: n = "left", size: a = "small", ...e }) => /* @__PURE__ */ i(
5
5
  l,
6
6
  {
@@ -17,3 +17,4 @@ export default meta;
17
17
  type Story = StoryObj<typeof meta>;
18
18
  export declare const Default: Story;
19
19
  export declare const Large: Story;
20
+ export declare const WithIcon: Story;
@@ -1,7 +1,11 @@
1
- import { CustomButton as t } from "./CustomButton.js";
2
- const n = {
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { CustomButton as o } from "./CustomButton.js";
3
+ import { c as n } from "../../createSvgIcon-jB7EUYpq.js";
4
+ const s = n(/* @__PURE__ */ t("path", {
5
+ d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
6
+ }), "Search"), c = {
3
7
  title: "Custom Button",
4
- component: t,
8
+ component: o,
5
9
  tags: ["autodocs"],
6
10
  parameters: {
7
11
  layout: "fullscreen"
@@ -12,7 +16,7 @@ const n = {
12
16
  margin: "20px 20px"
13
17
  }
14
18
  }
15
- }, s = {}, e = {
19
+ }, m = {}, p = {
16
20
  args: {
17
21
  content: "Custom Button",
18
22
  width: "200px",
@@ -20,9 +24,19 @@ const n = {
20
24
  margin: "20px 20px"
21
25
  }
22
26
  }
27
+ }, u = {
28
+ args: {
29
+ content: "Custom Button",
30
+ width: "90px",
31
+ startIcon: /* @__PURE__ */ t(s, {}),
32
+ style: {
33
+ margin: "20px 20px"
34
+ }
35
+ }
23
36
  };
24
37
  export {
25
- s as Default,
26
- e as Large,
27
- n as default
38
+ m as Default,
39
+ p as Large,
40
+ u as WithIcon,
41
+ c as default
28
42
  };
@@ -9,7 +9,7 @@ import '../../assets/CustomFooter.css';const P = "_container_1py0o_1", S = {
9
9
  function _({ total: o, columnsDefinitions: t, isRtl: i }) {
10
10
  const r = C(), s = n(r, f), c = h(), a = n(r, F), p = l(c.rowCount ?? s, a);
11
11
  return /* @__PURE__ */ m(d, { children: [
12
- /* @__PURE__ */ e("div", { className: S.container, children: (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ e(
12
+ (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ e("div", { className: S.container, children: /* @__PURE__ */ e(
13
13
  g,
14
14
  {
15
15
  rows: o,