@tamagui/text 1.45.5 → 1.45.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/text",
3
- "version": "1.45.5",
3
+ "version": "1.45.7",
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.45.5",
35
- "@tamagui/helpers-tamagui": "1.45.5",
36
- "@tamagui/web": "1.45.5"
34
+ "@tamagui/get-font-sized": "1.45.7",
35
+ "@tamagui/helpers-tamagui": "1.45.7",
36
+ "@tamagui/web": "1.45.7"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "*"
40
40
  },
41
41
  "devDependencies": {
42
- "@tamagui/build": "1.45.5",
42
+ "@tamagui/build": "1.45.7",
43
43
  "react": "^18.2.0"
44
44
  },
45
45
  "publishConfig": {
@@ -11,9 +11,9 @@ const variants = {
11
11
  size: getFontSized,
12
12
  } as const
13
13
 
14
- // avoid types this is weird stuff
15
- // this is a bit odd but we need it because otherwise if a parent sets
14
+ // this is odd but we need it because otherwise if a parent sets
16
15
  // a new fontFamily it wont go through size variant unless size also set
16
+ // and its messing up types due to overlap with stlye prop so doing super odd stuff
17
17
  variants['fontFamily'] = {
18
18
  '...': (_, extras) => {
19
19
  const size = extras.props['size'] || '$true'