@skedulo/sked-ui 19.8.3 → 19.10.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,3 @@
1
- /// <reference types="react" />
2
1
  import { IAvatar } from './Avatar';
3
2
  declare type AvatarDetailGroupSize = 'tiny' | 'small' | 'medium' | 'large';
4
3
  declare type AvatarProps = Pick<IAvatar, 'name' | 'imageUrl'>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IDateTimeProps {
3
2
  dateTime?: Date;
4
3
  /**
@@ -14,7 +14,7 @@ export interface DatepickerProps {
14
14
  /**
15
15
  * The action to take when the date changes
16
16
  */
17
- onChange: (value: Date) => void;
17
+ onChange: (value?: Date) => void;
18
18
  /**
19
19
  * The date to open the calendar to
20
20
  */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const TIME_FORMAT = "h:mma";
3
2
  export declare const formatTime: (date: Date | number) => string;
4
3
  export declare const readonlyTimeFormat: ({ value, suffix }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IFilterItem } from '../interfaces';
3
2
  export interface IFilterListProps<T> {
4
3
  items: T[];
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ISelectItem, AsyncMultiSearchSelectBox } from './interfaces';
3
2
  export declare const AsyncMultiSearchSelect: <T extends ISelectItem<any>>({ fetchItems, debounceTime, fetchStrategy, useCache, minChars, onSelectedItemsChange, disabled, ...rest }: AsyncMultiSearchSelectBox<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ISelectItem, AsyncSelectBox } from './interfaces';
3
2
  /**
4
3
  * Asynchronous version of SearchSelect for use with remote fetching
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ISelectItem, MultiSearchSelectBox } from './interfaces';
3
2
  export declare const MultiSearchSelect: <T extends ISelectItem<any>>({ initialSelectedItems, items, id, name, placeholder, autoFocus, className, onSelectedItemsChange, disabled, itemToString, ItemRenderer, MenuItemsRenderer, selectAll, onInputValueChange, onMenuToggle, ...rest }: MultiSearchSelectBox<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ISelectItem, SelectBox } from './interfaces';
3
2
  /**
4
3
  * A searchable select component. Just like it's native counterpart, only a valid listed option is allowed.
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  globe: any;
47
47
  grid: any;
48
48
  grip: any;
49
+ hash: any;
49
50
  help: any;
50
51
  hide: any;
51
52
  info: any;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const TestComponent: () => JSX.Element;