jcicl 0.0.53 → 0.0.54

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.
@@ -13,6 +13,7 @@ export type FlexProps = {
13
13
  padding?: string;
14
14
  gap?: string;
15
15
  styles?: CSSProperties;
16
+ id?: string;
16
17
  };
17
18
  declare const Flex: React.FC<FlexProps>;
18
19
  export default Flex;
@@ -2,6 +2,7 @@ import { FlexProps } from '../../../../../../../../../src/components/base/Flex/F
2
2
  export interface WithLabelProps extends Omit<FlexProps, 'children'> {
3
3
  label: string;
4
4
  fontSize?: string;
5
+ gap?: string;
5
6
  component: JSX.Element;
6
7
  }
7
8
  declare const WithLabel: React.FC<WithLabelProps>;
@@ -1,15 +1,15 @@
1
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import m from "../../base/Flex/Flex.js";
3
- const h = ({
1
+ import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
+ import t from "../../base/Flex/Flex.js";
3
+ const c = ({
4
4
  label: r,
5
- component: t,
6
- fontSize: i = "inherit",
7
- styles: n,
8
- ...s
9
- }) => /* @__PURE__ */ l(m, { gap: "0.5rem", alignItems: "center", styles: { ...n, fontSize: i }, ...s, children: [
10
- /* @__PURE__ */ e("div", { id: r, children: t }),
5
+ component: i,
6
+ fontSize: n = "inherit",
7
+ styles: s,
8
+ ...l
9
+ }) => /* @__PURE__ */ m(t, { gap: "0.5rem", alignItems: "center", styles: { ...s, fontSize: n }, ...l, children: [
10
+ /* @__PURE__ */ e(t, { id: r, children: i }),
11
11
  /* @__PURE__ */ e("label", { htmlFor: r, children: r })
12
12
  ] });
13
13
  export {
14
- h as default
14
+ c as default
15
15
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.53",
4
+ "version": "0.0.54",
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",