@tamagui/text 1.79.5 → 1.79.6
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/package.json +5 -5
- package/src/SizableText.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/text",
|
|
3
|
-
"version": "1.79.
|
|
3
|
+
"version": "1.79.6",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tamagui/get-font-sized": "1.79.
|
|
35
|
-
"@tamagui/helpers-tamagui": "1.79.
|
|
36
|
-
"@tamagui/web": "1.79.
|
|
34
|
+
"@tamagui/get-font-sized": "1.79.6",
|
|
35
|
+
"@tamagui/helpers-tamagui": "1.79.6",
|
|
36
|
+
"@tamagui/web": "1.79.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "*"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@tamagui/build": "1.79.
|
|
42
|
+
"@tamagui/build": "1.79.6",
|
|
43
43
|
"react": "^18.2.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
package/src/SizableText.tsx
CHANGED
|
@@ -14,7 +14,7 @@ const variants = {
|
|
|
14
14
|
|
|
15
15
|
// this is odd but we need it because otherwise if a parent sets
|
|
16
16
|
// a new fontFamily it wont go through size variant unless size also set
|
|
17
|
-
// and its messing up types due to overlap with
|
|
17
|
+
// and its messing up types due to overlap with style prop so doing super odd stuff
|
|
18
18
|
variants['fontFamily'] = {
|
|
19
19
|
'...': (_, extras) => {
|
|
20
20
|
const size = extras.props['size'] || '$true'
|