kwant-ui 3.33.2-dev.2 → 3.33.2-dev.3
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/HOC/HoverHOC/types.d.ts +0 -3
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartData.d.ts +4 -4
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartTypes.d.ts +0 -1
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartUtils.d.ts +0 -1
- package/dist/components/Datepicker/Datepicker.d.ts +2 -1
- package/dist/components/Datepicker/types.d.ts +0 -2
- package/dist/components/HoverSelect/types.d.ts +0 -3
- package/dist/components/Input/index.d.ts +0 -2
- package/dist/components/Input/types.d.ts +0 -3
- package/dist/components/Label/LabelStyled.d.ts +1 -2
- package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/components/MultiSelect/types.d.ts +0 -3
- package/dist/components/Select/Select.d.ts +2 -1
- package/dist/index.es.js +268 -286
- package/dist/index.js +232 -250
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Ref } from 'react';
|
|
2
|
-
import { TooltipComponent } from '../../components/Tooltip/types';
|
|
3
2
|
export type HoverTypes = {
|
|
4
3
|
children: JSX.Element[] | JSX.Element;
|
|
5
4
|
label?: string;
|
|
@@ -11,8 +10,6 @@ export type HoverTypes = {
|
|
|
11
10
|
onMouseLeaveFromInput?: any;
|
|
12
11
|
disableEdit?: boolean;
|
|
13
12
|
inputRef?: Ref<HTMLInputElement>;
|
|
14
|
-
tooltipContent?: string | null;
|
|
15
|
-
tooltipPosition?: TooltipComponent.Position;
|
|
16
13
|
};
|
|
17
14
|
export type HoverStyleTypes = {
|
|
18
15
|
editMode?: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const getMilliseconds: (hour: number, min: number, sec: number) => number;
|
|
2
2
|
export declare const workerTimeChartOrganizedData: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
date: string;
|
|
4
|
+
checkIn: string;
|
|
5
|
+
checkOut: string;
|
|
6
6
|
workTime: number;
|
|
7
|
-
|
|
7
|
+
overTime: number;
|
|
8
8
|
}[];
|
|
9
9
|
export declare const processDataForWorkerTimeChart: (rawData: any[]) => any[];
|
|
@@ -5,7 +5,6 @@ export declare const getX: (x: number, width: number) => number;
|
|
|
5
5
|
export declare const Divider: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const getHourConditionally: (hour: number) => string;
|
|
7
7
|
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const CheckInOutConnectorLine: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export declare const WorkerTimeChartTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
10
9
|
showHourRows?: boolean;
|
|
11
10
|
showTimeRows?: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { IDatepicker } from './types';
|
|
2
|
-
declare const Datepicker: (
|
|
3
|
+
declare const Datepicker: import("react").ForwardRefExoticComponent<Omit<IDatepicker.Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
3
4
|
export { Datepicker };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CalendarProps, DatePickerProps } from 'react-multi-date-picker';
|
|
3
|
-
import { InputComponent } from '../Input/types';
|
|
4
3
|
export declare namespace IDatepicker {
|
|
5
4
|
type Props = CalendarProps & DatePickerProps & {
|
|
6
5
|
range?: boolean;
|
|
@@ -10,7 +9,6 @@ export declare namespace IDatepicker {
|
|
|
10
9
|
required?: boolean;
|
|
11
10
|
errorMessage?: string;
|
|
12
11
|
calendarRef?: any;
|
|
13
|
-
inputProps?: InputComponent.Props;
|
|
14
12
|
};
|
|
15
13
|
enum DatpickerNavigationDirectionEnum {
|
|
16
14
|
right = "right",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ISelect } from '../Select/Select.types';
|
|
2
|
-
import { TooltipComponent } from '../Tooltip/types';
|
|
3
2
|
export type HIStyles = {
|
|
4
3
|
label?: string;
|
|
5
4
|
activeOption?: {
|
|
@@ -14,6 +13,4 @@ export type HIStyles = {
|
|
|
14
13
|
allowSearch?: boolean;
|
|
15
14
|
disableEdit?: boolean;
|
|
16
15
|
selectProps?: Omit<ISelect.Props, 'required'>;
|
|
17
|
-
tooltipContent?: string | null;
|
|
18
|
-
tooltipPosition?: TooltipComponent.Position;
|
|
19
16
|
};
|
|
@@ -20,7 +20,5 @@ declare const Input: import("react").ForwardRefExoticComponent<import("react").I
|
|
|
20
20
|
leftSection?: import("react").ReactNode;
|
|
21
21
|
width?: number;
|
|
22
22
|
variant?: InputComponent.InputVariant;
|
|
23
|
-
tooltipContent?: string;
|
|
24
|
-
tooltipPosition?: import("../Tooltip/types").TooltipComponent.Position;
|
|
25
23
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
26
24
|
export { Input };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
import { Color } from '../../themes/types';
|
|
3
|
-
import { TooltipComponent } from '../Tooltip/types';
|
|
4
3
|
export declare namespace InputComponent {
|
|
5
4
|
type InputVariant = 'mini' | 'normal';
|
|
6
5
|
type Props = InputHTMLAttributes<HTMLInputElement> & {
|
|
@@ -23,8 +22,6 @@ export declare namespace InputComponent {
|
|
|
23
22
|
leftSection?: React.ReactNode;
|
|
24
23
|
width?: number;
|
|
25
24
|
variant?: InputVariant;
|
|
26
|
-
tooltipContent?: string;
|
|
27
|
-
tooltipPosition?: TooltipComponent.Position;
|
|
28
25
|
};
|
|
29
26
|
type Astrik = {
|
|
30
27
|
disabled: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { LabelComponent } from './types';
|
|
2
2
|
declare const Label: import("styled-components").StyledComponent<"label", any, LabelComponent.Label, never>;
|
|
3
|
-
|
|
4
|
-
export { Label, InputInfoIconContainer };
|
|
3
|
+
export { Label };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MSTypes } from './types';
|
|
2
|
-
declare const MultiSelect: ({ width, options, activeOptions, setActiveOptions, placeholder, label, variant, dropdownSelectProps, avatarProps,
|
|
2
|
+
declare const MultiSelect: ({ width, options, activeOptions, setActiveOptions, placeholder, label, variant, dropdownSelectProps, avatarProps, }: MSTypes) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { MultiSelect };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Dispatch } from 'react';
|
|
2
2
|
import { IDropdownSelect } from '../DropdownSelect/DropdownSelect.types';
|
|
3
3
|
import { AvatarDeclarations } from '../Avatar/Avatar.types';
|
|
4
|
-
import { TooltipComponent } from '../Tooltip/types';
|
|
5
4
|
export type MSTypes = {
|
|
6
5
|
width?: number;
|
|
7
6
|
options?: IDropdownSelect.Option[];
|
|
@@ -12,8 +11,6 @@ export type MSTypes = {
|
|
|
12
11
|
variant?: 'normal' | 'checkbox';
|
|
13
12
|
dropdownSelectProps?: Omit<IDropdownSelect.Props, 'avatarProps'>;
|
|
14
13
|
avatarProps?: AvatarDeclarations.Props;
|
|
15
|
-
tooltipContent?: string;
|
|
16
|
-
tooltipPosition?: TooltipComponent.Position;
|
|
17
14
|
};
|
|
18
15
|
export type MSStyleTypes = {
|
|
19
16
|
width?: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ISelect } from './Select.types';
|
|
2
|
-
declare const Select: (
|
|
3
|
+
declare const Select: import("react").ForwardRefExoticComponent<ISelect.Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
3
4
|
export { Select };
|