jcicl 0.0.67 → 0.0.68

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.67",
4
+ "version": "0.0.68",
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,19 +1,19 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import f from "../../supercomposite/AppHeader/AppHeader.js";
3
- import { Nav as h } from "../../supercomposite/Nav/Nav.js";
2
+ import m from "../../supercomposite/AppHeader/AppHeader.js";
3
+ import { Nav as f } from "../../supercomposite/Nav/Nav.js";
4
4
  import l from "../../base/ScrollContainer/ScrollContainer.js";
5
- import { n as t } from "../../.chunks/emotion-styled.browser.esm.js";
5
+ import { n as d } from "../../.chunks/emotion-styled.browser.esm.js";
6
6
  import o from "../../theme.js";
7
- const m = t("div")({
7
+ const h = d("div")({
8
8
  display: "flex",
9
9
  flexDirection: "column",
10
- width: "100%",
10
+ width: "100vw",
11
11
  position: "relative",
12
12
  backgroundColor: o.colors.whiteGreenA,
13
13
  height: "100vh",
14
14
  fontFamily: "Roboto, sans-serif",
15
15
  overflow: "hidden"
16
- }), g = t("div")({
16
+ }), g = d("div")({
17
17
  display: "flex",
18
18
  flexDirection: "row",
19
19
  justifyContent: "flex-start",
@@ -21,8 +21,8 @@ const m = t("div")({
21
21
  width: "calc(100% - 2px)",
22
22
  padding: "4px 2px",
23
23
  paddingLeft: 0,
24
- height: `calc(100% - ${o.constants.appHeaderHeight}px - 8px)`
25
- }), u = t("div")(({ withActionsPanel: r }) => ({
24
+ minHeight: `calc(100% - ${o.constants.appHeaderHeight}px - 8px)`
25
+ }), u = d("div")(({ withActionsPanel: r }) => ({
26
26
  display: "flex",
27
27
  flexDirection: "column",
28
28
  opacity: r ? 1 : 0,
@@ -39,36 +39,37 @@ const m = t("div")({
39
39
  ...!r && {
40
40
  border: "none"
41
41
  }
42
- })), b = t("div")(({ withActionsPanel: r }) => ({
42
+ })), b = d("div")(({ withActionsPanel: r }) => ({
43
43
  display: "flex",
44
44
  backgroundColor: o.colors.whiteGreen,
45
45
  borderRadius: "4px",
46
46
  borderBottomLeftRadius: r ? 0 : "4px",
47
47
  borderTopLeftRadius: r ? 0 : "4px",
48
48
  border: `1px solid ${o.colors.green}`,
49
- width: "100%",
50
- height: "calc(100% - 2rem)",
49
+ minWidth: "100%",
50
+ minHeight: "100%",
51
+ boxSizing: "border-box",
51
52
  padding: "1rem",
52
53
  h1: {
53
54
  margin: 0
54
55
  }
55
- })), D = ({
56
+ })), k = ({
56
57
  navProps: r,
57
58
  appHeaderProps: p,
58
59
  actionsPanelContent: i,
59
- navWidth: d = o.constants.navDefaultWidth,
60
+ navWidth: t = o.constants.navDefaultWidth,
60
61
  children: s
61
62
  }) => {
62
- const n = i != null, c = { ...p, navWidth: d }, x = { ...r, navWidth: `${d}px` };
63
- return /* @__PURE__ */ a(m, { children: [
64
- /* @__PURE__ */ e(f, { ...c }),
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 }),
65
66
  /* @__PURE__ */ a(g, { children: [
66
- /* @__PURE__ */ e(h, { ...x }),
67
+ /* @__PURE__ */ e(f, { ...x }),
67
68
  /* @__PURE__ */ e(u, { withActionsPanel: n, children: /* @__PURE__ */ e(l, { direction: "vertical", children: i && i }) }),
68
69
  /* @__PURE__ */ e(b, { withActionsPanel: n, children: /* @__PURE__ */ e(l, { children: s }) })
69
70
  ] })
70
71
  ] });
71
72
  };
72
73
  export {
73
- D as default
74
+ k as default
74
75
  };