jcicl 0.0.241 → 0.0.245
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/Stepper/Stepper.js +36 -34
- package/package.json +1 -1
package/Stepper/Stepper.js
CHANGED
|
@@ -3,11 +3,11 @@ import * as O from "react";
|
|
|
3
3
|
import { useState as T, Children as h } from "react";
|
|
4
4
|
import { flushSync as k } from "react-dom";
|
|
5
5
|
import { n as _ } from "../.chunks/emotion-styled.browser.esm.js";
|
|
6
|
-
import { k as
|
|
6
|
+
import { k as R, c as M } from "../.chunks/emotion-react.browser.esm.js";
|
|
7
7
|
import { Button as q } from "../Button/Button.js";
|
|
8
|
-
import
|
|
8
|
+
import N from "../theme.js";
|
|
9
9
|
import { SlideOut as H, SlideIn as J, SlideInReverse as z, SlideOutReverse as Q } from "../animation/Slide/Slide.js";
|
|
10
|
-
import { g as V, a as K, s as y, c as b, u as F, b as
|
|
10
|
+
import { g as V, a as K, s as y, c as b, u as F, b as $, P as o, d as X, l as W, j as Z, k as rr } from "../.chunks/DefaultPropsProvider.js";
|
|
11
11
|
import { m as P } from "../.chunks/memoTheme.js";
|
|
12
12
|
import { P as er } from "../.chunks/Paper.js";
|
|
13
13
|
import { u as tr } from "../.chunks/index.js";
|
|
@@ -17,7 +17,7 @@ function or(e) {
|
|
|
17
17
|
return V("MuiLinearProgress", e);
|
|
18
18
|
}
|
|
19
19
|
K("MuiLinearProgress", ["root", "colorPrimary", "colorSecondary", "determinate", "indeterminate", "buffer", "query", "dashed", "dashedColorPrimary", "dashedColorSecondary", "bar", "barColorPrimary", "barColorSecondary", "bar1Indeterminate", "bar1Determinate", "bar1Buffer", "bar2Indeterminate", "bar2Buffer"]);
|
|
20
|
-
const
|
|
20
|
+
const j = 4, A = R`
|
|
21
21
|
0% {
|
|
22
22
|
left: -35%;
|
|
23
23
|
right: 100%;
|
|
@@ -32,9 +32,9 @@ const B = 4, L = I`
|
|
|
32
32
|
left: 100%;
|
|
33
33
|
right: -90%;
|
|
34
34
|
}
|
|
35
|
-
`, ar = typeof
|
|
36
|
-
animation: ${
|
|
37
|
-
` : null,
|
|
35
|
+
`, ar = typeof A != "string" ? M`
|
|
36
|
+
animation: ${A} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
37
|
+
` : null, B = R`
|
|
38
38
|
0% {
|
|
39
39
|
left: -200%;
|
|
40
40
|
right: 100%;
|
|
@@ -49,9 +49,9 @@ const B = 4, L = I`
|
|
|
49
49
|
left: 107%;
|
|
50
50
|
right: -8%;
|
|
51
51
|
}
|
|
52
|
-
`, nr = typeof
|
|
53
|
-
animation: ${
|
|
54
|
-
` : null,
|
|
52
|
+
`, nr = typeof B != "string" ? M`
|
|
53
|
+
animation: ${B} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
54
|
+
` : null, L = R`
|
|
55
55
|
0% {
|
|
56
56
|
opacity: 1;
|
|
57
57
|
background-position: 0 -23px;
|
|
@@ -66,8 +66,8 @@ const B = 4, L = I`
|
|
|
66
66
|
opacity: 1;
|
|
67
67
|
background-position: -200px -23px;
|
|
68
68
|
}
|
|
69
|
-
`, ir = typeof
|
|
70
|
-
animation: ${
|
|
69
|
+
`, ir = typeof L != "string" ? M`
|
|
70
|
+
animation: ${L} 3s infinite linear;
|
|
71
71
|
` : null, sr = (e) => {
|
|
72
72
|
const {
|
|
73
73
|
classes: r,
|
|
@@ -80,7 +80,7 @@ const B = 4, L = I`
|
|
|
80
80
|
bar2: ["bar", t !== "buffer" && `barColor${b(a)}`, t === "buffer" && `color${b(a)}`, (t === "indeterminate" || t === "query") && "bar2Indeterminate", t === "buffer" && "bar2Buffer"]
|
|
81
81
|
};
|
|
82
82
|
return X(f, or, r);
|
|
83
|
-
},
|
|
83
|
+
}, I = (e, r) => e.vars ? e.vars.palette.LinearProgress[`${r}Bg`] : e.palette.mode === "light" ? W(e.palette[r].main, 0.62) : Z(e.palette[r].main, 0.5), lr = y("span", {
|
|
84
84
|
name: "MuiLinearProgress",
|
|
85
85
|
slot: "Root",
|
|
86
86
|
overridesResolver: (e, r) => {
|
|
@@ -106,7 +106,7 @@ const B = 4, L = I`
|
|
|
106
106
|
color: r
|
|
107
107
|
},
|
|
108
108
|
style: {
|
|
109
|
-
backgroundColor:
|
|
109
|
+
backgroundColor: I(e, r)
|
|
110
110
|
}
|
|
111
111
|
})), {
|
|
112
112
|
props: ({
|
|
@@ -166,7 +166,7 @@ const B = 4, L = I`
|
|
|
166
166
|
backgroundImage: "radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"
|
|
167
167
|
}
|
|
168
168
|
}, ...Object.entries(e.palette).filter(w()).map(([r]) => {
|
|
169
|
-
const t =
|
|
169
|
+
const t = I(e, r);
|
|
170
170
|
return {
|
|
171
171
|
props: {
|
|
172
172
|
color: r
|
|
@@ -178,7 +178,7 @@ const B = 4, L = I`
|
|
|
178
178
|
})]
|
|
179
179
|
})), ir || {
|
|
180
180
|
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
181
|
-
animation: `${
|
|
181
|
+
animation: `${L} 3s infinite linear`
|
|
182
182
|
}), cr = y("span", {
|
|
183
183
|
name: "MuiLinearProgress",
|
|
184
184
|
slot: "Bar1",
|
|
@@ -217,7 +217,7 @@ const B = 4, L = I`
|
|
|
217
217
|
variant: "determinate"
|
|
218
218
|
},
|
|
219
219
|
style: {
|
|
220
|
-
transition: `transform .${
|
|
220
|
+
transition: `transform .${j}s linear`
|
|
221
221
|
}
|
|
222
222
|
}, {
|
|
223
223
|
props: {
|
|
@@ -225,7 +225,7 @@ const B = 4, L = I`
|
|
|
225
225
|
},
|
|
226
226
|
style: {
|
|
227
227
|
zIndex: 1,
|
|
228
|
-
transition: `transform .${
|
|
228
|
+
transition: `transform .${j}s linear`
|
|
229
229
|
}
|
|
230
230
|
}, {
|
|
231
231
|
props: ({
|
|
@@ -239,7 +239,7 @@ const B = 4, L = I`
|
|
|
239
239
|
ownerState: r
|
|
240
240
|
}) => r.variant === "indeterminate" || r.variant === "query",
|
|
241
241
|
style: ar || {
|
|
242
|
-
animation: `${
|
|
242
|
+
animation: `${A} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
|
|
243
243
|
}
|
|
244
244
|
}]
|
|
245
245
|
}))), dr = y("span", {
|
|
@@ -295,8 +295,8 @@ const B = 4, L = I`
|
|
|
295
295
|
variant: "buffer"
|
|
296
296
|
},
|
|
297
297
|
style: {
|
|
298
|
-
backgroundColor:
|
|
299
|
-
transition: `transform .${
|
|
298
|
+
backgroundColor: I(e, r),
|
|
299
|
+
transition: `transform .${j}s linear`
|
|
300
300
|
}
|
|
301
301
|
})), {
|
|
302
302
|
props: ({
|
|
@@ -310,7 +310,7 @@ const B = 4, L = I`
|
|
|
310
310
|
ownerState: r
|
|
311
311
|
}) => r.variant === "indeterminate" || r.variant === "query",
|
|
312
312
|
style: nr || {
|
|
313
|
-
animation: `${
|
|
313
|
+
animation: `${B} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
|
|
314
314
|
}
|
|
315
315
|
}]
|
|
316
316
|
}))), Y = /* @__PURE__ */ O.forwardRef(function(r, t) {
|
|
@@ -344,7 +344,7 @@ const B = 4, L = I`
|
|
|
344
344
|
S && (l = -l), u.bar2.transform = `translateX(${l}%)`;
|
|
345
345
|
} else process.env.NODE_ENV !== "production" && console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");
|
|
346
346
|
return /* @__PURE__ */ C(lr, {
|
|
347
|
-
className:
|
|
347
|
+
className: $(c.root, f),
|
|
348
348
|
ownerState: p,
|
|
349
349
|
role: "progressbar",
|
|
350
350
|
...d,
|
|
@@ -553,7 +553,7 @@ const fr = (e) => {
|
|
|
553
553
|
return /* @__PURE__ */ C(br, {
|
|
554
554
|
square: !0,
|
|
555
555
|
elevation: 0,
|
|
556
|
-
className:
|
|
556
|
+
className: $(l.root, g),
|
|
557
557
|
ref: t,
|
|
558
558
|
ownerState: d,
|
|
559
559
|
...S,
|
|
@@ -563,7 +563,7 @@ const fr = (e) => {
|
|
|
563
563
|
ownerState: d,
|
|
564
564
|
className: l.dots,
|
|
565
565
|
children: [...new Array(p)].map((hr, x) => /* @__PURE__ */ n(vr, {
|
|
566
|
-
className:
|
|
566
|
+
className: $(l.dot, x === f && l.dotActive),
|
|
567
567
|
ownerState: d,
|
|
568
568
|
dotActive: x === f
|
|
569
569
|
}, x))
|
|
@@ -650,11 +650,11 @@ const yr = _("div")(() => ({
|
|
|
650
650
|
.MuiLinearProgress-root {
|
|
651
651
|
padding: 9px;
|
|
652
652
|
margin: 0 9px;
|
|
653
|
-
background-color: ${
|
|
654
|
-
border-color: ${
|
|
653
|
+
background-color: ${N.colors.whiteGreenA};
|
|
654
|
+
border-color: ${N.colors.green};
|
|
655
655
|
|
|
656
656
|
.MuiLinearProgress-bar {
|
|
657
|
-
background-color: ${
|
|
657
|
+
background-color: ${N.colors.green};
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
`
|
|
@@ -662,8 +662,10 @@ const yr = _("div")(() => ({
|
|
|
662
662
|
...M`
|
|
663
663
|
position: absolute;
|
|
664
664
|
top: 0;
|
|
665
|
+
width: 100%;
|
|
666
|
+
height: 100%;
|
|
665
667
|
`
|
|
666
|
-
})),
|
|
668
|
+
})), Rr = ({
|
|
667
669
|
onNext: e,
|
|
668
670
|
onBack: r,
|
|
669
671
|
onFinish: t,
|
|
@@ -678,13 +680,13 @@ const yr = _("div")(() => ({
|
|
|
678
680
|
return /* @__PURE__ */ C(yr, { className: "jcStepContainer", children: [
|
|
679
681
|
i === 0 && m === "forward" && (h.toArray(a)[i] ?? null),
|
|
680
682
|
i !== 0 && m === "forward" && /* @__PURE__ */ C(D, { children: [
|
|
681
|
-
/* @__PURE__ */ n(E, { children: /* @__PURE__ */ n(H, { children: h.toArray(a)[i - 1] ?? null }) }),
|
|
682
|
-
/* @__PURE__ */ n(J, { children: h.toArray(a)[i] ?? null })
|
|
683
|
+
/* @__PURE__ */ n(E, { className: "jcSlideOutContainer", children: /* @__PURE__ */ n(H, { className: "jcSlideContainer", children: h.toArray(a)[i - 1] ?? null }) }),
|
|
684
|
+
/* @__PURE__ */ n(J, { className: "jcSlideContainer", children: h.toArray(a)[i] ?? null })
|
|
683
685
|
] }),
|
|
684
686
|
i === v - 1 && m === "reverse" && /* @__PURE__ */ n(z, { children: h.toArray(a)[i] ?? null }),
|
|
685
687
|
i !== v - 1 && m === "reverse" && /* @__PURE__ */ C(D, { children: [
|
|
686
|
-
/* @__PURE__ */ n(E, { children: /* @__PURE__ */ n(Q, { children: h.toArray(a)[i + 1] ?? null }) }),
|
|
687
|
-
/* @__PURE__ */ n(z, { children: h.toArray(a)[i] ?? null })
|
|
688
|
+
/* @__PURE__ */ n(E, { className: "jcSlideOutContainer", children: /* @__PURE__ */ n(Q, { className: "jcSlideContainer", children: h.toArray(a)[i + 1] ?? null }) }),
|
|
689
|
+
/* @__PURE__ */ n(z, { className: "jcSlideContainer", children: h.toArray(a)[i] ?? null })
|
|
688
690
|
] }),
|
|
689
691
|
/* @__PURE__ */ n(
|
|
690
692
|
G,
|
|
@@ -701,5 +703,5 @@ const yr = _("div")(() => ({
|
|
|
701
703
|
] });
|
|
702
704
|
};
|
|
703
705
|
export {
|
|
704
|
-
|
|
706
|
+
Rr as default
|
|
705
707
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jcicl",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.245",
|
|
5
5
|
"description": "Component library for the websites of Johnson County Iowa",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary?path=%2FREADME.md&version=GBmaster",
|