@agilekit/ui 0.1.0-alpha.21 → 0.1.0-alpha.23

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.
@@ -15,6 +15,7 @@ export interface IDrawerProps {
15
15
  large?: boolean;
16
16
  limitHeight?: boolean;
17
17
  bodyStyle?: Record<string, any>;
18
+ className?: string;
18
19
  onClose(): void;
19
20
  onTransitionEnd?(): void;
20
21
  transitionDuration?: number | {
@@ -7,8 +7,11 @@ interface AdornmentParams {
7
7
  iconRight?: React.ReactNode;
8
8
  datePicker?: boolean;
9
9
  dateRange?: boolean;
10
+ timePicker?: boolean;
11
+ timePickerDisabled?: boolean;
10
12
  classes: any;
11
13
  handlePopoverClick: (event: React.MouseEvent<any>) => void;
14
+ handleTimePickerClick: () => void;
12
15
  }
13
16
  interface DatePickerPopoverParams {
14
17
  open: boolean;
@@ -41,7 +44,7 @@ interface HelperTextParams {
41
44
  helperText?: React.ReactNode;
42
45
  classes: any;
43
46
  }
44
- export declare const getTextFieldAdornments: ({ startAdornment, endAdornment, iconLeft, iconRight, datePicker, dateRange, classes, handlePopoverClick, }: AdornmentParams) => {
47
+ export declare const getTextFieldAdornments: ({ startAdornment, endAdornment, iconLeft, iconRight, datePicker, dateRange, timePicker, timePickerDisabled, classes, handlePopoverClick, handleTimePickerClick, }: AdornmentParams) => {
45
48
  finalStartAdornment: React.ReactNode;
46
49
  finalEndAdornment: React.ReactNode;
47
50
  };
@@ -12,5 +12,5 @@ interface HelperTextStyles {
12
12
  }
13
13
  export declare const inputLabelStyles: (theme: ThemeAgile) => InputLabelStyles;
14
14
  export declare const helperTextStyles: (theme: ThemeAgile) => HelperTextStyles;
15
- export declare const useTextFieldStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"helperText" | "secondaryLabel" | "inputBase" | "inputLabel" | "inputLabelFocused" | "asteriskRequired" | "inputContainer" | "inputContainerFocus" | "inputContainerDisabled" | "inputContainerError" | "multilineContainer" | "inputDisabled" | "inputAction" | "inputGroupAppend" | "inputBtn" | "withAppend" | "withIconLeft" | "sideIcon" | "colorPickerButton" | "colorPopover" | "predefinedColorInput" | "withMask" | "append" | "edgeEnd">;
15
+ export declare const useTextFieldStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"helperText" | "secondaryLabel" | "inputBase" | "inputLabel" | "inputLabelFocused" | "asteriskRequired" | "inputContainer" | "inputContainerFocus" | "inputContainerDisabled" | "inputContainerError" | "multilineContainer" | "inputDisabled" | "inputAction" | "inputGroupAppend" | "inputBtn" | "withAppend" | "withIconLeft" | "sideIcon" | "colorPickerButton" | "colorPopover" | "predefinedColorInput" | "timePickerInput" | "withMask" | "append" | "edgeEnd">;
16
16
  export {};
@@ -25,6 +25,7 @@ export interface ITextFieldProps extends React.HTMLAttributes<HTMLInputElement>,
25
25
  multiline?: boolean;
26
26
  datePicker?: boolean;
27
27
  dateRange?: boolean;
28
+ timePicker?: boolean;
28
29
  colorPicker?: boolean | number;
29
30
  colorPickerMode?: 'free' | 'predefined';
30
31
  predefinedColors?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilekit/ui",
3
- "version": "0.1.0-alpha.21",
3
+ "version": "0.1.0-alpha.23",
4
4
  "description": "Agile's product component library",
5
5
  "author": "Michael de Lima Alves <michaelalves@outlook.com>",
6
6
  "license": "MIT",