@cgi-learning-hub/ui 1.0.0-dev.1721824898 → 1.0.0-dev.1721901545
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-vGRO-On_.js → Box-BwHGDK_A.js} +10 -10
- package/dist/Button-BF7P0rje.js +359 -0
- package/dist/Button-BtjHaBJr.cjs +1 -0
- package/dist/{ButtonBase-vONl_zxO.js → ButtonBase-CWCHPphi.js} +36 -36
- package/dist/{CircularProgress-BDwTzcEn.js → CircularProgress-C_9OsPYJ.js} +17 -17
- package/dist/DatePicker-BE1RETq3.cjs +19 -0
- package/dist/DatePicker-DXoI-rbr.js +12663 -0
- package/dist/DefaultButton-BYqGgydF.cjs +1 -0
- package/dist/DefaultButton-CKAvlaVi.js +253 -0
- package/dist/{IconButton-Ctm1Peef.js → IconButton-De3-6K2r.js} +7 -7
- package/dist/{SearchInput-Clr0qHPm.js → InputAdornment-CdamqNqi.js} +55 -87
- package/dist/InputAdornment-UyNuc0Mc.cjs +1 -0
- package/dist/{InputBase-Dqfior4W.js → InputBase-DYf00QVg.js} +25 -25
- package/dist/Stack-D1lCED40.cjs +1 -0
- package/dist/Stack-DIH86N4F.js +172 -0
- package/dist/{Tabs-D-RPVuW4.js → Tabs-D1zibo7D.js} +118 -131
- package/dist/Tabs-DZDo7UqF.cjs +4 -0
- package/dist/{TextInput-BxI4zwrY.js → TextField-BAVYnvQj.js} +411 -414
- package/dist/{TextInput-Ba5ly1H9.cjs → TextField-CH-kzN1l.cjs} +11 -11
- package/dist/Tooltip-BEg5oYwE.js +7463 -0
- package/dist/Tooltip-DppWsdRm.cjs +95 -0
- package/dist/{Typography-Cl3kH-A8.js → Typography-CbZkNGSr.js} +11 -11
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +2 -2
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
- 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 +3 -3
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
- 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.es.js +1 -1
- 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/feedback/QueryError/QueryError.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +1 -5
- package/dist/components/index.es.js +269 -278
- package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.es.js +18 -16
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.es.js +36 -5
- package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
- package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/index.es.js +2 -2
- package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.es.js +4 -3
- 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 +2 -2
- package/dist/components/inputs/index.cjs.js +1 -1
- package/dist/components/inputs/index.es.js +6 -6
- package/dist/components/lists/FileList/FileList.es.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +6 -6
- package/dist/components/lists/TabList.stories.cjs.js +1 -1
- package/dist/components/lists/TabList.stories.es.js +16 -15
- package/dist/components/pickers/DatePicker/DatePicker.cjs.js +1 -0
- package/dist/components/pickers/DatePicker/DatePicker.d.ts +8 -0
- package/dist/components/pickers/DatePicker/DatePicker.es.js +6 -0
- package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +1 -0
- package/dist/components/pickers/DatePicker/DatePicker.stories.d.ts +5 -0
- package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +16 -0
- package/dist/components/pickers/DatePicker/index.cjs.js +1 -0
- package/dist/components/pickers/DatePicker/index.d.ts +2 -0
- package/dist/components/pickers/DatePicker/index.es.js +4 -0
- package/dist/components/pickers/index.cjs.js +1 -0
- package/dist/components/pickers/index.d.ts +1 -0
- package/dist/components/pickers/index.es.js +4 -0
- package/dist/createStyled-CXNF_m2b.js +142 -0
- package/dist/createStyled-CcHh6cyo.cjs +1 -0
- package/dist/{createSvgIcon-BwGNMrhW.js → createSvgIcon-B6V0jwwg.js} +5 -5
- package/dist/{createSvgIcon-Blbo0WDd.js → createSvgIcon-CGvnINlY.js} +15 -15
- package/dist/fr-BWMVjh4G.js +307 -0
- package/dist/fr-CzL4IYLw.cjs +1 -0
- package/dist/{identifier-wKuu0zOr.js → identifier-C_DzvlWx.js} +24 -24
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +270 -279
- package/dist/{refType-Bqz8QGtc.js → refType-KXZNSMpq.js} +1 -1
- package/dist/{styled-CFCmdTd8.js → styled-DCjqF2JO.js} +29 -29
- package/dist/{useTheme-DWyCcDbs.js → useTheme-8G-WLfhQ.js} +7 -7
- package/dist/{useTheme-D5vjhuQC.js → useTheme-D2TR379g.js} +1 -1
- package/dist/useThemeProps-DhHzyU0Y.cjs +1 -0
- package/dist/useThemeProps-DjJkz40D.js +17 -0
- package/dist/{useThemeProps-CZSYSmRG.js → useThemeProps-fXKB99fl.js} +2 -2
- package/package.json +1 -1
- package/dist/DefaultButton-BD1TIeNP.js +0 -604
- package/dist/DefaultButton-DV0j1bMY.cjs +0 -1
- package/dist/SearchInput-CruiB2CO.cjs +0 -1
- package/dist/Stack-CwklSaeG.js +0 -308
- package/dist/Stack-v4g12Xre.cjs +0 -1
- package/dist/Tabs-CLr003cV.cjs +0 -4
- package/dist/TimePicker-DK-Q99ep.js +0 -26252
- package/dist/TimePicker-DYEkxpHp.cjs +0 -113
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ce from "react";
|
|
2
|
-
import { F as Ce,
|
|
2
|
+
import { F as Ce, u as Me, q as we, m as B, P as k, J as g, M as je, n as Fe, N as Ae, O as De, t as Le, z as Ie, Q as qe, R as Ne, A as ze, d as Ve, T as ke } from "./identifier-C_DzvlWx.js";
|
|
3
3
|
import { jsx as We } from "react/jsx-runtime";
|
|
4
4
|
const Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
@@ -111,16 +111,16 @@ function Be() {
|
|
|
111
111
|
var U = s.$$typeof;
|
|
112
112
|
switch (U) {
|
|
113
113
|
case e:
|
|
114
|
-
var
|
|
115
|
-
switch (
|
|
114
|
+
var q = s.type;
|
|
115
|
+
switch (q) {
|
|
116
116
|
case t:
|
|
117
117
|
case i:
|
|
118
118
|
case n:
|
|
119
119
|
case p:
|
|
120
120
|
case m:
|
|
121
|
-
return
|
|
121
|
+
return q;
|
|
122
122
|
default:
|
|
123
|
-
var ee =
|
|
123
|
+
var ee = q && q.$$typeof;
|
|
124
124
|
switch (ee) {
|
|
125
125
|
case _:
|
|
126
126
|
case u:
|
|
@@ -138,9 +138,9 @@ function Be() {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
var P = u, F = a, R = e, I = l, A = t, v = S, h = E, T = o, O = i, W = n, Y = p, me = m,
|
|
141
|
+
var P = u, F = a, R = e, I = l, A = t, v = S, h = E, T = o, O = i, W = n, Y = p, me = m, Z = !1, K = !1;
|
|
142
142
|
function ye(s) {
|
|
143
|
-
return
|
|
143
|
+
return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
144
144
|
}
|
|
145
145
|
function ve(s) {
|
|
146
146
|
return K || (K = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
@@ -219,11 +219,11 @@ const Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
219
219
|
__proto__: null,
|
|
220
220
|
default: Xe,
|
|
221
221
|
getFunctionName: fe
|
|
222
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
222
|
+
}, Symbol.toStringTag, { value: "Module" })), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
223
223
|
__proto__: null,
|
|
224
224
|
default: we
|
|
225
225
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
226
|
-
function
|
|
226
|
+
function J(e, o) {
|
|
227
227
|
const t = B({}, o);
|
|
228
228
|
return Object.keys(e).forEach((n) => {
|
|
229
229
|
if (n.toString().match(/^(components|slots)$/))
|
|
@@ -231,7 +231,7 @@ function Q(e, o) {
|
|
|
231
231
|
else if (n.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
232
232
|
const i = e[n] || {}, a = o[n];
|
|
233
233
|
t[n] = {}, !a || !Object.keys(a) ? t[n] = i : !i || !Object.keys(i) ? t[n] = a : (t[n] = B({}, a), Object.keys(i).forEach((u) => {
|
|
234
|
-
t[n][u] =
|
|
234
|
+
t[n][u] = J(i[u], a[u]);
|
|
235
235
|
}));
|
|
236
236
|
} else t[n] === void 0 && (t[n] = e[n]);
|
|
237
237
|
}), t;
|
|
@@ -253,7 +253,7 @@ function Mt(e, o, t = void 0) {
|
|
|
253
253
|
), n;
|
|
254
254
|
}
|
|
255
255
|
const de = /* @__PURE__ */ ce.createContext(void 0);
|
|
256
|
-
function
|
|
256
|
+
function Qe({
|
|
257
257
|
value: e,
|
|
258
258
|
children: o
|
|
259
259
|
}) {
|
|
@@ -262,7 +262,7 @@ function Ze({
|
|
|
262
262
|
children: o
|
|
263
263
|
});
|
|
264
264
|
}
|
|
265
|
-
process.env.NODE_ENV !== "production" && (
|
|
265
|
+
process.env.NODE_ENV !== "production" && (Qe.propTypes = {
|
|
266
266
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
267
267
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
268
268
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -276,7 +276,7 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
|
|
|
276
276
|
*/
|
|
277
277
|
value: k.object
|
|
278
278
|
});
|
|
279
|
-
function
|
|
279
|
+
function Ze(e) {
|
|
280
280
|
const {
|
|
281
281
|
theme: o,
|
|
282
282
|
name: t,
|
|
@@ -285,14 +285,14 @@ function Je(e) {
|
|
|
285
285
|
if (!o || !o.components || !o.components[t])
|
|
286
286
|
return n;
|
|
287
287
|
const i = o.components[t];
|
|
288
|
-
return i.defaultProps ?
|
|
288
|
+
return i.defaultProps ? J(i.defaultProps, n) : !i.styleOverrides && !i.variants ? J(i, n) : n;
|
|
289
289
|
}
|
|
290
290
|
function Ke({
|
|
291
291
|
props: e,
|
|
292
292
|
name: o
|
|
293
293
|
}) {
|
|
294
294
|
const t = ce.useContext(de);
|
|
295
|
-
return
|
|
295
|
+
return Ze({
|
|
296
296
|
props: e,
|
|
297
297
|
name: o,
|
|
298
298
|
theme: {
|
|
@@ -334,7 +334,7 @@ function tt() {
|
|
|
334
334
|
e.exports = o, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
335
335
|
}(X)), X.exports;
|
|
336
336
|
}
|
|
337
|
-
const rt = /* @__PURE__ */ g(je), nt = /* @__PURE__ */ g(Ye), ot = /* @__PURE__ */ g(
|
|
337
|
+
const rt = /* @__PURE__ */ g(je), nt = /* @__PURE__ */ g(Ye), ot = /* @__PURE__ */ g(Je), st = /* @__PURE__ */ g(Ge), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
338
338
|
__proto__: null,
|
|
339
339
|
default: Fe,
|
|
340
340
|
private_createBreakpoints: Ae,
|
|
@@ -343,8 +343,8 @@ const rt = /* @__PURE__ */ g(je), nt = /* @__PURE__ */ g(Ye), ot = /* @__PURE__
|
|
|
343
343
|
__proto__: null,
|
|
344
344
|
default: Le,
|
|
345
345
|
extendSxProp: Ie,
|
|
346
|
-
unstable_createStyleFunctionSx:
|
|
347
|
-
unstable_defaultSxConfig:
|
|
346
|
+
unstable_createStyleFunctionSx: qe,
|
|
347
|
+
unstable_defaultSxConfig: Ne
|
|
348
348
|
}, Symbol.toStringTag, { value: "Module" })), ct = /* @__PURE__ */ g(ut);
|
|
349
349
|
var C = ze;
|
|
350
350
|
Object.defineProperty(D, "__esModule", {
|
|
@@ -353,7 +353,7 @@ Object.defineProperty(D, "__esModule", {
|
|
|
353
353
|
var ft = D.default = Rt;
|
|
354
354
|
D.shouldForwardProp = z;
|
|
355
355
|
D.systemDefaultTheme = void 0;
|
|
356
|
-
var b = C(et()),
|
|
356
|
+
var b = C(et()), Q = C(tt()), ae = ht(rt), lt = nt, dt = C(ot), pt = C(st), mt = C(at), yt = C(ct);
|
|
357
357
|
const vt = ["ownerState"], _t = ["variants"], St = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
358
358
|
function pe(e) {
|
|
359
359
|
if (typeof WeakMap != "function") return null;
|
|
@@ -387,7 +387,7 @@ function z(e) {
|
|
|
387
387
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
388
388
|
}
|
|
389
389
|
const Pt = D.systemDefaultTheme = (0, mt.default)(), ue = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
390
|
-
function
|
|
390
|
+
function N({
|
|
391
391
|
defaultTheme: e,
|
|
392
392
|
theme: o,
|
|
393
393
|
themeId: t
|
|
@@ -400,7 +400,7 @@ function xt(e) {
|
|
|
400
400
|
function V(e, o) {
|
|
401
401
|
let {
|
|
402
402
|
ownerState: t
|
|
403
|
-
} = o, n = (0,
|
|
403
|
+
} = o, n = (0, Q.default)(o, vt);
|
|
404
404
|
const i = typeof e == "function" ? e((0, b.default)({
|
|
405
405
|
ownerState: t
|
|
406
406
|
}, n)) : e;
|
|
@@ -412,7 +412,7 @@ function V(e, o) {
|
|
|
412
412
|
const {
|
|
413
413
|
variants: a = []
|
|
414
414
|
} = i;
|
|
415
|
-
let _ = (0,
|
|
415
|
+
let _ = (0, Q.default)(i, _t);
|
|
416
416
|
return a.forEach((l) => {
|
|
417
417
|
let p = !0;
|
|
418
418
|
typeof l.props == "function" ? p = l.props((0, b.default)({
|
|
@@ -433,7 +433,7 @@ function Rt(e = {}) {
|
|
|
433
433
|
rootShouldForwardProp: n = z,
|
|
434
434
|
slotShouldForwardProp: i = z
|
|
435
435
|
} = e, a = (u) => (0, yt.default)((0, b.default)({}, u, {
|
|
436
|
-
theme:
|
|
436
|
+
theme: N((0, b.default)({}, u, {
|
|
437
437
|
defaultTheme: t,
|
|
438
438
|
themeId: o
|
|
439
439
|
}))
|
|
@@ -448,7 +448,7 @@ function Rt(e = {}) {
|
|
|
448
448
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
449
449
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
450
450
|
overridesResolver: S = xt(ue(p))
|
|
451
|
-
} = _, M = (0,
|
|
451
|
+
} = _, M = (0, Q.default)(_, St), $ = m !== void 0 ? m : (
|
|
452
452
|
// TODO v6: remove `Root` in the next major release
|
|
453
453
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
454
454
|
p && p !== "Root" && p !== "root" || !1
|
|
@@ -461,7 +461,7 @@ function Rt(e = {}) {
|
|
|
461
461
|
shouldForwardProp: x,
|
|
462
462
|
label: r
|
|
463
463
|
}, M)), j = (d) => typeof d == "function" && d.__emotion_real !== d || (0, lt.isPlainObject)(d) ? (P) => V(d, (0, b.default)({}, P, {
|
|
464
|
-
theme:
|
|
464
|
+
theme: N({
|
|
465
465
|
theme: P.theme,
|
|
466
466
|
defaultTheme: t,
|
|
467
467
|
themeId: o
|
|
@@ -470,7 +470,7 @@ function Rt(e = {}) {
|
|
|
470
470
|
let F = j(d);
|
|
471
471
|
const R = P ? P.map(j) : [];
|
|
472
472
|
l && S && R.push((v) => {
|
|
473
|
-
const h =
|
|
473
|
+
const h = N((0, b.default)({}, v, {
|
|
474
474
|
defaultTheme: t,
|
|
475
475
|
themeId: o
|
|
476
476
|
}));
|
|
@@ -484,7 +484,7 @@ function Rt(e = {}) {
|
|
|
484
484
|
}), S(v, O);
|
|
485
485
|
}), l && !$ && R.push((v) => {
|
|
486
486
|
var h;
|
|
487
|
-
const T =
|
|
487
|
+
const T = N((0, b.default)({}, v, {
|
|
488
488
|
defaultTheme: t,
|
|
489
489
|
themeId: o
|
|
490
490
|
})), O = T == null || (h = T.components) == null || (h = h[l]) == null ? void 0 : h.variants;
|
|
@@ -519,7 +519,7 @@ const Ot = (e) => $t(e) && e !== "classes", jt = ft({
|
|
|
519
519
|
rootShouldForwardProp: Ot
|
|
520
520
|
});
|
|
521
521
|
export {
|
|
522
|
-
|
|
522
|
+
Qe as D,
|
|
523
523
|
Ot as a,
|
|
524
524
|
ne as b,
|
|
525
525
|
Mt as c,
|
|
@@ -527,7 +527,7 @@ export {
|
|
|
527
527
|
$t as e,
|
|
528
528
|
rt as f,
|
|
529
529
|
Xe as g,
|
|
530
|
-
|
|
530
|
+
J as r,
|
|
531
531
|
jt as s,
|
|
532
532
|
wt as u
|
|
533
533
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as l, x as S, _ as N, P as x, T as E } from "./identifier-C_DzvlWx.js";
|
|
2
2
|
import { a as R } from "./useForkRef-DwN_Iz9R.js";
|
|
3
3
|
import { i as C } from "./isHostComponent-kiaBvYVo.js";
|
|
4
4
|
import * as v from "react";
|
|
5
5
|
import { jsx as T } from "react/jsx-runtime";
|
|
6
|
-
import { d as _ } from "./styled-
|
|
7
|
-
import { u as k } from "./useTheme-
|
|
6
|
+
import { d as _ } from "./styled-DCjqF2JO.js";
|
|
7
|
+
import { u as k } from "./useTheme-D2TR379g.js";
|
|
8
8
|
function H(e, s, t) {
|
|
9
9
|
return e === void 0 || C(e) ? s : l({}, s, {
|
|
10
10
|
ownerState: l({}, s.ownerState, t)
|
|
@@ -18,7 +18,7 @@ function O(e, s = []) {
|
|
|
18
18
|
t[n] = e[n];
|
|
19
19
|
}), t;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function h(e) {
|
|
22
22
|
if (e === void 0)
|
|
23
23
|
return {};
|
|
24
24
|
const s = {};
|
|
@@ -41,7 +41,7 @@ function w(e) {
|
|
|
41
41
|
internalRef: void 0
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
const c = O(l({}, o, n)), a =
|
|
44
|
+
const c = O(l({}, o, n)), a = h(n), d = h(o), r = s(c), u = S(r == null ? void 0 : r.className, t == null ? void 0 : t.className, i, o == null ? void 0 : o.className, n == null ? void 0 : n.className), f = l({}, r == null ? void 0 : r.style, t == null ? void 0 : t.style, o == null ? void 0 : o.style, n == null ? void 0 : n.style), p = l({}, r, t, d, a);
|
|
45
45
|
return u.length > 0 && (p.className = u), Object.keys(f).length > 0 && (p.style = f), {
|
|
46
46
|
props: p,
|
|
47
47
|
internalRef: r.ref
|
|
@@ -78,8 +78,8 @@ function $(e) {
|
|
|
78
78
|
}, t));
|
|
79
79
|
}
|
|
80
80
|
process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
81
|
-
children:
|
|
82
|
-
value:
|
|
81
|
+
children: x.node,
|
|
82
|
+
value: x.bool
|
|
83
83
|
});
|
|
84
84
|
const M = () => {
|
|
85
85
|
const e = v.useContext(g);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./styled-C04Dz9vm.cjs"),t=require("./identifier-J0ZxxQLU.cjs"),u=require("./useThemeProps-CEfrd8SJ.cjs");function i({props:e,name:r}){return u.useThemeProps({props:e,name:r,defaultTheme:s.defaultTheme,themeId:t.THEME_ID})}exports.useThemeProps=i;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { d as m } from "./styled-DCjqF2JO.js";
|
|
2
|
+
import { T as o } from "./identifier-C_DzvlWx.js";
|
|
3
|
+
import { u as s } from "./useThemeProps-fXKB99fl.js";
|
|
4
|
+
function a({
|
|
5
|
+
props: e,
|
|
6
|
+
name: r
|
|
7
|
+
}) {
|
|
8
|
+
return s({
|
|
9
|
+
props: e,
|
|
10
|
+
name: r,
|
|
11
|
+
defaultTheme: m,
|
|
12
|
+
themeId: o
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
a as u
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgi-learning-hub/ui",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.1721901545",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "CGI Learning-hub Team",
|
|
6
6
|
"description": "@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features",
|