@elliemae/ds-read-more 3.46.4 → 3.46.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
|
|
1
|
-
import type { WeakValidationMap } from 'react';
|
2
1
|
import type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';
|
3
2
|
export declare namespace DSReadMoreT {
|
4
3
|
type PropsT<D, R, O, E> = Partial<D> & R & O & Omit<GlobalAttributesT<E>, keyof D | keyof R | keyof O> & XstyledProps;
|
package/dist/types/styled.d.ts
CHANGED
@@ -1,12 +1,6 @@
|
|
1
|
-
|
2
|
-
export declare const
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
export declare const
|
7
|
-
export declare const StyledTooltipWrapper: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
|
8
|
-
export declare const StyledButtonWrapper: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
|
9
|
-
export declare const StyledButton: import("styled-components").StyledComponent<import("react").ComponentType<import("@elliemae/ds-button-v2").DSButtonV2T.Props>, import("@elliemae/ds-system").Theme, {
|
10
|
-
withTooltip?: boolean | undefined;
|
11
|
-
} & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ComponentType<import("@elliemae/ds-button-v2").DSButtonV2T.Props>>, never>;
|
12
|
-
export declare const ScreenReaderOnly: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
|
1
|
+
export declare const StyledTextWrapper: any;
|
2
|
+
export declare const StyledTextContent: any;
|
3
|
+
export declare const StyledTooltipWrapper: any;
|
4
|
+
export declare const StyledButtonWrapper: any;
|
5
|
+
export declare const StyledButton: any;
|
6
|
+
export declare const ScreenReaderOnly: any;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { DSReadMoreT } from './react-desc-prop-types.js';
|
3
3
|
export declare const useReadMoreTruncate: ({ lines, content }: Pick<DSReadMoreT.InternalProps, 'lines' | 'content'>) => {
|
4
|
-
textWrapperRef: React.RefObject<HTMLSpanElement>;
|
5
|
-
textRef: React.RefObject<HTMLSpanElement>;
|
4
|
+
textWrapperRef: React.RefObject<HTMLSpanElement | null>;
|
5
|
+
textRef: React.RefObject<HTMLSpanElement | null>;
|
6
6
|
showButton: boolean;
|
7
7
|
expanded: boolean;
|
8
8
|
setExpanded: React.Dispatch<React.SetStateAction<boolean>>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@elliemae/ds-read-more",
|
3
|
-
"version": "3.46.
|
3
|
+
"version": "3.46.6",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "ICE MT - Dimsum - Read More",
|
6
6
|
"files": [
|
@@ -44,15 +44,15 @@
|
|
44
44
|
"indent": 4
|
45
45
|
},
|
46
46
|
"dependencies": {
|
47
|
-
"@elliemae/ds-button-v2": "3.46.
|
48
|
-
"@elliemae/ds-system": "3.46.
|
49
|
-
"@elliemae/ds-props-helpers": "3.46.
|
50
|
-
"@elliemae/ds-tooltip-v3": "3.46.
|
47
|
+
"@elliemae/ds-button-v2": "3.46.6",
|
48
|
+
"@elliemae/ds-system": "3.46.6",
|
49
|
+
"@elliemae/ds-props-helpers": "3.46.6",
|
50
|
+
"@elliemae/ds-tooltip-v3": "3.46.6"
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
53
53
|
"@elliemae/pui-cli": "9.0.0-next.50",
|
54
54
|
"styled-components": "~5.3.9",
|
55
|
-
"@elliemae/ds-monorepo-devops": "3.46.
|
55
|
+
"@elliemae/ds-monorepo-devops": "3.46.6"
|
56
56
|
},
|
57
57
|
"peerDependencies": {
|
58
58
|
"lodash": "~4.17.5",
|
@@ -62,7 +62,7 @@
|
|
62
62
|
},
|
63
63
|
"publishConfig": {
|
64
64
|
"access": "public",
|
65
|
-
"typeSafety":
|
65
|
+
"typeSafety": false
|
66
66
|
},
|
67
67
|
"scripts": {
|
68
68
|
"dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
|