jcicl 0.0.29 → 0.0.31
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/.chunks/ButtonBase.js +1 -2
- package/.chunks/DefaultPropsProvider.js +8 -11
- package/.chunks/TransitionGroupContext.js +297 -69
- package/base/Button/Button.js +8 -8
- package/base/Input/Input.js +4695 -1605
- package/composite/List/List.d.ts +1 -0
- package/composite/List/List.js +23 -22
- package/composite/List/ListButton.d.ts +2 -0
- package/composite/List/ListButton.js +12 -23
- package/index.d.ts +1 -1
- package/index.js +20 -23
- package/package.json +1 -1
- package/supercomposite/AppHeader/AppHeader.js +17 -18
- package/supercomposite/index.d.ts +0 -1
- package/supercomposite/index.js +2 -4
- package/templates/index.d.ts +0 -1
- package/templates/index.js +1 -3
- package/.chunks/ListContext.js +0 -6
- package/.chunks/Menu.js +0 -3021
- package/.chunks/NavLink.js +0 -436
- package/.chunks/NavLinkButton.js +0 -259
- package/.chunks/emotion-react.browser.esm.js +0 -231
- package/.chunks/index.js +0 -131
- package/.chunks/isHostComponent.js +0 -17
- package/.chunks/jocologo.js +0 -4
- package/supercomposite/AppBar/AppBar.d.ts +0 -5
- package/supercomposite/AppBar/AppBar.js +0 -361
- package/supercomposite/AppBar/index.d.ts +0 -1
- package/supercomposite/AppBar/index.js +0 -4
- package/supercomposite/OldNav/Nav.d.ts +0 -13
- package/supercomposite/OldNav/Nav.js +0 -626
- package/supercomposite/OldNav/index.d.ts +0 -2
- package/supercomposite/OldNav/index.js +0 -4
- package/supercomposite/OldNav/subcomponents/NavItem/NavItem.d.ts +0 -3
- package/supercomposite/OldNav/subcomponents/NavItem/NavItem.js +0 -34
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavLink.d.ts +0 -3
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavLink.js +0 -8
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavLinkButton.d.ts +0 -19
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavLinkButton.js +0 -8
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavLinkText.d.ts +0 -8
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavLinkText.js +0 -425
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavMenu.d.ts +0 -20
- package/supercomposite/OldNav/subcomponents/NavItem/subcomponents/NavMenu.js +0 -432
- package/supercomposite/OldNav/subcomponents/NavItem/types.d.ts +0 -12
- package/supercomposite/OldNav/subcomponents/NavItem/types.js +0 -1
- package/supercomposite/OldNav/types.d.ts +0 -2
- package/supercomposite/OldNav/types.js +0 -1
- package/templates/BasicPage/BasicPage.d.ts +0 -9
- package/templates/BasicPage/BasicPage.js +0 -31
- package/templates/BasicPage/index.d.ts +0 -1
- package/templates/BasicPage/index.js +0 -4
package/.chunks/ButtonBase.js
CHANGED
|
@@ -5,8 +5,7 @@ import * as d from "react";
|
|
|
5
5
|
import W, { Children as Oe, isValidElement as G, cloneElement as J } from "react";
|
|
6
6
|
import { P as e, c as E, g as fe, s as te, u as de, a as je, b as Fe } from "./DefaultPropsProvider.js";
|
|
7
7
|
import { jsx as U, jsxs as Ie } from "react/jsx-runtime";
|
|
8
|
-
import { k as ne } from "./
|
|
9
|
-
import { d as Ue, _ as $e, f as ze, T as le, b as _e, a as ce, g as H, r as Ae, e as Xe } from "./TransitionGroupContext.js";
|
|
8
|
+
import { u as Ue, _ as $e, a as ze, T as le, k as ne, b as _e, c as ce, d as H, r as Ae, e as Xe } from "./TransitionGroupContext.js";
|
|
10
9
|
import { _ as Ye } from "./emotion-styled.browser.esm.js";
|
|
11
10
|
function pe(n) {
|
|
12
11
|
try {
|
|
@@ -3265,20 +3265,17 @@ export {
|
|
|
3265
3265
|
jo as c,
|
|
3266
3266
|
Fn as d,
|
|
3267
3267
|
mr as e,
|
|
3268
|
-
|
|
3268
|
+
lr as f,
|
|
3269
3269
|
Do as g,
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
Ro as o,
|
|
3270
|
+
nt as h,
|
|
3271
|
+
_o as i,
|
|
3272
|
+
ye as j,
|
|
3273
|
+
ie as k,
|
|
3274
|
+
Ir as l,
|
|
3275
|
+
yo as m,
|
|
3276
|
+
Ro as n,
|
|
3278
3277
|
xn as p,
|
|
3279
|
-
Ir as q,
|
|
3280
3278
|
ko as r,
|
|
3281
3279
|
Bo as s,
|
|
3282
|
-
yo as t,
|
|
3283
3280
|
Fo as u
|
|
3284
3281
|
};
|
|
@@ -1,114 +1,342 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { P
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
var de = Object.defineProperty;
|
|
2
|
+
var ye = (e, t, o) => t in e ? de(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var C = (e, t, o) => ye(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import { P } from "./DefaultPropsProvider.js";
|
|
5
|
+
import * as T from "react";
|
|
6
|
+
import pe from "react";
|
|
7
|
+
import { s as V, w as Ee, T as ve, u as L, a as Se } from "./emotion-styled.browser.esm.js";
|
|
8
|
+
function _e(e, t) {
|
|
9
|
+
return process.env.NODE_ENV === "production" ? () => null : function(...u) {
|
|
10
|
+
return e(...u) || t(...u);
|
|
10
11
|
};
|
|
11
12
|
}
|
|
12
|
-
function
|
|
13
|
+
function Te(e) {
|
|
13
14
|
const {
|
|
14
15
|
prototype: t = {}
|
|
15
16
|
} = e;
|
|
16
17
|
return !!t.isReactComponent;
|
|
17
18
|
}
|
|
18
|
-
function
|
|
19
|
-
const
|
|
20
|
-
if (
|
|
19
|
+
function Re(e, t, o, u, d) {
|
|
20
|
+
const c = e[t], i = d || t;
|
|
21
|
+
if (c == null || // When server-side rendering React doesn't warn either.
|
|
21
22
|
// This is not an accurate check for SSR.
|
|
22
23
|
// This is only in place for emotion compat.
|
|
23
24
|
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
24
25
|
typeof window > "u")
|
|
25
26
|
return null;
|
|
26
|
-
let
|
|
27
|
-
return typeof
|
|
27
|
+
let f;
|
|
28
|
+
return typeof c == "function" && !Te(c) && (f = "Did you accidentally provide a plain function component instead?"), f !== void 0 ? new Error(`Invalid ${u} \`${i}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${f} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
28
29
|
}
|
|
29
|
-
const
|
|
30
|
-
function
|
|
30
|
+
const Le = _e(P.elementType, Re), De = P.oneOfType([P.func, P.object]);
|
|
31
|
+
function be(e, t) {
|
|
31
32
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
32
33
|
}
|
|
33
|
-
const
|
|
34
|
-
function
|
|
35
|
-
const t =
|
|
36
|
-
return
|
|
34
|
+
const Ce = typeof window < "u" ? T.useLayoutEffect : T.useEffect;
|
|
35
|
+
function ze(e) {
|
|
36
|
+
const t = T.useRef(e);
|
|
37
|
+
return Ce(() => {
|
|
37
38
|
t.current = e;
|
|
38
|
-
}),
|
|
39
|
+
}), T.useRef((...o) => (
|
|
39
40
|
// @ts-expect-error hide `this`
|
|
40
|
-
(0, t.current)(...
|
|
41
|
+
(0, t.current)(...o)
|
|
41
42
|
)).current;
|
|
42
43
|
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
45
|
-
e.forEach((
|
|
46
|
-
|
|
44
|
+
function ke(...e) {
|
|
45
|
+
return T.useMemo(() => e.every((t) => t == null) ? null : (t) => {
|
|
46
|
+
e.forEach((o) => {
|
|
47
|
+
be(o, t);
|
|
47
48
|
});
|
|
48
49
|
}, e);
|
|
49
50
|
}
|
|
50
|
-
const
|
|
51
|
-
function
|
|
52
|
-
const
|
|
53
|
-
return
|
|
51
|
+
const D = {};
|
|
52
|
+
function Pe(e, t) {
|
|
53
|
+
const o = T.useRef(D);
|
|
54
|
+
return o.current === D && (o.current = e(t)), o;
|
|
54
55
|
}
|
|
55
|
-
const
|
|
56
|
-
function
|
|
57
|
-
|
|
56
|
+
const $e = [];
|
|
57
|
+
function xe(e) {
|
|
58
|
+
T.useEffect(e, $e);
|
|
58
59
|
}
|
|
59
|
-
class
|
|
60
|
+
class w {
|
|
60
61
|
constructor() {
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
C(this, "currentId", null);
|
|
63
|
+
C(this, "clear", () => {
|
|
63
64
|
this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
|
|
64
65
|
});
|
|
65
|
-
|
|
66
|
+
C(this, "disposeEffect", () => this.clear);
|
|
66
67
|
}
|
|
67
68
|
static create() {
|
|
68
|
-
return new
|
|
69
|
+
return new w();
|
|
69
70
|
}
|
|
70
71
|
/**
|
|
71
72
|
* Executes `fn` after `delay`, clearing any previously scheduled call.
|
|
72
73
|
*/
|
|
73
|
-
start(t,
|
|
74
|
+
start(t, o) {
|
|
74
75
|
this.clear(), this.currentId = setTimeout(() => {
|
|
75
|
-
this.currentId = null,
|
|
76
|
+
this.currentId = null, o();
|
|
76
77
|
}, t);
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
-
const e =
|
|
81
|
-
return
|
|
80
|
+
function Ve() {
|
|
81
|
+
const e = Pe(w.create).current;
|
|
82
|
+
return xe(e.disposeEffect), e;
|
|
82
83
|
}
|
|
83
|
-
|
|
84
|
+
var g = { exports: {} }, s = {};
|
|
85
|
+
/** @license React v16.13.1
|
|
86
|
+
* react-is.production.min.js
|
|
87
|
+
*
|
|
88
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
89
|
+
*
|
|
90
|
+
* This source code is licensed under the MIT license found in the
|
|
91
|
+
* LICENSE file in the root directory of this source tree.
|
|
92
|
+
*/
|
|
93
|
+
var z;
|
|
94
|
+
function he() {
|
|
95
|
+
if (z) return s;
|
|
96
|
+
z = 1;
|
|
97
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, u = e ? Symbol.for("react.fragment") : 60107, d = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, E = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, $ = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
98
|
+
function m(r) {
|
|
99
|
+
if (typeof r == "object" && r !== null) {
|
|
100
|
+
var R = r.$$typeof;
|
|
101
|
+
switch (R) {
|
|
102
|
+
case t:
|
|
103
|
+
switch (r = r.type, r) {
|
|
104
|
+
case y:
|
|
105
|
+
case p:
|
|
106
|
+
case u:
|
|
107
|
+
case c:
|
|
108
|
+
case d:
|
|
109
|
+
case v:
|
|
110
|
+
return r;
|
|
111
|
+
default:
|
|
112
|
+
switch (r = r && r.$$typeof, r) {
|
|
113
|
+
case f:
|
|
114
|
+
case E:
|
|
115
|
+
case _:
|
|
116
|
+
case S:
|
|
117
|
+
case i:
|
|
118
|
+
return r;
|
|
119
|
+
default:
|
|
120
|
+
return R;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
case o:
|
|
124
|
+
return R;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function l(r) {
|
|
129
|
+
return m(r) === p;
|
|
130
|
+
}
|
|
131
|
+
return s.AsyncMode = y, s.ConcurrentMode = p, s.ContextConsumer = f, s.ContextProvider = i, s.Element = t, s.ForwardRef = E, s.Fragment = u, s.Lazy = _, s.Memo = S, s.Portal = o, s.Profiler = c, s.StrictMode = d, s.Suspense = v, s.isAsyncMode = function(r) {
|
|
132
|
+
return l(r) || m(r) === y;
|
|
133
|
+
}, s.isConcurrentMode = l, s.isContextConsumer = function(r) {
|
|
134
|
+
return m(r) === f;
|
|
135
|
+
}, s.isContextProvider = function(r) {
|
|
136
|
+
return m(r) === i;
|
|
137
|
+
}, s.isElement = function(r) {
|
|
138
|
+
return typeof r == "object" && r !== null && r.$$typeof === t;
|
|
139
|
+
}, s.isForwardRef = function(r) {
|
|
140
|
+
return m(r) === E;
|
|
141
|
+
}, s.isFragment = function(r) {
|
|
142
|
+
return m(r) === u;
|
|
143
|
+
}, s.isLazy = function(r) {
|
|
144
|
+
return m(r) === _;
|
|
145
|
+
}, s.isMemo = function(r) {
|
|
146
|
+
return m(r) === S;
|
|
147
|
+
}, s.isPortal = function(r) {
|
|
148
|
+
return m(r) === o;
|
|
149
|
+
}, s.isProfiler = function(r) {
|
|
150
|
+
return m(r) === c;
|
|
151
|
+
}, s.isStrictMode = function(r) {
|
|
152
|
+
return m(r) === d;
|
|
153
|
+
}, s.isSuspense = function(r) {
|
|
154
|
+
return m(r) === v;
|
|
155
|
+
}, s.isValidElementType = function(r) {
|
|
156
|
+
return typeof r == "string" || typeof r == "function" || r === u || r === p || r === c || r === d || r === v || r === $ || typeof r == "object" && r !== null && (r.$$typeof === _ || r.$$typeof === S || r.$$typeof === i || r.$$typeof === f || r.$$typeof === E || r.$$typeof === h || r.$$typeof === A || r.$$typeof === M || r.$$typeof === x);
|
|
157
|
+
}, s.typeOf = m, s;
|
|
158
|
+
}
|
|
159
|
+
var a = {};
|
|
160
|
+
/** @license React v16.13.1
|
|
161
|
+
* react-is.development.js
|
|
162
|
+
*
|
|
163
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
164
|
+
*
|
|
165
|
+
* This source code is licensed under the MIT license found in the
|
|
166
|
+
* LICENSE file in the root directory of this source tree.
|
|
167
|
+
*/
|
|
168
|
+
var k;
|
|
169
|
+
function Ae() {
|
|
170
|
+
return k || (k = 1, process.env.NODE_ENV !== "production" && function() {
|
|
171
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, u = e ? Symbol.for("react.fragment") : 60107, d = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, E = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, $ = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
172
|
+
function m(n) {
|
|
173
|
+
return typeof n == "string" || typeof n == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
174
|
+
n === u || n === p || n === c || n === d || n === v || n === $ || typeof n == "object" && n !== null && (n.$$typeof === _ || n.$$typeof === S || n.$$typeof === i || n.$$typeof === f || n.$$typeof === E || n.$$typeof === h || n.$$typeof === A || n.$$typeof === M || n.$$typeof === x);
|
|
175
|
+
}
|
|
176
|
+
function l(n) {
|
|
177
|
+
if (typeof n == "object" && n !== null) {
|
|
178
|
+
var I = n.$$typeof;
|
|
179
|
+
switch (I) {
|
|
180
|
+
case t:
|
|
181
|
+
var b = n.type;
|
|
182
|
+
switch (b) {
|
|
183
|
+
case y:
|
|
184
|
+
case p:
|
|
185
|
+
case u:
|
|
186
|
+
case c:
|
|
187
|
+
case d:
|
|
188
|
+
case v:
|
|
189
|
+
return b;
|
|
190
|
+
default:
|
|
191
|
+
var N = b && b.$$typeof;
|
|
192
|
+
switch (N) {
|
|
193
|
+
case f:
|
|
194
|
+
case E:
|
|
195
|
+
case _:
|
|
196
|
+
case S:
|
|
197
|
+
case i:
|
|
198
|
+
return N;
|
|
199
|
+
default:
|
|
200
|
+
return I;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
case o:
|
|
204
|
+
return I;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
var r = y, R = p, j = f, W = i, G = t, B = E, Z = u, H = _, K = S, X = o, J = c, Q = d, ee = v, F = !1;
|
|
209
|
+
function re(n) {
|
|
210
|
+
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Y(n) || l(n) === y;
|
|
211
|
+
}
|
|
212
|
+
function Y(n) {
|
|
213
|
+
return l(n) === p;
|
|
214
|
+
}
|
|
215
|
+
function te(n) {
|
|
216
|
+
return l(n) === f;
|
|
217
|
+
}
|
|
218
|
+
function ne(n) {
|
|
219
|
+
return l(n) === i;
|
|
220
|
+
}
|
|
221
|
+
function oe(n) {
|
|
222
|
+
return typeof n == "object" && n !== null && n.$$typeof === t;
|
|
223
|
+
}
|
|
224
|
+
function se(n) {
|
|
225
|
+
return l(n) === E;
|
|
226
|
+
}
|
|
227
|
+
function ae(n) {
|
|
228
|
+
return l(n) === u;
|
|
229
|
+
}
|
|
230
|
+
function ue(n) {
|
|
231
|
+
return l(n) === _;
|
|
232
|
+
}
|
|
233
|
+
function ie(n) {
|
|
234
|
+
return l(n) === S;
|
|
235
|
+
}
|
|
236
|
+
function ce(n) {
|
|
237
|
+
return l(n) === o;
|
|
238
|
+
}
|
|
239
|
+
function fe(n) {
|
|
240
|
+
return l(n) === c;
|
|
241
|
+
}
|
|
242
|
+
function le(n) {
|
|
243
|
+
return l(n) === d;
|
|
244
|
+
}
|
|
245
|
+
function me(n) {
|
|
246
|
+
return l(n) === v;
|
|
247
|
+
}
|
|
248
|
+
a.AsyncMode = r, a.ConcurrentMode = R, a.ContextConsumer = j, a.ContextProvider = W, a.Element = G, a.ForwardRef = B, a.Fragment = Z, a.Lazy = H, a.Memo = K, a.Portal = X, a.Profiler = J, a.StrictMode = Q, a.Suspense = ee, a.isAsyncMode = re, a.isConcurrentMode = Y, a.isContextConsumer = te, a.isContextProvider = ne, a.isElement = oe, a.isForwardRef = se, a.isFragment = ae, a.isLazy = ue, a.isMemo = ie, a.isPortal = ce, a.isProfiler = fe, a.isStrictMode = le, a.isSuspense = me, a.isValidElementType = m, a.typeOf = l;
|
|
249
|
+
}()), a;
|
|
250
|
+
}
|
|
251
|
+
process.env.NODE_ENV === "production" ? g.exports = he() : g.exports = Ae();
|
|
252
|
+
var Me = g.exports, q = Me, Ie = {
|
|
253
|
+
$$typeof: !0,
|
|
254
|
+
render: !0,
|
|
255
|
+
defaultProps: !0,
|
|
256
|
+
displayName: !0,
|
|
257
|
+
propTypes: !0
|
|
258
|
+
}, ge = {
|
|
259
|
+
$$typeof: !0,
|
|
260
|
+
compare: !0,
|
|
261
|
+
defaultProps: !0,
|
|
262
|
+
displayName: !0,
|
|
263
|
+
propTypes: !0,
|
|
264
|
+
type: !0
|
|
265
|
+
}, U = {};
|
|
266
|
+
U[q.ForwardRef] = Ie;
|
|
267
|
+
U[q.Memo] = ge;
|
|
268
|
+
var qe = /* @__PURE__ */ Ee(function(e, t) {
|
|
269
|
+
var o = e.styles, u = V([o], void 0, T.useContext(ve)), d = T.useRef();
|
|
270
|
+
return L(function() {
|
|
271
|
+
var c = t.key + "-global", i = new t.sheet.constructor({
|
|
272
|
+
key: c,
|
|
273
|
+
nonce: t.sheet.nonce,
|
|
274
|
+
container: t.sheet.container,
|
|
275
|
+
speedy: t.sheet.isSpeedy
|
|
276
|
+
}), f = !1, y = document.querySelector('style[data-emotion="' + c + " " + u.name + '"]');
|
|
277
|
+
return t.sheet.tags.length && (i.before = t.sheet.tags[0]), y !== null && (f = !0, y.setAttribute("data-emotion", c), i.hydrate([y])), d.current = [i, f], function() {
|
|
278
|
+
i.flush();
|
|
279
|
+
};
|
|
280
|
+
}, [t]), L(function() {
|
|
281
|
+
var c = d.current, i = c[0], f = c[1];
|
|
282
|
+
if (f) {
|
|
283
|
+
c[1] = !1;
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
if (u.next !== void 0 && Se(t, u.next, !0), i.tags.length) {
|
|
287
|
+
var y = i.tags[i.tags.length - 1].nextElementSibling;
|
|
288
|
+
i.before = y, i.flush();
|
|
289
|
+
}
|
|
290
|
+
t.insert("", u, i, !1);
|
|
291
|
+
}, [t, u.name]), null;
|
|
292
|
+
});
|
|
293
|
+
function Oe() {
|
|
294
|
+
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
295
|
+
t[o] = arguments[o];
|
|
296
|
+
return V(t);
|
|
297
|
+
}
|
|
298
|
+
var Ue = function() {
|
|
299
|
+
var t = Oe.apply(void 0, arguments), o = "animation-" + t.name;
|
|
300
|
+
return {
|
|
301
|
+
name: o,
|
|
302
|
+
styles: "@keyframes " + o + "{" + t.styles + "}",
|
|
303
|
+
anim: 1,
|
|
304
|
+
toString: function() {
|
|
305
|
+
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
function je(e, t) {
|
|
84
310
|
if (e == null) return {};
|
|
85
|
-
var
|
|
86
|
-
for (var
|
|
87
|
-
if (t.includes(
|
|
88
|
-
|
|
311
|
+
var o = {};
|
|
312
|
+
for (var u in e) if ({}.hasOwnProperty.call(e, u)) {
|
|
313
|
+
if (t.includes(u)) continue;
|
|
314
|
+
o[u] = e[u];
|
|
89
315
|
}
|
|
90
|
-
return
|
|
316
|
+
return o;
|
|
91
317
|
}
|
|
92
|
-
function
|
|
93
|
-
return
|
|
94
|
-
return
|
|
95
|
-
},
|
|
318
|
+
function O(e, t) {
|
|
319
|
+
return O = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, u) {
|
|
320
|
+
return o.__proto__ = u, o;
|
|
321
|
+
}, O(e, t);
|
|
96
322
|
}
|
|
97
|
-
function
|
|
98
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
323
|
+
function We(e, t) {
|
|
324
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, O(e, t);
|
|
99
325
|
}
|
|
100
|
-
const
|
|
326
|
+
const Ge = pe.createContext(null);
|
|
101
327
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
328
|
+
qe as G,
|
|
329
|
+
Ge as T,
|
|
330
|
+
We as _,
|
|
331
|
+
je as a,
|
|
332
|
+
Ve as b,
|
|
333
|
+
ke as c,
|
|
334
|
+
ze as d,
|
|
335
|
+
Le as e,
|
|
336
|
+
_e as f,
|
|
337
|
+
Ce as g,
|
|
338
|
+
Ue as k,
|
|
339
|
+
De as r,
|
|
340
|
+
be as s,
|
|
341
|
+
Pe as u
|
|
114
342
|
};
|
package/base/Button/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as D, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import { a as F, g as U, s as c, r as _, e,
|
|
3
|
+
import { a as F, g as U, s as c, r as _, e, f as H, u as A, c as w, P as t, b as q, d as b } from "../../.chunks/DefaultPropsProvider.js";
|
|
4
4
|
import { m as J } from "../../.chunks/memoTheme.js";
|
|
5
5
|
import { c as K } from "../../.chunks/createSimplePaletteValueFilter.js";
|
|
6
6
|
import { B as Q } from "../../.chunks/ButtonBase.js";
|
|
@@ -20,16 +20,16 @@ const Y = (o) => {
|
|
|
20
20
|
size: s,
|
|
21
21
|
variant: p,
|
|
22
22
|
classes: u
|
|
23
|
-
} = o,
|
|
23
|
+
} = o, f = {
|
|
24
24
|
root: ["root", p, `${p}${e(a)}`, `size${e(s)}`, `${p}Size${e(s)}`, `color${e(a)}`, n && "disableElevation", r && "fullWidth"],
|
|
25
25
|
label: ["label"],
|
|
26
26
|
startIcon: ["icon", "startIcon", `iconSize${e(s)}`],
|
|
27
27
|
endIcon: ["icon", "endIcon", `iconSize${e(s)}`]
|
|
28
|
-
},
|
|
28
|
+
}, y = q(f, X, u);
|
|
29
29
|
return {
|
|
30
30
|
...u,
|
|
31
31
|
// forward the focused, disabled, etc. classes to the ButtonBase
|
|
32
|
-
...
|
|
32
|
+
...y
|
|
33
33
|
};
|
|
34
34
|
}, O = [{
|
|
35
35
|
props: {
|
|
@@ -301,8 +301,8 @@ const Y = (o) => {
|
|
|
301
301
|
props: p,
|
|
302
302
|
name: "MuiButton"
|
|
303
303
|
}), {
|
|
304
|
-
children:
|
|
305
|
-
color:
|
|
304
|
+
children: f,
|
|
305
|
+
color: y = "primary",
|
|
306
306
|
component: S = "button",
|
|
307
307
|
className: N,
|
|
308
308
|
disabled: z = !1,
|
|
@@ -318,7 +318,7 @@ const Y = (o) => {
|
|
|
318
318
|
...V
|
|
319
319
|
} = u, x = {
|
|
320
320
|
...u,
|
|
321
|
-
color:
|
|
321
|
+
color: y,
|
|
322
322
|
component: S,
|
|
323
323
|
disabled: z,
|
|
324
324
|
disableElevation: k,
|
|
@@ -347,7 +347,7 @@ const Y = (o) => {
|
|
|
347
347
|
type: m,
|
|
348
348
|
...V,
|
|
349
349
|
classes: v,
|
|
350
|
-
children: [L,
|
|
350
|
+
children: [L, f, j]
|
|
351
351
|
});
|
|
352
352
|
});
|
|
353
353
|
process.env.NODE_ENV !== "production" && (R.propTypes = {
|