@devtron-labs/devtron-fe-common-lib 0.1.3 → 0.1.4-beta-1

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,4 +1,4 @@
1
- import { SortingParams } from '../../../Common';
1
+ import { SortingParams } from '../../../Common/Types';
2
2
  import { UserListSortableKeys, UserStatus } from './constants';
3
3
 
4
4
  export type BaseFilterQueryParams<T> = {
@@ -1,4 +1,4 @@
1
- import { NodeType, Nodes } from '../../Shared';
1
+ import { NodeType, Nodes } from '../../Shared/types';
2
2
 
3
3
  export interface GVKType {
4
4
  Group: string;
@@ -1,4 +1,4 @@
1
1
  import { DateTimePickerProps } from './types';
2
2
 
3
- declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, }: DateTimePickerProps) => JSX.Element;
3
+ declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, openDirection, error, }: DateTimePickerProps) => JSX.Element;
4
4
  export default DateTimePicker;
@@ -1,5 +1,6 @@
1
1
  import { Moment } from 'moment';
2
2
  import { SelectInstance } from 'react-select';
3
+ import { SingleDatePickerShape } from 'react-dates';
3
4
  import { OptionType } from '../../../Common';
4
5
 
5
6
  export interface SingleDatePickerProps {
@@ -80,7 +81,7 @@ export interface TimeSelectProps {
80
81
  */
81
82
  selectedTimeOption: OptionType;
82
83
  }
83
- export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'onChange' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'> {
84
+ export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'onChange' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'>, Pick<SingleDatePickerShape, 'openDirection'> {
84
85
  /**
85
86
  * Props for the date picker
86
87
  */