widenarrow-ui 1.0.2 → 1.0.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/.eslintrc +72 -5
- package/.storybook/{main.js → main.ts} +9 -7
- package/lib/components/Box/Box.d.ts +4 -27
- package/lib/components/Box/Box.stories.d.ts +1 -1
- package/lib/components/Box/Box.types.d.ts +25 -0
- package/lib/components/Box/index.d.ts +1 -1
- package/lib/components/Button/Button.d.ts +4 -25
- package/lib/components/Button/Button.stories.d.ts +1 -1
- package/lib/components/Button/Button.types.d.ts +23 -0
- package/lib/components/Button/index.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +4 -18
- package/lib/components/Checkbox/Checkbox.stories.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.types.d.ts +16 -0
- package/lib/components/Checkbox/index.d.ts +1 -1
- package/lib/components/DropDown/DropDown.d.ts +4 -27
- package/lib/components/DropDown/DropDown.stories.d.ts +1 -1
- package/lib/components/DropDown/DropDown.types.d.ts +26 -0
- package/lib/components/DropDown/index.d.ts +1 -1
- package/lib/components/DropDownItem/DropDownItem.d.ts +4 -21
- package/lib/components/DropDownItem/DropDownItem.stories.d.ts +1 -1
- package/lib/components/DropDownItem/DropDownItem.types.d.ts +19 -0
- package/lib/components/DropDownItem/index.d.ts +1 -1
- package/lib/components/FacetButton/FacetButton.d.ts +4 -17
- package/lib/components/FacetButton/FacetButton.stories.d.ts +1 -1
- package/lib/components/FacetButton/FacetButton.types.d.ts +15 -0
- package/lib/components/FacetButton/index.d.ts +1 -1
- package/lib/components/FormSkeleton/FormSkeleton.d.ts +3 -10
- package/lib/components/FormSkeleton/FormSkeleton.types.d.ts +8 -0
- package/lib/components/FormSkeleton/index.d.ts +1 -1
- package/lib/components/Grid/Grid.d.ts +4 -49
- package/lib/components/Grid/Grid.stories.d.ts +1 -1
- package/lib/components/Grid/Grid.types.d.ts +51 -0
- package/lib/components/Grid/index.d.ts +1 -1
- package/lib/components/Icon/Icon.d.ts +3 -12
- package/lib/components/Icon/Icon.stories.d.ts +1 -1
- package/lib/components/Icon/Icon.types.d.ts +10 -0
- package/lib/components/Icon/getIconFromConstant.d.ts +2 -1
- package/lib/components/Icon/index.d.ts +1 -1
- package/lib/components/IconButton/IconButton.d.ts +4 -19
- package/lib/components/IconButton/IconButton.stories.d.ts +1 -1
- package/lib/components/IconButton/IconButton.types.d.ts +17 -0
- package/lib/components/IconButton/index.d.ts +1 -1
- package/lib/components/Image/Image.d.ts +4 -19
- package/lib/components/Image/Image.stories.d.ts +1 -1
- package/lib/components/Image/Image.types.d.ts +18 -0
- package/lib/components/Image/index.d.ts +1 -1
- package/lib/components/InlineButton/InlineButton.d.ts +4 -21
- package/lib/components/InlineButton/InlineButton.stories.d.ts +1 -1
- package/lib/components/InlineButton/InlineButton.types.d.ts +19 -0
- package/lib/components/InlineButton/index.d.ts +1 -1
- package/lib/components/ListItem/ListItem.d.ts +4 -23
- package/lib/components/ListItem/ListItem.stories.d.ts +1 -1
- package/lib/components/ListItem/ListItem.types.d.ts +24 -0
- package/lib/components/ListItem/index.d.ts +1 -1
- package/lib/components/ListSkeleton/ListSkeleton.d.ts +3 -21
- package/lib/components/ListSkeleton/ListSkeleton.stories.d.ts +1 -1
- package/lib/components/ListSkeleton/ListSkeleton.types.d.ts +19 -0
- package/lib/components/ListSkeleton/index.d.ts +1 -1
- package/lib/components/MultiActionButton/MultiActionButton.d.ts +4 -28
- package/lib/components/MultiActionButton/MultiActionButton.stories.d.ts +1 -1
- package/lib/components/MultiActionButton/MultiActionButton.types.d.ts +26 -0
- package/lib/components/MultiActionButton/index.d.ts +1 -1
- package/lib/components/RadioButton/RadioButton.d.ts +3 -14
- package/lib/components/RadioButton/RadioButton.stories.d.ts +1 -1
- package/lib/components/RadioButton/RadioButton.types.d.ts +12 -0
- package/lib/components/RadioButton/index.d.ts +1 -1
- package/lib/components/Separator/Separator.d.ts +3 -12
- package/lib/components/Separator/Separator.stories.d.ts +1 -1
- package/lib/components/Separator/Separator.types.d.ts +7 -0
- package/lib/components/Separator/index.d.ts +1 -1
- package/lib/components/SolidSpinner/SolidSpinner.d.ts +3 -12
- package/lib/components/SolidSpinner/SolidSpinner.stories.d.ts +1 -1
- package/lib/components/SolidSpinner/SolidSpinner.types.d.ts +10 -0
- package/lib/components/SolidSpinner/index.d.ts +1 -1
- package/lib/components/SortableTable/SortableTable.d.ts +4 -30
- package/lib/components/SortableTable/SortableTable.stories.d.ts +1 -1
- package/lib/components/SortableTable/SortableTable.types.d.ts +37 -0
- package/lib/components/SortableTable/index.d.ts +1 -1
- package/lib/components/SwitchButton/SwitchButton.d.ts +3 -13
- package/lib/components/SwitchButton/SwitchButton.stories.d.ts +1 -1
- package/lib/components/SwitchButton/SwitchButton.types.d.ts +11 -0
- package/lib/components/SwitchButton/index.d.ts +1 -1
- package/lib/components/ToolTip/ToolTip.d.ts +7 -24
- package/lib/components/ToolTip/ToolTip.types.d.ts +15 -0
- package/lib/components/ToolTip/index.d.ts +1 -1
- package/lib/components/Typography/Typography.d.ts +7 -60
- package/lib/components/Typography/Typography.types.d.ts +37 -0
- package/lib/components/Typography/index.d.ts +1 -2
- package/lib/components/index.d.ts +19 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +733 -23
- package/lib/index.esm.css +1 -1
- package/lib/index.esm.js +638 -741
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +649 -755
- package/lib/index.js.map +1 -1
- package/lib/utils.d.ts +17 -10
- package/package.json +24 -15
- package/rollup.config.mjs +3 -1
- package/src/assets/svg/askWideNarrow.tsx +1 -1
- package/src/assets/svg/textReplace.tsx +1 -1
- package/src/components/Box/Box.stories.tsx +4 -4
- package/src/components/Box/Box.tsx +4 -29
- package/src/components/Box/Box.types.ts +26 -0
- package/src/components/Box/index.ts +1 -0
- package/src/components/Button/Button.stories.tsx +1 -1
- package/src/components/Button/Button.tsx +16 -40
- package/src/components/Button/Button.types.ts +24 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +7 -7
- package/src/components/Checkbox/Checkbox.tsx +5 -20
- package/src/components/Checkbox/Checkbox.types.ts +17 -0
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/DropDown/DropDown.stories.tsx +3 -3
- package/src/components/DropDown/DropDown.tsx +13 -31
- package/src/components/DropDown/DropDown.types.ts +26 -0
- package/src/components/DropDown/index.ts +1 -0
- package/src/components/DropDownItem/DropDownItem.stories.tsx +1 -1
- package/src/components/DropDownItem/DropDownItem.tsx +11 -31
- package/src/components/DropDownItem/DropDownItem.types.ts +20 -0
- package/src/components/DropDownItem/index.ts +1 -0
- package/src/components/FacetButton/FacetButton.stories.tsx +1 -1
- package/src/components/FacetButton/FacetButton.tsx +7 -25
- package/src/components/FacetButton/FacetButton.types.ts +16 -0
- package/src/components/FacetButton/index.ts +1 -0
- package/src/components/FormSkeleton/FormSkeleton.tsx +4 -13
- package/src/components/FormSkeleton/FormSkeleton.types.ts +9 -0
- package/src/components/FormSkeleton/index.ts +1 -0
- package/src/components/Grid/Grid.stories.tsx +6 -5
- package/src/components/Grid/Grid.tsx +4 -56
- package/src/components/Grid/Grid.types.ts +53 -0
- package/src/components/Grid/index.ts +1 -0
- package/src/components/Icon/Icon.stories.tsx +1 -1
- package/src/components/Icon/Icon.tsx +9 -24
- package/src/components/Icon/Icon.types.ts +11 -0
- package/src/components/Icon/Iconography.mdx +0 -1
- package/src/components/Icon/Iconography.tsx +1 -1
- package/src/components/Icon/getIconFromConstant.tsx +1 -1
- package/src/components/Icon/index.ts +1 -0
- package/src/components/IconButton/IconButton.stories.tsx +1 -1
- package/src/components/IconButton/IconButton.tsx +70 -84
- package/src/components/IconButton/IconButton.types.ts +19 -0
- package/src/components/IconButton/index.ts +1 -0
- package/src/components/Image/Image.stories.tsx +1 -1
- package/src/components/Image/Image.tsx +6 -23
- package/src/components/Image/Image.types.ts +19 -0
- package/src/components/Image/index.ts +1 -0
- package/src/components/InlineButton/InlineButton.stories.tsx +1 -1
- package/src/components/InlineButton/InlineButton.tsx +70 -85
- package/src/components/InlineButton/InlineButton.types.ts +20 -0
- package/src/components/InlineButton/index.ts +1 -0
- package/src/components/ListItem/ListItem.stories.tsx +4 -4
- package/src/components/ListItem/ListItem.tsx +13 -33
- package/src/components/ListItem/ListItem.types.ts +25 -0
- package/src/components/ListItem/index.ts +1 -0
- package/src/components/ListSkeleton/ListSkeleton.stories.tsx +1 -1
- package/src/components/ListSkeleton/ListSkeleton.tsx +3 -21
- package/src/components/ListSkeleton/ListSkeleton.types.ts +20 -0
- package/src/components/ListSkeleton/index.ts +1 -0
- package/src/components/MultiActionButton/MultiActionButton.stories.tsx +1 -1
- package/src/components/MultiActionButton/MultiActionButton.tsx +20 -47
- package/src/components/MultiActionButton/MultiActionButton.types.ts +27 -0
- package/src/components/MultiActionButton/index.ts +1 -0
- package/src/components/RadioButton/RadioButton.stories.tsx +1 -1
- package/src/components/RadioButton/RadioButton.tsx +4 -16
- package/src/components/RadioButton/RadioButton.types.ts +12 -0
- package/src/components/RadioButton/index.ts +1 -0
- package/src/components/Separator/Separator.stories.tsx +1 -1
- package/src/components/Separator/Separator.tsx +3 -13
- package/src/components/Separator/Separator.types.ts +8 -0
- package/src/components/Separator/index.ts +1 -0
- package/src/components/SolidSpinner/SolidSpinner.stories.tsx +1 -1
- package/src/components/SolidSpinner/SolidSpinner.tsx +11 -12
- package/src/components/SolidSpinner/SolidSpinner.types.ts +11 -0
- package/src/components/SolidSpinner/index.ts +1 -0
- package/src/components/SortableTable/SortableTable.stories.tsx +2 -2
- package/src/components/SortableTable/SortableTable.tsx +31 -54
- package/src/components/SortableTable/SortableTable.types.ts +40 -0
- package/src/components/SortableTable/index.ts +1 -0
- package/src/components/SwitchButton/SwitchButton.stories.tsx +1 -1
- package/src/components/SwitchButton/SwitchButton.tsx +3 -14
- package/src/components/SwitchButton/SwitchButton.types.ts +11 -0
- package/src/components/SwitchButton/index.ts +1 -0
- package/src/components/ToolTip/ToolTip.tsx +12 -33
- package/src/components/ToolTip/ToolTip.types.ts +16 -0
- package/src/components/ToolTip/index.ts +1 -0
- package/src/components/Typography/Typography.tsx +10 -78
- package/src/components/Typography/Typography.types.ts +45 -0
- package/src/components/Typography/index.ts +1 -0
- package/src/components/index.ts +19 -0
- package/src/index.ts +3 -60
- package/src/types/{styling.ts → styling.types.ts} +0 -2
- package/src/utils.ts +26 -21
- package/tsconfig.json +3 -1
- package/src/components/Box/index.tsx +0 -1
- package/src/components/Button/index.tsx +0 -1
- package/src/components/Checkbox/index.tsx +0 -1
- package/src/components/DropDown/index.tsx +0 -1
- package/src/components/DropDownItem/index.tsx +0 -1
- package/src/components/FacetButton/index.tsx +0 -1
- package/src/components/FormSkeleton/index.tsx +0 -1
- package/src/components/Grid/index.tsx +0 -1
- package/src/components/Icon/index.tsx +0 -1
- package/src/components/IconButton/index.tsx +0 -1
- package/src/components/Image/index.tsx +0 -1
- package/src/components/InlineButton/index.tsx +0 -1
- package/src/components/ListItem/index.tsx +0 -1
- package/src/components/ListSkeleton/index.tsx +0 -1
- package/src/components/MultiActionButton/index.tsx +0 -1
- package/src/components/RadioButton/index.tsx +0 -1
- package/src/components/Separator/index.tsx +0 -1
- package/src/components/SolidSpinner/index.tsx +0 -1
- package/src/components/SortableTable/index.tsx +0 -1
- package/src/components/SwitchButton/index.tsx +0 -1
- package/src/components/ToolTip/index.tsx +0 -1
- package/src/components/Typography/index.tsx +0 -2
- /package/lib/types/{styling.d.ts → styling.types.d.ts} +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -1,23 +1,733 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { CSSProperties, MouseEvent, ReactNode, FC, ChangeEvent } from 'react';
|
|
3
|
+
import { HierarchyTypes as HierarchyTypes$1, ColorTypes as ColorTypes$1, SizeTypes as SizeTypes$1, IconTypes as IconTypes$1 } from 'src/constants';
|
|
4
|
+
import { Placement, PositioningStrategy } from '@popperjs/core';
|
|
5
|
+
|
|
6
|
+
type baseSizes = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
|
|
7
|
+
type baseSizesExtended = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '025' | '05' | '15' | '25' | 'auto';
|
|
8
|
+
interface MarginInterface {
|
|
9
|
+
margin?: baseSizes;
|
|
10
|
+
marginX?: baseSizes;
|
|
11
|
+
marginY?: baseSizes;
|
|
12
|
+
marginTop?: baseSizesExtended;
|
|
13
|
+
marginBottom?: baseSizesExtended;
|
|
14
|
+
marginRight?: baseSizesExtended;
|
|
15
|
+
marginLeft?: baseSizesExtended;
|
|
16
|
+
}
|
|
17
|
+
interface PaddingInterface {
|
|
18
|
+
padding?: baseSizesExtended;
|
|
19
|
+
paddingX?: baseSizes;
|
|
20
|
+
paddingY?: baseSizes;
|
|
21
|
+
paddingTop?: baseSizesExtended;
|
|
22
|
+
paddingBottom?: baseSizesExtended;
|
|
23
|
+
paddingRight?: baseSizesExtended;
|
|
24
|
+
paddingLeft?: baseSizesExtended;
|
|
25
|
+
}
|
|
26
|
+
interface FlexStylingInterface {
|
|
27
|
+
alignItems?: 'center' | 'flexStart' | 'flexEnd' | 'spaceAround' | 'spaceBetween';
|
|
28
|
+
alignSelf?: 'center' | 'flexStart' | 'flexEnd';
|
|
29
|
+
displayFlex?: boolean;
|
|
30
|
+
displayFlexCenter?: boolean;
|
|
31
|
+
displayFlexCenterSpaceBetween?: boolean;
|
|
32
|
+
flexDirection?: 'row' | 'rowReverse' | 'column' | 'columnReverse';
|
|
33
|
+
flexGrow?: '0' | '1' | 'auto';
|
|
34
|
+
flexWrap?: 'wrap' | 'noWrap' | 'wrapReverse';
|
|
35
|
+
justifyContent?: 'center' | 'flexStart' | 'flexEnd' | 'spaceAround' | 'spaceBetween';
|
|
36
|
+
}
|
|
37
|
+
interface HierarchyInterface {
|
|
38
|
+
type: Partial<HierarchyTypes$1>;
|
|
39
|
+
}
|
|
40
|
+
interface ColorStyleInterface {
|
|
41
|
+
color?: Partial<ColorTypes$1>;
|
|
42
|
+
}
|
|
43
|
+
interface SizeStyleInterface {
|
|
44
|
+
size?: Partial<SizeTypes$1>;
|
|
45
|
+
}
|
|
46
|
+
interface IconStyleInterface {
|
|
47
|
+
icon?: Partial<IconTypes$1>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare enum IconTypes {
|
|
51
|
+
ACCOUNT_SETTINGS = "iconAccountSettings",
|
|
52
|
+
AUTOMATION = "iconAutomation",
|
|
53
|
+
ADD_CHART = "iconAddChart",
|
|
54
|
+
ADD_FILLED = "iconAddFilled",
|
|
55
|
+
ADD_FOLDER = "iconAddFolder",
|
|
56
|
+
ADD_PAGE_BREAK = "iconAddPageBreak",
|
|
57
|
+
ADD_POST = "iconAddPost",
|
|
58
|
+
ADD_SECTION_ABOVE = "iconAddSectionAbove",
|
|
59
|
+
ADD_SECTION_BELOW = "iconAddSectionBelow",
|
|
60
|
+
ADD_SECTION_LEFT = "iconAddSectionLeft",
|
|
61
|
+
ADD_SECTION_RIGHT = "iconAddSectionRight",
|
|
62
|
+
AI = "iconAi",
|
|
63
|
+
ARROW_DOWN = "iconArrowDown",
|
|
64
|
+
ARROW_FIRST_PAGE = "iconArrowFirstPage",
|
|
65
|
+
ARROW_FORK_RIGHT = "iconArrowForkRight",
|
|
66
|
+
ARROW_LAST_PAGE = "iconArrowLastPage",
|
|
67
|
+
ARROW_LEFT = "iconArrowLeft",
|
|
68
|
+
ASK_WIDE_NARROW = "iconAskWideNarrow",
|
|
69
|
+
ARROW_RIGHT = "iconArrowRight",
|
|
70
|
+
ARROW_UP = "iconArrowUp",
|
|
71
|
+
ATTACHMENT = "iconAttachment",
|
|
72
|
+
BANNER = "iconBanner",
|
|
73
|
+
BENCHMARKS = "iconBenchMarks",
|
|
74
|
+
BLOCK = "iconBlock",
|
|
75
|
+
CANCEL_TRIAL = "iconCancelTrial",
|
|
76
|
+
CARD_MODE = "iconCardMode",
|
|
77
|
+
CHANGE_ORDER = "iconChangeOrder",
|
|
78
|
+
CHECK = "iconCheck",
|
|
79
|
+
CHECK_CIRCLE_EXTRA_SMALL = "iconCheckCircleExtraSmall",
|
|
80
|
+
CHECK_CIRCLE_LARGE = "iconCheckCircleLarge",
|
|
81
|
+
CHECK_CIRCLE_SMALL = "iconCheckCircleSmall",
|
|
82
|
+
CHECK_INDETERMINATE = "iconCheckIndeterminate",
|
|
83
|
+
CHEVRON_DOWN = "iconChevronDown",
|
|
84
|
+
CHEVRON_LEFT = "iconChevronLeft",
|
|
85
|
+
CHEVRON_RIGHT = "iconChevronRight",
|
|
86
|
+
CHEVRON_UP = "iconChevronUp",
|
|
87
|
+
CLASSIFICATION = "iconClassification",
|
|
88
|
+
CLIP_BOARD = "iconClipBoard",
|
|
89
|
+
CLUSTER = "iconCluster",
|
|
90
|
+
COG_WHEEL = "iconCogWheel",
|
|
91
|
+
COMMENT = "iconComment",
|
|
92
|
+
COMPARE = "iconCompare",
|
|
93
|
+
COPY = "iconCopy",
|
|
94
|
+
CREATE_NEWSLETTER = "iconCreateNewsletter",
|
|
95
|
+
CROSS = "iconCross",
|
|
96
|
+
CROSS_CIRCLE_EXTRA_SMALL = "iconCrossCircleExtraSmall",
|
|
97
|
+
CROSS_CIRCLE_LARGE = "iconCrossCircleLarge",
|
|
98
|
+
CROSS_CIRCLE_SMALL = "iconCrossCircleSmall",
|
|
99
|
+
CROSS_CIRCLE_SMALL_FILLED = "iconCrossCircleSmallFilled",
|
|
100
|
+
DASHBOARD = "iconDashboard",
|
|
101
|
+
DATE_RANGE = "iconDateRange",
|
|
102
|
+
DESCRIPTION = "iconDescription",
|
|
103
|
+
DESKTOP = "iconDesktop",
|
|
104
|
+
DOTS = "iconDots",
|
|
105
|
+
DOTS_BACKGROUND = "iconDotsBackground",
|
|
106
|
+
DOT_FILLED = "iconDotFilled",
|
|
107
|
+
DOT_OUTLINED = "iconDotOutlined",
|
|
108
|
+
DOWN = "iconDown",
|
|
109
|
+
DOWNLOAD = "iconDownload",
|
|
110
|
+
DUPLICATE = "iconDuplicate",
|
|
111
|
+
EDIT = "iconEdit",
|
|
112
|
+
EMBED = "iconEmbed",
|
|
113
|
+
ERROR = "iconError",
|
|
114
|
+
EXIT_TO_APP = "iconExitToApp",
|
|
115
|
+
EXPAND = "iconExpand",
|
|
116
|
+
EXPAND_ARROWS = "iconExpandArrows",
|
|
117
|
+
ETHERNET = "iconEthernet",
|
|
118
|
+
FEED = "iconFeed",
|
|
119
|
+
FILTER = "iconFilter",
|
|
120
|
+
FILTER_SETTINGS = "iconFilterSettings",
|
|
121
|
+
FOLDER = "iconFolder",
|
|
122
|
+
FOLDER_FILLED = "iconFolderFilled",
|
|
123
|
+
FORMAT_FONT_SIZE = "iconFormatFontSize",
|
|
124
|
+
FORMAT_IMAGE_BOTTOM = "iconFormatImgBottom",
|
|
125
|
+
FORMAT_IMAGE_CENTER_CENTER = "iconFormatImgCenterCenter",
|
|
126
|
+
FORMAT_IMAGE_CROP = "iconFormatImgCrop",
|
|
127
|
+
FORMAT_IMAGE_HERO = "iconFormatHerot",
|
|
128
|
+
FORMAT_IMAGE_LEFT = "iconFormatImgLeft",
|
|
129
|
+
FORMAT_IMAGE_LEFT_BOTTOM = "iconFormatImgLeftBottom",
|
|
130
|
+
FORMAT_IMAGE_LEFT_CENTER = "iconFormatImgLeftCenter",
|
|
131
|
+
FORMAT_IMAGE_RIGHT = "iconFormatImgRight",
|
|
132
|
+
FORMAT_IMAGE_RIGHT_BOTTOM = "iconFormatImgRightBottom",
|
|
133
|
+
FORMAT_IMAGE_RIGHT_CENTER = "iconFormatImgRightCenter",
|
|
134
|
+
FORMAT_IMAGE_TOP = "iconFormatImgTop",
|
|
135
|
+
FORMAT_TEXT_ALIGN_CENTER = "iconFormatTextAlignCenter",
|
|
136
|
+
FORMAT_TEXT_ALIGN_LEFT = "iconFormatTextAlignLeft",
|
|
137
|
+
FORMAT_TEXT_ALIGN_RIGHT = "iconFormatTextAlignRight",
|
|
138
|
+
FORMAT_CODE = "iconFormatCode",
|
|
139
|
+
GRID_MODE = "iconGridMode",
|
|
140
|
+
HANDLEBAR = "iconHandleBar",
|
|
141
|
+
HELP = "iconHelp",
|
|
142
|
+
HISTORY = "iconHistory",
|
|
143
|
+
INBOX = "iconInbox",
|
|
144
|
+
INFO = "iconInfo",
|
|
145
|
+
KEYWORDS = "iconKeywords",
|
|
146
|
+
LIGHT_BULB = "iconLightBulb",
|
|
147
|
+
LIKE = "iconLike",
|
|
148
|
+
LIKE_FILLED = "iconLikeFilled",
|
|
149
|
+
LINK = "iconLink",
|
|
150
|
+
LIST_MODE = "iconListMode",
|
|
151
|
+
LOCK = "iconLock",
|
|
152
|
+
MAIL = "iconMail",
|
|
153
|
+
MASONRY = "iconMasonry",
|
|
154
|
+
MENU = "iconMenu",
|
|
155
|
+
MINIMIZE_ARROWS = "iconMinimizeArrows",
|
|
156
|
+
MINUS = "iconMinus",
|
|
157
|
+
MONITORING_LOGO = "iconMonitoringLogo",
|
|
158
|
+
MOVIE = "iconMovie",
|
|
159
|
+
NAVIGATE_DOWN_LARGE = "iconNavigateDownLarge",
|
|
160
|
+
NAVIGATE_LEFT_LARGE = "iconNavigateLeftLarge",
|
|
161
|
+
NAVIGATE_RIGHT_LARGE = "iconNavigateRightLarge",
|
|
162
|
+
NEWS = "iconNews",
|
|
163
|
+
NEWSLETTER_CLOSED = "iconNewsLetterClosed",
|
|
164
|
+
NEWSLETTER_OPENED = "iconNewsLetterOpened",
|
|
165
|
+
NEWSLETTER_SENDER = "iconNewsLetterSender",
|
|
166
|
+
NEWSLETTER_TEMPLATE = "iconNewsLetterTemplate",
|
|
167
|
+
NOTIFICATION = "iconNotification",
|
|
168
|
+
NOTIFICATION_ACTIVE = "iconNotificationActive",
|
|
169
|
+
NOTIFICATION_SETTINGS = "iconNotificationSettings",
|
|
170
|
+
NOTIFICATION_OFF = "iconNotificationOff",
|
|
171
|
+
NO_CHANGE = "iconNoChange",
|
|
172
|
+
NO_DIRECTION = "iconNoDirection",
|
|
173
|
+
OPEN_IN_NEW = "iconOpenInNew",
|
|
174
|
+
PALETTE = "iconPalette",
|
|
175
|
+
PAUSE = "iconPause",
|
|
176
|
+
PAUSE_CIRCLE = "iconPauseCircle",
|
|
177
|
+
PDF = "iconPdf",
|
|
178
|
+
PHONE = "iconPhone",
|
|
179
|
+
PHOTO = "iconPhoto",
|
|
180
|
+
PHOTOS = "iconPhotos",
|
|
181
|
+
PIN = "iconPin",
|
|
182
|
+
PLAY = "iconPlay",
|
|
183
|
+
PLAY_CIRCLE = "iconPlayCircle",
|
|
184
|
+
PLAY_FLIPPED = "iconPlayFlipped",
|
|
185
|
+
PLUS = "iconPlus",
|
|
186
|
+
PORTALS = "iconPortals",
|
|
187
|
+
PPT = "iconPpt",
|
|
188
|
+
PRESENT = "iconPresent",
|
|
189
|
+
PREVIEW = "iconPreview",
|
|
190
|
+
PREVIEW_OFF = "iconPreviewOff",
|
|
191
|
+
PURCHASE_INBOX = "iconPurchaseInbox",
|
|
192
|
+
RECURRING = "iconRecurring",
|
|
193
|
+
RENEW = "iconRenew",
|
|
194
|
+
REPORT = "iconReport",
|
|
195
|
+
REPORT_LIBRARY = "iconReportLibrary",
|
|
196
|
+
RESET = "iconReset",
|
|
197
|
+
ROBOT = "iconRobot",
|
|
198
|
+
RSS = "iconRss",
|
|
199
|
+
SCHEDULE = "iconSchedule",
|
|
200
|
+
SEARCH = "iconSearch",
|
|
201
|
+
SEARCH_USER = "iconSearchUser",
|
|
202
|
+
SEND = "iconSend",
|
|
203
|
+
SEND_LIST = "iconSendList",
|
|
204
|
+
SETTINGS_FILLED = "iconSettingsFilled",
|
|
205
|
+
SETTINGS_OFF = "iconSettingsOff",
|
|
206
|
+
SETTINGS_OUTLINED = "iconSettingsOutlined",
|
|
207
|
+
SHARE = "iconShare",
|
|
208
|
+
SORT = "iconSort",
|
|
209
|
+
SSO = "iconSSO",
|
|
210
|
+
SSO_CONFIG = "iconSSOConfig",
|
|
211
|
+
STATISTICS = "iconStatistics",
|
|
212
|
+
STRATEGY = "iconStrategy",
|
|
213
|
+
SUBSCRIPTIONS = "iconSubscriptions",
|
|
214
|
+
SUGGESTION = "iconSuggestion",
|
|
215
|
+
SUMMARIZE = "iconSummarize",
|
|
216
|
+
TAXONOMY = "iconTaxonomy",
|
|
217
|
+
TRANSLATE = "iconTranslate",
|
|
218
|
+
TRASH = "iconTrash",
|
|
219
|
+
TRIAL = "iconTrial",
|
|
220
|
+
TEXT_ADD = "iconTextAdd",
|
|
221
|
+
TEXT_REPLACE = "iconTextReplace",
|
|
222
|
+
UNFOLD_LESS = "iconUnfoldLess",
|
|
223
|
+
UNFOLD_MORE = "iconUnfoldMore",
|
|
224
|
+
UP = "iconUp",
|
|
225
|
+
UPLOAD = "iconUpload",
|
|
226
|
+
USER = "iconUser",
|
|
227
|
+
USERS = "iconUsers",
|
|
228
|
+
USERS_ADD = "iconUsersAdd",
|
|
229
|
+
USER_REMOVE = "iconUserRemove",
|
|
230
|
+
USER_SYS_ADMIN = "iconUserSysAdmin",
|
|
231
|
+
VERIFIED = "iconVerified",
|
|
232
|
+
WARNING = "iconWarning",
|
|
233
|
+
WARNING_OUTLINED = "iconWarningOutlined",
|
|
234
|
+
WILL_BE_DELETED = "iconWillBeDeleted",
|
|
235
|
+
WORLD = "iconWorld",
|
|
236
|
+
ZOOM_IN = "iconZoomIn",
|
|
237
|
+
ZOOM_OUT = "iconZoomOut",
|
|
238
|
+
UNDO = "iconUndo",
|
|
239
|
+
REDO = "iconRedo"
|
|
240
|
+
}
|
|
241
|
+
declare enum HierarchyTypes {
|
|
242
|
+
PRIMARY = "primary",
|
|
243
|
+
SECONDARY = "secondary",
|
|
244
|
+
TERTIARY = "tertiary"
|
|
245
|
+
}
|
|
246
|
+
declare enum AspectRatioTypes {
|
|
247
|
+
ar4_1 = "ar4_1",
|
|
248
|
+
ar3_1 = "ar3_1",
|
|
249
|
+
ar21_9 = "ar21_9",
|
|
250
|
+
ar16_9 = "ar16_9",
|
|
251
|
+
ar21_13 = "ar21_13",
|
|
252
|
+
ar4_3 = "ar4_3",
|
|
253
|
+
ar1_1 = "ar1_1"
|
|
254
|
+
}
|
|
255
|
+
declare enum ColorTypes {
|
|
256
|
+
WHITE = "white",
|
|
257
|
+
BLUE = "blue",
|
|
258
|
+
LIGHT_BLUE = "lightBlue",
|
|
259
|
+
GREEN = "green",
|
|
260
|
+
RED = "red",
|
|
261
|
+
ORANGE = "orange",
|
|
262
|
+
YELLOW = "yellow",
|
|
263
|
+
GREY_1 = "grey1",
|
|
264
|
+
GREY_2 = "grey2",
|
|
265
|
+
GREY_3 = "grey3",
|
|
266
|
+
GREY_4 = "grey4",
|
|
267
|
+
GREY_5 = "grey5",
|
|
268
|
+
GREY_6 = "grey6",
|
|
269
|
+
GREY_7 = "grey7",
|
|
270
|
+
BLACK = "black",
|
|
271
|
+
INHERIT = "inherit",
|
|
272
|
+
CURRENT = "current"
|
|
273
|
+
}
|
|
274
|
+
declare enum SizeTypes {
|
|
275
|
+
EXTRA_SMALL = "extraSmall",
|
|
276
|
+
SMALL = "small",
|
|
277
|
+
MEDIUM = "medium",
|
|
278
|
+
LARGE = "large",
|
|
279
|
+
AUTO = "auto"
|
|
280
|
+
}
|
|
281
|
+
declare enum FontFamilyTypes {
|
|
282
|
+
ASSISTANT = "",
|
|
283
|
+
VERDANA = "verdana",
|
|
284
|
+
ARIAL = "arial",
|
|
285
|
+
TAHOMA = "tahoma",
|
|
286
|
+
HELVETICA = "helvetica",
|
|
287
|
+
COURIER = "courier",
|
|
288
|
+
GEROGIA = "georgia",
|
|
289
|
+
LUCIDA = "lucida",
|
|
290
|
+
TIMES = "times",
|
|
291
|
+
TIMES_NEW_ROMAN = "times new roman",
|
|
292
|
+
CUSTOM = "custom"
|
|
293
|
+
}
|
|
294
|
+
declare enum AppColors {
|
|
295
|
+
TRANSPARENT = "transparent",
|
|
296
|
+
WHITE = "#ffffff",
|
|
297
|
+
BLUE = "#0069c1",
|
|
298
|
+
LIGHT_BLUE = "#129dfa",
|
|
299
|
+
GREEN = "#058736",
|
|
300
|
+
RED = "#d0341b",
|
|
301
|
+
ORANGE = "#ff8f00",
|
|
302
|
+
YELLOW = "#ffc107",
|
|
303
|
+
RSS = "#f1b355",
|
|
304
|
+
GREY_1 = "#f1f1f1",
|
|
305
|
+
GREY_2 = "#dbdbdb",
|
|
306
|
+
GREY_3 = "#a2a4a6",
|
|
307
|
+
GREY_4 = "#707070",
|
|
308
|
+
GREY_5 = "#464646",
|
|
309
|
+
GREY_6 = "#2b2f3e",
|
|
310
|
+
GREY_7 = "#19191a",
|
|
311
|
+
BLACK = "#000000",
|
|
312
|
+
SKELETON_LIGHT_GREY = "#f1f1f1",
|
|
313
|
+
SKELETON_NESTED_GREY = "#c1c1c1",
|
|
314
|
+
SKELETON_NESTED_LIGHT_GREY = "#e6e6e6",
|
|
315
|
+
CUSTOM = "custom"
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
interface BoxProps extends MarginInterface, PaddingInterface, FlexStylingInterface {
|
|
319
|
+
children: react__default.ReactNode;
|
|
320
|
+
className?: string;
|
|
321
|
+
position?: string;
|
|
322
|
+
borderColor?: Partial<ColorTypes>;
|
|
323
|
+
border?: '1' | '2' | '3';
|
|
324
|
+
borderTop?: '1' | '2' | '3';
|
|
325
|
+
borderBottom?: '1' | '2' | '3';
|
|
326
|
+
borderRight?: '1' | '2' | '3';
|
|
327
|
+
borderLeft?: '1' | '2' | '3';
|
|
328
|
+
backgroundColor?: Partial<ColorTypes>;
|
|
329
|
+
showOnBreakpoint?: string;
|
|
330
|
+
withBorderRadius?: boolean;
|
|
331
|
+
width?: string;
|
|
332
|
+
minWidth?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Max width in percentage e.g 50 = 50%
|
|
335
|
+
*/
|
|
336
|
+
maxWidth?: string;
|
|
337
|
+
style?: CSSProperties;
|
|
338
|
+
onClickCallback?: () => void;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
342
|
+
|
|
343
|
+
interface ButtonProps {
|
|
344
|
+
text?: string;
|
|
345
|
+
onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
346
|
+
type?: Partial<HierarchyTypes>;
|
|
347
|
+
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
348
|
+
icon?: Partial<IconTypes>;
|
|
349
|
+
iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE | SizeTypes.AUTO;
|
|
350
|
+
withIconLeft?: boolean;
|
|
351
|
+
disabled?: boolean;
|
|
352
|
+
className?: string;
|
|
353
|
+
toolTip?: string;
|
|
354
|
+
style?: CSSProperties;
|
|
355
|
+
withEllipsis?: boolean;
|
|
356
|
+
rotateIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
357
|
+
id?: string | number;
|
|
358
|
+
loading?: boolean;
|
|
359
|
+
autoFocus?: boolean;
|
|
360
|
+
children?: ReactNode;
|
|
361
|
+
ariaLabel?: string;
|
|
362
|
+
tabIndex?: number;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
declare const Button: FC<ButtonProps>;
|
|
366
|
+
|
|
367
|
+
interface CheckboxProps {
|
|
368
|
+
name: string;
|
|
369
|
+
label?: string;
|
|
370
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
371
|
+
onChangeFake?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
372
|
+
className?: string;
|
|
373
|
+
ariaLabel?: string;
|
|
374
|
+
helperText?: string;
|
|
375
|
+
checked?: boolean;
|
|
376
|
+
blocked?: boolean;
|
|
377
|
+
indeterminate?: boolean;
|
|
378
|
+
wordWrap?: boolean;
|
|
379
|
+
disabled?: boolean;
|
|
380
|
+
isFake?: boolean;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
declare const Checkbox: FC<CheckboxProps>;
|
|
384
|
+
|
|
385
|
+
interface DropDownProps {
|
|
386
|
+
children: ReactNode[] | ReactNode;
|
|
387
|
+
buttonComponent: ReactNode;
|
|
388
|
+
buttonCallbackName?: string;
|
|
389
|
+
footerComponent?: ReactNode;
|
|
390
|
+
title?: string;
|
|
391
|
+
className?: string;
|
|
392
|
+
childrenClassName?: string;
|
|
393
|
+
dark?: boolean;
|
|
394
|
+
withArrow?: boolean;
|
|
395
|
+
loading?: boolean;
|
|
396
|
+
childrenIsList?: boolean;
|
|
397
|
+
withVisibleOverflow?: boolean;
|
|
398
|
+
closeDropDownOnClick?: boolean;
|
|
399
|
+
placement?: Placement;
|
|
400
|
+
strategy?: PositioningStrategy;
|
|
401
|
+
offset?: {
|
|
402
|
+
horizontal: number;
|
|
403
|
+
vertical: number;
|
|
404
|
+
};
|
|
405
|
+
arrowPadding?: number;
|
|
406
|
+
onCloseCallback?: () => void;
|
|
407
|
+
onOpenCallback?: () => void;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
declare const DropDown: FC<DropDownProps>;
|
|
411
|
+
|
|
412
|
+
interface DropDownItemProps {
|
|
413
|
+
text: string;
|
|
414
|
+
onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
415
|
+
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
416
|
+
active?: boolean;
|
|
417
|
+
withChevronRight?: boolean;
|
|
418
|
+
disabled?: boolean;
|
|
419
|
+
wrapperElement?: 'div' | 'li';
|
|
420
|
+
className?: string;
|
|
421
|
+
type?: HierarchyTypes.PRIMARY | HierarchyTypes.SECONDARY;
|
|
422
|
+
leftIcon?: Partial<IconTypes>;
|
|
423
|
+
rightIcon?: Partial<IconTypes>;
|
|
424
|
+
iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
425
|
+
iconColor?: Partial<ColorTypes>;
|
|
426
|
+
textColor?: 'inherit' | 'white' | 'grey' | 'black' | 'green' | 'red' | 'orange' | 'blue' | undefined;
|
|
427
|
+
iconClassName?: string;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
declare const DropDownItem: FC<DropDownItemProps>;
|
|
431
|
+
|
|
432
|
+
interface FacetButtonProps {
|
|
433
|
+
text?: string;
|
|
434
|
+
component?: ReactNode;
|
|
435
|
+
id?: string | number;
|
|
436
|
+
onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
437
|
+
disabled?: boolean;
|
|
438
|
+
selected?: boolean;
|
|
439
|
+
icon?: Partial<IconTypes>;
|
|
440
|
+
children?: ReactNode;
|
|
441
|
+
className?: string;
|
|
442
|
+
toolTip?: string;
|
|
443
|
+
percent: number;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
declare const FacetButton: FC<FacetButtonProps>;
|
|
447
|
+
|
|
448
|
+
interface Block {
|
|
449
|
+
height: number;
|
|
450
|
+
col: number;
|
|
451
|
+
}
|
|
452
|
+
interface FormSkeletonProps {
|
|
453
|
+
className?: string;
|
|
454
|
+
blocks: Array<Block>;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
declare const FormSkeleton: FC<FormSkeletonProps>;
|
|
458
|
+
|
|
459
|
+
interface GridProps extends MarginInterface, PaddingInterface, FlexStylingInterface {
|
|
460
|
+
/**
|
|
461
|
+
* Number of columns on viewports < 576px
|
|
462
|
+
*/
|
|
463
|
+
xs?: number | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* Number of columns on viewports < 768px
|
|
466
|
+
*/
|
|
467
|
+
sm?: number | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* Number of columns on viewports < 1024px
|
|
470
|
+
*/
|
|
471
|
+
md?: number | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* Number of columns on viewports < 1200px
|
|
474
|
+
*/
|
|
475
|
+
lg?: number | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* Number of columns on viewports < 1646px
|
|
478
|
+
*/
|
|
479
|
+
xl?: number | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* Number of columns on viewports < 2000px
|
|
482
|
+
*/
|
|
483
|
+
xxl?: number | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* Optionally provide the number of columns in the grid.
|
|
486
|
+
* @default 12
|
|
487
|
+
*/
|
|
488
|
+
/**
|
|
489
|
+
* If the component is a grid container
|
|
490
|
+
*/
|
|
491
|
+
container?: boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Optionally provide the spacing as a multiple of $half-base-size (4px) for each grid item.
|
|
494
|
+
* Takes either a single string for x and y,
|
|
495
|
+
* or an array for [y, x],
|
|
496
|
+
* or an object for different breakpoints, i.e { xs: '4', md: ['4', '6'], lg: '8' }
|
|
497
|
+
* @default '4'
|
|
498
|
+
*/
|
|
499
|
+
spacing?: string | Array<string> | Record<never, string | string[]> | undefined;
|
|
500
|
+
columns?: number | undefined;
|
|
501
|
+
className?: string | undefined;
|
|
502
|
+
children?: ReactNode | undefined;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
declare const Grid: FC<GridProps>;
|
|
506
|
+
|
|
507
|
+
interface IconProps extends ColorStyleInterface, IconStyleInterface {
|
|
508
|
+
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE | SizeTypes.AUTO | undefined;
|
|
509
|
+
rotateIcon?: boolean | undefined;
|
|
510
|
+
rotateIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315 | undefined;
|
|
511
|
+
disabled?: boolean | undefined;
|
|
512
|
+
className?: string | undefined;
|
|
513
|
+
toolTip?: string | undefined;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
declare const Icon: FC<IconProps>;
|
|
517
|
+
|
|
518
|
+
interface IconButtonProps extends IconStyleInterface, SizeStyleInterface {
|
|
519
|
+
className?: string;
|
|
520
|
+
rotateIcon?: boolean;
|
|
521
|
+
rotateIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
522
|
+
iconClassName?: string;
|
|
523
|
+
type?: HierarchyTypes.PRIMARY | HierarchyTypes.SECONDARY;
|
|
524
|
+
onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
525
|
+
iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
526
|
+
iconColor?: Partial<ColorTypes>;
|
|
527
|
+
href?: string;
|
|
528
|
+
disabled?: boolean;
|
|
529
|
+
toolTip?: string;
|
|
530
|
+
ariaLabel?: string;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
declare const IconButton: FC<IconButtonProps>;
|
|
534
|
+
|
|
535
|
+
interface ImageProps {
|
|
536
|
+
src: string;
|
|
537
|
+
alt?: string;
|
|
538
|
+
className?: string;
|
|
539
|
+
imageClassName?: string;
|
|
540
|
+
customCellComponent?: ReactNode;
|
|
541
|
+
aspectRatio?: Partial<AspectRatioTypes>;
|
|
542
|
+
bgImage?: boolean;
|
|
543
|
+
bgImageProps?: {
|
|
544
|
+
size: 'cover' | 'contain';
|
|
545
|
+
position: 'top' | 'bottom' | 'center';
|
|
546
|
+
};
|
|
547
|
+
placeHolderColor?: string;
|
|
548
|
+
customComponent?: ReactNode;
|
|
549
|
+
withContainer?: boolean;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
declare const Image: FC<ImageProps>;
|
|
553
|
+
|
|
554
|
+
interface InlineButtonProps {
|
|
555
|
+
text: string;
|
|
556
|
+
onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
557
|
+
className?: string;
|
|
558
|
+
children?: ReactNode;
|
|
559
|
+
icon?: Partial<IconTypes>;
|
|
560
|
+
rotateIcon?: boolean;
|
|
561
|
+
iconClassName?: string;
|
|
562
|
+
withIconRight?: boolean;
|
|
563
|
+
type?: Partial<HierarchyTypes>;
|
|
564
|
+
size?: SizeTypes.SMALL | SizeTypes.MEDIUM;
|
|
565
|
+
textClassName?: string;
|
|
566
|
+
withEllipsis?: boolean;
|
|
567
|
+
disabled?: boolean | undefined;
|
|
568
|
+
style?: object;
|
|
569
|
+
toolTip?: string;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
declare const InlineButton: FC<InlineButtonProps>;
|
|
573
|
+
|
|
574
|
+
interface ListSkeletonProps {
|
|
575
|
+
items: number;
|
|
576
|
+
itemHeight?: number;
|
|
577
|
+
className?: string;
|
|
578
|
+
itemClassName?: string;
|
|
579
|
+
withBorderRadius?: boolean;
|
|
580
|
+
withContent?: boolean;
|
|
581
|
+
backgroundColor?: Partial<ColorTypes>;
|
|
582
|
+
marginBottom?: string;
|
|
583
|
+
padding?: string;
|
|
584
|
+
borderColor?: Partial<ColorTypes>;
|
|
585
|
+
border?: '1' | '2' | '3';
|
|
586
|
+
borderTop?: '1' | '2' | '3';
|
|
587
|
+
borderBottom?: '1' | '2' | '3';
|
|
588
|
+
borderRight?: '1' | '2' | '3';
|
|
589
|
+
borderLeft?: '1' | '2' | '3';
|
|
590
|
+
contentColor?: Partial<ColorTypes>;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
declare const ListSkeleton: FC<ListSkeletonProps>;
|
|
594
|
+
|
|
595
|
+
interface MultiActionButtonProps {
|
|
596
|
+
text?: string;
|
|
597
|
+
onLeftClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
598
|
+
onRightClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
599
|
+
type?: Partial<HierarchyTypes>;
|
|
600
|
+
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
601
|
+
leftIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
602
|
+
rightIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
603
|
+
leftIcon?: Partial<IconTypes>;
|
|
604
|
+
rightIcon?: Partial<IconTypes>;
|
|
605
|
+
rotateLeftIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
606
|
+
rotateRightIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
607
|
+
disabled?: boolean;
|
|
608
|
+
className?: string;
|
|
609
|
+
iconClassName?: string;
|
|
610
|
+
toolTip?: string;
|
|
611
|
+
id?: string | number;
|
|
612
|
+
loading?: boolean;
|
|
613
|
+
withEllipsis?: boolean;
|
|
614
|
+
autoFocus?: boolean;
|
|
615
|
+
ariaLabel?: string;
|
|
616
|
+
tabIndex?: number;
|
|
617
|
+
withSeparator?: boolean;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
declare const MultiActionButton: FC<MultiActionButtonProps>;
|
|
621
|
+
|
|
622
|
+
interface SeparatorProps extends MarginInterface, PaddingInterface {
|
|
623
|
+
className?: string;
|
|
624
|
+
color?: Partial<ColorTypes>;
|
|
625
|
+
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
declare const Separator: FC<SeparatorProps>;
|
|
629
|
+
|
|
630
|
+
interface SolidSpinnerProps {
|
|
631
|
+
type?: Partial<HierarchyTypes>;
|
|
632
|
+
size?: SizeTypes.EXTRA_SMALL | SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
633
|
+
disabled?: boolean;
|
|
634
|
+
className?: string;
|
|
635
|
+
label?: string;
|
|
636
|
+
labelClassName?: string;
|
|
637
|
+
absoluteCenter?: boolean;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
declare const SolidSpinner: FC<SolidSpinnerProps>;
|
|
641
|
+
|
|
642
|
+
interface CellInterface {
|
|
643
|
+
key: string;
|
|
644
|
+
title: string;
|
|
645
|
+
width: string;
|
|
646
|
+
icon?: Partial<IconTypes>;
|
|
647
|
+
disableSort?: boolean;
|
|
648
|
+
alignRight?: boolean;
|
|
649
|
+
alignCenter?: boolean;
|
|
650
|
+
withEllipsis?: boolean;
|
|
651
|
+
toolTip?: string;
|
|
652
|
+
customHeaderCellComponent?: (cell: CellInterface) => ReactNode;
|
|
653
|
+
customCellComponent?: (row: object) => ReactNode;
|
|
654
|
+
}
|
|
655
|
+
interface SortableTableProps {
|
|
656
|
+
cells: Array<CellInterface>;
|
|
657
|
+
data: Array<object>;
|
|
658
|
+
sortBy: Array<{
|
|
659
|
+
keyName: string;
|
|
660
|
+
ascending: boolean;
|
|
661
|
+
}>;
|
|
662
|
+
className?: string;
|
|
663
|
+
rowClassName?: string;
|
|
664
|
+
headerClassName?: string;
|
|
665
|
+
loading?: boolean;
|
|
666
|
+
skeletonRows?: number;
|
|
667
|
+
withStickyHeader?: boolean;
|
|
668
|
+
withIntersectionObserver?: boolean;
|
|
669
|
+
onSortCallback?: (keyName: string) => void;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
declare const SortableTable: FC<SortableTableProps>;
|
|
673
|
+
|
|
674
|
+
interface ToolTipProps {
|
|
675
|
+
text?: string;
|
|
676
|
+
children?: string | number | ReactNode | null;
|
|
677
|
+
component?: ReactNode;
|
|
678
|
+
disabled?: boolean;
|
|
679
|
+
withEllipsis?: boolean | undefined;
|
|
680
|
+
displayInPortal?: boolean;
|
|
681
|
+
className?: string;
|
|
682
|
+
toolTipClassName?: string;
|
|
683
|
+
id?: string;
|
|
684
|
+
offset?: number;
|
|
685
|
+
variant?: 'dark' | 'light';
|
|
686
|
+
placement?: 'top' | 'right' | 'bottom' | 'left';
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* @desc This components extends the react-tooltip library.
|
|
691
|
+
* Full api documentation here: https://github.com/wwayne/react-tooltip
|
|
692
|
+
*/
|
|
693
|
+
declare const ToolTip: FC<ToolTipProps>;
|
|
694
|
+
|
|
695
|
+
interface TypographyBaseProps extends MarginInterface, PaddingInterface {
|
|
696
|
+
className?: string;
|
|
697
|
+
textAlign?: string;
|
|
698
|
+
fontWeight?: string;
|
|
699
|
+
fontSize?: string;
|
|
700
|
+
fontStyle?: string;
|
|
701
|
+
color?: 'inherit' | 'white' | 'grey' | 'black' | 'green' | 'red' | 'orange' | 'blue' | undefined;
|
|
702
|
+
meta?: boolean | undefined;
|
|
703
|
+
error?: boolean | undefined;
|
|
704
|
+
withBorderBottom?: boolean | undefined;
|
|
705
|
+
withEllipsis?: boolean | undefined;
|
|
706
|
+
withAnimation?: boolean | undefined;
|
|
707
|
+
withNoWordBreak?: boolean | undefined;
|
|
708
|
+
withWordBreak?: boolean | undefined;
|
|
709
|
+
disabled?: boolean | undefined;
|
|
710
|
+
}
|
|
711
|
+
interface HeadingProps extends TypographyBaseProps {
|
|
712
|
+
children: ReactNode;
|
|
713
|
+
type: string;
|
|
714
|
+
style?: CSSProperties;
|
|
715
|
+
}
|
|
716
|
+
interface LabelProps extends TypographyBaseProps {
|
|
717
|
+
children: ReactNode | string;
|
|
718
|
+
htmlFor?: string;
|
|
719
|
+
style?: CSSProperties;
|
|
720
|
+
}
|
|
721
|
+
interface ParagraphProps extends TypographyBaseProps {
|
|
722
|
+
children: ReactNode;
|
|
723
|
+
}
|
|
724
|
+
interface SpanProps extends TypographyBaseProps {
|
|
725
|
+
children: ReactNode;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
declare const Heading: FC<HeadingProps>;
|
|
729
|
+
declare const Label: FC<LabelProps>;
|
|
730
|
+
declare const Paragraph: FC<ParagraphProps>;
|
|
731
|
+
declare const Span: FC<SpanProps>;
|
|
732
|
+
|
|
733
|
+
export { AppColors, AspectRatioTypes, Box, Button, Checkbox, type ColorStyleInterface, ColorTypes, DropDown, DropDownItem, FacetButton, type FlexStylingInterface, FontFamilyTypes, FormSkeleton, Grid, Heading, type HierarchyInterface, HierarchyTypes, Icon, IconButton, type IconStyleInterface, IconTypes, Image, InlineButton, Label, ListSkeleton, type MarginInterface, MultiActionButton, type PaddingInterface, Paragraph, Separator, type SizeStyleInterface, SizeTypes, SolidSpinner, SortableTable, Span, ToolTip, type baseSizes, type baseSizesExtended };
|