@smart-factor/gem-ui-components 0.0.43 → 0.0.44

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.
@@ -6,4 +6,4 @@ export type SimpleInputProps<T extends SelectInputProps['value']> = {
6
6
  onChange(newValue: T): void;
7
7
  errorMessage?: string | null;
8
8
  } & TextFieldProps;
9
- export declare const SimpleInput: <T extends unknown>({ id, value, label, onChange, type, sx, errorMessage, }: SimpleInputProps<T>) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const SimpleInput: <T extends unknown>({ id, value, label, onChange, type, sx, errorMessage, disabled, }: SimpleInputProps<T>) => import("react/jsx-runtime").JSX.Element;
package/dist/main.js CHANGED
@@ -31303,7 +31303,8 @@ const mM = A(yr)`
31303
31303
  onChange: n,
31304
31304
  type: a,
31305
31305
  sx: i,
31306
- errorMessage: l
31306
+ errorMessage: l,
31307
+ disabled: s
31307
31308
  }) => /* @__PURE__ */ g(yr, { variant: "standard", children: /* @__PURE__ */ g(
31308
31309
  jd,
31309
31310
  {
@@ -31312,7 +31313,8 @@ const mM = A(yr)`
31312
31313
  type: a,
31313
31314
  value: t,
31314
31315
  sx: i,
31315
- onChange: (s) => n(s.target.value),
31316
+ disabled: s,
31317
+ onChange: (c) => n(c.target.value),
31316
31318
  label: o,
31317
31319
  error: !!l,
31318
31320
  helperText: l
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-factor/gem-ui-components",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "private": false,
5
5
  "description": "Gem UI Components",
6
6
  "type": "module",