@mw-kit/mw-ui 1.7.8 → 1.7.10
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/dist/components/Calendar/components/Basic/components/Main/styles.d.ts +3 -0
- package/dist/components/Calendar/components/Basic/index.d.ts +2 -2
- package/dist/components/Calendar/components/Basic/interfaces.d.ts +8 -2
- package/dist/components/Calendar/components/Interval/components/Main/functions.d.ts +3 -1
- package/dist/components/Calendar/components/Interval/index.d.ts +2 -2
- package/dist/components/Calendar/components/Interval/interfaces.d.ts +10 -5
- package/dist/components/Calendar/components/Single/index.d.ts +3 -3
- package/dist/components/Calendar/components/Single/interfaces.d.ts +8 -5
- package/dist/components/Calendar/components/interfaces.d.ts +3 -3
- package/dist/components/Calendar/index.d.ts +11 -11
- package/dist/components/Calendar/interfaces.d.ts +2 -2
- package/dist/components/Indicator/constants.d.ts +8 -0
- package/dist/components/Indicator/index.d.ts +1 -1
- package/dist/components/Indicator/interfaces.d.ts +8 -5
- package/dist/components/Indicator/styles.d.ts +1 -5
- package/dist/components/Input/components/Date/interfaces.d.ts +2 -1
- package/dist/components/Input/components/DateIntervalPicker/interfaces.d.ts +2 -2
- package/dist/components/Input/components/DatePicker/interfaces.d.ts +2 -1
- package/dist/components/Input/components/DateTime/interfaces.d.ts +2 -1
- package/dist/index.js +549 -416
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +549 -416
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ColorOptions } from '../../theme/interfaces';
|
|
3
|
+
export declare type Types = 'default' | 'info' | 'danger' | 'success' | 'warning';
|
|
4
|
+
export declare type Sizes = 'mini' | 'medium' | 'small';
|
|
5
|
+
export interface IndicatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
size: Sizes;
|
|
7
|
+
type: Types;
|
|
8
|
+
labelColor: ColorOptions;
|
|
6
9
|
}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import { IndicatorProps } from './interfaces';
|
|
2
|
-
|
|
3
|
-
props: IndicatorProps;
|
|
4
|
-
}
|
|
5
|
-
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ContainerProps, never>;
|
|
6
|
-
export {};
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IndicatorProps, never>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AbsoluteSingleCalendarProps } from '../../../Calendar/interfaces';
|
|
1
2
|
import { InputProps } from '../Input/interfaces';
|
|
2
3
|
export interface DateProps extends Omit<InputProps, 'type' | 'mask' | 'icon' | 'min' | 'max'> {
|
|
3
4
|
type: 'date';
|
|
4
|
-
picker?:
|
|
5
|
+
picker?: true | Omit<AbsoluteSingleCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open'>;
|
|
5
6
|
value?: string;
|
|
6
7
|
max?: Date;
|
|
7
8
|
min?: Date;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { AbsoluteIntervalCalendarProps } from '../../../Calendar/interfaces';
|
|
3
3
|
import { InputProps } from '../Input/interfaces';
|
|
4
4
|
declare type Value = [string, string];
|
|
5
5
|
export declare type IntervalType = 'day' | 'week' | 'month' | 'custom';
|
|
@@ -11,7 +11,7 @@ export interface DateIntervalPickerProps extends React.HTMLAttributes<HTMLInputE
|
|
|
11
11
|
max?: Date;
|
|
12
12
|
min?: Date;
|
|
13
13
|
only?: IntervalType;
|
|
14
|
-
|
|
14
|
+
calendar?: Omit<AbsoluteIntervalCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open'>;
|
|
15
15
|
}
|
|
16
16
|
export interface Variation {
|
|
17
17
|
label: (prev: [Date, Date]) => string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AbsoluteSingleCalendarProps } from '../../../Calendar/interfaces';
|
|
1
2
|
import { InputProps } from '../Input/interfaces';
|
|
2
3
|
export interface DatePickerProps extends Omit<InputProps, 'type' | 'mask' | 'icon' | 'htmlDisabled' | 'clearable' | 'onPressEnter' | 'min' | 'max'> {
|
|
3
4
|
type: 'datepicker';
|
|
4
|
-
picker?:
|
|
5
|
+
picker?: true | Omit<AbsoluteSingleCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open'>;
|
|
5
6
|
value: string;
|
|
6
7
|
setValue: (value: string) => void;
|
|
7
8
|
max?: Date;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AbsoluteSingleCalendarProps } from '../../../Calendar/interfaces';
|
|
1
2
|
import { InputProps } from '../Input/interfaces';
|
|
2
3
|
export interface DateTimeProps extends Omit<InputProps, 'type' | 'mask' | 'icon' | 'min' | 'max'> {
|
|
3
4
|
type: 'datetime';
|
|
4
|
-
picker?:
|
|
5
|
+
picker?: true | Omit<AbsoluteSingleCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open'>;
|
|
5
6
|
value?: string;
|
|
6
7
|
max?: Date;
|
|
7
8
|
min?: Date;
|