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.
@@ -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
- export declare type MonthYearLocation = 'start' | 'end' | 'center';
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
- declare type DateTimePickerProps = TimePickerProps & {
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 {};
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import '@blueprintjs/datetime/lib/css/blueprint-datetime.css';
3
+ import { TimePickerProps } from './types';
4
+ export declare const TimePicker: (props: TimePickerProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
1
  export * from './DateTimePicker';
2
2
  export * from './DatePicker';
3
+ export * from './TimePicker';
@@ -1,2 +1,4 @@
1
- export declare const PickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const DatePickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
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 & {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "1.0.178",
3
+ "version": "1.0.182",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",