@solostylist/ui-kit 1.0.21 → 1.0.24
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-CYhpy9DM.js → Box-CafvePOg.js} +5 -5
- package/dist/{DefaultPropsProvider-DhE0_fCr.js → DefaultPropsProvider-Doz-fKTH.js} +2 -2
- package/dist/{Menu-DeygsmYI.js → Menu-DV6b-3vA.js} +18 -17
- package/dist/{Stack-Du2vO-iF.js → Stack-CyNMyetl.js} +5 -5
- package/dist/TransitionGroup-C2C7KNye.js +216 -0
- package/dist/{Typography-BUC2b3EE.js → Typography-BXLku1B0.js} +5 -5
- package/dist/_commonjsHelpers-B4e78b8K.js +28 -0
- package/dist/assets/s-image-gallery.css +1 -1
- package/dist/{buttonBaseClasses-D9p3ujfW.js → buttonBaseClasses-C7kEMnpC.js} +2 -2
- package/dist/{createSvgIcon-CFj_BoDp.js → createSvgIcon-C9keHw6o.js} +4 -4
- package/dist/{createTheme-DkVAXJiq.js → createTheme-DwCHEbMU.js} +1 -1
- package/dist/emotion-serialize.esm-lgBmL_7o.js +195 -0
- package/dist/{extendSxProp-oTj2mv7x.js → extendSxProp-DOBfSUxL.js} +1 -1
- package/dist/{generateUtilityClasses-DStZbN71.js → generateUtilityClasses-BHlV34bM.js} +1 -1
- package/dist/{iconButtonClasses-Dx9aLkXb.js → iconButtonClasses--mfwnDzQ.js} +2 -2
- package/dist/identifier-C1jBtHV2.js +46 -0
- package/dist/{index-8QDI4GK5.js → index-Bg8Tniaw.js} +5 -5
- package/dist/main.d.ts +2 -0
- package/dist/main.js +26 -24
- package/dist/{menuItemClasses-D9_8SIPH.js → menuItemClasses-BuWSZEU7.js} +2 -2
- package/dist/{outlinedInputClasses-DNQT_xFJ.js → outlinedInputClasses-BiB8MrLY.js} +2 -2
- package/dist/s-data-table/s-data-table.js +6 -6
- package/dist/s-dialog-confirm/s-dialog-confirm.js +1 -1
- package/dist/s-dialog-message/s-dialog-message.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +3 -3
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-form/s-form.js +10 -8
- package/dist/s-image-gallery/package.json +1 -1
- package/dist/s-label/s-label.js +7 -5
- package/dist/s-multi-select/s-multi-select.js +8 -8
- package/dist/s-select/s-select.d.ts +1 -3
- package/dist/s-smart-text-field/index.d.ts +2 -0
- package/dist/s-smart-text-field/index.js +4 -0
- package/dist/s-smart-text-field/package.json +5 -0
- package/dist/s-smart-text-field/s-text-field.d.ts +6 -0
- package/dist/s-smart-text-field/s-text-field.js +27137 -0
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +6 -1
- package/dist/s-snackbar-message/s-snackbar-message.js +13 -13
- package/dist/s-text-editor/s-text-editor-toolbar.js +12 -12
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.d.ts +3 -2
- package/dist/s-theme-provider/s-theme-provider.js +26 -24
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{selectClasses-BDdGqseQ.js → selectClasses-gIFRMjMV.js} +2 -2
- package/dist/{svgIconClasses-ByelSBlO.js → svgIconClasses-B4eDa4bG.js} +2 -2
- package/dist/theme/customizations/data-display.js +6 -6
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +5 -5
- package/dist/theme/customizations/navigation.js +16 -20
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-By7qHJ5j.js → typographyClasses-BHvgKFVi.js} +2 -2
- package/dist/useSlot-CUlGPdMt.js +969 -0
- package/dist/{useTheme-B14mI9KW.js → useTheme-Cfg4NSRM.js} +1 -1
- package/dist/utils/dayjs.js +1 -1
- package/package.json +1 -1
- package/dist/HelpOutline-BpAsfhrs.js +0 -8
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/identifier-DCmLmBSP.js +0 -234
- package/dist/useSlot-D9cy_5Wu.js +0 -1179
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as x, b as d, P as e } from "./createTheme-
|
|
2
|
-
import { s as h, c as T, T as y } from "./identifier-
|
|
3
|
-
import { g as B } from "./generateUtilityClasses-
|
|
1
|
+
import { s as x, b as d, P as e } from "./createTheme-DwCHEbMU.js";
|
|
2
|
+
import { s as h, c as T, T as y } from "./identifier-C1jBtHV2.js";
|
|
3
|
+
import { g as B } from "./generateUtilityClasses-BHlV34bM.js";
|
|
4
4
|
import * as N from "react";
|
|
5
5
|
import { j as C } from "./jsx-runtime-C5mzlN2N.js";
|
|
6
|
-
import { u as b } from "./useTheme-
|
|
7
|
-
import { e as g } from "./extendSxProp-
|
|
6
|
+
import { u as b } from "./useTheme-Cfg4NSRM.js";
|
|
7
|
+
import { e as g } from "./extendSxProp-DOBfSUxL.js";
|
|
8
8
|
import { unstable_ClassNameGenerator as j } from "@mui/utils";
|
|
9
9
|
function E(n = {}) {
|
|
10
10
|
const {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as V, e as Q, s as D, i as U, c as X, P as O, b as Y } from "./createTheme-
|
|
2
|
-
import { i as j, a as Z, s as ee, T as te } from "./identifier-
|
|
1
|
+
import { l as V, e as Q, s as D, i as U, c as X, P as O, b as Y } from "./createTheme-DwCHEbMU.js";
|
|
2
|
+
import { i as j, a as Z, s as ee, T as te } from "./identifier-C1jBtHV2.js";
|
|
3
3
|
import * as I from "react";
|
|
4
4
|
import "./jsx-runtime-C5mzlN2N.js";
|
|
5
5
|
function Ne(e, n, t = void 0) {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
2
|
import be from "react";
|
|
3
|
-
import { P as e, g as se, a as ze, p as We, l as st } from "./createTheme-
|
|
4
|
-
import { T as wt, c as ee } from "./identifier-
|
|
3
|
+
import { P as e, g as se, a as ze, p as We, l as st } from "./createTheme-DwCHEbMU.js";
|
|
4
|
+
import { T as wt, c as ee } from "./identifier-C1jBtHV2.js";
|
|
5
5
|
import { j as L } from "./jsx-runtime-C5mzlN2N.js";
|
|
6
|
-
import { d as St, u as ae, s as z, c as le, m as at, r as Ct } from "./DefaultPropsProvider-
|
|
7
|
-
import { g as ce } from "./generateUtilityClasses-
|
|
8
|
-
import {
|
|
9
|
-
import { u as
|
|
6
|
+
import { d as St, u as ae, s as z, c as le, m as at, r as Ct } from "./DefaultPropsProvider-Doz-fKTH.js";
|
|
7
|
+
import { g as ce } from "./generateUtilityClasses-BHlV34bM.js";
|
|
8
|
+
import { c as Ne, b as Mt, u as we, a as G, e as kt, m as Dt, r as It, d as jt, f as Ft, g as Lt, h as At } from "./useSlot-CUlGPdMt.js";
|
|
9
|
+
import { u as _t } from "./useTheme-Cfg4NSRM.js";
|
|
10
|
+
import { _ as $t, a as Vt, b as lt } from "./TransitionGroup-C2C7KNye.js";
|
|
10
11
|
import * as Ut from "react-dom";
|
|
11
12
|
import Ee from "react-dom";
|
|
12
13
|
import { unstable_getScrollbarSize as qt, unstable_ownerWindow as ye, unstable_ownerDocument as ie, unstable_useForkRef as Ve, unstable_getReactElementRef as ct, elementAcceptingRef as Kt, exactProp as ut, unstable_useEnhancedEffect as Ge, unstable_setRef as Xe, HTMLElementType as Bt, unstable_useEventCallback as Ye, unstable_createChainedFunction as Je } from "@mui/utils";
|
|
@@ -15,7 +16,7 @@ const zt = /* @__PURE__ */ p.createContext();
|
|
|
15
16
|
process.env.NODE_ENV !== "production" && (e.node, e.bool);
|
|
16
17
|
const Wt = () => p.useContext(zt) ?? !1;
|
|
17
18
|
function Ue() {
|
|
18
|
-
const t =
|
|
19
|
+
const t = _t(St);
|
|
19
20
|
return process.env.NODE_ENV !== "production" && p.useDebugValue(t), t[wt] || t;
|
|
20
21
|
}
|
|
21
22
|
function Gt(t, n = 166) {
|
|
@@ -59,7 +60,7 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
|
|
|
59
60
|
var Yt = function(n) {
|
|
60
61
|
return n.scrollTop;
|
|
61
62
|
}, de = "unmounted", Q = "exited", Z = "entering", re = "entered", Ae = "exiting", W = /* @__PURE__ */ function(t) {
|
|
62
|
-
|
|
63
|
+
$t(n, t);
|
|
63
64
|
function n(i, s) {
|
|
64
65
|
var o;
|
|
65
66
|
o = t.call(this, i, s) || this;
|
|
@@ -177,7 +178,7 @@ var Yt = function(n) {
|
|
|
177
178
|
return null;
|
|
178
179
|
var o = this.props, a = o.children;
|
|
179
180
|
o.in, o.mountOnEnter, o.unmountOnExit, o.appear, o.enter, o.exit, o.timeout, o.addEndListener, o.onEnter, o.onEntering, o.onEntered, o.onExit, o.onExiting, o.onExited, o.nodeRef;
|
|
180
|
-
var l =
|
|
181
|
+
var l = Vt(o, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
181
182
|
return (
|
|
182
183
|
// allows for nested Transitions
|
|
183
184
|
/* @__PURE__ */ be.createElement(lt.Provider, {
|
|
@@ -481,7 +482,7 @@ const en = {
|
|
|
481
482
|
// eslint-disable-next-line react/prop-types
|
|
482
483
|
TransitionComponent: C = W,
|
|
483
484
|
...g
|
|
484
|
-
} = n, w =
|
|
485
|
+
} = n, w = Mt(), u = p.useRef(), f = Ue(), y = p.useRef(null), S = we(y, ht(o), r), O = (d) => (h) => {
|
|
485
486
|
if (d) {
|
|
486
487
|
const j = y.current;
|
|
487
488
|
h === void 0 ? d(j) : d(j, h);
|
|
@@ -1371,7 +1372,7 @@ function vn(t) {
|
|
|
1371
1372
|
};
|
|
1372
1373
|
return {
|
|
1373
1374
|
getRootProps: (d = {}) => {
|
|
1374
|
-
const h =
|
|
1375
|
+
const h = kt(t);
|
|
1375
1376
|
delete h.onTransitionEnter, delete h.onTransitionExited;
|
|
1376
1377
|
const j = {
|
|
1377
1378
|
...h,
|
|
@@ -2120,7 +2121,7 @@ const Cn = (t) => {
|
|
|
2120
2121
|
backdrop: C.backdrop
|
|
2121
2122
|
},
|
|
2122
2123
|
slotProps: {
|
|
2123
|
-
backdrop:
|
|
2124
|
+
backdrop: Dt(typeof g.backdrop == "function" ? g.backdrop(k) : g.backdrop, {
|
|
2124
2125
|
invisible: !0
|
|
2125
2126
|
})
|
|
2126
2127
|
},
|
|
@@ -2169,7 +2170,7 @@ process.env.NODE_ENV !== "production" && (xt.propTypes = {
|
|
|
2169
2170
|
* A ref for imperative actions.
|
|
2170
2171
|
* It currently only supports updatePosition() action.
|
|
2171
2172
|
*/
|
|
2172
|
-
action:
|
|
2173
|
+
action: It,
|
|
2173
2174
|
/**
|
|
2174
2175
|
* An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
|
|
2175
2176
|
* or a function that returns either.
|
|
@@ -2293,7 +2294,7 @@ process.env.NODE_ENV !== "production" && (xt.propTypes = {
|
|
|
2293
2294
|
* @default {}
|
|
2294
2295
|
*/
|
|
2295
2296
|
PaperProps: e.shape({
|
|
2296
|
-
component:
|
|
2297
|
+
component: jt
|
|
2297
2298
|
}),
|
|
2298
2299
|
/**
|
|
2299
2300
|
* The props used for each slot inside.
|
|
@@ -2367,14 +2368,14 @@ function kn(t) {
|
|
|
2367
2368
|
ownerState: i,
|
|
2368
2369
|
skipResolvingSlotProps: s = !1,
|
|
2369
2370
|
...o
|
|
2370
|
-
} = t, a = s ? {} :
|
|
2371
|
+
} = t, a = s ? {} : Ft(r, i), {
|
|
2371
2372
|
props: l,
|
|
2372
2373
|
internalRef: c
|
|
2373
|
-
} =
|
|
2374
|
+
} = Lt({
|
|
2374
2375
|
...o,
|
|
2375
2376
|
externalSlotProps: a
|
|
2376
2377
|
}), b = we(c, a == null ? void 0 : a.ref, (v = t.additionalProps) == null ? void 0 : v.ref);
|
|
2377
|
-
return
|
|
2378
|
+
return At(n, {
|
|
2378
2379
|
...l,
|
|
2379
2380
|
ref: b
|
|
2380
2381
|
}, i);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as e, h as O, r as m, f as V, j as C, m as R, g as D, e as E, k as T } from "./createTheme-
|
|
2
|
-
import { a as N, b as F, c as B, s as M, u as w } from "./DefaultPropsProvider-
|
|
1
|
+
import { P as e, h as O, r as m, f as V, j as C, m as R, g as D, e as E, k as T } from "./createTheme-DwCHEbMU.js";
|
|
2
|
+
import { a as N, b as F, c as B, s as M, u as w } from "./DefaultPropsProvider-Doz-fKTH.js";
|
|
3
3
|
import * as f from "react";
|
|
4
|
-
import { c as G } from "./identifier-
|
|
4
|
+
import { c as G } from "./identifier-C1jBtHV2.js";
|
|
5
5
|
import { j as U } from "./jsx-runtime-C5mzlN2N.js";
|
|
6
|
-
import { e as $ } from "./extendSxProp-
|
|
7
|
-
import { u as A } from "./useTheme-
|
|
6
|
+
import { e as $ } from "./extendSxProp-DOBfSUxL.js";
|
|
7
|
+
import { u as A } from "./useTheme-Cfg4NSRM.js";
|
|
8
8
|
const _ = N();
|
|
9
9
|
function L(o) {
|
|
10
10
|
const {
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { P as f } from "./createTheme-DwCHEbMU.js";
|
|
2
|
+
import p, { isValidElement as h, cloneElement as v, Children as O } from "react";
|
|
3
|
+
function m() {
|
|
4
|
+
return m = Object.assign ? Object.assign.bind() : function(e) {
|
|
5
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
6
|
+
var r = arguments[t];
|
|
7
|
+
for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]);
|
|
8
|
+
}
|
|
9
|
+
return e;
|
|
10
|
+
}, m.apply(null, arguments);
|
|
11
|
+
}
|
|
12
|
+
function _(e, t) {
|
|
13
|
+
if (e == null) return {};
|
|
14
|
+
var r = {};
|
|
15
|
+
for (var o in e) if ({}.hasOwnProperty.call(e, o)) {
|
|
16
|
+
if (t.indexOf(o) !== -1) continue;
|
|
17
|
+
r[o] = e[o];
|
|
18
|
+
}
|
|
19
|
+
return r;
|
|
20
|
+
}
|
|
21
|
+
function g(e, t) {
|
|
22
|
+
return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) {
|
|
23
|
+
return r.__proto__ = o, r;
|
|
24
|
+
}, g(e, t);
|
|
25
|
+
}
|
|
26
|
+
function y(e, t) {
|
|
27
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, g(e, t);
|
|
28
|
+
}
|
|
29
|
+
const E = p.createContext(null);
|
|
30
|
+
function P(e) {
|
|
31
|
+
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32
|
+
return e;
|
|
33
|
+
}
|
|
34
|
+
function b(e, t) {
|
|
35
|
+
var r = function(i) {
|
|
36
|
+
return t && h(i) ? t(i) : i;
|
|
37
|
+
}, o = /* @__PURE__ */ Object.create(null);
|
|
38
|
+
return e && O.map(e, function(n) {
|
|
39
|
+
return n;
|
|
40
|
+
}).forEach(function(n) {
|
|
41
|
+
o[n.key] = r(n);
|
|
42
|
+
}), o;
|
|
43
|
+
}
|
|
44
|
+
function j(e, t) {
|
|
45
|
+
e = e || {}, t = t || {};
|
|
46
|
+
function r(d) {
|
|
47
|
+
return d in t ? t[d] : e[d];
|
|
48
|
+
}
|
|
49
|
+
var o = /* @__PURE__ */ Object.create(null), n = [];
|
|
50
|
+
for (var i in e)
|
|
51
|
+
i in t ? n.length && (o[i] = n, n = []) : n.push(i);
|
|
52
|
+
var a, u = {};
|
|
53
|
+
for (var l in t) {
|
|
54
|
+
if (o[l])
|
|
55
|
+
for (a = 0; a < o[l].length; a++) {
|
|
56
|
+
var c = o[l][a];
|
|
57
|
+
u[o[l][a]] = r(c);
|
|
58
|
+
}
|
|
59
|
+
u[l] = r(l);
|
|
60
|
+
}
|
|
61
|
+
for (a = 0; a < n.length; a++)
|
|
62
|
+
u[n[a]] = r(n[a]);
|
|
63
|
+
return u;
|
|
64
|
+
}
|
|
65
|
+
function s(e, t, r) {
|
|
66
|
+
return r[t] != null ? r[t] : e.props[t];
|
|
67
|
+
}
|
|
68
|
+
function C(e, t) {
|
|
69
|
+
return b(e.children, function(r) {
|
|
70
|
+
return v(r, {
|
|
71
|
+
onExited: t.bind(null, r),
|
|
72
|
+
in: !0,
|
|
73
|
+
appear: s(r, "appear", e),
|
|
74
|
+
enter: s(r, "enter", e),
|
|
75
|
+
exit: s(r, "exit", e)
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
function M(e, t, r) {
|
|
80
|
+
var o = b(e.children), n = j(t, o);
|
|
81
|
+
return Object.keys(n).forEach(function(i) {
|
|
82
|
+
var a = n[i];
|
|
83
|
+
if (h(a)) {
|
|
84
|
+
var u = i in t, l = i in o, c = t[i], d = h(c) && !c.props.in;
|
|
85
|
+
l && (!u || d) ? n[i] = v(a, {
|
|
86
|
+
onExited: r.bind(null, a),
|
|
87
|
+
in: !0,
|
|
88
|
+
exit: s(a, "exit", e),
|
|
89
|
+
enter: s(a, "enter", e)
|
|
90
|
+
}) : !l && u && !d ? n[i] = v(a, {
|
|
91
|
+
in: !1
|
|
92
|
+
}) : l && u && h(c) && (n[i] = v(a, {
|
|
93
|
+
onExited: r.bind(null, a),
|
|
94
|
+
in: c.props.in,
|
|
95
|
+
exit: s(a, "exit", e),
|
|
96
|
+
enter: s(a, "enter", e)
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
}), n;
|
|
100
|
+
}
|
|
101
|
+
var F = Object.values || function(e) {
|
|
102
|
+
return Object.keys(e).map(function(t) {
|
|
103
|
+
return e[t];
|
|
104
|
+
});
|
|
105
|
+
}, T = {
|
|
106
|
+
component: "div",
|
|
107
|
+
childFactory: function(t) {
|
|
108
|
+
return t;
|
|
109
|
+
}
|
|
110
|
+
}, x = /* @__PURE__ */ function(e) {
|
|
111
|
+
y(t, e);
|
|
112
|
+
function t(o, n) {
|
|
113
|
+
var i;
|
|
114
|
+
i = e.call(this, o, n) || this;
|
|
115
|
+
var a = i.handleExited.bind(P(i));
|
|
116
|
+
return i.state = {
|
|
117
|
+
contextValue: {
|
|
118
|
+
isMounting: !0
|
|
119
|
+
},
|
|
120
|
+
handleExited: a,
|
|
121
|
+
firstRender: !0
|
|
122
|
+
}, i;
|
|
123
|
+
}
|
|
124
|
+
var r = t.prototype;
|
|
125
|
+
return r.componentDidMount = function() {
|
|
126
|
+
this.mounted = !0, this.setState({
|
|
127
|
+
contextValue: {
|
|
128
|
+
isMounting: !1
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
}, r.componentWillUnmount = function() {
|
|
132
|
+
this.mounted = !1;
|
|
133
|
+
}, t.getDerivedStateFromProps = function(n, i) {
|
|
134
|
+
var a = i.children, u = i.handleExited, l = i.firstRender;
|
|
135
|
+
return {
|
|
136
|
+
children: l ? C(n, u) : M(n, a, u),
|
|
137
|
+
firstRender: !1
|
|
138
|
+
};
|
|
139
|
+
}, r.handleExited = function(n, i) {
|
|
140
|
+
var a = b(this.props.children);
|
|
141
|
+
n.key in a || (n.props.onExited && n.props.onExited(i), this.mounted && this.setState(function(u) {
|
|
142
|
+
var l = m({}, u.children);
|
|
143
|
+
return delete l[n.key], {
|
|
144
|
+
children: l
|
|
145
|
+
};
|
|
146
|
+
}));
|
|
147
|
+
}, r.render = function() {
|
|
148
|
+
var n = this.props, i = n.component, a = n.childFactory, u = _(n, ["component", "childFactory"]), l = this.state.contextValue, c = F(this.state.children).map(a);
|
|
149
|
+
return delete u.appear, delete u.enter, delete u.exit, i === null ? /* @__PURE__ */ p.createElement(E.Provider, {
|
|
150
|
+
value: l
|
|
151
|
+
}, c) : /* @__PURE__ */ p.createElement(E.Provider, {
|
|
152
|
+
value: l
|
|
153
|
+
}, /* @__PURE__ */ p.createElement(i, u, c));
|
|
154
|
+
}, t;
|
|
155
|
+
}(p.Component);
|
|
156
|
+
x.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
157
|
+
/**
|
|
158
|
+
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
|
159
|
+
* behavior by providing a `component` prop.
|
|
160
|
+
* If you use React v16+ and would like to avoid a wrapping `<div>` element
|
|
161
|
+
* you can pass in `component={null}`. This is useful if the wrapping div
|
|
162
|
+
* borks your css styles.
|
|
163
|
+
*/
|
|
164
|
+
component: f.any,
|
|
165
|
+
/**
|
|
166
|
+
* A set of `<Transition>` components, that are toggled `in` and out as they
|
|
167
|
+
* leave. the `<TransitionGroup>` will inject specific transition props, so
|
|
168
|
+
* remember to spread them through if you are wrapping the `<Transition>` as
|
|
169
|
+
* with our `<Fade>` example.
|
|
170
|
+
*
|
|
171
|
+
* While this component is meant for multiple `Transition` or `CSSTransition`
|
|
172
|
+
* children, sometimes you may want to have a single transition child with
|
|
173
|
+
* content that you want to be transitioned out and in when you change it
|
|
174
|
+
* (e.g. routes, images etc.) In that case you can change the `key` prop of
|
|
175
|
+
* the transition child as you change its content, this will cause
|
|
176
|
+
* `TransitionGroup` to transition the child out and back in.
|
|
177
|
+
*/
|
|
178
|
+
children: f.node,
|
|
179
|
+
/**
|
|
180
|
+
* A convenience prop that enables or disables appear animations
|
|
181
|
+
* for all children. Note that specifying this will override any defaults set
|
|
182
|
+
* on individual children Transitions.
|
|
183
|
+
*/
|
|
184
|
+
appear: f.bool,
|
|
185
|
+
/**
|
|
186
|
+
* A convenience prop that enables or disables enter animations
|
|
187
|
+
* for all children. Note that specifying this will override any defaults set
|
|
188
|
+
* on individual children Transitions.
|
|
189
|
+
*/
|
|
190
|
+
enter: f.bool,
|
|
191
|
+
/**
|
|
192
|
+
* A convenience prop that enables or disables exit animations
|
|
193
|
+
* for all children. Note that specifying this will override any defaults set
|
|
194
|
+
* on individual children Transitions.
|
|
195
|
+
*/
|
|
196
|
+
exit: f.bool,
|
|
197
|
+
/**
|
|
198
|
+
* You may need to apply reactive updates to a child as it is exiting.
|
|
199
|
+
* This is generally done by using `cloneElement` however in the case of an exiting
|
|
200
|
+
* child the element has already been removed and not accessible to the consumer.
|
|
201
|
+
*
|
|
202
|
+
* If you do need to update a child as it leaves you can provide a `childFactory`
|
|
203
|
+
* to wrap every child, even the ones that are leaving.
|
|
204
|
+
*
|
|
205
|
+
* @type Function(child: ReactElement) -> ReactElement
|
|
206
|
+
*/
|
|
207
|
+
childFactory: f.func
|
|
208
|
+
} : {};
|
|
209
|
+
x.defaultProps = T;
|
|
210
|
+
export {
|
|
211
|
+
x as T,
|
|
212
|
+
y as _,
|
|
213
|
+
_ as a,
|
|
214
|
+
E as b,
|
|
215
|
+
m as c
|
|
216
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as j from "react";
|
|
2
|
-
import { c, P as r } from "./createTheme-
|
|
3
|
-
import { c as O } from "./identifier-
|
|
4
|
-
import { i as S } from "./index-
|
|
5
|
-
import { u as w, s as B, c as P, m as W } from "./DefaultPropsProvider-
|
|
2
|
+
import { c, P as r } from "./createTheme-DwCHEbMU.js";
|
|
3
|
+
import { c as O } from "./identifier-C1jBtHV2.js";
|
|
4
|
+
import { i as S } from "./index-Bg8Tniaw.js";
|
|
5
|
+
import { u as w, s as B, c as P, m as W } from "./DefaultPropsProvider-Doz-fKTH.js";
|
|
6
6
|
import { c as C } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
|
-
import { g as R } from "./typographyClasses-
|
|
7
|
+
import { g as R } from "./typographyClasses-BHvgKFVi.js";
|
|
8
8
|
import { j as M } from "./jsx-runtime-C5mzlN2N.js";
|
|
9
9
|
const N = {
|
|
10
10
|
primary: !0,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
+
function f(e) {
|
|
3
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
+
}
|
|
5
|
+
function l(e) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
7
|
+
var r = e.default;
|
|
8
|
+
if (typeof r == "function") {
|
|
9
|
+
var t = function o() {
|
|
10
|
+
return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
t.prototype = r.prototype;
|
|
13
|
+
} else t = {};
|
|
14
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
|
|
15
|
+
var n = Object.getOwnPropertyDescriptor(e, o);
|
|
16
|
+
Object.defineProperty(t, o, n.get ? n : {
|
|
17
|
+
enumerable: !0,
|
|
18
|
+
get: function() {
|
|
19
|
+
return e[o];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}), t;
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
l as a,
|
|
26
|
+
u as c,
|
|
27
|
+
f as g
|
|
28
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--image-gallery-color-white: var(--s-palette-common-white);--image-gallery-color-primary: var(--s-palette-primary-main);--image-gallery-color-transparent: transparent;--image-gallery-color-overlay: var(--s-palette-action-hover);--image-gallery-color-shadow: var(--s-palette-grey-900);--image-gallery-color-dark: var(--s-palette-common-black);--image-gallery-icon-size: calc(var(--s-spacing) * 3);--image-gallery-padding: calc(var(--s-spacing))}.image-gallery-icon{color:var(--image-gallery-color-white);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--image-gallery-color-transparent);border:0;cursor:pointer;outline:none;position:absolute;z-index:4;filter:drop-shadow(0 2px 2px var(--image-gallery-color-shadow))}@media (hover: hover) and (pointer: fine){.image-gallery-icon:hover{color:var(--image-gallery-color-primary)}.image-gallery-icon:hover .image-gallery-svg{transform:scale(1.1)}}.image-gallery-icon:focus{outline:2px solid var(--image-gallery-color-primary)}.image-gallery-using-mouse .image-gallery-icon:focus{outline:none}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:var(--image-gallery-padding)}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:var(--image-gallery-icon-size);width:var(--image-gallery-icon-size)}.image-gallery-fullscreen-button{right:0}.image-gallery-play-button{left:0}.image-gallery-top-nav,.image-gallery-bottom-nav{left:50%;transform:translate(-50%)}.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:calc(var(--image-gallery-icon-size) * 2);width:var(--image-gallery-icon-size)}.image-gallery-top-nav[disabled],.image-gallery-bottom-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-top-nav{top:0}.image-gallery-bottom-nav{bottom:0}.image-gallery-left-nav,.image-gallery-right-nav{top:50%;transform:translateY(-50%)}.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:calc(var(--image-gallery-icon-size) * 2);width:var(--image-gallery-icon-size)}.image-gallery-left-nav[disabled],.image-gallery-right-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-left-nav{left:0}.image-gallery-right-nav{right:0}.image-gallery{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.image-gallery.fullscreen-modal{background:var(--image-gallery-color-dark);bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:5}.image-gallery.fullscreen-modal .image-gallery-content{top:50%;transform:translateY(-50%)}.image-gallery-content{position:relative;line-height:0;top:0}.image-gallery-content.fullscreen{background:var(--image-gallery-color-dark)}.image-gallery-content .image-gallery-slide .image-gallery-image{max-height:calc(100vh - 80px)}.image-gallery-content.image-gallery-thumbnails-left .image-gallery-slide .image-gallery-image,.image-gallery-content.image-gallery-thumbnails-right .image-gallery-slide .image-gallery-image{max-height:100vh}.image-gallery-slide-wrapper{position:relative}.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{display:inline-block;width:calc(100% - 110px)}@media (max-width: 768px){.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{width:calc(100% - 87px)}}.image-gallery-slide-wrapper.image-gallery-rtl{direction:rtl}.image-gallery-slides{line-height:0;overflow:hidden;position:relative;white-space:nowrap;text-align:center;touch-action:none}.image-gallery-slide{left:0;position:absolute;top:0;width:100%}.image-gallery-slide.image-gallery-center{position:relative}.image-gallery-slide .image-gallery-image{width:100%;object-fit:
|
|
1
|
+
:root{--image-gallery-color-white: var(--s-palette-common-white);--image-gallery-color-primary: var(--s-palette-primary-main);--image-gallery-color-transparent: transparent;--image-gallery-color-overlay: var(--s-palette-action-hover);--image-gallery-color-shadow: var(--s-palette-grey-900);--image-gallery-color-dark: var(--s-palette-common-black);--image-gallery-icon-size: calc(var(--s-spacing) * 3);--image-gallery-padding: calc(var(--s-spacing))}.image-gallery-icon{color:var(--image-gallery-color-white);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--image-gallery-color-transparent);border:0;cursor:pointer;outline:none;position:absolute;z-index:4;filter:drop-shadow(0 2px 2px var(--image-gallery-color-shadow))}@media (hover: hover) and (pointer: fine){.image-gallery-icon:hover{color:var(--image-gallery-color-primary)}.image-gallery-icon:hover .image-gallery-svg{transform:scale(1.1)}}.image-gallery-icon:focus{outline:2px solid var(--image-gallery-color-primary)}.image-gallery-using-mouse .image-gallery-icon:focus{outline:none}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:var(--image-gallery-padding)}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:var(--image-gallery-icon-size);width:var(--image-gallery-icon-size)}.image-gallery-fullscreen-button{right:0}.image-gallery-play-button{left:0}.image-gallery-top-nav,.image-gallery-bottom-nav{left:50%;transform:translate(-50%)}.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:calc(var(--image-gallery-icon-size) * 2);width:var(--image-gallery-icon-size)}.image-gallery-top-nav[disabled],.image-gallery-bottom-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-top-nav{top:0}.image-gallery-bottom-nav{bottom:0}.image-gallery-left-nav,.image-gallery-right-nav{top:50%;transform:translateY(-50%)}.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:calc(var(--image-gallery-icon-size) * 2);width:var(--image-gallery-icon-size)}.image-gallery-left-nav[disabled],.image-gallery-right-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-left-nav{left:0}.image-gallery-right-nav{right:0}.image-gallery{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.image-gallery.fullscreen-modal{background:var(--image-gallery-color-dark);bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:5}.image-gallery.fullscreen-modal .image-gallery-content{top:50%;transform:translateY(-50%)}.image-gallery-content{position:relative;line-height:0;top:0}.image-gallery-content.fullscreen{background:var(--image-gallery-color-dark)}.image-gallery-content .image-gallery-slide .image-gallery-image{max-height:calc(100vh - 80px)}.image-gallery-content.image-gallery-thumbnails-left .image-gallery-slide .image-gallery-image,.image-gallery-content.image-gallery-thumbnails-right .image-gallery-slide .image-gallery-image{max-height:100vh}.image-gallery-slide-wrapper{position:relative}.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{display:inline-block;width:calc(100% - 110px)}@media (max-width: 768px){.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{width:calc(100% - 87px)}}.image-gallery-slide-wrapper.image-gallery-rtl{direction:rtl}.image-gallery-slides{line-height:0;overflow:hidden;position:relative;white-space:nowrap;text-align:center;touch-action:none}.image-gallery-slide{left:0;position:absolute;top:0;width:100%}.image-gallery-slide.image-gallery-center{position:relative}.image-gallery-slide .image-gallery-image{width:100%;object-fit:conver}.image-gallery-slide .image-gallery-description{background:var(--image-gallery-color-overlay);bottom:70px;color:var(--image-gallery-color-white);left:0;line-height:1;padding:10px 20px;position:absolute;white-space:normal}@media (max-width: 768px){.image-gallery-slide .image-gallery-description{bottom:45px;font-size:.8em;padding:8px 15px}}.image-gallery-bullets{bottom:20px;left:0;margin:0 auto;position:absolute;right:0;width:80%;z-index:4}.image-gallery-bullets .image-gallery-bullets-container{margin:0;padding:0;text-align:center}.image-gallery-bullets .image-gallery-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--image-gallery-color-transparent);border:1px solid var(--image-gallery-color-white);border-radius:50%;box-shadow:0 2px 2px var(--image-gallery-color-dark);cursor:pointer;display:inline-block;margin:0 5px;outline:none;padding:5px;transition:all .2s ease-out}@media (max-width: 768px){.image-gallery-bullets .image-gallery-bullet{margin:0 3px;padding:3px}}@media (max-width: 480px){.image-gallery-bullets .image-gallery-bullet{padding:2.7px}}.image-gallery-bullets .image-gallery-bullet:focus{transform:scale(1.2);background:var(--image-gallery-color-primary);border:1px solid var(--image-gallery-color-primary)}.image-gallery-bullets .image-gallery-bullet.active{transform:scale(1.2);border:1px solid var(--image-gallery-color-white);background:var(--image-gallery-color-white)}@media (hover: hover) and (pointer: fine){.image-gallery-bullets .image-gallery-bullet:hover{background:var(--image-gallery-color-primary);border:1px solid var(--image-gallery-color-primary)}.image-gallery-bullets .image-gallery-bullet.active:hover{background:var(--image-gallery-color-primary)}}.image-gallery-bullets.image-gallery-bullets-vertical{left:20px;right:auto;bottom:auto;width:auto;top:50%;transform:translateY(-50%)}.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{display:block;margin:12px 0}@media (max-width: 768px){.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{margin:6px 0;padding:3px}}@media (max-width: 480px){.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{padding:2.7px}}.image-gallery-thumbnails-wrapper{position:relative}.image-gallery-thumbnails-wrapper.thumbnails-swipe-horizontal{touch-action:pan-y}.image-gallery-thumbnails-wrapper.thumbnails-swipe-vertical{touch-action:pan-x}.image-gallery-thumbnails-wrapper.thumbnails-wrapper-rtl{direction:rtl}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{display:inline-block;vertical-align:top;width:100px}@media (max-width: 768px){.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{width:81px}}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails{height:100%;width:100%;left:0;padding:0;position:absolute;top:0}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails .image-gallery-thumbnail,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails .image-gallery-thumbnail{display:block;margin-right:0;padding:0}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails .image-gallery-thumbnail+.image-gallery-thumbnail,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails .image-gallery-thumbnail+.image-gallery-thumbnail{margin-left:0;margin-top:2px}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{margin:0 5px}@media (max-width: 768px){.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{margin:0 3px}}.image-gallery-thumbnails{overflow:hidden;padding:5px 0}@media (max-width: 768px){.image-gallery-thumbnails{padding:3px 0}}.image-gallery-thumbnails .image-gallery-thumbnails-container{cursor:pointer;text-align:center;white-space:nowrap}.image-gallery-thumbnail{display:inline-block;border:4px solid var(--image-gallery-color-transparent);transition:border .3s ease-out;width:100px;background:var(--image-gallery-color-transparent);padding:0}@media (max-width: 768px){.image-gallery-thumbnail{border:3px solid var(--image-gallery-color-transparent);width:81px}}.image-gallery-thumbnail+.image-gallery-thumbnail{margin-left:2px}.image-gallery-thumbnail .image-gallery-thumbnail-inner{display:block;position:relative}.image-gallery-thumbnail .image-gallery-thumbnail-image{vertical-align:middle;width:100%;line-height:0}.image-gallery-thumbnail.active,.image-gallery-thumbnail:focus{outline:none;border:4px solid var(--image-gallery-color-primary)}@media (max-width: 768px){.image-gallery-thumbnail.active,.image-gallery-thumbnail:focus{border:3px solid var(--image-gallery-color-primary)}}@media (hover: hover) and (pointer: fine){.image-gallery-thumbnail:hover{outline:none;border:4px solid var(--image-gallery-color-primary)}}@media (hover: hover) and (pointer: fine) and (max-width: 768px){.image-gallery-thumbnail:hover{border:3px solid var(--image-gallery-color-primary)}}.image-gallery-thumbnail-label{box-sizing:border-box;color:var(--image-gallery-color-white);font-size:1em;left:0;line-height:1em;padding:5%;position:absolute;top:50%;text-shadow:0 2px 2px var(--image-gallery-color-dark);transform:translateY(-50%);white-space:normal;width:100%}@media (max-width: 768px){.image-gallery-thumbnail-label{font-size:.8em;line-height:.8em}}.image-gallery-index{background:var(--image-gallery-color-overlay);color:var(--image-gallery-color-white);line-height:1;padding:10px 20px;position:absolute;right:0;top:0;z-index:4}@media (max-width: 768px){.image-gallery-index{font-size:.8em;padding:5px 10px}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as s } from "./generateUtilityClasses-
|
|
2
|
-
import { g as e } from "./createTheme-
|
|
1
|
+
import { g as s } from "./generateUtilityClasses-BHlV34bM.js";
|
|
2
|
+
import { g as e } from "./createTheme-DwCHEbMU.js";
|
|
3
3
|
function o(t) {
|
|
4
4
|
return e("MuiButtonBase", t);
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as h from "react";
|
|
2
2
|
import { j as w } from "./jsx-runtime-C5mzlN2N.js";
|
|
3
|
-
import { c as x, P as o } from "./createTheme-
|
|
4
|
-
import { c as N } from "./identifier-
|
|
5
|
-
import { u as b, s as O, c as R, m as T } from "./DefaultPropsProvider-
|
|
6
|
-
import { g as I } from "./svgIconClasses-
|
|
3
|
+
import { c as x, P as o } from "./createTheme-DwCHEbMU.js";
|
|
4
|
+
import { c as N } from "./identifier-C1jBtHV2.js";
|
|
5
|
+
import { u as b, s as O, c as R, m as T } from "./DefaultPropsProvider-Doz-fKTH.js";
|
|
6
|
+
import { g as I } from "./svgIconClasses-B4eDa4bG.js";
|
|
7
7
|
const j = (e) => {
|
|
8
8
|
const {
|
|
9
9
|
color: r,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Lr from "react";
|
|
2
|
-
import { g as rt } from "./_commonjsHelpers-
|
|
2
|
+
import { g as rt } from "./_commonjsHelpers-B4e78b8K.js";
|
|
3
3
|
function de(e, ...r) {
|
|
4
4
|
const t = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
5
5
|
return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
|