@nativescript-community/ui-label 1.1.25 → 1.2.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/label.android.d.ts +5 -3
  3. package/label.android.js +48 -12
  4. package/label.ios.d.ts +3 -7
  5. package/label.ios.js +66 -200
  6. package/package.json +3 -3
  7. package/platforms/android/include.gradle +1 -1
  8. package/platforms/android/native-api-usage.json +15 -0
  9. package/platforms/android/java/com/nativescript/label/EllipsizingTextView.java +0 -497
  10. package/pnpm-global/5/node_modules/.modules.yaml +0 -22
  11. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/CHANGELOG.md +0 -212
  12. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/LICENSE +0 -201
  13. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/README.md +0 -14
  14. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index-common.d.ts +0 -40
  15. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index-common.js +0 -208
  16. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index.android.d.ts +0 -27
  17. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index.android.js +0 -298
  18. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index.d.ts +0 -1
  19. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index.ios.d.ts +0 -14
  20. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index.ios.js +0 -189
  21. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/index.js +0 -25
  22. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/package.json +0 -34
  23. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/AndroidManifest.xml +0 -3
  24. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/java/com/nativescript/text/BaselineAdjustedSpan.java +0 -71
  25. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/java/com/nativescript/text/CustomBackgroundSpan.java +0 -70
  26. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/java/com/nativescript/text/CustomTypefaceSpan.java +0 -37
  27. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/java/com/nativescript/text/Font.java +0 -431
  28. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/java/com/nativescript/text/HeightSpan.java +0 -81
  29. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/java/com/nativescript/text/HtmlToSpannedConverter.java +0 -690
  30. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/platforms/android/java/com/nativescript/text/URLSpanNoUnderline.java +0 -24
  31. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/typings/DTCoreText.ios.d.ts +0 -22
  32. package/pnpm-global/5/node_modules/.pnpm/@nativescript-community+text@1.4.11/node_modules/@nativescript-community/text/typings/android.d.ts +0 -32
  33. package/pnpm-global/5/node_modules/.pnpm/lock.yaml +0 -13
  34. package/pnpm-global/5/pnpm-lock.yaml +0 -13
@@ -1,22 +0,0 @@
1
- declare let DTDefaultTextAlignment: string;
2
- declare let DTDefaultFontStyle: string;
3
- declare let DTIgnoreLinkStyleOption: string;
4
- declare let DTDefaultFontFamily: string;
5
- declare let DTUseiOS6Attributes: string;
6
- declare let DTDocumentPreserveTrailingSpaces: string;
7
- declare let DTDefaultLineBreakMode: string;
8
- declare let NSTextSizeMultiplierDocumentOption: string;
9
- declare let kCTLineBreakByWordWrapping: string;
10
- declare let kCTLeftTextAlignment: string;
11
- declare let NSAttributedStringEnumerationReverse: number;
12
-
13
- declare namespace DTCoreTextFontDescriptor {
14
- function asyncPreloadFontLookupTable();
15
- }
16
-
17
- declare interface NSAttributedString {
18
- initWithHTMLDataOptionsDocumentAttributes(data, options, attr);
19
- }
20
- declare interface NSMutableAttributedString {
21
- initWithHTMLDataOptionsDocumentAttributes(data, options, attr);
22
- }
@@ -1,32 +0,0 @@
1
- declare namespace com {
2
- export namespace nativescript {
3
- export namespace text {
4
- export class CustomTypefaceSpan extends globalAndroid.text.style.TypefaceSpan {
5
- constructor(family: string, typeface: globalAndroid.graphics.Typeface);
6
- }
7
- export class CustomBackgroundSpan extends globalAndroid.text.style.ReplacementSpan {
8
- constructor(radius: number, fillColor: number, strokeColor: number, strokeWidth: number);
9
- }
10
- export class BaselineAdjustedSpan extends globalAndroid.text.style.CharacterStyle {
11
- constructor(fontSize: number, align: string, maxFontSize: number);
12
- }
13
- export class HeightSpan extends globalAndroid.text.style.CharacterStyle {
14
- constructor(size: number);
15
- }
16
- export class URLSpanNoUnderline extends globalAndroid.text.style.URLSpan {
17
- constructor(url: string, showUnderline: boolean);
18
- }
19
-
20
- export class Font {
21
- static createTypeface(
22
- context: globalAndroid.content.Context,
23
- fontFolder: string,
24
- fontFamily: string,
25
- fontWeight: string,
26
- isBold: boolean,
27
- isItalic: boolean
28
- ): globalAndroid.graphics.Typeface;
29
- }
30
- }
31
- }
32
- }
@@ -1,13 +0,0 @@
1
- lockfileVersion: 5.3
2
-
3
- specifiers:
4
- '@nativescript-community/text': ^1.4.10
5
-
6
- dependencies:
7
- '@nativescript-community/text': 1.4.11
8
-
9
- packages:
10
-
11
- /@nativescript-community/text/1.4.11:
12
- resolution: {integrity: sha512-JNZp0p2TlLEdYa5M2tcnsvsKrQNP9S1Pu+o/k6HSx/rjeSi+RGsoTDA0JatxiTFltGOJfiQxew9FPjjaOgwnQA==}
13
- dev: false
@@ -1,13 +0,0 @@
1
- lockfileVersion: 5.3
2
-
3
- specifiers:
4
- '@nativescript-community/text': ^1.4.10
5
-
6
- dependencies:
7
- '@nativescript-community/text': 1.4.11
8
-
9
- packages:
10
-
11
- /@nativescript-community/text/1.4.11:
12
- resolution: {integrity: sha512-JNZp0p2TlLEdYa5M2tcnsvsKrQNP9S1Pu+o/k6HSx/rjeSi+RGsoTDA0JatxiTFltGOJfiQxew9FPjjaOgwnQA==}
13
- dev: false