jcicl 0.0.15 → 0.0.17

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/AppBar.js CHANGED
@@ -3,7 +3,7 @@ import { I } from "./Input.js";
3
3
  import { B as R } from "./Button.js";
4
4
  import { n as y } from "./emotion-styled.browser.esm.js";
5
5
  import { l as j } from "./jocologo.js";
6
- import f from "../assets/theme.ts.js";
6
+ import f from "../assets/theme.js";
7
7
  import * as v from "react";
8
8
  import { a as x, g as B, s as m, e as c, u as A, c as k, P as r, b as T } from "./DefaultPropsProvider.js";
9
9
  import { m as C } from "./memoTheme.js";
@@ -1,18 +1,18 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { A as s } from "./AppHeader.js";
3
- import { C as l } from "./CompactNav.js";
4
- import { n as i } from "./emotion-styled.browser.esm.js";
5
- import r from "../assets/theme.ts.js";
6
- const c = i("div")({
1
+ import { jsxs as t, jsx as i } from "react/jsx-runtime";
2
+ import { A as l } from "./AppHeader.js";
3
+ import { C as s } from "./CompactNav.js";
4
+ import { n as d } from "./emotion-styled.browser.esm.js";
5
+ import o from "../assets/theme.js";
6
+ const n = d("div")({
7
7
  display: "flex",
8
8
  flexDirection: "column",
9
9
  width: "100%",
10
10
  position: "relative",
11
- backgroundColor: r.colors.whiteGreen2,
11
+ backgroundColor: o.colors.whiteGreen2,
12
12
  height: "100vh",
13
13
  fontFamily: "Roboto, sans-serif",
14
14
  overflow: "hidden"
15
- }), x = i("div")({
15
+ }), c = d("div")({
16
16
  display: "flex",
17
17
  flexDirection: "row",
18
18
  justifyContent: "flex-start",
@@ -20,52 +20,51 @@ const c = i("div")({
20
20
  width: "calc(100% - 2px)",
21
21
  padding: "4px 2px",
22
22
  paddingLeft: 0,
23
- height: `calc(100% - ${r.constants.appHeaderHeight}px - 8px)`
24
- }), m = i("div")(({ withActionsPanel: o }) => ({
23
+ height: `calc(100% - ${o.constants.appHeaderHeight}px - 8px)`
24
+ }), x = d("div")(({ withActionsPanel: r }) => ({
25
25
  display: "flex",
26
26
  flexDirection: "column",
27
- opacity: o ? 1 : 0,
28
- border: `1px solid ${r.colors.green}`,
27
+ opacity: r ? 1 : 0,
28
+ border: `1px solid ${o.colors.green}`,
29
29
  borderRight: 0,
30
30
  borderRadius: "4px",
31
31
  borderTopRightRadius: 0,
32
32
  borderBottomRightRadius: 0,
33
33
  height: "calc(100% - 32px)",
34
- padding: o ? "1rem" : 0,
35
- backgroundColor: r.colors.darkGreenO22,
36
- color: r.colors.mint,
37
- width: o ? "400px" : 0,
34
+ padding: r ? "1rem" : 0,
35
+ backgroundColor: o.colors.darkGreenO22,
36
+ color: o.colors.white,
37
+ width: r ? "400px" : 0,
38
38
  transition: "313ms all ease-in-out",
39
- ...!o && {
39
+ ...!r && {
40
40
  border: "none"
41
41
  }
42
- })), f = i("div")(({ withActionsPanel: o }) => ({
42
+ })), h = d("div")(({ withActionsPanel: r }) => ({
43
43
  display: "flex",
44
- backgroundColor: r.colors.whiteGreen,
44
+ backgroundColor: o.colors.whiteGreen,
45
45
  borderRadius: "4px",
46
- borderBottomLeftRadius: o ? 0 : "4px",
47
- borderTopLeftRadius: o ? 0 : "4px",
48
- border: `1px solid ${r.colors.green}`,
46
+ borderBottomLeftRadius: r ? 0 : "4px",
47
+ borderTopLeftRadius: r ? 0 : "4px",
48
+ border: `1px solid ${o.colors.green}`,
49
49
  width: "100%",
50
50
  height: "calc(100% - 2rem)",
51
51
  padding: "1rem",
52
52
  h1: {
53
53
  margin: 0
54
54
  }
55
- })), R = ({
56
- navProps: o,
57
- appHeaderProps: n,
58
- withActionsPanel: t,
59
- actionsPanelContent: d,
55
+ })), v = ({
56
+ navProps: r,
57
+ appHeaderProps: a,
58
+ actionsPanelContent: e,
60
59
  children: p
61
- }) => /* @__PURE__ */ a(c, { children: [
62
- /* @__PURE__ */ e(s, { ...n }),
63
- /* @__PURE__ */ a(x, { children: [
64
- /* @__PURE__ */ e(l, { ...o }),
65
- /* @__PURE__ */ e(m, { withActionsPanel: t, children: d && d }),
66
- /* @__PURE__ */ e(f, { withActionsPanel: t, children: p })
60
+ }) => /* @__PURE__ */ t(n, { children: [
61
+ /* @__PURE__ */ i(l, { ...a }),
62
+ /* @__PURE__ */ t(c, { children: [
63
+ /* @__PURE__ */ i(s, { ...r }),
64
+ /* @__PURE__ */ i(x, { withActionsPanel: e != null, children: e && e }),
65
+ /* @__PURE__ */ i(h, { withActionsPanel: !!e, children: p })
67
66
  ] })
68
67
  ] });
69
68
  export {
70
- R as A
69
+ v as A
71
70
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as a } from "react";
3
3
  import { n } from "./emotion-styled.browser.esm.js";
4
- import r from "../assets/theme.ts.js";
4
+ import r from "../assets/theme.js";
5
5
  import { l as s } from "./jocologo.js";
6
6
  import { I as p } from "./Input.js";
7
7
  import { B as m } from "./Button.js";
package/.chunks/Avatar.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { c } from "./createSvgIcon.js";
3
3
  import { B as d } from "./ButtonBase.js";
4
- import t from "../assets/theme.ts.js";
4
+ import t from "../assets/theme.js";
5
5
  import { n as a, i as l } from "./emotion-styled.browser.esm.js";
6
6
  const m = c(/* @__PURE__ */ i("path", {
7
7
  d: "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { B as c } from "./ButtonBase.js";
3
- import m from "../assets/theme.ts.js";
3
+ import m from "../assets/theme.js";
4
4
  import { n as d } from "./emotion-styled.browser.esm.js";
5
5
  const s = d("img")(
6
6
  ({ borderColor: o = m.colors.darkGreen, size: r = 40, objectFit: e = "cover" }) => ({
@@ -2,7 +2,7 @@ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { A as s } from "./AppBar.js";
3
3
  import { N as p } from "./Nav.js";
4
4
  import { n as r } from "./emotion-styled.browser.esm.js";
5
- import a from "../assets/theme.ts.js";
5
+ import a from "../assets/theme.js";
6
6
  const m = r("div")({
7
7
  display: "flex",
8
8
  flexDirection: "column",
package/.chunks/Button.js CHANGED
@@ -4,7 +4,7 @@ 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
4
4
  import { m as J } from "./memoTheme.js";
5
5
  import { c as K } from "./createSimplePaletteValueFilter.js";
6
6
  import { B as Q } from "./ButtonBase.js";
7
- import i from "../assets/theme.ts.js";
7
+ import i from "../assets/theme.js";
8
8
  function X(o) {
9
9
  return F("MuiButton", o);
10
10
  }
@@ -1,9 +1,9 @@
1
- import { jsx as n, jsxs as p } from "react/jsx-runtime";
2
- import { useState as m } from "react";
3
- import { n as s, i as f } from "./emotion-styled.browser.esm.js";
4
- import o from "../assets/theme.ts.js";
5
- import { B as u } from "./ButtonBase.js";
6
- const x = s("div")({
1
+ import { jsx as s, jsxs as m } from "react/jsx-runtime";
2
+ import { useState as f } from "react";
3
+ import { n as i, i as u } from "./emotion-styled.browser.esm.js";
4
+ import o from "../assets/theme.js";
5
+ import { B as x } from "./ButtonBase.js";
6
+ const h = i("div")({
7
7
  display: "flex",
8
8
  flexDirection: "column",
9
9
  backgroundColor: "transparent",
@@ -21,8 +21,8 @@ const x = s("div")({
21
21
  borderRadius: "8px"
22
22
  }
23
23
  }
24
- }), h = s(u, {
25
- shouldForwardProp: (r) => f(r)
24
+ }), g = i(x, {
25
+ shouldForwardProp: (r) => u(r)
26
26
  })(({ active: r }) => ({
27
27
  display: "flex",
28
28
  flexDirection: "column",
@@ -55,16 +55,16 @@ const x = s("div")({
55
55
  color: o.colors.darkGreen,
56
56
  textAlign: "center"
57
57
  }
58
- })), y = ({ navItems: r }) => {
59
- const [i, a] = m(""), l = (t, e) => {
60
- a(t), e();
58
+ })), S = ({ navItems: r, activeRoute: e }) => {
59
+ const [a, l] = f(""), c = (n, t) => {
60
+ l(n), t();
61
61
  };
62
- return /* @__PURE__ */ n(x, { children: r.map(({ icon: t, label: e = "", onClick: c = () => {
63
- }, ...d }) => /* @__PURE__ */ p(h, { ...d, active: e === i, onClick: () => l(e, c), children: [
64
- t,
65
- /* @__PURE__ */ n("span", { children: e })
66
- ] }, e)) });
62
+ return /* @__PURE__ */ s(h, { children: r.map(({ icon: n, label: t = "", onClick: d = () => {
63
+ }, ...p }) => /* @__PURE__ */ m(g, { ...p, active: e ? e === t : a === t, onClick: () => c(t, d), children: [
64
+ n,
65
+ /* @__PURE__ */ s("span", { children: t })
66
+ ] }, t)) });
67
67
  };
68
68
  export {
69
- y as C
69
+ S as C
70
70
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
2
  import { n as D, i as A } from "./emotion-styled.browser.esm.js";
3
- import u from "../assets/theme.ts.js";
3
+ import u from "../assets/theme.js";
4
4
  import * as S from "react";
5
5
  import { g as R, a as T, s as m, u as L, c as W, P as r, b as $, d as I } from "./DefaultPropsProvider.js";
6
6
  import { m as b } from "./memoTheme.js";
package/.chunks/Input.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as ce, jsx as S } from "react/jsx-runtime";
2
2
  import { n as Ao } from "./emotion-styled.browser.esm.js";
3
- import we from "../assets/theme.ts.js";
3
+ import we from "../assets/theme.js";
4
4
  import * as i from "react";
5
5
  import { f as Bo, i as Wo, T as Do, P as e, g as Q, a as ee, e as _, s as F, u as fe, c as le, b as oe, j as To, r as ye, k as so, l as Uo, m as Vo } from "./DefaultPropsProvider.js";
6
6
  import { l as Ho, o as co, d as qo, f as fo, m as _o, c as no, n as Ko, k as Go, g as Xo, p as We } from "./Menu.js";
package/.chunks/Nav.js CHANGED
@@ -3,7 +3,7 @@ import * as m from "react";
3
3
  import { useState as ft, createElement as Zt } from "react";
4
4
  import { n as X, i as It } from "./emotion-styled.browser.esm.js";
5
5
  import { c as pt } from "./createSvgIcon.js";
6
- import z from "../assets/theme.ts.js";
6
+ import z from "../assets/theme.js";
7
7
  import { D as ht } from "./Divider.js";
8
8
  import { P as e, a as J, g as q, s as V, r as Nt, e as Y, u as K, c as j, b as Q, d as it, h as te } from "./DefaultPropsProvider.js";
9
9
  import { e as ee, H as oe, u as mt, g as ne, o as Ot, T as kt, d as re, r as ie, a as lt, M as se, P as ae, b as le, i as ce, L as _, c as Mt, f as xt, h as pe, j as de, k as ue } from "./Menu.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.15",
4
+ "version": "0.0.17",
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",
File without changes