@amateescu/portal-ui-components 0.0.29 → 0.0.30-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.
Files changed (45) hide show
  1. package/dist/Box-Cva4Q3V3.js +102 -0
  2. package/dist/Button-Doz6-048.js +676 -0
  3. package/dist/ButtonBase-CTqjtEBO.js +965 -0
  4. package/dist/CircularProgress-AyUrn4Uo.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.js +14 -28
  14. package/dist/components/CustomPagination/CustomPagination.js +464 -353
  15. package/dist/components/ErrorModal/ErrorModal.js +1 -1
  16. package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
  17. package/dist/components/InfoModal/InfoModal.js +1 -1
  18. package/dist/components/InfoModal/InfoModal.stories.js +1 -1
  19. package/dist/components/KpiCard/KpiCard.js +355 -351
  20. package/dist/components/LoadingAnimation/LoadingAnimation.js +6 -215
  21. package/dist/components/Login/Login.js +4565 -3665
  22. package/dist/components/Login/Login.stories.js +15693 -14785
  23. package/dist/components/SideMenu/SideMenu.js +1 -1
  24. package/dist/components/TotalDataGrid/TotalDataGrid.js +6 -6
  25. package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
  26. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
  27. package/dist/components/index.js +1 -1
  28. package/dist/{context-Crxhk7DD.js → context-Bk4VnwMB.js} +7 -7
  29. package/dist/createSimplePaletteValueFilter-B5aJotlB.js +3443 -0
  30. package/dist/createSvgIcon-Oc4iJwR0.js +248 -0
  31. package/dist/{index-BxiDYyNJ.js → index-DLbr86ak.js} +511 -513
  32. package/dist/{index-DpDv68WZ.js → index-xh_JY2OQ.js} +1 -1
  33. package/dist/main.js +1 -1
  34. package/dist/objectWithoutPropertiesLoose-BTau6TOn.js +33 -0
  35. package/dist/useSlot-CLAoIJ2B.js +188 -0
  36. package/package.json +31 -31
  37. package/dist/Box-5HNe2k-0.js +0 -68
  38. package/dist/Button-BPyfMt4k.js +0 -355
  39. package/dist/ButtonBase-CJNjsL6d.js +0 -966
  40. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  41. package/dist/createSvgIcon-DAETaHdH.js +0 -131
  42. package/dist/createSvgIcon-KoZ8TVCY.js +0 -211
  43. package/dist/generateUtilityClasses-DRfbjUGr.js +0 -3427
  44. package/dist/index-DrCfXZ3h.js +0 -44
  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-B5aJotlB.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
+ };