jcicl 0.0.83 → 0.0.84
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/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.84",
|
|
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",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as a } from "react";
|
|
3
3
|
import { n } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
4
|
-
import
|
|
4
|
+
import r from "../../theme.js";
|
|
5
5
|
import { l as c } from "../../.chunks/jocologo.js";
|
|
6
|
-
import { I as
|
|
7
|
-
import { Button as
|
|
6
|
+
import { I as p } from "../../.chunks/Input.js";
|
|
7
|
+
import { Button as m } from "../../base/Button/Button.js";
|
|
8
8
|
import d from "../../base/Avatar/Avatar.js";
|
|
9
9
|
const l = n("div")(({ navWidth: o }) => ({
|
|
10
10
|
display: "grid",
|
|
@@ -13,17 +13,19 @@ const l = n("div")(({ navWidth: o }) => ({
|
|
|
13
13
|
backgroundColor: "transparent",
|
|
14
14
|
alignItems: "center",
|
|
15
15
|
justifyContent: "space-between",
|
|
16
|
-
gridTemplateColumns: `minmax(${o +
|
|
16
|
+
gridTemplateColumns: `minmax(${o + r.constants.actionsPaneWidth}px, 1fr) 2fr 1fr`
|
|
17
17
|
})), f = n("img")({
|
|
18
18
|
width: "36px"
|
|
19
|
-
}), g = n("div")({
|
|
19
|
+
}), g = n("div")({
|
|
20
|
+
height: "50px"
|
|
21
|
+
}), h = n("div")({
|
|
20
22
|
justifySelf: "end"
|
|
21
|
-
}), k = ({ navWidth: o =
|
|
22
|
-
const [i,
|
|
23
|
+
}), k = ({ navWidth: o = r.constants.navDefaultWidth }) => {
|
|
24
|
+
const [i, e] = a(!1);
|
|
23
25
|
return /* @__PURE__ */ s(l, { ...{ navWidth: o }, children: [
|
|
24
|
-
/* @__PURE__ */ t(g, { children: /* @__PURE__ */ t(f, { src: c }) }),
|
|
25
|
-
/* @__PURE__ */ t(
|
|
26
|
-
/* @__PURE__ */ t(
|
|
26
|
+
/* @__PURE__ */ t(g, { children: /* @__PURE__ */ t(f, { src: c, height: "50px" }) }),
|
|
27
|
+
/* @__PURE__ */ t(p, { placeholder: "Search..." }),
|
|
28
|
+
/* @__PURE__ */ t(h, { children: i ? /* @__PURE__ */ t(d, { onClick: () => e(!1) }) : /* @__PURE__ */ t(m, { onClick: () => e(!0), children: "Log In" }) })
|
|
27
29
|
] });
|
|
28
30
|
};
|
|
29
31
|
export {
|
|
@@ -48,7 +48,7 @@ const m = d("div")({
|
|
|
48
48
|
borderTopLeftRadius: r ? 0 : "4px",
|
|
49
49
|
border: `1px solid ${o.colors.green}`,
|
|
50
50
|
width: "100%",
|
|
51
|
-
height: `calc(100vh - ${o.constants.appHeaderHeight}px -
|
|
51
|
+
height: `calc(100vh - ${o.constants.appHeaderHeight}px - 6px)`,
|
|
52
52
|
boxSizing: "border-box",
|
|
53
53
|
padding: "1rem",
|
|
54
54
|
h1: {
|