@elliemae/ds-truncated-tooltip-text 2.3.0-alpha.3 → 2.3.0-alpha.8
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/{cjs → dist/cjs}/DSTruncateTextWithTooltip.js +0 -0
- package/{cjs → dist/cjs}/DSTruncateTextWithTooltip.js.map +0 -0
- package/{cjs → dist/cjs}/DSTruncatedTooltipText.js +0 -0
- package/{cjs → dist/cjs}/DSTruncatedTooltipText.js.map +0 -0
- package/{cjs → dist/cjs}/SimpleTruncatedTooltipText.js +0 -0
- package/{cjs → dist/cjs}/SimpleTruncatedTooltipText.js.map +0 -0
- package/{cjs → dist/cjs}/TooltipTextProvider.js +0 -0
- package/{cjs → dist/cjs}/TooltipTextProvider.js.map +0 -0
- package/{cjs → dist/cjs}/index.js +0 -0
- package/{cjs → dist/cjs}/index.js.map +0 -0
- package/{esm → dist/esm}/DSTruncateTextWithTooltip.js +0 -0
- package/{esm → dist/esm}/DSTruncateTextWithTooltip.js.map +0 -0
- package/{esm → dist/esm}/DSTruncatedTooltipText.js +0 -0
- package/{esm → dist/esm}/DSTruncatedTooltipText.js.map +0 -0
- package/{esm → dist/esm}/SimpleTruncatedTooltipText.js +0 -0
- package/{esm → dist/esm}/SimpleTruncatedTooltipText.js.map +0 -0
- package/{esm → dist/esm}/TooltipTextProvider.js +0 -0
- package/{esm → dist/esm}/TooltipTextProvider.js.map +0 -0
- package/{esm → dist/esm}/index.js +0 -0
- package/{esm → dist/esm}/index.js.map +0 -0
- package/package.json +30 -28
- package/types/DSTruncateTextWithTooltip.d.ts +0 -8
- package/types/DSTruncatedTooltipText.d.ts +0 -59
- package/types/SimpleTruncatedTooltipText.d.ts +0 -29
- package/types/TooltipTextProvider.d.ts +0 -14
- package/types/index.d.ts +0 -4
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-truncated-tooltip-text",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Truncated Tooltip Text",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/cjs/index.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": {
|
|
11
|
-
"import": "./esm/index.js",
|
|
12
|
-
"require": "./cjs/index.js"
|
|
14
|
+
"import": "./dist/esm/index.js",
|
|
15
|
+
"require": "./dist/cjs/index.js"
|
|
13
16
|
},
|
|
14
17
|
"./TooltipTextProvider": {
|
|
15
|
-
"import": "./esm/TooltipTextProvider.js",
|
|
16
|
-
"require": "./cjs/TooltipTextProvider.js"
|
|
18
|
+
"import": "./dist/esm/TooltipTextProvider.js",
|
|
19
|
+
"require": "./dist/cjs/TooltipTextProvider.js"
|
|
17
20
|
},
|
|
18
21
|
"./SimpleTruncatedTooltipText": {
|
|
19
|
-
"import": "./esm/SimpleTruncatedTooltipText.js",
|
|
20
|
-
"require": "./cjs/SimpleTruncatedTooltipText.js"
|
|
22
|
+
"import": "./dist/esm/SimpleTruncatedTooltipText.js",
|
|
23
|
+
"require": "./dist/cjs/SimpleTruncatedTooltipText.js"
|
|
21
24
|
},
|
|
22
25
|
"./DSTruncateTextWithTooltip": {
|
|
23
|
-
"import": "./esm/DSTruncateTextWithTooltip.js",
|
|
24
|
-
"require": "./cjs/DSTruncateTextWithTooltip.js"
|
|
26
|
+
"import": "./dist/esm/DSTruncateTextWithTooltip.js",
|
|
27
|
+
"require": "./dist/cjs/DSTruncateTextWithTooltip.js"
|
|
25
28
|
},
|
|
26
29
|
"./DSTruncatedTooltipText": {
|
|
27
|
-
"import": "./esm/DSTruncatedTooltipText.js",
|
|
28
|
-
"require": "./cjs/DSTruncatedTooltipText.js"
|
|
30
|
+
"import": "./dist/esm/DSTruncatedTooltipText.js",
|
|
31
|
+
"require": "./dist/cjs/DSTruncatedTooltipText.js"
|
|
29
32
|
}
|
|
30
33
|
},
|
|
31
34
|
"sideEffects": [
|
|
@@ -37,21 +40,15 @@
|
|
|
37
40
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
38
41
|
},
|
|
39
42
|
"engines": {
|
|
40
|
-
"
|
|
41
|
-
"node": ">=
|
|
43
|
+
"pnpm": ">=6",
|
|
44
|
+
"node": ">=16"
|
|
42
45
|
},
|
|
43
46
|
"author": "ICE MT",
|
|
44
|
-
"scripts": {
|
|
45
|
-
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
46
|
-
"prebuild": "exit 0",
|
|
47
|
-
"predev": "exit 0",
|
|
48
|
-
"build": "node ../../scripts/build/build.js"
|
|
49
|
-
},
|
|
50
47
|
"dependencies": {
|
|
51
|
-
"@elliemae/ds-popover": "2.3.0-alpha.
|
|
52
|
-
"@elliemae/ds-popper": "2.3.0-alpha.
|
|
53
|
-
"@elliemae/ds-tooltip": "2.3.0-alpha.
|
|
54
|
-
"@elliemae/ds-utilities": "2.3.0-alpha.
|
|
48
|
+
"@elliemae/ds-popover": "2.3.0-alpha.8",
|
|
49
|
+
"@elliemae/ds-popper": "2.3.0-alpha.8",
|
|
50
|
+
"@elliemae/ds-tooltip": "2.3.0-alpha.8",
|
|
51
|
+
"@elliemae/ds-utilities": "2.3.0-alpha.8",
|
|
55
52
|
"prop-types": "~15.7.2",
|
|
56
53
|
"react-desc": "~4.1.3"
|
|
57
54
|
},
|
|
@@ -65,7 +62,12 @@
|
|
|
65
62
|
},
|
|
66
63
|
"publishConfig": {
|
|
67
64
|
"access": "public",
|
|
68
|
-
"
|
|
69
|
-
|
|
65
|
+
"typeSafety": false
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
69
|
+
"prebuild": "exit 0",
|
|
70
|
+
"predev": "exit 0",
|
|
71
|
+
"build": "node ../../scripts/build/build.js"
|
|
70
72
|
}
|
|
71
73
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface PropsT {
|
|
3
|
-
text: string;
|
|
4
|
-
tooltipProps?: Record<string, unknown>;
|
|
5
|
-
}
|
|
6
|
-
export declare const DSTruncateTextWithTooltipDatatestId = "DS-TruncateTextWithTooltip";
|
|
7
|
-
export declare const DSTruncateTextWithTooltip: ({ text, tooltipProps }: PropsT) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
declare const DSTruncatedTooltipText: {
|
|
4
|
-
({ containerProps, value, zIndex, ...otherTextProps }: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
containerProps?: {} | undefined;
|
|
7
|
-
value?: string | undefined;
|
|
8
|
-
zIndex?: number | undefined;
|
|
9
|
-
}): string | JSX.Element;
|
|
10
|
-
defaultProps: {
|
|
11
|
-
value: string;
|
|
12
|
-
zIndex: number;
|
|
13
|
-
containerProps?: undefined;
|
|
14
|
-
tooltipPlacement?: undefined;
|
|
15
|
-
tooltipDelay?: undefined;
|
|
16
|
-
} | {
|
|
17
|
-
containerProps: {};
|
|
18
|
-
value: string;
|
|
19
|
-
tooltipPlacement: undefined;
|
|
20
|
-
tooltipDelay: undefined;
|
|
21
|
-
zIndex?: undefined;
|
|
22
|
-
};
|
|
23
|
-
propTypes: {
|
|
24
|
-
containerProps: {
|
|
25
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
26
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
-
};
|
|
28
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
29
|
-
};
|
|
30
|
-
value: {
|
|
31
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
32
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
-
};
|
|
34
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
35
|
-
};
|
|
36
|
-
tooltipPlacement: {
|
|
37
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
38
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
-
};
|
|
40
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
41
|
-
};
|
|
42
|
-
tooltipDelay: {
|
|
43
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
44
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
-
};
|
|
46
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
47
|
-
};
|
|
48
|
-
zIndex: {
|
|
49
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
declare const TruncatedTooltipTextWithSchema: {
|
|
54
|
-
(props?: unknown): JSX.Element;
|
|
55
|
-
propTypes: unknown;
|
|
56
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
57
|
-
};
|
|
58
|
-
export { DSTruncatedTooltipText, TruncatedTooltipTextWithSchema };
|
|
59
|
-
export default DSTruncatedTooltipText;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
declare const SimpleTruncatedTooltipText: {
|
|
4
|
-
(props: any): JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
containerProps: PropTypes.Requireable<object>;
|
|
7
|
-
tooltipOptions: PropTypes.Requireable<object>;
|
|
8
|
-
textOptions: PropTypes.Requireable<object>;
|
|
9
|
-
/** Text that when truncated will trigger the tooltip interaction */
|
|
10
|
-
value: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
11
|
-
/** Position of the tooltip */
|
|
12
|
-
placement: PropTypes.Requireable<string>;
|
|
13
|
-
/** Delay to show the tooltip */
|
|
14
|
-
tooltipDelay: PropTypes.Requireable<number>;
|
|
15
|
-
/** override default zIndex */
|
|
16
|
-
zIndex: PropTypes.Requireable<number>;
|
|
17
|
-
};
|
|
18
|
-
defaultProps: {
|
|
19
|
-
containerProps: {};
|
|
20
|
-
tooltipOptions: {};
|
|
21
|
-
textOptions: {};
|
|
22
|
-
value: string;
|
|
23
|
-
placement: string;
|
|
24
|
-
tooltipDelay: number;
|
|
25
|
-
zIndex: number;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export { SimpleTruncatedTooltipText };
|
|
29
|
-
export default SimpleTruncatedTooltipText;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const TruncatedTooltipContext: React.Context<unknown>;
|
|
3
|
-
declare function TooltipTextProvider({ children, tooltipDelay, placement, ...tooltipOptions }: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
children: any;
|
|
6
|
-
tooltipDelay?: number | undefined;
|
|
7
|
-
placement?: string | undefined;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
declare namespace TooltipTextProvider {
|
|
10
|
-
var propTypes: {};
|
|
11
|
-
var defaultProps: {};
|
|
12
|
-
}
|
|
13
|
-
export { TooltipTextProvider, TruncatedTooltipContext };
|
|
14
|
-
export default TooltipTextProvider;
|
package/types/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { TooltipTextProvider, TruncatedTooltipContext } from './TooltipTextProvider';
|
|
2
|
-
export { SimpleTruncatedTooltipText } from './SimpleTruncatedTooltipText';
|
|
3
|
-
export { DSTruncatedTooltipText, TruncatedTooltipTextWithSchema, default } from './DSTruncatedTooltipText';
|
|
4
|
-
export { DSTruncateTextWithTooltipDatatestId, DSTruncateTextWithTooltip } from './DSTruncateTextWithTooltip';
|