@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,102 @@
1
+ import { j as d, k as T, l as C, n as P, o as b, c as B, a as N, C as g, T as j, p as O, P as n } from "./createSimplePaletteValueFilter-rq2_biPF.js";
2
+ import * as u from "react";
3
+ import { jsx as E } from "react/jsx-runtime";
4
+ import { ThemeContext as S } from "@emotion/react";
5
+ const p = (e) => {
6
+ var s;
7
+ const t = {
8
+ systemProps: {},
9
+ otherProps: {}
10
+ }, c = ((s = e == null ? void 0 : e.theme) == null ? void 0 : s.unstable_sxConfig) ?? T;
11
+ return Object.keys(e).forEach((o) => {
12
+ c[o] ? t.systemProps[o] = e[o] : t.otherProps[o] = e[o];
13
+ }), t;
14
+ };
15
+ function v(e) {
16
+ const {
17
+ sx: t,
18
+ ...c
19
+ } = e, {
20
+ systemProps: s,
21
+ otherProps: o
22
+ } = p(c);
23
+ let r;
24
+ return Array.isArray(t) ? r = [s, ...t] : typeof t == "function" ? r = (...l) => {
25
+ const a = t(...l);
26
+ return d(a) ? {
27
+ ...s,
28
+ ...a
29
+ } : s;
30
+ } : r = {
31
+ ...s,
32
+ ...t
33
+ }, {
34
+ ...o,
35
+ sx: r
36
+ };
37
+ }
38
+ function k(e) {
39
+ return Object.keys(e).length === 0;
40
+ }
41
+ function D(e = null) {
42
+ const t = u.useContext(S);
43
+ return !t || k(t) ? e : t;
44
+ }
45
+ const I = C();
46
+ function M(e = I) {
47
+ return D(e);
48
+ }
49
+ function R(e = {}) {
50
+ const {
51
+ themeId: t,
52
+ defaultTheme: c,
53
+ defaultClassName: s = "MuiBox-root",
54
+ generateClassName: o
55
+ } = e, r = P("div", {
56
+ shouldForwardProp: (a) => a !== "theme" && a !== "sx" && a !== "as"
57
+ })(b);
58
+ return /* @__PURE__ */ u.forwardRef(function(f, i) {
59
+ const m = M(c), {
60
+ className: x,
61
+ component: h = "div",
62
+ ...y
63
+ } = v(f);
64
+ return /* @__PURE__ */ E(r, {
65
+ as: h,
66
+ ref: i,
67
+ className: B(x, o ? o(s) : s),
68
+ theme: t && m[t] || m,
69
+ ...y
70
+ });
71
+ });
72
+ }
73
+ const _ = N("MuiBox", ["root"]), w = O(), A = R({
74
+ themeId: j,
75
+ defaultTheme: w,
76
+ defaultClassName: _.root,
77
+ generateClassName: g.generate
78
+ });
79
+ process.env.NODE_ENV !== "production" && (A.propTypes = {
80
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
81
+ // │ These PropTypes are generated from the TypeScript type definitions. │
82
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
83
+ // └─────────────────────────────────────────────────────────────────────┘
84
+ /**
85
+ * @ignore
86
+ */
87
+ children: n.node,
88
+ /**
89
+ * The component used for the root node.
90
+ * Either a string to use a HTML element or a component.
91
+ */
92
+ component: n.elementType,
93
+ /**
94
+ * The system prop that allows defining system overrides as well as additional CSS styles.
95
+ */
96
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
97
+ });
98
+ export {
99
+ A as B,
100
+ v as e,
101
+ M as u
102
+ };