@amateescu/portal-ui-components 0.0.24 → 0.0.25-react19

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 (47) hide show
  1. package/dist/Box-DQNjUj2G.js +102 -0
  2. package/dist/Button-D2XVkO19.js +676 -0
  3. package/dist/ButtonBase-D-XlpvIZ.js +954 -0
  4. package/dist/CircularProgress-BOkP0juA.js +247 -0
  5. package/dist/{EllipsisOutlined-CtmB5yDB.js → EllipsisOutlined-DfTPoz8U.js} +667 -672
  6. package/dist/PurePanel-ByiFMw5U.js +2213 -0
  7. package/dist/{Skeleton-XFbjx7LJ.js → Skeleton-Imy-56Lv.js} +161 -158
  8. package/dist/{UserInfoDropdown-DGaplQo6.js → UserInfoDropdown-6aB5cQyF.js} +1540 -1505
  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/CustomPagination/CustomPagination.js +455 -344
  14. package/dist/components/ErrorModal/ErrorModal.js +5 -6
  15. package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
  16. package/dist/components/InfoModal/InfoModal.js +1 -1
  17. package/dist/components/InfoModal/InfoModal.stories.js +1 -1
  18. package/dist/components/KpiCard/KpiCard.js +1003 -892
  19. package/dist/components/LoadingAnimation/LoadingAnimation.js +6 -215
  20. package/dist/components/Login/Login.js +4485 -3820
  21. package/dist/components/Login/Login.stories.js +1586 -1546
  22. package/dist/components/SideMenu/SideMenu.js +1 -1
  23. package/dist/components/SideMenu/SideMenu.types.d.ts +1 -0
  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-D_FWkiDE.js +7383 -0
  29. package/dist/createSimplePaletteValueFilter-CshNo3IR.js +3439 -0
  30. package/dist/index-CR8gh-dS.js +1689 -0
  31. package/dist/index-CyFfYou3.js +411 -0
  32. package/dist/main.js +1 -1
  33. package/dist/objectWithoutPropertiesLoose-BTau6TOn.js +33 -0
  34. package/dist/portal-utils/formatters.js +68 -0
  35. package/dist/useSlot-kDVPuVrn.js +431 -0
  36. package/package.json +38 -38
  37. package/dist/Box-CmKt1PwF.js +0 -68
  38. package/dist/Button-BT8r3F_d.js +0 -355
  39. package/dist/ButtonBase-By486Sca.js +0 -966
  40. package/dist/PurePanel-CfZ1n-M8.js +0 -4782
  41. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  42. package/dist/createSvgIcon-B8ya7kb4.js +0 -250
  43. package/dist/generateUtilityClasses-Bhjgm_6-.js +0 -3270
  44. package/dist/index-1vDmwq0E.js +0 -19089
  45. package/dist/index-DsP9yT3s.js +0 -1551
  46. package/dist/objectWithoutPropertiesLoose-CIT-1_kH.js +0 -227
  47. package/dist/useId-DbfH3PlN.js +0 -5397
@@ -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-CshNo3IR.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
+ };