@tamagui/demos 1.0.1-beta.69 → 1.0.1-beta.72
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/DialogDemo.js +6 -1
- package/dist/cjs/DialogDemo.js.map +2 -2
- package/dist/cjs/ListItemDemo.js +6 -6
- package/dist/cjs/ListItemDemo.js.map +2 -2
- package/dist/cjs/SeparatorDemo.js +0 -1
- package/dist/cjs/SeparatorDemo.js.map +2 -2
- package/dist/esm/DialogDemo.js +6 -1
- package/dist/esm/DialogDemo.js.map +2 -2
- package/dist/esm/ListItemDemo.js +6 -6
- package/dist/esm/ListItemDemo.js.map +2 -2
- package/dist/esm/SeparatorDemo.js +0 -1
- package/dist/esm/SeparatorDemo.js.map +2 -2
- package/dist/jsx/DialogDemo.js +3 -3
- package/dist/jsx/ListItemDemo.js +6 -6
- package/dist/jsx/SeparatorDemo.js +0 -1
- package/package.json +5 -5
- package/src/DialogDemo.tsx +9 -3
- package/src/ListItemDemo.tsx +6 -6
- package/src/SeparatorDemo.tsx +0 -1
- package/types/AnimationsDemo.d.ts +0 -0
- package/types/AnimationsDemo.d.ts.map +0 -0
- package/types/AnimationsEnterDemo.d.ts +0 -0
- package/types/AnimationsEnterDemo.d.ts.map +0 -0
- package/types/AnimationsHoverDemo.d.ts +0 -0
- package/types/AnimationsHoverDemo.d.ts.map +0 -0
- package/types/AnimationsPresenceDemo.d.ts +0 -0
- package/types/AnimationsPresenceDemo.d.ts.map +0 -0
- package/types/AvatarDemo.d.ts +0 -0
- package/types/AvatarDemo.d.ts.map +0 -0
- package/types/ButtonDemo.d.ts +0 -0
- package/types/ButtonDemo.d.ts.map +0 -0
- package/types/CardDemo.d.ts +0 -0
- package/types/CardDemo.d.ts.map +0 -0
- package/types/Demos.d.ts +0 -0
- package/types/Demos.d.ts.map +0 -0
- package/types/DialogDemo.d.ts +0 -0
- package/types/DialogDemo.d.ts.map +1 -1
- package/types/DrawerDemo.d.ts +0 -0
- package/types/DrawerDemo.d.ts.map +0 -0
- package/types/FeatherIconsDemo.d.ts +0 -0
- package/types/FeatherIconsDemo.d.ts.map +0 -0
- package/types/FormsDemo.d.ts +0 -0
- package/types/FormsDemo.d.ts.map +0 -0
- package/types/GroupDemo.d.ts +0 -0
- package/types/GroupDemo.d.ts.map +0 -0
- package/types/HeadingsDemo.d.ts +0 -0
- package/types/HeadingsDemo.d.ts.map +0 -0
- package/types/ImageDemo.d.ts +0 -0
- package/types/ImageDemo.d.ts.map +0 -0
- package/types/KitchenSink.d.ts.map +0 -0
- package/types/LabelDemo.d.ts +0 -0
- package/types/LabelDemo.d.ts.map +0 -0
- package/types/LinearGradientDemo.d.ts +0 -0
- package/types/LinearGradientDemo.d.ts.map +0 -0
- package/types/ListItemDemo.d.ts +0 -0
- package/types/ListItemDemo.d.ts.map +0 -0
- package/types/MenuDemo.d.ts +0 -0
- package/types/MenuDemo.d.ts.map +0 -0
- package/types/PopoverDemo.d.ts +0 -0
- package/types/PopoverDemo.d.ts.map +0 -0
- package/types/ProgressDemo.d.ts +0 -0
- package/types/ProgressDemo.d.ts.map +0 -0
- package/types/SelectDemo.d.ts +0 -0
- package/types/SelectDemo.d.ts.map +0 -0
- package/types/SeparatorDemo.d.ts +0 -0
- package/types/SeparatorDemo.d.ts.map +1 -1
- package/types/ShapesDemo.d.ts +0 -0
- package/types/ShapesDemo.d.ts.map +0 -0
- package/types/SliderDemo.d.ts +0 -0
- package/types/SliderDemo.d.ts.map +0 -0
- package/types/SpinnerDemo.d.ts +0 -0
- package/types/SpinnerDemo.d.ts.map +0 -0
- package/types/StacksDemo.d.ts +0 -0
- package/types/StacksDemo.d.ts.map +0 -0
- package/types/SwitchDemo.d.ts +0 -0
- package/types/SwitchDemo.d.ts.map +0 -0
- package/types/TamaguiLogo.d.ts +0 -0
- package/types/TamaguiLogo.d.ts.map +0 -0
- package/types/TextDemo.d.ts +0 -0
- package/types/TextDemo.d.ts.map +0 -0
- package/types/ThemeInverseDemo.d.ts +0 -0
- package/types/ThemeInverseDemo.d.ts.map +0 -0
- package/types/TooltipDemo.d.ts +0 -0
- package/types/TooltipDemo.d.ts.map +0 -0
- package/types/demos/AnimationsDemo.d.ts +0 -0
- package/types/demos/AnimationsDemo.d.ts.map +0 -0
- package/types/demos/AnimationsEnterDemo.d.ts +0 -0
- package/types/demos/AnimationsEnterDemo.d.ts.map +0 -0
- package/types/demos/AnimationsHoverDemo.d.ts +0 -0
- package/types/demos/AnimationsHoverDemo.d.ts.map +0 -0
- package/types/demos/AnimationsPresenceDemo.d.ts +0 -0
- package/types/demos/AnimationsPresenceDemo.d.ts.map +0 -0
- package/types/demos/AvatarDemo.d.ts +0 -0
- package/types/demos/AvatarDemo.d.ts.map +0 -0
- package/types/demos/ButtonDemo.d.ts +0 -0
- package/types/demos/ButtonDemo.d.ts.map +0 -0
- package/types/demos/CardDemo.d.ts +0 -0
- package/types/demos/CardDemo.d.ts.map +0 -0
- package/types/demos/DialogDemo.d.ts +0 -0
- package/types/demos/DialogDemo.d.ts.map +0 -0
- package/types/demos/DrawerDemo.d.ts +0 -0
- package/types/demos/DrawerDemo.d.ts.map +0 -0
- package/types/demos/FeatherIconsDemo.d.ts +0 -0
- package/types/demos/FeatherIconsDemo.d.ts.map +0 -0
- package/types/demos/FormsDemo.d.ts +0 -0
- package/types/demos/FormsDemo.d.ts.map +0 -0
- package/types/demos/GroupDemo.d.ts +0 -0
- package/types/demos/GroupDemo.d.ts.map +0 -0
- package/types/demos/HeadingsDemo.d.ts +0 -0
- package/types/demos/HeadingsDemo.d.ts.map +0 -0
- package/types/demos/ImageDemo.d.ts +0 -0
- package/types/demos/ImageDemo.d.ts.map +0 -0
- package/types/demos/LabelDemo.d.ts +0 -0
- package/types/demos/LabelDemo.d.ts.map +0 -0
- package/types/demos/LinearGradientDemo.d.ts +0 -0
- package/types/demos/LinearGradientDemo.d.ts.map +0 -0
- package/types/demos/ListItemDemo.d.ts +0 -0
- package/types/demos/ListItemDemo.d.ts.map +0 -0
- package/types/demos/MenuDemo.d.ts +0 -0
- package/types/demos/MenuDemo.d.ts.map +0 -0
- package/types/demos/PopoverDemo.d.ts +0 -0
- package/types/demos/PopoverDemo.d.ts.map +0 -0
- package/types/demos/ProgressDemo.d.ts +0 -0
- package/types/demos/ProgressDemo.d.ts.map +0 -0
- package/types/demos/SeparatorDemo.d.ts +0 -0
- package/types/demos/SeparatorDemo.d.ts.map +0 -0
- package/types/demos/ShapesDemo.d.ts +0 -0
- package/types/demos/ShapesDemo.d.ts.map +0 -0
- package/types/demos/SliderDemo.d.ts +0 -0
- package/types/demos/SliderDemo.d.ts.map +0 -0
- package/types/demos/SpinnerDemo.d.ts +0 -0
- package/types/demos/SpinnerDemo.d.ts.map +0 -0
- package/types/demos/StacksDemo.d.ts +0 -0
- package/types/demos/StacksDemo.d.ts.map +0 -0
- package/types/demos/SwitchDemo.d.ts +0 -0
- package/types/demos/SwitchDemo.d.ts.map +0 -0
- package/types/demos/TextDemo.d.ts +0 -0
- package/types/demos/TextDemo.d.ts.map +0 -0
- package/types/demos/ThemeInverseDemo.d.ts +0 -0
- package/types/demos/ThemeInverseDemo.d.ts.map +0 -0
- package/types/demos/TooltipDemo.d.ts +0 -0
- package/types/demos/TooltipDemo.d.ts.map +0 -0
- package/types/demos/index.d.ts +0 -0
- package/types/demos/index.d.ts.map +0 -0
- package/types/index.d.ts +0 -0
- package/types/index.d.ts.map +0 -0
- package/types/useOnIntersecting.d.ts +0 -0
- package/types/useOnIntersecting.d.ts.map +0 -0
package/dist/cjs/DialogDemo.js
CHANGED
|
@@ -34,7 +34,10 @@ function DialogDemo() {
|
|
|
34
34
|
asChild: true
|
|
35
35
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.Button, null, "Edit Profile")), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Dialog.Portal, null, /* @__PURE__ */ import_react.default.createElement(import_tamagui.Dialog.Overlay, {
|
|
36
36
|
key: "overlay",
|
|
37
|
-
|
|
37
|
+
animation: "quick",
|
|
38
|
+
o: 0.5,
|
|
39
|
+
enterStyle: { o: 0 },
|
|
40
|
+
exitStyle: { o: 0 }
|
|
38
41
|
}), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Dialog.Content, {
|
|
39
42
|
bordered: true,
|
|
40
43
|
elevate: true,
|
|
@@ -55,6 +58,7 @@ function DialogDemo() {
|
|
|
55
58
|
opacity: 1,
|
|
56
59
|
y: 0
|
|
57
60
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.Dialog.Title, null, "Edit profile"), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Dialog.Description, null, "Make changes to your profile here. Click save when you're done."), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Fieldset, {
|
|
61
|
+
space: "$4",
|
|
58
62
|
horizontal: true
|
|
59
63
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.Label, {
|
|
60
64
|
w: 160,
|
|
@@ -65,6 +69,7 @@ function DialogDemo() {
|
|
|
65
69
|
id: "name",
|
|
66
70
|
defaultValue: "Nate Wienert"
|
|
67
71
|
})), /* @__PURE__ */ import_react.default.createElement(import_tamagui.Fieldset, {
|
|
72
|
+
space: "$4",
|
|
68
73
|
horizontal: true
|
|
69
74
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.Label, {
|
|
70
75
|
w: 160,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DialogDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["import { X } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Button, Dialog, Fieldset, Input, Label, Unspaced, YStack } from 'tamagui'\n\nexport default function DialogDemo() {\n return (\n <Dialog modal>\n <Dialog.Trigger asChild>\n <Button>Edit Profile</Button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Overlay
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAkB;AAClB,mBAAkB;AAClB,qBAAyE;AAE1D,sBAAsB;AACnC,SACE,mDAAC;AAAA,IAAO,OAAK;AAAA,KACX,mDAAC,sBAAO,SAAP;AAAA,IAAe,SAAO;AAAA,KACrB,mDAAC,6BAAO,cAAY,CACtB,GACA,mDAAC,sBAAO,QAAP,MACC,mDAAC,sBAAO,SAAP;AAAA,
|
|
4
|
+
"sourcesContent": ["import { X } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Button, Dialog, Fieldset, Input, Label, Unspaced, YStack } from 'tamagui'\n\nexport default function DialogDemo() {\n return (\n <Dialog modal>\n <Dialog.Trigger asChild>\n <Button>Edit Profile</Button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Overlay\n key=\"overlay\"\n animation=\"quick\"\n o={0.5}\n enterStyle={{ o: 0 }}\n exitStyle={{ o: 0 }}\n />\n <Dialog.Content\n bordered\n elevate\n key=\"content\"\n space\n animation={[\n 'quick',\n {\n opacity: {\n overshootClamping: true,\n },\n },\n ]}\n enterStyle={{ x: 0, y: -20, opacity: 0, scale: 0.9 }}\n exitStyle={{ x: 0, y: 10, opacity: 0, scale: 0.95 }}\n x={0}\n scale={1}\n opacity={1}\n y={0}\n >\n <Dialog.Title>Edit profile</Dialog.Title>\n <Dialog.Description>\n Make changes to your profile here. Click save when you're done.\n </Dialog.Description>\n <Fieldset space=\"$4\" horizontal>\n <Label w={160} justifyContent=\"flex-end\" htmlFor=\"name\">\n Name\n </Label>\n <Input f={1} id=\"name\" defaultValue=\"Nate Wienert\" />\n </Fieldset>\n <Fieldset space=\"$4\" horizontal>\n <Label w={160} justifyContent=\"flex-end\" htmlFor=\"username\">\n Username\n </Label>\n <Input f={1} id=\"username\" defaultValue=\"@natebirdman\" />\n </Fieldset>\n\n <YStack ai=\"flex-end\" mt=\"$2\">\n <Dialog.Close asChild>\n <Button theme=\"alt1\" aria-label=\"Close\">\n Save changes\n </Button>\n </Dialog.Close>\n </YStack>\n\n <Unspaced>\n <Dialog.Close asChild>\n <Button pos=\"absolute\" t=\"$4\" r=\"$4\" circular icon={X} />\n </Dialog.Close>\n </Unspaced>\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAkB;AAClB,mBAAkB;AAClB,qBAAyE;AAE1D,sBAAsB;AACnC,SACE,mDAAC;AAAA,IAAO,OAAK;AAAA,KACX,mDAAC,sBAAO,SAAP;AAAA,IAAe,SAAO;AAAA,KACrB,mDAAC,6BAAO,cAAY,CACtB,GACA,mDAAC,sBAAO,QAAP,MACC,mDAAC,sBAAO,SAAP;AAAA,IACC,KAAI;AAAA,IACJ,WAAU;AAAA,IACV,GAAG;AAAA,IACH,YAAY,EAAE,GAAG,EAAE;AAAA,IACnB,WAAW,EAAE,GAAG,EAAE;AAAA,GACpB,GACA,mDAAC,sBAAO,SAAP;AAAA,IACC,UAAQ;AAAA,IACR,SAAO;AAAA,IACP,KAAI;AAAA,IACJ,OAAK;AAAA,IACL,WAAW;AAAA,MACT;AAAA,MACA;AAAA,QACE,SAAS;AAAA,UACP,mBAAmB;AAAA,QACrB;AAAA,MACF;AAAA,IACF;AAAA,IACA,YAAY,EAAE,GAAG,GAAG,GAAG,KAAK,SAAS,GAAG,OAAO,IAAI;AAAA,IACnD,WAAW,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS,GAAG,OAAO,KAAK;AAAA,IAClD,GAAG;AAAA,IACH,OAAO;AAAA,IACP,SAAS;AAAA,IACT,GAAG;AAAA,KAEH,mDAAC,sBAAO,OAAP,MAAa,cAAY,GAC1B,mDAAC,sBAAO,aAAP,MAAmB,iEAEpB,GACA,mDAAC;AAAA,IAAS,OAAM;AAAA,IAAK,YAAU;AAAA,KAC7B,mDAAC;AAAA,IAAM,GAAG;AAAA,IAAK,gBAAe;AAAA,IAAW,SAAQ;AAAA,KAAO,MAExD,GACA,mDAAC;AAAA,IAAM,GAAG;AAAA,IAAG,IAAG;AAAA,IAAO,cAAa;AAAA,GAAe,CACrD,GACA,mDAAC;AAAA,IAAS,OAAM;AAAA,IAAK,YAAU;AAAA,KAC7B,mDAAC;AAAA,IAAM,GAAG;AAAA,IAAK,gBAAe;AAAA,IAAW,SAAQ;AAAA,KAAW,UAE5D,GACA,mDAAC;AAAA,IAAM,GAAG;AAAA,IAAG,IAAG;AAAA,IAAW,cAAa;AAAA,GAAe,CACzD,GAEA,mDAAC;AAAA,IAAO,IAAG;AAAA,IAAW,IAAG;AAAA,KACvB,mDAAC,sBAAO,OAAP;AAAA,IAAa,SAAO;AAAA,KACnB,mDAAC;AAAA,IAAO,OAAM;AAAA,IAAO,cAAW;AAAA,KAAQ,cAExC,CACF,CACF,GAEA,mDAAC,+BACC,mDAAC,sBAAO,OAAP;AAAA,IAAa,SAAO;AAAA,KACnB,mDAAC;AAAA,IAAO,KAAI;AAAA,IAAW,GAAE;AAAA,IAAK,GAAE;AAAA,IAAK,UAAQ;AAAA,IAAC,MAAM;AAAA,GAAG,CACzD,CACF,CACF,CACF,CACF;AAEJ;AApEwB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/ListItemDemo.js
CHANGED
|
@@ -43,16 +43,16 @@ function ListItemDemo1() {
|
|
|
43
43
|
size: "$4",
|
|
44
44
|
vertical: true
|
|
45
45
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.ListItem, {
|
|
46
|
-
|
|
46
|
+
hoverTheme: true,
|
|
47
47
|
icon: import_feather_icons.Star
|
|
48
48
|
}, "Star"), /* @__PURE__ */ import_react.default.createElement(import_tamagui.ListItem, {
|
|
49
|
-
|
|
49
|
+
hoverTheme: true,
|
|
50
50
|
icon: import_feather_icons.Moon
|
|
51
51
|
}, "Moon"), /* @__PURE__ */ import_react.default.createElement(import_tamagui.ListItem, {
|
|
52
|
-
|
|
52
|
+
hoverTheme: true,
|
|
53
53
|
icon: import_feather_icons.Sun
|
|
54
54
|
}, "Sun"), /* @__PURE__ */ import_react.default.createElement(import_tamagui.ListItem, {
|
|
55
|
-
|
|
55
|
+
hoverTheme: true,
|
|
56
56
|
icon: import_feather_icons.Cloud
|
|
57
57
|
}, "Cloud"));
|
|
58
58
|
}
|
|
@@ -66,13 +66,13 @@ function ListItemDemo2() {
|
|
|
66
66
|
vertical: true,
|
|
67
67
|
separator: /* @__PURE__ */ import_react.default.createElement(import_tamagui.Separator, null)
|
|
68
68
|
}, /* @__PURE__ */ import_react.default.createElement(import_tamagui.ListItem, {
|
|
69
|
-
|
|
69
|
+
hoverTheme: true,
|
|
70
70
|
title: "Star",
|
|
71
71
|
subTitle: "Subtitle",
|
|
72
72
|
icon: import_feather_icons.Star,
|
|
73
73
|
iconAfter: import_feather_icons.ChevronRight
|
|
74
74
|
}), /* @__PURE__ */ import_react.default.createElement(import_tamagui.ListItem, {
|
|
75
|
-
|
|
75
|
+
hoverTheme: true,
|
|
76
76
|
title: "Moon",
|
|
77
77
|
subTitle: "Subtitle",
|
|
78
78
|
icon: import_feather_icons.Moon,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ListItemDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["import { ChevronRight, Cloud, Moon, Star, Sun } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Group, ListItem, Separator, XStack } from 'tamagui'\n\nexport default function ListItemDemo() {\n return (\n <XStack $sm={{ flexDirection: 'column' }} px=\"$4\" space>\n <ListItemDemo1 />\n <ListItemDemo2 />\n </XStack>\n )\n}\n\nfunction ListItemDemo1() {\n return (\n <Group als=\"center\" bordered w={240} size=\"$4\" vertical>\n <ListItem
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAqD;AACrD,mBAAkB;AAClB,qBAAmD;AAEpC,wBAAwB;AACrC,SACE,mDAAC;AAAA,IAAO,KAAK,EAAE,eAAe,SAAS;AAAA,IAAG,IAAG;AAAA,IAAK,OAAK;AAAA,KACrD,mDAAC,mBAAc,GACf,mDAAC,mBAAc,CACjB;AAEJ;AAPwB;AASxB,yBAAyB;AACvB,SACE,mDAAC;AAAA,IAAM,KAAI;AAAA,IAAS,UAAQ;AAAA,IAAC,GAAG;AAAA,IAAK,MAAK;AAAA,IAAK,UAAQ;AAAA,KACrD,mDAAC;AAAA,IAAS,
|
|
4
|
+
"sourcesContent": ["import { ChevronRight, Cloud, Moon, Star, Sun } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Group, ListItem, Separator, XStack } from 'tamagui'\n\nexport default function ListItemDemo() {\n return (\n <XStack $sm={{ flexDirection: 'column' }} px=\"$4\" space>\n <ListItemDemo1 />\n <ListItemDemo2 />\n </XStack>\n )\n}\n\nfunction ListItemDemo1() {\n return (\n <Group als=\"center\" bordered w={240} size=\"$4\" vertical>\n <ListItem hoverTheme icon={Star}>\n Star\n </ListItem>\n <ListItem hoverTheme icon={Moon}>\n Moon\n </ListItem>\n <ListItem hoverTheme icon={Sun}>\n Sun\n </ListItem>\n <ListItem hoverTheme icon={Cloud}>\n Cloud\n </ListItem>\n </Group>\n )\n}\n\nfunction ListItemDemo2() {\n return (\n <Group als=\"center\" bordered w={240} size=\"$6\" vertical separator={<Separator />}>\n <ListItem hoverTheme title=\"Star\" subTitle=\"Subtitle\" icon={Star} iconAfter={ChevronRight} />\n <ListItem hoverTheme title=\"Moon\" subTitle=\"Subtitle\" icon={Moon} iconAfter={ChevronRight} />\n </Group>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAqD;AACrD,mBAAkB;AAClB,qBAAmD;AAEpC,wBAAwB;AACrC,SACE,mDAAC;AAAA,IAAO,KAAK,EAAE,eAAe,SAAS;AAAA,IAAG,IAAG;AAAA,IAAK,OAAK;AAAA,KACrD,mDAAC,mBAAc,GACf,mDAAC,mBAAc,CACjB;AAEJ;AAPwB;AASxB,yBAAyB;AACvB,SACE,mDAAC;AAAA,IAAM,KAAI;AAAA,IAAS,UAAQ;AAAA,IAAC,GAAG;AAAA,IAAK,MAAK;AAAA,IAAK,UAAQ;AAAA,KACrD,mDAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAM,MAEjC,GACA,mDAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAM,MAEjC,GACA,mDAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAK,KAEhC,GACA,mDAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAO,OAElC,CACF;AAEJ;AAjBS;AAmBT,yBAAyB;AACvB,SACE,mDAAC;AAAA,IAAM,KAAI;AAAA,IAAS,UAAQ;AAAA,IAAC,GAAG;AAAA,IAAK,MAAK;AAAA,IAAK,UAAQ;AAAA,IAAC,WAAW,mDAAC,8BAAU;AAAA,KAC5E,mDAAC;AAAA,IAAS,YAAU;AAAA,IAAC,OAAM;AAAA,IAAO,UAAS;AAAA,IAAW,MAAM;AAAA,IAAM,WAAW;AAAA,GAAc,GAC3F,mDAAC;AAAA,IAAS,YAAU;AAAA,IAAC,OAAM;AAAA,IAAO,UAAS;AAAA,IAAW,MAAM;AAAA,IAAM,WAAW;AAAA,GAAc,CAC7F;AAEJ;AAPS;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -26,7 +26,6 @@ __export(SeparatorDemo_exports, {
|
|
|
26
26
|
module.exports = __toCommonJS(SeparatorDemo_exports);
|
|
27
27
|
var import_react = __toESM(require("react"));
|
|
28
28
|
var import_tamagui = require("tamagui");
|
|
29
|
-
//! debug
|
|
30
29
|
function SeparatorDemo() {
|
|
31
30
|
return /* @__PURE__ */ import_react.default.createElement(import_tamagui.YStack, {
|
|
32
31
|
w: "100%",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SeparatorDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["import React from 'react'\nimport { Paragraph, Separator, XStack, YStack } from 'tamagui'\n\nexport default function SeparatorDemo() {\n return (\n <YStack w=\"100%\" maw={300} mx={15}>\n <Paragraph fontWeight=\"800\">Tamagui</Paragraph>\n <Paragraph>A cross-platform component library.</Paragraph>\n <Separator my={15} />\n <XStack h={20} ai=\"center\">\n <Paragraph>Blog</Paragraph>\n <Separator als=\"stretch\" vertical mx={15} />\n <Paragraph>Docs</Paragraph>\n <Separator als=\"stretch\" vertical mx={15} />\n <Paragraph>Source</Paragraph>\n </XStack>\n </YStack>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,qBAAqD;AAEtC,yBAAyB;AACtC,SACE,mDAAC;AAAA,IAAO,GAAE;AAAA,IAAO,KAAK;AAAA,IAAK,IAAI;AAAA,KAC7B,mDAAC;AAAA,IAAU,YAAW;AAAA,KAAM,SAAO,GACnC,mDAAC,gCAAU,qCAAmC,GAC9C,mDAAC;AAAA,IAAU,IAAI;AAAA,GAAI,GACnB,mDAAC;AAAA,IAAO,GAAG;AAAA,IAAI,IAAG;AAAA,KAChB,mDAAC,gCAAU,MAAI,GACf,mDAAC;AAAA,IAAU,KAAI;AAAA,IAAU,UAAQ;AAAA,IAAC,IAAI;AAAA,GAAI,GAC1C,mDAAC,gCAAU,MAAI,GACf,mDAAC;AAAA,IAAU,KAAI;AAAA,IAAU,UAAQ;AAAA,IAAC,IAAI;AAAA,GAAI,GAC1C,mDAAC,gCAAU,QAAM,CACnB,CACF;AAEJ;AAfwB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/DialogDemo.js
CHANGED
|
@@ -10,7 +10,10 @@ function DialogDemo() {
|
|
|
10
10
|
asChild: true
|
|
11
11
|
}, /* @__PURE__ */ React.createElement(Button, null, "Edit Profile")), /* @__PURE__ */ React.createElement(Dialog.Portal, null, /* @__PURE__ */ React.createElement(Dialog.Overlay, {
|
|
12
12
|
key: "overlay",
|
|
13
|
-
|
|
13
|
+
animation: "quick",
|
|
14
|
+
o: 0.5,
|
|
15
|
+
enterStyle: { o: 0 },
|
|
16
|
+
exitStyle: { o: 0 }
|
|
14
17
|
}), /* @__PURE__ */ React.createElement(Dialog.Content, {
|
|
15
18
|
bordered: true,
|
|
16
19
|
elevate: true,
|
|
@@ -31,6 +34,7 @@ function DialogDemo() {
|
|
|
31
34
|
opacity: 1,
|
|
32
35
|
y: 0
|
|
33
36
|
}, /* @__PURE__ */ React.createElement(Dialog.Title, null, "Edit profile"), /* @__PURE__ */ React.createElement(Dialog.Description, null, "Make changes to your profile here. Click save when you're done."), /* @__PURE__ */ React.createElement(Fieldset, {
|
|
37
|
+
space: "$4",
|
|
34
38
|
horizontal: true
|
|
35
39
|
}, /* @__PURE__ */ React.createElement(Label, {
|
|
36
40
|
w: 160,
|
|
@@ -41,6 +45,7 @@ function DialogDemo() {
|
|
|
41
45
|
id: "name",
|
|
42
46
|
defaultValue: "Nate Wienert"
|
|
43
47
|
})), /* @__PURE__ */ React.createElement(Fieldset, {
|
|
48
|
+
space: "$4",
|
|
44
49
|
horizontal: true
|
|
45
50
|
}, /* @__PURE__ */ React.createElement(Label, {
|
|
46
51
|
w: 160,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DialogDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["import { X } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Button, Dialog, Fieldset, Input, Label, Unspaced, YStack } from 'tamagui'\n\nexport default function DialogDemo() {\n return (\n <Dialog modal>\n <Dialog.Trigger asChild>\n <Button>Edit Profile</Button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Overlay
|
|
5
|
-
"mappings": ";;AAAA;AACA;AACA;AAEe,sBAAsB;AACnC,SACE,oCAAC;AAAA,IAAO,OAAK;AAAA,KACX,oCAAC,OAAO,SAAP;AAAA,IAAe,SAAO;AAAA,KACrB,oCAAC,cAAO,cAAY,CACtB,GACA,oCAAC,OAAO,QAAP,MACC,oCAAC,OAAO,SAAP;AAAA,
|
|
4
|
+
"sourcesContent": ["import { X } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Button, Dialog, Fieldset, Input, Label, Unspaced, YStack } from 'tamagui'\n\nexport default function DialogDemo() {\n return (\n <Dialog modal>\n <Dialog.Trigger asChild>\n <Button>Edit Profile</Button>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Overlay\n key=\"overlay\"\n animation=\"quick\"\n o={0.5}\n enterStyle={{ o: 0 }}\n exitStyle={{ o: 0 }}\n />\n <Dialog.Content\n bordered\n elevate\n key=\"content\"\n space\n animation={[\n 'quick',\n {\n opacity: {\n overshootClamping: true,\n },\n },\n ]}\n enterStyle={{ x: 0, y: -20, opacity: 0, scale: 0.9 }}\n exitStyle={{ x: 0, y: 10, opacity: 0, scale: 0.95 }}\n x={0}\n scale={1}\n opacity={1}\n y={0}\n >\n <Dialog.Title>Edit profile</Dialog.Title>\n <Dialog.Description>\n Make changes to your profile here. Click save when you're done.\n </Dialog.Description>\n <Fieldset space=\"$4\" horizontal>\n <Label w={160} justifyContent=\"flex-end\" htmlFor=\"name\">\n Name\n </Label>\n <Input f={1} id=\"name\" defaultValue=\"Nate Wienert\" />\n </Fieldset>\n <Fieldset space=\"$4\" horizontal>\n <Label w={160} justifyContent=\"flex-end\" htmlFor=\"username\">\n Username\n </Label>\n <Input f={1} id=\"username\" defaultValue=\"@natebirdman\" />\n </Fieldset>\n\n <YStack ai=\"flex-end\" mt=\"$2\">\n <Dialog.Close asChild>\n <Button theme=\"alt1\" aria-label=\"Close\">\n Save changes\n </Button>\n </Dialog.Close>\n </YStack>\n\n <Unspaced>\n <Dialog.Close asChild>\n <Button pos=\"absolute\" t=\"$4\" r=\"$4\" circular icon={X} />\n </Dialog.Close>\n </Unspaced>\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;AAAA;AACA;AACA;AAEe,sBAAsB;AACnC,SACE,oCAAC;AAAA,IAAO,OAAK;AAAA,KACX,oCAAC,OAAO,SAAP;AAAA,IAAe,SAAO;AAAA,KACrB,oCAAC,cAAO,cAAY,CACtB,GACA,oCAAC,OAAO,QAAP,MACC,oCAAC,OAAO,SAAP;AAAA,IACC,KAAI;AAAA,IACJ,WAAU;AAAA,IACV,GAAG;AAAA,IACH,YAAY,EAAE,GAAG,EAAE;AAAA,IACnB,WAAW,EAAE,GAAG,EAAE;AAAA,GACpB,GACA,oCAAC,OAAO,SAAP;AAAA,IACC,UAAQ;AAAA,IACR,SAAO;AAAA,IACP,KAAI;AAAA,IACJ,OAAK;AAAA,IACL,WAAW;AAAA,MACT;AAAA,MACA;AAAA,QACE,SAAS;AAAA,UACP,mBAAmB;AAAA,QACrB;AAAA,MACF;AAAA,IACF;AAAA,IACA,YAAY,EAAE,GAAG,GAAG,GAAG,KAAK,SAAS,GAAG,OAAO,IAAI;AAAA,IACnD,WAAW,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS,GAAG,OAAO,KAAK;AAAA,IAClD,GAAG;AAAA,IACH,OAAO;AAAA,IACP,SAAS;AAAA,IACT,GAAG;AAAA,KAEH,oCAAC,OAAO,OAAP,MAAa,cAAY,GAC1B,oCAAC,OAAO,aAAP,MAAmB,iEAEpB,GACA,oCAAC;AAAA,IAAS,OAAM;AAAA,IAAK,YAAU;AAAA,KAC7B,oCAAC;AAAA,IAAM,GAAG;AAAA,IAAK,gBAAe;AAAA,IAAW,SAAQ;AAAA,KAAO,MAExD,GACA,oCAAC;AAAA,IAAM,GAAG;AAAA,IAAG,IAAG;AAAA,IAAO,cAAa;AAAA,GAAe,CACrD,GACA,oCAAC;AAAA,IAAS,OAAM;AAAA,IAAK,YAAU;AAAA,KAC7B,oCAAC;AAAA,IAAM,GAAG;AAAA,IAAK,gBAAe;AAAA,IAAW,SAAQ;AAAA,KAAW,UAE5D,GACA,oCAAC;AAAA,IAAM,GAAG;AAAA,IAAG,IAAG;AAAA,IAAW,cAAa;AAAA,GAAe,CACzD,GAEA,oCAAC;AAAA,IAAO,IAAG;AAAA,IAAW,IAAG;AAAA,KACvB,oCAAC,OAAO,OAAP;AAAA,IAAa,SAAO;AAAA,KACnB,oCAAC;AAAA,IAAO,OAAM;AAAA,IAAO,cAAW;AAAA,KAAQ,cAExC,CACF,CACF,GAEA,oCAAC,gBACC,oCAAC,OAAO,OAAP;AAAA,IAAa,SAAO;AAAA,KACnB,oCAAC;AAAA,IAAO,KAAI;AAAA,IAAW,GAAE;AAAA,IAAK,GAAE;AAAA,IAAK,UAAQ;AAAA,IAAC,MAAM;AAAA,GAAG,CACzD,CACF,CACF,CACF,CACF;AAEJ;AApEwB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/ListItemDemo.js
CHANGED
|
@@ -19,16 +19,16 @@ function ListItemDemo1() {
|
|
|
19
19
|
size: "$4",
|
|
20
20
|
vertical: true
|
|
21
21
|
}, /* @__PURE__ */ React.createElement(ListItem, {
|
|
22
|
-
|
|
22
|
+
hoverTheme: true,
|
|
23
23
|
icon: Star
|
|
24
24
|
}, "Star"), /* @__PURE__ */ React.createElement(ListItem, {
|
|
25
|
-
|
|
25
|
+
hoverTheme: true,
|
|
26
26
|
icon: Moon
|
|
27
27
|
}, "Moon"), /* @__PURE__ */ React.createElement(ListItem, {
|
|
28
|
-
|
|
28
|
+
hoverTheme: true,
|
|
29
29
|
icon: Sun
|
|
30
30
|
}, "Sun"), /* @__PURE__ */ React.createElement(ListItem, {
|
|
31
|
-
|
|
31
|
+
hoverTheme: true,
|
|
32
32
|
icon: Cloud
|
|
33
33
|
}, "Cloud"));
|
|
34
34
|
}
|
|
@@ -42,13 +42,13 @@ function ListItemDemo2() {
|
|
|
42
42
|
vertical: true,
|
|
43
43
|
separator: /* @__PURE__ */ React.createElement(Separator, null)
|
|
44
44
|
}, /* @__PURE__ */ React.createElement(ListItem, {
|
|
45
|
-
|
|
45
|
+
hoverTheme: true,
|
|
46
46
|
title: "Star",
|
|
47
47
|
subTitle: "Subtitle",
|
|
48
48
|
icon: Star,
|
|
49
49
|
iconAfter: ChevronRight
|
|
50
50
|
}), /* @__PURE__ */ React.createElement(ListItem, {
|
|
51
|
-
|
|
51
|
+
hoverTheme: true,
|
|
52
52
|
title: "Moon",
|
|
53
53
|
subTitle: "Subtitle",
|
|
54
54
|
icon: Moon,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ListItemDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["import { ChevronRight, Cloud, Moon, Star, Sun } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Group, ListItem, Separator, XStack } from 'tamagui'\n\nexport default function ListItemDemo() {\n return (\n <XStack $sm={{ flexDirection: 'column' }} px=\"$4\" space>\n <ListItemDemo1 />\n <ListItemDemo2 />\n </XStack>\n )\n}\n\nfunction ListItemDemo1() {\n return (\n <Group als=\"center\" bordered w={240} size=\"$4\" vertical>\n <ListItem
|
|
5
|
-
"mappings": ";;AAAA;AACA;AACA;AAEe,wBAAwB;AACrC,SACE,oCAAC;AAAA,IAAO,KAAK,EAAE,eAAe,SAAS;AAAA,IAAG,IAAG;AAAA,IAAK,OAAK;AAAA,KACrD,oCAAC,mBAAc,GACf,oCAAC,mBAAc,CACjB;AAEJ;AAPwB;AASxB,yBAAyB;AACvB,SACE,oCAAC;AAAA,IAAM,KAAI;AAAA,IAAS,UAAQ;AAAA,IAAC,GAAG;AAAA,IAAK,MAAK;AAAA,IAAK,UAAQ;AAAA,KACrD,oCAAC;AAAA,IAAS,
|
|
4
|
+
"sourcesContent": ["import { ChevronRight, Cloud, Moon, Star, Sun } from '@tamagui/feather-icons'\nimport React from 'react'\nimport { Group, ListItem, Separator, XStack } from 'tamagui'\n\nexport default function ListItemDemo() {\n return (\n <XStack $sm={{ flexDirection: 'column' }} px=\"$4\" space>\n <ListItemDemo1 />\n <ListItemDemo2 />\n </XStack>\n )\n}\n\nfunction ListItemDemo1() {\n return (\n <Group als=\"center\" bordered w={240} size=\"$4\" vertical>\n <ListItem hoverTheme icon={Star}>\n Star\n </ListItem>\n <ListItem hoverTheme icon={Moon}>\n Moon\n </ListItem>\n <ListItem hoverTheme icon={Sun}>\n Sun\n </ListItem>\n <ListItem hoverTheme icon={Cloud}>\n Cloud\n </ListItem>\n </Group>\n )\n}\n\nfunction ListItemDemo2() {\n return (\n <Group als=\"center\" bordered w={240} size=\"$6\" vertical separator={<Separator />}>\n <ListItem hoverTheme title=\"Star\" subTitle=\"Subtitle\" icon={Star} iconAfter={ChevronRight} />\n <ListItem hoverTheme title=\"Moon\" subTitle=\"Subtitle\" icon={Moon} iconAfter={ChevronRight} />\n </Group>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;AAAA;AACA;AACA;AAEe,wBAAwB;AACrC,SACE,oCAAC;AAAA,IAAO,KAAK,EAAE,eAAe,SAAS;AAAA,IAAG,IAAG;AAAA,IAAK,OAAK;AAAA,KACrD,oCAAC,mBAAc,GACf,oCAAC,mBAAc,CACjB;AAEJ;AAPwB;AASxB,yBAAyB;AACvB,SACE,oCAAC;AAAA,IAAM,KAAI;AAAA,IAAS,UAAQ;AAAA,IAAC,GAAG;AAAA,IAAK,MAAK;AAAA,IAAK,UAAQ;AAAA,KACrD,oCAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAM,MAEjC,GACA,oCAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAM,MAEjC,GACA,oCAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAK,KAEhC,GACA,oCAAC;AAAA,IAAS,YAAU;AAAA,IAAC,MAAM;AAAA,KAAO,OAElC,CACF;AAEJ;AAjBS;AAmBT,yBAAyB;AACvB,SACE,oCAAC;AAAA,IAAM,KAAI;AAAA,IAAS,UAAQ;AAAA,IAAC,GAAG;AAAA,IAAK,MAAK;AAAA,IAAK,UAAQ;AAAA,IAAC,WAAW,oCAAC,eAAU;AAAA,KAC5E,oCAAC;AAAA,IAAS,YAAU;AAAA,IAAC,OAAM;AAAA,IAAO,UAAS;AAAA,IAAW,MAAM;AAAA,IAAM,WAAW;AAAA,GAAc,GAC3F,oCAAC;AAAA,IAAS,YAAU;AAAA,IAAC,OAAM;AAAA,IAAO,UAAS;AAAA,IAAW,MAAM;AAAA,IAAM,WAAW;AAAA,GAAc,CAC7F;AAEJ;AAPS;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SeparatorDemo.tsx"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;AAAA;AACA;
|
|
4
|
+
"sourcesContent": ["import React from 'react'\nimport { Paragraph, Separator, XStack, YStack } from 'tamagui'\n\nexport default function SeparatorDemo() {\n return (\n <YStack w=\"100%\" maw={300} mx={15}>\n <Paragraph fontWeight=\"800\">Tamagui</Paragraph>\n <Paragraph>A cross-platform component library.</Paragraph>\n <Separator my={15} />\n <XStack h={20} ai=\"center\">\n <Paragraph>Blog</Paragraph>\n <Separator als=\"stretch\" vertical mx={15} />\n <Paragraph>Docs</Paragraph>\n <Separator als=\"stretch\" vertical mx={15} />\n <Paragraph>Source</Paragraph>\n </XStack>\n </YStack>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;AAAA;AACA;AAEe,yBAAyB;AACtC,SACE,oCAAC;AAAA,IAAO,GAAE;AAAA,IAAO,KAAK;AAAA,IAAK,IAAI;AAAA,KAC7B,oCAAC;AAAA,IAAU,YAAW;AAAA,KAAM,SAAO,GACnC,oCAAC,iBAAU,qCAAmC,GAC9C,oCAAC;AAAA,IAAU,IAAI;AAAA,GAAI,GACnB,oCAAC;AAAA,IAAO,GAAG;AAAA,IAAI,IAAG;AAAA,KAChB,oCAAC,iBAAU,MAAI,GACf,oCAAC;AAAA,IAAU,KAAI;AAAA,IAAU,UAAQ;AAAA,IAAC,IAAI;AAAA,GAAI,GAC1C,oCAAC,iBAAU,MAAI,GACf,oCAAC;AAAA,IAAU,KAAI;AAAA,IAAU,UAAQ;AAAA,IAAC,IAAI;AAAA,GAAI,GAC1C,oCAAC,iBAAU,QAAM,CACnB,CACF;AAEJ;AAfwB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/DialogDemo.js
CHANGED
|
@@ -6,7 +6,7 @@ function DialogDemo() {
|
|
|
6
6
|
return <Dialog modal>
|
|
7
7
|
<Dialog.Trigger asChild><Button>Edit Profile</Button></Dialog.Trigger>
|
|
8
8
|
<Dialog.Portal>
|
|
9
|
-
<Dialog.Overlay key="overlay" o={0.5} />
|
|
9
|
+
<Dialog.Overlay key="overlay" animation="quick" o={0.5} enterStyle={{ o: 0 }} exitStyle={{ o: 0 }} />
|
|
10
10
|
<Dialog.Content bordered elevate key="content" space animation={[
|
|
11
11
|
"quick",
|
|
12
12
|
{
|
|
@@ -17,11 +17,11 @@ function DialogDemo() {
|
|
|
17
17
|
]} enterStyle={{ x: 0, y: -20, opacity: 0, scale: 0.9 }} exitStyle={{ x: 0, y: 10, opacity: 0, scale: 0.95 }} x={0} scale={1} opacity={1} y={0}>
|
|
18
18
|
<Dialog.Title>Edit profile</Dialog.Title>
|
|
19
19
|
<Dialog.Description>Make changes to your profile here. Click save when you're done.</Dialog.Description>
|
|
20
|
-
<Fieldset horizontal>
|
|
20
|
+
<Fieldset space="$4" horizontal>
|
|
21
21
|
<Label w={160} justifyContent="flex-end" htmlFor="name">Name</Label>
|
|
22
22
|
<Input f={1} id="name" defaultValue="Nate Wienert" />
|
|
23
23
|
</Fieldset>
|
|
24
|
-
<Fieldset horizontal>
|
|
24
|
+
<Fieldset space="$4" horizontal>
|
|
25
25
|
<Label w={160} justifyContent="flex-end" htmlFor="username">Username</Label>
|
|
26
26
|
<Input f={1} id="username" defaultValue="@natebirdman" />
|
|
27
27
|
</Fieldset>
|
package/dist/jsx/ListItemDemo.js
CHANGED
|
@@ -11,17 +11,17 @@ function ListItemDemo() {
|
|
|
11
11
|
__name(ListItemDemo, "ListItemDemo");
|
|
12
12
|
function ListItemDemo1() {
|
|
13
13
|
return <Group als="center" bordered w={240} size="$4" vertical>
|
|
14
|
-
<ListItem
|
|
15
|
-
<ListItem
|
|
16
|
-
<ListItem
|
|
17
|
-
<ListItem
|
|
14
|
+
<ListItem hoverTheme icon={Star}>Star</ListItem>
|
|
15
|
+
<ListItem hoverTheme icon={Moon}>Moon</ListItem>
|
|
16
|
+
<ListItem hoverTheme icon={Sun}>Sun</ListItem>
|
|
17
|
+
<ListItem hoverTheme icon={Cloud}>Cloud</ListItem>
|
|
18
18
|
</Group>;
|
|
19
19
|
}
|
|
20
20
|
__name(ListItemDemo1, "ListItemDemo1");
|
|
21
21
|
function ListItemDemo2() {
|
|
22
22
|
return <Group als="center" bordered w={240} size="$6" vertical separator={<Separator />}>
|
|
23
|
-
<ListItem
|
|
24
|
-
<ListItem
|
|
23
|
+
<ListItem hoverTheme title="Star" subTitle="Subtitle" icon={Star} iconAfter={ChevronRight} />
|
|
24
|
+
<ListItem hoverTheme title="Moon" subTitle="Subtitle" icon={Moon} iconAfter={ChevronRight} />
|
|
25
25
|
</Group>;
|
|
26
26
|
}
|
|
27
27
|
__name(ListItemDemo2, "ListItemDemo2");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
//! debug
|
|
4
3
|
import { Paragraph, Separator, XStack, YStack } from "tamagui";
|
|
5
4
|
function SeparatorDemo() {
|
|
6
5
|
return <YStack w="100%" maw={300} mx={15}>
|
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.72",
|
|
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.72",
|
|
21
|
+
"@tamagui/core": "^1.0.1-beta.72",
|
|
22
|
+
"tamagui": "^1.0.1-beta.72"
|
|
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.72",
|
|
30
30
|
"react": "*",
|
|
31
31
|
"react-dom": "*"
|
|
32
32
|
},
|
package/src/DialogDemo.tsx
CHANGED
|
@@ -9,7 +9,13 @@ export default function DialogDemo() {
|
|
|
9
9
|
<Button>Edit Profile</Button>
|
|
10
10
|
</Dialog.Trigger>
|
|
11
11
|
<Dialog.Portal>
|
|
12
|
-
<Dialog.Overlay
|
|
12
|
+
<Dialog.Overlay
|
|
13
|
+
key="overlay"
|
|
14
|
+
animation="quick"
|
|
15
|
+
o={0.5}
|
|
16
|
+
enterStyle={{ o: 0 }}
|
|
17
|
+
exitStyle={{ o: 0 }}
|
|
18
|
+
/>
|
|
13
19
|
<Dialog.Content
|
|
14
20
|
bordered
|
|
15
21
|
elevate
|
|
@@ -34,13 +40,13 @@ export default function DialogDemo() {
|
|
|
34
40
|
<Dialog.Description>
|
|
35
41
|
Make changes to your profile here. Click save when you're done.
|
|
36
42
|
</Dialog.Description>
|
|
37
|
-
<Fieldset horizontal>
|
|
43
|
+
<Fieldset space="$4" horizontal>
|
|
38
44
|
<Label w={160} justifyContent="flex-end" htmlFor="name">
|
|
39
45
|
Name
|
|
40
46
|
</Label>
|
|
41
47
|
<Input f={1} id="name" defaultValue="Nate Wienert" />
|
|
42
48
|
</Fieldset>
|
|
43
|
-
<Fieldset horizontal>
|
|
49
|
+
<Fieldset space="$4" horizontal>
|
|
44
50
|
<Label w={160} justifyContent="flex-end" htmlFor="username">
|
|
45
51
|
Username
|
|
46
52
|
</Label>
|
package/src/ListItemDemo.tsx
CHANGED
|
@@ -14,16 +14,16 @@ export default function ListItemDemo() {
|
|
|
14
14
|
function ListItemDemo1() {
|
|
15
15
|
return (
|
|
16
16
|
<Group als="center" bordered w={240} size="$4" vertical>
|
|
17
|
-
<ListItem
|
|
17
|
+
<ListItem hoverTheme icon={Star}>
|
|
18
18
|
Star
|
|
19
19
|
</ListItem>
|
|
20
|
-
<ListItem
|
|
20
|
+
<ListItem hoverTheme icon={Moon}>
|
|
21
21
|
Moon
|
|
22
22
|
</ListItem>
|
|
23
|
-
<ListItem
|
|
23
|
+
<ListItem hoverTheme icon={Sun}>
|
|
24
24
|
Sun
|
|
25
25
|
</ListItem>
|
|
26
|
-
<ListItem
|
|
26
|
+
<ListItem hoverTheme icon={Cloud}>
|
|
27
27
|
Cloud
|
|
28
28
|
</ListItem>
|
|
29
29
|
</Group>
|
|
@@ -33,8 +33,8 @@ function ListItemDemo1() {
|
|
|
33
33
|
function ListItemDemo2() {
|
|
34
34
|
return (
|
|
35
35
|
<Group als="center" bordered w={240} size="$6" vertical separator={<Separator />}>
|
|
36
|
-
<ListItem
|
|
37
|
-
<ListItem
|
|
36
|
+
<ListItem hoverTheme title="Star" subTitle="Subtitle" icon={Star} iconAfter={ChevronRight} />
|
|
37
|
+
<ListItem hoverTheme title="Moon" subTitle="Subtitle" icon={Moon} iconAfter={ChevronRight} />
|
|
38
38
|
</Group>
|
|
39
39
|
)
|
|
40
40
|
}
|
package/src/SeparatorDemo.tsx
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/AvatarDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/ButtonDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/CardDemo.d.ts
CHANGED
|
File without changes
|
package/types/CardDemo.d.ts.map
CHANGED
|
File without changes
|
package/types/Demos.d.ts
CHANGED
|
File without changes
|
package/types/Demos.d.ts.map
CHANGED
|
File without changes
|
package/types/DialogDemo.d.ts
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogDemo.d.ts","sourceRoot":"","sources":["../src/DialogDemo.tsx"],"names":[],"mappings":";AAIA,MAAM,CAAC,OAAO,UAAU,UAAU,
|
|
1
|
+
{"version":3,"file":"DialogDemo.d.ts","sourceRoot":"","sources":["../src/DialogDemo.tsx"],"names":[],"mappings":";AAIA,MAAM,CAAC,OAAO,UAAU,UAAU,gBAoEjC"}
|
package/types/DrawerDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/FormsDemo.d.ts
CHANGED
|
File without changes
|
package/types/FormsDemo.d.ts.map
CHANGED
|
File without changes
|
package/types/GroupDemo.d.ts
CHANGED
|
File without changes
|
package/types/GroupDemo.d.ts.map
CHANGED
|
File without changes
|
package/types/HeadingsDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/ImageDemo.d.ts
CHANGED
|
File without changes
|
package/types/ImageDemo.d.ts.map
CHANGED
|
File without changes
|
|
File without changes
|
package/types/LabelDemo.d.ts
CHANGED
|
File without changes
|
package/types/LabelDemo.d.ts.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/ListItemDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/MenuDemo.d.ts
CHANGED
|
File without changes
|
package/types/MenuDemo.d.ts.map
CHANGED
|
File without changes
|
package/types/PopoverDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/ProgressDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/SelectDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/SeparatorDemo.d.ts
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SeparatorDemo.d.ts","sourceRoot":"","sources":["../src/SeparatorDemo.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SeparatorDemo.d.ts","sourceRoot":"","sources":["../src/SeparatorDemo.tsx"],"names":[],"mappings":";AAGA,MAAM,CAAC,OAAO,UAAU,aAAa,gBAepC"}
|
package/types/ShapesDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/SliderDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/SpinnerDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/StacksDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/SwitchDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/TamaguiLogo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/TextDemo.d.ts
CHANGED
|
File without changes
|
package/types/TextDemo.d.ts.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/TooltipDemo.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/demos/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/types/index.d.ts
CHANGED
|
File without changes
|
package/types/index.d.ts.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|