jcicl 0.0.265 → 0.0.267
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,5 +1,5 @@
|
|
|
1
|
-
import { jsx as e, jsxs as m, Fragment as
|
|
2
|
-
import { useState as
|
|
1
|
+
import { jsx as e, jsxs as m, Fragment as C } from "react/jsx-runtime";
|
|
2
|
+
import { useState as f } from "react";
|
|
3
3
|
import { n as u } from "../.chunks/emotion-styled.browser.esm.js";
|
|
4
4
|
import { c as b } from "../.chunks/emotion-react.browser.esm.js";
|
|
5
5
|
import o from "../theme.js";
|
|
@@ -11,6 +11,7 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
|
|
|
11
11
|
color: ${o.colors.midnight};
|
|
12
12
|
height: ${r ? "100%" : "auto"};
|
|
13
13
|
padding: 19px;
|
|
14
|
+
padding-top: 36px;
|
|
14
15
|
display: flex;
|
|
15
16
|
flex-direction: column;
|
|
16
17
|
justify-content: ${r ? "center" : "start"};
|
|
@@ -90,7 +91,7 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
|
|
|
90
91
|
userProfileMenuItems: i,
|
|
91
92
|
...c
|
|
92
93
|
}) => {
|
|
93
|
-
const
|
|
94
|
+
const x = localStorage.getItem("theme") || "green", [a, n] = f(x), d = h(`(max-width: ${o.screenSizes.mobile})`), y = h(`(max-width: ${o.screenSizes.tablet})`), k = B[a], p = [
|
|
94
95
|
{
|
|
95
96
|
label: "Green Theme",
|
|
96
97
|
onClick: () => {
|
|
@@ -115,7 +116,7 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
|
|
|
115
116
|
w,
|
|
116
117
|
{
|
|
117
118
|
...c,
|
|
118
|
-
userProfileMenuItems:
|
|
119
|
+
userProfileMenuItems: p,
|
|
119
120
|
themeColors: k ?? (c == null ? void 0 : c.themeColors),
|
|
120
121
|
children: /* @__PURE__ */ e(
|
|
121
122
|
R,
|
|
@@ -125,9 +126,9 @@ const $ = ["loading", "hasPagination", "loadingColor"], R = u("div", { shouldFor
|
|
|
125
126
|
loadingColor: v[a],
|
|
126
127
|
hasPagination: s,
|
|
127
128
|
hasFade: t,
|
|
128
|
-
isTablet:
|
|
129
|
+
isTablet: y,
|
|
129
130
|
children: /* @__PURE__ */ m(T, { loading: l, size: d ? 114 : 201, children: [
|
|
130
|
-
t && /* @__PURE__ */ m(
|
|
131
|
+
t && /* @__PURE__ */ m(C, { children: [
|
|
131
132
|
/* @__PURE__ */ e(S, { color: g[a] }),
|
|
132
133
|
/* @__PURE__ */ e(P, { hasPagination: s, isMobile: d, color: g[a] })
|
|
133
134
|
] }),
|
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.267",
|
|
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",
|