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

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.
@@ -1281,7 +1281,7 @@ const Qt = {
1281
1281
  }), qe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ke = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Zt = [...qe, ...Ke];
1282
1282
  function Re(e, r, t, n) {
1283
1283
  const o = Ge(e, r, !0) ?? t;
1284
- return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
1284
+ return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
1285
1285
  if (typeof i == "string")
1286
1286
  return i;
1287
1287
  const s = Math.abs(i);
@@ -1289,7 +1289,7 @@ function Re(e, r, t, n) {
1289
1289
  `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
1290
1290
  `)));
1291
1291
  const u = o[s];
1292
- return i >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
1292
+ return i >= 0 ? u : typeof u == "number" ? -u : `-${u}`;
1293
1293
  } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
1294
1294
  `)), () => {
1295
1295
  });
@@ -2042,7 +2042,7 @@ function Wn(e, r, t) {
2042
2042
  };
2043
2043
  }
2044
2044
  /**
2045
- * @mui/styled-engine v7.0.2
2045
+ * @mui/styled-engine v6.4.11
2046
2046
  *
2047
2047
  * @license MIT
2048
2048
  * This source code is licensed under the MIT license found in the
@@ -1,11 +1,11 @@
1
1
  import * as h from "react";
2
2
  import { jsxs as I, jsx as b } from "react/jsx-runtime";
3
- import { g as w, a as N, u as C, s as O, c as T, b as z, d as R, m as E, P as e } from "./createSimplePaletteValueFilter-rq2_biPF.js";
4
- function j(o) {
3
+ import { g as w, a as C, u as T, s as N, c as O, b as z, d as R, m as j, P as e } from "./createSimplePaletteValueFilter-B5aJotlB.js";
4
+ function E(o) {
5
5
  return w("MuiSvgIcon", o);
6
6
  }
7
- N("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
8
- const V = (o) => {
7
+ C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
8
+ const $ = (o) => {
9
9
  const {
10
10
  color: r,
11
11
  fontSize: n,
@@ -13,8 +13,8 @@ const V = (o) => {
13
13
  } = o, t = {
14
14
  root: ["root", r !== "inherit" && `color${z(r)}`, `fontSize${z(n)}`]
15
15
  };
16
- return R(t, j, s);
17
- }, $ = O("svg", {
16
+ return R(t, E, s);
17
+ }, A = N("svg", {
18
18
  name: "MuiSvgIcon",
19
19
  slot: "Root",
20
20
  overridesResolver: (o, r) => {
@@ -23,10 +23,10 @@ const V = (o) => {
23
23
  } = o;
24
24
  return [r.root, n.color !== "inherit" && r[`color${z(n.color)}`], r[`fontSize${z(n.fontSize)}`]];
25
25
  }
26
- })(E(({
26
+ })(j(({
27
27
  theme: o
28
28
  }) => {
29
- var r, n, s, t, l, S, a, g, p, d, c, m, y, f;
29
+ var r, n, s, t, c, S, a, g, p, d, l, m, y, f;
30
30
  return {
31
31
  userSelect: "none",
32
32
  width: "1em",
@@ -58,7 +58,7 @@ const V = (o) => {
58
58
  fontSize: "small"
59
59
  },
60
60
  style: {
61
- fontSize: ((S = (l = o.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : S.call(l, 20)) || "1.25rem"
61
+ fontSize: ((S = (c = o.typography) == null ? void 0 : c.pxToRem) == null ? void 0 : S.call(c, 20)) || "1.25rem"
62
62
  }
63
63
  },
64
64
  {
@@ -94,7 +94,7 @@ const V = (o) => {
94
94
  color: "action"
95
95
  },
96
96
  style: {
97
- color: (m = (c = (o.vars ?? o).palette) == null ? void 0 : c.action) == null ? void 0 : m.active
97
+ color: (m = (l = (o.vars ?? o).palette) == null ? void 0 : l.action) == null ? void 0 : m.active
98
98
  }
99
99
  },
100
100
  {
@@ -116,18 +116,18 @@ const V = (o) => {
116
116
  ]
117
117
  };
118
118
  })), x = /* @__PURE__ */ h.forwardRef(function(r, n) {
119
- const s = C({
119
+ const s = T({
120
120
  props: r,
121
121
  name: "MuiSvgIcon"
122
122
  }), {
123
123
  children: t,
124
- className: l,
124
+ className: c,
125
125
  color: S = "inherit",
126
126
  component: a = "svg",
127
127
  fontSize: g = "medium",
128
128
  htmlColor: p,
129
129
  inheritViewBox: d = !1,
130
- titleAccess: c,
130
+ titleAccess: l,
131
131
  viewBox: m = "0 0 24 24",
132
132
  ...y
133
133
  } = s, f = /* @__PURE__ */ h.isValidElement(t) && t.type === "svg", i = {
@@ -141,21 +141,21 @@ const V = (o) => {
141
141
  hasSvgAsChild: f
142
142
  }, u = {};
143
143
  d || (u.viewBox = m);
144
- const v = V(i);
145
- return /* @__PURE__ */ I($, {
144
+ const v = $(i);
145
+ return /* @__PURE__ */ I(A, {
146
146
  as: a,
147
- className: T(v.root, l),
147
+ className: O(v.root, c),
148
148
  focusable: "false",
149
149
  color: p,
150
- "aria-hidden": c ? void 0 : !0,
151
- role: c ? "img" : void 0,
150
+ "aria-hidden": l ? void 0 : !0,
151
+ role: l ? "img" : void 0,
152
152
  ref: n,
153
153
  ...u,
154
154
  ...y,
155
155
  ...f && t.props,
156
156
  ownerState: i,
157
- children: [f ? t.props.children : t, c ? /* @__PURE__ */ b("title", {
158
- children: c
157
+ children: [f ? t.props.children : t, l ? /* @__PURE__ */ b("title", {
158
+ children: l
159
159
  }) : null]
160
160
  });
161
161
  });
@@ -208,7 +208,7 @@ process.env.NODE_ENV !== "production" && (x.propTypes = {
208
208
  inheritViewBox: e.bool,
209
209
  /**
210
210
  * The shape-rendering attribute. The behavior of the different options is described on the
211
- * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
211
+ * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
212
212
  * If you are having issues with blurry icons you should investigate this prop.
213
213
  */
214
214
  shapeRendering: e.string,
@@ -232,10 +232,10 @@ process.env.NODE_ENV !== "production" && (x.propTypes = {
232
232
  viewBox: e.string
233
233
  });
234
234
  x.muiName = "SvgIcon";
235
- function D(o, r) {
235
+ function V(o, r) {
236
236
  function n(s, t) {
237
237
  return /* @__PURE__ */ b(x, {
238
- "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
238
+ "data-testid": `${r}Icon`,
239
239
  ref: t,
240
240
  ...s,
241
241
  children: o
@@ -244,5 +244,5 @@ function D(o, r) {
244
244
  return process.env.NODE_ENV !== "production" && (n.displayName = `${r}Icon`), n.muiName = x.muiName, /* @__PURE__ */ h.memo(/* @__PURE__ */ h.forwardRef(n));
245
245
  }
246
246
  export {
247
- D as c
247
+ V as c
248
248
  };
@@ -1,7 +1,7 @@
1
1
  import * as c from "react";
2
- import { c as E, P as v } from "./createSimplePaletteValueFilter-rq2_biPF.js";
2
+ import { c as E, P as v } from "./createSimplePaletteValueFilter-B5aJotlB.js";
3
3
  import "react/jsx-runtime";
4
- import { u as I } from "./ButtonBase-DWpUn0eT.js";
4
+ import { u as I } from "./ButtonBase-CTqjtEBO.js";
5
5
  function _({
6
6
  controlled: e,
7
7
  default: o,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@amateescu/portal-ui-components",
3
3
  "main": "dist/main.js",
4
4
  "types": "dist/main.d.ts",
5
- "version": "0.0.30-beta",
5
+ "version": "0.0.30-beta2",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist",
@@ -31,16 +31,16 @@
31
31
  "react-dom": ">=18.2.0",
32
32
  "react-i18next": ">=14.1.0",
33
33
  "antd": ">=5.16.2",
34
- "@mui/material": ">=7.0.2"
34
+ "@mui/material": ">=6.4.11"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@chromatic-com/storybook": "^3.2.6",
38
38
  "@emotion/react": "^11.14.0",
39
39
  "@emotion/styled": "^11.14.0",
40
40
  "@eslint/js": "^9.25.1",
41
- "@mui/icons-material": "^7.0.2",
42
- "@mui/material": "^7.0.2",
43
- "@mui/x-data-grid": "^8.1.0",
41
+ "@mui/icons-material": "^6.4.11",
42
+ "@mui/material": "^6.4.11",
43
+ "@mui/x-data-grid": "^7.29.1",
44
44
  "@storybook/addon-essentials": "^8.6.12",
45
45
  "@storybook/addon-interactions": "^8.6.12",
46
46
  "@storybook/addon-onboarding": "^8.6.12",