@tamagui/text 1.0.22 → 1.1.0
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/Paragraph.js
CHANGED
|
@@ -26,7 +26,7 @@ var import_SizableText = require("./SizableText");
|
|
|
26
26
|
const Paragraph = (0, import_core.styled)(import_SizableText.SizableText, {
|
|
27
27
|
name: "Paragraph",
|
|
28
28
|
tag: "p",
|
|
29
|
-
|
|
29
|
+
userSelect: "auto"
|
|
30
30
|
});
|
|
31
31
|
// Annotate the CommonJS export names for ESM import in node:
|
|
32
32
|
0 && (module.exports = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Paragraph.tsx"],
|
|
4
|
-
"sourcesContent": ["import { PropTypes, styled } from '@tamagui/core'\n\nimport { SizableText } from './SizableText'\n\nexport const Paragraph = styled(SizableText, {\n name: 'Paragraph',\n tag: 'p',\n
|
|
4
|
+
"sourcesContent": ["import { PropTypes, styled } from '@tamagui/core'\n\nimport { SizableText } from './SizableText'\n\nexport const Paragraph = styled(SizableText, {\n name: 'Paragraph',\n tag: 'p',\n userSelect: 'auto',\n})\n\nexport type ParagraphProps = PropTypes<typeof Paragraph>\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAkC;AAElC,yBAA4B;AAErB,MAAM,gBAAY,oBAAO,gCAAa;AAAA,EAC3C,MAAM;AAAA,EACN,KAAK;AAAA,EACL,YAAY;AACd,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/Paragraph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Paragraph.tsx"],
|
|
4
|
-
"sourcesContent": ["import { PropTypes, styled } from '@tamagui/core'\n\nimport { SizableText } from './SizableText'\n\nexport const Paragraph = styled(SizableText, {\n name: 'Paragraph',\n tag: 'p',\n
|
|
4
|
+
"sourcesContent": ["import { PropTypes, styled } from '@tamagui/core'\n\nimport { SizableText } from './SizableText'\n\nexport const Paragraph = styled(SizableText, {\n name: 'Paragraph',\n tag: 'p',\n userSelect: 'auto',\n})\n\nexport type ParagraphProps = PropTypes<typeof Paragraph>\n"],
|
|
5
5
|
"mappings": "AAAA,SAAoB,cAAc;AAElC,SAAS,mBAAmB;AAErB,MAAM,YAAY,OAAO,aAAa;AAAA,EAC3C,MAAM;AAAA,EACN,KAAK;AAAA,EACL,YAAY;AACd,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/Paragraph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Paragraph.tsx"],
|
|
4
|
-
"sourcesContent": ["import { PropTypes, styled } from '@tamagui/core'\n\nimport { SizableText } from './SizableText'\n\nexport const Paragraph = styled(SizableText, {\n name: 'Paragraph',\n tag: 'p',\n
|
|
4
|
+
"sourcesContent": ["import { PropTypes, styled } from '@tamagui/core'\n\nimport { SizableText } from './SizableText'\n\nexport const Paragraph = styled(SizableText, {\n name: 'Paragraph',\n tag: 'p',\n userSelect: 'auto',\n})\n\nexport type ParagraphProps = PropTypes<typeof Paragraph>\n"],
|
|
5
5
|
"mappings": "AAAA,SAAoB,cAAc;AAElC,SAAS,mBAAmB;AAErB,MAAM,YAAY,OAAO,aAAa;AAAA,EAC3C,MAAM;AAAA,EACN,KAAK;AAAA,EACL,YAAY;AACd,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/text",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -26,21 +26,22 @@
|
|
|
26
26
|
"exports": {
|
|
27
27
|
"./package.json": "./package.json",
|
|
28
28
|
".": {
|
|
29
|
+
"types": "./types/index.d.ts",
|
|
29
30
|
"import": "./dist/esm/index.js",
|
|
30
31
|
"require": "./dist/cjs/index.js"
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
|
-
"@tamagui/core": "^1.0
|
|
35
|
-
"@tamagui/get-font-sized": "^1.0
|
|
36
|
-
"@tamagui/helpers-tamagui": "^1.0
|
|
35
|
+
"@tamagui/core": "^1.1.0",
|
|
36
|
+
"@tamagui/get-font-sized": "^1.1.0",
|
|
37
|
+
"@tamagui/helpers-tamagui": "^1.1.0"
|
|
37
38
|
},
|
|
38
39
|
"peerDependencies": {
|
|
39
40
|
"react": "*",
|
|
40
41
|
"react-dom": "*"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
|
-
"@tamagui/build": "^1.0
|
|
44
|
+
"@tamagui/build": "^1.1.0",
|
|
44
45
|
"react": "^18.2.0",
|
|
45
46
|
"react-dom": "^18.2.0",
|
|
46
47
|
"vitest": "^0.26.3"
|
package/src/Paragraph.tsx
CHANGED