@cgi-learning-hub/ui 0.0.1-dev.1709802513 → 0.0.1-dev.1709807076
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-DbTiG4H5.js → Box-zbGXphI_.js} +3 -3
- package/dist/{ButtonBase-Cj0VAGSo.js → ButtonBase-JqGjycca.js} +3 -3
- package/dist/{CircularProgress-BqQQW0l9.js → CircularProgress-DEozo6dl.js} +3 -3
- package/dist/{DefaultButton-DdQUbrXq.js → DefaultButton-BsNXcLeA.js} +110 -97
- package/dist/DefaultButton-nNc_ipFZ.cjs +1 -0
- package/dist/{IconButton-BO0e0bGH.js → IconButton-D9mD5ZiR.js} +4 -4
- package/dist/{InputBase-D-C0U1Q3.js → InputBase-C33uI8jX.js} +3 -3
- package/dist/{LocalizationProvider-BqhYrFIl.js → LocalizationProvider-C6_l-HT6.js} +2 -2
- package/dist/{SearchInput-Ef9mtSE4.js → SearchInput-BcYvlPos.js} +5 -5
- package/dist/Tabs-C_lmHzE8.cjs +4 -0
- package/dist/{Tabs-DlViPyxj.js → Tabs-CjFJEyzJ.js} +10 -11
- package/dist/{TextInput-D4_Ed8x3.js → TextInput-Cv0FDeP6.js} +26 -27
- package/dist/{TextInput-DzKkIp7z.cjs → TextInput-DCt0B3SN.cjs} +11 -11
- package/dist/{TimePicker-BmMQSXa9.cjs → TimePicker-CbvvFnmd.cjs} +19 -19
- package/dist/{TimePicker-C2UNSEAJ.js → TimePicker-DzaRdtSo.js} +71 -72
- package/dist/{Typography-gyI1N9sP.js → Typography-BhmJgmBd.js} +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +5 -5
- package/dist/components/LocalizationProvider/LocalizationProvider.es.js +2 -2
- package/dist/components/LocalizationProvider/index.es.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.d.ts +1 -7
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -4
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +2 -2
- package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/index.es.js +1 -1
- package/dist/components/buttons/IconButton.stories.es.js +2 -2
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.d.ts +1 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +11 -16
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.d.ts +1 -0
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +4 -9
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/buttons/index.cjs.js +1 -1
- package/dist/components/buttons/index.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +10 -10
- package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.es.js +6 -6
- package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
- package/dist/components/inputs/SearchInput/index.es.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
- package/dist/components/inputs/TextInput/index.cjs.js +1 -1
- package/dist/components/inputs/TextInput/index.es.js +1 -1
- package/dist/components/inputs/index.cjs.js +1 -1
- package/dist/components/inputs/index.es.js +2 -2
- package/dist/components/lists/FileList/FileList.es.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +5 -5
- package/dist/components/lists/TabList.stories.cjs.js +1 -1
- package/dist/components/lists/TabList.stories.es.js +3 -3
- package/dist/{createSvgIcon-RcVfBE0a.js → createSvgIcon-B8BrpdHf.js} +2 -2
- package/dist/{createSvgIcon-D51qQ1iy.js → createSvgIcon-Bod-SaCk.js} +9 -9
- package/dist/{fr-BmGEYD_b.js → fr-D1ea57Ie.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +10 -10
- package/dist/{refType-CRZJc9ll.js → refType-DQ1iDs3X.js} +1 -1
- package/dist/{styled-Cu97anhh.js → styled-CVMrxtbL.js} +1 -1
- package/dist/useSlotProps-BpIVvQ4-.js +78 -0
- package/dist/useSlotProps-ClYHhvSr.cjs +1 -0
- package/dist/{useThemeProps-HPaoKsTZ.js → useThemeProps-CHA42TL5.js} +6 -6
- package/package.json +1 -1
- package/dist/DefaultButton-Ls0zczi1.cjs +0 -1
- package/dist/Tabs-CsKKGDYk.cjs +0 -4
- package/dist/useSlotProps-BE7y-efU.js +0 -72
- package/dist/useSlotProps-EKKRQjEn.cjs +0 -1
- package/dist/useTheme-BkW5nNsn.cjs +0 -1
- package/dist/useTheme-zz1qDqSf.js +0 -9
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { g as me, c as Le, _ as b,
|
|
1
|
+
import { g as me, c as Le, _ as b, u as ve, b as ae, P as t } from "./useThemeProps-CHA42TL5.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { g as Se, s as D, c as L, a as ye, d as st } from "./styled-
|
|
3
|
+
import { g as Se, s as D, c as L, a as ye, d as st } from "./styled-CVMrxtbL.js";
|
|
4
4
|
import { jsxs as Q, jsx as w } from "react/jsx-runtime";
|
|
5
|
-
import { B as $e } from "./ButtonBase-
|
|
5
|
+
import { B as $e } from "./ButtonBase-JqGjycca.js";
|
|
6
6
|
import { u as at } from "./unsupportedProp-BuVD30Gh.js";
|
|
7
|
-
import { u as ke } from "./
|
|
7
|
+
import { u as ke, a as se } from "./useSlotProps-BpIVvQ4-.js";
|
|
8
8
|
import { u as it } from "./useForkRef-CQ5u1_mH.js";
|
|
9
9
|
import { a as Fe, d as Ae, o as ct } from "./ownerWindow-C7EH1lr6.js";
|
|
10
10
|
import { a as be } from "./useTimeout-CT5mhldn.js";
|
|
11
|
-
import { r as dt } from "./refType-
|
|
12
|
-
import { c as je } from "./createSvgIcon-
|
|
13
|
-
import { u as se } from "./useSlotProps-BE7y-efU.js";
|
|
11
|
+
import { r as dt } from "./refType-DQ1iDs3X.js";
|
|
12
|
+
import { c as je } from "./createSvgIcon-Bod-SaCk.js";
|
|
14
13
|
let X;
|
|
15
14
|
function De() {
|
|
16
15
|
if (X)
|
|
@@ -259,7 +258,7 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
|
|
|
259
258
|
*/
|
|
260
259
|
wrapped: t.bool
|
|
261
260
|
});
|
|
262
|
-
const
|
|
261
|
+
const Gt = _e;
|
|
263
262
|
function vt(e) {
|
|
264
263
|
return (1 + Math.sin(Math.PI * e - Math.PI / 2)) / 2;
|
|
265
264
|
}
|
|
@@ -1079,10 +1078,10 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
1079
1078
|
*/
|
|
1080
1079
|
visibleScrollbar: t.bool
|
|
1081
1080
|
});
|
|
1082
|
-
const
|
|
1081
|
+
const Jt = Ue;
|
|
1083
1082
|
export {
|
|
1084
|
-
|
|
1085
|
-
|
|
1083
|
+
Gt as T,
|
|
1084
|
+
Jt as a,
|
|
1086
1085
|
he as b,
|
|
1087
1086
|
Mt as c,
|
|
1088
1087
|
pt as g,
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { jsxs as fe, jsx as I } from "react/jsx-runtime";
|
|
2
|
-
import { P as e, _ as d,
|
|
2
|
+
import { P as e, _ as d, b as z, g as ee, u as re, o as ho, c as ce, a as Do, l as Ln } from "./useThemeProps-CHA42TL5.js";
|
|
3
3
|
import * as u from "react";
|
|
4
4
|
import Ke from "react";
|
|
5
|
-
import { g as oe, s as _, r as me, a as ne, c as Z, d as vo, e as jn } from "./styled-
|
|
6
|
-
import { i as go, a as yo, r as Eo, b as xo, c as To, I as Oo, u as Ve, f as qe, d as _n, e as uo, F as An } from "./InputBase-
|
|
5
|
+
import { g as oe, s as _, r as me, a as ne, c as Z, d as vo, e as jn } from "./styled-CVMrxtbL.js";
|
|
6
|
+
import { i as go, a as yo, r as Eo, b as xo, c as To, I as Oo, u as Ve, f as qe, d as _n, e as uo, F as An } from "./InputBase-C33uI8jX.js";
|
|
7
7
|
import { c as Lo, i as io, u as jo } from "./useControlled-BsLcOmhe.js";
|
|
8
8
|
import { u as Zo } from "./useId-BW-oWmul.js";
|
|
9
|
-
import { u as Ze } from "./
|
|
9
|
+
import { e as Bn, u as Ze, a as Fe } from "./useSlotProps-BpIVvQ4-.js";
|
|
10
10
|
import { a as be, u as po, s as _o } from "./useForkRef-CQ5u1_mH.js";
|
|
11
|
-
import { c as eo, r as we, e as
|
|
12
|
-
import { _ as
|
|
13
|
-
import * as
|
|
11
|
+
import { c as eo, r as we, e as Wn } from "./refType-DQ1iDs3X.js";
|
|
12
|
+
import { _ as Un, T as en } from "./TransitionGroupContext-C7wWJ6l7.js";
|
|
13
|
+
import * as Vn from "react-dom";
|
|
14
14
|
import Ge from "react-dom";
|
|
15
|
-
import { o as ie, a as We, d as
|
|
16
|
-
import { a as Ao, u as
|
|
17
|
-
import { e as zn, u as Fe } from "./useSlotProps-BE7y-efU.js";
|
|
15
|
+
import { o as ie, a as We, d as qn } from "./ownerWindow-C7EH1lr6.js";
|
|
16
|
+
import { a as Ao, u as zn } from "./useTimeout-CT5mhldn.js";
|
|
18
17
|
import { i as Hn } from "./isHostComponent-kiaBvYVo.js";
|
|
19
|
-
import { c as Kn } from "./createSvgIcon-
|
|
18
|
+
import { c as Kn } from "./createSvgIcon-Bod-SaCk.js";
|
|
20
19
|
function Gn(o) {
|
|
21
20
|
const {
|
|
22
21
|
prototype: n = {}
|
|
@@ -283,7 +282,7 @@ const Je = /* @__PURE__ */ u.forwardRef(function(n, t) {
|
|
|
283
282
|
});
|
|
284
283
|
}
|
|
285
284
|
return /* @__PURE__ */ I(u.Fragment, {
|
|
286
|
-
children: a && /* @__PURE__ */
|
|
285
|
+
children: a && /* @__PURE__ */ Vn.createPortal(r, a)
|
|
287
286
|
});
|
|
288
287
|
});
|
|
289
288
|
process.env.NODE_ENV !== "production" && (Je.propTypes = {
|
|
@@ -485,7 +484,7 @@ function mt(o) {
|
|
|
485
484
|
};
|
|
486
485
|
return {
|
|
487
486
|
getRootProps: (S = {}) => {
|
|
488
|
-
const k =
|
|
487
|
+
const k = Bn(o);
|
|
489
488
|
delete k.onTransitionEnter, delete k.onTransitionExited;
|
|
490
489
|
const $ = d({}, k, S);
|
|
491
490
|
return d({
|
|
@@ -529,7 +528,7 @@ var bt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape(
|
|
|
529
528
|
enter: e.number,
|
|
530
529
|
exit: e.number,
|
|
531
530
|
appear: e.number
|
|
532
|
-
}).isRequired]) : null,
|
|
531
|
+
}).isRequired]) : null, Ys = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
|
|
533
532
|
enter: e.string,
|
|
534
533
|
exit: e.string,
|
|
535
534
|
active: e.string
|
|
@@ -543,7 +542,7 @@ var bt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape(
|
|
|
543
542
|
})]) : null, ht = function(n) {
|
|
544
543
|
return n.scrollTop;
|
|
545
544
|
}, _e = "unmounted", Ie = "exited", Se = "entering", ke = "entered", mo = "exiting", he = /* @__PURE__ */ function(o) {
|
|
546
|
-
|
|
545
|
+
Un(n, o);
|
|
547
546
|
function n(r, i) {
|
|
548
547
|
var s;
|
|
549
548
|
s = o.call(this, r, i) || this;
|
|
@@ -2355,7 +2354,7 @@ const Yt = bn;
|
|
|
2355
2354
|
function Jt(o) {
|
|
2356
2355
|
return ee("MuiFormControl", o);
|
|
2357
2356
|
}
|
|
2358
|
-
const Qt = oe("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]),
|
|
2357
|
+
const Qt = oe("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]), Js = Qt, Zt = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], er = (o) => {
|
|
2359
2358
|
const {
|
|
2360
2359
|
classes: n,
|
|
2361
2360
|
margin: t,
|
|
@@ -2715,7 +2714,7 @@ const cr = gn;
|
|
|
2715
2714
|
function dr(o) {
|
|
2716
2715
|
return ee("MuiList", o);
|
|
2717
2716
|
}
|
|
2718
|
-
const ur = oe("MuiList", ["root", "padding", "dense", "subheader"]),
|
|
2717
|
+
const ur = oe("MuiList", ["root", "padding", "dense", "subheader"]), Qs = ur, pr = ["children", "className", "component", "dense", "disablePadding", "subheader"], fr = (o) => {
|
|
2719
2718
|
const {
|
|
2720
2719
|
classes: n,
|
|
2721
2720
|
disablePadding: t,
|
|
@@ -3012,7 +3011,7 @@ const yr = {
|
|
|
3012
3011
|
timeout: w = "auto",
|
|
3013
3012
|
// eslint-disable-next-line react/prop-types
|
|
3014
3013
|
TransitionComponent: O = cn
|
|
3015
|
-
} = n, g = z(n, gr), M =
|
|
3014
|
+
} = n, g = z(n, gr), M = zn(), f = u.useRef(), m = Ze(), E = u.useRef(null), P = be(E, s.ref, t), y = (R) => (S) => {
|
|
3016
3015
|
if (R) {
|
|
3017
3016
|
const k = E.current;
|
|
3018
3017
|
S === void 0 ? R(k) : R(k, S);
|
|
@@ -4082,7 +4081,7 @@ const qr = (o) => {
|
|
|
4082
4081
|
} : null, [g, Y]), u.useEffect(() => {
|
|
4083
4082
|
if (!g)
|
|
4084
4083
|
return;
|
|
4085
|
-
const U =
|
|
4084
|
+
const U = qn(() => {
|
|
4086
4085
|
Y();
|
|
4087
4086
|
}), q = We(c);
|
|
4088
4087
|
return q.addEventListener("resize", U), () => {
|
|
@@ -4254,7 +4253,7 @@ process.env.NODE_ENV !== "production" && (In.propTypes = {
|
|
|
4254
4253
|
* @default {}
|
|
4255
4254
|
*/
|
|
4256
4255
|
PaperProps: e.shape({
|
|
4257
|
-
component:
|
|
4256
|
+
component: Wn
|
|
4258
4257
|
}),
|
|
4259
4258
|
/**
|
|
4260
4259
|
* The extra props for the slot components.
|
|
@@ -4321,7 +4320,7 @@ const Hr = In;
|
|
|
4321
4320
|
function Kr(o) {
|
|
4322
4321
|
return ee("MuiMenu", o);
|
|
4323
4322
|
}
|
|
4324
|
-
const Gr = oe("MuiMenu", ["root", "paper", "list"]),
|
|
4323
|
+
const Gr = oe("MuiMenu", ["root", "paper", "list"]), Zs = Gr, Xr = ["onEntering"], Yr = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"], Jr = {
|
|
4325
4324
|
vertical: "top",
|
|
4326
4325
|
horizontal: "right"
|
|
4327
4326
|
}, Qr = {
|
|
@@ -5760,7 +5759,7 @@ process.env.NODE_ENV !== "production" && (Fn.propTypes = {
|
|
|
5760
5759
|
*/
|
|
5761
5760
|
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
5762
5761
|
});
|
|
5763
|
-
const ks = Fn,
|
|
5762
|
+
const ks = Fn, ei = (o) => /* @__PURE__ */ I(ks, { ...o, variant: o.variant || "standard" });
|
|
5764
5763
|
export {
|
|
5765
5764
|
Ir as B,
|
|
5766
5765
|
nr as F,
|
|
@@ -5770,22 +5769,22 @@ export {
|
|
|
5770
5769
|
ts as M,
|
|
5771
5770
|
Je as P,
|
|
5772
5771
|
Ns as S,
|
|
5773
|
-
|
|
5772
|
+
ei as T,
|
|
5774
5773
|
lr as a,
|
|
5775
5774
|
zo as b,
|
|
5776
5775
|
tr as c,
|
|
5777
5776
|
dr as d,
|
|
5778
5777
|
Kr as e,
|
|
5779
|
-
|
|
5778
|
+
Js as f,
|
|
5780
5779
|
Jt as g,
|
|
5781
5780
|
us as h,
|
|
5782
5781
|
oo as i,
|
|
5783
5782
|
tn as j,
|
|
5784
5783
|
ht as k,
|
|
5785
|
-
|
|
5786
|
-
|
|
5784
|
+
Qs as l,
|
|
5785
|
+
Zs as m,
|
|
5787
5786
|
cn as n,
|
|
5788
|
-
|
|
5787
|
+
Ys as o,
|
|
5789
5788
|
Fr as p,
|
|
5790
5789
|
Ar as q,
|
|
5791
5790
|
Or as r,
|