@instructure/ui-text 8.25.1-snapshot-10 → 8.25.1-snapshot-13
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/CHANGELOG.md +1 -1
- package/es/Text/index.js +9 -15
- package/lib/Text/index.js +9 -15
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [8.25.1-snapshot-
|
|
6
|
+
## [8.25.1-snapshot-13](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.25.1-snapshot-13) (2022-06-22)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-text
|
|
9
9
|
|
package/es/Text/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class;
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -38,19 +38,7 @@ category: components
|
|
|
38
38
|
@tsProps
|
|
39
39
|
**/
|
|
40
40
|
|
|
41
|
-
let Text = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Text extends Component {
|
|
42
|
-
static displayName = "Text";
|
|
43
|
-
static componentId = 'Text';
|
|
44
|
-
static allowedProps = allowedProps;
|
|
45
|
-
static propTypes = propTypes;
|
|
46
|
-
static defaultProps = {
|
|
47
|
-
as: 'span',
|
|
48
|
-
wrap: 'normal',
|
|
49
|
-
size: 'medium',
|
|
50
|
-
letterSpacing: 'normal',
|
|
51
|
-
children: null
|
|
52
|
-
};
|
|
53
|
-
|
|
41
|
+
let Text = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_class2 = class Text extends Component {
|
|
54
42
|
componentDidMount() {
|
|
55
43
|
var _this$props$makeStyle, _this$props;
|
|
56
44
|
|
|
@@ -75,6 +63,12 @@ let Text = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
|
75
63
|
}), children);
|
|
76
64
|
}
|
|
77
65
|
|
|
78
|
-
}
|
|
66
|
+
}, _class2.displayName = "Text", _class2.componentId = 'Text', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
|
|
67
|
+
as: 'span',
|
|
68
|
+
wrap: 'normal',
|
|
69
|
+
size: 'medium',
|
|
70
|
+
letterSpacing: 'normal',
|
|
71
|
+
children: null
|
|
72
|
+
}, _class2)) || _class);
|
|
79
73
|
export default Text;
|
|
80
74
|
export { Text };
|
package/lib/Text/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
21
21
|
|
|
22
22
|
var _props = require("./props");
|
|
23
23
|
|
|
24
|
-
var _dec, _class;
|
|
24
|
+
var _dec, _class, _class2;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
---
|
|
@@ -29,19 +29,7 @@ category: components
|
|
|
29
29
|
---
|
|
30
30
|
@tsProps
|
|
31
31
|
**/
|
|
32
|
-
let Text = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Text extends _react.Component {
|
|
33
|
-
static displayName = "Text";
|
|
34
|
-
static componentId = 'Text';
|
|
35
|
-
static allowedProps = _props.allowedProps;
|
|
36
|
-
static propTypes = _props.propTypes;
|
|
37
|
-
static defaultProps = {
|
|
38
|
-
as: 'span',
|
|
39
|
-
wrap: 'normal',
|
|
40
|
-
size: 'medium',
|
|
41
|
-
letterSpacing: 'normal',
|
|
42
|
-
children: null
|
|
43
|
-
};
|
|
44
|
-
|
|
32
|
+
let Text = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class Text extends _react.Component {
|
|
45
33
|
componentDidMount() {
|
|
46
34
|
var _this$props$makeStyle, _this$props;
|
|
47
35
|
|
|
@@ -66,7 +54,13 @@ let Text = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _de
|
|
|
66
54
|
}), children);
|
|
67
55
|
}
|
|
68
56
|
|
|
69
|
-
}
|
|
57
|
+
}, _class2.displayName = "Text", _class2.componentId = 'Text', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
|
|
58
|
+
as: 'span',
|
|
59
|
+
wrap: 'normal',
|
|
60
|
+
size: 'medium',
|
|
61
|
+
letterSpacing: 'normal',
|
|
62
|
+
children: null
|
|
63
|
+
}, _class2)) || _class);
|
|
70
64
|
exports.Text = Text;
|
|
71
65
|
var _default = Text;
|
|
72
66
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-text",
|
|
3
|
-
"version": "8.25.1-snapshot-
|
|
3
|
+
"version": "8.25.1-snapshot-13",
|
|
4
4
|
"description": "A component for styling textual content",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.13.10",
|
|
27
|
-
"@instructure/console": "8.25.1-snapshot-
|
|
28
|
-
"@instructure/emotion": "8.25.1-snapshot-
|
|
29
|
-
"@instructure/shared-types": "8.25.1-snapshot-
|
|
30
|
-
"@instructure/ui-color-utils": "8.25.1-snapshot-
|
|
31
|
-
"@instructure/ui-react-utils": "8.25.1-snapshot-
|
|
27
|
+
"@instructure/console": "8.25.1-snapshot-13",
|
|
28
|
+
"@instructure/emotion": "8.25.1-snapshot-13",
|
|
29
|
+
"@instructure/shared-types": "8.25.1-snapshot-13",
|
|
30
|
+
"@instructure/ui-color-utils": "8.25.1-snapshot-13",
|
|
31
|
+
"@instructure/ui-react-utils": "8.25.1-snapshot-13",
|
|
32
32
|
"prop-types": "^15"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@instructure/ui-babel-preset": "8.25.1-snapshot-
|
|
36
|
-
"@instructure/ui-test-utils": "8.25.1-snapshot-
|
|
37
|
-
"@instructure/ui-themes": "8.25.1-snapshot-
|
|
35
|
+
"@instructure/ui-babel-preset": "8.25.1-snapshot-13",
|
|
36
|
+
"@instructure/ui-test-utils": "8.25.1-snapshot-13",
|
|
37
|
+
"@instructure/ui-themes": "8.25.1-snapshot-13"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": ">=16.8 <=17"
|