@elliemae/ds-text-wrapper 2.0.1 → 2.1.0-rc.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/cjs/DSTextWrapper.js +2 -2
- package/esm/DSTextWrapper.js +2 -2
- package/package.json +2 -2
- package/types/DSTextWrapper.d.ts +17 -17
- package/types/props.d.ts +17 -17
package/cjs/DSTextWrapper.js
CHANGED
|
@@ -25,9 +25,9 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
25
25
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
26
26
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
27
27
|
|
|
28
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
28
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
29
29
|
|
|
30
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
30
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
31
31
|
|
|
32
32
|
const DSTextWrapper = _ref => {
|
|
33
33
|
let {
|
package/esm/DSTextWrapper.js
CHANGED
|
@@ -16,9 +16,9 @@ import { textProps } from './props.js';
|
|
|
16
16
|
import { defaultProps } from './defaultProps.js';
|
|
17
17
|
import { jsx } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
19
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
20
|
|
|
21
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
21
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22
22
|
|
|
23
23
|
const DSTextWrapper = _ref => {
|
|
24
24
|
let {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-text-wrapper",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Text Wrapper",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"build": "node ../../scripts/build/build.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@elliemae/ds-classnames": "2.0.
|
|
47
|
+
"@elliemae/ds-classnames": "2.1.0-rc.3",
|
|
48
48
|
"react-desc": "~4.1.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
package/types/DSTextWrapper.d.ts
CHANGED
|
@@ -21,53 +21,53 @@ declare const DSTextWrapper: {
|
|
|
21
21
|
}): JSX.Element;
|
|
22
22
|
propTypes: {
|
|
23
23
|
containerProps: {
|
|
24
|
-
defaultValue
|
|
24
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
25
25
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
26
|
};
|
|
27
|
-
isRequired: import("react-desc").
|
|
27
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
28
28
|
};
|
|
29
29
|
className: {
|
|
30
|
-
defaultValue
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
31
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
32
|
};
|
|
33
|
-
isRequired: import("react-desc").
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
34
|
};
|
|
35
35
|
style: {
|
|
36
|
-
defaultValue
|
|
36
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
37
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
38
|
};
|
|
39
|
-
isRequired: import("react-desc").
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
40
|
};
|
|
41
|
-
text: import("react-desc").
|
|
41
|
+
text: import("react-desc").PropTypesDescValue;
|
|
42
42
|
maxCharacters: {
|
|
43
|
-
defaultValue
|
|
43
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
44
44
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
45
|
};
|
|
46
|
-
isRequired: import("react-desc").
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
47
47
|
};
|
|
48
48
|
maxWidth: {
|
|
49
|
-
defaultValue
|
|
49
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
50
50
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
51
|
};
|
|
52
|
-
isRequired: import("react-desc").
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
53
53
|
};
|
|
54
54
|
textEllipsis: {
|
|
55
|
-
defaultValue
|
|
55
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
56
56
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
57
|
};
|
|
58
|
-
isRequired: import("react-desc").
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
59
59
|
};
|
|
60
60
|
textAlignment: {
|
|
61
|
-
defaultValue
|
|
61
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
62
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
63
|
};
|
|
64
|
-
isRequired: import("react-desc").
|
|
64
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
65
|
};
|
|
66
66
|
wordBreak: {
|
|
67
|
-
defaultValue
|
|
67
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
68
68
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
69
69
|
};
|
|
70
|
-
isRequired: import("react-desc").
|
|
70
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
defaultProps: {
|
package/types/props.d.ts
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
2
|
export declare const textProps: {
|
|
3
3
|
containerProps: {
|
|
4
|
-
defaultValue
|
|
4
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
5
5
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
6
|
};
|
|
7
|
-
isRequired: import("react-desc").
|
|
7
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
8
8
|
};
|
|
9
9
|
className: {
|
|
10
|
-
defaultValue
|
|
10
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
11
11
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
12
|
};
|
|
13
|
-
isRequired: import("react-desc").
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
14
14
|
};
|
|
15
15
|
style: {
|
|
16
|
-
defaultValue
|
|
16
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
17
17
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
18
|
};
|
|
19
|
-
isRequired: import("react-desc").
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
20
20
|
};
|
|
21
|
-
text: import("react-desc").
|
|
21
|
+
text: import("react-desc").PropTypesDescValue;
|
|
22
22
|
maxCharacters: {
|
|
23
|
-
defaultValue
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
24
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
25
|
};
|
|
26
|
-
isRequired: import("react-desc").
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
27
|
};
|
|
28
28
|
maxWidth: {
|
|
29
|
-
defaultValue
|
|
29
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
30
30
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
31
|
};
|
|
32
|
-
isRequired: import("react-desc").
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
33
33
|
};
|
|
34
34
|
textEllipsis: {
|
|
35
|
-
defaultValue
|
|
35
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
36
36
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
37
|
};
|
|
38
|
-
isRequired: import("react-desc").
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
39
39
|
};
|
|
40
40
|
textAlignment: {
|
|
41
|
-
defaultValue
|
|
41
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
42
42
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
43
|
};
|
|
44
|
-
isRequired: import("react-desc").
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
45
45
|
};
|
|
46
46
|
wordBreak: {
|
|
47
|
-
defaultValue
|
|
47
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
48
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
49
|
};
|
|
50
|
-
isRequired: import("react-desc").
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
51
|
};
|
|
52
52
|
};
|