@skedulo/sked-ui 19.9.1 → 19.11.0

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.
@@ -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
  */
@@ -12,6 +12,10 @@ interface ITextArea extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
12
12
  * Maximum rows
13
13
  */
14
14
  maxRows?: number;
15
+ /**
16
+ * Toggle Content Length
17
+ */
18
+ disableContentLength?: boolean;
15
19
  }
16
20
  export declare const TextArea: React.FunctionComponent<ITextArea>;
17
21
  export {};
@@ -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,4 +1,3 @@
1
- /// <reference types="lodash" />
2
1
  import * as React from 'react';
3
2
  import { IAnchorScores, ICursorOptions, ICursorPoints, Position as PositionType } from './info-window-utils';
4
3
  interface InfoWindowState {
@@ -127,9 +126,25 @@ export declare class InfoWindow extends React.PureComponent<IInfoWindowProps, IS
127
126
  detachEventListeners(): void;
128
127
  attachEventListeners(): void;
129
128
  computeStyles(): {
129
+ contentStyles: React.CSSProperties;
130
+ triangleStyles: React.CSSProperties;
130
131
  position: PositionType;
131
- triangleStyles: import("lodash").Dictionary<string>;
132
- contentStyles: import("lodash").Dictionary<string>;
132
+ } | {
133
+ position: PositionType;
134
+ triangleStyles: {
135
+ top: string;
136
+ left: string;
137
+ } | {
138
+ top: string;
139
+ left: string;
140
+ };
141
+ contentStyles: {
142
+ top: string;
143
+ left: string;
144
+ } | {
145
+ top: string;
146
+ left: string;
147
+ };
133
148
  };
134
149
  removeRenderingContainer(): void;
135
150
  createRenderContainer(): HTMLDivElement;
@@ -25,7 +25,7 @@ export declare class Tabs extends React.PureComponent<ITabsProps, ITabsState> {
25
25
  componentDidUpdate(prevProps: ITabsProps): Promise<void>;
26
26
  componentWillUnmount(): void;
27
27
  onFocusIn: (index: number, ref: React.RefObject<HTMLElement>, nesting: number) => () => void;
28
- onFocusOutDebounce: ((nesting: number) => void) & import("lodash").Cancelable;
28
+ onFocusOutDebounce: import("lodash").DebouncedFunc<(nesting: number) => void>;
29
29
  asyncSetState: (state: Partial<ITabsState>) => Promise<unknown>;
30
30
  onFocusOut: (nesting: number) => () => void;
31
31
  onSelect: () => void;