widenarrow-ui 0.1.12 → 0.1.14
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/lib/assets/svg/askWideNarrow.d.ts +6 -0
- package/lib/assets/svg/automation.d.ts +6 -0
- package/lib/assets/svg/textAdd.d.ts +6 -0
- package/lib/assets/svg/textReplace.d.ts +6 -0
- package/lib/components/Separator/Separator.d.ts +2 -2
- package/lib/components/ToolTip/ToolTip.d.ts +2 -0
- package/lib/constants.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.esm.js +426 -392
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +425 -390
- package/lib/index.js.map +1 -1
- package/package.json +6 -5
- package/src/assets/svg/askWideNarrow.tsx +28 -0
- package/src/assets/svg/automation.tsx +18 -0
- package/src/assets/svg/textAdd.tsx +13 -0
- package/src/assets/svg/textReplace.tsx +18 -0
- package/src/components/Icon/getIconFromConstant.tsx +12 -0
- package/src/components/Separator/Separator.tsx +13 -3
- package/src/components/ToolTip/ToolTip.module.scss +7 -2
- package/src/components/ToolTip/ToolTip.tsx +54 -22
- package/src/constants.ts +4 -0
- package/src/index.ts +2 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { MarginInterface, PaddingInterface } from 'src/types/styling';
|
|
3
|
-
import { SizeTypes } from 'src/constants';
|
|
3
|
+
import { SizeTypes, ColorTypes } from 'src/constants';
|
|
4
4
|
interface Props extends MarginInterface, PaddingInterface {
|
|
5
5
|
className?: string;
|
|
6
|
-
color?:
|
|
6
|
+
color?: `${ColorTypes}`;
|
|
7
7
|
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
8
8
|
}
|
|
9
9
|
interface Props {
|
|
@@ -10,8 +10,10 @@ import { FC, ReactNode } from 'react';
|
|
|
10
10
|
interface Props {
|
|
11
11
|
text?: string;
|
|
12
12
|
children?: string | number | ReactNode | null;
|
|
13
|
+
component?: ReactNode;
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
withEllipsis?: boolean;
|
|
16
|
+
displayInPortal?: boolean;
|
|
15
17
|
className?: string;
|
|
16
18
|
toolTipClassName?: string;
|
|
17
19
|
id?: string;
|
package/lib/constants.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare enum IconTypes {
|
|
2
2
|
ACCOUNT_SETTINGS = "iconAccountSettings",
|
|
3
|
+
AUTOMATION = "iconAutomation",
|
|
3
4
|
ADD_CHART = "iconAddChart",
|
|
4
5
|
ADD_FILLED = "iconAddFilled",
|
|
5
6
|
ADD_FOLDER = "iconAddFolder",
|
|
@@ -15,6 +16,7 @@ export declare enum IconTypes {
|
|
|
15
16
|
ARROW_FORK_RIGHT = "iconArrowForkRight",
|
|
16
17
|
ARROW_LAST_PAGE = "iconArrowLastPage",
|
|
17
18
|
ARROW_LEFT = "iconArrowLeft",
|
|
19
|
+
ASK_WIDE_NARROW = "iconAskWideNarrow",
|
|
18
20
|
ARROW_RIGHT = "iconArrowRight",
|
|
19
21
|
ARROW_UP = "iconArrowUp",
|
|
20
22
|
ATTACHMENT = "iconAttachment",
|
|
@@ -161,6 +163,8 @@ export declare enum IconTypes {
|
|
|
161
163
|
TRANSLATE = "iconTranslate",
|
|
162
164
|
TRASH = "iconTrash",
|
|
163
165
|
TRIAL = "iconTrial",
|
|
166
|
+
TEXT_ADD = "iconTextAdd",
|
|
167
|
+
TEXT_REPLACE = "iconTextReplace",
|
|
164
168
|
UNFOLD_LESS = "iconUnfoldLess",
|
|
165
169
|
UNFOLD_MORE = "iconUnfoldMore",
|
|
166
170
|
UP = "iconUp",
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { default as ToolTip } from 'src/components/ToolTip/ToolTip';
|
|
1
2
|
export { default as Checkbox } from 'src/components/Checkbox/Checkbox';
|
|
2
3
|
export { default as SolidSpinner } from 'src/components/SolidSpinner/SolidSpinner';
|
|
3
4
|
export { default as Icon } from 'src/components/Icon/Icon';
|