freemium-ui 1.0.178 → 1.0.182
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.
- package/lib/index.cjs.js +52 -25
- package/lib/index.esm.js +112 -85
- package/lib/types/components/Pickers/DatePicker.d.ts +1 -14
- package/lib/types/components/Pickers/DateTimePicker.d.ts +1 -13
- package/lib/types/components/Pickers/TimePicker.d.ts +4 -0
- package/lib/types/components/Pickers/index.d.ts +1 -0
- package/lib/types/components/Pickers/styles.d.ts +4 -2
- package/lib/types/components/Pickers/types.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1,17 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TimePickerProps } from '@blueprintjs/datetime';
|
|
3
2
|
import '@blueprintjs/datetime/lib/css/blueprint-datetime.css';
|
|
4
|
-
|
|
5
|
-
export declare type DatePickerProps = TimePickerProps & {
|
|
6
|
-
isRequired?: boolean;
|
|
7
|
-
isErrored?: boolean;
|
|
8
|
-
displayFormat?: string;
|
|
9
|
-
id?: string;
|
|
10
|
-
name?: string;
|
|
11
|
-
label?: string;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
monthYearLocation?: MonthYearLocation;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
custom?: boolean;
|
|
16
|
-
};
|
|
3
|
+
import { DatePickerProps } from './types';
|
|
17
4
|
export declare const DatePicker: (props: DatePickerProps) => JSX.Element;
|
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TimePickerProps } from '@blueprintjs/datetime';
|
|
3
2
|
import '@blueprintjs/datetime/lib/css/blueprint-datetime.css';
|
|
4
|
-
|
|
5
|
-
isRequired?: boolean;
|
|
6
|
-
isErrored?: boolean;
|
|
7
|
-
displayFormat?: string;
|
|
8
|
-
id?: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
label?: string;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
custom?: boolean;
|
|
14
|
-
};
|
|
3
|
+
import { DateTimePickerProps } from './types';
|
|
15
4
|
export declare const DateTimePicker: (props: DateTimePickerProps) => JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
1
|
+
export declare const StyleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const PickerContainer: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
isErrored?: boolean | undefined;
|
|
4
|
+
}, never>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TimePickerProps as TPP, DateInputProps } from '@blueprintjs/datetime';
|
|
2
|
+
export declare const ArrowLocation: {
|
|
3
|
+
[key in MonthYearLocation]: 'space-between' | 'end' | 'start';
|
|
4
|
+
};
|
|
5
|
+
export declare type MonthYearLocation = 'start' | 'end' | 'center';
|
|
6
|
+
export declare type DefaultProps = {
|
|
7
|
+
isRequired?: boolean;
|
|
8
|
+
isErrored?: boolean;
|
|
9
|
+
errorText?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare type DatePickerProps = DefaultProps & Partial<DateInputProps> & {
|
|
17
|
+
displayFormat?: string;
|
|
18
|
+
monthYearLocation?: MonthYearLocation;
|
|
19
|
+
};
|
|
20
|
+
export declare type DateTimePickerProps = DefaultProps & Partial<DateInputProps> & {
|
|
21
|
+
displayFormat?: string;
|
|
22
|
+
monthYearLocation?: MonthYearLocation;
|
|
23
|
+
};
|
|
24
|
+
export declare type TimePickerProps = DefaultProps & TPP & {};
|