@nativescript-community/ui-label 1.3.25 → 1.3.27
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/label.d.ts +8 -1
- package/package.json +3 -3
- package/references.d.ts +0 -1
- package/typings/DTCoreText.ios.d.ts +0 -23
- package/typings/android.d.ts +0 -11
package/label.d.ts
CHANGED
@@ -27,6 +27,13 @@ export declare class Label extends TNLabel {
|
|
27
27
|
|
28
28
|
verticalTextAlignment: VerticalTextAlignment;
|
29
29
|
lineBreak: LineBreak;
|
30
|
+
linkColor: string | Color;
|
31
|
+
linkUnderline: boolean;
|
32
|
+
selectable: boolean;
|
33
|
+
autoFontSize: boolean;
|
34
|
+
autoFontSizeStep: number;
|
35
|
+
minFontSize: number;
|
36
|
+
maxFontSize: number;
|
30
37
|
}
|
31
38
|
export type VerticalTextAlignment = 'initial' | 'top' | 'middle' | 'bottom' | 'center';
|
32
39
|
export type LineBreak = 'end' | 'start' | 'middle' | 'none';
|
@@ -41,4 +48,4 @@ export interface TextShadow {
|
|
41
48
|
color: Color;
|
42
49
|
}
|
43
50
|
|
44
|
-
export {
|
51
|
+
export { createNativeAttributedString } from '@nativescript-community/text';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/ui-label",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.27",
|
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,
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"license": "Apache-2.0",
|
33
33
|
"readmeFilename": "README.md",
|
34
34
|
"dependencies": {
|
35
|
-
"@nativescript-community/text": "^1.5.
|
35
|
+
"@nativescript-community/text": "^1.5.47"
|
36
36
|
},
|
37
|
-
"gitHead": "
|
37
|
+
"gitHead": "387c606683e24f69aa1159beffff677daf826c7a"
|
38
38
|
}
|
package/references.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/// <reference path="./typings/DTCoreText.ios.d.ts" />
|
@@ -1,23 +0,0 @@
|
|
1
|
-
declare var DTDefaultTextAlignment: string;
|
2
|
-
declare var DTDefaultFontStyle: string;
|
3
|
-
declare var DTIgnoreLinkStyleOption: string;
|
4
|
-
declare var DTDefaultFontFamily: string;
|
5
|
-
declare var DTUseiOS6Attributes: string;
|
6
|
-
declare var DTDocumentPreserveTrailingSpaces: string;
|
7
|
-
declare var DTDefaultLineBreakMode: string;
|
8
|
-
declare var NSTextSizeMultiplierDocumentOption: string;
|
9
|
-
declare var kCTLineBreakByWordWrapping: string;
|
10
|
-
declare var kCTLeftTextAlignment: string;
|
11
|
-
declare var NSAttributedStringEnumerationReverse: number;
|
12
|
-
|
13
|
-
|
14
|
-
declare namespace DTCoreTextFontDescriptor {
|
15
|
-
function asyncPreloadFontLookupTable()
|
16
|
-
}
|
17
|
-
|
18
|
-
declare interface NSAttributedString {
|
19
|
-
initWithHTMLDataOptionsDocumentAttributes(data, options, attr);
|
20
|
-
}
|
21
|
-
declare interface NSMutableAttributedString {
|
22
|
-
initWithHTMLDataOptionsDocumentAttributes(data, options, attr);
|
23
|
-
}
|