jcicl 0.0.60 → 0.0.62

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.
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  ### Runtime Enviromnent
6
6
 
7
7
  1. Please download and install [NVM for Windows](https://github.com/coreybutler/nvm-windows?tab=readme-ov-file)
8
- 2. `nvm install 20.18.0`
9
- 3. `nvm use 20`
8
+ 2. `nvm install 22.11.0`
9
+ 3. `nvm use 22`
10
10
 
11
11
  ### Usage
12
12
 
@@ -1,32 +1,29 @@
1
- import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
- import { n } from "../../.chunks/emotion-styled.browser.esm.js";
3
- import { c as r } from "../../.chunks/emotion-react.browser.esm.js";
4
- const o = n("span")({
5
- ...r`
1
+ import { jsxs as a, jsx as s } from "react/jsx-runtime";
2
+ import { n as o } from "../../.chunks/emotion-styled.browser.esm.js";
3
+ import { c as p } from "../../.chunks/emotion-react.browser.esm.js";
4
+ const n = o("span")({
5
+ ...p`
6
6
  display: flex;
7
7
  flex-wrap: nowrap;
8
- justify-content: space-between;
9
8
  gap: 0.5rem;
10
9
  font-family: 'Roboto', sans-serif;
11
10
 
12
11
  span {
13
12
  white-space: nowrap;
14
- flex-basis: 50%;
15
13
  font-weight: bold;
16
14
  text-transform: capitalize;
17
15
  }
18
16
 
19
17
  p {
20
18
  margin: 0;
21
- flex-basis: 50%;
22
19
  }
23
20
  `
24
- }), f = ({ label: a, value: s }) => /* @__PURE__ */ e(o, { children: [
25
- /* @__PURE__ */ e("span", { children: [
26
- a,
21
+ }), f = ({ label: e, value: r }) => /* @__PURE__ */ a(n, { children: [
22
+ /* @__PURE__ */ a("span", { children: [
23
+ e,
27
24
  ":"
28
25
  ] }),
29
- /* @__PURE__ */ t("p", { children: s })
26
+ /* @__PURE__ */ s("p", { children: r })
30
27
  ] });
31
28
  export {
32
29
  f as LabeledValue,
@@ -1,9 +1,10 @@
1
1
  import { InputProps } from '../../../../../../../../../src/components/base/Input';
2
- export type StyleProps = {
2
+ export interface StyleProps {
3
3
  grid?: boolean;
4
- };
5
- export type LabeledInputProps = InputProps & StyleProps & {
4
+ }
5
+ export interface LabeledInputProps extends InputProps {
6
6
  label: string;
7
- };
7
+ grid?: boolean;
8
+ }
8
9
  export declare const LabeledInput: React.FC<LabeledInputProps>;
9
10
  export default LabeledInput;
@@ -1,39 +1,36 @@
1
- import { jsxs as t, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
2
  import { n as p } from "../../.chunks/emotion-styled.browser.esm.js";
3
- import { c as r } from "../../.chunks/emotion-react.browser.esm.js";
4
- import { I as n } from "../../.chunks/Input.js";
5
- const i = p("div")(({ grid: e }) => ({
6
- ...r`
3
+ import { c as s } from "../../.chunks/emotion-react.browser.esm.js";
4
+ import { I as i } from "../../.chunks/Input.js";
5
+ const n = p("div")(({ grid: t }) => ({
6
+ ...s`
7
7
  display: flex;
8
8
  flex-wrap: nowrap;
9
- justify-content: space-between;
10
9
  gap: 0.5rem;
11
10
  font-family: 'Roboto', sans-serif;
12
11
 
13
12
  span {
14
13
  white-space: nowrap;
15
- flex-basis: ${e && "50%"};
16
14
  font-weight: bold;
17
15
  text-transform: capitalize;
18
16
  }
19
17
 
20
18
  .MuiTextField-root {
21
- flex-basis: ${e && "50%"};
22
19
  flex-grow: 1;
23
20
  }
24
21
 
25
22
  .MuiInputBase-root {
26
- width: ${e && "calc(100% + 4px)"};
23
+ width: ${t && "calc(100% + 4px)"};
27
24
  }
28
25
  `
29
- })), x = ({ label: e, grid: a = !0, ...s }) => /* @__PURE__ */ t(i, { grid: a, children: [
30
- /* @__PURE__ */ t("span", { children: [
31
- e,
26
+ })), c = ({ label: t, grid: a = !0, ...o }) => /* @__PURE__ */ e(n, { grid: a, children: [
27
+ /* @__PURE__ */ e("span", { children: [
28
+ t,
32
29
  ":"
33
30
  ] }),
34
- /* @__PURE__ */ o(n, { variant: "simple", ...s })
31
+ /* @__PURE__ */ r(i, { variant: "simple", ...o })
35
32
  ] });
36
33
  export {
37
- x as LabeledInput,
38
- x as default
34
+ c as LabeledInput,
35
+ c as default
39
36
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.60",
4
+ "version": "0.0.62",
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",