jcicl 0.0.241 → 0.0.243
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 +28 -26
- package/package.json +1 -1
package/Stepper/Stepper.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as C, jsx as n, Fragment as D } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as $ 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 j, c as M } from "../.chunks/emotion-react.browser.esm.js";
|
|
7
7
|
import { Button as q } from "../Button/Button.js";
|
|
8
|
-
import
|
|
8
|
+
import O from "../theme.js";
|
|
9
9
|
import { SlideOut as H, SlideIn as J, SlideInReverse as z, SlideOutReverse as Q } from "../animation/Slide/Slide.js";
|
|
10
10
|
import { g as V, a as K, s as y, c as b, u as F, b as A, 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";
|
|
@@ -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 B = 4,
|
|
20
|
+
const B = 4, N = j`
|
|
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 N != "string" ? M`
|
|
36
|
+
animation: ${N} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
37
|
+
` : null, L = j`
|
|
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, R =
|
|
52
|
+
`, nr = typeof L != "string" ? M`
|
|
53
|
+
animation: ${L} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
54
|
+
` : null, R = j`
|
|
55
55
|
0% {
|
|
56
56
|
opacity: 1;
|
|
57
57
|
background-position: 0 -23px;
|
|
@@ -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
|
|
@@ -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: `${N} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
|
|
243
243
|
}
|
|
244
244
|
}]
|
|
245
245
|
}))), dr = y("span", {
|
|
@@ -295,7 +295,7 @@ const B = 4, L = I`
|
|
|
295
295
|
variant: "buffer"
|
|
296
296
|
},
|
|
297
297
|
style: {
|
|
298
|
-
backgroundColor:
|
|
298
|
+
backgroundColor: I(e, r),
|
|
299
299
|
transition: `transform .${B}s linear`
|
|
300
300
|
}
|
|
301
301
|
})), {
|
|
@@ -310,10 +310,10 @@ 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: `${L} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
|
|
314
314
|
}
|
|
315
315
|
}]
|
|
316
|
-
}))), Y = /* @__PURE__ */
|
|
316
|
+
}))), Y = /* @__PURE__ */ $.forwardRef(function(r, t) {
|
|
317
317
|
const a = F({
|
|
318
318
|
props: r,
|
|
319
319
|
name: "MuiLinearProgress"
|
|
@@ -527,7 +527,7 @@ const fr = (e) => {
|
|
|
527
527
|
width: "50%"
|
|
528
528
|
}
|
|
529
529
|
}]
|
|
530
|
-
}), G = /* @__PURE__ */
|
|
530
|
+
}), G = /* @__PURE__ */ $.forwardRef(function(r, t) {
|
|
531
531
|
const a = F({
|
|
532
532
|
props: r,
|
|
533
533
|
name: "MuiMobileStepper"
|
|
@@ -557,7 +557,7 @@ const fr = (e) => {
|
|
|
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($.Fragment, {
|
|
561
561
|
children: [f + 1, " / ", p]
|
|
562
562
|
}), c === "dots" && /* @__PURE__ */ n(mr, {
|
|
563
563
|
ownerState: d,
|
|
@@ -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: ${O.colors.whiteGreenA};
|
|
654
|
+
border-color: ${O.colors.green};
|
|
655
655
|
|
|
656
656
|
.MuiLinearProgress-bar {
|
|
657
|
-
background-color: ${
|
|
657
|
+
background-color: ${O.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
|
+
})), jr = ({
|
|
667
669
|
onNext: e,
|
|
668
670
|
onBack: r,
|
|
669
671
|
onFinish: t,
|
|
@@ -678,12 +680,12 @@ 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 }) }),
|
|
683
|
+
/* @__PURE__ */ n(E, { className: "jcSlideOutContainer", children: /* @__PURE__ */ n(H, { children: h.toArray(a)[i - 1] ?? null }) }),
|
|
682
684
|
/* @__PURE__ */ n(J, { 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 }) }),
|
|
688
|
+
/* @__PURE__ */ n(E, { className: "jcSlideOutContainer", children: /* @__PURE__ */ n(Q, { children: h.toArray(a)[i + 1] ?? null }) }),
|
|
687
689
|
/* @__PURE__ */ n(z, { children: h.toArray(a)[i] ?? null })
|
|
688
690
|
] }),
|
|
689
691
|
/* @__PURE__ */ n(
|
|
@@ -701,5 +703,5 @@ const yr = _("div")(() => ({
|
|
|
701
703
|
] });
|
|
702
704
|
};
|
|
703
705
|
export {
|
|
704
|
-
|
|
706
|
+
jr 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.243",
|
|
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",
|