@xelto.npm/xc2-lib 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.
@@ -1,11 +1,10 @@
1
1
  import { Ref } from "react";
2
- import { PickerStateProps } from "@mui/x-date-pickers/internals";
3
2
  export interface DatePickerProps {
4
3
  value: string;
5
4
  disabled?: boolean;
6
5
  label?: string;
7
6
  fluid?: boolean;
8
- onChange: PickerStateProps['onChange'];
7
+ onChange: (value: unknown, keyboardInputValue?: string) => void;
9
8
  forwardedRef?: Ref<HTMLInputElement>;
10
9
  endAdornment?: string;
11
10
  }
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@
2
2
  import propTypes from 'prop-types';
3
3
  import * as React from 'react';
4
4
  import { Ref, ChangeEventHandler, RefObject } from 'react';
5
- import { PickerStateProps } from '@mui/x-date-pickers/internals';
6
5
 
7
6
  declare const AppTileComponent: ({ header, description, illustrationName, forwardedRef, isBigType, size, color }: {
8
7
  header: any;
@@ -102,7 +101,7 @@ interface DatePickerProps {
102
101
  disabled?: boolean;
103
102
  label?: string;
104
103
  fluid?: boolean;
105
- onChange: PickerStateProps['onChange'];
104
+ onChange: (value: unknown, keyboardInputValue?: string) => void;
106
105
  forwardedRef?: Ref<HTMLInputElement>;
107
106
  endAdornment?: string;
108
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelto.npm/xc2-lib",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",