@moser-inc/moser-labs-react 5.0.1 → 5.0.2

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.
@@ -4,7 +4,7 @@ var ln = (e, t, n) => I6(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as y from "react";
5
5
  import Zr, { useContext as cn, useState as Zi, useRef as bt, useEffect as zt, useMemo as Rn, forwardRef as Ra, useCallback as It, createContext as Vr, useLayoutEffect as N6, useId as Hp, useInsertionEffect as b0, Children as M6, isValidElement as L6, Fragment as w0, createElement as E0, Component as $6, Suspense as j6 } from "react";
6
6
  import cs from "react-dom";
7
- const R6 = "5.0.1", F6 = {
7
+ const R6 = "5.0.2", F6 = {
8
8
  version: R6
9
9
  }, XL = F6.version;
10
10
  var V6 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@moser-inc/moser-labs-react",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "React components for the Moser Labs suite of applications.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@ export declare const toLabsCheckboxProps: <TValues extends FieldValues = FieldVa
16
16
  export declare const toLabsDateProps: <TValues extends FieldValues = FieldValues, TName extends FieldPath<TValues> = FieldPath<TValues>>({ field: { ref, value, ...field }, fieldState, }: ControllerRenderParams<TValues, TName>) => {
17
17
  inputRef: import('react-hook-form').RefCallBack;
18
18
  value: TValues[TName];
19
- onChange: (event: FormEvent<Date>) => void;
19
+ onChange: (event: FormEvent<TValues[TName]>) => void;
20
20
  message: string | undefined;
21
21
  onBlur: import('react-hook-form').Noop;
22
22
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moser-inc/moser-labs-react",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "React components for the Moser Labs suite of applications.",
5
5
  "repository": {
6
6
  "type": "git",