Skip to content

Commit f07d497

Browse files
committed
fix: use @nativescript-community/text
1 parent 2cb1e6c commit f07d497

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"@commitlint/config-conventional": "^11.0.0",
5858
"@nativescript/angular": "~10.1.5",
5959
"@nativescript/hook": "~2.0.0",
60+
"@nativescript-community/text": "^1.2.5",
6061
"nativescript": "7.0.10",
6162
"@nativescript/core": "7.0.10",
6263
"@nativescript/types": "7.0.4",

packages/button/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"repository": "https://github.com/Akylas/nativescript-material-components",
3838
"readmeFilename": "README.md",
3939
"dependencies": {
40+
"@nativescript-community/text": "^1.2.5",
4041
"@nativescript-community/ui-material-core": "^5.0.14"
4142
},
4243
"gitHead": "bd4421242dd4aba6711039ed7c499b3647bdbebc"

src/button/button.android.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { VerticalTextAlignment, dynamicElevationOffsetProperty, elevationProperty, rippleColorProperty, verticalTextAlignmentProperty } from '@nativescript-community/ui-material-core';
2-
import { createStateListAnimator, getEnabledColorStateList, getLayout, isPostLollipop } from '@nativescript-community/ui-material-core/android/utils';
1+
import { VerticalTextAlignment, verticalTextAlignmentProperty } from '@nativescript-community/text';
2+
import { dynamicElevationOffsetProperty, elevationProperty, rippleColorProperty } from '@nativescript-community/ui-material-core';
3+
import { createStateListAnimator, getLayout, isPostLollipop } from '@nativescript-community/ui-material-core/android/utils';
34
import { Background, Color, Length, TextTransform, androidDynamicElevationOffsetProperty, androidElevationProperty, backgroundInternalProperty, profile, textTransformProperty } from '@nativescript/core';
45
import { ButtonBase } from './button-common';
56

0 commit comments

Comments
 (0)