@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.
- package/dist/{Box-ZFRI9JCw.js → Box-Cva4Q3V3.js} +1 -1
- package/dist/{Button-CNfTnafe.js → Button-Doz6-048.js} +3 -3
- package/dist/{ButtonBase-DWpUn0eT.js → ButtonBase-CTqjtEBO.js} +1 -1
- package/dist/{CircularProgress-D6RyizwS.js → CircularProgress-AyUrn4Uo.js} +1 -1
- package/dist/components/CustomButton/CustomButton.js +1 -1
- package/dist/components/CustomButton/CustomButton.stories.js +1 -1
- package/dist/components/CustomPagination/CustomPagination.js +5 -5
- package/dist/components/LoadingAnimation/LoadingAnimation.js +2 -2
- package/dist/components/Login/Login.js +1145 -1153
- package/dist/{createSimplePaletteValueFilter-rq2_biPF.js → createSimplePaletteValueFilter-B5aJotlB.js} +3 -3
- package/dist/{createSvgIcon-jB7EUYpq.js → createSvgIcon-Oc4iJwR0.js} +24 -24
- package/dist/{useSlot-CT4096EK.js → useSlot-CLAoIJ2B.js} +2 -2
- package/package.json +5 -5
|
@@ -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" ?
|
|
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 :
|
|
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
|
|
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
|
|
4
|
-
function
|
|
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
|
-
|
|
8
|
-
const
|
|
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,
|
|
17
|
-
},
|
|
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
|
-
})(
|
|
26
|
+
})(j(({
|
|
27
27
|
theme: o
|
|
28
28
|
}) => {
|
|
29
|
-
var r, n, s, t,
|
|
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 = (
|
|
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 = (
|
|
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 =
|
|
119
|
+
const s = T({
|
|
120
120
|
props: r,
|
|
121
121
|
name: "MuiSvgIcon"
|
|
122
122
|
}), {
|
|
123
123
|
children: t,
|
|
124
|
-
className:
|
|
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:
|
|
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 =
|
|
145
|
-
return /* @__PURE__ */ I(
|
|
144
|
+
const v = $(i);
|
|
145
|
+
return /* @__PURE__ */ I(A, {
|
|
146
146
|
as: a,
|
|
147
|
-
className:
|
|
147
|
+
className: O(v.root, c),
|
|
148
148
|
focusable: "false",
|
|
149
149
|
color: p,
|
|
150
|
-
"aria-hidden":
|
|
151
|
-
role:
|
|
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,
|
|
158
|
-
children:
|
|
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/
|
|
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
|
|
235
|
+
function V(o, r) {
|
|
236
236
|
function n(s, t) {
|
|
237
237
|
return /* @__PURE__ */ b(x, {
|
|
238
|
-
"data-testid":
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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": ">=
|
|
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": "^
|
|
42
|
-
"@mui/material": "^
|
|
43
|
-
"@mui/x-data-grid": "^
|
|
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",
|