jcicl 0.0.82 → 0.0.83

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.
@@ -1,15 +1,18 @@
1
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import m from "../../base/Flex/Flex.js";
3
- const h = ({
4
- label: r,
5
- component: t,
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
+ import s from "../../base/Flex/Flex.js";
3
+ import { n as m } from "../../.chunks/emotion-styled.browser.esm.js";
4
+ const a = m("label")`
5
+ text-align: left;
6
+ `, f = ({
7
+ label: e,
8
+ component: r,
6
9
  fontSize: i = "inherit",
7
10
  styles: n,
8
- ...s
9
- }) => /* @__PURE__ */ l(m, { gap: "0.5rem", alignItems: "center", styles: { ...n, fontSize: i }, ...s, children: [
10
- /* @__PURE__ */ e("div", { id: r, children: t }),
11
- /* @__PURE__ */ e("label", { htmlFor: r, children: r })
11
+ ...l
12
+ }) => /* @__PURE__ */ o(s, { gap: "0.5rem", alignItems: "center", styles: { ...n, fontSize: i }, ...l, children: [
13
+ /* @__PURE__ */ t("div", { id: e, children: r }),
14
+ /* @__PURE__ */ t(a, { htmlFor: e, children: e })
12
15
  ] });
13
16
  export {
14
- h as default
17
+ f as default
15
18
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.82",
4
+ "version": "0.0.83",
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 a, jsx as e } from "react/jsx-runtime";
2
- import m from "../../supercomposite/AppHeader/AppHeader.js";
2
+ import h from "../../supercomposite/AppHeader/AppHeader.js";
3
3
  import { Nav as f } from "../../supercomposite/Nav/Nav.js";
4
- import l from "../../base/ScrollContainer/ScrollContainer.js";
4
+ import p from "../../base/ScrollContainer/ScrollContainer.js";
5
5
  import { n as d } from "../../.chunks/emotion-styled.browser.esm.js";
6
6
  import o from "../../theme.js";
7
- const h = d("div")({
7
+ const m = d("div")({
8
8
  display: "flex",
9
9
  flexDirection: "column",
10
10
  width: "100vw",
@@ -41,35 +41,36 @@ const h = d("div")({
41
41
  }
42
42
  })), b = d("div")(({ withActionsPanel: r }) => ({
43
43
  display: "flex",
44
+ overflow: "hidden",
44
45
  backgroundColor: o.colors.whiteGreen,
45
46
  borderRadius: "4px",
46
47
  borderBottomLeftRadius: r ? 0 : "4px",
47
48
  borderTopLeftRadius: r ? 0 : "4px",
48
49
  border: `1px solid ${o.colors.green}`,
49
50
  width: "100%",
50
- minHeight: "100%",
51
+ height: `calc(100vh - ${o.constants.appHeaderHeight}px - 8px)`,
51
52
  boxSizing: "border-box",
52
53
  padding: "1rem",
53
54
  h1: {
54
55
  margin: 0
55
56
  }
56
- })), k = ({
57
+ })), $ = ({
57
58
  navProps: r,
58
- appHeaderProps: p,
59
+ appHeaderProps: l,
59
60
  actionsPanelContent: i,
60
61
  navWidth: t = o.constants.navDefaultWidth,
61
62
  children: s
62
63
  }) => {
63
- const n = i != null, c = { ...p, navWidth: t }, x = { ...r, navWidth: `${t}px` };
64
- return /* @__PURE__ */ a(h, { children: [
65
- /* @__PURE__ */ e(m, { ...c }),
64
+ const n = i != null, c = { ...l, navWidth: t }, x = { ...r, navWidth: `${t}px` };
65
+ return /* @__PURE__ */ a(m, { children: [
66
+ /* @__PURE__ */ e(h, { ...c }),
66
67
  /* @__PURE__ */ a(g, { children: [
67
68
  /* @__PURE__ */ e(f, { ...x }),
68
- /* @__PURE__ */ e(u, { withActionsPanel: n, children: /* @__PURE__ */ e(l, { direction: "vertical", children: i && i }) }),
69
- /* @__PURE__ */ e(l, { children: /* @__PURE__ */ e(b, { withActionsPanel: n, children: s }) })
69
+ /* @__PURE__ */ e(u, { withActionsPanel: n, children: /* @__PURE__ */ e(p, { direction: "vertical", children: i && i }) }),
70
+ /* @__PURE__ */ e(b, { withActionsPanel: n, children: /* @__PURE__ */ e(p, { children: s }) })
70
71
  ] })
71
72
  ] });
72
73
  };
73
74
  export {
74
- k as default
75
+ $ as default
75
76
  };