@nativescript-community/ui-label 1.2.12 → 1.2.14
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 +36 -430
- package/label-common.d.ts +0 -1
- package/label-common.js +0 -5
- package/label.android.js +46 -44
- package/label.ios.js +24 -27
- package/package.json +2 -2
- package/pnpm-lock.yaml +0 -10
- package/references.d.ts +0 -1
- package/typings/DTCoreText.ios.d.ts +0 -23
- package/typings/android.d.ts +0 -11
package/CHANGELOG.md
CHANGED
@@ -3,841 +3,447 @@
|
|
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.
|
6
|
+
## [1.2.14](https://github.com/nativescript-community/ui-label/compare/v1.2.13...v1.2.14) (2022-11-20)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
9
9
|
|
10
|
+
## [1.2.13](https://github.com/nativescript-community/ui-label/compare/v1.2.12...v1.2.13) (2022-11-02)
|
10
11
|
|
12
|
+
**Note:** Version bump only for package @nativescript-community/ui-label
|
11
13
|
|
14
|
+
## [1.2.12](https://github.com/nativescript-community/ui-label/compare/v1.2.11...v1.2.12) (2022-09-16)
|
12
15
|
|
16
|
+
**Note:** Version bump only for package @nativescript-community/ui-label
|
13
17
|
|
14
18
|
## [1.2.11](https://github.com/nativescript-community/ui-label/compare/v1.2.10...v1.2.11) (2022-09-09)
|
15
19
|
|
16
20
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
17
21
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
22
|
## [1.2.10](https://github.com/nativescript-community/ui-label/compare/v1.2.9...v1.2.10) (2022-09-01)
|
23
23
|
|
24
24
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
26
|
## [1.2.9](https://github.com/nativescript-community/ui-label/compare/v1.2.8...v1.2.9) (2022-07-22)
|
31
27
|
|
32
28
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
33
29
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
30
|
## [1.2.8](https://github.com/nativescript-community/ui-label/compare/v1.2.7...v1.2.8) (2022-04-26)
|
39
31
|
|
40
32
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
41
33
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
34
|
## [1.2.7](https://github.com/nativescript-community/ui-label/compare/v1.2.6...v1.2.7) (2022-04-05)
|
47
35
|
|
48
36
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
49
37
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
38
|
## [1.2.6](https://github.com/nativescript-community/ui-label/compare/v1.2.5...v1.2.6) (2022-02-09)
|
55
39
|
|
56
40
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
57
41
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
42
|
## [1.2.5](https://github.com/nativescript-community/ui-label/compare/v1.2.4...v1.2.5) (2022-02-09)
|
63
43
|
|
64
44
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
65
45
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
46
|
## [1.2.4](https://github.com/nativescript-community/ui-label/compare/v1.2.3...v1.2.4) (2022-01-14)
|
71
47
|
|
72
|
-
|
73
48
|
### Bug Fixes
|
74
49
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
50
|
+
- uglify fix ([f04189f](https://github.com/nativescript-community/ui-label/commit/f04189f9838615d4eb037a6423fd245538860358))
|
80
51
|
|
81
52
|
## [1.2.3](https://github.com/nativescript-community/ui-label/compare/v1.2.2...v1.2.3) (2022-01-13)
|
82
53
|
|
83
54
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
84
55
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
56
|
## [1.2.2](https://github.com/nativescript-community/ui-label/compare/v1.2.1...v1.2.2) (2022-01-08)
|
90
57
|
|
91
58
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
92
59
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
60
|
## [1.2.1](https://github.com/nativescript-community/ui-label/compare/v1.2.0...v1.2.1) (2022-01-02)
|
98
61
|
|
99
62
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
100
63
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
64
|
# [1.2.0](https://github.com/nativescript-community/ui-label/compare/v1.1.25...v1.2.0) (2021-10-20)
|
106
65
|
|
107
|
-
|
108
66
|
### Features
|
109
67
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
68
|
+
- **android:** native-api-usage ([40d28dd](https://github.com/nativescript-community/ui-label/commit/40d28dd648d993f1a7d844c677e20e8dfb1d67c0))
|
115
69
|
|
116
70
|
## [1.1.25](https://github.com/nativescript-community/ui-label/compare/v1.1.24...v1.1.25) (2021-08-09)
|
117
71
|
|
118
72
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
119
73
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
74
|
## [1.1.24](https://github.com/nativescript-community/ui-label/compare/v1.1.23...v1.1.24) (2021-08-09)
|
125
75
|
|
126
76
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
127
77
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
78
|
## [1.1.23](https://github.com/nativescript-community/ui-label/compare/v1.1.22...v1.1.23) (2021-08-08)
|
133
79
|
|
134
80
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
135
81
|
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
82
|
## [1.1.22](https://github.com/nativescript-community/ui-label/compare/v1.1.21...v1.1.22) (2021-08-07)
|
141
83
|
|
142
84
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
143
85
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
86
|
## [1.1.21](https://github.com/nativescript-community/ui-label/compare/v1.1.20...v1.1.21) (2021-08-07)
|
149
87
|
|
150
|
-
|
151
88
|
### Bug Fixes
|
152
89
|
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
90
|
+
- **ios:** fix crashes with html text in pager ([404c0c0](https://github.com/nativescript-community/ui-label/commit/404c0c0b41ec96e4e5bb749ec74b62d400541d35))
|
158
91
|
|
159
92
|
## [1.1.20](https://github.com/nativescript-community/ui-label/compare/v1.1.19...v1.1.20) (2021-08-04)
|
160
93
|
|
161
94
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
162
95
|
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
96
|
## [1.1.19](https://github.com/nativescript-community/ui-label/compare/v1.1.18...v1.1.19) (2021-08-04)
|
168
97
|
|
169
98
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
170
99
|
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
100
|
## [1.1.18](https://github.com/nativescript-community/ui-label/compare/v1.1.17...v1.1.18) (2021-08-04)
|
176
101
|
|
177
102
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
178
103
|
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
104
|
## [1.1.17](https://github.com/nativescript-community/ui-label/compare/v1.1.16...v1.1.17) (2021-07-01)
|
184
105
|
|
185
106
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
186
107
|
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
108
|
## [1.1.16](https://github.com/nativescript-community/ui-label/compare/v1.1.15...v1.1.16) (2021-05-03)
|
192
109
|
|
193
110
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
194
111
|
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
112
|
## [1.1.15](https://github.com/nativescript-community/ui-label/compare/v1.1.14...v1.1.15) (2021-04-23)
|
200
113
|
|
201
114
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
202
115
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
116
|
## [1.1.14](https://github.com/nativescript-community/ui-label/compare/v1.1.13...v1.1.14) (2021-04-19)
|
208
117
|
|
209
118
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
210
119
|
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
120
|
## [1.1.13](https://github.com/nativescript-community/ui-label/compare/v1.1.12...v1.1.13) (2021-04-14)
|
216
121
|
|
217
|
-
|
218
122
|
### Bug Fixes
|
219
123
|
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
124
|
+
- NS8 and use createFormattedTextNative ([ee76186](https://github.com/nativescript-community/ui-label/commit/ee76186bf43da2fe8709856d6ae95a61f058ebe5))
|
225
125
|
|
226
126
|
## [1.1.12](https://github.com/nativescript-community/ui-label/compare/v1.1.11...v1.1.12) (2021-04-05)
|
227
127
|
|
228
128
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
229
129
|
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
130
|
## [1.1.11](https://github.com/nativescript-community/ui-label/compare/v1.1.10...v1.1.11) (2021-04-02)
|
235
131
|
|
236
132
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
237
133
|
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
134
|
## [1.1.10](https://github.com/nativescript-community/ui-label/compare/v1.1.9...v1.1.10) (2021-03-26)
|
243
135
|
|
244
136
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
245
137
|
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
138
|
## [1.1.9](https://github.com/nativescript-community/ui-label/compare/v1.1.8...v1.1.9) (2021-03-26)
|
251
139
|
|
252
140
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
253
141
|
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
142
|
## [1.1.8](https://github.com/nativescript-community/ui-label/compare/v1.1.7...v1.1.8) (2021-03-24)
|
259
143
|
|
260
144
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
261
145
|
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
146
|
## [1.1.7](https://github.com/nativescript-community/ui-label/compare/v1.1.6...v1.1.7) (2021-03-16)
|
267
147
|
|
268
148
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
269
149
|
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
150
|
## [1.1.6](https://github.com/nativescript-community/ui-label/compare/v1.1.5...v1.1.6) (2021-03-16)
|
275
151
|
|
276
|
-
|
277
152
|
### Bug Fixes
|
278
153
|
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
154
|
+
- **ios:** support fontWeight in html text ([114b439](https://github.com/nativescript-community/ui-label/commit/114b439a80742d8a4317364242c6f44b81dc7ed1))
|
284
155
|
|
285
156
|
## [1.1.5](https://github.com/nativescript-community/ui-label/compare/v1.1.4...v1.1.5) (2021-03-15)
|
286
157
|
|
287
|
-
|
288
158
|
### Bug Fixes
|
289
159
|
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
160
|
+
- **android:** ellipsing fix ([28ecba1](https://github.com/nativescript-community/ui-label/commit/28ecba1c019cdd4c805bff151223c7652c07f367))
|
295
161
|
|
296
162
|
## [1.1.4](https://github.com/nativescript-community/ui-label/compare/v1.1.3...v1.1.4) (2021-03-13)
|
297
163
|
|
298
|
-
|
299
164
|
### Bug Fixes
|
300
165
|
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
166
|
+
- **android:** ellipsing fix ([a1339a5](https://github.com/nativescript-community/ui-label/commit/a1339a57f5812945dc689fde81673034d261995a))
|
306
167
|
|
307
168
|
## [1.1.3](https://github.com/nativescript-community/ui-label/compare/v1.1.2...v1.1.3) (2021-03-13)
|
308
169
|
|
309
|
-
|
310
170
|
### Bug Fixes
|
311
171
|
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
172
|
+
- **android:** ellipsing (lineBreak) fix ([d9b314e](https://github.com/nativescript-community/ui-label/commit/d9b314e77753dc320197a614ffa4c177275faa22))
|
317
173
|
|
318
174
|
## [1.1.2](https://github.com/nativescript-community/ui-label/compare/v1.1.1...v1.1.2) (2021-03-08)
|
319
175
|
|
320
176
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
321
177
|
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
178
|
## [1.1.1](https://github.com/nativescript-community/ui-label/compare/v1.1.0...v1.1.1) (2021-02-16)
|
327
179
|
|
328
180
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
329
181
|
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
182
|
# [1.1.0](https://github.com/nativescript-community/ui-label/compare/v1.0.61...v1.1.0) (2021-02-12)
|
335
183
|
|
336
|
-
|
337
184
|
### Features
|
338
185
|
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
186
|
+
- better handle of span verticalAlignment ([e9cf77d](https://github.com/nativescript-community/ui-label/commit/e9cf77d9406ce4588adcd2ed8b535406d000da1d))
|
344
187
|
|
345
188
|
## [1.0.61](https://github.com/nativescript-community/ui-label/compare/v1.0.60...v1.0.61) (2020-12-20)
|
346
189
|
|
347
190
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
348
191
|
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
192
|
## [1.0.60](https://github.com/nativescript-community/ui-label/compare/v1.0.59...v1.0.60) (2020-11-27)
|
354
193
|
|
355
194
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
356
195
|
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
196
|
## [1.0.59](https://github.com/nativescript-community/ui-label/compare/v1.0.58...v1.0.59) (2020-11-26)
|
362
197
|
|
363
198
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
364
199
|
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
200
|
## [1.0.58](https://github.com/nativescript-community/ui-label/compare/v1.0.57...v1.0.58) (2020-11-26)
|
370
201
|
|
371
202
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
372
203
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
204
|
## [1.0.57](https://github.com/nativescript-community/ui-label/compare/v1.0.56...v1.0.57) (2020-11-23)
|
378
205
|
|
379
|
-
|
380
206
|
### Bug Fixes
|
381
207
|
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
208
|
+
- dep update ([d1913db](https://github.com/nativescript-community/ui-label/commit/d1913db1b81183501367ad5d6550472ee7ed6b10))
|
387
209
|
|
388
210
|
## [1.0.56](https://github.com/nativescript-community/ui-label/compare/v1.0.55...v1.0.56) (2020-11-23)
|
389
211
|
|
390
212
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
391
213
|
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
214
|
## [1.0.55](https://github.com/nativescript-community/ui-label/compare/v1.0.54...v1.0.55) (2020-11-22)
|
397
215
|
|
398
216
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
399
217
|
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
218
|
## [1.0.54](https://github.com/Akylas/nativescript-label/compare/v1.0.53...v1.0.54) (2020-11-16)
|
405
219
|
|
406
220
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
407
221
|
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
222
|
## [1.0.53](https://github.com/Akylas/nativescript-label/compare/v1.0.52...v1.0.53) (2020-10-29)
|
413
223
|
|
414
|
-
|
415
224
|
### Bug Fixes
|
416
225
|
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
226
|
+
- update text for crash ([a592fe9](https://github.com/Akylas/nativescript-label/commit/a592fe95afaa9ac12a195f8735dd752bfddeb856))
|
422
227
|
|
423
228
|
## [1.0.52](https://github.com/Akylas/nativescript-label/compare/v1.0.51...v1.0.52) (2020-10-23)
|
424
229
|
|
425
|
-
|
426
230
|
### Bug Fixes
|
427
231
|
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
232
|
+
- support latest text plugin ([2d200bc](https://github.com/Akylas/nativescript-label/commit/2d200bc0243338eb1752701f3fbd8e106491e72b))
|
433
233
|
|
434
234
|
## [1.0.51](https://github.com/Akylas/nativescript-label/compare/v1.0.50...v1.0.51) (2020-10-23)
|
435
235
|
|
436
236
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
437
237
|
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
238
|
## [1.0.50](https://github.com/Akylas/nativescript-label/compare/v1.0.49...v1.0.50) (2020-10-21)
|
443
239
|
|
444
240
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
445
241
|
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
242
|
## [1.0.49](https://github.com/Akylas/nativescript-label/compare/v1.0.48...v1.0.49) (2020-10-11)
|
451
243
|
|
452
244
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
453
245
|
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
246
|
## [1.0.48](https://github.com/Akylas/nativescript-label/compare/v1.0.47...v1.0.48) (2020-10-10)
|
459
247
|
|
460
248
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
461
249
|
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
250
|
## [1.0.47](https://github.com/Akylas/nativescript-label/compare/v1.0.46...v1.0.47) (2020-10-08)
|
467
251
|
|
468
|
-
|
469
252
|
### Bug Fixes
|
470
253
|
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
254
|
+
- android inherit AppCompatTextView ([01ce47e](https://github.com/Akylas/nativescript-label/commit/01ce47e675b439fd385324f4eaadb686f6550d28))
|
255
|
+
- use @nativescript-community/text ([d0c58d5](https://github.com/Akylas/nativescript-label/commit/d0c58d524c02625480fb128434bbfaae434fe1e6))
|
477
256
|
|
478
257
|
## [1.0.46](https://github.com/Akylas/nativescript-label/compare/v1.0.45...v1.0.46) (2020-10-07)
|
479
258
|
|
480
|
-
|
481
259
|
### Bug Fixes
|
482
260
|
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
261
|
+
- some android font loading fixes ([d7ae654](https://github.com/Akylas/nativescript-label/commit/d7ae65416717bddbc0f1cd4ce0ac0632d212a7c5))
|
488
262
|
|
489
263
|
## [1.0.45](https://github.com/nativescript-community/ui-label/compare/v1.0.44...v1.0.45) (2020-09-08)
|
490
264
|
|
491
265
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
492
266
|
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
267
|
## [1.0.44](https://github.com/nativescript-community/ui-label/compare/v1.0.43...v1.0.44) (2020-09-06)
|
498
268
|
|
499
269
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
500
270
|
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
271
|
## [1.0.43](https://github.com/nativescript-community/ui-label/compare/v1.0.42...v1.0.43) (2020-08-07)
|
506
272
|
|
507
273
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
508
274
|
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
275
|
## [1.0.42](https://github.com/nativescript-community/ui-label/compare/v1.0.41...v1.0.42) (2020-08-07)
|
514
276
|
|
515
277
|
**Note:** Version bump only for package @nativescript-community/ui-label
|
516
278
|
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
279
|
## [1.0.41](https://github.com/nativescript-community/ui-label/compare/v1.0.40...v1.0.41) (2020-07-26)
|
522
280
|
|
523
281
|
**Note:** Version bump only for package nativescript-htmllabel
|
524
282
|
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
283
|
## [1.0.40](https://github.com/nativescript-community/ui-label/compare/v1.0.39...v1.0.40) (2020-07-26)
|
530
284
|
|
531
|
-
|
532
285
|
### Bug Fixes
|
533
286
|
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
287
|
+
- **android:** correctly handle semibold font ([a3bb69a](https://github.com/nativescript-community/ui-label/commit/a3bb69afcdcd6b6333adb72b2c63d7290f5564b0))
|
539
288
|
|
540
289
|
## [1.0.39](https://github.com/nativescript-community/ui-label/compare/v1.0.38...v1.0.39) (2020-05-28)
|
541
290
|
|
542
|
-
|
543
291
|
### Bug Fixes
|
544
292
|
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
293
|
+
- **android:** another fix… ([731d643](https://github.com/nativescript-community/ui-label/commit/731d6435280dc34918a480aa0754d76be09ecfea))
|
550
294
|
|
551
295
|
## [1.0.38](https://github.com/nativescript-community/ui-label/compare/v1.0.37...v1.0.38) (2020-05-28)
|
552
296
|
|
553
|
-
|
554
297
|
### Bug Fixes
|
555
298
|
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
299
|
+
- **android:** NPE fix ([079ab05](https://github.com/nativescript-community/ui-label/commit/079ab05b133d1f357dddb944295ef4ac2ea72e9d))
|
561
300
|
|
562
301
|
## [1.0.37](https://github.com/nativescript-community/ui-label/compare/v1.0.36...v1.0.37) (2020-05-28)
|
563
302
|
|
564
|
-
|
565
303
|
### Bug Fixes
|
566
304
|
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
305
|
+
- **android:** NPE fix ([a50a314](https://github.com/nativescript-community/ui-label/commit/a50a31477d69453207284f05e3e1b429f12342e6))
|
572
306
|
|
573
307
|
## [1.0.36](https://github.com/nativescript-community/ui-label/compare/v1.0.35...v1.0.36) (2020-05-21)
|
574
308
|
|
575
309
|
**Note:** Version bump only for package nativescript-htmllabel
|
576
310
|
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
311
|
## [1.0.35](https://github.com/nativescript-community/ui-label/compare/v1.0.34...v1.0.35) (2020-05-21)
|
582
312
|
|
583
|
-
|
584
313
|
### Bug Fixes
|
585
314
|
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
315
|
+
- sideEffects for tree shacking ([aeb8192](https://github.com/nativescript-community/ui-label/commit/aeb8192c1ebe251df27b6eea1deaacbe07c07719))
|
591
316
|
|
592
317
|
## [1.0.34](https://github.com/nativescript-community/ui-label/compare/v1.0.33...v1.0.34) (2020-05-21)
|
593
318
|
|
594
319
|
**Note:** Version bump only for package nativescript-htmllabel
|
595
320
|
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
321
|
## [1.0.33](https://github.com/nativescript-community/ui-label/compare/v1.0.32...v1.0.33) (2020-05-21)
|
601
322
|
|
602
323
|
**Note:** Version bump only for package nativescript-htmllabel
|
603
324
|
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
325
|
## [1.0.32](https://github.com/nativescript-community/ui-label/compare/v1.0.31...v1.0.32) (2020-05-10)
|
609
326
|
|
610
|
-
|
611
327
|
### Bug Fixes
|
612
328
|
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
329
|
+
- **android:** faster TextView creation ([e4a47a3](https://github.com/nativescript-community/ui-label/commit/e4a47a361ac474141732bc1d130a2cf8d86d1e26))
|
618
330
|
|
619
331
|
## [1.0.31](https://github.com/nativescript-community/ui-label/compare/v1.0.30...v1.0.31) (2020-05-08)
|
620
332
|
|
621
|
-
|
622
333
|
### Bug Fixes
|
623
334
|
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
335
|
+
- **android:** fix some edge case font names ([7c0bcff](https://github.com/nativescript-community/ui-label/commit/7c0bcffeabbdd543c4c27a63964d7777bdd49a22))
|
629
336
|
|
630
337
|
## [1.0.30](https://github.com/nativescript-community/ui-label/compare/v1.0.29...v1.0.30) (2020-05-02)
|
631
338
|
|
632
|
-
|
633
339
|
### Bug Fixes
|
634
340
|
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
341
|
+
- **android:** rewrote the html parser to make it faster ([8930751](https://github.com/nativescript-community/ui-label/commit/8930751ae19010c3727f3a839acbc4bd51d5beca))
|
640
342
|
|
641
343
|
## [1.0.29](https://github.com/nativescript-community/ui-label/compare/v1.0.28...v1.0.29) (2020-05-01)
|
642
344
|
|
643
|
-
|
644
345
|
### Bug Fixes
|
645
346
|
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
347
|
+
- **android:** custom fromHTML to add more tags support ([b89d3a8](https://github.com/nativescript-community/ui-label/commit/b89d3a80b9368239c09c703a83b6540b346c5153))
|
651
348
|
|
652
349
|
## [1.0.28](https://github.com/nativescript-community/ui-label/compare/v1.0.27...v1.0.28) (2020-04-29)
|
653
350
|
|
654
351
|
**Note:** Version bump only for package nativescript-htmllabel
|
655
352
|
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
353
|
## [1.0.27](https://github.com/nativescript-community/ui-label/compare/v1.0.26...v1.0.27) (2020-03-30)
|
661
354
|
|
662
|
-
|
663
355
|
### Bug Fixes
|
664
356
|
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
357
|
+
- **android:** use new textview class to fix multi lines ellipsize ([b3feeee](https://github.com/nativescript-community/ui-label/commit/b3feeee4f9a616123d3b8456c19161fbaca430d3))
|
670
358
|
|
671
359
|
## [1.0.26](https://github.com/nativescript-community/ui-label/compare/v1.0.25...v1.0.26) (2020-03-05)
|
672
360
|
|
673
|
-
|
674
361
|
### Bug Fixes
|
675
362
|
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
363
|
+
- **android:** wrong weight for spans ([8da7923](https://github.com/nativescript-community/ui-label/commit/8da792322f5318bf3b600567b166a7aa9e201229))
|
681
364
|
|
682
365
|
## [1.0.25](https://github.com/nativescript-community/ui-label/compare/v1.0.24...v1.0.25) (2020-03-04)
|
683
366
|
|
684
367
|
**Note:** Version bump only for package nativescript-htmllabel
|
685
368
|
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
369
|
## [1.0.24](https://github.com/nativescript-community/ui-label/compare/v1.0.23...v1.0.24) (2020-03-04)
|
691
370
|
|
692
371
|
**Note:** Version bump only for package nativescript-htmllabel
|
693
372
|
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
373
|
## [1.0.23](https://github.com/nativescript-community/ui-label/compare/v1.0.22...v1.0.23) (2020-03-02)
|
699
374
|
|
700
375
|
**Note:** Version bump only for package nativescript-htmllabel
|
701
376
|
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
377
|
## [1.0.22](https://github.com/nativescript-community/ui-label/compare/v1.0.21...v1.0.22) (2020-02-27)
|
707
378
|
|
708
379
|
**Note:** Version bump only for package nativescript-htmllabel
|
709
380
|
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
381
|
## [1.0.21](https://github.com/nativescript-community/ui-label/compare/v1.0.20...v1.0.21) (2020-02-26)
|
715
382
|
|
716
|
-
|
717
383
|
### Bug Fixes
|
718
384
|
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
385
|
+
- **android:** fixed parsing of font family ([09412f2](https://github.com/nativescript-community/ui-label/commit/09412f2c5090798b61a12550beea6dd47571ee54))
|
724
386
|
|
725
387
|
## [1.0.20](https://github.com/nativescript-community/ui-label/compare/v1.0.19...v1.0.20) (2020-02-17)
|
726
388
|
|
727
389
|
**Note:** Version bump only for package nativescript-htmllabel
|
728
390
|
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
391
|
## [1.0.19](https://github.com/nativescript-community/ui-label/compare/v1.0.18...v1.0.19) (2020-02-17)
|
734
392
|
|
735
393
|
**Note:** Version bump only for package nativescript-htmllabel
|
736
394
|
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
395
|
## [1.0.18](https://github.com/nativescript-community/ui-label/compare/v1.0.17...v1.0.18) (2020-02-14)
|
742
396
|
|
743
|
-
|
744
397
|
### Bug Fixes
|
745
398
|
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
399
|
+
- **ios:** dont use DTCoreText anymore ([9895c56](https://github.com/nativescript-community/ui-label/commit/9895c56e52f1aa76179ffaba1ed83440606e5574))
|
751
400
|
|
752
401
|
## [1.0.17](https://github.com/nativescript-community/ui-label/compare/v1.0.16...v1.0.17) (2020-02-12)
|
753
402
|
|
754
|
-
|
755
403
|
### Bug Fixes
|
756
404
|
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
405
|
+
- **android:** full rewrite to improve perfs ([45663b8](https://github.com/nativescript-community/ui-label/commit/45663b81ea7f4e112d2ccddf2607e3cea04dd19b))
|
762
406
|
|
763
407
|
## [1.0.16](https://github.com/nativescript-community/ui-label/compare/v1.0.15...v1.0.16) (2020-02-11)
|
764
408
|
|
765
|
-
|
766
409
|
### Bug Fixes
|
767
410
|
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
411
|
+
- **android:** starting android label rewrite ([36badf8](https://github.com/nativescript-community/ui-label/commit/36badf821b4d0f4cbde45c85e5d18ab5bc588d72))
|
773
412
|
|
774
413
|
## [1.0.15](https://github.com/nativescript-community/ui-label/compare/v1.0.14...v1.0.15) (2020-02-07)
|
775
414
|
|
776
415
|
**Note:** Version bump only for package nativescript-htmllabel
|
777
416
|
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
417
|
## [1.0.14](https://github.com/nativescript-community/ui-label/compare/v1.0.13...v1.0.14) (2019-10-18)
|
783
418
|
|
784
419
|
**Note:** Version bump only for package nativescript-htmllabel
|
785
420
|
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
421
|
## [1.0.13](https://github.com/nativescript-community/ui-label/compare/v1.0.12...v1.0.13) (2019-10-16)
|
791
422
|
|
792
423
|
**Note:** Version bump only for package nativescript-htmllabel
|
793
424
|
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
425
|
## [1.0.12](https://github.com/nativescript-community/ui-label/compare/v1.0.11...v1.0.12) (2019-10-16)
|
799
426
|
|
800
427
|
**Note:** Version bump only for package nativescript-htmllabel
|
801
428
|
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
429
|
## [1.0.11](https://github.com/nativescript-community/ui-label/compare/v1.0.10...v1.0.11) (2019-08-22)
|
807
430
|
|
808
431
|
**Note:** Version bump only for package nativescript-htmllabel
|
809
432
|
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
433
|
## [1.0.10](https://github.com/nativescript-community/ui-label/compare/v1.0.9...v1.0.10) (2019-08-02)
|
815
434
|
|
816
435
|
**Note:** Version bump only for package nativescript-htmllabel
|
817
436
|
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
437
|
## [1.0.9](https://github.com/nativescript-community/ui-label/compare/v1.0.8...v1.0.9) (2019-07-29)
|
823
438
|
|
824
439
|
**Note:** Version bump only for package nativescript-htmllabel
|
825
440
|
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
441
|
## [1.0.8](https://github.com/nativescript-community/ui-label/compare/v1.0.7...v1.0.8) (2019-07-12)
|
831
442
|
|
832
443
|
**Note:** Version bump only for package nativescript-htmllabel
|
833
444
|
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
445
|
## 1.0.7 (2019-07-12)
|
839
446
|
|
840
|
-
|
841
447
|
### Bug Fixes
|
842
448
|
|
843
|
-
|
449
|
+
- remove unused dep ([cddd627](https://github.com/nativescript-community/ui-label/commit/cddd627))
|
package/label-common.d.ts
CHANGED
@@ -21,7 +21,6 @@ export declare abstract class LabelBase extends TNLabel implements LabelViewDefi
|
|
21
21
|
onResumeNativeUpdates(): void;
|
22
22
|
}
|
23
23
|
export declare const htmlProperty: Property<LabelBase, string>;
|
24
|
-
export declare const maxLinesProperty: Property<LabelBase, number>;
|
25
24
|
export declare const lineBreakProperty: CssProperty<Style, string>;
|
26
25
|
export declare const linkColorProperty: CssProperty<Style, Color>;
|
27
26
|
export declare const linkUnderlineProperty: CssProperty<Style, boolean>;
|
package/label-common.js
CHANGED
@@ -92,11 +92,6 @@ export const htmlProperty = new Property({
|
|
92
92
|
affectsLayout: global.isAndroid
|
93
93
|
});
|
94
94
|
htmlProperty.register(LabelBase);
|
95
|
-
export const maxLinesProperty = new Property({
|
96
|
-
name: 'maxLines',
|
97
|
-
affectsLayout: global.isAndroid
|
98
|
-
});
|
99
|
-
maxLinesProperty.register(LabelBase);
|
100
95
|
export const lineBreakProperty = new CssProperty({
|
101
96
|
name: 'lineBreak',
|
102
97
|
cssName: 'line-break'
|
package/label.android.js
CHANGED
@@ -51,26 +51,27 @@ function initializeClickableSpan() {
|
|
51
51
|
if (ClickableSpan) {
|
52
52
|
return;
|
53
53
|
}
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
54
|
+
let ClickableSpanImpl = class ClickableSpanImpl extends android.text.style.ClickableSpan {
|
55
|
+
constructor(owner) {
|
56
|
+
super();
|
57
|
+
this.owner = new WeakRef(owner);
|
58
|
+
return global.__native(this);
|
59
|
+
}
|
60
|
+
onClick(view) {
|
61
|
+
const owner = this.owner.get();
|
62
|
+
if (owner) {
|
63
|
+
owner._emit(Span.linkTapEvent);
|
64
|
+
}
|
65
|
+
view.clearFocus();
|
66
|
+
view.invalidate();
|
67
|
+
}
|
68
|
+
updateDrawState(tp) {
|
69
|
+
// don't style as link
|
70
|
+
}
|
71
71
|
};
|
72
|
-
|
73
|
-
|
72
|
+
ClickableSpanImpl = __decorate([
|
73
|
+
NativeClass
|
74
|
+
], ClickableSpanImpl);
|
74
75
|
ClickableSpan = ClickableSpanImpl;
|
75
76
|
}
|
76
77
|
// eslint-disable-next-line no-redeclare
|
@@ -79,35 +80,36 @@ function initializeURLClickableSpan() {
|
|
79
80
|
if (URLClickableSpan) {
|
80
81
|
return;
|
81
82
|
}
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
return global.__native(_this);
|
88
|
-
}
|
89
|
-
URLClickableSpanImpl.prototype.onClick = function (view) {
|
90
|
-
var owner = this.owner.get();
|
91
|
-
if (owner) {
|
92
|
-
owner.notify({ eventName: Span.linkTapEvent, object: owner, link: this.getURL() });
|
83
|
+
let URLClickableSpanImpl = class URLClickableSpanImpl extends android.text.style.URLSpan {
|
84
|
+
constructor(url, owner) {
|
85
|
+
super(url);
|
86
|
+
this.owner = new WeakRef(owner);
|
87
|
+
return global.__native(this);
|
93
88
|
}
|
94
|
-
view
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
89
|
+
onClick(view) {
|
90
|
+
const owner = this.owner.get();
|
91
|
+
if (owner) {
|
92
|
+
owner.notify({ eventName: Span.linkTapEvent, object: owner, link: this.getURL() });
|
93
|
+
}
|
94
|
+
view.clearFocus();
|
95
|
+
view.invalidate();
|
101
96
|
}
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
97
|
+
updateDrawState(tp) {
|
98
|
+
const owner = this.owner.get();
|
99
|
+
if (!owner || owner.linkUnderline !== false) {
|
100
|
+
super.updateDrawState(tp);
|
101
|
+
}
|
102
|
+
if (owner && owner.linkColor) {
|
103
|
+
const color = !owner.linkColor || owner.linkColor instanceof Color
|
104
|
+
? owner.linkColor
|
105
|
+
: new Color(owner.linkColor);
|
106
|
+
tp.setColor(color.android);
|
107
|
+
}
|
107
108
|
}
|
108
109
|
};
|
109
|
-
|
110
|
-
|
110
|
+
URLClickableSpanImpl = __decorate([
|
111
|
+
NativeClass
|
112
|
+
], URLClickableSpanImpl);
|
111
113
|
URLClickableSpan = URLClickableSpanImpl;
|
112
114
|
}
|
113
115
|
let LabelBase = class LabelBase extends View {
|
package/label.ios.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
var LabelUITextViewDelegateImpl_1;
|
1
2
|
var _a, _b, _c, _d;
|
2
3
|
import { createNativeAttributedString, verticalTextAlignmentProperty } from '@nativescript-community/text';
|
3
4
|
import { Color, Font, Span, View } from '@nativescript/core';
|
@@ -59,48 +60,44 @@ function whiteSpaceToLineBreakMode(value) {
|
|
59
60
|
return 4 /* NSLineBreakMode.ByTruncatingTail */;
|
60
61
|
}
|
61
62
|
}
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
66
|
-
}
|
67
|
-
LabelUITextViewDelegateImpl.initWithOwner = function (owner) {
|
68
|
-
var impl = LabelUITextViewDelegateImpl.new();
|
63
|
+
let LabelUITextViewDelegateImpl = LabelUITextViewDelegateImpl_1 = class LabelUITextViewDelegateImpl extends NSObject {
|
64
|
+
static initWithOwner(owner) {
|
65
|
+
const impl = LabelUITextViewDelegateImpl_1.new();
|
69
66
|
impl._owner = owner;
|
70
67
|
return impl;
|
71
|
-
}
|
72
|
-
|
73
|
-
|
68
|
+
}
|
69
|
+
textViewShouldInteractWithURLInRangeInteraction(textView, URL, characterRange, interaction) {
|
70
|
+
const owner = this._owner.get();
|
74
71
|
if (owner) {
|
75
72
|
return owner.textViewShouldInteractWithURLInRangeInteraction(textView, URL, characterRange, interaction);
|
76
73
|
}
|
77
74
|
return false;
|
78
|
-
}
|
79
|
-
|
80
|
-
|
75
|
+
}
|
76
|
+
textViewDidChange(textView) {
|
77
|
+
const owner = this._owner.get();
|
81
78
|
if (owner) {
|
82
79
|
owner.textViewDidChange(textView);
|
83
80
|
}
|
84
|
-
};
|
85
|
-
LabelUITextViewDelegateImpl.ObjCProtocols = [UITextViewDelegate];
|
86
|
-
return LabelUITextViewDelegateImpl;
|
87
|
-
}(NSObject));
|
88
|
-
var LabelObserverClass = /** @class */ (function (_super) {
|
89
|
-
__extends(LabelObserverClass, _super);
|
90
|
-
function LabelObserverClass() {
|
91
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
92
81
|
}
|
82
|
+
};
|
83
|
+
LabelUITextViewDelegateImpl.ObjCProtocols = [UITextViewDelegate];
|
84
|
+
LabelUITextViewDelegateImpl = LabelUITextViewDelegateImpl_1 = __decorate([
|
85
|
+
NativeClass
|
86
|
+
], LabelUITextViewDelegateImpl);
|
87
|
+
let LabelObserverClass = class LabelObserverClass extends NSObject {
|
93
88
|
// NOTE: Refactor this - use Typescript property instead of strings....
|
94
|
-
|
89
|
+
observeValueForKeyPathOfObjectChangeContext(path, tv) {
|
95
90
|
if (path === 'contentSize') {
|
96
|
-
|
91
|
+
const owner = this._owner && this._owner.get();
|
97
92
|
if (owner) {
|
98
93
|
owner.updateTextContainerInset();
|
99
94
|
}
|
100
95
|
}
|
101
|
-
}
|
102
|
-
|
103
|
-
|
96
|
+
}
|
97
|
+
};
|
98
|
+
LabelObserverClass = __decorate([
|
99
|
+
NativeClass
|
100
|
+
], LabelObserverClass);
|
104
101
|
export class Label extends LabelBase {
|
105
102
|
constructor() {
|
106
103
|
super(...arguments);
|
@@ -319,7 +316,7 @@ export class Label extends LabelBase {
|
|
319
316
|
fontSize = this.fontSize || (font === null || font === void 0 ? void 0 : font.pointSize) || 17;
|
320
317
|
}
|
321
318
|
const fontWeight = this.style.fontWeight;
|
322
|
-
const familyName = this.style.fontFamily || (this.style.fontInternal && this.style.fontInternal.fontFamily) ||
|
319
|
+
const familyName = this.style.fontFamily || (this.style.fontInternal && this.style.fontInternal.fontFamily) || undefined;
|
323
320
|
const result = createNativeAttributedString({
|
324
321
|
text: this.html,
|
325
322
|
fontSize,
|
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.14",
|
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.5.9"
|
36
36
|
},
|
37
|
-
"gitHead": "
|
37
|
+
"gitHead": "8e25e7262711dca1e2742e0c8e16c50db611afa5"
|
38
38
|
}
|
package/pnpm-lock.yaml
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
dependencies:
|
2
|
-
'@nativescript-community/text': 1.4.9
|
3
|
-
lockfileVersion: 5.2
|
4
|
-
packages:
|
5
|
-
/@nativescript-community/text/1.4.9:
|
6
|
-
dev: false
|
7
|
-
resolution:
|
8
|
-
integrity: sha512-U90qiuD513AY38rtNqyy67+7g2foup95kpnxkCiaJuBSkBf8nbdLpuLur9oOuCqndAw0X/N1gklE+tq2/BF0DA==
|
9
|
-
specifiers:
|
10
|
-
'@nativescript-community/text': ^1.4.9
|
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
|
-
}
|