@npm_leadtech/legal-lib-components 2.10.1 → 2.10.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.
@@ -2885,7 +2885,7 @@ html[data-theme='uslawdistricts'] {
2885
2885
  .box--form {
2886
2886
  background: var(--others-white);
2887
2887
  border-radius: 4px;
2888
- box-shadow: 0 2px 6px 0 rgba(var(--primary-main-dark-1), 0.25);
2888
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
2889
2889
  padding-left: 1.5rem;
2890
2890
  padding-right: 1.5rem; }
2891
2891
  @media (min-width: 1200px) {
@@ -1,13 +1,6 @@
1
- import React, { Component } from 'react';
1
+ import { type FC } from 'react';
2
2
  import { type DatePickerCustomProps } from './DatePickerCustomProps.types';
3
3
  import 'react-datepicker/dist/react-datepicker.css';
4
4
  import './DatePickerCustom.scss';
5
- declare class DatePickerCustom extends Component<DatePickerCustomProps> {
6
- constructor(props: DatePickerCustomProps);
7
- componentDidMount(): void;
8
- returnYears: (currentYear: number) => React.JSX.Element[];
9
- handleChange: (date: Date) => void;
10
- addDays: (date: any, days: any) => Date;
11
- render(): React.JSX.Element;
12
- }
5
+ declare const DatePickerCustom: FC<DatePickerCustomProps>;
13
6
  export default DatePickerCustom;
@@ -11,5 +11,6 @@ export interface DatePickerCustomProps {
11
11
  isStartDate?: boolean;
12
12
  relatedDate?: Date;
13
13
  type?: string;
14
+ dateFormat?: string;
14
15
  onChange?: (dateObject: any) => void;
15
16
  }