docstring_tokens
stringlengths 0
76.5k
| code_tokens
stringlengths 75
1.81M
| label_window
sequencelengths 4
2.12k
| html_url
stringlengths 74
116
| file_name
stringlengths 3
311
|
---|---|---|---|---|
<VStack space={6} alignSelf="flex-start" w="100%">
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
// @ts-ignore
placement={position == 'auto' ? undefined : position}
trigger={(triggerProps) => {
return (
<Button alignSelf="center" variant="solid" {...triggerProps}>
Menu
</Button>
);
}} | <mask> setShouldOverlapWithTrigger,
<mask> ] = React.useState(false);
<mask>
<mask> return (
<mask> <VStack space={6} alignItems="center">
<mask> <Checkbox
<mask> value="shouldOverlapWithTrigger"
<mask> isChecked={shouldOverlapWithTrigger}
<mask> onChange={() => setShouldOverlapWithTrigger(!shouldOverlapWithTrigger)}
<mask> >
<mask> Should overlap with trigger
<mask> </Checkbox>
<mask> <HStack space={6}>
<mask> <Menu
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove const [
shouldOverlapWithTrigger,
setShouldOverlapWithTrigger,
] = React.useState(false);
</s> add const [shouldOverlapWithTrigger] = React.useState(false); </s> remove Should overlap with trigger
</Checkbox>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top Left
</Button>
);
}}
>
<Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top
</Button>
);
}}
>
<Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right top
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom left
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left top
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
</s> add <Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> </s> remove <VStack space={6}>
<Tooltip label="Auto">
<Button>Auto</Button>
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
{/* @ts-ignore */}
<Tooltip label={position} placement={position}>
<Button alignSelf="center">ToolTip</Button> </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Menu/MenuPositions.tsx |
<Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> | <mask> value="shouldOverlapWithTrigger"
<mask> isChecked={shouldOverlapWithTrigger}
<mask> onChange={() => setShouldOverlapWithTrigger(!shouldOverlapWithTrigger)}
<mask> >
<mask> Should overlap with trigger
<mask> </Checkbox>
<mask> <HStack space={6}>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="top left"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Top Left
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu item 1</Menu.Item>
<mask> <Menu.Item>Large Menu item 2</Menu.Item>
<mask> <Menu.Item>Large Menu item 3</Menu.Item>
<mask> </Menu>
<mask>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="top"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Top
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu item 1</Menu.Item>
<mask> <Menu.Item>Large Menu item 2</Menu.Item>
<mask> <Menu.Item>Large Menu item 3</Menu.Item>
<mask> </Menu>
<mask>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="top right"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Top right
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="right top"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Right top
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="right"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Right
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="right bottom"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Right bottom
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="bottom left"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Bottom left
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="bottom"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Bottom
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="bottom right"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Bottom right
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="left top"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Left top
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="left"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Left
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask>
<mask> <Menu
<mask> shouldOverlapWithTrigger={shouldOverlapWithTrigger}
<mask> placement="left bottom"
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button variant="ghost" {...triggerProps}>
<mask> Left bottom
<mask> </Button>
<mask> );
<mask> }}
<mask> >
<mask> <Menu.Item>Large Menu Item 1</Menu.Item>
<mask> <Menu.Item>Large Menu Item 2</Menu.Item>
<mask> <Menu.Item>Large Menu Item 3</Menu.Item>
<mask> </Menu>
<mask> </HStack>
<mask> </VStack>
<mask> );
<mask> }
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={6} alignItems="center">
<Checkbox
value="shouldOverlapWithTrigger"
isChecked={shouldOverlapWithTrigger}
onChange={() => setShouldOverlapWithTrigger(!shouldOverlapWithTrigger)}
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
// @ts-ignore
placement={position == 'auto' ? undefined : position}
trigger={(triggerProps) => {
return (
<Button alignSelf="center" variant="solid" {...triggerProps}>
Menu
</Button>
);
}} </s> remove const Item = ({ title }) => (
</s> add const Item = ({ title }: { title: String }) => ( </s> remove return <Button {...triggerProps}>Auto</Button>;
</s> add return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); </s> remove return <IconButton {...triggerProps} icon={<HamburgerIcon />} />;
</s> add return (
<Pressable {...triggerProps}>
<HamburgerIcon />
</Pressable>
); </s> remove <HStack space={6}>
<Popover
placement="top left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="right top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="bottom left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="left top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
</s> add <Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Menu/MenuPositions.tsx |
import { Button, Modal, Stack } from 'native-base'; | <mask> //@ts-nocheck
<mask> import React from 'react';
<mask> import { Button, Modal, VStack } from 'native-base';
<mask> import { useState } from 'react';
<mask>
<mask> export const Example = () => {
<mask> const [placement, setPlacement] = useState(undefined);
<mask> const [open, setOpen] = useState(false);
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Modal, Button, VStack } from 'native-base';
</s> add import { Modal, Button, Stack } from 'native-base'; </s> remove import { Button, useToast, VStack } from 'native-base';
</s> add import { Button, useToast, Stack } from 'native-base'; </s> remove import { Modal, Button, Input } from 'native-base';
</s> add import { Modal, Button, Input, useColorModeValue } from 'native-base'; </s> remove import { Button, Box, PresenceTransition } from 'native-base';
</s> add import { Fade, Button, Box } from 'native-base'; </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { ScaleFade, Button, Box } from 'native-base'; | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/ModalPlacement.tsx |
<Stack direction={{ base: 'column', md: 'row' }} space={2}> | <mask> };
<mask>
<mask> return (
<mask> <>
<mask> <VStack space={2}>
<mask> <Button onPress={() => openModal('top')}>Top</Button>
<mask> <Button onPress={() => openModal('bottom')}>Bottom</Button>
<mask> <Button onPress={() => openModal('center')}>Center</Button>
<mask> <Button onPress={() => openModal('left')}>Left</Button>
<mask> <Button onPress={() => openModal('right')}>Right</Button>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove </VStack>
<Modal isOpen={open} onClose={() => setOpen(false)}>
</s> add </Stack>
<Modal isOpen={open} onClose={() => setOpen(false)} mt={12}> </s> remove <Button size={'sm'} onPress={() => setShow(true)} my={1}>
</s> add <Button size={'sm'} onPress={() => setShow(true)} my={2} mx="auto"> </s> remove Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
</s> add {str1} </s> remove <VStack space={2}>
</s> add <Stack direction={{ base: 'column', md: 'row' }} space={2}> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 250 } }}
>
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/ModalPlacement.tsx |
</Stack>
<Modal isOpen={open} onClose={() => setOpen(false)} mt={12}> | <mask> <Button onPress={() => openModal('bottom')}>Bottom</Button>
<mask> <Button onPress={() => openModal('center')}>Center</Button>
<mask> <Button onPress={() => openModal('left')}>Left</Button>
<mask> <Button onPress={() => openModal('right')}>Right</Button>
<mask> </VStack>
<mask> <Modal isOpen={open} onClose={() => setOpen(false)}>
<mask> <Modal.Content maxWidth="400px" {...styles[placement]}>
<mask> <Modal.CloseButton />
<mask> <Modal.Header>Modal Title</Modal.Header>
<mask> <Modal.Body>
<mask> Sit nulla est ex deserunt exercitation anim occaecat. Nostrud
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={2}>
</s> add <Stack direction={{ base: 'column', md: 'row' }} space={2}> </s> remove <Button size={'sm'} onPress={() => setShow(true)} my={1}>
</s> add <Button size={'sm'} onPress={() => setShow(true)} my={2} mx="auto"> </s> remove Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
</s> add {str1} </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 250 } }}
>
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> </s> remove Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
</s> add {str2}
{/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/ModalPlacement.tsx |
import { Modal, Button, Input, useColorModeValue } from 'native-base'; | <mask> import React from 'react';
<mask> import { Modal, Button, Input } from 'native-base';
<mask>
<mask> export function Example() {
<mask> const [modalVisible, setModalVisible] = React.useState(false);
<mask> const initialRef = React.useRef(null);
<mask> const finalRef = React.useRef(null);
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Modal, Button, VStack } from 'native-base';
</s> add import { Modal, Button, Stack } from 'native-base'; </s> remove import { Button, Modal, VStack } from 'native-base';
</s> add import { Button, Modal, Stack } from 'native-base'; </s> remove const [
shouldOverlapWithTrigger,
setShouldOverlapWithTrigger,
] = React.useState(false);
</s> add const [shouldOverlapWithTrigger] = React.useState(false); </s> remove import { Slide, Button, Box } from 'native-base';
</s> add import { Slide, Button, Box, Center } from 'native-base'; </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { SlideFade, Button, Box } from 'native-base'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/ModalRefEg.tsx |
<Input
mt={4}
ref={finalRef}
placeholder="I'll receive focus on close"
placeholderTextColor={useColorModeValue('blueGray.700', 'blueGray.100')}
/> | <mask> }}
<mask> >
<mask> Open Modal
<mask> </Button>
<mask> <Input mt={4} ref={finalRef} placeholder="I'll receive focus on close" />
<mask> </>
<mask> );
<mask> }
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove https://nativebase.io
</s> add NativeBase </s> remove </PresenceTransition>
</s> add </Fade> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1, transition: { duration: 250 } }}
>
<Box p="40px" mt="4" bg="teal.500" rounded="md">
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<ScaleFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/ModalRefEg.tsx |
import { Modal, Button, Stack } from 'native-base'; | <mask> // @ts-nocheck
<mask> import React from 'react';
<mask> import { Modal, Button, VStack } from 'native-base';
<mask>
<mask> export function Example() {
<mask> const [modalVisible, setModalVisible] = React.useState(false);
<mask> const [size, setSize] = React.useState('md');
<mask>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Modal, Button, Input } from 'native-base';
</s> add import { Modal, Button, Input, useColorModeValue } from 'native-base'; </s> remove import { Button, Modal, VStack } from 'native-base';
</s> add import { Button, Modal, Stack } from 'native-base'; </s> remove const [
shouldOverlapWithTrigger,
setShouldOverlapWithTrigger,
] = React.useState(false);
</s> add const [shouldOverlapWithTrigger] = React.useState(false); </s> remove import { Button, useToast, VStack } from 'native-base';
</s> add import { Button, useToast, Stack } from 'native-base'; </s> remove import { Slide, Button, Box } from 'native-base';
</s> add import { Slide, Button, Box, Center } from 'native-base'; | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/Size.tsx |
<Stack direction={{ base: 'column', md: 'row' }} space={2}> | <mask> </Button.Group>
<mask> </Modal.Footer>
<mask> </Modal.Content>
<mask> </Modal>
<mask> <VStack space={2}>
<mask> {['sm', 'md', 'lg', 'full'].map((size) => {
<mask> return (
<mask> <Button
<mask> onPress={() => handleSizeClick(size)}
<mask> key={size}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={2}>
</s> add <Stack direction={{ base: 'column', md: 'row' }} space={2}> </s> remove <VStack space={2}>
</s> add <Stack direction={{ base: 'column', md: 'row' }} space={2}> </s> remove </VStack>
<Modal isOpen={open} onClose={() => setOpen(false)}>
</s> add </Stack>
<Modal isOpen={open} onClose={() => setOpen(false)} mt={12}> </s> remove <Button size={'sm'} onPress={() => setShow(true)} my={1}>
</s> add <Button size={'sm'} onPress={() => setShow(true)} my={2} mx="auto"> </s> remove <HStack key={key} space={2}>
</s> add <VStack key={key} space={{ base: 1, md: 4 }}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/Size.tsx |
</Stack> | <mask> key={size}
<mask> >{`Open ${size} Modal`}</Button>
<mask> );
<mask> })}
<mask> </VStack>
<mask> </>
<mask> );
<mask> }
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove </HStack>
</s> add </VStack> </s> remove </VStack>
</s> add </HStack> </s> remove <Alert.Title>{`This is an ${key} alert`}</Alert.Title>
</s> add <Alert.Title
flexShrink={1}
>{`This is an ${key} alert`}</Alert.Title> </s> remove </PresenceTransition>
</s> add </Fade> </s> remove </PresenceTransition>
</s> add </ScaleFade> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Modal/Size.tsx |
import React, { useState } from 'react';
import { Popover, Button, VStack, Select, CheckIcon } from 'native-base'; | <mask> import React from 'react';
<mask> import { Popover, Button, VStack, HStack } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <VStack space={6}>
<mask> <Popover
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> </s> remove import { Tooltip, Button, VStack, HStack } from 'native-base';
</s> add import { Tooltip, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove <VStack space={6}>
<Tooltip label="Auto">
<Button>Auto</Button>
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
{/* @ts-ignore */}
<Tooltip label={position} placement={position}>
<Button alignSelf="center">ToolTip</Button> </s> remove import { Menu, Button, VStack, HStack, Checkbox } from 'native-base';
</s> add import { Menu, Button, VStack, Select, CheckIcon } from 'native-base'; | [
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Popover/PopoverPositions.tsx |
const [position, setPosition] = useState('auto');
| <mask> import React, { useState } from 'react';
<mask> import { Popover, Button, VStack, Select, CheckIcon } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <VStack space={6} alignSelf="flex-start" w="100%">
<mask> <Popover
<mask> // @ts-ignore
<mask> placement={position == 'auto' ? undefined : position}
<mask> trigger={(triggerProps) => {
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import React from 'react';
import { Popover, Button, VStack, HStack } from 'native-base';
</s> add import React, { useState } from 'react';
import { Popover, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove <VStack space={6} alignItems="center">
<Checkbox
value="shouldOverlapWithTrigger"
isChecked={shouldOverlapWithTrigger}
onChange={() => setShouldOverlapWithTrigger(!shouldOverlapWithTrigger)}
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
// @ts-ignore
placement={position == 'auto' ? undefined : position}
trigger={(triggerProps) => {
return (
<Button alignSelf="center" variant="solid" {...triggerProps}>
Menu
</Button>
);
}} </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> </s> remove import { Tooltip, Button, VStack, HStack } from 'native-base';
</s> add import { Tooltip, Button, VStack, Select, CheckIcon } from 'native-base'; | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Popover/PopoverPositions.tsx |
<VStack space={6} alignSelf="flex-start" w="100%"> | <mask> import { Popover, Button, VStack, HStack } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <VStack space={6}>
<mask> <Popover
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Auto</Button>;
<mask> }}
<mask> >
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import React from 'react';
import { Popover, Button, VStack, HStack } from 'native-base';
</s> add import React, { useState } from 'react';
import { Popover, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove return <Button {...triggerProps}>Auto</Button>;
</s> add return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); </s> remove import { Tooltip, Button, VStack, HStack } from 'native-base';
</s> add import { Tooltip, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove <VStack space={6}>
<Tooltip label="Auto">
<Button>Auto</Button>
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
{/* @ts-ignore */}
<Tooltip label={position} placement={position}>
<Button alignSelf="center">ToolTip</Button> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Popover/PopoverPositions.tsx |
// @ts-ignore
placement={position == 'auto' ? undefined : position} | <mask> <VStack space={6} alignSelf="flex-start" w="100%">
<mask> <Popover
<mask> trigger={(triggerProps) => {
<mask> return (
<mask> <Button alignSelf="center" {...triggerProps}>
<mask> Trigger
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove return <Button {...triggerProps}>Auto</Button>;
</s> add return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); </s> remove <VStack space={6} alignItems="center">
<Checkbox
value="shouldOverlapWithTrigger"
isChecked={shouldOverlapWithTrigger}
onChange={() => setShouldOverlapWithTrigger(!shouldOverlapWithTrigger)}
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
// @ts-ignore
placement={position == 'auto' ? undefined : position}
trigger={(triggerProps) => {
return (
<Button alignSelf="center" variant="solid" {...triggerProps}>
Menu
</Button>
);
}} </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Popover/PopoverPositions.tsx |
return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); | <mask> return (
<mask> <VStack space={6}>
<mask> <Popover
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Auto</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <HStack space={6}>
<Popover
placement="top left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="right top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="bottom left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="left top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
</s> add <Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> </s> remove <VStack space={6} alignItems="center">
<Checkbox
value="shouldOverlapWithTrigger"
isChecked={shouldOverlapWithTrigger}
onChange={() => setShouldOverlapWithTrigger(!shouldOverlapWithTrigger)}
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
// @ts-ignore
placement={position == 'auto' ? undefined : position}
trigger={(triggerProps) => {
return (
<Button alignSelf="center" variant="solid" {...triggerProps}>
Menu
</Button>
);
}} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Popover/PopoverPositions.tsx |
<Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> | <mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <HStack space={6}>
<mask> <Popover
<mask> placement="top left"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Top Left</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <Popover
<mask> placement="top"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Top</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <Popover
<mask> placement="top right"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Top right</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Popover
<mask> placement="right top"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Right top</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <Popover
<mask> placement="right"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Right</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <Popover
<mask> placement="right bottom"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Right bottom</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Popover
<mask> placement="bottom left"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Bottom left</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <Popover
<mask> placement="bottom"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Bottom</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <Popover
<mask> placement="bottom right"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Bottom right</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Popover
<mask> placement="left top"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Left top</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask> <Popover
<mask> placement="left"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Left</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask>
<mask> <Popover
<mask> placement="left bottom"
<mask> trigger={(triggerProps) => {
<mask> return <Button {...triggerProps}>Left bottom</Button>;
<mask> }}
<mask> >
<mask> <Popover.Content>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header>Data Saved</Popover.Header>
<mask> <Popover.Body>Your changes has been saved.</Popover.Body>
<mask> </Popover.Content>
<mask> </Popover>
<mask> </HStack>
<mask> </VStack>
<mask> );
<mask> }
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove return <Button {...triggerProps}>Auto</Button>;
</s> add return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); </s> remove Should overlap with trigger
</Checkbox>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top Left
</Button>
);
}}
>
<Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top
</Button>
);
}}
>
<Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right top
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom left
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left top
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
</s> add <Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Popover/PopoverPositions.tsx |
{/* @ts-ignore */} | <mask> >
<mask> <Popover.Content width={250}>
<mask> <Popover.Arrow />
<mask> <Popover.CloseButton />
<mask> <Popover.Header fontSize={20} fontWeight={700}>
<mask> Header
<mask> </Popover.Header>
<mask> <Popover.Body>
<mask> <Input
<mask> mb={3}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <HStack space={6}>
<Popover
placement="top left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="right top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="bottom left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="left top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
</s> add <Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> </s> remove return <Button {...triggerProps}>Auto</Button>;
</s> add return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); </s> remove <Input mt={4} ref={finalRef} placeholder="I'll receive focus on close" />
</s> add <Input
mt={4}
ref={finalRef}
placeholder="I'll receive focus on close"
placeholderTextColor={useColorModeValue('blueGray.700', 'blueGray.100')}
/> </s> remove import { Input } from 'native-base';
</s> add import { Input, useColorModeValue } from 'native-base'; </s> remove minH="400px"
</s> add h={48} | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Popover/RefEg.tsx |
import { Box, Tabs, Text } from 'native-base'; | <mask> import React from 'react';
<mask> import { Box, Heading, Tabs, Text } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> return (
<mask> <Box width="100%" p={3}>
<mask> <Heading>This is an example for Tabs</Heading>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Heading>This is an example for Tabs</Heading>
<Tabs my={10}>
</s> add <Tabs> </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove import { Box, Text, Image, Heading, Stack } from 'native-base';
</s> add import {
Box,
Text,
Image,
Heading,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tabs/Composition.tsx |
<Tabs> | <mask>
<mask> export const Example = () => {
<mask> return (
<mask> <Box width="100%" p={3}>
<mask> <Heading>This is an example for Tabs</Heading>
<mask> <Tabs my={10}>
<mask> <Tabs.Bar>
<mask> <Tabs.Tab>One</Tabs.Tab>
<mask> <Tabs.Tab>Two</Tabs.Tab>
<mask> <Tabs.Tab>Three</Tabs.Tab>
<mask> </Tabs.Bar>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Box, Heading, Tabs, Text } from 'native-base';
</s> add import { Box, Tabs, Text } from 'native-base'; </s> remove <Tabs.Tab>Four</Tabs.Tab>
</s> add {/* <Tabs.Tab>Four</Tabs.Tab> */} </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center"> </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tabs/Composition.tsx |
{/* <Tabs.Tab>Four</Tabs.Tab> */} | <mask> <Tabs.Bar>
<mask> <Tabs.Tab>One</Tabs.Tab>
<mask> <Tabs.Tab>Two</Tabs.Tab>
<mask> <Tabs.Tab>Three</Tabs.Tab>
<mask> <Tabs.Tab>Four</Tabs.Tab>
<mask> </Tabs.Bar>
<mask> </Tabs>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Heading>This is an example for Tabs</Heading>
<Tabs my={10}>
</s> add <Tabs> </s> remove <Tabs.View>Three</Tabs.View>
</s> add </s> remove <Tabs.Tab>TAB THREE</Tabs.Tab>
</s> add </s> remove </HStack>
</s> add </Stack> </s> remove https://nativebase.io
</s> add NativeBase | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tabs/TabBarOnly.tsx |
<mask> <Tabs>
<mask> <Tabs.Bar>
<mask> <Tabs.Tab>TAB ONE</Tabs.Tab>
<mask> <Tabs.Tab>TAB TWO</Tabs.Tab>
<mask> <Tabs.Tab>TAB THREE</Tabs.Tab>
<mask> </Tabs.Bar>
<mask> <Tabs.Views>
<mask> <Tabs.View>One</Tabs.View>
<mask> <Tabs.View>Two</Tabs.View>
<mask> <Tabs.View>Three</Tabs.View>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Tabs.View>Three</Tabs.View>
</s> add </s> remove <Heading>This is an example for Tabs</Heading>
<Tabs my={10}>
</s> add <Tabs> </s> remove <Tabs.Tab>Four</Tabs.Tab>
</s> add {/* <Tabs.Tab>Four</Tabs.Tab> */} </s> remove const demoValueControlledTextArea = (e) => {
</s> add const demoValueControlledTextArea = (e: any) => { </s> remove import { Menu, Divider, HamburgerIcon, IconButton } from 'native-base';
</s> add import { Menu, Divider, HamburgerIcon } from 'native-base';
import { Pressable } from 'react-native'; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tabs/Usage.tsx |
|
<mask> </Tabs.Bar>
<mask> <Tabs.Views>
<mask> <Tabs.View>One</Tabs.View>
<mask> <Tabs.View>Two</Tabs.View>
<mask> <Tabs.View>Three</Tabs.View>
<mask> </Tabs.Views>
<mask> </Tabs>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Tabs.Tab>TAB THREE</Tabs.Tab>
</s> add </s> remove <Tabs.Tab>Four</Tabs.Tab>
</s> add {/* <Tabs.Tab>Four</Tabs.Tab> */} </s> remove <Heading>This is an example for Tabs</Heading>
<Tabs my={10}>
</s> add <Tabs> </s> remove </HStack>
</s> add </Stack> </s> remove https://nativebase.io
</s> add NativeBase | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tabs/Usage.tsx |
|
import { Button, useToast, Stack } from 'native-base'; | <mask> import React from 'react';
<mask> import { Button, useToast, VStack } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> const toast = useToast();
<mask> const toastIdRef = React.useRef();
<mask>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Button, Modal, VStack } from 'native-base';
</s> add import { Button, Modal, Stack } from 'native-base'; </s> remove import { Modal, Button, VStack } from 'native-base';
</s> add import { Modal, Button, Stack } from 'native-base'; </s> remove import { Slide, Button, Box } from 'native-base';
</s> add import { Slide, Button, Box, Center } from 'native-base'; </s> remove import { Button, Box, PresenceTransition } from 'native-base';
</s> add import { Fade, Button, Box } from 'native-base'; </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { ScaleFade, Button, Box } from 'native-base'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Toast/CloseToast.tsx |
<Stack direction={{ base: 'column', md: 'row' }} space={2}> | <mask> });
<mask> }
<mask>
<mask> return (
<mask> <VStack space={2}>
<mask> <Button onPress={addToast}>Toast</Button>
<mask> <Button onPress={close} variant="outline">
<mask> Close last toast
<mask> </Button>
<mask> <Button onPress={closeAll} variant="outline">
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove </VStack>
</s> add </Stack> </s> remove <VStack space={2}>
</s> add <Stack direction={{ base: 'column', md: 'row' }} space={2}> </s> remove return <Button {...triggerProps}>Auto</Button>;
</s> add return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); </s> remove <VStack space={2}>
</s> add <Stack direction={{ base: 'column', md: 'row' }} space={2}> </s> remove <Button size={'sm'} onPress={() => setShow(true)} my={1}>
</s> add <Button size={'sm'} onPress={() => setShow(true)} my={2} mx="auto"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Toast/CloseToast.tsx |
</Stack> | <mask> </Button>
<mask> <Button onPress={closeAll} variant="outline">
<mask> Close all toasts
<mask> </Button>
<mask> </VStack>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={2}>
</s> add <Stack direction={{ base: 'column', md: 'row' }} space={2}> </s> remove <Button size={'sm'} onPress={() => setShow(true)} my={1}>
</s> add <Button size={'sm'} onPress={() => setShow(true)} my={2} mx="auto"> </s> remove return <Button {...triggerProps}>Auto</Button>;
</s> add return (
<Button alignSelf="center" {...triggerProps}>
Trigger
</Button>
); </s> remove <HStack>
<Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
>
Notifications
</Button>
</HStack>
</s> add <Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
mx={{ base: 'auto', md: 0 }}
>
Notifications
</Button> </s> remove Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
</s> add {str1} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Toast/CloseToast.tsx |
// @ts-ignore | <mask> toast.show({
<mask> title: `${variant} toast`,
<mask> variant: variant,
<mask> isClosable: true,
<mask> })
<mask> }
<mask> mr={2}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove const Item = ({ title }) => (
</s> add const Item = ({ title }: { title: String }) => ( </s> remove <HStack>
<Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
>
Notifications
</Button>
</HStack>
</s> add <Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
mx={{ base: 'auto', md: 0 }}
>
Notifications
</Button> </s> remove import Usage from './usage';
import Playground from './Playground';
import CenteringChildren from './centeringChildren';
</s> add import { Example as Usage } from './usage';
import { Example as Playground } from './Playground';
import { Example as CenteringChildren } from './centeringChildren'; </s> remove import { Menu, Divider, HamburgerIcon, IconButton } from 'native-base';
</s> add import { Menu, Divider, HamburgerIcon } from 'native-base';
import { Pressable } from 'react-native'; | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Toast/ToastVariants.tsx |
mb={2} | <mask> }
<mask> mr={2}
<mask> >
<mask> {`Show ${variant} toast`}
<mask> </Button>
<mask> ))}
<mask> </Wrap>
<mask> );
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove </VStack>
</s> add </HStack> </s> remove </HStack>
</s> add </VStack> </s> remove </VStack>
</s> add </Stack> </s> remove <HStack>
<Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
>
Notifications
</Button>
</HStack>
</s> add <Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
mx={{ base: 'auto', md: 0 }}
>
Notifications
</Button> | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Toast/ToastVariants.tsx |
import { Tooltip, Button, VStack, Select, CheckIcon } from 'native-base'; | <mask> import React from 'react';
<mask> import { Tooltip, Button, VStack, HStack } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <VStack space={6}>
<mask> <Tooltip label="Auto">
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={6}>
<Tooltip label="Auto">
<Button>Auto</Button>
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
{/* @ts-ignore */}
<Tooltip label={position} placement={position}>
<Button alignSelf="center">ToolTip</Button> </s> remove import React from 'react';
import { Popover, Button, VStack, HStack } from 'native-base';
</s> add import React, { useState } from 'react';
import { Popover, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> </s> remove import { Menu, Button, VStack, HStack, Checkbox } from 'native-base';
</s> add import { Menu, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove const [
shouldOverlapWithTrigger,
setShouldOverlapWithTrigger,
] = React.useState(false);
</s> add const [shouldOverlapWithTrigger] = React.useState(false); | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tooltip/TooltipPositions.tsx |
const [position, setPosition] = React.useState('top left');
| <mask>
<mask> export function Example() {
<mask> return (
<mask> <VStack space={6} alignSelf="flex-start" w="100%">
<mask> {/* @ts-ignore */}
<mask> <Tooltip label={position} placement={position}>
<mask> <Button alignSelf="center">ToolTip</Button>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={6}>
<Tooltip label="Auto">
<Button>Auto</Button>
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
{/* @ts-ignore */}
<Tooltip label={position} placement={position}>
<Button alignSelf="center">ToolTip</Button> </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> </s> remove <VStack space={6} alignItems="center">
<Checkbox
value="shouldOverlapWithTrigger"
isChecked={shouldOverlapWithTrigger}
onChange={() => setShouldOverlapWithTrigger(!shouldOverlapWithTrigger)}
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
// @ts-ignore
placement={position == 'auto' ? undefined : position}
trigger={(triggerProps) => {
return (
<Button alignSelf="center" variant="solid" {...triggerProps}>
Menu
</Button>
);
}} | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tooltip/TooltipPositions.tsx |
<VStack space={6} alignSelf="flex-start" w="100%">
{/* @ts-ignore */}
<Tooltip label={position} placement={position}>
<Button alignSelf="center">ToolTip</Button> | <mask> import { Tooltip, Button, VStack, HStack } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <VStack space={6}>
<mask> <Tooltip label="Auto">
<mask> <Button>Auto</Button>
<mask> </Tooltip>
<mask>
<mask> <HStack space={6}>
<mask> <Tooltip label="Top start" placement="top left">
<mask> <Button>Top-Start</Button>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Tooltip, Button, VStack, HStack } from 'native-base';
</s> add import { Tooltip, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove <HStack space={6}>
<Tooltip label="Top start" placement="top left">
<Button>Top-Start</Button>
</Tooltip>
<Tooltip label="Top" placement="top">
<Button>Top</Button>
</Tooltip>
<Tooltip label="Top end" placement="top right">
<Button>Top right</Button>
</Tooltip>
</HStack>
<HStack space={6}>
<Tooltip label="Right top" placement="right top">
<Button>Right top</Button>
</Tooltip>
<Tooltip label="Right" placement="right">
<Button>Right</Button>
</Tooltip>
<Tooltip label="Right bottom" placement="right bottom">
<Button>Right bottom</Button>
</Tooltip>
</HStack>
<HStack space={6}>
<Tooltip label="Bottom left" placement="bottom left">
<Button>Bottom left</Button>
</Tooltip>
<Tooltip label="Bottom" placement="bottom">
<Button>Bottom</Button>
</Tooltip>
<Tooltip label="Bottom right" placement="bottom right">
<Button>Bottom right</Button>
</Tooltip>
</HStack>
<HStack space={6}>
<Tooltip label="Left top" placement="left top">
<Button>Left top</Button>
</Tooltip>
<Tooltip label="Left" placement="left">
<Button>Left</Button>
</Tooltip>
<Tooltip label="Left bottom" placement="left bottom">
<Button>Left bottom</Button>
</Tooltip>
</HStack>
</s> add <Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> </s> remove import React from 'react';
import { Popover, Button, VStack, HStack } from 'native-base';
</s> add import React, { useState } from 'react';
import { Popover, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove <VStack space={6}>
</s> add <VStack space={6} alignSelf="flex-start" w="100%"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tooltip/TooltipPositions.tsx |
<Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> | <mask> <Tooltip label="Auto">
<mask> <Button>Auto</Button>
<mask> </Tooltip>
<mask>
<mask> <HStack space={6}>
<mask> <Tooltip label="Top start" placement="top left">
<mask> <Button>Top-Start</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Top" placement="top">
<mask> <Button>Top</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Top end" placement="top right">
<mask> <Button>Top right</Button>
<mask> </Tooltip>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Tooltip label="Right top" placement="right top">
<mask> <Button>Right top</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Right" placement="right">
<mask> <Button>Right</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Right bottom" placement="right bottom">
<mask> <Button>Right bottom</Button>
<mask> </Tooltip>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Tooltip label="Bottom left" placement="bottom left">
<mask> <Button>Bottom left</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Bottom" placement="bottom">
<mask> <Button>Bottom</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Bottom right" placement="bottom right">
<mask> <Button>Bottom right</Button>
<mask> </Tooltip>
<mask> </HStack>
<mask>
<mask> <HStack space={6}>
<mask> <Tooltip label="Left top" placement="left top">
<mask> <Button>Left top</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Left" placement="left">
<mask> <Button>Left</Button>
<mask> </Tooltip>
<mask>
<mask> <Tooltip label="Left bottom" placement="left bottom">
<mask> <Button>Left bottom</Button>
<mask> </Tooltip>
<mask> </HStack>
<mask> </VStack>
<mask> );
<mask> }
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <VStack space={6}>
<Tooltip label="Auto">
<Button>Auto</Button>
</s> add <VStack space={6} alignSelf="flex-start" w="100%">
{/* @ts-ignore */}
<Tooltip label={position} placement={position}>
<Button alignSelf="center">ToolTip</Button> </s> remove import { Tooltip, Button, VStack, HStack } from 'native-base';
</s> add import { Tooltip, Button, VStack, Select, CheckIcon } from 'native-base'; </s> remove <HStack space={6}>
<Popover
placement="top left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="top right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Top right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="right top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="right bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Right bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="bottom left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="bottom right"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Bottom right</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
<HStack space={6}>
<Popover
placement="left top"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left top</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
<Popover
placement="left bottom"
trigger={(triggerProps) => {
return <Button {...triggerProps}>Left bottom</Button>;
}}
>
<Popover.Content>
<Popover.Arrow />
<Popover.CloseButton />
<Popover.Header>Data Saved</Popover.Header>
<Popover.Body>Your changes has been saved.</Popover.Body>
</Popover.Content>
</Popover>
</HStack>
</s> add <Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> </s> remove Should overlap with trigger
</Checkbox>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top Left
</Button>
);
}}
>
<Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top
</Button>
);
}}
>
<Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="top right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Top right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right top
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="right bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Right bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom left
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="bottom right"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Bottom right
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
<HStack space={6}>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left top"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left top
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
<Menu
shouldOverlapWithTrigger={shouldOverlapWithTrigger}
placement="left bottom"
trigger={(triggerProps) => {
return (
<Button variant="ghost" {...triggerProps}>
Left bottom
</Button>
);
}}
>
<Menu.Item>Large Menu Item 1</Menu.Item>
<Menu.Item>Large Menu Item 2</Menu.Item>
<Menu.Item>Large Menu Item 3</Menu.Item>
</Menu>
</HStack>
</s> add <Menu.Item>Large Menu item 1</Menu.Item>
<Menu.Item>Large Menu item 2</Menu.Item>
<Menu.Item>Large Menu item 3</Menu.Item>
</Menu>
<Select
selectedValue={position}
mx={{ base: 0, md: 'auto' }}
accessibilityLabel="Select your favorite programming language"
placeholder="Select your favorite programming language"
onValueChange={(nextValue) => setPosition(nextValue)}
_selectedItem={{
bg: 'cyan.600',
endIcon: <CheckIcon size={4} />,
}}
>
<Select.Item label="auto" value="auto" />
<Select.Item label="Top Left" value="top left" />
<Select.Item label="Top" value="top" />
<Select.Item label="Top Right" value="top right" />
<Select.Item label="Right Top" value="right top" />
<Select.Item label="Right" value="right" />
<Select.Item label="Right Bottom" value="right bottom" />
<Select.Item label="Bottom Left" value="bottom left" />
<Select.Item label="Bottom" value="bottom" />
<Select.Item label="Bottom Right" value="bottom right" />
<Select.Item label="Left Top" value="left top" />
<Select.Item label="Left" value="left" />
<Select.Item label="Left Bottom" value="left bottom" />
</Select> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Tooltip/TooltipPositions.tsx |
import { Fade, Button, Box } from 'native-base'; | <mask> import React from 'react';
<mask> import { Button, Box, PresenceTransition } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { ScaleFade, Button, Box } from 'native-base'; </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { SlideFade, Button, Box } from 'native-base'; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove import { Slide, Button, Box } from 'native-base';
</s> add import { Slide, Button, Box, Center } from 'native-base'; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Fade.tsx |
let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | <mask> import React from 'react';
<mask> import { Button, Box, PresenceTransition } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Button onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 250 } }}
>
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center"> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Fade.tsx |
<Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> | <mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Button onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
<mask> <PresenceTransition
<mask> visible={isOpen}
<mask> initial={{ opacity: 0 }}
<mask> animate={{ opacity: 1, transition: { duration: 250 } }}
<mask> >
<mask> <Box
<mask> p="40px"
<mask> color="white"
<mask> mt="4"
<mask> bg="teal.500"
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1, transition: { duration: 250 } }}
>
<Box p="40px" mt="4" bg="teal.500" rounded="md">
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<ScaleFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade </s> remove color="white"
</s> add </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Fade.tsx |
<mask> animate={{ opacity: 1, transition: { duration: 250 } }}
<mask> >
<mask> <Box
<mask> p="40px"
<mask> color="white"
<mask> mt="4"
<mask> bg="teal.500"
<mask> rounded="md"
<mask> _text={{ color: 'white' }}
<mask> >
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1, transition: { duration: 250 } }}
>
<Box p="40px" mt="4" bg="teal.500" rounded="md">
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<ScaleFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 250 } }}
>
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Fade.tsx |
|
</Fade> | <mask> _text={{ color: 'white' }}
<mask> >
<mask> Fade
<mask> </Box>
<mask> </PresenceTransition>
<mask> </>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove </PresenceTransition>
</s> add </ScaleFade> </s> remove </PresenceTransition>
</s> add </SlideFade> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Box p={10} color="white" bg="teal.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="teal.400" rounded="md"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Fade.tsx |
import { ScaleFade, Button, Box } from 'native-base'; | <mask> import React from 'react';
<mask> import { PresenceTransition, Button, Box } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { SlideFade, Button, Box } from 'native-base'; </s> remove import { Button, Box, PresenceTransition } from 'native-base';
</s> add import { Fade, Button, Box } from 'native-base'; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove import { Slide, Button, Box } from 'native-base';
</s> add import { Slide, Button, Box, Center } from 'native-base'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/ScaleFade.tsx |
let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | <mask> import React from 'react';
<mask> import { PresenceTransition, Button, Box } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Button onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 250 } }}
>
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { ScaleFade, Button, Box } from 'native-base'; </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { SlideFade, Button, Box } from 'native-base'; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/ScaleFade.tsx |
<Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<ScaleFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | <mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Button onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
<mask> <PresenceTransition
<mask> visible={isOpen}
<mask> initial={{ opacity: 0, scale: 0 }}
<mask> animate={{ opacity: 1, scale: 1, transition: { duration: 250 } }}
<mask> >
<mask> <Box p="40px" mt="4" bg="teal.500" rounded="md">
<mask> ScaleFade
<mask> </Box>
<mask> </PresenceTransition>
<mask> </>
<mask> );
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 250 } }}
>
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade </s> remove color="white"
</s> add </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/ScaleFade.tsx |
</ScaleFade> | <mask> >
<mask> <Box p="40px" mt="4" bg="teal.500" rounded="md">
<mask> ScaleFade
<mask> </Box>
<mask> </PresenceTransition>
<mask> </>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove </PresenceTransition>
</s> add </SlideFade> </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1, transition: { duration: 250 } }}
>
<Box p="40px" mt="4" bg="teal.500" rounded="md">
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<ScaleFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/ScaleFade.tsx |
import { Slide, Button, Box, Center } from 'native-base'; | <mask> import React from 'react';
<mask> import { Slide, Button, Box } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpenBottom, setIsOpenBottom] = React.useState(false);
<mask> const [isOpenTop, setIsOpenTop] = React.useState(false);
<mask>
<mask> return (
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { ScaleFade, Button, Box } from 'native-base'; </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { SlideFade, Button, Box } from 'native-base'; </s> remove import { Button, Box, PresenceTransition } from 'native-base';
</s> add import { Fade, Button, Box } from 'native-base'; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
let str1 = `Click Me to ${isOpenTop ? 'hide' : 'show'} Top Silder`;
let str2 = `Click Me to ${isOpenBottom ? 'hide' : 'show'} Bottom Slider`; | <mask> const [isOpenBottom, setIsOpenBottom] = React.useState(false);
<mask> const [isOpenTop, setIsOpenTop] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Center my={4}>
<mask> The Force is strong with this one. I have you now. Look, I ain't in this
<mask> for your revolution, and I'm not in it for you, Princess. I expect to be
<mask> well paid.
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove at, ain't it? In my experience, there is no such thing as luck. Kid,
I've flown from one side of this galaxy to the other. I've seen a lot of
strange stuff, but I've never seen anything to make me believe there's
one all-powerful Force controlling everything. There's no mystical
energy field that controls my destiny. It's all a lot of simple tricks
and nonsense.
</s> add at, ain't it? | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
<Center my={4}>
The Force is strong with this one. I have you now. Look, I ain't in this
for your revolution, and I'm not in it for you, Princess. I expect to be
well paid.
</Center> | <mask> let str2 = `Click Me to ${isOpenBottom ? 'hide' : 'show'} Bottom Slider`;
<mask> return (
<mask> <>
<mask> <Button m={4} onPress={() => setIsOpenTop(!isOpenTop)}>
<mask> {str1}
<mask> </Button>
<mask> <Button onPress={() => setIsOpenBottom(!isOpenBottom)}>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
</s> add {str1} </s> remove Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
</s> add {str2}
{/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */} </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
{str1} | <mask>
<mask> return (
<mask> <>
<mask> <Button m={4} onPress={() => setIsOpenTop(!isOpenTop)}>
<mask> Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
<mask> </Button>
<mask> <Button onPress={() => setIsOpenBottom(!isOpenBottom)}>
<mask> Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
<mask> </Button>
<mask> <Slide in={isOpenBottom}>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
</s> add {str2}
{/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */} </s> remove <Box p={10} color="white" bg="blue.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="blue.400" rounded="md"> </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
{str2}
{/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */} | <mask> <Button m={4} onPress={() => setIsOpenTop(!isOpenTop)}>
<mask> Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
<mask> </Button>
<mask> <Button onPress={() => setIsOpenBottom(!isOpenBottom)}>
<mask> Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
<mask> </Button>
<mask> <Slide in={isOpenBottom}>
<mask> <Box p={10} color="white" bg="blue.400" rounded="md">
<mask> I am comming from Bottom
<mask> </Box>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
</s> add {str1} </s> remove <Box p={10} color="white" bg="blue.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="blue.400" rounded="md"> </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
<Center my={4}>
The Force is strong with this one. I have you now. Look, I ain't in this
for your revolution, and I'm not in it for you, Princess. I expect to be
well paid.
</Center> | <mask> {/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */}
<mask> </Button>
<mask> <Slide in={isOpenBottom}>
<mask> <Box p={10} _text={{ color: 'white' }} bg="blue.400" rounded="md">
<mask> I am comming from Bottom
<mask> </Box>
<mask> </Slide>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box p={10} color="white" bg="blue.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="blue.400" rounded="md"> </s> remove Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
</s> add {str2}
{/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */} </s> remove <Box p={10} color="white" bg="teal.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="teal.400" rounded="md"> </s> remove Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
</s> add {str1} </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
<Box p={10} _text={{ color: 'white' }} bg="blue.400" rounded="md"> | <mask> <Button onPress={() => setIsOpenBottom(!isOpenBottom)}>
<mask> Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
<mask> </Button>
<mask> <Slide in={isOpenBottom}>
<mask> <Box p={10} color="white" bg="blue.400" rounded="md">
<mask> I am comming from Bottom
<mask> </Box>
<mask> </Slide>
<mask> <Slide in={isOpenTop} placement="top">
<mask> <Box p={10} color="white" bg="teal.400" rounded="md">
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
</s> add {str2}
{/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */} </s> remove <Box p={10} color="white" bg="teal.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="teal.400" rounded="md"> </s> remove Click Me to {isOpenTop ? 'hide' : 'show'} Top Silder
</s> add {str1} </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
<Box p={10} _text={{ color: 'white' }} bg="teal.400" rounded="md"> | <mask> I am comming from Bottom
<mask> </Box>
<mask> </Slide>
<mask> <Slide in={isOpenTop} placement="top">
<mask> <Box p={10} color="white" bg="teal.400" rounded="md">
<mask> I am comming from Top
<mask> </Box>
<mask> </Slide>
<mask> </>
<mask> );
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box p={10} color="white" bg="blue.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="blue.400" rounded="md"> </s> remove Click Me to {isOpenBottom ? 'hide' : 'show'} Bottom Slider
</s> add {str2}
{/* Click Me to {isOpenBottom ? "hide" : "show"} Bottom Slider */} </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/Slide.tsx |
let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | <mask> import React from 'react';
<mask> import { Slide, Button, Box, Center, Heading } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Box width="90%" height="50%" alignItems="center" justifyContent="center">
<mask> <Heading fontSize="xs" my={3}>
<mask> This is an example to show how slider can be used.
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center">
{/* height="50%" */} </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center"> </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove import { Button, Box, PresenceTransition } from 'native-base';
</s> add import { Fade, Button, Box } from 'native-base'; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideComposition.tsx |
<Box width="90%" alignItems="center" justifyContent="center">
{/* height="50%" */} | <mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Box width="90%" height="50%" alignItems="center" justifyContent="center">
<mask> <Heading fontSize="xs" my={3}>
<mask> This is an example to show how slider can be used.
<mask> </Heading>
<mask> <Button my={4} onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center"> </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideComposition.tsx |
{btnStr} | <mask> <Heading fontSize="xs" my={3}>
<mask> This is an example to show how slider can be used.
<mask> </Heading>
<mask> <Button my={4} onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
<mask> <Center my={4}>
<mask> The Force is strong with this one. I have you now. Look, I ain't in
<mask> this for your revolution, and I'm not in it for you, Princess. I
<mask> expect to be well paid. I'm in it for the money. What!? Hey, Luke! May
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove at, ain't it? In my experience, there is no such thing as luck. Kid,
I've flown from one side of this galaxy to the other. I've seen a lot of
strange stuff, but I've never seen anything to make me believe there's
one all-powerful Force controlling everything. There's no mystical
energy field that controls my destiny. It's all a lot of simple tricks
and nonsense.
</s> add at, ain't it? | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideComposition.tsx |
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | <mask> It's all a lot of simple tricks and nonsense.
<mask> </Center>
<mask> </Box>
<mask> <Slide in={isOpen}>
<mask> <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
<mask> Slide
<mask> </Box>
<mask> </Slide>
<mask> </>
<mask> );
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove at, ain't it? In my experience, there is no such thing as luck. Kid,
I've flown from one side of this galaxy to the other. I've seen a lot of
strange stuff, but I've never seen anything to make me believe there's
one all-powerful Force controlling everything. There's no mystical
energy field that controls my destiny. It's all a lot of simple tricks
and nonsense.
</s> add at, ain't it? </s> remove </PresenceTransition>
</s> add </SlideFade> </s> remove </PresenceTransition>
</s> add </ScaleFade> </s> remove <Box p={10} color="white" bg="teal.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="teal.400" rounded="md"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideComposition.tsx |
import { SlideFade, Button, Box } from 'native-base'; | <mask> import React from 'react';
<mask> import { PresenceTransition, Button, Box } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { PresenceTransition, Button, Box } from 'native-base';
</s> add import { ScaleFade, Button, Box } from 'native-base'; </s> remove import { Button, Box, PresenceTransition } from 'native-base';
</s> add import { Fade, Button, Box } from 'native-base'; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove import { Slide, Button, Box } from 'native-base';
</s> add import { Slide, Button, Box, Center } from 'native-base'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideFade.tsx |
let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | <mask> import React from 'react';
<mask> import { PresenceTransition, Button, Box } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Button onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideFade.tsx |
<Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade | <mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <>
<mask> <Button onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
<mask> <PresenceTransition
<mask> visible={isOpen}
<mask> initial={{ translateX: -20, opacity: 0 }}
<mask> animate={{ translateX: 0, opacity: 1 }}
<mask> >
<mask> <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
<mask> PresenceTransition
<mask> </Box>
<mask> </PresenceTransition>
<mask> </>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1, transition: { duration: 250 } }}
>
<Box p="40px" mt="4" bg="teal.500" rounded="md">
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<ScaleFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 250 } }}
>
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<Fade in={isOpen}> </s> remove </PresenceTransition>
</s> add </SlideFade> </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideFade.tsx |
</SlideFade> | <mask> >
<mask> <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
<mask> PresenceTransition
<mask> </Box>
<mask> </PresenceTransition>
<mask> </>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove </PresenceTransition>
</s> add </ScaleFade> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ translateX: -20, opacity: 0 }}
animate={{ translateX: 0, opacity: 1 }}
>
<Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
PresenceTransition
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<SlideFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
>
SlideFade </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove <Button onPress={() => setIsOpen(!isOpen)}>
Click Me to {isOpen ? 'hide' : 'show'}
</Button>
<PresenceTransition
visible={isOpen}
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1, transition: { duration: 250 } }}
>
<Box p="40px" mt="4" bg="teal.500" rounded="md">
</s> add <Button onPress={() => setIsOpen(!isOpen)}>{btnStr}</Button>
<ScaleFade in={isOpen}>
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideFade.tsx |
let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; | <mask> import React from 'react';
<mask> import { Slide, Button, Box, Center, Heading } from 'native-base';
<mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <Box width="90%" height="50%" alignItems="center" justifyContent="center">
<mask> <Heading fontSize="xs">
<mask> This is an example to show how slider can be used.
<mask> </Heading>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center"> </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center">
{/* height="50%" */} </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideWrapped.tsx |
<Box width="90%" alignItems="center" justifyContent="center"> | <mask> export const Example = () => {
<mask> const [isOpen, setIsOpen] = React.useState(false);
<mask>
<mask> return (
<mask> <Box width="90%" height="50%" alignItems="center" justifyContent="center">
<mask> <Heading fontSize="xs">
<mask> This is an example to show how slider can be used.
<mask> </Heading>
<mask> <Button my={2} onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box width="90%" height="50%" alignItems="center" justifyContent="center">
</s> add <Box width="90%" alignItems="center" justifyContent="center">
{/* height="50%" */} </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove
</s> add let btnStr = `Click Me to ${isOpen ? 'hide' : 'show'}`; </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideWrapped.tsx |
{btnStr} | <mask> <Heading fontSize="xs">
<mask> This is an example to show how slider can be used.
<mask> </Heading>
<mask> <Button my={2} onPress={() => setIsOpen(!isOpen)}>
<mask> Click Me to {isOpen ? 'hide' : 'show'}
<mask> </Button>
<mask> <Center>
<mask> The Force is strong with this one. I have you now. Look, I ain't in this
<mask> for your revolution, and I'm not in it for you, Princess. I expect to be
<mask> well paid. I'm in it for the money. What!? Hey, Luke! May the Force be
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove at, ain't it? In my experience, there is no such thing as luck. Kid,
I've flown from one side of this galaxy to the other. I've seen a lot of
strange stuff, but I've never seen anything to make me believe there's
one all-powerful Force controlling everything. There's no mystical
energy field that controls my destiny. It's all a lot of simple tricks
and nonsense.
</s> add at, ain't it? | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideWrapped.tsx |
at, ain't it? | <mask> for your revolution, and I'm not in it for you, Princess. I expect to be
<mask> well paid. I'm in it for the money. What!? Hey, Luke! May the Force be
<mask> with you. Remember, a Jedi can feel the Force flowing through him. All
<mask> right. Well, take care of yourself, Han. I guess that's what you're best
<mask> at, ain't it? In my experience, there is no such thing as luck. Kid,
<mask> I've flown from one side of this galaxy to the other. I've seen a lot of
<mask> strange stuff, but I've never seen anything to make me believe there's
<mask> one all-powerful Force controlling everything. There's no mystical
<mask> energy field that controls my destiny. It's all a lot of simple tricks
<mask> and nonsense.
<mask> </Center>
<mask> <Slide in={isOpen}>
<mask> <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
<mask> Slide
<mask> </Box>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove Click Me to {isOpen ? 'hide' : 'show'}
</s> add {btnStr} </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideWrapped.tsx |
<Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | <mask> energy field that controls my destiny. It's all a lot of simple tricks
<mask> and nonsense.
<mask> </Center>
<mask> <Slide in={isOpen}>
<mask> <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
<mask> Slide
<mask> </Box>
<mask> </Slide>
<mask> </Box>
<mask> );
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> </s> remove at, ain't it? In my experience, there is no such thing as luck. Kid,
I've flown from one side of this galaxy to the other. I've seen a lot of
strange stuff, but I've never seen anything to make me believe there's
one all-powerful Force controlling everything. There's no mystical
energy field that controls my destiny. It's all a lot of simple tricks
and nonsense.
</s> add at, ain't it? </s> remove </PresenceTransition>
</s> add </SlideFade> </s> remove </PresenceTransition>
</s> add </ScaleFade> </s> remove <Box p={10} color="white" bg="teal.400" rounded="md">
</s> add <Box p={10} _text={{ color: 'white' }} bg="teal.400" rounded="md"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/composites/Transitions/SlideWrapped.tsx |
p={4} | <mask> export const Example = () => {
<mask> return (
<mask> <Box
<mask> bg="primary.400"
<mask> p={12}
<mask> rounded="lg"
<mask> _text={{ fontSize: 'md', fontWeight: 'bold', color: 'white' }}
<mask> >
<mask> This is a Box
<mask> </Box>
<mask> );
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove width={200}
</s> add width={{ base: 200, lg: 400 }} </s> remove <Center flex={1}>
<Heading>Adding Spacer</Heading>
<Flex h={40} w={20} mt={6}>
<Center
size={16}
bg="primary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 1
</Center>
<Spacer />
<Center
size={16}
bg="secondary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 2
</Center>
</Flex>
</Center>
</s> add <Flex h={40} w={20} mt={6}>
<Center
size={16}
bg="primary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 1
</Center>
<Spacer />
<Center
size={16}
bg="secondary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 2
</Center>
</Flex> </s> remove <HStack>
<Center w="40px" h="40px" bg="primary.400" color="white">
<Icon name="audiotrack" as={MaterialIcons} color="white" size={6} />
</s> add <HStack space={1}>
<Center w="40px" h="40px" bg="primary.400">
<Icon as={<MaterialIcons name="audiotrack" />} color="white" size={6} /> </s> remove <Icon name="audiotrack" as={MaterialIcons} color="white" size={8} />
</s> add <Icon as={<MaterialIcons name="audiotrack" />} color="white" size={8} /> </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/basic.tsx |
import {
Box,
Stack,
Heading,
Icon,
Text,
HStack,
Avatar,
useColorModeValue,
} from 'native-base';
import { MaterialCommunityIcons, SimpleLineIcons } from '@expo/vector-icons'; | <mask> import React from 'react';
<mask> import { Box, Stack, Heading, Icon, Text, HStack, Avatar } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box width={80} p={5} rounded="xl" shadow={4}>
<mask> <Stack space={6}>
<mask> <Avatar
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box width={80} p={5} rounded="xl" shadow={4}>
</s> add <Box p={5} rounded="xl" shadow={4} w="100%"> </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Text, Image, Heading, Stack } from 'native-base';
</s> add import {
Box,
Text,
Image,
Heading,
Stack,
useColorModeValue,
} from 'native-base'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<Box p={5} rounded="xl" shadow={4} w="100%"> | <mask> import React from 'react';
<mask> import { Box, Stack, Heading, Icon, Text, HStack, Avatar } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box width={80} p={5} rounded="xl" shadow={4}>
<mask> <Stack space={6}>
<mask> <Avatar
<mask> size={'sm'}
<mask> source={{
<mask> uri:
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Box, Stack, Heading, Icon, Text, HStack, Avatar } from 'native-base';
</s> add import {
Box,
Stack,
Heading,
Icon,
Text,
HStack,
Avatar,
useColorModeValue,
} from 'native-base';
import { MaterialCommunityIcons, SimpleLineIcons } from '@expo/vector-icons'; </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<Heading
size="lg"
color={useColorModeValue('blueGray.700', 'blueGray.100')}
> | <mask> 'https://i.pinimg.com/originals/4d/72/97/4d7297dad94265c0acbc3b677d418935.jpg',
<mask> }}
<mask> />
<mask> <Stack space={3}>
<mask> <Heading size="lg" color="blueGray.700">
<mask> Dressing room
<mask> </Heading>
<mask> <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
<mask> Design the new dressing room for the upcoming tour.
<mask> </Text>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
fontSize="xs"
> </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> </s> remove <Heading color="blueGray.600">Clownfish</Heading>
<Text color="blueGray.500">
</s> add <Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Clownfish
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> </s> remove <Text isTruncated>
</s> add <Text isTruncated w="80%"> </s> remove <Text fontWeight="medium" color="blueGray.600">
</s> add <Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
fontSize="xs"
> | <mask> <Stack space={3}>
<mask> <Heading size="lg" color="blueGray.700">
<mask> Dressing room
<mask> </Heading>
<mask> <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
<mask> Design the new dressing room for the upcoming tour.
<mask> </Text>
<mask> </Stack>
<mask> <HStack justifyContent="space-between" alignItems="flex-end">
<mask> <Stack space={3}>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Heading size="lg" color="blueGray.700">
</s> add <Heading
size="lg"
color={useColorModeValue('blueGray.700', 'blueGray.100')}
> </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> </s> remove <HStack space={3} alignItems="center">
</s> add <HStack space={3} alignItems="center" flexShrink={1}> </s> remove <Heading color="blueGray.600">Clownfish</Heading>
<Text color="blueGray.500">
</s> add <Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Clownfish
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> | <mask> <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
<mask> Design the new dressing room for the upcoming tour.
<mask> </Text>
<mask> </Stack>
<mask> <HStack justifyContent="space-between" alignItems="flex-end">
<mask> <Stack space={3}>
<mask> <HStack space={3} alignItems="center">
<mask> <Icon
<mask> name="grid"
<mask> type="MaterialCommunityIcons"
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
fontSize="xs"
> </s> remove <Heading size="lg" color="blueGray.700">
</s> add <Heading
size="lg"
color={useColorModeValue('blueGray.700', 'blueGray.100')}
> </s> remove <HStack space={3} alignItems="center">
</s> add <HStack space={3} alignItems="center" flexShrink={1}> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<HStack space={3} alignItems="center" flexShrink={1}> | <mask> </Text>
<mask> </Stack>
<mask> <HStack justifyContent="space-between" alignItems="flex-end">
<mask> <Stack space={3}>
<mask> <HStack space={3} alignItems="center">
<mask> <Icon
<mask> name="grid"
<mask> type="MaterialCommunityIcons"
<mask> color="blueGray.700"
<mask> />
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
fontSize="xs"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
as={MaterialCommunityIcons} | <mask> <Stack space={3}>
<mask> <HStack space={3} alignItems="center">
<mask> <Icon
<mask> name="grid"
<mask> type="MaterialCommunityIcons"
<mask> color="blueGray.700"
<mask> />
<mask> <Text fontWeight="medium" color="blueGray.500">
<mask> Task: Commercial project
<mask> </Text>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove <HStack space={3} alignItems="center">
</s> add <HStack space={3} alignItems="center" flexShrink={1}> </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text color="blueGray.500" fontWeight="medium">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink | <mask> name="grid"
<mask> type="MaterialCommunityIcons"
<mask> color="blueGray.700"
<mask> />
<mask> <Text fontWeight="medium" color="blueGray.500">
<mask> Task: Commercial project
<mask> </Text>
<mask> </HStack>
<mask> <HStack space={3} alignItems="center">
<mask> <Icon
<mask> name="calendar"
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <HStack space={3} alignItems="center">
</s> add <HStack space={3} alignItems="center" flexShrink={1}> </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> </s> remove <Text color="blueGray.500" fontWeight="medium">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
as={MaterialCommunityIcons} | <mask> </HStack>
<mask> <HStack space={3} alignItems="center">
<mask> <Icon
<mask> name="calendar"
<mask> type="MaterialCommunityIcons"
<mask> color="blueGray.700"
<mask> />
<mask> <Text color="blueGray.500" fontWeight="medium">
<mask> Date: 10.04.2021
<mask> </Text>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text color="blueGray.500" fontWeight="medium">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
> </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <HStack space={3} alignItems="center">
</s> add <HStack space={3} alignItems="center" flexShrink={1}> </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
> | <mask> name="calendar"
<mask> type="MaterialCommunityIcons"
<mask> color="blueGray.700"
<mask> />
<mask> <Text color="blueGray.500" fontWeight="medium">
<mask> Date: 10.04.2021
<mask> </Text>
<mask> </HStack>
<mask> </Stack>
<mask> <Avatar.Group size="sm" spacing={-3}>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Avatar.Group size="sm" spacing={-3}>
</s> add {/* <Avatar.Group size="sm" spacing={-3}> </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove uri:
'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
{/* <Avatar.Group size="sm" spacing={-3}> | <mask> Date: 10.04.2021
<mask> </Text>
<mask> </HStack>
<mask> </Stack>
<mask> <Avatar.Group size="sm" spacing={-3}>
<mask> <Avatar
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
<mask> }}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove uri:
'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> remove <Text color="blueGray.500" fontWeight="medium">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/983582580372004864/h9ccP0Ea_400x400.jpg',
}}
>
SC
</Avatar>
<Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
}}
>
MR
</Avatar>
</s> add </s> remove <Avatar.Group size="lg" max={4}>
</s> add <Avatar.Group size="lg" max={3}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', | <mask> </Stack>
<mask> <Avatar.Group size="sm" spacing={-3}>
<mask> <Avatar
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
<mask> }}
<mask> >
<mask> AK
<mask> </Avatar>
<mask> <Avatar
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Avatar.Group size="sm" spacing={-3}>
</s> add {/* <Avatar.Group size="sm" spacing={-3}> </s> remove uri:
'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> remove <Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/983582580372004864/h9ccP0Ea_400x400.jpg',
}}
>
SC
</Avatar>
<Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
}}
>
MR
</Avatar>
</s> add </s> remove uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', </s> remove source={{ uri: 'https://alpha.nativebase.io/img/native-base-icon.png' }}
</s> add source={{
uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
}} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', | <mask> AK
<mask> </Avatar>
<mask> <Avatar
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg',
<mask> }}
<mask> >
<mask> RS
<mask> </Avatar>
<mask> <Avatar
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/983582580372004864/h9ccP0Ea_400x400.jpg',
}}
>
SC
</Avatar>
<Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
}}
>
MR
</Avatar>
</s> add </s> remove uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', </s> remove uri:
'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> remove source={{ uri: 'https://alpha.nativebase.io/img/native-base-icon.png' }}
</s> add source={{
uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
}} </s> remove <HStack>
</s> add <HStack mx={{ base: 'auto', md: 0 }} space={2}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', | <mask> RS
<mask> </Avatar>
<mask> <Avatar
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
<mask> }}
<mask> >
<mask> MR
<mask> </Avatar>
<mask> </Avatar.Group>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/983582580372004864/h9ccP0Ea_400x400.jpg',
}}
>
SC
</Avatar>
<Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
}}
>
MR
</Avatar>
</s> add </s> remove uri:
'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> remove source={{ uri: 'https://alpha.nativebase.io/img/native-base-icon.png' }}
</s> add source={{
uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
}} </s> remove uri:
'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> remove <HStack>
</s> add <HStack mx={{ base: 'auto', md: 0 }} space={2}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
*/} | <mask> MR
<mask> </Avatar>
<mask> </Avatar.Group>
<mask> </HStack>
<mask> </Stack>
<mask> <HStack
<mask> position="absolute"
<mask> top={3}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', </s> remove <Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/983582580372004864/h9ccP0Ea_400x400.jpg',
}}
>
SC
</Avatar>
<Avatar
source={{
uri:
'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
}}
>
MR
</Avatar>
</s> add </s> remove </HStack>
</s> add </Stack> </s> remove source={{ uri: 'https://alpha.nativebase.io/img/native-base-icon.png' }}
</s> add source={{
uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
}} </s> remove uri:
'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
</s> add uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
<Icon name="star" as={SimpleLineIcons} size={4} color="blueGray.700" /> | <mask> right={3}
<mask> space={2}
<mask> alignItems="center"
<mask> >
<mask> <Icon
<mask> name="star"
<mask> type="SimpleLineIcons"
<mask> size={4}
<mask> color="blueGray.700"
<mask> />
<mask> <Icon name="more-horiz" color="blueGray.700" />
<mask> </HStack>
<mask> </Box>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <HStack space={3} alignItems="center">
</s> add <HStack space={3} alignItems="center" flexShrink={1}> </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove <Icon as={Feather} name="more-horizontal" color="white" />
</s> add <Icon as={<Feather name="more-horizontal" />} color="white" /> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card.tsx |
import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; | <mask> import React from 'react';
<mask> import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w={96} shadow={4}>
<mask> <Image
<mask> roundedTop="pill"
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Stack, Heading, Icon, Text, HStack, Avatar } from 'native-base';
</s> add import {
Box,
Stack,
Heading,
Icon,
Text,
HStack,
Avatar,
useColorModeValue,
} from 'native-base';
import { MaterialCommunityIcons, SimpleLineIcons } from '@expo/vector-icons'; </s> remove import { Box, Text, Image, Heading, Stack } from 'native-base';
</s> add import {
Box,
Text,
Image,
Heading,
Stack,
useColorModeValue,
} from 'native-base'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card1.tsx |
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> | <mask> import React from 'react';
<mask> import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w={96} shadow={4}>
<mask> <Image
<mask> roundedTop="pill"
<mask> h={56}
<mask> source={{
<mask> uri:
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove <Box width={80} p={5} rounded="xl" shadow={4}>
</s> add <Box p={5} rounded="xl" shadow={4} w="100%"> </s> remove import { Box, Stack, Heading, Icon, Text, HStack, Avatar } from 'native-base';
</s> add import {
Box,
Stack,
Heading,
Icon,
Text,
HStack,
Avatar,
useColorModeValue,
} from 'native-base';
import { MaterialCommunityIcons, SimpleLineIcons } from '@expo/vector-icons'; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card1.tsx |
<Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Clownfish
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> | <mask> }}
<mask> alt="NativeBase Card"
<mask> />
<mask> <Stack p={4} space={3}>
<mask> <Heading color="blueGray.600">Clownfish</Heading>
<mask> <Text color="blueGray.500">
<mask> Bright orange with three distinctive white bars, clown anemonefish are
<mask> among the most recognizable at all reef-dwellers.
<mask> </Text>
<mask> <HStack space={4}>
<mask> <Button variant="ghost" colorScheme="blue" p={0} minH={0}>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Heading color="blueGray.600">Adventure</Heading>
<Text color="blueGray.500">
</s> add <Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Adventure
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> </s> remove <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
fontSize="xs"
> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Heading size="lg" color="blueGray.700">
</s> add <Heading
size="lg"
color={useColorModeValue('blueGray.700', 'blueGray.100')}
> </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card1.tsx |
import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; | <mask> import React from 'react';
<mask> import { Box, Heading, Image, Text, Stack } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w={96} shadow={4}>
<mask> <Image
<mask> h={64}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Text, Image, Heading, Stack } from 'native-base';
</s> add import {
Box,
Text,
Image,
Heading,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove import { Box, Stack, Heading, Icon, Text, HStack, Avatar } from 'native-base';
</s> add import {
Box,
Stack,
Heading,
Icon,
Text,
HStack,
Avatar,
useColorModeValue,
} from 'native-base';
import { MaterialCommunityIcons, SimpleLineIcons } from '@expo/vector-icons'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card2.tsx |
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> | <mask> import React from 'react';
<mask> import { Box, Heading, Image, Text, Stack } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w={96} shadow={4}>
<mask> <Image
<mask> h={64}
<mask> roundedTop="pill"
<mask> source={{
<mask> uri:
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove import { Box, Text, Image, Heading, Stack } from 'native-base';
</s> add import {
Box,
Text,
Image,
Heading,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={64} shadow={4}>
</s> add // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card2.tsx |
<Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Adventure
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> | <mask> }}
<mask> alt="NativeBase Card"
<mask> />
<mask> <Stack p={4} space={2}>
<mask> <Heading color="blueGray.600">Adventure</Heading>
<mask> <Text color="blueGray.500">
<mask> An exciting experience that is typically bold, sometimes risky,
<mask> undertaking...
<mask> <Text bold color="blueGray.500">
<mask> more
<mask> </Text>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text bold color="blueGray.500">
</s> add <Text bold color={useColorModeValue('blueGray.500', 'blueGray.200')}> </s> remove <Heading color="blueGray.600">Clownfish</Heading>
<Text color="blueGray.500">
</s> add <Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Clownfish
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove <Text fontWeight="medium" color="blueGray.600">
</s> add <Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card2.tsx |
<Text bold color={useColorModeValue('blueGray.500', 'blueGray.200')}> | <mask> <Heading color="blueGray.600">Adventure</Heading>
<mask> <Text color="blueGray.500">
<mask> An exciting experience that is typically bold, sometimes risky,
<mask> undertaking...
<mask> <Text bold color="blueGray.500">
<mask> more
<mask> </Text>
<mask> </Text>
<mask> </Stack>
<mask> </Box>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Heading color="blueGray.600">Adventure</Heading>
<Text color="blueGray.500">
</s> add <Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Adventure
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text fontSize="md" fontWeight="semibold" color="blueGray.600">
</s> add <Text
fontSize="md"
fontWeight="semibold"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove <Text fontWeight="medium" color="blueGray.600">
</s> add <Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card2.tsx |
// <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> | <mask> import { Feather, AntDesign } from '@expo/vector-icons';
<mask>
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w={64} shadow={4}>
<mask> <Image
<mask> h={64}
<mask> rounded="pill"
<mask> source={{
<mask> uri:
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card3.tsx |
// w={200}
w="100%" | <mask> <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
<mask> <Image
<mask> h={64}
<mask> rounded="pill"
<mask> source={{
<mask> uri:
<mask> 'https://image.freepik.com/free-photo/pathway-middle-green-leafed-trees-with-sun-shining-through-branches_181624-4539.jpg',
<mask> }}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box rounded="pill" w={64} shadow={4}>
</s> add // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <HStack>
</s> add <HStack mx={{ base: 'auto', md: 0 }} space={2}> | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card3.tsx |
as={<AntDesign name="play" />} | <mask> alt="NativeBase Card"
<mask> />
<mask> <Center position="absolute" height="100%" width="100%">
<mask> <Icon
<mask> as={AntDesign}
<mask> name="play"
<mask> color="gray.200"
<mask> size={12}
<mask> opacity={0.8}
<mask> />
<mask> </Center>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <HStack>
<Center w="40px" h="40px" bg="primary.400" color="white">
<Icon name="audiotrack" as={MaterialIcons} color="white" size={6} />
</s> add <HStack space={1}>
<Center w="40px" h="40px" bg="primary.400">
<Icon as={<MaterialIcons name="audiotrack" />} color="white" size={6} /> </s> remove <Center flex={1}>
<Heading>Adding Spacer</Heading>
<Flex h={40} w={20} mt={6}>
<Center
size={16}
bg="primary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 1
</Center>
<Spacer />
<Center
size={16}
bg="secondary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 2
</Center>
</Flex>
</Center>
</s> add <Flex h={40} w={20} mt={6}>
<Center
size={16}
bg="primary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 1
</Center>
<Spacer />
<Center
size={16}
bg="secondary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 2
</Center>
</Flex> </s> remove <Heading color="blueGray.600">Adventure</Heading>
<Text color="blueGray.500">
</s> add <Heading color={useColorModeValue('blueGray.700', 'blueGray.100')}>
Adventure
</Heading>
<Text color={useColorModeValue('blueGray.500', 'blueGray.200')}> </s> remove <Icon as={FontAwesome} name="firefox" />
</s> add <Icon as={<FontAwesome name="firefox" />} /> </s> remove <Icon as={AntDesign} name="chrome" />
</s> add <Icon as={<AntDesign name="chrome" />} /> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card3.tsx |
<Icon as={<Feather name="more-horizontal" />} color="white" /> | <mask> Sacred Grove
<mask> </Heading>
<mask> <Text color="gray.200">Meghalaya</Text>
<mask> </Stack>
<mask> <Icon as={Feather} name="more-horizontal" color="white" />
<mask> </HStack>
<mask> </Box>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Icon ml="auto" as={FontAwesome} name="firefox" />
</s> add <Icon ml="auto" as={<FontAwesome name="firefox" />} /> </s> remove <Icon
name="star"
type="SimpleLineIcons"
size={4}
color="blueGray.700"
/>
</s> add <Icon name="star" as={SimpleLineIcons} size={4} color="blueGray.700" /> </s> remove </HStack>
</s> add </Stack> </s> remove <Text fontSize="md" fontWeight="semibold" color="blueGray.600">
</s> add <Text
fontSize="md"
fontWeight="semibold"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove </VStack>
</s> add </HStack> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-card3.tsx |
import {
Box,
Text,
Image,
Heading,
Stack,
useColorModeValue,
} from 'native-base'; | <mask> import React from 'react';
<mask> import { Box, Text, Image, Heading, Stack } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box
<mask> flexDirection={{ base: 'column', md: 'row' }}
<mask> shadow={4}
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, Stack } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
Stack,
useColorModeValue,
} from 'native-base'; </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove <Box width={80} p={5} rounded="xl" shadow={4}>
</s> add <Box p={5} rounded="xl" shadow={4} w="100%"> | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-shoes-card.tsx |
w="100%" | <mask> rounded="xl"
<mask> overflow="hidden"
<mask> >
<mask> <Box width={{ md: 24 }} height={{ base: 32, md: '100%' }}>
<mask> <Image
<mask> source={{
<mask> uri:
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Box rounded="pill" w={64} shadow={4}>
</s> add // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w={96} shadow={4}>
</s> add <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <HStack>
</s> add <HStack mx={{ base: 'auto', md: 0 }} space={2}> | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-shoes-card.tsx |
<Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> | <mask> Just In
<mask> </Text>
<mask> <Stack space={1}>
<mask> <Heading size="sm">Jordan MA2</Heading>
<mask> <Text fontWeight="medium" color="blueGray.600">
<mask> Older Kids' Shoe
<mask> </Text>
<mask> <Text fontWeight="medium" color="blueGray.600">
<mask> 2 colors
<mask> </Text>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text fontWeight="medium" color="blueGray.600">
</s> add <Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove <Text fontSize="md" fontWeight="semibold" color="blueGray.600">
</s> add <Text
fontSize="md"
fontWeight="semibold"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
fontSize="xs"
> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-shoes-card.tsx |
<Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> | <mask> <Heading size="sm">Jordan MA2</Heading>
<mask> <Text fontWeight="medium" color="blueGray.600">
<mask> Older Kids' Shoe
<mask> </Text>
<mask> <Text fontWeight="medium" color="blueGray.600">
<mask> 2 colors
<mask> </Text>
<mask> </Stack>
<mask> <Text fontSize="md" fontWeight="semibold" color="blueGray.600">
<mask> $ 150
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text fontWeight="medium" color="blueGray.600">
</s> add <Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove <Text fontSize="md" fontWeight="semibold" color="blueGray.600">
</s> add <Text
fontSize="md"
fontWeight="semibold"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove <Text color="blueGray.500" fontWeight="medium" fontSize="xs">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
fontSize="xs"
> </s> remove <Text color="blueGray.500" fontWeight="medium">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
> </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-shoes-card.tsx |
<Text
fontSize="md"
fontWeight="semibold"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> | <mask> <Text fontWeight="medium" color="blueGray.600">
<mask> 2 colors
<mask> </Text>
<mask> </Stack>
<mask> <Text fontSize="md" fontWeight="semibold" color="blueGray.600">
<mask> $ 150
<mask> </Text>
<mask> </Stack>
<mask> </Box>
<mask> );
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Text fontWeight="medium" color="blueGray.600">
</s> add <Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove <Text fontWeight="medium" color="blueGray.600">
</s> add <Text
fontWeight="medium"
color={useColorModeValue('blueGray.600', 'blueGray.50')}
> </s> remove <Text color="blueGray.500" fontWeight="medium">
</s> add <Text
color={useColorModeValue('blueGray.500', 'blueGray.200')}
fontWeight="medium"
> </s> remove </VStack>
</s> add </HStack> </s> remove <Text bold color="blueGray.500">
</s> add <Text bold color={useColorModeValue('blueGray.500', 'blueGray.200')}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition-shoes-card.tsx |
as={<MaterialIcons name="access-time" />} | <mask> </Text>
<mask> <HStack alignItems="center" space={4} justifyContent="space-between">
<mask> <HStack alignItems="center">
<mask> <Icon
<mask> as={MaterialIcons}
<mask> name="access-time"
<mask> color="gray.500"
<mask> size="sm"
<mask> />
<mask> <Text ml={1} color="gray.500" fontWeight="500">
<mask> 6 mins ago
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <HStack space={3} alignItems="center">
</s> add <HStack space={3} alignItems="center" flexShrink={1}> </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove type="MaterialCommunityIcons"
</s> add as={MaterialCommunityIcons} </s> remove <Text fontWeight="medium" color="blueGray.500">
Task: Commercial project
</s> add <Text
flexShrink={1}
fontWeight="medium"
color={useColorModeValue('blueGray.500', 'blueGray.200')}
>
Task: KitchenSink </s> remove <HStack justifyContent="space-between" alignItems="flex-end">
</s> add <HStack
justifyContent="space-between"
alignItems="flex-end"
flexShrink={1}
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Box/composition.tsx |
<VStack space={4} px={2} w="100%"> | <mask> import { Button, Divider, Heading, HStack, VStack } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> return (
<mask> <VStack space={4} px={2}>
<mask> {/* Solid */}
<mask> <Heading size="xs" textAlign="left">
<mask> Solid
<mask> </Heading>
<mask> <HStack space={2}>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
</s> add import {
Box,
Heading,
Image,
Text,
HStack,
Stack,
Button,
useColorModeValue,
} from 'native-base'; </s> remove <Stack space={4} mx={3}>
</s> add <Stack space={4} mx={3} w="100%"> </s> remove import { Button, useToast, VStack } from 'native-base';
</s> add import { Button, useToast, Stack } from 'native-base'; </s> remove import { Spinner, HStack } from 'native-base';
</s> add import { Spinner, HStack, useColorModeValue } from 'native-base'; </s> remove <Alert.Title>Alert Solid Variant</Alert.Title>
</s> add <Alert.Title flexShrink={1}>Alert Solid Variant</Alert.Title> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Button/variants.tsx |
</Stack> | <mask> onPress={() => console.log('hello world')}
<mask> >
<mask> DISABLED
<mask> </Button>
<mask> </HStack>
<mask>
<mask> <Divider />
<mask>
<mask> <Heading size="xs">Unstyled</Heading>
<mask>
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Icon as={AntDesign} name="chrome" />
</s> add <Icon as={<AntDesign name="chrome" />} /> </s> remove <Heading mx={3}>
</s> add <Heading mx={3} d="flex" alignItems="center" flexDirection="row"> </s> remove <Heading mx={3}>
Chrome <Icon ml="auto" as={AntDesign} name="chrome" />
</s> add <Heading mx={3} d="flex" alignItems="center" flexDirection="row">
Chrome <Icon ml="auto" as={<AntDesign name="chrome" />} /> </s> remove <Icon ml="auto" as={FontAwesome} name="firefox" />
</s> add <Icon ml="auto" as={<FontAwesome name="firefox" />} /> </s> remove <Divider bg="green.500" size={3} mx={4} orientation="vertical" />
<Text>Nativebase</Text>
</s> add | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Button/variants.tsx |
<Flex h={40} w={20} mt={6}>
<Center
size={16}
bg="primary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 1
</Center>
<Spacer />
<Center
size={16}
bg="secondary.400"
rounded="xl"
_text={{ color: 'white' }}
>
Box 2
</Center>
</Flex> | <mask> import { Flex, Spacer, Center, Heading } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> return (
<mask> <Center flex={1}>
<mask> <Heading>Adding Spacer</Heading>
<mask> <Flex h={40} w={20} mt={6}>
<mask> <Center
<mask> size={16}
<mask> bg="primary.400"
<mask> rounded="xl"
<mask> _text={{ color: 'white' }}
<mask> >
<mask> Box 1
<mask> </Center>
<mask> <Spacer />
<mask> <Center
<mask> size={16}
<mask> bg="secondary.400"
<mask> rounded="xl"
<mask> _text={{ color: 'white' }}
<mask> >
<mask> Box 2
<mask> </Center>
<mask> </Flex>
<mask> </Center>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove width={200}
</s> add width={{ base: 200, lg: 400 }} </s> remove <HStack>
<Center w="40px" h="40px" bg="primary.400" color="white">
<Icon name="audiotrack" as={MaterialIcons} color="white" size={6} />
</s> add <HStack space={1}>
<Center w="40px" h="40px" bg="primary.400">
<Icon as={<MaterialIcons name="audiotrack" />} color="white" size={6} /> </s> remove p={12}
rounded="lg"
</s> add p={4} </s> remove </PresenceTransition>
</s> add </Fade> </s> remove <Box p="40px" color="white" mt="4" bg="teal.500" rounded="md">
</s> add <Box
p="40px"
_text={{ color: 'white' }}
mt="4"
bg="teal.500"
rounded="md"
> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Flex/spacer.tsx |
import { Input, useColorModeValue } from 'native-base'; | <mask> import React from 'react';
<mask> import { Input } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> return <Input mx={3} placeholder="Default Input" />;
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove import { Alert, Box } from 'native-base';
</s> add import { Alert } from 'native-base'; </s> remove import { Modal, Button, Input } from 'native-base';
</s> add import { Modal, Button, Input, useColorModeValue } from 'native-base'; </s> remove import { Button, useToast, VStack } from 'native-base';
</s> add import { Button, useToast, Stack } from 'native-base'; </s> remove import { Button, Modal, VStack } from 'native-base';
</s> add import { Button, Modal, Stack } from 'native-base'; </s> remove import { Avatar, HStack } from 'native-base';
</s> add import { Avatar, Stack } from 'native-base'; | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Input/Basic.tsx |
NativeBase | <mask> href="https://nativebase.io"
<mask> isExternal
<mask> mt={4}
<mask> >
<mask> https://nativebase.io
<mask> </Link>
<mask> );
<mask> };
</s> Feat/sync kitchensink (#3731)
* fix: storybook example - actionsheet
* fix: storybook example - alert
* fix: storybook example - avatar
* fix: storybook example - badge
* fix: storybook example - box
* fix: storybook example - button
* fix: storybook example - actionsheet alert avatar badge button
* fix: storybook example - center
* fix: storybook example - checkbox
* fix: storybook example - column
* fix: storybook example - divider
* fix: storybook example - container flex
* fix: storybook example - container formcontrol icon...input
* fix: storybook example - modal popover link list radio
* fix: storybook example - slider list menu
* fix: storybook example - stack switch tabs
* fix: storybook example - text textarea toast tooltip transitions input </s> remove <Input mt={4} ref={finalRef} placeholder="I'll receive focus on close" />
</s> add <Input
mt={4}
ref={finalRef}
placeholder="I'll receive focus on close"
placeholderTextColor={useColorModeValue('blueGray.700', 'blueGray.100')}
/> </s> remove </HStack>
</s> add </Stack> </s> remove </PresenceTransition>
</s> add </Fade> </s> remove </PresenceTransition>
</s> add </ScaleFade> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/f39ce8b6b0e01dd8ab194c9c1ef3181463ac2ee6 | example/storybook/stories/components/primitives/Link/ExternalLink.tsx |