@elliemae/ds-text-wrapper 3.16.0-next.2 → 3.16.0-next.4
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/dist/cjs/DSTextWrapper.js +2 -2
- package/dist/cjs/DSTextWrapper.js.map +2 -2
- package/dist/cjs/package.json +7 -0
- package/dist/cjs/props.js +10 -10
- package/dist/cjs/props.js.map +2 -2
- package/dist/esm/DSTextWrapper.js +1 -1
- package/dist/esm/DSTextWrapper.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/dist/esm/props.js +1 -1
- package/dist/esm/props.js.map +1 -1
- package/dist/types/DSTextWrapper.d.ts +10 -10
- package/dist/types/props.d.ts +9 -9
- package/package.json +5 -4
|
@@ -31,7 +31,7 @@ __export(DSTextWrapper_exports, {
|
|
|
31
31
|
module.exports = __toCommonJS(DSTextWrapper_exports);
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
-
var
|
|
34
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
35
35
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
36
36
|
var import_props = require("./props");
|
|
37
37
|
var import_defaultProps = require("./defaultProps");
|
|
@@ -83,7 +83,7 @@ const DSTextWrapper = ({
|
|
|
83
83
|
DSTextWrapper.propTypes = import_props.textProps;
|
|
84
84
|
DSTextWrapper.defaultProps = import_defaultProps.defaultProps;
|
|
85
85
|
DSTextWrapper.displayName = "DSTextWrapper";
|
|
86
|
-
const TextWrapperWithSchema = (0,
|
|
86
|
+
const TextWrapperWithSchema = (0, import_ds_props_helpers.describe)(DSTextWrapper);
|
|
87
87
|
TextWrapperWithSchema.propTypes = import_props.textProps;
|
|
88
88
|
var DSTextWrapper_default = DSTextWrapper;
|
|
89
89
|
//# sourceMappingURL=DSTextWrapper.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSTextWrapper.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport { describe } from '@elliemae/ds-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD8CjB;AA5CN,
|
|
4
|
+
"sourcesContent": ["/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { textProps } from './props';\nimport { defaultProps } from './defaultProps';\n\n/**\n * if we don't care about word break\n * const regx = new RegExp(`.{1,${maxCharacters}}`, 'g')\n * text.match(regx)\n *\n * @param {*} param0\n */\nconst DSTextWrapper = ({\n containerProps,\n className,\n style,\n text,\n maxCharacters,\n maxWidth,\n textEllipsis,\n textAlignment,\n wordBreak,\n}) => {\n const { cssClassName, classNameElement } = convertPropToCssClassName('text-wrapperRef', className, {\n textEllipsis,\n textAlignment,\n wordBreak,\n });\n const limitPerCharacter = () =>\n text.split(' ').reduce(\n (result, word) => {\n let resultIndex = result.length - 1;\n if (result[resultIndex].length + word.length > maxCharacters) resultIndex += 1;\n result[resultIndex] = `${result[resultIndex] || ''} ${word}`;\n return result;\n },\n [''],\n );\n\n let displayText = text;\n\n if (textEllipsis) displayText = maxCharacters > 0 ? displayText.substring(0, maxCharacters) : displayText;\n else if (maxCharacters > 0) {\n displayText = limitPerCharacter().map((textpart, index) => (\n <span key={index} className={classNameElement('line')}>\n {textpart}\n </span>\n ));\n }\n\n return (\n <span\n {...containerProps}\n className={cssClassName}\n style={{\n maxWidth: maxCharacters < 1 ? maxWidth : null,\n ...style,\n }}\n >\n {textEllipsis ? <span className={classNameElement('ellipsis-wrapperRef')}>{displayText}</span> : displayText}\n </span>\n );\n};\n\nDSTextWrapper.propTypes = textProps;\nDSTextWrapper.defaultProps = defaultProps;\nDSTextWrapper.displayName = 'DSTextWrapper';\nconst TextWrapperWithSchema = describe(DSTextWrapper);\nTextWrapperWithSchema.propTypes = textProps;\n\nexport { DSTextWrapper, TextWrapperWithSchema };\nexport default DSTextWrapper;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD8CjB;AA5CN,8BAAyB;AACzB,2BAA0C;AAC1C,mBAA0B;AAC1B,0BAA6B;AAS7B,MAAM,gBAAgB,CAAC;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,EAAE,cAAc,iBAAiB,QAAI,gDAA0B,mBAAmB,WAAW;AAAA,IACjG;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,oBAAoB,MACxB,KAAK,MAAM,GAAG,EAAE;AAAA,IACd,CAAC,QAAQ,SAAS;AAChB,UAAI,cAAc,OAAO,SAAS;AAClC,UAAI,OAAO,aAAa,SAAS,KAAK,SAAS;AAAe,uBAAe;AAC7E,aAAO,eAAe,GAAG,OAAO,gBAAgB,MAAM;AACtD,aAAO;AAAA,IACT;AAAA,IACA,CAAC,EAAE;AAAA,EACL;AAEF,MAAI,cAAc;AAElB,MAAI;AAAc,kBAAc,gBAAgB,IAAI,YAAY,UAAU,GAAG,aAAa,IAAI;AAAA,WACrF,gBAAgB,GAAG;AAC1B,kBAAc,kBAAkB,EAAE,IAAI,CAAC,UAAU,UAC/C,4CAAC,UAAiB,WAAW,iBAAiB,MAAM,GACjD,sBADQ,KAEX,CACD;AAAA,EACH;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,MACX,OAAO;AAAA,QACL,UAAU,gBAAgB,IAAI,WAAW;AAAA,QACzC,GAAG;AAAA,MACL;AAAA,MAEC,yBAAe,4CAAC,UAAK,WAAW,iBAAiB,qBAAqB,GAAI,uBAAY,IAAU;AAAA;AAAA,EACnG;AAEJ;AAEA,cAAc,YAAY;AAC1B,cAAc,eAAe;AAC7B,cAAc,cAAc;AAC5B,MAAM,4BAAwB,kCAAS,aAAa;AACpD,sBAAsB,YAAY;AAGlC,IAAO,wBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/props.js
CHANGED
|
@@ -28,16 +28,16 @@ __export(props_exports, {
|
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(props_exports);
|
|
30
30
|
var React = __toESM(require("react"));
|
|
31
|
-
var
|
|
31
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
32
32
|
const textProps = {
|
|
33
|
-
containerProps:
|
|
34
|
-
className:
|
|
35
|
-
style:
|
|
36
|
-
text:
|
|
37
|
-
maxCharacters:
|
|
38
|
-
maxWidth:
|
|
39
|
-
textEllipsis:
|
|
40
|
-
textAlignment:
|
|
41
|
-
wordBreak:
|
|
33
|
+
containerProps: import_ds_props_helpers.PropTypes.object.description("Set of Properties attached to the main container"),
|
|
34
|
+
className: import_ds_props_helpers.PropTypes.string.description("css class"),
|
|
35
|
+
style: import_ds_props_helpers.PropTypes.object.description("css style"),
|
|
36
|
+
text: import_ds_props_helpers.PropTypes.string.description("Text to display").isRequired,
|
|
37
|
+
maxCharacters: import_ds_props_helpers.PropTypes.number.description("Maximum amount of charachters allowed"),
|
|
38
|
+
maxWidth: import_ds_props_helpers.PropTypes.string.description("Maximum width allowed"),
|
|
39
|
+
textEllipsis: import_ds_props_helpers.PropTypes.bool.description("Whether to show ellipsis or not"),
|
|
40
|
+
textAlignment: import_ds_props_helpers.PropTypes.oneOf(["left", "center", "right"]).description("Text alignement"),
|
|
41
|
+
wordBreak: import_ds_props_helpers.PropTypes.bool.description("Whether to break the line or not")
|
|
42
42
|
};
|
|
43
43
|
//# sourceMappingURL=props.js.map
|
package/dist/cjs/props.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/props.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { PropTypes } from '@elliemae/ds-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,
|
|
4
|
+
"sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const textProps = {\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n className: PropTypes.string.description('css class'),\n style: PropTypes.object.description('css style'),\n text: PropTypes.string.description('Text to display').isRequired,\n maxCharacters: PropTypes.number.description('Maximum amount of charachters allowed'),\n maxWidth: PropTypes.string.description('Maximum width allowed'),\n textEllipsis: PropTypes.bool.description('Whether to show ellipsis or not'),\n textAlignment: PropTypes.oneOf(['left', 'center', 'right']).description('Text alignement'),\n wordBreak: PropTypes.bool.description('Whether to break the line or not'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAEnB,MAAM,YAAY;AAAA,EACvB,gBAAgB,kCAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,WAAW,kCAAU,OAAO,YAAY,WAAW;AAAA,EACnD,OAAO,kCAAU,OAAO,YAAY,WAAW;AAAA,EAC/C,MAAM,kCAAU,OAAO,YAAY,iBAAiB,EAAE;AAAA,EACtD,eAAe,kCAAU,OAAO,YAAY,uCAAuC;AAAA,EACnF,UAAU,kCAAU,OAAO,YAAY,uBAAuB;AAAA,EAC9D,cAAc,kCAAU,KAAK,YAAY,iCAAiC;AAAA,EAC1E,eAAe,kCAAU,MAAM,CAAC,QAAQ,UAAU,OAAO,CAAC,EAAE,YAAY,iBAAiB;AAAA,EACzF,WAAW,kCAAU,KAAK,YAAY,kCAAkC;AAC1E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { describe } from "@elliemae/ds-
|
|
3
|
+
import { describe } from "@elliemae/ds-props-helpers";
|
|
4
4
|
import { convertPropToCssClassName } from "@elliemae/ds-classnames";
|
|
5
5
|
import { textProps } from "./props";
|
|
6
6
|
import { defaultProps } from "./defaultProps";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSTextWrapper.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport { describe } from '@elliemae/ds-
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { textProps } from './props';\nimport { defaultProps } from './defaultProps';\n\n/**\n * if we don't care about word break\n * const regx = new RegExp(`.{1,${maxCharacters}}`, 'g')\n * text.match(regx)\n *\n * @param {*} param0\n */\nconst DSTextWrapper = ({\n containerProps,\n className,\n style,\n text,\n maxCharacters,\n maxWidth,\n textEllipsis,\n textAlignment,\n wordBreak,\n}) => {\n const { cssClassName, classNameElement } = convertPropToCssClassName('text-wrapperRef', className, {\n textEllipsis,\n textAlignment,\n wordBreak,\n });\n const limitPerCharacter = () =>\n text.split(' ').reduce(\n (result, word) => {\n let resultIndex = result.length - 1;\n if (result[resultIndex].length + word.length > maxCharacters) resultIndex += 1;\n result[resultIndex] = `${result[resultIndex] || ''} ${word}`;\n return result;\n },\n [''],\n );\n\n let displayText = text;\n\n if (textEllipsis) displayText = maxCharacters > 0 ? displayText.substring(0, maxCharacters) : displayText;\n else if (maxCharacters > 0) {\n displayText = limitPerCharacter().map((textpart, index) => (\n <span key={index} className={classNameElement('line')}>\n {textpart}\n </span>\n ));\n }\n\n return (\n <span\n {...containerProps}\n className={cssClassName}\n style={{\n maxWidth: maxCharacters < 1 ? maxWidth : null,\n ...style,\n }}\n >\n {textEllipsis ? <span className={classNameElement('ellipsis-wrapperRef')}>{displayText}</span> : displayText}\n </span>\n );\n};\n\nDSTextWrapper.propTypes = textProps;\nDSTextWrapper.defaultProps = defaultProps;\nDSTextWrapper.displayName = 'DSTextWrapper';\nconst TextWrapperWithSchema = describe(DSTextWrapper);\nTextWrapperWithSchema.propTypes = textProps;\n\nexport { DSTextWrapper, TextWrapperWithSchema };\nexport default DSTextWrapper;\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;AC8CjB;AA5CN,SAAS,gBAAgB;AACzB,SAAS,iCAAiC;AAC1C,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAS7B,MAAM,gBAAgB,CAAC;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,EAAE,cAAc,iBAAiB,IAAI,0BAA0B,mBAAmB,WAAW;AAAA,IACjG;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,oBAAoB,MACxB,KAAK,MAAM,GAAG,EAAE;AAAA,IACd,CAAC,QAAQ,SAAS;AAChB,UAAI,cAAc,OAAO,SAAS;AAClC,UAAI,OAAO,aAAa,SAAS,KAAK,SAAS;AAAe,uBAAe;AAC7E,aAAO,eAAe,GAAG,OAAO,gBAAgB,MAAM;AACtD,aAAO;AAAA,IACT;AAAA,IACA,CAAC,EAAE;AAAA,EACL;AAEF,MAAI,cAAc;AAElB,MAAI;AAAc,kBAAc,gBAAgB,IAAI,YAAY,UAAU,GAAG,aAAa,IAAI;AAAA,WACrF,gBAAgB,GAAG;AAC1B,kBAAc,kBAAkB,EAAE,IAAI,CAAC,UAAU,UAC/C,oBAAC,UAAiB,WAAW,iBAAiB,MAAM,GACjD,sBADQ,KAEX,CACD;AAAA,EACH;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,MACX,OAAO;AAAA,QACL,UAAU,gBAAgB,IAAI,WAAW;AAAA,QACzC,GAAG;AAAA,MACL;AAAA,MAEC,yBAAe,oBAAC,UAAK,WAAW,iBAAiB,qBAAqB,GAAI,uBAAY,IAAU;AAAA;AAAA,EACnG;AAEJ;AAEA,cAAc,YAAY;AAC1B,cAAc,eAAe;AAC7B,cAAc,cAAc;AAC5B,MAAM,wBAAwB,SAAS,aAAa;AACpD,sBAAsB,YAAY;AAGlC,IAAO,wBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/props.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { PropTypes } from "@elliemae/ds-
|
|
2
|
+
import { PropTypes } from "@elliemae/ds-props-helpers";
|
|
3
3
|
const textProps = {
|
|
4
4
|
containerProps: PropTypes.object.description("Set of Properties attached to the main container"),
|
|
5
5
|
className: PropTypes.string.description("css class"),
|
package/dist/esm/props.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/props.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const textProps = {\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n className: PropTypes.string.description('css class'),\n style: PropTypes.object.description('css style'),\n text: PropTypes.string.description('Text to display').isRequired,\n maxCharacters: PropTypes.number.description('Maximum amount of charachters allowed'),\n maxWidth: PropTypes.string.description('Maximum width allowed'),\n textEllipsis: PropTypes.bool.description('Whether to show ellipsis or not'),\n textAlignment: PropTypes.oneOf(['left', 'center', 'right']).description('Text alignement'),\n wordBreak: PropTypes.bool.description('Whether to break the line or not'),\n};\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAEnB,MAAM,YAAY;AAAA,EACvB,gBAAgB,UAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,WAAW,UAAU,OAAO,YAAY,WAAW;AAAA,EACnD,OAAO,UAAU,OAAO,YAAY,WAAW;AAAA,EAC/C,MAAM,UAAU,OAAO,YAAY,iBAAiB,EAAE;AAAA,EACtD,eAAe,UAAU,OAAO,YAAY,uCAAuC;AAAA,EACnF,UAAU,UAAU,OAAO,YAAY,uBAAuB;AAAA,EAC9D,cAAc,UAAU,KAAK,YAAY,iCAAiC;AAAA,EAC1E,eAAe,UAAU,MAAM,CAAC,QAAQ,UAAU,OAAO,CAAC,EAAE,YAAY,iBAAiB;AAAA,EACzF,WAAW,UAAU,KAAK,YAAY,kCAAkC;AAC1E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -18,15 +18,15 @@ declare const DSTextWrapper: {
|
|
|
18
18
|
wordBreak: any;
|
|
19
19
|
}): JSX.Element;
|
|
20
20
|
propTypes: {
|
|
21
|
-
containerProps: import("@elliemae/ds-
|
|
22
|
-
className: import("@elliemae/ds-
|
|
23
|
-
style: import("@elliemae/ds-
|
|
24
|
-
text: import("@elliemae/ds-
|
|
25
|
-
maxCharacters: import("@elliemae/ds-
|
|
26
|
-
maxWidth: import("@elliemae/ds-
|
|
27
|
-
textEllipsis: import("@elliemae/ds-
|
|
28
|
-
textAlignment: import("@elliemae/ds-
|
|
29
|
-
wordBreak: import("@elliemae/ds-
|
|
21
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
22
|
+
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
23
|
+
style: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
24
|
+
text: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
25
|
+
maxCharacters: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
26
|
+
maxWidth: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
27
|
+
textEllipsis: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
28
|
+
textAlignment: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
29
|
+
wordBreak: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
30
30
|
};
|
|
31
31
|
defaultProps: {
|
|
32
32
|
containerProps: {};
|
|
@@ -41,7 +41,7 @@ declare const DSTextWrapper: {
|
|
|
41
41
|
};
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
|
-
declare const TextWrapperWithSchema: import("@elliemae/ds-
|
|
44
|
+
declare const TextWrapperWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
45
45
|
containerProps: any;
|
|
46
46
|
className: any;
|
|
47
47
|
style: any;
|
package/dist/types/props.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const textProps: {
|
|
2
|
-
containerProps: import("@elliemae/ds-
|
|
3
|
-
className: import("@elliemae/ds-
|
|
4
|
-
style: import("@elliemae/ds-
|
|
5
|
-
text: import("@elliemae/ds-
|
|
6
|
-
maxCharacters: import("@elliemae/ds-
|
|
7
|
-
maxWidth: import("@elliemae/ds-
|
|
8
|
-
textEllipsis: import("@elliemae/ds-
|
|
9
|
-
textAlignment: import("@elliemae/ds-
|
|
10
|
-
wordBreak: import("@elliemae/ds-
|
|
2
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
3
|
+
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
4
|
+
style: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
5
|
+
text: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
6
|
+
maxCharacters: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
7
|
+
maxWidth: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
8
|
+
textEllipsis: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
9
|
+
textAlignment: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
10
|
+
wordBreak: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-text-wrapper",
|
|
3
|
-
"version": "3.16.0-next.
|
|
3
|
+
"version": "3.16.0-next.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Text Wrapper",
|
|
6
6
|
"files": [
|
|
@@ -47,8 +47,9 @@
|
|
|
47
47
|
"indent": 4
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@elliemae/ds-classnames": "3.16.0-next.
|
|
51
|
-
"@elliemae/ds-
|
|
50
|
+
"@elliemae/ds-classnames": "3.16.0-next.4",
|
|
51
|
+
"@elliemae/ds-props-helpers": "3.16.0-next.4",
|
|
52
|
+
"@elliemae/ds-utilities": "3.16.0-next.4"
|
|
52
53
|
},
|
|
53
54
|
"peerDependencies": {
|
|
54
55
|
"lodash": "^4.17.21",
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../.eslintrc.js' src/",
|
|
67
68
|
"dts": "node ../../scripts/dts.mjs",
|
|
68
69
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
69
|
-
"dev:build": "pnpm --filter {.}... build
|
|
70
|
+
"dev:build": "pnpm --filter {.}... build",
|
|
70
71
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
71
72
|
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
72
73
|
}
|