Skip to content

Commit 788fcf0

Browse files
authored
Merge pull request #116 from adaptui/webapp-fix
2 parents 26b17bc + 37db410 commit 788fcf0

File tree

8 files changed

+19
-9
lines changed

8 files changed

+19
-9
lines changed

example/src/modules/feedback/SpinnerScreen.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export const SpinnerScreen = () => {
6363
setSelectedTheme(value as SpinnerTheme)
6464
}
6565
orientation="horizontal"
66+
style={tailwind.style("flex-wrap")}
6667
>
6768
<Radio value="base" label="base" />
6869
<Radio value="primary" label="primary" />

example/src/modules/forms/InputScreen.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const InputScreen = () => {
7979
setSelectedVariant(value as InputVariants)
8080
}
8181
orientation="horizontal"
82+
style={tailwind.style("flex-wrap")}
8283
>
8384
<Radio value="outline" label="outline" />
8485
<Radio value="subtle" label="subtle" />

example/src/modules/forms/SelectScreen.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export const SelectScreen = () => {
136136
setSelectedVariant(value as SelectVariants)
137137
}
138138
orientation="horizontal"
139+
style={tailwind.style("flex-wrap")}
139140
>
140141
<Radio value="outline" label="outline" />
141142
<Radio value="subtle" label="subtle" />

example/src/modules/popups/TooltipScreen.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const TooltipScreen = () => {
3939
themeColor="success"
4040
size="sm"
4141
>
42-
Tooltip
42+
Click here
4343
</Button>
4444
}
4545
content="2 out 3 tasks completed"
@@ -61,6 +61,7 @@ export const TooltipScreen = () => {
6161
setTooltipPlacement(value as TooltipPlacement)
6262
}
6363
orientation="horizontal"
64+
style={tailwind.style("flex-wrap")}
6465
>
6566
<Radio value="top" label="top" />
6667
<Radio value="bottom" label="bottom" />
@@ -76,7 +77,9 @@ export const TooltipScreen = () => {
7677
<Radio value="left top" label="left top" />
7778
</RadioGroup>
7879
</Group>
79-
<Box style={tailwind.style("flex flex-row justify-start w-full")}>
80+
<Box
81+
style={tailwind.style("flex flex-row justify-start w-full flex-wrap")}
82+
>
8083
<Switch
8184
state={hasArrow}
8285
onStateChange={(value: SetStateAction<boolean>) =>

example/src/modules/primitives/AvatarGroupScreen.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,24 +70,23 @@ export const AvatarGroupScreen = () => {
7070

7171
const avatars = [
7272
{
73-
uri: "https://i.pravatar.cc/300??img=6",
73+
uri: "https://i.pravatar.cc/300?img=41",
7474
name: "Navin Moorthy",
7575
},
7676
{
77-
uri: "https://i.pravatar.cc/300??img=13",
77+
uri: "https://i.pravatar.cc/300?img=13",
7878
name: "Karthik Balasubramanian",
7979
},
80-
8180
{
82-
uri: "https://i.pravatar.cc/300??img=25",
81+
uri: "https://i.pravatar.cc/300?img=32",
8382
name: "Sandeep Prabhakaran",
8483
},
8584
{
86-
uri: "https://i.pravatar.cc/300??img=33",
85+
uri: "https://i.pravatar.cc/300?img=26",
8786
name: "Abhishek MG",
8887
},
8988
{
90-
uri: "https://i.pravatar.cc/300??img=45",
89+
uri: "https://i.pravatar.cc/300?img=57",
9190
name: "Udhaya Chandran",
9291
},
9392
];
@@ -138,6 +137,7 @@ export const AvatarGroupScreen = () => {
138137
value={selectedSize}
139138
onChange={(value: string) => setSelectedSize(value as AvatarSizes)}
140139
orientation="horizontal"
140+
style={tailwind.style("flex-wrap")}
141141
>
142142
<Radio value="xs" label="xs" />
143143
<Radio value="sm" label="sm" />

example/src/modules/primitives/AvatarScreen.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const AvatarScreen = () => {
4444
break;
4545
case "withImage":
4646
setImageUri({
47-
uri: "https://i.pravatar.cc/300??img=5",
47+
uri: "https://i.pravatar.cc/300?img=68",
4848
cache: "reload",
4949
});
5050
setName(undefined);
@@ -96,6 +96,7 @@ export const AvatarScreen = () => {
9696
value={selectedSize}
9797
onChange={(value: string) => setSelectedSize(value as AvatarSizes)}
9898
orientation="horizontal"
99+
style={tailwind.style("flex-wrap")}
99100
>
100101
<Radio value="xs" label="xs" />
101102
<Radio value="sm" label="sm" />
@@ -126,6 +127,7 @@ export const AvatarScreen = () => {
126127
setSelectedStatus(value as AvatarStatusType)
127128
}
128129
orientation="horizontal"
130+
style={tailwind.style("flex-wrap")}
129131
>
130132
<Radio value={undefined} label="default" />
131133
<Radio value="active" label="active" />

example/src/modules/primitives/BadgeScreen.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export const BadgeScreen = () => {
7676
value={theme}
7777
onChange={(value: string) => setTheme(value as BadgeTheme)}
7878
orientation="horizontal"
79+
style={tailwind.style("flex-wrap")}
7980
>
8081
<Radio value="base" label="base" />
8182
<Radio value="danger" label="danger" />

example/src/modules/primitives/ButtonScreen.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export const ButtonScreen = () => {
8383
value={selectedTheme}
8484
onChange={(value: string) => setSelectedTheme(value as ButtonTheme)}
8585
orientation="horizontal"
86+
style={tailwind.style("flex-wrap")}
8687
>
8788
<Radio value="base" label="base" />
8889
<Radio value="primary" label="primary" />

0 commit comments

Comments
 (0)