@tamagui/text 1.0.1-beta.48 → 1.0.1-beta.49
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/dist/cjs/SizableText.js
CHANGED
|
@@ -30,6 +30,8 @@ const SizableText = (0, import_core.styled)(import_core.Text, {
|
|
|
30
30
|
defaultVariants: {
|
|
31
31
|
size: "$4"
|
|
32
32
|
}
|
|
33
|
+
}, {
|
|
34
|
+
inlineWhenUnflattened: /* @__PURE__ */ new Set(["fontFamily"])
|
|
33
35
|
});
|
|
34
36
|
// Annotate the CommonJS export names for ESM import in node:
|
|
35
37
|
0 && (module.exports = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SizableText.tsx"],
|
|
4
|
-
"sourcesContent": ["import { GetProps, Text, getTextSize, styled } from '@tamagui/core'\n\nexport const SizableText = styled(Text
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAoD;AAE7C,MAAM,cAAc,
|
|
4
|
+
"sourcesContent": ["import { GetProps, Text, getTextSize, styled } from '@tamagui/core'\n\nexport const SizableText = styled(\n Text,\n {\n name: 'SizableText',\n fontFamily: '$body',\n\n variants: {\n size: getTextSize,\n },\n\n defaultVariants: {\n size: '$4',\n },\n },\n {\n inlineWhenUnflattened: new Set(['fontFamily']),\n }\n)\n\nexport type SizableTextProps = GetProps<typeof SizableText>\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAoD;AAE7C,MAAM,cAAc,wBACzB,kBACA;AAAA,EACE,MAAM;AAAA,EACN,YAAY;AAAA,EAEZ,UAAU;AAAA,IACR,MAAM;AAAA,EACR;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,GACA;AAAA,EACE,uBAAuB,oBAAI,IAAI,CAAC,YAAY,CAAC;AAC/C,CACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/SizableText.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SizableText.tsx"],
|
|
4
|
-
"sourcesContent": ["import { GetProps, Text, getTextSize, styled } from '@tamagui/core'\n\nexport const SizableText = styled(Text
|
|
5
|
-
"mappings": "AAAA;AAEO,MAAM,cAAc,
|
|
4
|
+
"sourcesContent": ["import { GetProps, Text, getTextSize, styled } from '@tamagui/core'\n\nexport const SizableText = styled(\n Text,\n {\n name: 'SizableText',\n fontFamily: '$body',\n\n variants: {\n size: getTextSize,\n },\n\n defaultVariants: {\n size: '$4',\n },\n },\n {\n inlineWhenUnflattened: new Set(['fontFamily']),\n }\n)\n\nexport type SizableTextProps = GetProps<typeof SizableText>\n"],
|
|
5
|
+
"mappings": "AAAA;AAEO,MAAM,cAAc,OACzB,MACA;AAAA,EACE,MAAM;AAAA,EACN,YAAY;AAAA,EAEZ,UAAU;AAAA,IACR,MAAM;AAAA,EACR;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,GACA;AAAA,EACE,uBAAuB,oBAAI,IAAI,CAAC,YAAY,CAAC;AAC/C,CACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/SizableText.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/text",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.49",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"watch": "tamagui-build --watch"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
19
|
+
"@tamagui/core": "^1.0.1-beta.49"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": "*",
|
|
23
23
|
"react-dom": "*"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
26
|
+
"@tamagui/build": "^1.0.1-beta.49",
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-dom": "*"
|
|
29
29
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizableText.d.ts","sourceRoot":"","sources":["../src/SizableText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,eAAe,CAAA;AAEnE,eAAO,MAAM,WAAW;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SizableText.d.ts","sourceRoot":"","sources":["../src/SizableText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,eAAe,CAAA;AAEnE,eAAO,MAAM,WAAW;;;;;;;;EAiBvB,CAAA;AAED,oBAAY,gBAAgB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA"}
|