jcicl 0.0.45 → 0.0.49

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.
Files changed (41) hide show
  1. package/.chunks/ButtonBase.js +1 -1
  2. package/.chunks/DefaultPropsProvider.js +6 -6
  3. package/.chunks/TransitionGroupContext.js +35 -40
  4. package/.chunks/chainPropTypes.js +8 -0
  5. package/.chunks/createSvgIcon.js +1 -1
  6. package/base/Button/Button.js +1 -1
  7. package/base/Divider/Divider.js +1 -1
  8. package/base/Flex/Flex.d.ts +3 -4
  9. package/base/Flex/Flex.js +16 -15
  10. package/base/Grid/Grid.d.ts +3 -3
  11. package/base/Grid/Grid.js +13 -13
  12. package/base/Icon/Icon.d.ts +9 -0
  13. package/base/Icon/Icon.js +43 -0
  14. package/base/Icon/index.d.ts +1 -0
  15. package/base/Icon/index.js +4 -0
  16. package/base/Input/Input.js +15 -14
  17. package/base/LabeledValue/LabeledValue.d.ts +6 -0
  18. package/base/LabeledValue/LabeledValue.js +22 -0
  19. package/base/LabeledValue/index.d.ts +1 -0
  20. package/base/LabeledValue/index.js +4 -0
  21. package/base/ScrollContainer/ScrollContainer.d.ts +1 -0
  22. package/base/index.d.ts +3 -0
  23. package/base/index.js +16 -10
  24. package/composite/InfoCard/InfoCard.d.ts +19 -0
  25. package/composite/InfoCard/InfoCard.js +48 -0
  26. package/composite/InfoCard/index.d.ts +1 -0
  27. package/composite/InfoCard/index.js +4 -0
  28. package/composite/List/List.js +18 -18
  29. package/composite/LogoLoop/LogoLoop.js +21 -23
  30. package/composite/WithLabel/WithLabel.js +4 -4
  31. package/composite/WithLoading/WithLoading.d.ts +8 -0
  32. package/composite/WithLoading/WithLoading.js +261 -0
  33. package/composite/WithLoading/index.d.ts +1 -0
  34. package/composite/WithLoading/index.js +4 -0
  35. package/composite/index.d.ts +2 -0
  36. package/composite/index.js +9 -5
  37. package/index.d.ts +2 -2
  38. package/index.js +40 -29
  39. package/package.json +1 -1
  40. package/theme.d.ts +5 -1
  41. package/theme.js +4 -0
@@ -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, c as E, g as fe, s as te, u as de, a as je, b as Fe } from "./DefaultPropsProvider.js";
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
- Zr as a,
3264
- No as b,
3265
- jo as c,
3266
- Fn as d,
3267
- mr as e,
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
- Do as g,
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 h from "react";
7
- function E(e, t) {
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, p) {
19
- const i = e[t], d = p || t;
20
- if (i == null || // When server-side rendering React doesn't warn either.
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 s;
27
- return typeof i == "function" && !T(i) && (s = "Did you accidentally provide a plain function component instead?"), s !== void 0 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
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 j = E(c.elementType, I), L = c.oneOfType([c.func, c.object]);
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 O = typeof window < "u" ? o.useLayoutEffect : o.useEffect;
34
- function $(e) {
29
+ const P = typeof window < "u" ? o.useLayoutEffect : o.useEffect;
30
+ function g(e) {
35
31
  const t = o.useRef(e);
36
- return O(() => {
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 g(...e) {
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 l = {};
51
- function P(e, t) {
52
- const n = o.useRef(l);
53
- return n.current === l && (n.current = e(t)), n;
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 w(e) {
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 x() {
80
- const e = P(a.create).current;
81
- return w(e.disposeEffect), e;
75
+ function A() {
76
+ const e = w(a.create).current;
77
+ return _(e.disposeEffect), e;
82
78
  }
83
- function N(e, t) {
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 A(e, t) {
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 = h.createContext(null);
96
+ const D = T.createContext(null);
101
97
  export {
102
98
  D as T,
103
- A as _,
104
- N as a,
105
- x as b,
106
- g as c,
107
- $ as d,
108
- j as e,
109
- E as f,
110
- O as g,
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
- P as u
108
+ w as u
114
109
  };
@@ -0,0 +1,8 @@
1
+ function o(r, e) {
2
+ return process.env.NODE_ENV === "production" ? () => null : function(...n) {
3
+ return r(...n) || e(...n);
4
+ };
5
+ }
6
+ export {
7
+ o as c
8
+ };
@@ -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 { a as w, g as C, s as T, e as x, u as N, c as O, P as e, b as R } from "./DefaultPropsProvider.js";
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);
@@ -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, f as H, u as A, c as w, P as t, b as q, d as b } from "../../.chunks/DefaultPropsProvider.js";
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";
@@ -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 { g as R, a as S, s as u, u as T, c as L, P as r, b as W, d as $ } from "../../.chunks/DefaultPropsProvider.js";
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);
@@ -5,14 +5,13 @@ export type FlexProps = {
5
5
  children: React.ReactNode;
6
6
  alignItems?: AlignItems;
7
7
  justifyContent?: JustifyContent;
8
- center?: boolean;
8
+ placeContent?: string;
9
9
  column?: boolean;
10
- full?: boolean;
11
10
  width?: string;
12
11
  height?: string;
13
12
  wrap?: boolean;
14
- padding?: number;
15
- gap?: number;
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 x, i as p } from "../../.chunks/emotion-styled.browser.esm.js";
3
- const w = x("div", {
4
- shouldForwardProp: (t) => p(t) && typeof t == "string" && t !== "wrap"
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: t, alignItems: r, justifyContent: n, center: e, wrap: s, full: o, width: l, height: f, styles: m, padding: a, gap: i }) => ({
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: t ? "column" : "row",
9
- flexWrap: s ? "wrap" : "nowrap",
10
- alignItems: r ?? (e ? "center" : "flex-start"),
11
- justifyContent: n ?? (e ? "center" : "flex-start"),
12
- width: l ?? (o ? "100%" : "auto"),
13
- height: f ?? (o ? "100%" : "auto"),
14
- gap: i ? `${i}rem` : 0,
15
- padding: a ? `${a}rem` : 0,
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
- ...m
18
+ ...n
18
19
  })
19
- ), y = ({ children: t, ...r }) => /* @__PURE__ */ d(w, { ...r, children: t });
20
+ ), u = ({ children: o, ...r }) => /* @__PURE__ */ d(w, { ...r, children: o });
20
21
  export {
21
- y as default
22
+ u as default
22
23
  };
@@ -5,9 +5,9 @@ export type GridProps = {
5
5
  autoColumns?: string;
6
6
  rows?: string;
7
7
  autoRows?: string;
8
- gap?: number;
9
- columnGap?: number;
10
- rowGap?: number;
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 n } from "react/jsx-runtime";
2
- import { n as s } from "../../.chunks/emotion-styled.browser.esm.js";
3
- const p = s("div")(
4
- ({ columns: r, autoColumns: o, rows: e, autoRows: t, gap: m, columnGap: i, rowGap: a, styles: d }) => ({
5
- gridTemplateColumns: r,
6
- gridAutoColumns: o,
7
- gridTemplateRows: e,
8
- gridAutoRows: t,
9
- gap: `${m}rem`,
10
- columnGap: `${i}rem`,
11
- rowGap: `${a}rem`,
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
- ...d
13
+ ...n
14
14
  })
15
- ), g = ({ children: r, ...o }) => /* @__PURE__ */ n(p, { ...o, children: r });
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';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./Icon.js";
2
+ export {
3
+ o as default
4
+ };
@@ -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, c as J, h as io, f as ao, i as Dt, T as $t, g as oe, a as re, e as pe, s as L, u as le, b as se, j as gn, r as Ce, k as Lt, l as jt, d as qt, m as Ht, n as lo } from "../../.chunks/DefaultPropsProvider.js";
7
- import { f as yt, c as fe, _ as co, a as uo, T as yn, g as We, e as vn, r as Pe, b as po, s as Kt, d as Gt } from "../../.chunks/TransitionGroupContext.js";
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 vt } from "../../.chunks/createSimplePaletteValueFilter.js";
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 = yt(e.element, En);
33
- it.isRequired = yt(e.element.isRequired, En);
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(vt()).map(([r]) => ({
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(vt()).map(([a]) => {
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(vt()).map(([o]) => ({
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(vt()).map(([n]) => ({
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: yt(wn, (t) => {
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: yt(e.oneOfType([nt, e.func]), (t) => {
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
- }), ks = ({ ...t }) => /* @__PURE__ */ C(vs, { ...t });
7484
+ }), Ms = ({ ...t }) => /* @__PURE__ */ C(vs, { ...t });
7484
7485
  export {
7485
- ks as Input,
7486
- ks as default
7486
+ Ms as Input,
7487
+ Ms as default
7487
7488
  };
@@ -0,0 +1,6 @@
1
+ export interface LabeledValueProps {
2
+ label: string;
3
+ value: string;
4
+ }
5
+ export declare const LabeledValue: React.FC<LabeledValueProps>;
6
+ export default LabeledValue;
@@ -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';
@@ -0,0 +1,4 @@
1
+ import { LabeledValue as l } from "./LabeledValue.js";
2
+ export {
3
+ l as default
4
+ };
@@ -1,6 +1,7 @@
1
1
  export interface ScrollContainerProps {
2
2
  width?: string;
3
3
  height?: string;
4
+ /** Defines which direction scrolling is enabled for */
4
5
  direction?: 'vertical' | 'horizontal' | 'all';
5
6
  styles?: React.CSSProperties;
6
7
  }
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 o } from "./Avatar/Avatar.js";
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 d } from "./Flex/Flex.js";
6
- import { Grid as l } from "./Grid/Grid.js";
7
- import { Input as n } from "./Input/Input.js";
8
- import { default as A } from "./ListButton/ListButton.js";
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
- o as Avatar,
13
+ t as Avatar,
11
14
  a as AvatarWithImage,
12
15
  m as Button,
13
16
  x as Divider,
14
- d as Flex,
15
- l as Grid,
16
- n as Input,
17
- A as ListButton
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,19 @@
1
+ import { LabeledValueProps } from '../../../../../../../../../src/components/base/LabeledValue';
2
+ interface InfoCardStyleProps {
3
+ /** The element placed before the header text. This can be any valid React Node */
4
+ decorativeElement?: React.ReactNode;
5
+ /** Padding for the card */
6
+ padding?: string;
7
+ /** Box shadow around the card */
8
+ shadow?: string;
9
+ /** Spacing between the items */
10
+ spacing?: string;
11
+ columns?: number;
12
+ }
13
+ export interface InfoCardProps extends InfoCardStyleProps {
14
+ title?: string;
15
+ /** An array of information to display in the card. Format: `{ label, value }`. Built on top of the Labeled Value component. */
16
+ items?: LabeledValueProps[];
17
+ }
18
+ export declare const InfoCard: React.FC<InfoCardProps>;
19
+ export default InfoCard;
@@ -0,0 +1,48 @@
1
+ import { jsxs as a, jsx as n } from "react/jsx-runtime";
2
+ import { n as i } from "../../.chunks/emotion-styled.browser.esm.js";
3
+ import { c as d } from "../../.chunks/emotion-react.browser.esm.js";
4
+ import p from "../../theme.js";
5
+ import { LabeledValue as f } from "../../base/LabeledValue/LabeledValue.js";
6
+ import h from "../../base/Flex/Flex.js";
7
+ const g = i("div")(({ padding: r, shadow: o }) => ({
8
+ ...d`
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: ${o};
19
+ border-radius: 5px;
20
+ background-color: ${p.colors.white};
21
+ `
22
+ })), x = i("div")(({ spacing: r, columns: o }) => ({
23
+ ...d`
24
+ margin-top: calc(${r} * 0.75);
25
+ grid-row-gap: ${r};
26
+ grid-column-gap: calc(${r} * 1.5);
27
+ display: grid;
28
+ grid-template-columns: repeat(${o}, 1fr);
29
+ `
30
+ })), S = ({
31
+ decorativeElement: r,
32
+ title: o,
33
+ items: e,
34
+ padding: l = "1rem 2rem",
35
+ shadow: m = "darkGreen",
36
+ spacing: c = "2rem",
37
+ columns: s = 3
38
+ }) => /* @__PURE__ */ a(g, { ...{ padding: l, shadow: m }, children: [
39
+ /* @__PURE__ */ a(h, { width: "100%", gap: "1rem", alignItems: "center", children: [
40
+ r && r,
41
+ /* @__PURE__ */ n("h3", { children: o })
42
+ ] }),
43
+ /* @__PURE__ */ n(x, { ...{ spacing: c, columns: s }, children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ n(f, { ...t }, t.label)) })
44
+ ] });
45
+ export {
46
+ S as InfoCard,
47
+ S as default
48
+ };
@@ -0,0 +1 @@
1
+ export { default, type InfoCardProps } from './InfoCard';
@@ -0,0 +1,4 @@
1
+ import { InfoCard as o } from "./InfoCard.js";
2
+ export {
3
+ o as default
4
+ };
@@ -1,39 +1,39 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { n as i } from "../../.chunks/emotion-styled.browser.esm.js";
3
- import n from "../../theme.js";
4
- const f = i("div")(
5
- ({ width: o, borderColor: t, bordered: r, backgroundColor: e }) => ({
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { n as m } from "../../.chunks/emotion-styled.browser.esm.js";
3
+ import i from "../../theme.js";
4
+ const d = m("div")(
5
+ ({ width: o, borderColor: t, bordered: s, backgroundColor: r }) => ({
6
6
  display: "flex",
7
7
  flexDirection: "column",
8
8
  fontFamily: "Roboto, sans-serif",
9
- backgroundColor: e,
10
- ...r && { border: `1px solid ${t}` },
9
+ backgroundColor: r,
10
+ ...s && { border: `1px solid ${t}` },
11
11
  borderRadius: "4px",
12
12
  ...o && {
13
13
  width: o
14
14
  }
15
15
  })
16
- ), x = i("div")(
17
- ({ padding: o, borderColor: t, bordered: r }) => ({
16
+ ), x = m("div")(
17
+ ({ padding: o, borderColor: t, bordered: s }) => ({
18
18
  padding: o,
19
- ...r && {
19
+ ...s && {
20
20
  borderBottom: `1px solid ${t}`,
21
21
  "&:last-child": {
22
22
  borderBottom: "none"
23
23
  }
24
24
  }
25
25
  })
26
- ), y = ({
26
+ ), v = ({
27
27
  bordered: o = !1,
28
28
  width: t,
29
- padding: r = "0",
30
- borderColor: e = n.colors.darkGreen,
31
- backgroundColor: l = n.colors.white,
32
- children: m
29
+ padding: s = "0",
30
+ borderColor: r = i.colors.darkGreen,
31
+ backgroundColor: a = i.colors.white,
32
+ children: e
33
33
  }) => {
34
- const a = { width: t, borderColor: e, bordered: o, backgroundColor: l }, c = { padding: r, borderColor: e, bordered: o };
35
- return /* @__PURE__ */ s(f, { ...a, children: m.map((d, p) => /* @__PURE__ */ s(x, { ...c, children: d }, p)) });
34
+ const l = { width: t, borderColor: r, bordered: o, backgroundColor: a }, p = { padding: s, borderColor: r, bordered: o };
35
+ return /* @__PURE__ */ n(d, { ...l, children: e == null ? void 0 : e.map((c, f) => /* @__PURE__ */ n(x, { ...p, children: c }, f)) });
36
36
  };
37
37
  export {
38
- y as default
38
+ v as default
39
39
  };
@@ -1,16 +1,18 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import { n as t } from "../../.chunks/emotion-styled.browser.esm.js";
3
- import { c as a } from "../../.chunks/emotion-react.browser.esm.js";
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 r } from "../../.chunks/jocologo.js";
6
- import s from "../../animation/ZoomEntrance/ZoomEntrance.js";
7
- const i = t("img")({
8
- ...a`
9
- height: 6em;
10
- padding: 1.5em;
11
- will-change: filter;
12
- transition: filter 300ms;
13
- position: relative;
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
- }), l = t("img")({
48
- ...a`
49
- height: 6em;
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
- }), p = () => /* @__PURE__ */ n(s, { children: [
88
- /* @__PURE__ */ o("a", { href: "https://int.johnsoncountyiowa.gov/home", target: "_blank", children: /* @__PURE__ */ o(i, { src: r, className: "logo logo-left", alt: "Johnson County, Iowa logo" }) }),
89
- /* @__PURE__ */ o("a", { href: "https://int.johnsoncountyiowa.gov/home", target: "_blank", children: /* @__PURE__ */ o(l, { src: r, className: "logo logo-right", alt: "Johnson County, Iowa logo" }) })
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
- p as default
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 o from "../../base/Flex/Flex.js";
3
- const m = ({
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(o, { gap: 0.5, alignItems: "center", styles: { ...n, fontSize: i }, ...s, children: [
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
- m as default
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';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./WithLoading.js";
2
+ export {
3
+ o as default
4
+ };
@@ -1,3 +1,5 @@
1
+ export { default as InfoCard } from './InfoCard';
1
2
  export { default as List } from './List';
2
3
  export { default as LogoLoop } from './LogoLoop';
3
4
  export { default as WithLabel } from './WithLabel';
5
+ export { default as WithLoading } from './WithLoading';
@@ -1,8 +1,12 @@
1
- import { default as a } from "./List/List.js";
2
- import { default as f } from "./LogoLoop/LogoLoop.js";
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 List,
6
- f as LogoLoop,
7
- l as WithLabel
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 e } from "./animation/ZoomEntrance/ZoomEntrance.js";
2
- import { default as f } from "./base/Avatar/Avatar.js";
3
- import { AvatarWithImage as m } from "./base/AvatarWithImage/AvatarWithImage.js";
4
- import { Button as d } from "./base/Button/Button.js";
5
- import { Divider as s } from "./base/Divider/Divider.js";
6
- import { default as i } from "./base/Flex/Flex.js";
7
- import { Grid as L } from "./base/Grid/Grid.js";
8
- import "./base/Input/Input.js";
9
- import { default as A } from "./base/ListButton/ListButton.js";
10
- import { default as h } from "./composite/List/List.js";
11
- import { default as W } from "./composite/LogoLoop/LogoLoop.js";
12
- import { default as c } from "./composite/WithLabel/WithLabel.js";
13
- import { default as D } from "./supercomposite/AppHeader/AppHeader.js";
14
- import { Nav as F } from "./supercomposite/Nav/Nav.js";
15
- import { default as H } from "./templates/AppContainer/AppContainer.js";
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
- H as AppContainer,
18
- D as AppHeader,
19
- f as Avatar,
20
- m as AvatarWithImage,
21
- d as Button,
22
- s as Divider,
23
- i as Flex,
24
- L as Grid,
25
- h as List,
26
- A as ListButton,
27
- W as LogoLoop,
28
- F as Nav,
29
- c as WithLabel,
30
- e as ZoomEntrance
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.45",
4
+ "version": "0.0.49",
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"