Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nativescript-community/ui-label
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.27
Choose a base ref
...
head repository: nativescript-community/ui-label
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.28
Choose a head ref
  • 2 commits
  • 6 files changed
  • 1 contributor

Commits on May 22, 2024

  1. fix(android): missing fontVariationSettings support

    farfromrefug committed May 22, 2024
    Copy the full SHA
    6b54a52 View commit details
  2. v1.3.28

    farfromrefug committed May 22, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    62ff93a View commit details
Showing with 18 additions and 5 deletions.
  1. +6 −0 CHANGELOG.md
  2. +1 −1 lerna.json
  3. +1 −1 package.json
  4. +6 −0 plugin/CHANGELOG.md
  5. +2 −2 plugin/package.json
  6. +2 −1 src/label.android.ts
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.3.28](https://github.com/nativescript-community/ui-label/compare/v1.3.27...v1.3.28) (2024-05-22)

### Bug Fixes

- **android:** missing fontVariationSettings support ([6b54a52](https://github.com/nativescript-community/ui-label/commit/6b54a52391fa156e95a207bcdda4c4bde6e764bb))

## [1.3.27](https://github.com/nativescript-community/ui-label/compare/v1.3.26...v1.3.27) (2024-05-02)

### Bug Fixes
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages": ["plugin"],
"version": "1.3.27",
"version": "1.3.28",
"command": {
"publish": {
"conventionalCommits": true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@nativescript-community/text": "^1.5.45",
"@nativescript-community/text": "^1.6.0",
"@nativescript/core": "8.4.7",
"@nativescript/types-android": "8.4.0",
"@nativescript/types-ios": "8.4.0",
6 changes: 6 additions & 0 deletions plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.3.28](https://github.com/nativescript-community/ui-label/compare/v1.3.27...v1.3.28) (2024-05-22)

### Bug Fixes

- **android:** missing fontVariationSettings support ([6b54a52](https://github.com/nativescript-community/ui-label/commit/6b54a52391fa156e95a207bcdda4c4bde6e764bb))

## [1.3.27](https://github.com/nativescript-community/ui-label/compare/v1.3.26...v1.3.27) (2024-05-02)

**Note:** Version bump only for package @nativescript-community/ui-label
4 changes: 2 additions & 2 deletions plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript-community/ui-label",
"version": "1.3.27",
"version": "1.3.28",
"description": "Alternative to the built-in NativeScript Label but with better performance and additional features such as HTML rendering and more.",
"main": "./label",
"sideEffects": false,
@@ -32,7 +32,7 @@
"license": "Apache-2.0",
"readmeFilename": "README.md",
"dependencies": {
"@nativescript-community/text": "^1.5.47"
"@nativescript-community/text": "^1.6.0"
},
"gitHead": "a08eb50756c9a5d16fc8aa6ff7fba0051c71d1e0"
}
3 changes: 2 additions & 1 deletion src/label.android.ts
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ import {
} from '@nativescript/core';
import { Color } from '@nativescript/core/color';
import { CSSShadow } from '@nativescript/core/ui/styling/css-shadow';
import { Font, FontStyleType, FontWeightType } from '@nativescript/core/ui/styling/font';
import { Font, FontStyleType, FontVariationSettingsType, FontWeightType } from '@nativescript/core/ui/styling/font';
import {
Length,
colorProperty,
@@ -107,6 +107,7 @@ abstract class LabelBase extends View implements LabelViewDefinition {
_setTappableState(value: boolean) {}

@cssProperty fontFamily: string;
@cssProperty fontVariationSettings: FontVariationSettingsType[];
@cssProperty fontSize: number;
@cssProperty fontStyle: FontStyleType;
@cssProperty fontWeight: FontWeightType;