jcicl 0.0.157 → 0.0.159

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.
Files changed (2) hide show
  1. package/Search/Search.js +9 -9
  2. package/package.json +1 -1
package/Search/Search.js CHANGED
@@ -11,7 +11,7 @@ const k = m(/* @__PURE__ */ r("path", {
11
11
  d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
12
12
  }), "Search"), C = m(/* @__PURE__ */ r("path", {
13
13
  d: "M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"
14
- }), "FilterList"), I = s("div")(() => ({
14
+ }), "FilterList"), F = s("div")(() => ({
15
15
  ...l`
16
16
  position: relative;
17
17
  width: 100%;
@@ -19,7 +19,7 @@ const k = m(/* @__PURE__ */ r("path", {
19
19
  flex-direction: column;
20
20
  align-items: center;
21
21
  `
22
- })), M = s(y)(({ borderColor: o, borderFocusColor: i, shadowTertiary: a }) => ({
22
+ })), I = s(y)(({ borderColor: o, borderFocusColor: i, shadowTertiary: a }) => ({
23
23
  backgroundColor: e.colors.white,
24
24
  borderRadius: "1rem",
25
25
  height: "2rem",
@@ -60,14 +60,14 @@ const k = m(/* @__PURE__ */ r("path", {
60
60
  },
61
61
  input: {
62
62
  boxSizing: "border-box",
63
- padding: 0,
64
63
  paddingRight: "4px",
65
64
  transition: "313ms all ease-out",
66
65
  height: "2rem",
67
66
  borderRadius: "1rem",
68
67
  boxShadow: "0 0 0 0",
69
68
  display: "flex",
70
- alignItems: "center"
69
+ alignItems: "center",
70
+ padding: "0 6px"
71
71
  },
72
72
  "&:hover, :focus-visible, :focus-within": {
73
73
  borderColor: i,
@@ -91,7 +91,7 @@ const k = m(/* @__PURE__ */ r("path", {
91
91
  padding: "2px"
92
92
  }
93
93
  }
94
- })), R = s("div")(({ open: o }) => ({
94
+ })), j = s("div")(({ open: o }) => ({
95
95
  ...l`
96
96
  box-sizing: border-box;
97
97
  position: absolute;
@@ -116,7 +116,7 @@ const k = m(/* @__PURE__ */ r("path", {
116
116
  width: calc(100% - 6px);
117
117
  }
118
118
  `
119
- })), $ = s("div")(() => ({
119
+ })), M = s("div")(() => ({
120
120
  ...l`
121
121
  display: grid;
122
122
  grid-template-columns: repeat(3, 1fr);
@@ -153,9 +153,9 @@ const k = m(/* @__PURE__ */ r("path", {
153
153
  const [c, g] = S(!1), u = (n) => {
154
154
  n.preventDefault(), n.key === "Enter" && d && d();
155
155
  }, x = { borderColor: o, borderFocusColor: i, shadowTertiary: a, ...h }, b = t && t.length > 0;
156
- return /* @__PURE__ */ v(I, { children: [
156
+ return /* @__PURE__ */ v(F, { className: "jcInputContainer", children: [
157
157
  /* @__PURE__ */ r(
158
- M,
158
+ I,
159
159
  {
160
160
  slotProps: {
161
161
  input: {
@@ -189,7 +189,7 @@ const k = m(/* @__PURE__ */ r("path", {
189
189
  onKeyUp: u
190
190
  }
191
191
  ),
192
- /* @__PURE__ */ r(R, { open: c, children: /* @__PURE__ */ r($, { className: "filtersWrapper", children: t == null ? void 0 : t.map(({ name: n, onClick: f, active: w }) => /* @__PURE__ */ r(p, { className: "filtersButton", variant: "filter", onClick: f, active: w, children: n }, n)) }) })
192
+ /* @__PURE__ */ r(j, { open: c, className: "jcFiltersContainer", children: /* @__PURE__ */ r(M, { className: "jcFiltersWrapper", children: t == null ? void 0 : t.map(({ name: n, onClick: f, active: w }) => /* @__PURE__ */ r(p, { className: "jcFiltersButton", variant: "filter", onClick: f, active: w, children: n }, n)) }) })
193
193
  ] });
194
194
  };
195
195
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.157",
4
+ "version": "0.0.159",
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",