@monolith-forensics/monolith-ui 1.1.74 → 1.1.76

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.
@@ -8,6 +8,7 @@ interface TextInputProps extends InputProps {
8
8
  size?: Size;
9
9
  colSpan?: number;
10
10
  description?: string;
11
+ style?: React.CSSProperties;
11
12
  }
12
13
  declare const TextInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Omit<TextInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
13
14
  ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
@@ -15,8 +15,8 @@ import { FieldLabel } from "..";
15
15
  import Input from "../Input/Input";
16
16
  import { forwardRef } from "react";
17
17
  const TextInput = styled(forwardRef((_a, ref) => {
18
- var { className, label, error, required, colSpan = 1, description, size = "sm" } = _a, rest = __rest(_a, ["className", "label", "error", "required", "colSpan", "description", "size"]);
19
- return (_jsxs("div", { className: className, children: [label && (_jsx(FieldLabel, { error: error, asterisk: required, size: size, description: description, children: label })), _jsx(Input, Object.assign({ ref: ref, size: size }, rest))] }));
18
+ var { className, label, error, required, colSpan = 1, description, size = "sm", style } = _a, rest = __rest(_a, ["className", "label", "error", "required", "colSpan", "description", "size", "style"]);
19
+ return (_jsxs("div", { className: className, style: style, children: [label && (_jsx(FieldLabel, { error: error, asterisk: required, size: size, description: description, children: label })), _jsx(Input, Object.assign({ ref: ref, size: size }, rest))] }));
20
20
  })) `
21
21
  grid-column: span ${({ colSpan }) => colSpan || 1};
22
22
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.1.74",
3
+ "version": "1.1.76",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",