jcicl 0.0.44 → 0.0.47
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 -1
- package/.chunks/DefaultPropsProvider.js +6 -6
- package/.chunks/TransitionGroupContext.js +35 -40
- package/.chunks/chainPropTypes.js +8 -0
- package/.chunks/createSvgIcon.js +1 -1
- package/base/Button/Button.js +1 -1
- package/base/Divider/Divider.js +1 -1
- package/base/Flex/Flex.d.ts +3 -4
- package/base/Flex/Flex.js +16 -15
- package/base/Grid/Grid.d.ts +3 -3
- package/base/Grid/Grid.js +13 -13
- package/base/Icon/Icon.d.ts +9 -0
- package/base/Icon/Icon.js +43 -0
- package/base/Icon/index.d.ts +1 -0
- package/base/Icon/index.js +4 -0
- package/base/Input/Input.js +15 -14
- package/base/LabeledValue/LabeledValue.d.ts +6 -0
- package/base/LabeledValue/LabeledValue.js +22 -0
- package/base/LabeledValue/index.d.ts +1 -0
- package/base/LabeledValue/index.js +4 -0
- package/base/ScrollContainer/ScrollContainer.d.ts +1 -0
- package/base/ScrollContainer/ScrollContainer.js +1 -1
- package/base/index.d.ts +3 -0
- package/base/index.js +16 -10
- package/composite/InfoCard/InfoCard.d.ts +22 -0
- package/composite/InfoCard/InfoCard.js +47 -0
- package/composite/InfoCard/index.d.ts +1 -0
- package/composite/InfoCard/index.js +4 -0
- package/composite/LogoLoop/LogoLoop.js +21 -23
- package/composite/WithLabel/WithLabel.js +4 -4
- package/composite/WithLoading/WithLoading.d.ts +8 -0
- package/composite/WithLoading/WithLoading.js +261 -0
- package/composite/WithLoading/index.d.ts +1 -0
- package/composite/WithLoading/index.js +4 -0
- package/composite/index.d.ts +2 -0
- package/composite/index.js +9 -5
- package/index.d.ts +2 -2
- package/index.js +40 -29
- package/package.json +1 -1
- package/theme.d.ts +5 -1
- package/theme.js +4 -0
package/.chunks/ButtonBase.js
CHANGED
|
@@ -3,7 +3,7 @@ var ke = (n, t, o) => t in n ? Le(n, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ue = (n, t, o) => ke(n, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import * as d from "react";
|
|
5
5
|
import W, { Children as Oe, isValidElement as G, cloneElement as J } from "react";
|
|
6
|
-
import { P as e,
|
|
6
|
+
import { P as e, b as E, a as fe, s as te, u as de, g as je, d as Fe } from "./DefaultPropsProvider.js";
|
|
7
7
|
import { jsx as U, jsxs as Ie } from "react/jsx-runtime";
|
|
8
8
|
import { k as ne } from "./emotion-react.browser.esm.js";
|
|
9
9
|
import { u as Ue, _ as $e, a as ze, T as le, b as _e, c as ce, d as H, r as Ae, e as Xe } from "./TransitionGroupContext.js";
|
|
@@ -3260,13 +3260,13 @@ function Fo(e) {
|
|
|
3260
3260
|
export {
|
|
3261
3261
|
me as P,
|
|
3262
3262
|
Po as T,
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3263
|
+
Do as a,
|
|
3264
|
+
jo as b,
|
|
3265
|
+
mr as c,
|
|
3266
|
+
No as d,
|
|
3267
|
+
Fn as e,
|
|
3268
3268
|
lr as f,
|
|
3269
|
-
|
|
3269
|
+
Zr as g,
|
|
3270
3270
|
nt as h,
|
|
3271
3271
|
_o as i,
|
|
3272
3272
|
ye as j,
|
|
@@ -2,59 +2,55 @@ var y = Object.defineProperty;
|
|
|
2
2
|
var m = (e, t, n) => t in e ? y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var u = (e, t, n) => m(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { P as c } from "./DefaultPropsProvider.js";
|
|
5
|
+
import { c as h } from "./chainPropTypes.js";
|
|
5
6
|
import * as o from "react";
|
|
6
|
-
import
|
|
7
|
-
function E(e
|
|
8
|
-
return process.env.NODE_ENV === "production" ? () => null : function(...r) {
|
|
9
|
-
return e(...r) || t(...r);
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
function T(e) {
|
|
7
|
+
import T from "react";
|
|
8
|
+
function E(e) {
|
|
13
9
|
const {
|
|
14
10
|
prototype: t = {}
|
|
15
11
|
} = e;
|
|
16
12
|
return !!t.isReactComponent;
|
|
17
13
|
}
|
|
18
|
-
function I(e, t, n, r,
|
|
19
|
-
const
|
|
20
|
-
if (
|
|
14
|
+
function I(e, t, n, r, l) {
|
|
15
|
+
const s = e[t], d = l || t;
|
|
16
|
+
if (s == null || // When server-side rendering React doesn't warn either.
|
|
21
17
|
// This is not an accurate check for SSR.
|
|
22
18
|
// This is only in place for emotion compat.
|
|
23
19
|
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
24
20
|
typeof window > "u")
|
|
25
21
|
return null;
|
|
26
|
-
let
|
|
27
|
-
return typeof
|
|
22
|
+
let i;
|
|
23
|
+
return typeof s == "function" && !E(s) && (i = "Did you accidentally provide a plain function component instead?"), i !== void 0 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
28
24
|
}
|
|
29
|
-
const
|
|
25
|
+
const L = h(c.elementType, I), $ = c.oneOfType([c.func, c.object]);
|
|
30
26
|
function R(e, t) {
|
|
31
27
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
32
28
|
}
|
|
33
|
-
const
|
|
34
|
-
function
|
|
29
|
+
const P = typeof window < "u" ? o.useLayoutEffect : o.useEffect;
|
|
30
|
+
function g(e) {
|
|
35
31
|
const t = o.useRef(e);
|
|
36
|
-
return
|
|
32
|
+
return P(() => {
|
|
37
33
|
t.current = e;
|
|
38
34
|
}), o.useRef((...n) => (
|
|
39
35
|
// @ts-expect-error hide `this`
|
|
40
36
|
(0, t.current)(...n)
|
|
41
37
|
)).current;
|
|
42
38
|
}
|
|
43
|
-
function
|
|
39
|
+
function x(...e) {
|
|
44
40
|
return o.useMemo(() => e.every((t) => t == null) ? null : (t) => {
|
|
45
41
|
e.forEach((n) => {
|
|
46
42
|
R(n, t);
|
|
47
43
|
});
|
|
48
44
|
}, e);
|
|
49
45
|
}
|
|
50
|
-
const
|
|
51
|
-
function
|
|
52
|
-
const n = o.useRef(
|
|
53
|
-
return n.current ===
|
|
46
|
+
const p = {};
|
|
47
|
+
function w(e, t) {
|
|
48
|
+
const n = o.useRef(p);
|
|
49
|
+
return n.current === p && (n.current = e(t)), n;
|
|
54
50
|
}
|
|
55
|
-
const
|
|
56
|
-
function
|
|
57
|
-
o.useEffect(e,
|
|
51
|
+
const O = [];
|
|
52
|
+
function _(e) {
|
|
53
|
+
o.useEffect(e, O);
|
|
58
54
|
}
|
|
59
55
|
class a {
|
|
60
56
|
constructor() {
|
|
@@ -76,11 +72,11 @@ class a {
|
|
|
76
72
|
}, t);
|
|
77
73
|
}
|
|
78
74
|
}
|
|
79
|
-
function
|
|
80
|
-
const e =
|
|
81
|
-
return
|
|
75
|
+
function A() {
|
|
76
|
+
const e = w(a.create).current;
|
|
77
|
+
return _(e.disposeEffect), e;
|
|
82
78
|
}
|
|
83
|
-
function
|
|
79
|
+
function M(e, t) {
|
|
84
80
|
if (e == null) return {};
|
|
85
81
|
var n = {};
|
|
86
82
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -94,21 +90,20 @@ function f(e, t) {
|
|
|
94
90
|
return n.__proto__ = r, n;
|
|
95
91
|
}, f(e, t);
|
|
96
92
|
}
|
|
97
|
-
function
|
|
93
|
+
function k(e, t) {
|
|
98
94
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, f(e, t);
|
|
99
95
|
}
|
|
100
|
-
const D =
|
|
96
|
+
const D = T.createContext(null);
|
|
101
97
|
export {
|
|
102
98
|
D as T,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
L as r,
|
|
99
|
+
k as _,
|
|
100
|
+
M as a,
|
|
101
|
+
A as b,
|
|
102
|
+
x as c,
|
|
103
|
+
g as d,
|
|
104
|
+
L as e,
|
|
105
|
+
P as f,
|
|
106
|
+
$ as r,
|
|
112
107
|
R as s,
|
|
113
|
-
|
|
108
|
+
w as u
|
|
114
109
|
};
|
package/.chunks/createSvgIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "react";
|
|
2
2
|
import { jsxs as I, jsx as b } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { g as w, a as C, s as T, c as x, u as N, b as O, P as e, d as R } from "./DefaultPropsProvider.js";
|
|
4
4
|
import { m as j } from "./memoTheme.js";
|
|
5
5
|
function E(o) {
|
|
6
6
|
return w("MuiSvgIcon", o);
|
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 {
|
|
3
|
+
import { g as F, a as U, s as c, r as _, c as e, f as H, u as A, b as w, P as t, d as q, e 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";
|
package/base/Divider/Divider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { n as C, i as D } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
3
3
|
import * as A from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { a as R, g as S, s as u, u as T, b as L, P as r, d as W, e as $ } from "../../.chunks/DefaultPropsProvider.js";
|
|
5
5
|
import { m as b } from "../../.chunks/memoTheme.js";
|
|
6
6
|
function I(t) {
|
|
7
7
|
return S("MuiDivider", t);
|
package/base/Flex/Flex.d.ts
CHANGED
|
@@ -5,14 +5,13 @@ export type FlexProps = {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
alignItems?: AlignItems;
|
|
7
7
|
justifyContent?: JustifyContent;
|
|
8
|
-
|
|
8
|
+
placeContent?: string;
|
|
9
9
|
column?: boolean;
|
|
10
|
-
full?: boolean;
|
|
11
10
|
width?: string;
|
|
12
11
|
height?: string;
|
|
13
12
|
wrap?: boolean;
|
|
14
|
-
padding?:
|
|
15
|
-
gap?:
|
|
13
|
+
padding?: string;
|
|
14
|
+
gap?: string;
|
|
16
15
|
styles?: CSSProperties;
|
|
17
16
|
};
|
|
18
17
|
declare const Flex: React.FC<FlexProps>;
|
package/base/Flex/Flex.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { n as
|
|
3
|
-
const w =
|
|
4
|
-
shouldForwardProp: (
|
|
2
|
+
import { n as p, i as m } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
const w = p("div", {
|
|
4
|
+
shouldForwardProp: (o) => m(o) && typeof o == "string" && o !== "wrap"
|
|
5
5
|
})(
|
|
6
|
-
({ column:
|
|
6
|
+
({ column: o, alignItems: r, justifyContent: a, wrap: t, width: e, height: i, styles: n, padding: s, gap: l, placeContent: f }) => ({
|
|
7
7
|
display: "flex",
|
|
8
|
-
flexDirection:
|
|
9
|
-
flexWrap:
|
|
10
|
-
alignItems: r
|
|
11
|
-
justifyContent:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
flexDirection: o ? "column" : "row",
|
|
9
|
+
flexWrap: t ? "wrap" : "nowrap",
|
|
10
|
+
alignItems: r,
|
|
11
|
+
justifyContent: a,
|
|
12
|
+
placeContent: f,
|
|
13
|
+
width: e,
|
|
14
|
+
height: i,
|
|
15
|
+
gap: l,
|
|
16
|
+
padding: s,
|
|
16
17
|
fontFamily: "Roboto, sans-serif",
|
|
17
|
-
...
|
|
18
|
+
...n
|
|
18
19
|
})
|
|
19
|
-
),
|
|
20
|
+
), u = ({ children: o, ...r }) => /* @__PURE__ */ d(w, { ...r, children: o });
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
u as default
|
|
22
23
|
};
|
package/base/Grid/Grid.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ export type GridProps = {
|
|
|
5
5
|
autoColumns?: string;
|
|
6
6
|
rows?: string;
|
|
7
7
|
autoRows?: string;
|
|
8
|
-
gap?:
|
|
9
|
-
columnGap?:
|
|
10
|
-
rowGap?:
|
|
8
|
+
gap?: string;
|
|
9
|
+
columnGap?: string;
|
|
10
|
+
rowGap?: string;
|
|
11
11
|
styles?: CSSProperties;
|
|
12
12
|
};
|
|
13
13
|
export declare const Grid: React.FC<GridProps>;
|
package/base/Grid/Grid.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { n as
|
|
3
|
-
const
|
|
4
|
-
({ columns:
|
|
5
|
-
gridTemplateColumns:
|
|
6
|
-
gridAutoColumns:
|
|
7
|
-
gridTemplateRows:
|
|
8
|
-
gridAutoRows:
|
|
9
|
-
gap:
|
|
10
|
-
columnGap:
|
|
11
|
-
rowGap:
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { n as a } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
const l = a("div")(
|
|
4
|
+
({ columns: o, autoColumns: r, rows: t, autoRows: i, gap: d, columnGap: e, rowGap: s, styles: n }) => ({
|
|
5
|
+
gridTemplateColumns: o,
|
|
6
|
+
gridAutoColumns: r,
|
|
7
|
+
gridTemplateRows: t,
|
|
8
|
+
gridAutoRows: i,
|
|
9
|
+
gap: d,
|
|
10
|
+
columnGap: e,
|
|
11
|
+
rowGap: s,
|
|
12
12
|
display: "grid",
|
|
13
|
-
...
|
|
13
|
+
...n
|
|
14
14
|
})
|
|
15
|
-
), g = ({ children:
|
|
15
|
+
), g = ({ children: o, ...r }) => /* @__PURE__ */ m(l, { ...r, children: o });
|
|
16
16
|
export {
|
|
17
17
|
g as Grid,
|
|
18
18
|
g as default
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonBaseProps } from '@mui/material/ButtonBase/ButtonBase';
|
|
2
|
+
export interface IconProps {
|
|
3
|
+
icon: React.ReactNode;
|
|
4
|
+
iconColor?: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const Icon: React.FC<IconProps & ButtonBaseProps>;
|
|
9
|
+
export default Icon;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { B as c } from "../../.chunks/ButtonBase.js";
|
|
3
|
+
import a from "../../theme.js";
|
|
4
|
+
import { n as t, i as p } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
5
|
+
const d = t("div", {
|
|
6
|
+
shouldForwardProp: (r) => p(r)
|
|
7
|
+
})(
|
|
8
|
+
({ iconColor: r = a.colors.darkGreen, backgroundColor: n = a.colors.mint, size: o = 40 }) => ({
|
|
9
|
+
svg: {
|
|
10
|
+
border: `1px solid ${r}`,
|
|
11
|
+
backgroundColor: n,
|
|
12
|
+
borderRadius: "50%",
|
|
13
|
+
padding: "8px",
|
|
14
|
+
fill: r,
|
|
15
|
+
width: `${o - 18}px`,
|
|
16
|
+
height: `${o - 18}px`,
|
|
17
|
+
pointerEvents: "none"
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
), m = t(c)({
|
|
21
|
+
backgroundColor: "transparent",
|
|
22
|
+
borderRadius: "50%",
|
|
23
|
+
span: {
|
|
24
|
+
transition: "313ms all ease-in-out"
|
|
25
|
+
},
|
|
26
|
+
"&:hover, :focus": {
|
|
27
|
+
span: {
|
|
28
|
+
backgroundColor: a.colors.grayO44
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}), x = ({
|
|
32
|
+
icon: r,
|
|
33
|
+
iconColor: n,
|
|
34
|
+
backgroundColor: o,
|
|
35
|
+
size: l,
|
|
36
|
+
...e
|
|
37
|
+
}) => {
|
|
38
|
+
const s = { iconColor: n, backgroundColor: o, size: l };
|
|
39
|
+
return e != null && e.onClick ? /* @__PURE__ */ i(m, { ...e, children: /* @__PURE__ */ i(d, { ...s, children: r }) }) : /* @__PURE__ */ i(d, { ...s, children: r });
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
x as default
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type IconProps } from './Icon';
|
package/base/Input/Input.js
CHANGED
|
@@ -3,10 +3,11 @@ import { T as ro, n as so } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
|
3
3
|
import Me from "../../theme.js";
|
|
4
4
|
import * as c from "react";
|
|
5
5
|
import lt from "react";
|
|
6
|
-
import { P as e,
|
|
7
|
-
import {
|
|
6
|
+
import { P as e, b as J, h as io, f as ao, i as Dt, T as $t, a as oe, g as re, c as pe, s as L, u as le, d as se, j as gn, r as Ce, k as Lt, l as jt, e as qt, m as Ht, n as lo } from "../../.chunks/DefaultPropsProvider.js";
|
|
7
|
+
import { c as fe, _ as co, a as uo, T as yn, f as We, e as vn, r as Pe, b as po, s as Kt, d as Gt } from "../../.chunks/TransitionGroupContext.js";
|
|
8
8
|
import { m as ce } from "../../.chunks/memoTheme.js";
|
|
9
|
-
import { c as
|
|
9
|
+
import { c as yt } from "../../.chunks/createSimplePaletteValueFilter.js";
|
|
10
|
+
import { c as vt } from "../../.chunks/chainPropTypes.js";
|
|
10
11
|
import * as fo from "react-dom";
|
|
11
12
|
import ct from "react-dom";
|
|
12
13
|
import { c as mo } from "../../.chunks/createSvgIcon.js";
|
|
@@ -29,8 +30,8 @@ function En(t, n, o, r, s) {
|
|
|
29
30
|
const u = i.type;
|
|
30
31
|
return typeof u == "function" && !ho(u) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
31
32
|
}
|
|
32
|
-
const it =
|
|
33
|
-
it.isRequired =
|
|
33
|
+
const it = vt(e.element, En);
|
|
34
|
+
it.isRequired = vt(e.element.isRequired, En);
|
|
34
35
|
const go = "exact-prop: ";
|
|
35
36
|
function Tn(t) {
|
|
36
37
|
return process.env.NODE_ENV === "production" ? t : {
|
|
@@ -1595,7 +1596,7 @@ const Ye = {
|
|
|
1595
1596
|
borderBottomStyle: "dotted"
|
|
1596
1597
|
}
|
|
1597
1598
|
}
|
|
1598
|
-
}, ...Object.entries(t.palette).filter(
|
|
1599
|
+
}, ...Object.entries(t.palette).filter(yt()).map(([r]) => ({
|
|
1599
1600
|
props: {
|
|
1600
1601
|
color: r,
|
|
1601
1602
|
disableUnderline: !1
|
|
@@ -1943,7 +1944,7 @@ const Fe = {
|
|
|
1943
1944
|
borderBottomStyle: "dotted"
|
|
1944
1945
|
}
|
|
1945
1946
|
}
|
|
1946
|
-
}, ...Object.entries(t.palette).filter(
|
|
1947
|
+
}, ...Object.entries(t.palette).filter(yt()).map(([a]) => {
|
|
1947
1948
|
var l;
|
|
1948
1949
|
return {
|
|
1949
1950
|
props: {
|
|
@@ -2509,7 +2510,7 @@ const Oe = {
|
|
|
2509
2510
|
[`&.${Oe.focused} .${Oe.notchedOutline}`]: {
|
|
2510
2511
|
borderWidth: 2
|
|
2511
2512
|
},
|
|
2512
|
-
variants: [...Object.entries(t.palette).filter(
|
|
2513
|
+
variants: [...Object.entries(t.palette).filter(yt()).map(([o]) => ({
|
|
2513
2514
|
props: {
|
|
2514
2515
|
color: o
|
|
2515
2516
|
},
|
|
@@ -2886,7 +2887,7 @@ const et = oe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
|
|
|
2886
2887
|
lineHeight: "1.4375em",
|
|
2887
2888
|
padding: 0,
|
|
2888
2889
|
position: "relative",
|
|
2889
|
-
variants: [...Object.entries(t.palette).filter(
|
|
2890
|
+
variants: [...Object.entries(t.palette).filter(yt()).map(([n]) => ({
|
|
2890
2891
|
props: {
|
|
2891
2892
|
color: n
|
|
2892
2893
|
},
|
|
@@ -5436,7 +5437,7 @@ process.env.NODE_ENV !== "production" && (Xn.propTypes = {
|
|
|
5436
5437
|
* It accepts values between 0 and 24 inclusive.
|
|
5437
5438
|
* @default 1
|
|
5438
5439
|
*/
|
|
5439
|
-
elevation:
|
|
5440
|
+
elevation: vt(wn, (t) => {
|
|
5440
5441
|
const {
|
|
5441
5442
|
elevation: n,
|
|
5442
5443
|
variant: o
|
|
@@ -5708,7 +5709,7 @@ process.env.NODE_ENV !== "production" && (Zn.propTypes = {
|
|
|
5708
5709
|
* or a function that returns either.
|
|
5709
5710
|
* It's used to set the position of the popover.
|
|
5710
5711
|
*/
|
|
5711
|
-
anchorEl:
|
|
5712
|
+
anchorEl: vt(e.oneOfType([nt, e.func]), (t) => {
|
|
5712
5713
|
if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
|
|
5713
5714
|
const n = pt(t.anchorEl);
|
|
5714
5715
|
if (n && n.nodeType === 1) {
|
|
@@ -7480,8 +7481,8 @@ const vs = so(oo)({
|
|
|
7480
7481
|
border: "none"
|
|
7481
7482
|
}
|
|
7482
7483
|
}
|
|
7483
|
-
}),
|
|
7484
|
+
}), Ms = ({ ...t }) => /* @__PURE__ */ C(vs, { ...t });
|
|
7484
7485
|
export {
|
|
7485
|
-
|
|
7486
|
-
|
|
7486
|
+
Ms as Input,
|
|
7487
|
+
Ms as default
|
|
7487
7488
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { n as a } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
import { c as n } from "../../.chunks/emotion-react.browser.esm.js";
|
|
4
|
+
const r = a("span")({
|
|
5
|
+
...n`
|
|
6
|
+
font-family: 'Roboto', sans-serif;
|
|
7
|
+
span {
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
}
|
|
10
|
+
`
|
|
11
|
+
}), f = ({ label: o, value: s }) => /* @__PURE__ */ e(r, { children: [
|
|
12
|
+
/* @__PURE__ */ e("span", { children: [
|
|
13
|
+
o,
|
|
14
|
+
":"
|
|
15
|
+
] }),
|
|
16
|
+
" ",
|
|
17
|
+
s
|
|
18
|
+
] });
|
|
19
|
+
export {
|
|
20
|
+
f as LabeledValue,
|
|
21
|
+
f as default
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type LabeledValueProps } from './LabeledValue';
|
package/base/index.d.ts
CHANGED
|
@@ -4,5 +4,8 @@ export { default as Button } from './Button';
|
|
|
4
4
|
export { default as Divider } from './Divider';
|
|
5
5
|
export { default as Flex } from './Flex';
|
|
6
6
|
export { default as Grid } from './Grid';
|
|
7
|
+
export { default as Icon } from './Icon';
|
|
7
8
|
export { default as Input } from './Input';
|
|
9
|
+
export { default as LabeledValue } from './LabeledValue';
|
|
8
10
|
export { default as ListButton } from './ListButton';
|
|
11
|
+
export { default as ScrollContainer } from './ScrollContainer';
|
package/base/index.js
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as t } from "./Avatar/Avatar.js";
|
|
2
2
|
import { AvatarWithImage as a } from "./AvatarWithImage/AvatarWithImage.js";
|
|
3
3
|
import { Button as m } from "./Button/Button.js";
|
|
4
4
|
import { Divider as x } from "./Divider/Divider.js";
|
|
5
|
-
import { default as
|
|
6
|
-
import { Grid as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { default as u } from "./Flex/Flex.js";
|
|
6
|
+
import { Grid as i } from "./Grid/Grid.js";
|
|
7
|
+
import { default as s } from "./Icon/Icon.js";
|
|
8
|
+
import { Input as I } from "./Input/Input.js";
|
|
9
|
+
import { LabeledValue as A } from "./LabeledValue/LabeledValue.js";
|
|
10
|
+
import { default as L } from "./ListButton/ListButton.js";
|
|
11
|
+
import { default as g } from "./ScrollContainer/ScrollContainer.js";
|
|
9
12
|
export {
|
|
10
|
-
|
|
13
|
+
t as Avatar,
|
|
11
14
|
a as AvatarWithImage,
|
|
12
15
|
m as Button,
|
|
13
16
|
x as Divider,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
u as Flex,
|
|
18
|
+
i as Grid,
|
|
19
|
+
s as Icon,
|
|
20
|
+
I as Input,
|
|
21
|
+
A as LabeledValue,
|
|
22
|
+
L as ListButton,
|
|
23
|
+
g as ScrollContainer
|
|
18
24
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ThemeBoxShadows } from '../../../../../../../../../src/components/theme';
|
|
2
|
+
import { LabeledValueProps } from '../../../../../../../../../src/components/base/LabeledValue';
|
|
3
|
+
interface InfoCardStyleProps {
|
|
4
|
+
/** The element placed before the header text. This can be any valid React Node */
|
|
5
|
+
decorativeElement?: React.ReactNode;
|
|
6
|
+
/** Padding for the card */
|
|
7
|
+
padding?: string;
|
|
8
|
+
/** The color of the box shadow around the card element. Must be a valid `keyof theme.boxShadows`.
|
|
9
|
+
* @param {string} shadow
|
|
10
|
+
*/
|
|
11
|
+
shadow?: keyof ThemeBoxShadows;
|
|
12
|
+
/** Spacing between the items */
|
|
13
|
+
spacing?: string;
|
|
14
|
+
columns?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface InfoCardProps extends InfoCardStyleProps {
|
|
17
|
+
title?: string;
|
|
18
|
+
/** An array of information to display in the card. Format: `{ label, value }`. Built on top of the Labeled Value component. */
|
|
19
|
+
items?: LabeledValueProps[];
|
|
20
|
+
}
|
|
21
|
+
export declare const InfoCard: React.FC<InfoCardProps>;
|
|
22
|
+
export default InfoCard;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { n as d } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
import { c as i } from "../../.chunks/emotion-react.browser.esm.js";
|
|
4
|
+
import c from "../../theme.js";
|
|
5
|
+
import { LabeledValue as f } from "../../base/LabeledValue/LabeledValue.js";
|
|
6
|
+
import h from "../../base/Flex/Flex.js";
|
|
7
|
+
const x = d("div")(({ padding: r, shadow: o }) => ({
|
|
8
|
+
...i`
|
|
9
|
+
h3 {
|
|
10
|
+
margin: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
font-size: 24px;
|
|
13
|
+
}
|
|
14
|
+
font-family: 'Roboto', sans-serif;
|
|
15
|
+
padding: ${r};
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
box-shadow: ${c.boxShadow[o]};
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
`
|
|
21
|
+
})), g = d("div")(({ spacing: r, columns: o }) => ({
|
|
22
|
+
...i`
|
|
23
|
+
margin-top: calc(${r} * 0.75);
|
|
24
|
+
grid-row-gap: ${r};
|
|
25
|
+
grid-column-gap: calc(${r} * 1.5);
|
|
26
|
+
display: grid;
|
|
27
|
+
grid-template-columns: repeat(${o}, 1fr);
|
|
28
|
+
`
|
|
29
|
+
})), P = ({
|
|
30
|
+
decorativeElement: r,
|
|
31
|
+
title: o,
|
|
32
|
+
items: e,
|
|
33
|
+
padding: l = "1rem 2rem",
|
|
34
|
+
shadow: m = "darkGreen",
|
|
35
|
+
spacing: p = "2rem",
|
|
36
|
+
columns: s = 3
|
|
37
|
+
}) => /* @__PURE__ */ t(x, { ...{ padding: l, shadow: m }, children: [
|
|
38
|
+
/* @__PURE__ */ t(h, { width: "100%", gap: "1rem", alignItems: "center", children: [
|
|
39
|
+
r && r,
|
|
40
|
+
/* @__PURE__ */ a("h3", { children: o })
|
|
41
|
+
] }),
|
|
42
|
+
/* @__PURE__ */ a(g, { ...{ spacing: p, columns: s }, children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ a(f, { ...n }, n.label)) })
|
|
43
|
+
] });
|
|
44
|
+
export {
|
|
45
|
+
P as InfoCard,
|
|
46
|
+
P as default
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type InfoCardProps } from './InfoCard';
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { n as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { n as a } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
import { c as r } from "../../.chunks/emotion-react.browser.esm.js";
|
|
4
4
|
import e from "../../theme.js";
|
|
5
|
-
import { l as
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
import { l as t } from "../../.chunks/jocologo.js";
|
|
6
|
+
import i from "../../animation/ZoomEntrance/ZoomEntrance.js";
|
|
7
|
+
const n = r`
|
|
8
|
+
height: 6em;
|
|
9
|
+
padding: 1.5em;
|
|
10
|
+
will-change: filter;
|
|
11
|
+
transition: filter 300ms;
|
|
12
|
+
position: relative;
|
|
13
|
+
`, l = a("img")({
|
|
14
|
+
...r`
|
|
15
|
+
${n}
|
|
14
16
|
filter: drop-shadow(0 0 2em ${e.colors.gold}aa);
|
|
15
17
|
|
|
16
18
|
:hover {
|
|
@@ -44,13 +46,9 @@ const i = t("img")({
|
|
|
44
46
|
animation: logo-left infinite 9s cubic-bezier(0.3, 0.4, 0.7, 0.6);
|
|
45
47
|
}
|
|
46
48
|
`
|
|
47
|
-
}),
|
|
48
|
-
...
|
|
49
|
-
|
|
50
|
-
padding: 1.5em;
|
|
51
|
-
will-change: filter;
|
|
52
|
-
transition: filter 300ms;
|
|
53
|
-
position: relative;
|
|
49
|
+
}), m = a("img")({
|
|
50
|
+
...r`
|
|
51
|
+
${n}
|
|
54
52
|
filter: drop-shadow(0 0 2em ${e.colors.green}aa);
|
|
55
53
|
|
|
56
54
|
:hover {
|
|
@@ -84,10 +82,10 @@ const i = t("img")({
|
|
|
84
82
|
animation: logo-right infinite 9s cubic-bezier(0.3, 0.4, 0.7, 0.6);
|
|
85
83
|
}
|
|
86
84
|
`
|
|
87
|
-
}),
|
|
88
|
-
/* @__PURE__ */ o("a", { href: "https://int.johnsoncountyiowa.gov/home", target: "_blank", children: /* @__PURE__ */ o(
|
|
89
|
-
/* @__PURE__ */ o("a", { href: "https://int.johnsoncountyiowa.gov/home", target: "_blank", children: /* @__PURE__ */ o(
|
|
85
|
+
}), x = () => /* @__PURE__ */ s(i, { children: [
|
|
86
|
+
/* @__PURE__ */ o("a", { href: "https://int.johnsoncountyiowa.gov/home", target: "_blank", children: /* @__PURE__ */ o(l, { src: t, className: "logo logo-left", alt: "Johnson County, Iowa logo" }) }),
|
|
87
|
+
/* @__PURE__ */ o("a", { href: "https://int.johnsoncountyiowa.gov/home", target: "_blank", children: /* @__PURE__ */ o(m, { src: t, className: "logo logo-right", alt: "Johnson County, Iowa logo" }) })
|
|
90
88
|
] });
|
|
91
89
|
export {
|
|
92
|
-
|
|
90
|
+
x as default
|
|
93
91
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
const
|
|
2
|
+
import m from "../../base/Flex/Flex.js";
|
|
3
|
+
const h = ({
|
|
4
4
|
label: r,
|
|
5
5
|
component: t,
|
|
6
6
|
fontSize: i = "inherit",
|
|
7
7
|
styles: n,
|
|
8
8
|
...s
|
|
9
|
-
}) => /* @__PURE__ */ l(
|
|
9
|
+
}) => /* @__PURE__ */ l(m, { gap: "0.5rem", alignItems: "center", styles: { ...n, fontSize: i }, ...s, children: [
|
|
10
10
|
/* @__PURE__ */ e("div", { id: r, children: t }),
|
|
11
11
|
/* @__PURE__ */ e("label", { htmlFor: r, children: r })
|
|
12
12
|
] });
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
h as default
|
|
15
15
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CircularProgressProps } from '@mui/material/CircularProgress';
|
|
2
|
+
export interface WithLoadingProps extends CircularProgressProps {
|
|
3
|
+
loading: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const WithLoading: React.FC<WithLoadingProps & {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
export default WithLoading;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { jsx as o, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import { n as R } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
import { k as x, c as v } from "../../.chunks/emotion-react.browser.esm.js";
|
|
4
|
+
import N from "../../theme.js";
|
|
5
|
+
import * as j from "react";
|
|
6
|
+
import { g as U, a as z, s as k, c as l, u as E, b as F, P as t, d as I } from "../../.chunks/DefaultPropsProvider.js";
|
|
7
|
+
import { m as w } from "../../.chunks/memoTheme.js";
|
|
8
|
+
import { c as V } from "../../.chunks/createSimplePaletteValueFilter.js";
|
|
9
|
+
import { c as W } from "../../.chunks/chainPropTypes.js";
|
|
10
|
+
function A(r) {
|
|
11
|
+
return U("MuiCircularProgress", r);
|
|
12
|
+
}
|
|
13
|
+
z("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
14
|
+
const a = 44, y = x`
|
|
15
|
+
0% {
|
|
16
|
+
transform: rotate(0deg);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
100% {
|
|
20
|
+
transform: rotate(360deg);
|
|
21
|
+
}
|
|
22
|
+
`, g = x`
|
|
23
|
+
0% {
|
|
24
|
+
stroke-dasharray: 1px, 200px;
|
|
25
|
+
stroke-dashoffset: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
50% {
|
|
29
|
+
stroke-dasharray: 100px, 200px;
|
|
30
|
+
stroke-dashoffset: -15px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
100% {
|
|
34
|
+
stroke-dasharray: 100px, 200px;
|
|
35
|
+
stroke-dashoffset: -125px;
|
|
36
|
+
}
|
|
37
|
+
`, K = typeof y != "string" ? v`
|
|
38
|
+
animation: ${y} 1.4s linear infinite;
|
|
39
|
+
` : null, B = typeof g != "string" ? v`
|
|
40
|
+
animation: ${g} 1.4s ease-in-out infinite;
|
|
41
|
+
` : null, G = (r) => {
|
|
42
|
+
const {
|
|
43
|
+
classes: e,
|
|
44
|
+
variant: s,
|
|
45
|
+
color: i,
|
|
46
|
+
disableShrink: m
|
|
47
|
+
} = r, p = {
|
|
48
|
+
root: ["root", s, `color${l(i)}`],
|
|
49
|
+
svg: ["svg"],
|
|
50
|
+
circle: ["circle", `circle${l(s)}`, m && "circleDisableShrink"]
|
|
51
|
+
};
|
|
52
|
+
return I(p, A, e);
|
|
53
|
+
}, L = k("span", {
|
|
54
|
+
name: "MuiCircularProgress",
|
|
55
|
+
slot: "Root",
|
|
56
|
+
overridesResolver: (r, e) => {
|
|
57
|
+
const {
|
|
58
|
+
ownerState: s
|
|
59
|
+
} = r;
|
|
60
|
+
return [e.root, e[s.variant], e[`color${l(s.color)}`]];
|
|
61
|
+
}
|
|
62
|
+
})(w(({
|
|
63
|
+
theme: r
|
|
64
|
+
}) => ({
|
|
65
|
+
display: "inline-block",
|
|
66
|
+
variants: [{
|
|
67
|
+
props: {
|
|
68
|
+
variant: "determinate"
|
|
69
|
+
},
|
|
70
|
+
style: {
|
|
71
|
+
transition: r.transitions.create("transform")
|
|
72
|
+
}
|
|
73
|
+
}, {
|
|
74
|
+
props: {
|
|
75
|
+
variant: "indeterminate"
|
|
76
|
+
},
|
|
77
|
+
style: K || {
|
|
78
|
+
animation: `${y} 1.4s linear infinite`
|
|
79
|
+
}
|
|
80
|
+
}, ...Object.entries(r.palette).filter(V()).map(([e]) => ({
|
|
81
|
+
props: {
|
|
82
|
+
color: e
|
|
83
|
+
},
|
|
84
|
+
style: {
|
|
85
|
+
color: (r.vars || r).palette[e].main
|
|
86
|
+
}
|
|
87
|
+
}))]
|
|
88
|
+
}))), Y = k("svg", {
|
|
89
|
+
name: "MuiCircularProgress",
|
|
90
|
+
slot: "Svg",
|
|
91
|
+
overridesResolver: (r, e) => e.svg
|
|
92
|
+
})({
|
|
93
|
+
display: "block"
|
|
94
|
+
// Keeps the progress centered
|
|
95
|
+
}), Z = k("circle", {
|
|
96
|
+
name: "MuiCircularProgress",
|
|
97
|
+
slot: "Circle",
|
|
98
|
+
overridesResolver: (r, e) => {
|
|
99
|
+
const {
|
|
100
|
+
ownerState: s
|
|
101
|
+
} = r;
|
|
102
|
+
return [e.circle, e[`circle${l(s.variant)}`], s.disableShrink && e.circleDisableShrink];
|
|
103
|
+
}
|
|
104
|
+
})(w(({
|
|
105
|
+
theme: r
|
|
106
|
+
}) => ({
|
|
107
|
+
stroke: "currentColor",
|
|
108
|
+
variants: [{
|
|
109
|
+
props: {
|
|
110
|
+
variant: "determinate"
|
|
111
|
+
},
|
|
112
|
+
style: {
|
|
113
|
+
transition: r.transitions.create("stroke-dashoffset")
|
|
114
|
+
}
|
|
115
|
+
}, {
|
|
116
|
+
props: {
|
|
117
|
+
variant: "indeterminate"
|
|
118
|
+
},
|
|
119
|
+
style: {
|
|
120
|
+
// Some default value that looks fine waiting for the animation to kicks in.
|
|
121
|
+
strokeDasharray: "80px, 200px",
|
|
122
|
+
strokeDashoffset: 0
|
|
123
|
+
// Add the unit to fix a Edge 16 and below bug.
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
props: ({
|
|
127
|
+
ownerState: e
|
|
128
|
+
}) => e.variant === "indeterminate" && !e.disableShrink,
|
|
129
|
+
style: B || {
|
|
130
|
+
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
131
|
+
animation: `${g} 1.4s ease-in-out infinite`
|
|
132
|
+
}
|
|
133
|
+
}]
|
|
134
|
+
}))), $ = /* @__PURE__ */ j.forwardRef(function(e, s) {
|
|
135
|
+
const i = E({
|
|
136
|
+
props: e,
|
|
137
|
+
name: "MuiCircularProgress"
|
|
138
|
+
}), {
|
|
139
|
+
className: m,
|
|
140
|
+
color: p = "primary",
|
|
141
|
+
disableShrink: D = !1,
|
|
142
|
+
size: f = 40,
|
|
143
|
+
style: M,
|
|
144
|
+
thickness: n = 3.6,
|
|
145
|
+
value: d = 0,
|
|
146
|
+
variant: b = "indeterminate",
|
|
147
|
+
...O
|
|
148
|
+
} = i, c = {
|
|
149
|
+
...i,
|
|
150
|
+
color: p,
|
|
151
|
+
disableShrink: D,
|
|
152
|
+
size: f,
|
|
153
|
+
thickness: n,
|
|
154
|
+
value: d,
|
|
155
|
+
variant: b
|
|
156
|
+
}, u = G(c), h = {}, S = {}, C = {};
|
|
157
|
+
if (b === "determinate") {
|
|
158
|
+
const P = 2 * Math.PI * ((a - n) / 2);
|
|
159
|
+
h.strokeDasharray = P.toFixed(3), C["aria-valuenow"] = Math.round(d), h.strokeDashoffset = `${((100 - d) / 100 * P).toFixed(3)}px`, S.transform = "rotate(-90deg)";
|
|
160
|
+
}
|
|
161
|
+
return /* @__PURE__ */ o(L, {
|
|
162
|
+
className: F(u.root, m),
|
|
163
|
+
style: {
|
|
164
|
+
width: f,
|
|
165
|
+
height: f,
|
|
166
|
+
...S,
|
|
167
|
+
...M
|
|
168
|
+
},
|
|
169
|
+
ownerState: c,
|
|
170
|
+
ref: s,
|
|
171
|
+
role: "progressbar",
|
|
172
|
+
...C,
|
|
173
|
+
...O,
|
|
174
|
+
children: /* @__PURE__ */ o(Y, {
|
|
175
|
+
className: u.svg,
|
|
176
|
+
ownerState: c,
|
|
177
|
+
viewBox: `${a / 2} ${a / 2} ${a} ${a}`,
|
|
178
|
+
children: /* @__PURE__ */ o(Z, {
|
|
179
|
+
className: u.circle,
|
|
180
|
+
style: h,
|
|
181
|
+
ownerState: c,
|
|
182
|
+
cx: a,
|
|
183
|
+
cy: a,
|
|
184
|
+
r: (a - n) / 2,
|
|
185
|
+
fill: "none",
|
|
186
|
+
strokeWidth: n
|
|
187
|
+
})
|
|
188
|
+
})
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
192
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
193
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
194
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
195
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
196
|
+
/**
|
|
197
|
+
* Override or extend the styles applied to the component.
|
|
198
|
+
*/
|
|
199
|
+
classes: t.object,
|
|
200
|
+
/**
|
|
201
|
+
* @ignore
|
|
202
|
+
*/
|
|
203
|
+
className: t.string,
|
|
204
|
+
/**
|
|
205
|
+
* The color of the component.
|
|
206
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
207
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
208
|
+
* @default 'primary'
|
|
209
|
+
*/
|
|
210
|
+
color: t.oneOfType([t.oneOf(["inherit", "primary", "secondary", "error", "info", "success", "warning"]), t.string]),
|
|
211
|
+
/**
|
|
212
|
+
* If `true`, the shrink animation is disabled.
|
|
213
|
+
* This only works if variant is `indeterminate`.
|
|
214
|
+
* @default false
|
|
215
|
+
*/
|
|
216
|
+
disableShrink: W(t.bool, (r) => r.disableShrink && r.variant && r.variant !== "indeterminate" ? new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
|
|
217
|
+
/**
|
|
218
|
+
* The size of the component.
|
|
219
|
+
* If using a number, the pixel unit is assumed.
|
|
220
|
+
* If using a string, you need to provide the CSS unit, for example '3rem'.
|
|
221
|
+
* @default 40
|
|
222
|
+
*/
|
|
223
|
+
size: t.oneOfType([t.number, t.string]),
|
|
224
|
+
/**
|
|
225
|
+
* @ignore
|
|
226
|
+
*/
|
|
227
|
+
style: t.object,
|
|
228
|
+
/**
|
|
229
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
230
|
+
*/
|
|
231
|
+
sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
|
|
232
|
+
/**
|
|
233
|
+
* The thickness of the circle.
|
|
234
|
+
* @default 3.6
|
|
235
|
+
*/
|
|
236
|
+
thickness: t.number,
|
|
237
|
+
/**
|
|
238
|
+
* The value of the progress indicator for the determinate variant.
|
|
239
|
+
* Value between 0 and 100.
|
|
240
|
+
* @default 0
|
|
241
|
+
*/
|
|
242
|
+
value: t.number,
|
|
243
|
+
/**
|
|
244
|
+
* The variant to use.
|
|
245
|
+
* Use indeterminate when there is no progress value.
|
|
246
|
+
* @default 'indeterminate'
|
|
247
|
+
*/
|
|
248
|
+
variant: t.oneOf(["determinate", "indeterminate"])
|
|
249
|
+
});
|
|
250
|
+
const _ = R($)({
|
|
251
|
+
...v`
|
|
252
|
+
color: ${N.colors.green};
|
|
253
|
+
`
|
|
254
|
+
}), sr = ({
|
|
255
|
+
loading: r,
|
|
256
|
+
children: e,
|
|
257
|
+
...s
|
|
258
|
+
}) => r ? /* @__PURE__ */ o(_, { size: 47, ...s }) : /* @__PURE__ */ o(T, { children: e });
|
|
259
|
+
export {
|
|
260
|
+
sr as default
|
|
261
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type WithLoadingProps } from './WithLoading';
|
package/composite/index.d.ts
CHANGED
package/composite/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { default as
|
|
1
|
+
import { InfoCard as a } from "./InfoCard/InfoCard.js";
|
|
2
|
+
import { default as e } from "./List/List.js";
|
|
3
|
+
import { default as d } from "./LogoLoop/LogoLoop.js";
|
|
3
4
|
import { default as l } from "./WithLabel/WithLabel.js";
|
|
5
|
+
import { default as s } from "./WithLoading/WithLoading.js";
|
|
4
6
|
export {
|
|
5
|
-
a as
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
a as InfoCard,
|
|
8
|
+
e as List,
|
|
9
|
+
d as LogoLoop,
|
|
10
|
+
l as WithLabel,
|
|
11
|
+
s as WithLoading
|
|
8
12
|
};
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ZoomEntrance } from './animation';
|
|
2
|
-
export { Avatar, AvatarWithImage, Button, Divider, Flex, Grid, ListButton } from './base';
|
|
3
|
-
export { List, LogoLoop, WithLabel } from './composite';
|
|
2
|
+
export { Avatar, AvatarWithImage, Button, Divider, Flex, Grid, Icon, Input, LabeledValue, ListButton, ScrollContainer, } from './base';
|
|
3
|
+
export { InfoCard, List, LogoLoop, WithLabel, WithLoading } from './composite';
|
|
4
4
|
export { AppHeader, Nav } from './supercomposite';
|
|
5
5
|
export { AppContainer } from './templates';
|
package/index.js
CHANGED
|
@@ -1,31 +1,42 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as
|
|
3
|
-
import { AvatarWithImage as
|
|
4
|
-
import { Button as
|
|
5
|
-
import { Divider as
|
|
6
|
-
import { default as
|
|
7
|
-
import { Grid as
|
|
8
|
-
import "./base/
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { default as H } from "./
|
|
1
|
+
import { default as t } from "./animation/ZoomEntrance/ZoomEntrance.js";
|
|
2
|
+
import { default as a } from "./base/Avatar/Avatar.js";
|
|
3
|
+
import { AvatarWithImage as p } from "./base/AvatarWithImage/AvatarWithImage.js";
|
|
4
|
+
import { Button as x } from "./base/Button/Button.js";
|
|
5
|
+
import { Divider as l } from "./base/Divider/Divider.js";
|
|
6
|
+
import { default as s } from "./base/Flex/Flex.js";
|
|
7
|
+
import { Grid as i } from "./base/Grid/Grid.js";
|
|
8
|
+
import { default as v } from "./base/Icon/Icon.js";
|
|
9
|
+
import { Input as I } from "./base/Input/Input.js";
|
|
10
|
+
import { LabeledValue as g } from "./base/LabeledValue/LabeledValue.js";
|
|
11
|
+
import { default as C } from "./base/ListButton/ListButton.js";
|
|
12
|
+
import { default as b } from "./base/ScrollContainer/ScrollContainer.js";
|
|
13
|
+
import { InfoCard as D } from "./composite/InfoCard/InfoCard.js";
|
|
14
|
+
import { default as F } from "./composite/List/List.js";
|
|
15
|
+
import { default as H } from "./composite/LogoLoop/LogoLoop.js";
|
|
16
|
+
import { default as S } from "./composite/WithLabel/WithLabel.js";
|
|
17
|
+
import { default as Z } from "./composite/WithLoading/WithLoading.js";
|
|
18
|
+
import { default as k } from "./supercomposite/AppHeader/AppHeader.js";
|
|
19
|
+
import { Nav as w } from "./supercomposite/Nav/Nav.js";
|
|
20
|
+
import { default as z } from "./templates/AppContainer/AppContainer.js";
|
|
16
21
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
z as AppContainer,
|
|
23
|
+
k as AppHeader,
|
|
24
|
+
a as Avatar,
|
|
25
|
+
p as AvatarWithImage,
|
|
26
|
+
x as Button,
|
|
27
|
+
l as Divider,
|
|
28
|
+
s as Flex,
|
|
29
|
+
i as Grid,
|
|
30
|
+
v as Icon,
|
|
31
|
+
D as InfoCard,
|
|
32
|
+
I as Input,
|
|
33
|
+
g as LabeledValue,
|
|
34
|
+
F as List,
|
|
35
|
+
C as ListButton,
|
|
36
|
+
H as LogoLoop,
|
|
37
|
+
w as Nav,
|
|
38
|
+
b as ScrollContainer,
|
|
39
|
+
S as WithLabel,
|
|
40
|
+
Z as WithLoading,
|
|
41
|
+
t as ZoomEntrance
|
|
31
42
|
};
|
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.47",
|
|
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",
|
package/theme.d.ts
CHANGED
|
@@ -14,12 +14,16 @@ export interface ThemeColors {
|
|
|
14
14
|
grayO44: string;
|
|
15
15
|
green: string;
|
|
16
16
|
indigo: string;
|
|
17
|
+
lighterRed: string;
|
|
18
|
+
lightRed: string;
|
|
19
|
+
maroon: string;
|
|
17
20
|
midnight: string;
|
|
18
21
|
mint: string;
|
|
19
|
-
sunlight: string;
|
|
20
22
|
purple: string;
|
|
23
|
+
sunlight: string;
|
|
21
24
|
veryLightGray: string;
|
|
22
25
|
veryLightGrayO33: string;
|
|
26
|
+
violet: string;
|
|
23
27
|
white: string;
|
|
24
28
|
whiteGreen: string;
|
|
25
29
|
whiteGreenA: string;
|
package/theme.js
CHANGED
|
@@ -16,12 +16,16 @@ const e = {
|
|
|
16
16
|
grayO44: "#72727244",
|
|
17
17
|
green: "#009200",
|
|
18
18
|
indigo: "#4105c1",
|
|
19
|
+
lighterRed: "#ffcccc",
|
|
20
|
+
lightRed: "#eda4a4",
|
|
21
|
+
maroon: "#5c0000",
|
|
19
22
|
midnight: "#131313",
|
|
20
23
|
mint: "#a4edb4",
|
|
21
24
|
purple: "#920092",
|
|
22
25
|
sunlight: "#faf9e8",
|
|
23
26
|
veryLightGray: "#fafafa",
|
|
24
27
|
veryLightGrayO33: "#fafafa33",
|
|
28
|
+
violet: "#c1a7e2",
|
|
25
29
|
white: "white",
|
|
26
30
|
whiteGreen: "#f2fcf5",
|
|
27
31
|
whiteGreenA: "#dae8de"
|