@cgi-learning-hub/ui 1.3.3-dev.1732123246 → 1.3.3-dev.1732550407
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/{Backdrop-DorR8O-b.js → Backdrop-DcJf9G30.js} +20 -20
- package/dist/{Box-BTNw-FYi.js → Box-D9cHa8GX.js} +7 -7
- package/dist/{Button--paERYBc.js → Button-Cx05eP88.js} +14 -14
- package/dist/{ButtonBase-B0gJT_ti.js → ButtonBase-z74SMnd9.js} +17 -17
- package/dist/{Card-BVJgnURR.js → Card-mAtxoJ0p.js} +3 -3
- package/dist/{Checkbox-aBoDjdQG.js → Checkbox-Bmz9nh6k.js} +12 -12
- package/dist/{CircularProgress-CIqTwP6H.js → CircularProgress-B5osG37N.js} +16 -16
- package/dist/{DatePicker-DXgVCuAd.js → DatePicker-Ds7y4pei.js} +198 -197
- package/dist/{DatePicker-DGRD-CdO.cjs → DatePicker-MSoGmJoG.cjs} +10 -10
- package/dist/{DefaultPropsProvider-StV_SUuk.js → DefaultPropsProvider-BYFwNPLt.js} +12 -12
- package/dist/Delete-Bb_PhA6v.cjs +1 -0
- package/dist/Delete-Dip-1l7n.js +8 -0
- package/dist/{DialogContent-CP2NOfUr.js → DialogContent-B_NH_if8.js} +21 -21
- package/dist/{DialogTitle-Couh2TzJ.js → DialogTitle-Bx7712Li.js} +4 -4
- package/dist/Divider-CMuvurmv.js +296 -0
- package/dist/Divider-DlN3YfOR.cjs +1 -0
- package/dist/FormControlLabel-BDXTL5Eo.js +261 -0
- package/dist/FormControlLabel-D8GTkxJD.cjs +1 -0
- package/dist/FormGroup-CFDapyxc.cjs +1 -0
- package/dist/FormGroup-DO8m1X6w.js +95 -0
- package/dist/{FormLabel-wDh-AEMQ.js → FormLabel-B11aqT37.js} +34 -33
- package/dist/FormLabel-DcUS1c1d.cjs +2 -0
- package/dist/{Grow-4QU1bnXQ.js → Grow-BKrOFfC1.js} +4 -4
- package/dist/{IconButton-CsqR1453.js → IconButton-DLcGpM1F.js} +4 -4
- package/dist/{InputAdornment-bXTpzNQ2.js → InputAdornment-BrvfHlzv.js} +4 -4
- package/dist/{InputBase-VKt_ajuq.js → InputBase-CHytwRH8.js} +47 -49
- package/dist/InputBase-qhWgXXNd.cjs +3 -0
- package/dist/{Link-CPyeYGpa.js → Link-D_0FIsgB.js} +19 -19
- package/dist/Menu-0Hr9Yx9l.cjs +7 -0
- package/dist/Menu-ysG9uY3e.js +965 -0
- package/dist/MenuItem-BP7OsPVc.cjs +1 -0
- package/dist/{MenuItem-BFkBwBkN.js → MenuItem-DYrKaYOk.js} +69 -74
- package/dist/{Modal-BDx2_UzP.js → Modal-DT240BJZ.js} +42 -42
- package/dist/{Paper-CMUbp6SX.js → Paper-vlsh8Nca.js} +6 -6
- package/dist/{Popper-D_UryU8v.js → Popper-BSaTZXvX.js} +5 -5
- package/dist/{Portal-DVy9JFBN.js → Portal-meM40OhI.js} +3 -3
- package/dist/Radio-CW4v1BS4.js +312 -0
- package/dist/Radio-D-wbZ6M-.cjs +1 -0
- package/dist/{Select-CcnCBhBN.js → Select-CKsf044t.js} +630 -1583
- package/dist/Select-DAHsfas2.cjs +3 -0
- package/dist/{Stack-CKjrTRJB.js → Stack-DbWQHN5i.js} +22 -22
- package/dist/{SwitchBase-DYa1wGSu.js → SwitchBase-DBnju71w.js} +10 -10
- package/dist/{TableSortLabel-Czgy_sW5.js → TableSortLabel-ByZJO-zF.js} +1097 -1382
- package/dist/TableSortLabel-C0MAdw-j.cjs +98 -0
- package/dist/{Tabs-RxcUgknI.js → Tabs-BqJSX1la.js} +10 -10
- package/dist/{TextField-DvGLmvG1.cjs → TextField-C23FnJYk.cjs} +1 -1
- package/dist/{TextField-DorMAtUh.js → TextField-DVUnQAd7.js} +24 -24
- package/dist/{Tooltip-B4e9QdHI.js → Tooltip-41rGxwva.js} +44 -44
- package/dist/{Typography-B29dnCv3.js → Typography-CizHc1nM.js} +4 -4
- package/dist/components/Button/Button.es.js +11 -11
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -5
- package/dist/components/Dropzone/Dropzone.es.js +24 -2162
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +21 -22
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -0
- package/dist/components/ImagePicker/ImagePicker.d.ts +9 -0
- package/dist/components/ImagePicker/ImagePicker.es.js +148 -0
- package/dist/components/ImagePicker/index.cjs.js +1 -0
- package/dist/components/ImagePicker/index.d.ts +2 -0
- package/dist/components/ImagePicker/index.es.js +4 -0
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +7 -6
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.es.js +266 -260
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.es.js +8 -8
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +41 -12
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -0
- package/dist/components/stories/Divider.stories.d.ts +6 -0
- package/dist/components/stories/Divider.stories.es.js +41 -0
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -0
- package/dist/components/stories/FormControlLabel.stories.d.ts +9 -0
- package/dist/components/stories/FormControlLabel.stories.es.js +378 -0
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/ImagePicker.stories.cjs.js +1 -0
- package/dist/components/stories/ImagePicker.stories.d.ts +6 -0
- package/dist/components/stories/ImagePicker.stories.es.js +16 -0
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -0
- package/dist/components/stories/Menu.stories.d.ts +7 -0
- package/dist/components/stories/Menu.stories.es.js +51 -0
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +70 -372
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.es.js +10 -10
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -0
- package/dist/components/stories/Typography.stories.d.ts +6 -0
- package/dist/components/stories/Typography.stories.es.js +65 -0
- package/dist/{createSvgIcon-VByplk-r.js → createSvgIcon-BS0Qe85N.js} +3 -3
- package/dist/dividerClasses-Bp7otbbC.js +9 -0
- package/dist/dividerClasses-O0vIU6On.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-BPhL72td.js → elementTypeAcceptingRef-DOFWAguJ.js} +1 -1
- package/dist/{extendSxProp-BYB-kybW.js → extendSxProp-BpXLpaGL.js} +1 -1
- package/dist/formControlState-CuX6WjAX.cjs +1 -0
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/{fr-B4aeA9th.js → fr-Djc-bU-B.js} +1 -1
- package/dist/{identifier-BewKgEhI.js → identifier-B7MO0PvI.js} +6 -6
- package/dist/index-BtGBke8y.js +2141 -0
- package/dist/index-CEgiY5tJ.cjs +5 -0
- package/dist/{index-_oi9ph20.js → index-CKZgd5LP.js} +4 -4
- package/dist/{index-BAjSgP8k.js → index-yb8koCDz.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +266 -260
- package/dist/isHostComponent-PydJW4A4.cjs +1 -0
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/{memoTheme-B9kDhX1-.js → memoTheme-CqfvfBST.js} +1 -1
- package/dist/{refType-3o3c-kYx.js → refType-BqQbA6de.js} +1 -1
- package/dist/{resolveComponentProps-BQQ-uUKZ.js → resolveComponentProps-CYk57pLv.js} +1 -1
- package/dist/{useSlot-B2hCpx8C.js → useSlot-BSVkAc2J.js} +1 -1
- package/dist/{useTheme-0u9_WhjM.js → useTheme-CzzAEESs.js} +3 -3
- package/dist/{useTheme-BrFhq4dW.js → useTheme-DrsmidxY.js} +1 -1
- package/dist/{useThemeProps-cERu5xHk.js → useThemeProps-B9UyPpzT.js} +3 -3
- package/dist/{useThemeProps-CwWORfXn.js → useThemeProps-BFeVem33.js} +2 -2
- package/dist/{useTimeout-Br8oWWYt.js → useTimeout-Znm_nF2D.js} +1 -1
- package/dist/utils-BWx1W_q1.cjs +1 -0
- package/dist/utils-DWqc1kRF.js +13 -0
- package/dist/{utils-CH0HZgJe.js → utils-jA5a7WHN.js} +1 -1
- package/package.json +1 -1
- package/dist/FormGroup-CcM69JIS.js +0 -348
- package/dist/FormGroup-KOLND6rE.cjs +0 -1
- package/dist/FormLabel-C506NT5o.cjs +0 -2
- package/dist/InputBase-Cpx39cny.cjs +0 -3
- package/dist/MenuItem-BxXCEc8h.cjs +0 -1
- package/dist/Select-CnFa2_je.cjs +0 -9
- package/dist/TableSortLabel-Ppl9Q-SZ.cjs +0 -98
- package/dist/formControlState-DCkDUdfO.cjs +0 -1
- package/dist/formControlState-DdQP43Uo.js +0 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as U, M as Ee, a0 as he, O as Pe, Q as X,
|
|
1
|
+
import { $ as U, M as Ee, a0 as he, O as Pe, Q as X, L as _e, K as Te, P as Y, u as Re, T as be } from "./identifier-B7MO0PvI.js";
|
|
2
2
|
import * as J from "react";
|
|
3
3
|
import { jsx as we } from "react/jsx-runtime";
|
|
4
4
|
function Ke(e, o, t = void 0) {
|
|
@@ -107,7 +107,7 @@ function $e() {
|
|
|
107
107
|
return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
|
|
108
108
|
var e = Symbol.for("react.element"), o = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.server_context"), y = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), x = !1, S = !1, r = !1, T = !1, O = !1, g;
|
|
109
109
|
g = Symbol.for("react.module.reference");
|
|
110
|
-
function
|
|
110
|
+
function L(n) {
|
|
111
111
|
return !!(typeof n == "string" || typeof n == "function" || n === t || n === s || O || n === i || n === m || n === p || T || n === A || x || S || r || typeof n == "object" && n !== null && (n.$$typeof === P || n.$$typeof === E || n.$$typeof === f || n.$$typeof === u || n.$$typeof === y || // This needs to include all possible module reference object
|
|
112
112
|
// types supported by any Flight configuration anywhere since
|
|
113
113
|
// we don't know which Flight build this will end up being used
|
|
@@ -146,7 +146,7 @@ function $e() {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
var v = u, w = f, R = e, j = y, F = t, M = P, _ = E, b = o, h = s, C = i, $ = m,
|
|
149
|
+
var v = u, w = f, R = e, j = y, F = t, M = P, _ = E, b = o, h = s, C = i, $ = m, I = p, N = !1, W = !1;
|
|
150
150
|
function oe(n) {
|
|
151
151
|
return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
152
152
|
}
|
|
@@ -189,7 +189,7 @@ function $e() {
|
|
|
189
189
|
function ve(n) {
|
|
190
190
|
return l(n) === p;
|
|
191
191
|
}
|
|
192
|
-
c.ContextConsumer = v, c.ContextProvider = w, c.Element = R, c.ForwardRef = j, c.Fragment = F, c.Lazy = M, c.Memo = _, c.Portal = b, c.Profiler = h, c.StrictMode = C, c.Suspense = $, c.SuspenseList =
|
|
192
|
+
c.ContextConsumer = v, c.ContextProvider = w, c.Element = R, c.ForwardRef = j, c.Fragment = F, c.Lazy = M, c.Memo = _, c.Portal = b, c.Profiler = h, c.StrictMode = C, c.Suspense = $, c.SuspenseList = I, c.isAsyncMode = oe, c.isConcurrentMode = se, c.isContextConsumer = ie, c.isContextProvider = ae, c.isElement = ce, c.isForwardRef = ue, c.isFragment = fe, c.isLazy = le, c.isMemo = de, c.isPortal = me, c.isProfiler = ye, c.isStrictMode = pe, c.isSuspense = Se, c.isSuspenseList = ve, c.isValidElementType = L, c.typeOf = l;
|
|
193
193
|
}()), c;
|
|
194
194
|
}
|
|
195
195
|
process.env.NODE_ENV === "production" ? q.exports = Ce() : q.exports = $e();
|
|
@@ -239,7 +239,7 @@ function Oe(e) {
|
|
|
239
239
|
return e ? (o, t) => t[e] : null;
|
|
240
240
|
}
|
|
241
241
|
function Fe(e, o, t) {
|
|
242
|
-
e.theme =
|
|
242
|
+
e.theme = Ie(e.theme) ? t : e.theme[o] || e.theme;
|
|
243
243
|
}
|
|
244
244
|
function V(e, o) {
|
|
245
245
|
const t = typeof o == "function" ? o(e) : o;
|
|
@@ -314,7 +314,7 @@ function Ne(e = {}) {
|
|
|
314
314
|
p === "Root" || p === "root" ? T = i : p ? T = s : De(d) && (T = void 0);
|
|
315
315
|
const O = Pe(d, {
|
|
316
316
|
shouldForwardProp: T,
|
|
317
|
-
label:
|
|
317
|
+
label: Le(m, p),
|
|
318
318
|
...x
|
|
319
319
|
}), g = (l) => {
|
|
320
320
|
if (typeof l == "function" && l.__emotion_real !== l)
|
|
@@ -328,11 +328,11 @@ function Ne(e = {}) {
|
|
|
328
328
|
} : v.style;
|
|
329
329
|
}
|
|
330
330
|
return l;
|
|
331
|
-
},
|
|
331
|
+
}, L = (...l) => {
|
|
332
332
|
const v = [], w = l.map(g), R = [];
|
|
333
333
|
if (v.push(f), m && A && R.push(function(_) {
|
|
334
|
-
var $,
|
|
335
|
-
const h = (
|
|
334
|
+
var $, I;
|
|
335
|
+
const h = (I = ($ = _.theme.components) == null ? void 0 : $[m]) == null ? void 0 : I.styleOverrides;
|
|
336
336
|
if (!h)
|
|
337
337
|
return null;
|
|
338
338
|
const C = {};
|
|
@@ -351,17 +351,17 @@ function Ne(e = {}) {
|
|
|
351
351
|
const j = [...v, ...w, ...R], F = O(...j);
|
|
352
352
|
return d.muiName && (F.muiName = d.muiName), process.env.NODE_ENV !== "production" && (F.displayName = ge(m, p, d)), F;
|
|
353
353
|
};
|
|
354
|
-
return O.withConfig && (
|
|
354
|
+
return O.withConfig && (L.withConfig = O.withConfig), L;
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
function ge(e, o, t) {
|
|
358
358
|
return e ? `${e}${_e(o || "")}` : `Styled(${Ae(t)})`;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Le(e, o) {
|
|
361
361
|
let t;
|
|
362
362
|
return process.env.NODE_ENV !== "production" && e && (t = `${e}-${re(o || "Root")}`), t;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Ie(e) {
|
|
365
365
|
for (const o in e)
|
|
366
366
|
return !1;
|
|
367
367
|
return !0;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("./createSvgIcon-DQqazotA.cjs"),t=c.createSvgIcon(e.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete");exports.DeleteIcon=t;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
2
|
+
import { H as y, I as x, L as u, G as m, P as o } from "./identifier-B7MO0PvI.js";
|
|
3
|
+
import { u as G } from "./useTheme-CzzAEESs.js";
|
|
4
4
|
import { jsx as p } from "react/jsx-runtime";
|
|
5
|
-
import { s as f, u as S, c as w } from "./DefaultPropsProvider-
|
|
6
|
-
import { m as B } from "./memoTheme-
|
|
7
|
-
import { B as
|
|
8
|
-
import { M as Z } from "./Modal-
|
|
9
|
-
import { P as R } from "./Paper-
|
|
5
|
+
import { s as f, u as S, c as w } from "./DefaultPropsProvider-BYFwNPLt.js";
|
|
6
|
+
import { m as B } from "./memoTheme-CqfvfBST.js";
|
|
7
|
+
import { B as J, F as Q } from "./Backdrop-DcJf9G30.js";
|
|
8
|
+
import { M as Z } from "./Modal-DT240BJZ.js";
|
|
9
|
+
import { P as R } from "./Paper-vlsh8Nca.js";
|
|
10
10
|
import { u as oo } from "./useId-CK6Kn3Tn.js";
|
|
11
11
|
function eo(a) {
|
|
12
12
|
return y("MuiDialog", a);
|
|
13
13
|
}
|
|
14
14
|
const k = x("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), $ = /* @__PURE__ */ d.createContext({});
|
|
15
15
|
process.env.NODE_ENV !== "production" && ($.displayName = "DialogContext");
|
|
16
|
-
const ao = f(
|
|
16
|
+
const ao = f(J, {
|
|
17
17
|
name: "MuiDialog",
|
|
18
18
|
slot: "Backdrop",
|
|
19
19
|
overrides: (a, e) => e.backdrop
|
|
@@ -180,7 +180,7 @@ const ao = f(G, {
|
|
|
180
180
|
const r = S({
|
|
181
181
|
props: e,
|
|
182
182
|
name: "MuiDialog"
|
|
183
|
-
}), s =
|
|
183
|
+
}), s = G(), i = {
|
|
184
184
|
enter: s.transitions.duration.enteringScreen,
|
|
185
185
|
exit: s.transitions.duration.leavingScreen
|
|
186
186
|
}, {
|
|
@@ -201,21 +201,21 @@ const ao = f(G, {
|
|
|
201
201
|
open: P,
|
|
202
202
|
PaperComponent: V = R,
|
|
203
203
|
PaperProps: N = {},
|
|
204
|
-
scroll:
|
|
205
|
-
TransitionComponent:
|
|
204
|
+
scroll: Y = "paper",
|
|
205
|
+
TransitionComponent: _ = Q,
|
|
206
206
|
transitionDuration: O = i,
|
|
207
|
-
TransitionProps:
|
|
208
|
-
...
|
|
207
|
+
TransitionProps: H,
|
|
208
|
+
...K
|
|
209
209
|
} = r, b = {
|
|
210
210
|
...r,
|
|
211
211
|
disableEscapeKeyDown: T,
|
|
212
212
|
fullScreen: U,
|
|
213
213
|
fullWidth: I,
|
|
214
214
|
maxWidth: L,
|
|
215
|
-
scroll:
|
|
216
|
-
}, h = to(b), D = d.useRef(),
|
|
215
|
+
scroll: Y
|
|
216
|
+
}, h = to(b), D = d.useRef(), X = (c) => {
|
|
217
217
|
D.current = c.target === c.currentTarget;
|
|
218
|
-
},
|
|
218
|
+
}, z = (c) => {
|
|
219
219
|
M && M(c), D.current && (D.current = null, W && W(c), v && v(c, "backdropClick"));
|
|
220
220
|
}, C = oo(l), q = d.useMemo(() => ({
|
|
221
221
|
titleId: C
|
|
@@ -237,18 +237,18 @@ const ao = f(G, {
|
|
|
237
237
|
onClose: v,
|
|
238
238
|
open: P,
|
|
239
239
|
ref: t,
|
|
240
|
-
onClick:
|
|
240
|
+
onClick: z,
|
|
241
241
|
ownerState: b,
|
|
242
|
-
...
|
|
243
|
-
children: /* @__PURE__ */ p(
|
|
242
|
+
...K,
|
|
243
|
+
children: /* @__PURE__ */ p(_, {
|
|
244
244
|
appear: !0,
|
|
245
245
|
in: P,
|
|
246
246
|
timeout: O,
|
|
247
247
|
role: "presentation",
|
|
248
|
-
...
|
|
248
|
+
...H,
|
|
249
249
|
children: /* @__PURE__ */ p(so, {
|
|
250
250
|
className: m(h.container),
|
|
251
|
-
onMouseDown:
|
|
251
|
+
onMouseDown: X,
|
|
252
252
|
ownerState: b,
|
|
253
253
|
children: /* @__PURE__ */ p(io, {
|
|
254
254
|
as: V,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { s as d, r as D, u, c as f } from "./DefaultPropsProvider-
|
|
2
|
+
import { H as y, I as C, G as p, P as o } from "./identifier-B7MO0PvI.js";
|
|
3
|
+
import { s as d, r as D, u, c as f } from "./DefaultPropsProvider-BYFwNPLt.js";
|
|
4
4
|
import { jsx as g } from "react/jsx-runtime";
|
|
5
|
-
import { T as m } from "./Typography-
|
|
6
|
-
import { k as v, j as N } from "./DialogContent-
|
|
5
|
+
import { T as m } from "./Typography-CizHc1nM.js";
|
|
6
|
+
import { k as v, j as N } from "./DialogContent-B_NH_if8.js";
|
|
7
7
|
function b(s) {
|
|
8
8
|
return y("MuiDialogContentText", s);
|
|
9
9
|
}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import * as A from "react";
|
|
2
|
+
import { G as D, P as r, n as T } from "./identifier-B7MO0PvI.js";
|
|
3
|
+
import { m as b } from "./memoTheme-CqfvfBST.js";
|
|
4
|
+
import { g as R } from "./dividerClasses-Bp7otbbC.js";
|
|
5
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
6
|
+
import { s as m, u as S, c as C } from "./DefaultPropsProvider-BYFwNPLt.js";
|
|
7
|
+
const L = (e) => {
|
|
8
|
+
const {
|
|
9
|
+
absolute: t,
|
|
10
|
+
children: i,
|
|
11
|
+
classes: s,
|
|
12
|
+
flexItem: p,
|
|
13
|
+
light: l,
|
|
14
|
+
orientation: o,
|
|
15
|
+
textAlign: a,
|
|
16
|
+
variant: n
|
|
17
|
+
} = e;
|
|
18
|
+
return C({
|
|
19
|
+
root: ["root", t && "absolute", n, l && "light", o === "vertical" && "vertical", p && "flexItem", i && "withChildren", i && o === "vertical" && "withChildrenVertical", a === "right" && o !== "vertical" && "textAlignRight", a === "left" && o !== "vertical" && "textAlignLeft"],
|
|
20
|
+
wrapper: ["wrapper", o === "vertical" && "wrapperVertical"]
|
|
21
|
+
}, R, s);
|
|
22
|
+
}, O = m("div", {
|
|
23
|
+
name: "MuiDivider",
|
|
24
|
+
slot: "Root",
|
|
25
|
+
overridesResolver: (e, t) => {
|
|
26
|
+
const {
|
|
27
|
+
ownerState: i
|
|
28
|
+
} = e;
|
|
29
|
+
return [t.root, i.absolute && t.absolute, t[i.variant], i.light && t.light, i.orientation === "vertical" && t.vertical, i.flexItem && t.flexItem, i.children && t.withChildren, i.children && i.orientation === "vertical" && t.withChildrenVertical, i.textAlign === "right" && i.orientation !== "vertical" && t.textAlignRight, i.textAlign === "left" && i.orientation !== "vertical" && t.textAlignLeft];
|
|
30
|
+
}
|
|
31
|
+
})(b(({
|
|
32
|
+
theme: e
|
|
33
|
+
}) => ({
|
|
34
|
+
margin: 0,
|
|
35
|
+
// Reset browser default style.
|
|
36
|
+
flexShrink: 0,
|
|
37
|
+
borderWidth: 0,
|
|
38
|
+
borderStyle: "solid",
|
|
39
|
+
borderColor: (e.vars || e).palette.divider,
|
|
40
|
+
borderBottomWidth: "thin",
|
|
41
|
+
variants: [{
|
|
42
|
+
props: {
|
|
43
|
+
absolute: !0
|
|
44
|
+
},
|
|
45
|
+
style: {
|
|
46
|
+
position: "absolute",
|
|
47
|
+
bottom: 0,
|
|
48
|
+
left: 0,
|
|
49
|
+
width: "100%"
|
|
50
|
+
}
|
|
51
|
+
}, {
|
|
52
|
+
props: {
|
|
53
|
+
light: !0
|
|
54
|
+
},
|
|
55
|
+
style: {
|
|
56
|
+
borderColor: e.vars ? `rgba(${e.vars.palette.dividerChannel} / 0.08)` : T(e.palette.divider, 0.08)
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
59
|
+
props: {
|
|
60
|
+
variant: "inset"
|
|
61
|
+
},
|
|
62
|
+
style: {
|
|
63
|
+
marginLeft: 72
|
|
64
|
+
}
|
|
65
|
+
}, {
|
|
66
|
+
props: {
|
|
67
|
+
variant: "middle",
|
|
68
|
+
orientation: "horizontal"
|
|
69
|
+
},
|
|
70
|
+
style: {
|
|
71
|
+
marginLeft: e.spacing(2),
|
|
72
|
+
marginRight: e.spacing(2)
|
|
73
|
+
}
|
|
74
|
+
}, {
|
|
75
|
+
props: {
|
|
76
|
+
variant: "middle",
|
|
77
|
+
orientation: "vertical"
|
|
78
|
+
},
|
|
79
|
+
style: {
|
|
80
|
+
marginTop: e.spacing(1),
|
|
81
|
+
marginBottom: e.spacing(1)
|
|
82
|
+
}
|
|
83
|
+
}, {
|
|
84
|
+
props: {
|
|
85
|
+
orientation: "vertical"
|
|
86
|
+
},
|
|
87
|
+
style: {
|
|
88
|
+
height: "100%",
|
|
89
|
+
borderBottomWidth: 0,
|
|
90
|
+
borderRightWidth: "thin"
|
|
91
|
+
}
|
|
92
|
+
}, {
|
|
93
|
+
props: {
|
|
94
|
+
flexItem: !0
|
|
95
|
+
},
|
|
96
|
+
style: {
|
|
97
|
+
alignSelf: "stretch",
|
|
98
|
+
height: "auto"
|
|
99
|
+
}
|
|
100
|
+
}, {
|
|
101
|
+
props: ({
|
|
102
|
+
ownerState: t
|
|
103
|
+
}) => !!t.children,
|
|
104
|
+
style: {
|
|
105
|
+
display: "flex",
|
|
106
|
+
textAlign: "center",
|
|
107
|
+
border: 0,
|
|
108
|
+
borderTopStyle: "solid",
|
|
109
|
+
borderLeftStyle: "solid",
|
|
110
|
+
"&::before, &::after": {
|
|
111
|
+
content: '""',
|
|
112
|
+
alignSelf: "center"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}, {
|
|
116
|
+
props: ({
|
|
117
|
+
ownerState: t
|
|
118
|
+
}) => t.children && t.orientation !== "vertical",
|
|
119
|
+
style: {
|
|
120
|
+
"&::before, &::after": {
|
|
121
|
+
width: "100%",
|
|
122
|
+
borderTop: `thin solid ${(e.vars || e).palette.divider}`,
|
|
123
|
+
borderTopStyle: "inherit"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}, {
|
|
127
|
+
props: ({
|
|
128
|
+
ownerState: t
|
|
129
|
+
}) => t.orientation === "vertical" && t.children,
|
|
130
|
+
style: {
|
|
131
|
+
flexDirection: "column",
|
|
132
|
+
"&::before, &::after": {
|
|
133
|
+
height: "100%",
|
|
134
|
+
borderLeft: `thin solid ${(e.vars || e).palette.divider}`,
|
|
135
|
+
borderLeftStyle: "inherit"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}, {
|
|
139
|
+
props: ({
|
|
140
|
+
ownerState: t
|
|
141
|
+
}) => t.textAlign === "right" && t.orientation !== "vertical",
|
|
142
|
+
style: {
|
|
143
|
+
"&::before": {
|
|
144
|
+
width: "90%"
|
|
145
|
+
},
|
|
146
|
+
"&::after": {
|
|
147
|
+
width: "10%"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}, {
|
|
151
|
+
props: ({
|
|
152
|
+
ownerState: t
|
|
153
|
+
}) => t.textAlign === "left" && t.orientation !== "vertical",
|
|
154
|
+
style: {
|
|
155
|
+
"&::before": {
|
|
156
|
+
width: "10%"
|
|
157
|
+
},
|
|
158
|
+
"&::after": {
|
|
159
|
+
width: "90%"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}]
|
|
163
|
+
}))), W = m("span", {
|
|
164
|
+
name: "MuiDivider",
|
|
165
|
+
slot: "Wrapper",
|
|
166
|
+
overridesResolver: (e, t) => {
|
|
167
|
+
const {
|
|
168
|
+
ownerState: i
|
|
169
|
+
} = e;
|
|
170
|
+
return [t.wrapper, i.orientation === "vertical" && t.wrapperVertical];
|
|
171
|
+
}
|
|
172
|
+
})(b(({
|
|
173
|
+
theme: e
|
|
174
|
+
}) => ({
|
|
175
|
+
display: "inline-block",
|
|
176
|
+
paddingLeft: `calc(${e.spacing(1)} * 1.2)`,
|
|
177
|
+
paddingRight: `calc(${e.spacing(1)} * 1.2)`,
|
|
178
|
+
whiteSpace: "nowrap",
|
|
179
|
+
variants: [{
|
|
180
|
+
props: {
|
|
181
|
+
orientation: "vertical"
|
|
182
|
+
},
|
|
183
|
+
style: {
|
|
184
|
+
paddingTop: `calc(${e.spacing(1)} * 1.2)`,
|
|
185
|
+
paddingBottom: `calc(${e.spacing(1)} * 1.2)`
|
|
186
|
+
}
|
|
187
|
+
}]
|
|
188
|
+
}))), f = /* @__PURE__ */ A.forwardRef(function(t, i) {
|
|
189
|
+
const s = S({
|
|
190
|
+
props: t,
|
|
191
|
+
name: "MuiDivider"
|
|
192
|
+
}), {
|
|
193
|
+
absolute: p = !1,
|
|
194
|
+
children: l,
|
|
195
|
+
className: o,
|
|
196
|
+
orientation: a = "horizontal",
|
|
197
|
+
component: n = l || a === "vertical" ? "div" : "hr",
|
|
198
|
+
flexItem: g = !1,
|
|
199
|
+
light: u = !1,
|
|
200
|
+
role: c = n !== "hr" ? "separator" : void 0,
|
|
201
|
+
textAlign: x = "center",
|
|
202
|
+
variant: w = "fullWidth",
|
|
203
|
+
...y
|
|
204
|
+
} = s, d = {
|
|
205
|
+
...s,
|
|
206
|
+
absolute: p,
|
|
207
|
+
component: n,
|
|
208
|
+
flexItem: g,
|
|
209
|
+
light: u,
|
|
210
|
+
orientation: a,
|
|
211
|
+
role: c,
|
|
212
|
+
textAlign: x,
|
|
213
|
+
variant: w
|
|
214
|
+
}, h = L(d);
|
|
215
|
+
return /* @__PURE__ */ v(O, {
|
|
216
|
+
as: n,
|
|
217
|
+
className: D(h.root, o),
|
|
218
|
+
role: c,
|
|
219
|
+
ref: i,
|
|
220
|
+
ownerState: d,
|
|
221
|
+
"aria-orientation": c === "separator" && (n !== "hr" || a === "vertical") ? a : void 0,
|
|
222
|
+
...y,
|
|
223
|
+
children: l ? /* @__PURE__ */ v(W, {
|
|
224
|
+
className: h.wrapper,
|
|
225
|
+
ownerState: d,
|
|
226
|
+
children: l
|
|
227
|
+
}) : null
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
f && (f.muiSkipListHighlight = !0);
|
|
231
|
+
process.env.NODE_ENV !== "production" && (f.propTypes = {
|
|
232
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
233
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
234
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
235
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
236
|
+
/**
|
|
237
|
+
* Absolutely position the element.
|
|
238
|
+
* @default false
|
|
239
|
+
*/
|
|
240
|
+
absolute: r.bool,
|
|
241
|
+
/**
|
|
242
|
+
* The content of the component.
|
|
243
|
+
*/
|
|
244
|
+
children: r.node,
|
|
245
|
+
/**
|
|
246
|
+
* Override or extend the styles applied to the component.
|
|
247
|
+
*/
|
|
248
|
+
classes: r.object,
|
|
249
|
+
/**
|
|
250
|
+
* @ignore
|
|
251
|
+
*/
|
|
252
|
+
className: r.string,
|
|
253
|
+
/**
|
|
254
|
+
* The component used for the root node.
|
|
255
|
+
* Either a string to use a HTML element or a component.
|
|
256
|
+
*/
|
|
257
|
+
component: r.elementType,
|
|
258
|
+
/**
|
|
259
|
+
* If `true`, a vertical divider will have the correct height when used in flex container.
|
|
260
|
+
* (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
|
|
261
|
+
* @default false
|
|
262
|
+
*/
|
|
263
|
+
flexItem: r.bool,
|
|
264
|
+
/**
|
|
265
|
+
* If `true`, the divider will have a lighter color.
|
|
266
|
+
* @default false
|
|
267
|
+
* @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
268
|
+
*/
|
|
269
|
+
light: r.bool,
|
|
270
|
+
/**
|
|
271
|
+
* The component orientation.
|
|
272
|
+
* @default 'horizontal'
|
|
273
|
+
*/
|
|
274
|
+
orientation: r.oneOf(["horizontal", "vertical"]),
|
|
275
|
+
/**
|
|
276
|
+
* @ignore
|
|
277
|
+
*/
|
|
278
|
+
role: r.string,
|
|
279
|
+
/**
|
|
280
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
281
|
+
*/
|
|
282
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
283
|
+
/**
|
|
284
|
+
* The text alignment.
|
|
285
|
+
* @default 'center'
|
|
286
|
+
*/
|
|
287
|
+
textAlign: r.oneOf(["center", "left", "right"]),
|
|
288
|
+
/**
|
|
289
|
+
* The variant to use.
|
|
290
|
+
* @default 'fullWidth'
|
|
291
|
+
*/
|
|
292
|
+
variant: r.oneOfType([r.oneOf(["fullWidth", "inset", "middle"]), r.string])
|
|
293
|
+
});
|
|
294
|
+
export {
|
|
295
|
+
f as D
|
|
296
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const P=require("react"),i=require("./identifier-DTh6b5Gz.cjs"),y=require("./memoTheme-DJBS0nbO.cjs"),w=require("./dividerClasses-O0vIU6On.cjs"),u=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-eVMpAUQg.cjs");function D(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const O=D(P),R=t=>{const{absolute:e,children:r,classes:o,flexItem:d,light:s,orientation:n,textAlign:a,variant:l}=t,f={root:["root",e&&"absolute",l,s&&"light",n==="vertical"&&"vertical",d&&"flexItem",r&&"withChildren",r&&n==="vertical"&&"withChildrenVertical",a==="right"&&n!=="vertical"&&"textAlignRight",a==="left"&&n!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",n==="vertical"&&"wrapperVertical"]};return c.composeClasses(f,w.getDividerUtilityClass,o)},S=c.styled("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,r.orientation==="vertical"&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&r.orientation==="vertical"&&e.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&e.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&e.textAlignLeft]}})(y.memoTheme(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:i.alpha(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),A=c.styled("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.wrapper,r.orientation==="vertical"&&e.wrapperVertical]}})(y.memoTheme(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),p=O.forwardRef(function(e,r){const o=c.useDefaultProps({props:e,name:"MuiDivider"}),{absolute:d=!1,children:s,className:n,orientation:a="horizontal",component:l=s||a==="vertical"?"div":"hr",flexItem:f=!1,light:b=!1,role:g=l!=="hr"?"separator":void 0,textAlign:T="center",variant:m="fullWidth",...x}=o,v={...o,absolute:d,component:l,flexItem:f,light:b,orientation:a,role:g,textAlign:T,variant:m},h=R(v);return u.jsx(S,{as:l,className:i.clsx(h.root,n),role:g,ref:r,ownerState:v,"aria-orientation":g==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...x,children:s?u.jsx(A,{className:h.wrapper,ownerState:v,children:s}):null})});p&&(p.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(p.propTypes={absolute:i.PropTypes.bool,children:i.PropTypes.node,classes:i.PropTypes.object,className:i.PropTypes.string,component:i.PropTypes.elementType,flexItem:i.PropTypes.bool,light:i.PropTypes.bool,orientation:i.PropTypes.oneOf(["horizontal","vertical"]),role:i.PropTypes.string,sx:i.PropTypes.oneOfType([i.PropTypes.arrayOf(i.PropTypes.oneOfType([i.PropTypes.func,i.PropTypes.object,i.PropTypes.bool])),i.PropTypes.func,i.PropTypes.object]),textAlign:i.PropTypes.oneOf(["center","left","right"]),variant:i.PropTypes.oneOfType([i.PropTypes.oneOf(["fullWidth","inset","middle"]),i.PropTypes.string])});exports.Divider=p;
|