@nativescript-community/ui-label 1.2.7 → 1.2.8

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 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.8](https://github.com/nativescript-community/ui-label/compare/v1.2.7...v1.2.8) (2022-04-26)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-label
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.2.7](https://github.com/nativescript-community/ui-label/compare/v1.2.6...v1.2.7) (2022-04-05)
7
15
 
8
16
  **Note:** Version bump only for package @nativescript-community/ui-label
package/label-common.d.ts CHANGED
@@ -22,7 +22,7 @@ export declare abstract class LabelBase extends TNLabel implements LabelViewDefi
22
22
  onResumeNativeUpdates(): void;
23
23
  }
24
24
  export declare const htmlProperty: Property<LabelBase, string>;
25
- export declare const maxLinesProperty: CssProperty<Style, number>;
25
+ export declare const maxLinesProperty: Property<LabelBase, number>;
26
26
  export declare const lineBreakProperty: CssProperty<Style, string>;
27
27
  export declare const linkColorProperty: CssProperty<Style, Color>;
28
28
  export declare const linkUnderlineProperty: CssProperty<Style, boolean>;
package/label-common.js CHANGED
@@ -92,11 +92,11 @@ export const htmlProperty = new Property({
92
92
  affectsLayout: global.isAndroid
93
93
  });
94
94
  htmlProperty.register(LabelBase);
95
- export const maxLinesProperty = new CssProperty({
95
+ export const maxLinesProperty = new Property({
96
96
  name: 'maxLines',
97
- cssName: 'max-lines'
97
+ affectsLayout: global.isAndroid
98
98
  });
99
- maxLinesProperty.register(Style);
99
+ maxLinesProperty.register(LabelBase);
100
100
  export const lineBreakProperty = new CssProperty({
101
101
  name: 'lineBreak',
102
102
  cssName: 'line-break'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-label",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
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.36"
36
36
  },
37
- "gitHead": "092a8246b892db73f17613a3d10b8f52444ef2ce"
37
+ "gitHead": "3ca6ba169723fcb4190268c2a9f8f47ba74f26aa"
38
38
  }