@nativescript-community/ui-label 1.2.1 → 1.2.2
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 +8 -0
- package/label.android.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,14 @@
|
|
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
|
+
## [1.2.2](https://github.com/nativescript-community/ui-label/compare/v1.2.1...v1.2.2) (2022-01-08)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @nativescript-community/ui-label
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
6
14
|
## [1.2.1](https://github.com/nativescript-community/ui-label/compare/v1.2.0...v1.2.1) (2022-01-02)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
package/label.android.js
CHANGED
@@ -359,7 +359,7 @@ export class Label extends LabelBase {
|
|
359
359
|
}
|
360
360
|
[textAlignmentProperty.setNative](value) {
|
361
361
|
const view = this.nativeTextViewProtected;
|
362
|
-
if (android.os.Build.VERSION.SDK_INT >=
|
362
|
+
if (android.os.Build.VERSION.SDK_INT >= 26) {
|
363
363
|
if (value === 'justify') {
|
364
364
|
view.setJustificationMode(android.text.Layout.JUSTIFICATION_MODE_INTER_WORD);
|
365
365
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/ui-label",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.2",
|
4
4
|
"description": "Alternative to the built-in NativeScript Label but with better performance and additional features such as HTML rendering and more.",
|
5
5
|
"main": "./label",
|
6
6
|
"sideEffects": false,
|
@@ -34,5 +34,5 @@
|
|
34
34
|
"dependencies": {
|
35
35
|
"@nativescript-community/text": "^1.4.29"
|
36
36
|
},
|
37
|
-
"gitHead": "
|
37
|
+
"gitHead": "ca0bb9ddbdc909b7bcb799357231cf82e2a9ee52"
|
38
38
|
}
|