jcicl 0.0.261 → 0.0.263

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.
@@ -6,7 +6,7 @@ import o from "../theme.js";
6
6
  import { u as h, A as w } from "../.chunks/AppContainer.js";
7
7
  import T from "../WithLoading/WithLoading.js";
8
8
  import { TopFade as S, BottomFade as P } from "../Overlays/Overlays.js";
9
- const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldForwardProp: (r) => !$.includes(r) })(({ loading: r, hasPagination: l, hasFade: s, loadingColor: t = o.colors.green, isTablet: a }) => ({
9
+ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldForwardProp: (r) => !$.includes(r) })(({ loading: r, hasPagination: l, hasFade: s, loadingColor: t = o.colors.green, isTablet: i }) => ({
10
10
  ...b`
11
11
  color: ${o.colors.midnight};
12
12
  height: ${r ? "100%" : "auto"};
@@ -17,7 +17,7 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
17
17
  align-items: center;
18
18
  width: 100%;
19
19
  min-height: 100%;
20
- height: ${a ? "100%" : "auto"};
20
+ height: ${i ? "100%" : "auto"};
21
21
  box-sizing: border-box;
22
22
  padding-bottom: ${s ? l ? "114px" : "72px" : "19px"};
23
23
  > * div {
@@ -87,10 +87,10 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
87
87
  loading: l = !1,
88
88
  hasPagination: s = !1,
89
89
  fade: t = !0,
90
- userProfileMenuItems: a,
90
+ userProfileMenuItems: i,
91
91
  ...c
92
92
  }) => {
93
- const y = localStorage.getItem("theme") || "green", [i, n] = p(y), d = h(`(max-width: ${o.screenSizes.mobile})`), x = h(`(max-width: ${o.screenSizes.mobile})`), k = B[i], C = [
93
+ const y = localStorage.getItem("theme") || "green", [a, n] = p(y), d = h(`(max-width: ${o.screenSizes.mobile})`), x = h(`(max-width: ${o.screenSizes.tablet})`), k = B[a], C = [
94
94
  {
95
95
  label: "Green Theme",
96
96
  onClick: () => {
@@ -109,7 +109,7 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
109
109
  localStorage.setItem("theme", "red"), n("red");
110
110
  }
111
111
  },
112
- ...a || []
112
+ ...i || []
113
113
  ];
114
114
  return /* @__PURE__ */ e(
115
115
  w,
@@ -122,14 +122,14 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
122
122
  {
123
123
  className: "jcPageWrapper",
124
124
  loading: l,
125
- loadingColor: v[i],
125
+ loadingColor: v[a],
126
126
  hasPagination: s,
127
127
  hasFade: t,
128
128
  isTablet: x,
129
129
  children: /* @__PURE__ */ m(T, { loading: l, size: d ? 114 : 201, children: [
130
130
  t && /* @__PURE__ */ m(f, { children: [
131
- /* @__PURE__ */ e(S, { color: g[i] }),
132
- /* @__PURE__ */ e(P, { hasPagination: s, isMobile: d, color: g[i] })
131
+ /* @__PURE__ */ e(S, { color: g[a] }),
132
+ /* @__PURE__ */ e(P, { hasPagination: s, isMobile: d, color: g[a] })
133
133
  ] }),
134
134
  /* @__PURE__ */ e(M, { children: r })
135
135
  ] })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.261",
4
+ "version": "0.0.263",
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",