jcicl 0.0.199 → 0.0.201

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.
@@ -5,6 +5,7 @@ export interface StyleProps {
5
5
  export interface LabeledInputProps extends InputProps {
6
6
  label: string;
7
7
  grid?: boolean;
8
+ noLabel?: boolean;
8
9
  }
9
10
  export declare const LabeledInput: React.FC<LabeledInputProps>;
10
11
  export default LabeledInput;
@@ -1,9 +1,9 @@
1
- import { jsxs as o, jsx as p } from "react/jsx-runtime";
2
- import { n as r } from "../.chunks/emotion-styled.browser.esm.js";
3
- import { c as s } from "../.chunks/emotion-react.browser.esm.js";
4
- import { Input as n } from "../Input/Input.js";
5
- const i = r("div")(({ grid: e }) => ({
6
- ...s`
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
+ import { n as s } from "../.chunks/emotion-styled.browser.esm.js";
3
+ import { c as n } from "../.chunks/emotion-react.browser.esm.js";
4
+ import { Input as i } from "../Input/Input.js";
5
+ const l = s("div")(({ grid: e }) => ({
6
+ ...n`
7
7
  display: flex;
8
8
  flex-wrap: nowrap;
9
9
  gap: 9px;
@@ -22,14 +22,19 @@ const i = r("div")(({ grid: e }) => ({
22
22
  width: ${e && "100%"};
23
23
  }
24
24
  `
25
- })), c = ({ label: e, grid: t = !0, ...a }) => /* @__PURE__ */ o(i, { grid: t, className: "jcLabeledInput", children: [
26
- /* @__PURE__ */ o("span", { children: [
25
+ })), u = ({
26
+ label: e,
27
+ grid: t = !0,
28
+ noLabel: a = !1,
29
+ ...p
30
+ }) => /* @__PURE__ */ o(l, { grid: t, className: "jcLabeledInput", children: [
31
+ !a && /* @__PURE__ */ o("span", { children: [
27
32
  e,
28
33
  ":"
29
34
  ] }),
30
- /* @__PURE__ */ p(n, { ...a })
35
+ /* @__PURE__ */ r(i, { ...p })
31
36
  ] });
32
37
  export {
33
- c as LabeledInput,
34
- c as default
38
+ u as LabeledInput,
39
+ u as default
35
40
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.199",
4
+ "version": "0.0.201",
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",