jcicl 0.0.145 → 0.0.147

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,4 +1,4 @@
1
- import { jsx as r, jsxs as s } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
2
  import { useState as g } from "react";
3
3
  import { n, i as u } from "../.chunks/emotion-styled.browser.esm.js";
4
4
  import { c as d } from "../.chunks/emotion-react.browser.esm.js";
@@ -8,7 +8,7 @@ import { c as y } from "../.chunks/createSvgIcon.js";
8
8
  import { B as b } from "../.chunks/ButtonBase.js";
9
9
  const A = y(/* @__PURE__ */ r("path", {
10
10
  d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"
11
- }), "ArrowForwardIos"), B = n("div")(({ padding: o, shadow: t, width: e }) => ({
11
+ }), "ArrowForwardIos"), j = n("div")(({ padding: o, shadow: t, width: e }) => ({
12
12
  ...d`
13
13
  h3 {
14
14
  margin: 0;
@@ -24,7 +24,7 @@ const A = y(/* @__PURE__ */ r("path", {
24
24
  background-color: ${c.colors.white};
25
25
  width: ${e};
26
26
  `
27
- })), $ = n("div")(({ expanded: o }) => ({
27
+ })), B = n("div")(({ expanded: o }) => ({
28
28
  ...d`
29
29
  transition: 313ms all ease-in-out;
30
30
  display: grid;
@@ -33,7 +33,7 @@ const A = y(/* @__PURE__ */ r("path", {
33
33
  overflow: hidden;
34
34
  }
35
35
  `
36
- })), v = n(b, {
36
+ })), $ = n(b, {
37
37
  shouldForwardProp: (o) => u(o) && typeof o == "string"
38
38
  })(({ expanded: o }) => ({
39
39
  ...d`
@@ -44,7 +44,7 @@ const A = y(/* @__PURE__ */ r("path", {
44
44
  height: 24px;
45
45
  aspect-ratio: 1;
46
46
  `
47
- })), G = ({
47
+ })), C = ({
48
48
  decorativeElement: o,
49
49
  title: t,
50
50
  children: e,
@@ -52,19 +52,19 @@ const A = y(/* @__PURE__ */ r("path", {
52
52
  shadow: m = c.boxShadows.darkGreen,
53
53
  width: p = "360px"
54
54
  }) => {
55
- const [i, f] = g(!1), h = { padding: l, shadow: m, width: p }, w = { expanded: i }, x = { expanded: i };
56
- return /* @__PURE__ */ s(B, { ...h, children: [
57
- /* @__PURE__ */ s(a, { alignItems: "center", justifyContent: "space-between", children: [
58
- /* @__PURE__ */ s(a, { width: "100%", gap: "1rem", alignItems: "center", children: [
55
+ const [s, f] = g(!1), h = { padding: l, shadow: m, width: p }, w = { expanded: s }, x = { expanded: s };
56
+ return /* @__PURE__ */ i(j, { ...h, children: [
57
+ /* @__PURE__ */ i(a, { className: "jcAccordionHeader", alignItems: "center", justifyContent: "space-between", children: [
58
+ /* @__PURE__ */ i(a, { className: "jcAccordionTitle", width: "100%", gap: "1rem", alignItems: "center", children: [
59
59
  o && o,
60
60
  /* @__PURE__ */ r("h3", { children: t })
61
61
  ] }),
62
- /* @__PURE__ */ r(v, { ...w, onClick: () => f(!i), children: /* @__PURE__ */ r(A, {}) })
62
+ /* @__PURE__ */ r($, { ...w, onClick: () => f(!s), children: /* @__PURE__ */ r(A, {}) })
63
63
  ] }),
64
- /* @__PURE__ */ r($, { className: "jcAccordionBody", ...x, children: /* @__PURE__ */ r("div", { children: e }) })
64
+ /* @__PURE__ */ r(B, { className: "jcAccordionBody", ...x, children: /* @__PURE__ */ r("div", { children: e }) })
65
65
  ] });
66
66
  };
67
67
  export {
68
- G as Accordion,
69
- G as default
68
+ C as Accordion,
69
+ C as default
70
70
  };
package/Flex/Flex.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface FlexProps {
13
13
  /** Format: `{ reactCssProperty: value, reactCssProperty: value }` A React CSS property is simply any css property converted to camelCase */
14
14
  styles?: CSSProperties;
15
15
  id?: string;
16
+ className?: string;
16
17
  }
17
18
  export declare const Flex: React.FC<FlexProps>;
18
19
  export default Flex;
package/Flex/Flex.js CHANGED
@@ -18,7 +18,7 @@ const p = d("div", {
18
18
  fontFamily: "Roboto, sans-serif",
19
19
  ...n
20
20
  })
21
- ), b = ({ children: o, ...r }) => /* @__PURE__ */ x(p, { className: "jcFlex", ...r, children: o });
21
+ ), b = ({ children: o, className: r, ...a }) => /* @__PURE__ */ x(p, { className: `jcFlex ${r}`, ...a, children: o });
22
22
  export {
23
23
  b as Flex,
24
24
  b as default
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.145",
4
+ "version": "0.0.147",
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",