@tamagui/demos 1.0.1-beta.74 → 1.0.1-beta.75
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/AvatarDemo.js
CHANGED
|
@@ -34,9 +34,7 @@ function AvatarDemo() {
|
|
|
34
34
|
size: "$10"
|
|
35
35
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.Avatar.Image, {
|
|
36
36
|
accessibilityLabel: "Cam",
|
|
37
|
-
src: "https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80"
|
|
38
|
-
width: 150,
|
|
39
|
-
height: 150
|
|
37
|
+
src: "https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80"
|
|
40
38
|
}), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Avatar.Fallback, {
|
|
41
39
|
backgroundColor: "$blue10"
|
|
42
40
|
})), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Avatar, {
|
|
@@ -44,9 +42,7 @@ function AvatarDemo() {
|
|
|
44
42
|
size: "$8"
|
|
45
43
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.Avatar.Image, {
|
|
46
44
|
accessibilityLabel: "Nate Wienert",
|
|
47
|
-
src: "https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80"
|
|
48
|
-
width: 100,
|
|
49
|
-
height: 100
|
|
45
|
+
src: "https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80"
|
|
50
46
|
}), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Avatar.Fallback, {
|
|
51
47
|
delayMs: 600,
|
|
52
48
|
backgroundColor: "$blue10"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/AvatarDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react'\nimport { Avatar, XStack } from 'tamagui'\n\nexport default function AvatarDemo() {\n return (\n <XStack ai=\"center\" space=\"$6\">\n <Avatar circular size=\"$10\">\n <Avatar.Image\n accessibilityLabel=\"Cam\"\n src=\"https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80\"\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,qBAA+B;AAEhB,sBAAsB;AACnC,SACE,mDAAC;AAAA,IAAO,IAAG;AAAA,IAAS,OAAM;AAAA,KACxB,mDAAC;AAAA,IAAO,UAAQ;AAAA,IAAC,MAAK;AAAA,KACpB,mDAAC,sBAAO,OAAP;AAAA,IACC,oBAAmB;AAAA,IACnB,KAAI;AAAA,
|
|
4
|
+
"sourcesContent": ["import React from 'react'\nimport { Avatar, XStack } from 'tamagui'\n\nexport default function AvatarDemo() {\n return (\n <XStack ai=\"center\" space=\"$6\">\n <Avatar circular size=\"$10\">\n <Avatar.Image\n accessibilityLabel=\"Cam\"\n src=\"https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80\"\n />\n <Avatar.Fallback backgroundColor=\"$blue10\" />\n </Avatar>\n\n <Avatar circular size=\"$8\">\n <Avatar.Image\n accessibilityLabel=\"Nate Wienert\"\n src=\"https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80\"\n />\n <Avatar.Fallback delayMs={600} backgroundColor=\"$blue10\" />\n </Avatar>\n </XStack>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,qBAA+B;AAEhB,sBAAsB;AACnC,SACE,mDAAC;AAAA,IAAO,IAAG;AAAA,IAAS,OAAM;AAAA,KACxB,mDAAC;AAAA,IAAO,UAAQ;AAAA,IAAC,MAAK;AAAA,KACpB,mDAAC,sBAAO,OAAP;AAAA,IACC,oBAAmB;AAAA,IACnB,KAAI;AAAA,GACN,GACA,mDAAC,sBAAO,UAAP;AAAA,IAAgB,iBAAgB;AAAA,GAAU,CAC7C,GAEA,mDAAC;AAAA,IAAO,UAAQ;AAAA,IAAC,MAAK;AAAA,KACpB,mDAAC,sBAAO,OAAP;AAAA,IACC,oBAAmB;AAAA,IACnB,KAAI;AAAA,GACN,GACA,mDAAC,sBAAO,UAAP;AAAA,IAAgB,SAAS;AAAA,IAAK,iBAAgB;AAAA,GAAU,CAC3D,CACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/AvatarDemo.js
CHANGED
|
@@ -9,9 +9,7 @@ function AvatarDemo() {
|
|
|
9
9
|
size: "$10"
|
|
10
10
|
}, /* @__PURE__ */ React.createElement(Avatar.Image, {
|
|
11
11
|
accessibilityLabel: "Cam",
|
|
12
|
-
src: "https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80"
|
|
13
|
-
width: 150,
|
|
14
|
-
height: 150
|
|
12
|
+
src: "https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80"
|
|
15
13
|
}), /* @__PURE__ */ React.createElement(Avatar.Fallback, {
|
|
16
14
|
backgroundColor: "$blue10"
|
|
17
15
|
})), /* @__PURE__ */ React.createElement(Avatar, {
|
|
@@ -19,9 +17,7 @@ function AvatarDemo() {
|
|
|
19
17
|
size: "$8"
|
|
20
18
|
}, /* @__PURE__ */ React.createElement(Avatar.Image, {
|
|
21
19
|
accessibilityLabel: "Nate Wienert",
|
|
22
|
-
src: "https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80"
|
|
23
|
-
width: 100,
|
|
24
|
-
height: 100
|
|
20
|
+
src: "https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80"
|
|
25
21
|
}), /* @__PURE__ */ React.createElement(Avatar.Fallback, {
|
|
26
22
|
delayMs: 600,
|
|
27
23
|
backgroundColor: "$blue10"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/AvatarDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react'\nimport { Avatar, XStack } from 'tamagui'\n\nexport default function AvatarDemo() {\n return (\n <XStack ai=\"center\" space=\"$6\">\n <Avatar circular size=\"$10\">\n <Avatar.Image\n accessibilityLabel=\"Cam\"\n src=\"https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80\"\n
|
|
5
|
-
"mappings": "AAAA;AACA;AAEe,sBAAsB;AACnC,SACE,oCAAC;AAAA,IAAO,IAAG;AAAA,IAAS,OAAM;AAAA,KACxB,oCAAC;AAAA,IAAO,UAAQ;AAAA,IAAC,MAAK;AAAA,KACpB,oCAAC,OAAO,OAAP;AAAA,IACC,oBAAmB;AAAA,IACnB,KAAI;AAAA,
|
|
4
|
+
"sourcesContent": ["import React from 'react'\nimport { Avatar, XStack } from 'tamagui'\n\nexport default function AvatarDemo() {\n return (\n <XStack ai=\"center\" space=\"$6\">\n <Avatar circular size=\"$10\">\n <Avatar.Image\n accessibilityLabel=\"Cam\"\n src=\"https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80\"\n />\n <Avatar.Fallback backgroundColor=\"$blue10\" />\n </Avatar>\n\n <Avatar circular size=\"$8\">\n <Avatar.Image\n accessibilityLabel=\"Nate Wienert\"\n src=\"https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80\"\n />\n <Avatar.Fallback delayMs={600} backgroundColor=\"$blue10\" />\n </Avatar>\n </XStack>\n )\n}\n"],
|
|
5
|
+
"mappings": "AAAA;AACA;AAEe,sBAAsB;AACnC,SACE,oCAAC;AAAA,IAAO,IAAG;AAAA,IAAS,OAAM;AAAA,KACxB,oCAAC;AAAA,IAAO,UAAQ;AAAA,IAAC,MAAK;AAAA,KACpB,oCAAC,OAAO,OAAP;AAAA,IACC,oBAAmB;AAAA,IACnB,KAAI;AAAA,GACN,GACA,oCAAC,OAAO,UAAP;AAAA,IAAgB,iBAAgB;AAAA,GAAU,CAC7C,GAEA,oCAAC;AAAA,IAAO,UAAQ;AAAA,IAAC,MAAK;AAAA,KACpB,oCAAC,OAAO,OAAP;AAAA,IACC,oBAAmB;AAAA,IACnB,KAAI;AAAA,GACN,GACA,oCAAC,OAAO,UAAP;AAAA,IAAgB,SAAS;AAAA,IAAK,iBAAgB;AAAA,GAAU,CAC3D,CACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/AvatarDemo.js
CHANGED
|
@@ -2,11 +2,11 @@ import { Avatar, XStack } from "tamagui";
|
|
|
2
2
|
function AvatarDemo() {
|
|
3
3
|
return <XStack ai="center" space="$6">
|
|
4
4
|
<Avatar circular size="$10">
|
|
5
|
-
<Avatar.Image accessibilityLabel="Cam" src={"https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80"}
|
|
5
|
+
<Avatar.Image accessibilityLabel="Cam" src={"https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80"} />
|
|
6
6
|
<Avatar.Fallback backgroundColor="$blue10" />
|
|
7
7
|
</Avatar>
|
|
8
8
|
<Avatar circular size="$8">
|
|
9
|
-
<Avatar.Image accessibilityLabel="Nate Wienert" src={"https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80"}
|
|
9
|
+
<Avatar.Image accessibilityLabel="Nate Wienert" src={"https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80"} />
|
|
10
10
|
<Avatar.Fallback delayMs={600} backgroundColor="$blue10" />
|
|
11
11
|
</Avatar>
|
|
12
12
|
</XStack>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/demos",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.75",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"watch": "tamagui-build --watch"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@tamagui/config-base": "^1.0.1-beta.
|
|
21
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
22
|
-
"tamagui": "^1.0.1-beta.
|
|
20
|
+
"@tamagui/config-base": "^1.0.1-beta.75",
|
|
21
|
+
"@tamagui/core": "^1.0.1-beta.75",
|
|
22
|
+
"tamagui": "^1.0.1-beta.75"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "*",
|
|
26
26
|
"react-dom": "*"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
29
|
+
"@tamagui/build": "^1.0.1-beta.75",
|
|
30
30
|
"react": "*",
|
|
31
31
|
"react-dom": "*"
|
|
32
32
|
},
|
package/src/AvatarDemo.tsx
CHANGED
|
@@ -8,8 +8,6 @@ export default function AvatarDemo() {
|
|
|
8
8
|
<Avatar.Image
|
|
9
9
|
accessibilityLabel="Cam"
|
|
10
10
|
src="https://images.unsplash.com/photo-1548142813-c348350df52b?&w=150&h=150&dpr=2&q=80"
|
|
11
|
-
width={150}
|
|
12
|
-
height={150}
|
|
13
11
|
/>
|
|
14
12
|
<Avatar.Fallback backgroundColor="$blue10" />
|
|
15
13
|
</Avatar>
|
|
@@ -18,8 +16,6 @@ export default function AvatarDemo() {
|
|
|
18
16
|
<Avatar.Image
|
|
19
17
|
accessibilityLabel="Nate Wienert"
|
|
20
18
|
src="https://images.unsplash.com/photo-1531384441138-2736e62e0919?&w=100&h=100&dpr=2&q=80"
|
|
21
|
-
width={100}
|
|
22
|
-
height={100}
|
|
23
19
|
/>
|
|
24
20
|
<Avatar.Fallback delayMs={600} backgroundColor="$blue10" />
|
|
25
21
|
</Avatar>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarDemo.d.ts","sourceRoot":"","sources":["../src/AvatarDemo.tsx"],"names":[],"mappings":";AAGA,MAAM,CAAC,OAAO,UAAU,UAAU,
|
|
1
|
+
{"version":3,"file":"AvatarDemo.d.ts","sourceRoot":"","sources":["../src/AvatarDemo.tsx"],"names":[],"mappings":";AAGA,MAAM,CAAC,OAAO,UAAU,UAAU,gBAoBjC"}
|