kwant-ui 3.36.0-stable.1 → 3.36.0
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/CalendarStyled.d.ts +1 -0
- package/dist/components/Calendar/CalendarTypes.d.ts +2 -1
- package/dist/components/Dropdown/DropdownStyled.d.ts +6 -2
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/types.d.ts +1 -0
- package/dist/index.es.js +14 -6
- package/dist/index.js +14 -6
- package/dist/package.json +1 -1
- package/dist/public/assets/icons/unsafe.svg +23 -0
- package/dist/types/IconTypes.d.ts +1 -1
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ export declare const StyledInput: import("styled-components").StyledComponent<im
|
|
|
27
27
|
variant?: import("../Input/types").InputComponent.InputVariant;
|
|
28
28
|
tooltipContent?: string;
|
|
29
29
|
tooltipPosition?: import("../Tooltip/types").TooltipComponent.Position;
|
|
30
|
+
decimal?: boolean;
|
|
30
31
|
} & import("react").RefAttributes<HTMLInputElement>>, any, {}, never>;
|
|
31
32
|
export declare const Colon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
32
33
|
export declare const InputGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import dayjs from 'dayjs';
|
|
2
3
|
import { CalendarProps, DateObject } from 'react-multi-date-picker';
|
|
3
4
|
export type RangeDomainUnit = 'd' | 'w' | 'm' | 'y';
|
|
4
5
|
export type RangeDomain = `${number}${RangeDomainUnit}`;
|
|
@@ -52,7 +53,7 @@ export declare namespace ICalendar {
|
|
|
52
53
|
type SidebarOptionProps = {
|
|
53
54
|
title: string;
|
|
54
55
|
selected?: boolean;
|
|
55
|
-
value?: () => DateObject[];
|
|
56
|
+
value?: (() => DateObject[]) | (() => dayjs.Dayjs[]);
|
|
56
57
|
onClick?: () => void;
|
|
57
58
|
};
|
|
58
59
|
type Time = {
|
|
@@ -6,8 +6,12 @@ export declare const OptionsContainer: import("styled-components").StyledCompone
|
|
|
6
6
|
separator?: boolean;
|
|
7
7
|
showScrollbar?: boolean;
|
|
8
8
|
}, never>;
|
|
9
|
-
export declare const Option: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
-
|
|
9
|
+
export declare const Option: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
+
isSelected?: boolean;
|
|
11
|
+
}, never>;
|
|
12
|
+
export declare const CustomOption: import("styled-components").StyledComponent<"div", any, {
|
|
13
|
+
isSelected?: boolean;
|
|
14
|
+
}, never>;
|
|
11
15
|
export declare const EmptyResultContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
16
|
export declare const AddOptionContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
17
|
export declare const CustomImageOption: import("styled-components").StyledComponent<"div", any, {
|
|
@@ -22,5 +22,6 @@ declare const Input: import("react").ForwardRefExoticComponent<import("react").I
|
|
|
22
22
|
variant?: InputComponent.InputVariant;
|
|
23
23
|
tooltipContent?: string;
|
|
24
24
|
tooltipPosition?: import("../Tooltip/types").TooltipComponent.Position;
|
|
25
|
+
decimal?: boolean;
|
|
25
26
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
26
27
|
export { Input };
|