@fattureincloud/fic-design-system 0.4.8 → 0.4.9-expenses.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/dist/components/accordions/types.d.ts +0 -1
- package/dist/components/avatar/Avatar.d.ts +0 -1
- package/dist/components/avatar/AvatarImage.d.ts +3 -0
- package/dist/components/avatar/AvatarInitials.d.ts +3 -0
- package/dist/components/avatar/AvatarPlaceholder.d.ts +3 -0
- package/dist/components/avatar/avatar.stories.d.ts +0 -1
- package/dist/components/avatar/baseAvatar.d.ts +3 -0
- package/dist/components/avatar/typings/avatar.d.ts +30 -0
- package/dist/components/badge/{Badge.d.ts → badge.d.ts} +0 -1
- package/dist/components/badge/badge.stories.d.ts +0 -1
- package/dist/components/badge/components/styledBadgeWrapper.d.ts +1 -0
- package/dist/components/banner/Banner.d.ts +0 -1
- package/dist/components/banner/banner.stories.d.ts +0 -1
- package/dist/components/buttons/baseButton.d.ts +3 -0
- package/dist/components/buttons/button/styled.d.ts +0 -1
- package/dist/components/buttons/button.d.ts +3 -0
- package/dist/components/buttons/buttons.stories.d.ts +1 -0
- package/dist/components/buttons/iconButton/iconButton.stories.d.ts +0 -1
- package/dist/components/buttons/iconButton.d.ts +3 -0
- package/dist/components/buttons/iconButton.stories.d.ts +1 -0
- package/dist/components/buttons/typings/baseButton.d.ts +15 -0
- package/dist/components/buttons/typings/buttons.d.ts +9 -0
- package/dist/components/buttons/typings/iconButton.d.ts +13 -0
- package/dist/components/buttons/utils.d.ts +47 -0
- package/dist/components/checkbox/Checkbox.d.ts +15 -0
- package/dist/components/checkbox/checkbox.stories.d.ts +1 -0
- package/dist/components/checkbox/checkboxPalette.d.ts +16 -0
- package/dist/components/checkbox/components/Input.d.ts +9 -0
- package/dist/components/checkbox/components/checkbox-input.d.ts +2 -0
- package/dist/components/checkbox/components/container.d.ts +2 -0
- package/dist/components/checkbox/components/label.d.ts +8 -0
- package/dist/components/checkbox/components/styledCheckboxInputWrapper.d.ts +2 -0
- package/dist/components/checkbox/hooks/useCheckboxValue.d.ts +11 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/checkbox/types.d.ts +19 -0
- package/dist/components/checkbox/typings/checkbox.d.ts +38 -0
- package/dist/components/checkbox/utils.d.ts +24 -0
- package/dist/components/chips/components/styledChipWrapper.d.ts +0 -1
- package/dist/components/chips/types.d.ts +0 -1
- package/dist/components/common/Icon/components/backgroundWrapper.d.ts +5 -0
- package/dist/components/common/Icon/icon.stories.d.ts +1 -0
- package/dist/components/common/Icon/index.d.ts +6 -0
- package/dist/components/common/Icon/typings.d.ts +43 -0
- package/dist/components/drawer/components/styledDrawerWrapper.d.ts +0 -1
- package/dist/components/drawer/types.d.ts +0 -1
- package/dist/components/dropdown/components/Item.d.ts +0 -1
- package/dist/components/dropdown/components/Separator.d.ts +0 -1
- package/dist/components/dropdown/components/StyledDropdown.d.ts +8 -0
- package/dist/components/dropdown/components/StyledDropdownWrapper.d.ts +10 -0
- package/dist/components/dropdown/components/Title.d.ts +0 -1
- package/dist/components/dropdown/components/UnstyledDropdown.d.ts +13 -0
- package/dist/components/dropdown/components/UserListItem.d.ts +0 -1
- package/dist/components/dropdown/dropdown.stories.d.ts +0 -1
- package/dist/components/dropdownLegacy/DropdownImpl.d.ts +12 -0
- package/dist/components/dropdownLegacy/components/Item.d.ts +8 -0
- package/dist/components/dropdownLegacy/components/Separator.d.ts +2 -0
- package/dist/components/dropdownLegacy/components/ShortcutText.d.ts +1 -0
- package/dist/components/dropdownLegacy/components/Title.d.ts +4 -0
- package/dist/components/dropdownLegacy/components/UserListItem.d.ts +6 -0
- package/dist/components/dropdownLegacy/dropdown.d.ts +13 -0
- package/dist/components/dropdownLegacy/dropdown.stories.d.ts +1 -0
- package/dist/components/dropdownLegacy/types.d.ts +45 -0
- package/dist/components/dropdownV2/DropdownImpl.d.ts +4 -0
- package/dist/components/dropdownV2/components/Item.d.ts +8 -0
- package/dist/components/dropdownV2/components/Separator.d.ts +3 -0
- package/dist/components/dropdownV2/components/ShortcutText.d.ts +1 -0
- package/dist/components/dropdownV2/components/Title.d.ts +4 -0
- package/dist/components/dropdownV2/components/UserListItem.d.ts +6 -0
- package/dist/components/dropdownV2/dropdown.d.ts +14 -0
- package/dist/components/dropdownV2/dropdown.stories.d.ts +1 -0
- package/dist/components/dropdownV2/index.d.ts +3 -0
- package/dist/components/dropdownV2/types.d.ts +49 -0
- package/dist/components/floatingBadge/floatingBadge.stories.d.ts +0 -1
- package/dist/components/form/fileUploader/fileUploaderPalette.d.ts +0 -1
- package/dist/components/form/fileUploader/hooks/useIcon.d.ts +1 -1
- package/dist/components/form/fileUploader/hooks/useTexts.d.ts +2 -2
- package/dist/components/form/label/Label.d.ts +0 -1
- package/dist/components/groupRadioButton/typings/groupRadioButton.d.ts +21 -0
- package/dist/components/groupRadioButton/utils.d.ts +3 -0
- package/dist/components/groupedList/components/StyledGroupedList.d.ts +17 -0
- package/dist/components/groupedList/components/groupElement.d.ts +0 -1
- package/dist/components/groupedList/components/itemElement.d.ts +0 -1
- package/dist/components/groupedList/components/titleElement.d.ts +0 -1
- package/dist/components/groupedList/groupedList.d.ts +0 -1
- package/dist/components/groupedList/groupedList.stories.d.ts +0 -1
- package/dist/components/icon/icon.stories.d.ts +0 -1
- package/dist/components/iconDropdown/iconDropdown.d.ts +9 -0
- package/dist/components/iconDropdown/index.d.ts +2 -0
- package/dist/components/inlineMessages/components/styledInlineMessageWrapper.d.ts +0 -1
- package/dist/components/inlineMessages/inlineMessages.d.ts +0 -1
- package/dist/components/inlineMessages/inlineMessages.stories.d.ts +0 -1
- package/dist/components/inlineMessages/types.d.ts +0 -1
- package/dist/components/inlineMessages/utils.d.ts +295 -0
- package/dist/components/inputText/components/icons.d.ts +8 -0
- package/dist/components/inputText/components/inputContainer.d.ts +1 -0
- package/dist/components/inputText/components/messages.d.ts +2 -0
- package/dist/components/inputText/components/wrapperTextArea.d.ts +1 -0
- package/dist/components/inputText/icons.d.ts +9 -0
- package/dist/components/inputText/index.d.ts +3 -0
- package/dist/components/inputText/inputText.stories.d.ts +1 -0
- package/dist/components/inputText/inputTextStyledWrapper.d.ts +2 -0
- package/dist/components/inputText/sideText.d.ts +6 -0
- package/dist/components/inputText/typings/enums.d.ts +17 -0
- package/dist/components/inputText/typings/inputText.d.ts +43 -0
- package/dist/components/inputText/utils.d.ts +8 -0
- package/dist/components/microTag/microtag.stories.d.ts +0 -1
- package/dist/components/modals/components/HeaderSearch.d.ts +8 -0
- package/dist/components/modals/confirmationModal.d.ts +0 -1
- package/dist/components/modals/modalStyledWrapper.d.ts +2 -0
- package/dist/components/modals/modals.stories.d.ts +0 -1
- package/dist/components/navigationDropdown/index.d.ts +2 -0
- package/dist/components/navigationDropdown/navigationDropdown.d.ts +9 -0
- package/dist/components/pageEmptySet/pageEmptySet.d.ts +0 -1
- package/dist/components/pagination/index.d.ts +0 -1
- package/dist/components/pagination/pagination.stories.d.ts +0 -1
- package/dist/components/progressbar/types.d.ts +0 -1
- package/dist/components/radioButton/radio.stories.d.ts +0 -1
- package/dist/components/radioButton/typings/radioButton.d.ts +0 -1
- package/dist/components/select/custom-select-style.d.ts +2 -0
- package/dist/components/select/hooks/constants.d.ts +4613 -0
- package/dist/components/select/hooks/useCustomSelectStyle.d.ts +4 -0
- package/dist/components/select/index.d.ts +4 -0
- package/dist/components/select/select.stories.d.ts +1 -0
- package/dist/components/select/typings/select.d.ts +22 -0
- package/dist/components/select/utils.d.ts +1 -0
- package/dist/components/stepBar/components/singleStep.d.ts +3 -0
- package/dist/components/stepBar/components/styledStepBarWrapper.d.ts +2 -0
- package/dist/components/stepBar/index.d.ts +2 -0
- package/dist/components/stepBar/stepBar.d.ts +7 -0
- package/dist/components/stepBar/stepBar.stories.d.ts +1 -0
- package/dist/components/stepBar/types.d.ts +15 -0
- package/dist/components/stepper/stepper.stories.d.ts +0 -1
- package/dist/components/table/components/ActionsCell.d.ts +0 -1
- package/dist/components/table/components/EmptyState.d.ts +0 -1
- package/dist/components/table/components/{Pagination.d.ts → pagination.d.ts} +0 -0
- package/dist/components/table/index.d.ts +2 -1
- package/dist/components/table/{Table.d.ts → table.d.ts} +0 -1
- package/dist/components/tabs/common/types.d.ts +0 -1
- package/dist/components/tabs/components/item/Item.d.ts +8 -0
- package/dist/components/tabs/components/item/components/ActiveTag.d.ts +6 -0
- package/dist/components/tabs/components/item/components/Tab.d.ts +6 -0
- package/dist/components/tabs/components/tabsDropdown/TabsDropdown.d.ts +8 -0
- package/dist/components/tabs/components/tabsDropdown/components/TabsDropdownTrigger.d.ts +7 -0
- package/dist/components/tabs/hooks/useResizedWidth.d.ts +7 -0
- package/dist/components/tabs/hooks/useTabItemsCount.d.ts +12 -0
- package/dist/components/tabs/tabs.d.ts +12 -0
- package/dist/components/tabs/tabs.stories.d.ts +0 -1
- package/dist/components/tabs/types.d.ts +5 -0
- package/dist/components/tag/Tag.d.ts +0 -1
- package/dist/components/tag/components/StyledTag.d.ts +10 -0
- package/dist/components/tag/styled.d.ts +0 -1
- package/dist/components/tag/tag.stories.d.ts +0 -1
- package/dist/components/test/index.d.ts +2 -0
- package/dist/components/test/test.d.ts +5 -0
- package/dist/components/textButton/TextButton.d.ts +12 -0
- package/dist/components/textButton/index.d.ts +2 -0
- package/dist/components/textButton/textButton.stories.d.ts +1 -0
- package/dist/components/tip/shortcutTip.d.ts +0 -1
- package/dist/components/tip/tip.d.ts +0 -1
- package/dist/components/tip/tip.stories.d.ts +0 -1
- package/dist/components/toast/ToastContainer.d.ts +0 -1
- package/dist/components/toast/components/toastContent.d.ts +0 -1
- package/dist/components/toast/toast.stories.d.ts +0 -1
- package/dist/components/tooltip/tooltip.stories.d.ts +0 -1
- package/dist/components/tooltips/components/message.d.ts +12 -0
- package/dist/components/tooltips/components/styledTooltipWrapper.d.ts +1 -0
- package/dist/components/tooltips/index.d.ts +2 -0
- package/dist/components/tooltips/tooltips.d.ts +15 -0
- package/dist/components/tooltips/tooltips.stories.d.ts +1 -0
- package/dist/components/tooltips/types.d.ts +25 -0
- package/dist/index.d.ts +2 -2
- package/dist/styles/default-palette/base.d.ts +18 -0
- package/dist/styles/default-palette/blue.d.ts +12 -0
- package/dist/styles/default-palette/cyan.d.ts +12 -0
- package/dist/styles/default-palette/fucsia.d.ts +12 -0
- package/dist/styles/default-palette/green.d.ts +12 -0
- package/dist/styles/default-palette/grey.d.ts +12 -0
- package/dist/styles/default-palette/index.d.ts +152 -0
- package/dist/styles/default-palette/indigo.d.ts +12 -0
- package/dist/styles/default-palette/orange.d.ts +12 -0
- package/dist/styles/default-palette/pink.d.ts +12 -0
- package/dist/styles/default-palette/red.d.ts +12 -0
- package/dist/styles/default-palette/yellow.d.ts +12 -0
- package/dist/styles/defaultPalette/base.d.ts +18 -0
- package/dist/styles/defaultPalette/blue.d.ts +12 -0
- package/dist/styles/defaultPalette/cyan.d.ts +12 -0
- package/dist/styles/defaultPalette/fuchsia.d.ts +12 -0
- package/dist/styles/defaultPalette/green.d.ts +12 -0
- package/dist/styles/defaultPalette/grey.d.ts +12 -0
- package/dist/styles/defaultPalette/indigo.d.ts +12 -0
- package/dist/styles/defaultPalette/orange.d.ts +12 -0
- package/dist/styles/defaultPalette/pink.d.ts +12 -0
- package/dist/styles/defaultPalette/red.d.ts +12 -0
- package/dist/styles/defaultPalette/yellow.d.ts +12 -0
- package/dist/styles/elevations.d.ts +7 -0
- package/dist/styles/fic-palette/base.d.ts +18 -0
- package/dist/styles/fic-palette/blue.d.ts +12 -0
- package/dist/styles/fic-palette/cyan.d.ts +12 -0
- package/dist/styles/fic-palette/fucsia.d.ts +12 -0
- package/dist/styles/fic-palette/green.d.ts +12 -0
- package/dist/styles/fic-palette/grey.d.ts +12 -0
- package/dist/styles/fic-palette/index.d.ts +141 -0
- package/dist/styles/fic-palette/indigo.d.ts +12 -0
- package/dist/styles/fic-palette/orange.d.ts +12 -0
- package/dist/styles/fic-palette/pink.d.ts +12 -0
- package/dist/styles/fic-palette/red.d.ts +12 -0
- package/dist/styles/fic-palette/yellow.d.ts +12 -0
- package/dist/styles/palette.d.ts +298 -0
- package/dist/styles/shadows.d.ts +3 -0
- package/dist/utils/FICNumbers.d.ts +11 -0
- package/package.json +6 -4
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IconName, TypePropType } from '../common/Icon/typings';
|
3
|
+
import { AvatarAllowedSizes } from '../avatar/types';
|
4
|
+
export declare type contentOption = {
|
5
|
+
id: number;
|
6
|
+
text: string;
|
7
|
+
icon?: IconName;
|
8
|
+
};
|
9
|
+
export declare type DropdownImplProps = {
|
10
|
+
className?: string;
|
11
|
+
title?: string;
|
12
|
+
renderTrigger?: () => void;
|
13
|
+
content?: contentOption[];
|
14
|
+
onSelectOption?: (id: number | string) => void;
|
15
|
+
renderContent?: React.ReactNode;
|
16
|
+
alignRight?: boolean;
|
17
|
+
fullWidth?: boolean;
|
18
|
+
};
|
19
|
+
export declare type TitleProps = {
|
20
|
+
text: string;
|
21
|
+
};
|
22
|
+
export declare type UnstyledDropdownState = {
|
23
|
+
isOpen: boolean;
|
24
|
+
};
|
25
|
+
export interface ItemProps {
|
26
|
+
text: string;
|
27
|
+
id?: number;
|
28
|
+
className?: string;
|
29
|
+
iconName?: IconName;
|
30
|
+
iconType?: TypePropType;
|
31
|
+
iconSwapOpacity?: boolean;
|
32
|
+
active?: boolean;
|
33
|
+
shortcut?: string;
|
34
|
+
onSelected?: (id: number | undefined) => void;
|
35
|
+
children?: React.ReactChild;
|
36
|
+
}
|
37
|
+
export interface UserListItemProps {
|
38
|
+
img?: string;
|
39
|
+
placeholder?: string;
|
40
|
+
avatarSize?: AvatarAllowedSizes;
|
41
|
+
noText?: string;
|
42
|
+
text?: string;
|
43
|
+
renderText?: JSX.Element;
|
44
|
+
onClick?: () => void;
|
45
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ItemProps } from '../types';
|
3
|
+
declare const Item: (props: ItemProps) => JSX.Element;
|
4
|
+
export declare const StyledItem: import("styled-components").StyledComponent<"div", any, {
|
5
|
+
active?: boolean | undefined;
|
6
|
+
isLabel?: boolean | undefined;
|
7
|
+
}, never>;
|
8
|
+
export default Item;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ShortcutText: import("styled-components").StyledComponent<"span", any, {}, never>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { UserListItemProps } from '../types';
|
3
|
+
export declare const UserListItem: (props: UserListItemProps) => JSX.Element;
|
4
|
+
export declare const UserListWrapper: import("styled-components").StyledComponent<"div", any, {
|
5
|
+
clickable: boolean;
|
6
|
+
}, never>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Component } from 'react';
|
2
|
+
import { DropdownImplProps } from './types';
|
3
|
+
import DropdownItem from './components/Item';
|
4
|
+
import DropdownTitle from './components/Title';
|
5
|
+
import DropdownSeparator from './components/Separator';
|
6
|
+
import { UserListItem } from './components/UserListItem';
|
7
|
+
export declare class DropdownV2 extends Component<DropdownImplProps, {}> {
|
8
|
+
static Item: typeof DropdownItem;
|
9
|
+
static Title: typeof DropdownTitle;
|
10
|
+
static Separator: typeof DropdownSeparator;
|
11
|
+
static UserListItem: typeof UserListItem;
|
12
|
+
render(): JSX.Element;
|
13
|
+
}
|
14
|
+
export default DropdownV2;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IconName, TypePropType } from '../common/Icon/typings';
|
3
|
+
import { AvatarAllowedSizes } from '../avatar/types';
|
4
|
+
export declare type TitleProps = {
|
5
|
+
text: string;
|
6
|
+
};
|
7
|
+
export declare type contentOption = {
|
8
|
+
id: number;
|
9
|
+
text: string;
|
10
|
+
icon?: IconName;
|
11
|
+
};
|
12
|
+
export declare type DropdownImplProps = {
|
13
|
+
className?: string;
|
14
|
+
title?: string;
|
15
|
+
renderTrigger?: () => void;
|
16
|
+
content?: contentOption[];
|
17
|
+
onSelectOption?: (id: number | string) => void;
|
18
|
+
renderContent?: (closeDropdown: () => void) => JSX.Element;
|
19
|
+
alignRight?: boolean;
|
20
|
+
fullWidth?: boolean;
|
21
|
+
};
|
22
|
+
export interface ItemProps {
|
23
|
+
text: string;
|
24
|
+
id?: number;
|
25
|
+
className?: string;
|
26
|
+
iconName?: IconName;
|
27
|
+
iconType?: TypePropType;
|
28
|
+
iconSwapOpacity?: boolean;
|
29
|
+
active?: boolean;
|
30
|
+
shortcut?: string;
|
31
|
+
onSelected?: (id: number | undefined) => void;
|
32
|
+
children?: React.ReactChild;
|
33
|
+
}
|
34
|
+
export interface UserListItemProps {
|
35
|
+
img?: string;
|
36
|
+
placeholder?: string;
|
37
|
+
avatarSize?: AvatarAllowedSizes;
|
38
|
+
noText?: string;
|
39
|
+
text?: string;
|
40
|
+
renderText?: JSX.Element;
|
41
|
+
onClick?: () => void;
|
42
|
+
}
|
43
|
+
export interface Dropdown {
|
44
|
+
Container: React.FC<DropdownImplProps>;
|
45
|
+
Item: React.FC<ItemProps>;
|
46
|
+
Separator: React.FC;
|
47
|
+
UserListItem: React.FC<UserListItemProps>;
|
48
|
+
Title: React.FC<TitleProps>;
|
49
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { IconProps } from '../../../icon';
|
2
2
|
import { statuses } from '../types';
|
3
|
-
declare const useIcon: (status: statuses, icon?: IconProps | null | undefined) => IconProps | null;
|
3
|
+
declare const useIcon: (status: statuses, icon?: IconProps | null | undefined) => IconProps | null | undefined;
|
4
4
|
export default useIcon;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { statuses } from '../types';
|
2
|
-
declare const useTexts: (status: statuses, customTexts?:
|
1
|
+
import { CustomTexts, FileUploaderTexts, statuses } from '../types';
|
2
|
+
declare const useTexts: (status: statuses, customTexts?: CustomTexts | undefined) => FileUploaderTexts;
|
3
3
|
export default useTexts;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare type TRadioButtonGroup = React.FC<{
|
3
|
+
options: Array<{
|
4
|
+
key: number;
|
5
|
+
label: string;
|
6
|
+
}>;
|
7
|
+
value: number;
|
8
|
+
onClick: (option: {
|
9
|
+
key: number;
|
10
|
+
label: string;
|
11
|
+
}) => void;
|
12
|
+
isDisabled?: boolean;
|
13
|
+
renderOption?: (props: {
|
14
|
+
isDisabled?: boolean;
|
15
|
+
isChecked: boolean;
|
16
|
+
label: string;
|
17
|
+
}) => JSX.Element;
|
18
|
+
optionsSpacing?: number;
|
19
|
+
style?: React.CSSProperties;
|
20
|
+
inline?: boolean;
|
21
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ItemsType } from '../types';
|
2
|
+
declare type TMasterElement = {
|
3
|
+
noResults?: boolean;
|
4
|
+
};
|
5
|
+
declare type TSingleElement = {
|
6
|
+
active?: boolean;
|
7
|
+
isDefault?: boolean;
|
8
|
+
onClick: (elem: ItemsType) => void;
|
9
|
+
};
|
10
|
+
export declare const StyledGroupedListWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
11
|
+
export declare const MasterElement: import("styled-components").StyledComponent<"div", any, TMasterElement, never>;
|
12
|
+
export declare const IconStyled: import("styled-components").StyledComponent<import("../../common/Icon/typings").IconType, any, {}, never>;
|
13
|
+
export declare const SingleElement: import("styled-components").StyledComponent<"div", any, TSingleElement, never>;
|
14
|
+
export declare const LeftSingleElement: import("styled-components").StyledComponent<"div", any, {}, never>;
|
15
|
+
export declare const RightSingleElement: import("styled-components").StyledComponent<"div", any, {}, never>;
|
16
|
+
export declare const NoResults: import("styled-components").StyledComponent<"span", any, {}, never>;
|
17
|
+
export {};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { InlineMessagesProps, StyledContentProps } from '../types';
|
3
2
|
export declare const StyledIconTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
4
3
|
export declare const StyledContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
@@ -0,0 +1,295 @@
|
|
1
|
+
export declare const colorSetter: (type: "standard" | "error" | "info" | "warning" | "success" | undefined, palette: {
|
2
|
+
colors: {
|
3
|
+
base: {
|
4
|
+
transparent: string;
|
5
|
+
gradientBlue: string;
|
6
|
+
};
|
7
|
+
black: {
|
8
|
+
8: string;
|
9
|
+
16: string;
|
10
|
+
48: string;
|
11
|
+
80: string;
|
12
|
+
100: string;
|
13
|
+
};
|
14
|
+
white: {
|
15
|
+
8: string;
|
16
|
+
16: string;
|
17
|
+
48: string;
|
18
|
+
80: string;
|
19
|
+
100: string;
|
20
|
+
};
|
21
|
+
grey: {
|
22
|
+
900: string;
|
23
|
+
800: string;
|
24
|
+
700: string;
|
25
|
+
600: string;
|
26
|
+
500: string;
|
27
|
+
400: string;
|
28
|
+
300: string;
|
29
|
+
200: string;
|
30
|
+
100: string;
|
31
|
+
50: string;
|
32
|
+
};
|
33
|
+
blue: {
|
34
|
+
900: string;
|
35
|
+
800: string;
|
36
|
+
700: string;
|
37
|
+
600: string;
|
38
|
+
500: string;
|
39
|
+
400: string;
|
40
|
+
300: string;
|
41
|
+
200: string;
|
42
|
+
100: string;
|
43
|
+
50: string;
|
44
|
+
};
|
45
|
+
indigo: {
|
46
|
+
900: string;
|
47
|
+
800: string;
|
48
|
+
700: string;
|
49
|
+
600: string;
|
50
|
+
500: string;
|
51
|
+
400: string;
|
52
|
+
300: string;
|
53
|
+
200: string;
|
54
|
+
100: string;
|
55
|
+
50: string;
|
56
|
+
};
|
57
|
+
yellow: {
|
58
|
+
900: string;
|
59
|
+
800: string;
|
60
|
+
700: string;
|
61
|
+
600: string;
|
62
|
+
500: string;
|
63
|
+
400: string;
|
64
|
+
300: string;
|
65
|
+
200: string;
|
66
|
+
100: string;
|
67
|
+
50: string;
|
68
|
+
};
|
69
|
+
orange: {
|
70
|
+
900: string;
|
71
|
+
800: string;
|
72
|
+
700: string;
|
73
|
+
600: string;
|
74
|
+
500: string;
|
75
|
+
400: string;
|
76
|
+
300: string;
|
77
|
+
200: string;
|
78
|
+
100: string;
|
79
|
+
50: string;
|
80
|
+
};
|
81
|
+
red: {
|
82
|
+
900: string;
|
83
|
+
800: string;
|
84
|
+
700: string;
|
85
|
+
600: string;
|
86
|
+
500: string;
|
87
|
+
400: string;
|
88
|
+
300: string;
|
89
|
+
200: string;
|
90
|
+
100: string;
|
91
|
+
50: string;
|
92
|
+
};
|
93
|
+
green: {
|
94
|
+
900: string;
|
95
|
+
800: string;
|
96
|
+
700: string;
|
97
|
+
600: string;
|
98
|
+
500: string;
|
99
|
+
400: string;
|
100
|
+
300: string;
|
101
|
+
200: string;
|
102
|
+
100: string;
|
103
|
+
50: string;
|
104
|
+
};
|
105
|
+
fucsia: {
|
106
|
+
900: string;
|
107
|
+
800: string;
|
108
|
+
700: string;
|
109
|
+
600: string;
|
110
|
+
500: string;
|
111
|
+
400: string;
|
112
|
+
300: string;
|
113
|
+
200: string;
|
114
|
+
100: string;
|
115
|
+
50: string;
|
116
|
+
};
|
117
|
+
pink: {
|
118
|
+
900: string;
|
119
|
+
800: string;
|
120
|
+
700: string;
|
121
|
+
600: string;
|
122
|
+
500: string;
|
123
|
+
400: string;
|
124
|
+
300: string;
|
125
|
+
200: string;
|
126
|
+
100: string;
|
127
|
+
50: string;
|
128
|
+
};
|
129
|
+
cyan: {
|
130
|
+
900: string;
|
131
|
+
800: string;
|
132
|
+
700: string;
|
133
|
+
600: string;
|
134
|
+
500: string;
|
135
|
+
400: string;
|
136
|
+
300: string;
|
137
|
+
200: string;
|
138
|
+
100: string;
|
139
|
+
50: string;
|
140
|
+
};
|
141
|
+
primary: {
|
142
|
+
900: string;
|
143
|
+
800: string;
|
144
|
+
700: string;
|
145
|
+
600: string;
|
146
|
+
500: string;
|
147
|
+
400: string;
|
148
|
+
300: string;
|
149
|
+
200: string;
|
150
|
+
100: string;
|
151
|
+
50: string;
|
152
|
+
};
|
153
|
+
};
|
154
|
+
form: {
|
155
|
+
field: {
|
156
|
+
label: string;
|
157
|
+
validationMessage: string;
|
158
|
+
description: string;
|
159
|
+
};
|
160
|
+
};
|
161
|
+
button: {
|
162
|
+
primary: {
|
163
|
+
blue: {
|
164
|
+
normal: string;
|
165
|
+
hover: string;
|
166
|
+
active: string;
|
167
|
+
disabled: string;
|
168
|
+
text: string;
|
169
|
+
textHover: string;
|
170
|
+
};
|
171
|
+
red: {
|
172
|
+
normal: string;
|
173
|
+
hover: string;
|
174
|
+
active: string;
|
175
|
+
disabled: string;
|
176
|
+
text: string;
|
177
|
+
textHover: string;
|
178
|
+
};
|
179
|
+
green: {
|
180
|
+
normal: string;
|
181
|
+
hover: string;
|
182
|
+
active: string;
|
183
|
+
disabled: string;
|
184
|
+
text: string;
|
185
|
+
textHover: string;
|
186
|
+
};
|
187
|
+
white: {
|
188
|
+
normal: string;
|
189
|
+
hover: string;
|
190
|
+
active: string;
|
191
|
+
disabled: string;
|
192
|
+
text: string;
|
193
|
+
textHover: string;
|
194
|
+
};
|
195
|
+
yellow: {
|
196
|
+
normal: string;
|
197
|
+
hover: string;
|
198
|
+
active: string;
|
199
|
+
disabled: string;
|
200
|
+
text: string;
|
201
|
+
textHover: string;
|
202
|
+
};
|
203
|
+
};
|
204
|
+
secondary: {
|
205
|
+
blue: {
|
206
|
+
normal: string;
|
207
|
+
hover: string;
|
208
|
+
active: string;
|
209
|
+
disabled: string;
|
210
|
+
text: string;
|
211
|
+
textHover: string;
|
212
|
+
};
|
213
|
+
red: {
|
214
|
+
normal: string;
|
215
|
+
hover: string;
|
216
|
+
active: string;
|
217
|
+
disabled: string;
|
218
|
+
text: string;
|
219
|
+
textHover: string;
|
220
|
+
};
|
221
|
+
green: {
|
222
|
+
normal: string;
|
223
|
+
hover: string;
|
224
|
+
active: string;
|
225
|
+
disabled: string;
|
226
|
+
text: string;
|
227
|
+
textHover: string;
|
228
|
+
};
|
229
|
+
yellow: {
|
230
|
+
normal: string;
|
231
|
+
hover: string;
|
232
|
+
active: string;
|
233
|
+
disabled: string;
|
234
|
+
text: string;
|
235
|
+
textHover: string;
|
236
|
+
};
|
237
|
+
white: {
|
238
|
+
normal: string;
|
239
|
+
hover: string;
|
240
|
+
active: string;
|
241
|
+
disabled: string;
|
242
|
+
text: string;
|
243
|
+
textHover: string;
|
244
|
+
};
|
245
|
+
};
|
246
|
+
};
|
247
|
+
iconButton: {
|
248
|
+
primary: {
|
249
|
+
blue: {
|
250
|
+
icon: string;
|
251
|
+
iconHover: string;
|
252
|
+
};
|
253
|
+
red: {
|
254
|
+
icon: string;
|
255
|
+
iconHover: string;
|
256
|
+
};
|
257
|
+
green: {
|
258
|
+
icon: string;
|
259
|
+
iconHover: string;
|
260
|
+
};
|
261
|
+
yellow: {
|
262
|
+
icon: string;
|
263
|
+
iconHover: string;
|
264
|
+
};
|
265
|
+
};
|
266
|
+
secondary: {
|
267
|
+
blue: {
|
268
|
+
icon: string;
|
269
|
+
iconHover: string;
|
270
|
+
};
|
271
|
+
red: {
|
272
|
+
icon: string;
|
273
|
+
iconHover: string;
|
274
|
+
};
|
275
|
+
green: {
|
276
|
+
icon: string;
|
277
|
+
iconHover: string;
|
278
|
+
};
|
279
|
+
yellow: {
|
280
|
+
icon: string;
|
281
|
+
iconHover: string;
|
282
|
+
};
|
283
|
+
};
|
284
|
+
};
|
285
|
+
text: {
|
286
|
+
gray: string;
|
287
|
+
};
|
288
|
+
link: {
|
289
|
+
normal: string;
|
290
|
+
hover: string;
|
291
|
+
gray: string;
|
292
|
+
};
|
293
|
+
defaultButton: string;
|
294
|
+
}) => import("styled-components").FlattenSimpleInterpolation;
|
295
|
+
export declare const spacingSetter: (size?: "medium" | "large" | undefined) => import("styled-components").FlattenSimpleInterpolation;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { EInputSize } from '../typings/enums';
|
2
|
+
interface IconProps {
|
3
|
+
size?: EInputSize;
|
4
|
+
hasAction: boolean;
|
5
|
+
}
|
6
|
+
export declare const IconLeft: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IconProps, never>;
|
7
|
+
export declare const IconRight: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IconProps, never>;
|
8
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const InputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export declare const ErrorMessage: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
2
|
+
export declare const DescriptionMessage: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const WrapperTextArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { IconProps } from '../icon';
|
2
|
+
export declare const LefIcon: import("styled-components").StyledComponent<typeof import("@fortawesome/react-fontawesome").FontAwesomeIcon, import("styled-components").DefaultTheme, import("../icon/iconPalette").IconColorPalette & IconProps & {
|
3
|
+
isDisabled?: boolean | undefined;
|
4
|
+
}, "primary" | "secondary">;
|
5
|
+
export declare const RightIcon: import("styled-components").StyledComponent<typeof import("@fortawesome/react-fontawesome").FontAwesomeIcon, import("styled-components").DefaultTheme, import("../icon/iconPalette").IconColorPalette & IconProps & {
|
6
|
+
isDisabled?: boolean | undefined;
|
7
|
+
} & {
|
8
|
+
isValid?: boolean | undefined;
|
9
|
+
}, "primary" | "secondary">;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const LeftText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
2
|
+
size?: "small" | "large" | "medium" | undefined;
|
3
|
+
}, never>;
|
4
|
+
export declare const RightText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
5
|
+
size?: "small" | "large" | "medium" | undefined;
|
6
|
+
}, never>;
|