jcicl 0.0.243 → 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 +34 -34
- package/package.json +1 -1
package/Stepper/Stepper.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as C, jsx as n, Fragment as D } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
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, N = j`
|
|
|
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, N = j`
|
|
|
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, N = j`
|
|
|
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,
|
|
@@ -178,7 +178,7 @@ const B = 4, N = j`
|
|
|
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, N = j`
|
|
|
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, N = j`
|
|
|
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, N = j`
|
|
|
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", {
|
|
@@ -296,7 +296,7 @@ const B = 4, N = j`
|
|
|
296
296
|
},
|
|
297
297
|
style: {
|
|
298
298
|
backgroundColor: I(e, r),
|
|
299
|
-
transition: `transform .${
|
|
299
|
+
transition: `transform .${j}s linear`
|
|
300
300
|
}
|
|
301
301
|
})), {
|
|
302
302
|
props: ({
|
|
@@ -310,10 +310,10 @@ const B = 4, N = j`
|
|
|
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
|
-
}))), Y = /* @__PURE__ */
|
|
316
|
+
}))), Y = /* @__PURE__ */ O.forwardRef(function(r, t) {
|
|
317
317
|
const a = F({
|
|
318
318
|
props: r,
|
|
319
319
|
name: "MuiLinearProgress"
|
|
@@ -344,7 +344,7 @@ const B = 4, N = j`
|
|
|
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,
|
|
@@ -527,7 +527,7 @@ const fr = (e) => {
|
|
|
527
527
|
width: "50%"
|
|
528
528
|
}
|
|
529
529
|
}]
|
|
530
|
-
}), G = /* @__PURE__ */
|
|
530
|
+
}), G = /* @__PURE__ */ O.forwardRef(function(r, t) {
|
|
531
531
|
const a = F({
|
|
532
532
|
props: r,
|
|
533
533
|
name: "MuiMobileStepper"
|
|
@@ -553,17 +553,17 @@ 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,
|
|
560
|
-
children: [i, c === "text" && /* @__PURE__ */ C(
|
|
560
|
+
children: [i, c === "text" && /* @__PURE__ */ C(O.Fragment, {
|
|
561
561
|
children: [f + 1, " / ", p]
|
|
562
562
|
}), c === "dots" && /* @__PURE__ */ n(mr, {
|
|
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
|
`
|
|
@@ -665,7 +665,7 @@ const yr = _("div")(() => ({
|
|
|
665
665
|
width: 100%;
|
|
666
666
|
height: 100%;
|
|
667
667
|
`
|
|
668
|
-
})),
|
|
668
|
+
})), Rr = ({
|
|
669
669
|
onNext: e,
|
|
670
670
|
onBack: r,
|
|
671
671
|
onFinish: t,
|
|
@@ -680,13 +680,13 @@ const yr = _("div")(() => ({
|
|
|
680
680
|
return /* @__PURE__ */ C(yr, { className: "jcStepContainer", children: [
|
|
681
681
|
i === 0 && m === "forward" && (h.toArray(a)[i] ?? null),
|
|
682
682
|
i !== 0 && m === "forward" && /* @__PURE__ */ C(D, { children: [
|
|
683
|
-
/* @__PURE__ */ n(E, { className: "jcSlideOutContainer", children: /* @__PURE__ */ n(H, { children: h.toArray(a)[i - 1] ?? null }) }),
|
|
684
|
-
/* @__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 })
|
|
685
685
|
] }),
|
|
686
686
|
i === v - 1 && m === "reverse" && /* @__PURE__ */ n(z, { children: h.toArray(a)[i] ?? null }),
|
|
687
687
|
i !== v - 1 && m === "reverse" && /* @__PURE__ */ C(D, { children: [
|
|
688
|
-
/* @__PURE__ */ n(E, { className: "jcSlideOutContainer", children: /* @__PURE__ */ n(Q, { children: h.toArray(a)[i + 1] ?? null }) }),
|
|
689
|
-
/* @__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 })
|
|
690
690
|
] }),
|
|
691
691
|
/* @__PURE__ */ n(
|
|
692
692
|
G,
|
|
@@ -703,5 +703,5 @@ const yr = _("div")(() => ({
|
|
|
703
703
|
] });
|
|
704
704
|
};
|
|
705
705
|
export {
|
|
706
|
-
|
|
706
|
+
Rr as default
|
|
707
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",
|