gd-design-library 0.0.9 → 0.0.11
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/components/core/DropdownItem/DropdownItem.types.d.ts +1 -0
- package/components/core/Select/Select.types.d.ts +12 -6
- package/components/core/Select/StyledSelect.d.ts +3 -1
- package/components/core/Typography/Typography.types.d.ts +21 -19
- package/components/core/Typography/constants.d.ts +0 -2
- package/components/domainSpecific/Card/Card.d.ts +7 -7
- package/components/domainSpecific/Card/StyledCard.d.ts +7 -7
- package/components/domainSpecific/Header/StyledHeader.d.ts +6 -6
- package/components/domainSpecific/Search/Search.types.d.ts +3 -3
- package/components/domainSpecific/Search/StyledSearch.d.ts +0 -10
- package/constants/keyboard.d.ts +1 -0
- package/index.mjs +2619 -2595
- package/package.json +1 -1
- package/tokens/button.d.ts +5 -0
- package/tokens/defaultTheme.d.ts +64 -30
- package/tokens/index.d.ts +64 -30
- package/tokens/input.d.ts +7 -0
- package/tokens/select.d.ts +14 -1
- package/tokens/typography.d.ts +40 -29
- package/utils/focus.d.ts +32 -0
- package/utils/index.d.ts +1 -0
- package/components/core/Typography/utils.d.ts +0 -2
|
@@ -3,6 +3,7 @@ import { Theme } from '../../../hooks/useTheme';
|
|
|
3
3
|
import { OnSelectProps } from '../types/events.types';
|
|
4
4
|
export interface DropdownItemProps<T> extends PropsWithChildren {
|
|
5
5
|
onSelect?: (props: OnSelectProps) => T;
|
|
6
|
+
disabled?: boolean;
|
|
6
7
|
children: ReactNode;
|
|
7
8
|
value?: unknown;
|
|
8
9
|
itemIndex?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode, MouseEvent } from 'react';
|
|
1
|
+
import { ReactNode, MouseEvent, KeyboardEvent } from 'react';
|
|
2
2
|
import { Theme } from '../../../hooks/useTheme';
|
|
3
3
|
import { CommonCoreComponentProps, CommonCoreStyledComponentProps } from '..';
|
|
4
4
|
import { OnSelectProps } from '../types/events.types';
|
|
@@ -26,11 +26,15 @@ export interface SelectProps<T extends HTMLElement = HTMLDivElement> extends Exc
|
|
|
26
26
|
initiator?: ReactNode;
|
|
27
27
|
width?: number | string;
|
|
28
28
|
emptyItemsResult?: string;
|
|
29
|
-
selectedItem?: string;
|
|
30
29
|
renderOption?: (value: renderOptionType) => ReactNode;
|
|
31
30
|
renderDropdownHeader?: (theme: Theme, dropdownParams?: DropdownParams) => ReactNode;
|
|
32
31
|
autoOpen?: boolean;
|
|
33
32
|
activeIndex?: string | number;
|
|
33
|
+
value?: unknown;
|
|
34
|
+
onChange?: (value: unknown) => void;
|
|
35
|
+
itemStringifier?: (value: unknown) => string;
|
|
36
|
+
itemIdentifier?: (selected: unknown, current: unknown) => boolean;
|
|
37
|
+
disabled?: boolean;
|
|
34
38
|
}
|
|
35
39
|
export interface SelectRef {
|
|
36
40
|
isOpen: boolean;
|
|
@@ -38,9 +42,11 @@ export interface SelectRef {
|
|
|
38
42
|
close: () => void;
|
|
39
43
|
toggle: () => void;
|
|
40
44
|
}
|
|
41
|
-
export type SelectWrapperProps = Exclude<CommonCoreStyledComponentProps, 'color' | 'variant'
|
|
45
|
+
export type SelectWrapperProps = Exclude<CommonCoreStyledComponentProps, 'color' | 'variant'> & {
|
|
46
|
+
$disabled?: boolean;
|
|
47
|
+
};
|
|
42
48
|
export interface SelectContextType {
|
|
43
|
-
onSelect?: (event: MouseEvent<HTMLDivElement>, data: unknown) => void;
|
|
44
|
-
|
|
45
|
-
|
|
49
|
+
onSelect?: (event: MouseEvent<HTMLDivElement> | KeyboardEvent<HTMLDivElement>, data: unknown) => void;
|
|
50
|
+
value?: unknown;
|
|
51
|
+
itemIdentifier?: (selected: unknown, current: unknown) => boolean;
|
|
46
52
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { IconProps } from '../Icon';
|
|
2
|
-
|
|
2
|
+
import { SelectWrapperProps } from './Select.types';
|
|
3
|
+
export declare const SelectWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SelectWrapperProps>> & string;
|
|
3
4
|
export declare const InitiatorWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
5
|
width: number | string;
|
|
6
|
+
disabled?: boolean;
|
|
5
7
|
}>> & string;
|
|
6
8
|
export declare const DropdownButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../Button').ButtonProps & {
|
|
7
9
|
children?: import('react').ReactNode | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ElementType
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { EnumOrPrimitive } from '../../../types';
|
|
2
3
|
import { CommonCoreComponentProps, CommonCoreStyledComponentProps, SizeVariant } from '../..';
|
|
3
4
|
export declare enum TextAlign {
|
|
4
5
|
Start = "start",
|
|
@@ -25,35 +26,36 @@ export declare enum TypographyVariant {
|
|
|
25
26
|
H6 = "h6",
|
|
26
27
|
Body1 = "p",
|
|
27
28
|
Body2 = "small",
|
|
28
|
-
Display = "
|
|
29
|
+
Display = "div",
|
|
29
30
|
Italic = "i",
|
|
30
31
|
Bold = "strong",
|
|
31
32
|
Sup = "sup",
|
|
32
33
|
Sub = "sub",
|
|
33
34
|
Caption = "caption",
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
Inherit = "span"
|
|
36
|
+
}
|
|
37
|
+
export declare enum TypographyStyleVariant {
|
|
38
|
+
Bold = "bold",
|
|
36
39
|
Semibold = "semibold",
|
|
40
|
+
Normal = "normal",
|
|
41
|
+
Light = "light",
|
|
42
|
+
Italic = "italic",
|
|
43
|
+
Small = "small",
|
|
37
44
|
Uppercase = "uppercase",
|
|
38
45
|
Lowercase = "lowercase",
|
|
39
46
|
Underline = "underline",
|
|
40
|
-
Strike = "strike"
|
|
41
|
-
Inherit = "inherit"
|
|
42
|
-
}
|
|
43
|
-
export interface OnChangeCallbackProps {
|
|
44
|
-
event: FormEvent<HTMLDivElement>;
|
|
45
|
-
content: string;
|
|
46
|
-
}
|
|
47
|
-
export interface StyledTypographyType extends CommonCoreStyledComponentProps<TypographyVariant, string> {
|
|
48
|
-
as?: TypographyVariant;
|
|
49
|
-
$size?: SizeVariant;
|
|
50
|
-
$align: TextAlign;
|
|
47
|
+
Strike = "strike"
|
|
51
48
|
}
|
|
49
|
+
export type StyleVariant = EnumOrPrimitive<TypographyStyleVariant> | EnumOrPrimitive<TypographyStyleVariant>[];
|
|
52
50
|
export interface TypographyProps extends CommonCoreComponentProps<TypographyVariant, string> {
|
|
53
|
-
|
|
54
|
-
as?: ElementType;
|
|
51
|
+
as?: keyof HTMLElementTagNameMap | ElementType;
|
|
55
52
|
size?: SizeVariant;
|
|
56
53
|
align?: TextAlign;
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
styleVariant?: StyleVariant;
|
|
55
|
+
}
|
|
56
|
+
export interface StyledTypographyType extends CommonCoreStyledComponentProps<TypographyVariant, string> {
|
|
57
|
+
as?: keyof HTMLElementTagNameMap | ElementType;
|
|
58
|
+
$size?: SizeVariant;
|
|
59
|
+
$align?: TextAlign;
|
|
60
|
+
$styleVariant?: StyleVariant;
|
|
59
61
|
}
|
|
@@ -8,21 +8,21 @@ export declare const Card: import('react').ForwardRefExoticComponent<CardProps &
|
|
|
8
8
|
Column: import('react').ForwardRefExoticComponent<import('../../layout/Column/Column.types').ColumnProps & {
|
|
9
9
|
children?: import('react').ReactNode | undefined;
|
|
10
10
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
|
-
Counter: import('react').ForwardRefExoticComponent<import('
|
|
11
|
+
Counter: import('react').ForwardRefExoticComponent<import('./Card.types').CardCounterProps & {
|
|
12
12
|
children?: import('react').ReactNode | undefined;
|
|
13
13
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
-
Image: import('react').ForwardRefExoticComponent<import('
|
|
14
|
+
Image: import('react').ForwardRefExoticComponent<import('./Card.types').CardImageProps & {
|
|
15
15
|
children?: import('react').ReactNode | undefined;
|
|
16
16
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
|
-
Price: import('react').ForwardRefExoticComponent<import('
|
|
18
|
-
Button: import('react').ForwardRefExoticComponent<import('
|
|
17
|
+
Price: import('react').ForwardRefExoticComponent<import('./Card.types').CardPriceProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
|
+
Button: import('react').ForwardRefExoticComponent<import('./Card.types').CardButtonProps & {
|
|
19
19
|
children?: import('react').ReactNode | undefined;
|
|
20
20
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
-
Title: import('react').ForwardRefExoticComponent<import('
|
|
21
|
+
Title: import('react').ForwardRefExoticComponent<import('./Card.types').CardTextProps & {
|
|
22
22
|
children?: import('react').ReactNode | undefined;
|
|
23
23
|
} & import('react').RefAttributes<HTMLElement>>;
|
|
24
|
-
Description: import('react').ForwardRefExoticComponent<import('
|
|
24
|
+
Description: import('react').ForwardRefExoticComponent<import('./Card.types').CardTextProps & {
|
|
25
25
|
children?: import('react').ReactNode | undefined;
|
|
26
26
|
} & import('react').RefAttributes<HTMLElement>>;
|
|
27
|
-
Rating: import('react').ForwardRefExoticComponent<import('
|
|
27
|
+
Rating: import('react').ForwardRefExoticComponent<import('./Card.types').CardRatingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
28
28
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { CardButtonStyledProps, CardImageStyledProps } from '
|
|
1
|
+
import { CardButtonStyledProps, CardImageStyledProps } from '..';
|
|
2
2
|
import { CardStyledProps, CardTextStyledProps, CardRatingStyledProps, CardPriceStyledProps, CardCounterStyledProps } from './Card.types';
|
|
3
3
|
export declare const StyledCard: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CardStyledProps>> & string;
|
|
4
|
-
export declare const StyledCardTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<Omit<import('
|
|
4
|
+
export declare const StyledCardTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<Omit<import('../../core/Typography').TypographyProps & {
|
|
5
5
|
children?: import('react').ReactNode | undefined;
|
|
6
6
|
} & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
7
7
|
ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
|
|
8
|
-
}, Omit<import('
|
|
8
|
+
}, Omit<import('../../core/Typography').TypographyProps & {
|
|
9
9
|
children?: import('react').ReactNode | undefined;
|
|
10
10
|
} & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
|
|
12
|
-
}>, CardTextStyledProps>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('
|
|
12
|
+
}>, CardTextStyledProps>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../core/Typography').TypographyProps & {
|
|
13
13
|
children?: import('react').ReactNode | undefined;
|
|
14
14
|
} & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
|
|
15
|
-
export declare const StyledCardDescription: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<Omit<import('
|
|
15
|
+
export declare const StyledCardDescription: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<Omit<import('../../core/Typography').TypographyProps & {
|
|
16
16
|
children?: import('react').ReactNode | undefined;
|
|
17
17
|
} & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
18
18
|
ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
|
|
19
|
-
}, Omit<import('
|
|
19
|
+
}, Omit<import('../../core/Typography').TypographyProps & {
|
|
20
20
|
children?: import('react').ReactNode | undefined;
|
|
21
21
|
} & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
22
22
|
ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
|
|
23
|
-
}>, CardTextStyledProps>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('
|
|
23
|
+
}>, CardTextStyledProps>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../core/Typography').TypographyProps & {
|
|
24
24
|
children?: import('react').ReactNode | undefined;
|
|
25
25
|
} & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
|
|
26
26
|
export declare const StyledCardRating: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CardRatingStyledProps>> & string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Theme } from '../../../hooks/useTheme';
|
|
2
|
-
export declare const StyledHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../layout').FlexContainerProps & {
|
|
2
|
+
export declare const StyledHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../layout/FlexContainer').FlexContainerProps & {
|
|
3
3
|
children?: import('react').ReactNode | undefined;
|
|
4
4
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
-
}, Omit<import('../../layout').FlexContainerProps & {
|
|
6
|
+
}, Omit<import('../../layout/FlexContainer').FlexContainerProps & {
|
|
7
7
|
children?: import('react').ReactNode | undefined;
|
|
8
8
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
10
10
|
}>, never>, {
|
|
11
11
|
theme: Theme;
|
|
12
12
|
backgroundColor: string;
|
|
13
|
-
}>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../layout').FlexContainerProps & {
|
|
13
|
+
}>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../layout/FlexContainer').FlexContainerProps & {
|
|
14
14
|
children?: import('react').ReactNode | undefined;
|
|
15
15
|
} & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
16
16
|
export declare const TopBannerRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../layout/Row/Row.types').RowProps & {
|
|
@@ -96,15 +96,15 @@ export declare const MobileMenuOpenedDropdownWrapper: import('styled-components/
|
|
|
96
96
|
export declare const CloseMenuIconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
97
97
|
theme: Theme;
|
|
98
98
|
}>> & string;
|
|
99
|
-
export declare const MobileMenuWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../layout').FlexContainerProps & {
|
|
99
|
+
export declare const MobileMenuWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../layout/FlexContainer').FlexContainerProps & {
|
|
100
100
|
children?: import('react').ReactNode | undefined;
|
|
101
101
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
102
102
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
103
|
-
}, Omit<import('../../layout').FlexContainerProps & {
|
|
103
|
+
}, Omit<import('../../layout/FlexContainer').FlexContainerProps & {
|
|
104
104
|
children?: import('react').ReactNode | undefined;
|
|
105
105
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
106
106
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
107
|
-
}>, never>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../layout').FlexContainerProps & {
|
|
107
|
+
}>, never>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../layout/FlexContainer').FlexContainerProps & {
|
|
108
108
|
children?: import('react').ReactNode | undefined;
|
|
109
109
|
} & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
110
110
|
export declare const MobileMenuItemWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../layout/Row/Row.types').RowProps & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
2
|
import { Theme } from '../../../hooks/useTheme';
|
|
3
3
|
import { CommonCoreComponentProps, CommonCoreStyledComponentProps } from '../../core';
|
|
4
4
|
import { DropdownParams, Option, renderOptionType } from '../../core/Select';
|
|
@@ -12,12 +12,12 @@ export interface SearchProps extends Exclude<CommonCoreComponentProps, 'color' |
|
|
|
12
12
|
width?: string | number;
|
|
13
13
|
debounceTime?: number;
|
|
14
14
|
dropdownParams?: DropdownParams;
|
|
15
|
-
|
|
15
|
+
value?: string;
|
|
16
16
|
items?: (never | SearchResultOption)[];
|
|
17
17
|
renderOption?: (value: renderOptionType) => React.ReactNode;
|
|
18
18
|
emptyItemsResult?: string;
|
|
19
19
|
renderDropdownHeader?: (theme: Theme, dropdownParams?: DropdownParams) => React.ReactNode;
|
|
20
|
-
onType?: (
|
|
20
|
+
onType?: (value: string) => void;
|
|
21
21
|
handleClickOnInitiator?: (event: MouseEvent<HTMLInputElement>) => void;
|
|
22
22
|
onSelectCb?: (props: OnSelectProps<HTMLDivElement | HTMLInputElement>) => void;
|
|
23
23
|
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../../hooks/useTheme';
|
|
2
|
-
import { IconProps } from '../../core/Icon';
|
|
3
|
-
export declare const StyledSearch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
theme: Theme;
|
|
5
|
-
}>> & string;
|
|
6
2
|
export declare const StyledInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<(Omit<import('../../core/Input').BaseInputFieldProps & import('react').RefAttributes<HTMLInputElement>, "ref"> & {
|
|
7
3
|
ref?: ((instance: HTMLInputElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLInputElement> | null | undefined;
|
|
8
4
|
}) | (Omit<import('../../core/Input').RadioButtonProps & import('react').RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -21,9 +17,3 @@ export declare const StyledRendererRow: import('styled-components/dist/types').I
|
|
|
21
17
|
}>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../layout/Row/Row.types').RowProps & {
|
|
22
18
|
children?: import('react').ReactNode | undefined;
|
|
23
19
|
} & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
24
|
-
export declare const StyledRendererLink: import('styled-components/dist/types').IStyledComponentBase<"web", any> & string;
|
|
25
|
-
export declare const StyledRendererLinkIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<Omit<IconProps & import('react').RefAttributes<SVGElement>, "ref"> & {
|
|
26
|
-
ref?: ((instance: SVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGElement> | null | undefined;
|
|
27
|
-
}, Omit<IconProps & import('react').RefAttributes<SVGElement>, "ref"> & {
|
|
28
|
-
ref?: ((instance: SVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGElement> | null | undefined;
|
|
29
|
-
}>, Partial<IconProps>>, never>> & string & Omit<import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGElement>>, keyof import('react').Component<any, {}, any>>;
|