jcicl 0.0.199 → 0.0.203

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.
@@ -2559,87 +2559,85 @@ process.env.NODE_ENV !== "production" && (Ko.propTypes = {
2559
2559
  value: wo(o.any, (e) => e.multiple && e.value !== void 0 && !Array.isArray(e.value) ? new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.", `However, ${e.value} was provided.`].join(`
2560
2560
  `)) : null)
2561
2561
  });
2562
- const Mt = qo("div")(
2563
- ({ borderFocusColor: e, minWidth: n = "180px" }) => ({
2564
- ...Yo`
2565
- display: flex;
2566
- flex-wrap: nowrap;
2567
- align-items: center;
2568
- gap: 9px;
2569
- font-family: 'Roboto', sans-serif;
2570
- min-width: ${n};
2562
+ const Mt = ["colon"], Et = qo("div", { shouldForwardProp: (e) => !Mt.includes(e) })(({ borderFocusColor: e, minWidth: n = "180px" }) => ({
2563
+ ...Yo`
2564
+ display: flex;
2565
+ flex-wrap: nowrap;
2566
+ align-items: center;
2567
+ gap: 9px;
2568
+ font-family: 'Roboto', sans-serif;
2569
+ min-width: ${n};
2571
2570
 
2572
- fieldset {
2573
- border: none !important;
2574
- }
2575
-
2576
- .jcDropdownLabel {
2577
- white-space: nowrap;
2578
- font-weight: bold;
2579
- }
2571
+ fieldset {
2572
+ border: none !important;
2573
+ }
2580
2574
 
2581
- .MuiAutocomplete-root {
2582
- width: 100%;
2583
- flex-grow: 1;
2584
- }
2575
+ .jcDropdownLabel {
2576
+ white-space: nowrap;
2577
+ font-weight: bold;
2578
+ }
2585
2579
 
2586
- .MuiInputBase-input {
2587
- padding: 0;
2588
- padding-right: 0px !important;
2589
- min-height: 0;
2590
- }
2580
+ .MuiAutocomplete-root {
2581
+ width: 100%;
2582
+ flex-grow: 1;
2583
+ }
2591
2584
 
2592
- .MuiInputBase-root {
2593
- height: 18px;
2594
- padding: 0 !important;
2585
+ .MuiInputBase-input {
2586
+ padding: 0;
2587
+ padding-right: 0px !important;
2588
+ min-height: 0;
2589
+ }
2595
2590
 
2596
- input {
2597
- padding: 0 !important;
2598
- width: 100%;
2599
- }
2591
+ .MuiInputBase-root {
2592
+ height: 18px;
2593
+ padding: 0 !important;
2600
2594
 
2601
- transition: 313ms all ease-out;
2602
- border-radius: 0;
2603
- border-bottom: 1px solid ${jo.colors.gray};
2595
+ input {
2596
+ padding: 0 !important;
2604
2597
  width: 100%;
2598
+ }
2605
2599
 
2606
- .Mui-select {
2607
- border: none !important;
2608
- }
2600
+ transition: 313ms all ease-out;
2601
+ border-radius: 0;
2602
+ border-bottom: 1px solid ${jo.colors.gray};
2603
+ width: 100%;
2609
2604
 
2610
- :hover,
2611
- :focus-visible,
2612
- &.Mui-focused {
2613
- box-shadow: 0 -5px 4px -4px ${e} inset;
2614
- }
2605
+ .Mui-select {
2606
+ border: none !important;
2615
2607
  }
2616
2608
 
2617
- .MuiAutocomplete-endAdornment {
2618
- right: -7px !important;
2609
+ :hover,
2610
+ :focus-visible,
2611
+ &.Mui-focused {
2612
+ box-shadow: 0 -5px 4px -4px ${e} inset;
2619
2613
  }
2614
+ }
2620
2615
 
2621
- .MuiAutocomplete-clearIndicator {
2622
- font-size: 13px;
2623
- height: 19px;
2624
- width: 19px;
2616
+ .MuiAutocomplete-endAdornment {
2617
+ right: -7px !important;
2618
+ }
2625
2619
 
2626
- svg {
2627
- height: 15px;
2628
- width: 15px;
2629
- }
2630
- }
2631
-
2632
- .MuiButtonBase-root {
2633
- padding: 2px;
2634
- }
2620
+ .MuiAutocomplete-clearIndicator {
2621
+ font-size: 13px;
2622
+ height: 19px;
2623
+ width: 19px;
2635
2624
 
2636
2625
  svg {
2637
- height: 19px;
2638
- width: 19px;
2626
+ height: 15px;
2627
+ width: 15px;
2639
2628
  }
2640
- `
2641
- })
2642
- ), Zt = ({
2629
+ }
2630
+
2631
+ .MuiButtonBase-root {
2632
+ padding: 2px;
2633
+ }
2634
+
2635
+ svg {
2636
+ height: 19px;
2637
+ width: 19px;
2638
+ }
2639
+ `
2640
+ })), en = ({
2643
2641
  label: e,
2644
2642
  colon: n = !0,
2645
2643
  options: a = [],
@@ -2648,7 +2646,7 @@ const Mt = qo("div")(
2648
2646
  onChange: f,
2649
2647
  minWidth: $,
2650
2648
  ...y
2651
- }) => /* @__PURE__ */ Ne(Mt, { className: "jcLabeledDropdown", borderFocusColor: i, minWidth: $, children: [
2649
+ }) => /* @__PURE__ */ Ne(Et, { className: "jcLabeledDropdown", borderFocusColor: i, minWidth: $, children: [
2652
2650
  /* @__PURE__ */ Ne("span", { className: "jcDropdownLabel", children: [
2653
2651
  e,
2654
2652
  n && ":"
@@ -2667,6 +2665,6 @@ const Mt = qo("div")(
2667
2665
  )
2668
2666
  ] });
2669
2667
  export {
2670
- Zt as LabeledDropdown,
2671
- Zt as default
2668
+ en as LabeledDropdown,
2669
+ en as default
2672
2670
  };
@@ -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.203",
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",