jcicl 0.0.213 → 0.0.215

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,9 +1,10 @@
1
1
  import { LabeledInputProps } from '../../../../../../../../../src/components/composite/LabeledInput';
2
+ import { LabeledCurrencyInputProps } from '../../../../../../../../../src/components/composite/LabeledCurrencyInput';
2
3
  import { LabeledCheckboxProps } from '../../../../../../../../../src/components/composite/LabeledCheckbox';
3
4
  import { LabeledDropdownProps } from '../../../../../../../../../src/components/composite/LabeledDropdown';
4
- export type AllInputProps = LabeledInputProps | LabeledCheckboxProps | LabeledDropdownProps;
5
+ export type AllInputProps = LabeledInputProps | LabeledCheckboxProps | LabeledDropdownProps | LabeledCurrencyInputProps;
5
6
  export type FormInputProps = AllInputProps & {
6
- type?: 'text' | 'dropdown' | 'date' | 'number' | 'checkbox' | 'radio' | 'textarea';
7
+ type?: 'text' | 'dropdown' | 'date' | 'number' | 'checkbox' | 'radio' | 'textarea' | 'currency';
7
8
  };
8
9
  export declare const FormInput: React.FC<LabeledInputProps>;
9
10
  export default FormInput;
@@ -1,12 +1,13 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { jsx as o } from "react/jsx-runtime";
2
2
  import { LabeledInput as t } from "../LabeledInput/LabeledInput.js";
3
- import { LabeledCheckbox as m } from "../LabeledCheckbox/LabeledCheckbox.js";
3
+ import { LabeledCurrencyInput as m } from "../LabeledCurrencyInput/LabeledCurrencyInput.js";
4
+ import { LabeledCheckbox as n } from "../LabeledCheckbox/LabeledCheckbox.js";
4
5
  import { LabeledDropdown as d } from "../LabeledDropdown/LabeledDropdown.js";
5
- const c = (o) => {
6
- const { type: r = "text" } = o;
7
- return r === "dropdown" || r === "multiDropdown" ? /* @__PURE__ */ e(d, { ...o }) : r === "checkbox" ? /* @__PURE__ */ e(m, { ...o }) : /* @__PURE__ */ e(t, { ...o, type: r });
6
+ const l = (r) => {
7
+ const { type: e = "text" } = r;
8
+ return e === "dropdown" || e === "multiDropdown" ? /* @__PURE__ */ o(d, { ...r }) : e === "checkbox" ? /* @__PURE__ */ o(n, { ...r }) : e === "currency" ? /* @__PURE__ */ o(m, { ...r }) : /* @__PURE__ */ o(t, { ...r, type: e });
8
9
  };
9
10
  export {
10
- c as FormInput,
11
- c as default
11
+ l as FormInput,
12
+ l as default
12
13
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.213",
4
+ "version": "0.0.215",
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",