From 2327a04fb6a8d3370f2139deeac24d5c7fc7bb09 Mon Sep 17 00:00:00 2001 From: meenu Date: Tue, 3 Aug 2021 12:15:33 +0530 Subject: [PATCH 01/11] box props correction --- docs/more-props.md | 13 +++++ nb-plugins/component-prop-table/index.js | 53 +++++++++++++-------- nb-plugins/component-prop-table/propsMap.js | 5 ++ nb-plugins/utils/index.js | 1 - sidebars.js | 4 ++ 5 files changed, 55 insertions(+), 21 deletions(-) create mode 100644 docs/more-props.md diff --git a/docs/more-props.md b/docs/more-props.md new file mode 100644 index 000000000..935c792be --- /dev/null +++ b/docs/more-props.md @@ -0,0 +1,13 @@ +--- +id: more-props +title: More props +--- + +### ILinearGradientProps + +| Name | Type | Description | Default | +| -------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | +| colors | `Array` | An array of colors that represent stops in the gradient. | - | +| start | `Array` | This means that the gradient will start from first value from the left and second value from the top. Array can contain numbers ranging from 0 to 1. | | +| end | `Array` | This means that the gradient will end at first value from the left and at second value from the bottom. Array can contain numbers ranging from 0 to 1. | | +| location | `Array ` | Each number indicates a color-stop location where each respective color should be located. Array can contain numbers ranging from 0 to 1. | | diff --git a/nb-plugins/component-prop-table/index.js b/nb-plugins/component-prop-table/index.js index c28e297cb..313433466 100644 --- a/nb-plugins/component-prop-table/index.js +++ b/nb-plugins/component-prop-table/index.js @@ -34,34 +34,47 @@ const templateGenerator = (componentDetails) => { for (let prop in propsObject) { const { name, description, type, parent, defaultValue } = propsObject[prop]; - const MapValue = - internalPropsMap[type.name] || - rnPropsMap[type.name] || - StylingPropsMap[type.name]; - let newType = type.name.replace(/\/g, '>'); //for > + const markupWithTypeLinks = type.name + .split('|') + .map((e) => { + return e.trim(); + }) + .map((element) => { + const MapValue = + internalPropsMap[element] || + rnPropsMap[element] || + StylingPropsMap[element]; + const htmlSanatizedElem = element + .replace(/\/g, '>'); //for > + return `${ + MapValue + ? `${element}` + : htmlSanatizedElem + }`; + }) + .join(' | '); if (parent.name === `I${displayName}Props`) { propExists = true; temp = temp + ` - - ${name} - - - ${MapValue ? `${type.name}` : newType} - - - ${description || '-'} - - - ${defaultValue ? defaultValue.value : '-'} - - `; + + ${name} + + + ${markupWithTypeLinks} + + + ${description || '-'} + + + ${defaultValue ? defaultValue.value : '-'} + + `; } } - return temp; }; diff --git a/nb-plugins/component-prop-table/propsMap.js b/nb-plugins/component-prop-table/propsMap.js index 9c61a1807..8dcfd3412 100644 --- a/nb-plugins/component-prop-table/propsMap.js +++ b/nb-plugins/component-prop-table/propsMap.js @@ -4,6 +4,11 @@ const internalProps = { IIconProps: { doc: 'icon.md', name: 'Icon', link: 'icon#props' }, IStackProps: { doc: 'stack.md', name: 'Stack', link: 'stack#props' }, IButtonProps: { doc: 'button.md', name: 'Button', link: 'button#props' }, + ILinearGradientProps: { + doc: 'more-props.md', + name: 'More Props', + link: 'more-props#ilineargradientprops', + }, IPressableProps: { doc: 'pressable.md', name: 'Pressable', diff --git a/nb-plugins/utils/index.js b/nb-plugins/utils/index.js index dddb46b40..a3398e820 100644 --- a/nb-plugins/utils/index.js +++ b/nb-plugins/utils/index.js @@ -78,7 +78,6 @@ const simplifyMeta = (meta) => { const getPropDetail = (meta, repoPath) => { const { path: subPath, ...objectifiedMeta } = simplifyMeta(meta); const filePath = path.resolve(repoPath, 'src', 'components', ...subPath); - // console.log('filepath: ', filePath); const code = docgen.parse(filePath); // NOTE: writing on code for testing diff --git a/sidebars.js b/sidebars.js index 001b6d2dc..6434a5908 100644 --- a/sidebars.js +++ b/sidebars.js @@ -280,6 +280,10 @@ module.exports = { collapsed: false, items: ['changelog', 'faq'], }, + { + type: 'doc', + id: 'more-props', + }, { type: 'doc', id: 'install-expo', From 0a17dd130354167de278ea9c770394ea65de4de0 Mon Sep 17 00:00:00 2001 From: meenu Date: Fri, 6 Aug 2021 16:45:11 +0530 Subject: [PATCH 02/11] moved excess docs to unreleased list --- docs/popOver.md | 16 ++++++++-------- sidebars.js | 2 +- {docs => unreleased-docs}/list.md | 0 {docs => unreleased-docs}/overlay.md | 0 {docs => unreleased-docs}/swipableList.md | 0 {docs => unreleased-docs}/textField.md | 0 {docs => unreleased-docs}/transition.md | 0 {docs => unreleased-docs}/usePopOver.md | 0 8 files changed, 9 insertions(+), 9 deletions(-) rename {docs => unreleased-docs}/list.md (100%) rename {docs => unreleased-docs}/overlay.md (100%) rename {docs => unreleased-docs}/swipableList.md (100%) rename {docs => unreleased-docs}/textField.md (100%) rename {docs => unreleased-docs}/transition.md (100%) rename {docs => unreleased-docs}/usePopOver.md (100%) diff --git a/docs/popOver.md b/docs/popOver.md index 211d69be5..6b6006e7d 100644 --- a/docs/popOver.md +++ b/docs/popOver.md @@ -1,5 +1,5 @@ --- -id: popOver +id: popover title: Popover --- @@ -85,10 +85,10 @@ Adheres to the [Dialog WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria- ### Keyboard Interactions -| Name | Description | -| --------------------|-------------| -| Space | Opens/closes the popover. | -| Enter | Opens/closes the popover. | -| Tab | Moves focus to the next focusable element. | -| Shift + Tab | Moves focus to the previous focusable element. | -| Esc | Closes the popover and moves focus to Popover.Trigger. | \ No newline at end of file +| Name | Description | +| ----------- | ------------------------------------------------------ | +| Space | Opens/closes the popover. | +| Enter | Opens/closes the popover. | +| Tab | Moves focus to the next focusable element. | +| Shift + Tab | Moves focus to the previous focusable element. | +| Esc | Closes the popover and moves focus to Popover.Trigger. | diff --git a/sidebars.js b/sidebars.js index 001b6d2dc..3ec2fc6cc 100644 --- a/sidebars.js +++ b/sidebars.js @@ -132,7 +132,7 @@ module.exports = { 'menu', 'modal', // 'overlay' - 'popOver', + 'popover', 'tooltip', ], }, diff --git a/docs/list.md b/unreleased-docs/list.md similarity index 100% rename from docs/list.md rename to unreleased-docs/list.md diff --git a/docs/overlay.md b/unreleased-docs/overlay.md similarity index 100% rename from docs/overlay.md rename to unreleased-docs/overlay.md diff --git a/docs/swipableList.md b/unreleased-docs/swipableList.md similarity index 100% rename from docs/swipableList.md rename to unreleased-docs/swipableList.md diff --git a/docs/textField.md b/unreleased-docs/textField.md similarity index 100% rename from docs/textField.md rename to unreleased-docs/textField.md diff --git a/docs/transition.md b/unreleased-docs/transition.md similarity index 100% rename from docs/transition.md rename to unreleased-docs/transition.md diff --git a/docs/usePopOver.md b/unreleased-docs/usePopOver.md similarity index 100% rename from docs/usePopOver.md rename to unreleased-docs/usePopOver.md From 620170e0a906dcce25f79920d450d9bc307bcabc Mon Sep 17 00:00:00 2001 From: madhav23bansal Date: Tue, 14 Sep 2021 18:42:55 +0530 Subject: [PATCH 03/11] Changed flex and created v3.2.0 again --- docs/alertDialog.md | 118 +-------------- docs/box.md | 2 +- docs/buildingDrawerNavigation.md | 4 +- docs/buildingFooterTabs.md | 12 +- docs/buildingSearchBar.md | 2 +- docs/buildingTabView.md | 8 +- docs/builldingCard.md | 2 +- docs/container.md | 2 +- docs/customizingComponents.md | 4 +- docs/form.md | 6 +- docs/hidden.md | 2 +- docs/link.md | 2 +- docs/loginsignupforms.md | 4 +- docs/modal.md | 12 ++ docs/nativebase-factory.md | 8 +- docs/overlay.md | 4 +- docs/pseudoProps.md | 2 +- docs/responsive.md | 6 +- docs/setup-provider.md | 2 +- docs/textField.md | 6 +- docs/theme.md | 4 +- docs/todo-list.md | 4 +- docs/transition.md | 12 +- docs/useAccessibleColors.md | 2 +- docs/useBreakPointValue.md | 2 +- docs/useClipboard.md | 2 +- docs/useColorMode.md | 2 +- docs/useColorModeValue.md | 2 +- docs/useContrastText.md | 4 +- docs/useDisclosure.md | 2 +- docs/useMediaQuery.md | 6 +- docs/usePopOver.md | 2 +- docs/useToken.md | 2 +- docs/utilityProps.md | 26 ++-- .../storybook-example-transformer/index.js | 2 +- versioned_docs/version-3.2.0/VStack.md | 2 +- versioned_docs/version-3.2.0/ZStack.md | 5 + versioned_docs/version-3.2.0/accessibility.md | 2 +- versioned_docs/version-3.2.0/alertDialog.md | 5 +- versioned_docs/version-3.2.0/appDrawer.md | 4 +- versioned_docs/version-3.2.0/box.md | 4 +- .../version-3.2.0/buildingAppBar.md | 8 +- .../version-3.2.0/buildingDrawerNavigation.md | 62 ++++---- .../version-3.2.0/buildingFooterTabs.md | 26 ++-- .../version-3.2.0/buildingSearchBar.md | 28 ++-- .../version-3.2.0/buildingSwipeList.md | 24 +-- .../version-3.2.0/buildingTabView.md | 6 +- versioned_docs/version-3.2.0/builldingCard.md | 10 +- .../version-3.2.0/customizingComponents.md | 6 +- versioned_docs/version-3.2.0/darkMode.md | 2 +- versioned_docs/version-3.2.0/default-theme.md | 34 ++--- versioned_docs/version-3.2.0/form.md | 8 +- versioned_docs/version-3.2.0/hStack.md | 2 +- versioned_docs/version-3.2.0/hidden.md | 125 ++++++++++++++++ versioned_docs/version-3.2.0/icon.md | 16 +- versioned_docs/version-3.2.0/iconButton.md | 2 +- versioned_docs/version-3.2.0/install-cra.mdx | 2 +- versioned_docs/version-3.2.0/install-expo.mdx | 50 ++++++- versioned_docs/version-3.2.0/install-next.mdx | 1 + versioned_docs/version-3.2.0/install-rn.mdx | 52 ++++++- versioned_docs/version-3.2.0/link.md | 4 +- .../version-3.2.0/loginsignupforms.md | 140 +++++++++--------- versioned_docs/version-3.2.0/menu.md | 3 +- .../version-3.2.0/migration/Button.md | 2 +- .../version-3.2.0/migration/Guide.md | 2 +- .../version-3.2.0/migration/v31tov32.md | 4 +- .../version-3.2.0/nativebase-formik-ui.md | 2 +- versioned_docs/version-3.2.0/nativebase.mdx | 2 +- versioned_docs/version-3.2.0/popOver.md | 2 +- versioned_docs/version-3.2.0/pseudoProps.md | 86 +++++++++++ versioned_docs/version-3.2.0/psuedoProps.md | 63 -------- .../version-3.2.0/reactHooksForms.md | 26 ++-- versioned_docs/version-3.2.0/slider.md | 5 + versioned_docs/version-3.2.0/todo-list.md | 12 +- versioned_docs/version-3.2.0/tooltip.md | 3 +- .../version-3.2.0/useAccessibleColors.md | 4 +- .../version-3.2.0/useBreakPointValue.md | 2 +- versioned_docs/version-3.2.0/useClipboard.md | 6 +- versioned_docs/version-3.2.0/useColorMode.md | 2 +- .../version-3.2.0/useColorModeValue.md | 2 +- .../version-3.2.0/useContrastText.md | 4 +- versioned_docs/version-3.2.0/useDisclosure.md | 4 +- versioned_docs/version-3.2.0/useMediaQuery.md | 4 +- .../version-3.2.0-sidebars.json | 16 +- 84 files changed, 668 insertions(+), 500 deletions(-) create mode 100644 versioned_docs/version-3.2.0/hidden.md create mode 100644 versioned_docs/version-3.2.0/pseudoProps.md delete mode 100644 versioned_docs/version-3.2.0/psuedoProps.md diff --git a/docs/alertDialog.md b/docs/alertDialog.md index 1d0d8e1a2..0763f1683 100644 --- a/docs/alertDialog.md +++ b/docs/alertDialog.md @@ -24,110 +24,8 @@ import { AlertDialog } from 'native-base'; ### Basic -```SnackPlayer name=AlertDialog%20Basic -import React from "react"; -import { - AlertDialog, - Button, - Center, - NativeBaseProvider, -} from "native-base"; - -function AlertDialogComponent() { - const [isOpen, setIsOpen] = React.useState(false); - const onClose = () => setIsOpen(false); - const cancelRef = React.useRef(); - return ( -
- - - - Delete Customer - - - Are you sure? You can't undo this action afterwards. - - - - - - - - -
- ); -} -export default function () { - return ( - -
- -
-
- ); -} -``` +```ComponentSnackPlayer path=composites,AlertDialog,basic.tsx -### Transition - -```SnackPlayer name=AlertDialog%20Transition -import React from "react"; -import { AlertDialog, Button, Center, NativeBaseProvider } from "native-base"; - -function AlertDialogComponent() { - const [isOpen, setIsOpen] = React.useState(false); - const onClose = () => setIsOpen(false); - const cancelRef = React.useRef(); - return ( -
- - - - Discard Changes? - - Are you sure you want to discard all of your notes? 44 words will be - deleted. - - - - - - - - -
- ); -} -export default function () { - return ( - -
- -
-
- ); -} ``` ## Styling @@ -149,12 +47,12 @@ Adheres to the [Alert and Message Dialogs WAI-ARIA design pattern.](https://www. ### Keyboard Interactions -| Name | Description | -| --------------------|-------------| -| Space | Opens/closes the dialog. | -| Enter | Opens/closes the dialog. | -| Tab | Moves focus to the next focusable element. | -| Shift + Tab | Moves focus to the previous focusable element. | -| Esc | Closes the dialog and moves focus to AlertDialog.Trigger. | +| Name | Description | +| ----------- | --------------------------------------------------------- | +| Space | Opens/closes the dialog. | +| Enter | Opens/closes the dialog. | +| Tab | Moves focus to the next focusable element. | +| Shift + Tab | Moves focus to the previous focusable element. | +| Esc | Closes the dialog and moves focus to AlertDialog.Trigger. | diff --git a/docs/box.md b/docs/box.md index e22130f75..22e09f2de 100644 --- a/docs/box.md +++ b/docs/box.md @@ -63,7 +63,7 @@ const config = { export default () => { return ( -
+
diff --git a/docs/buildingDrawerNavigation.md b/docs/buildingDrawerNavigation.md index 4e59c8e32..aa78a13c7 100644 --- a/docs/buildingDrawerNavigation.md +++ b/docs/buildingDrawerNavigation.md @@ -40,7 +40,7 @@ function Component(props) { props.navigation.toggleDrawer()} position="absolute" ml="2" zIndex="1"> -
+
{props.route.name}
@@ -148,7 +148,7 @@ function CustomDrawerContent(props) { } function MyDrawer() { return ( - + } > diff --git a/docs/buildingFooterTabs.md b/docs/buildingFooterTabs.md index b696cf4a0..56c780537 100644 --- a/docs/buildingFooterTabs.md +++ b/docs/buildingFooterTabs.md @@ -31,15 +31,15 @@ export default function App() { const [selected, setSelected] = React.useState(1); return ( - -
+ +
setSelected(0)} >
@@ -57,7 +57,7 @@ export default function App() { cursor="pointer" opacity={selected === 1 ? 1 : 0.5} py="2" - flex="1" + flex={1} onPress={() => setSelected(1)} >
@@ -75,7 +75,7 @@ export default function App() { cursor="pointer" opacity={selected === 2 ? 1 : 0.6} py="2" - flex="1" + flex={1} onPress={() => setSelected(2)} >
@@ -93,7 +93,7 @@ export default function App() { cursor="pointer" opacity={selected === 3 ? 1 : 0.5} py="2" - flex="1" + flex={1} onPress={() => setSelected(3)} >
diff --git a/docs/buildingSearchBar.md b/docs/buildingSearchBar.md index 3949946af..a9cf16cd1 100644 --- a/docs/buildingSearchBar.md +++ b/docs/buildingSearchBar.md @@ -63,7 +63,7 @@ function SearchBar(){ export default function () { return ( -
+
diff --git a/docs/buildingTabView.md b/docs/buildingTabView.md index e8b473e59..d1683e841 100644 --- a/docs/buildingTabView.md +++ b/docs/buildingTabView.md @@ -18,15 +18,15 @@ import {NativeBaseProvider,Box, Text} from 'native-base'; import Constants from 'expo-constants'; const FirstRoute = () => ( - + ); const SecondRoute = () => ( - + ); const ThirdRoute = () => ( - + ); const initialLayout = { width: Dimensions.get('window').width }; @@ -63,7 +63,7 @@ export default function TabViewExample() { return ( -
+
diff --git a/docs/container.md b/docs/container.md index a09ac47e5..5b34afdc3 100644 --- a/docs/container.md +++ b/docs/container.md @@ -38,7 +38,7 @@ function ContainerComponent() { export default function () { return ( -
+
diff --git a/docs/customizingComponents.md b/docs/customizingComponents.md index 05cde5265..def40ff7a 100644 --- a/docs/customizingComponents.md +++ b/docs/customizingComponents.md @@ -100,7 +100,7 @@ export default function () { }); return ( -
+
NativeBase
@@ -141,7 +141,7 @@ export default function () { return ( -
+
- @@ -142,6 +142,7 @@ AlertDialog and its components compose the **[Modal](modal.md)** component, so a | ------------------- | --------- | -------------------------------------------------------------- | ------- | | leastDestructiveRef | React.Ref | The least destructive action to get focus when dialog is open. | - | + ## Accessibility Adheres to the [Alert and Message Dialogs WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#alertdialog) @@ -155,3 +156,5 @@ Adheres to the [Alert and Message Dialogs WAI-ARIA design pattern.](https://www. | Tab | Moves focus to the next focusable element. | | Shift + Tab | Moves focus to the previous focusable element. | | Esc | Closes the dialog and moves focus to AlertDialog.Trigger. | + + diff --git a/versioned_docs/version-3.2.0/appDrawer.md b/versioned_docs/version-3.2.0/appDrawer.md index 6890a689e..7e0afecbd 100644 --- a/versioned_docs/version-3.2.0/appDrawer.md +++ b/versioned_docs/version-3.2.0/appDrawer.md @@ -34,13 +34,13 @@ function AppDrawer(){ "forum", ]; - return + return {icons.map((icon) => ( } /> ))} diff --git a/versioned_docs/version-3.2.0/box.md b/versioned_docs/version-3.2.0/box.md index 5c884c1ef..22e09f2de 100644 --- a/versioned_docs/version-3.2.0/box.md +++ b/versioned_docs/version-3.2.0/box.md @@ -41,7 +41,7 @@ export const Example = () => { end: [1, 0], }, }} - p={12} + p="12" rounded="lg" _text={{ fontSize: "md", @@ -89,7 +89,7 @@ const Example = () => { end: [1, 0], }, }} - p={12} + p="12" rounded="lg" _text={{ fontSize: 'md', fontWeight: 'bold', color: 'white' }} > diff --git a/versioned_docs/version-3.2.0/buildingAppBar.md b/versioned_docs/version-3.2.0/buildingAppBar.md index 9f43bfcc8..463c93df3 100644 --- a/versioned_docs/version-3.2.0/buildingAppBar.md +++ b/versioned_docs/version-3.2.0/buildingAppBar.md @@ -21,12 +21,12 @@ function AppBar(){ - - + + } color="white" />} /> - Home + Home - + } size='sm' color="white" />} /> } color="white" size='sm' />} /> diff --git a/versioned_docs/version-3.2.0/buildingDrawerNavigation.md b/versioned_docs/version-3.2.0/buildingDrawerNavigation.md index 5ee14a952..aa78a13c7 100644 --- a/versioned_docs/version-3.2.0/buildingDrawerNavigation.md +++ b/versioned_docs/version-3.2.0/buildingDrawerNavigation.md @@ -36,9 +36,9 @@ import { const Drawer = createDrawerNavigator(); function Component(props) { return ( - - props.navigation.toggleDrawer()} position="absolute" ml={2} zIndex={1}> - + + props.navigation.toggleDrawer()} position="absolute" ml="2" zIndex="1"> +
{props.route.name} @@ -69,72 +69,72 @@ const getIcon = (screenName) => { function CustomDrawerContent(props) { return ( - - + + Mail - john_doe@gmail.com + john_doe@gmail.com - } space={4}> - + } space="4"> + {props.state.routeNames.map((name, index) => ( { props.navigation.navigate(name); }} > - + } /> - + size="5" as={} /> + {name} ))} - - Labels - + + Labels + - + } /> - + size="5" as={} /> + Family - + } /> - + size="5" as={} /> + Friends - + } /> - + size="5" as={} /> + Work diff --git a/versioned_docs/version-3.2.0/buildingFooterTabs.md b/versioned_docs/version-3.2.0/buildingFooterTabs.md index f2d847ae0..56c780537 100644 --- a/versioned_docs/version-3.2.0/buildingFooterTabs.md +++ b/versioned_docs/version-3.2.0/buildingFooterTabs.md @@ -34,76 +34,76 @@ export default function App() {
- + setSelected(0)} >
} color="white" size="xs" /> - Favorites + Favorites
setSelected(1)} >
} color="white" size="xs" /> - Music + Music
setSelected(2)} >
} color="white" size="xs" /> - Places + Places
setSelected(3)} >
} color="white" size="xs" /> - News + News
diff --git a/versioned_docs/version-3.2.0/buildingSearchBar.md b/versioned_docs/version-3.2.0/buildingSearchBar.md index be697f529..a9cf16cd1 100644 --- a/versioned_docs/version-3.2.0/buildingSearchBar.md +++ b/versioned_docs/version-3.2.0/buildingSearchBar.md @@ -21,39 +21,39 @@ import { FontAwesome5 } from '@expo/vector-icons'; function SearchBar(){ return ( - - + + Cupertino } />} + InputLeftElement={} />} /> - + Material } />} - InputRightElement={} />} + InputLeftElement={} />} + InputRightElement={} />} /> @@ -63,7 +63,7 @@ function SearchBar(){ export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/buildingSwipeList.md b/versioned_docs/version-3.2.0/buildingSwipeList.md index e40c81eba..130e14ed4 100644 --- a/versioned_docs/version-3.2.0/buildingSwipeList.md +++ b/versioned_docs/version-3.2.0/buildingSwipeList.md @@ -27,8 +27,8 @@ export default function App() { return ( - - Swipe list Example + + Swipe list Example @@ -68,9 +68,9 @@ function Basic() { alignItems= 'center' bg="white" borderBottomColor= 'trueGray.200' - borderBottomWidth= {1} + borderBottomWidth= "1" justifyContent= 'center' - height= {50} + height= "50" underlayColor={'#AAA'} _pressed={{ bg:'trueGray.200' @@ -78,9 +78,9 @@ function Basic() { py={8} > - - - + + + {index} @@ -94,11 +94,11 @@ function Basic() { const renderHiddenItem = (data, rowMap) => ( } color='white'/> + flex= "1"> - image base - + image base + NEWS - + June 22, 2021 - + The Stunning Dawki River in Meghalaya is So Clear That Boats Appear Floating in Air diff --git a/versioned_docs/version-3.2.0/customizingComponents.md b/versioned_docs/version-3.2.0/customizingComponents.md index c78a88e27..def40ff7a 100644 --- a/versioned_docs/version-3.2.0/customizingComponents.md +++ b/versioned_docs/version-3.2.0/customizingComponents.md @@ -53,14 +53,14 @@ As shown above, we can customize components by passing the **components** object - As the name suggests, it's used to define the base style of a component. - Base style can be a function or a plain object. Use function if you want to get access to defaultProps, current colorMode (light/dark) and theme object. -Take a look at an [example here](https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/components/button.ts#L5) +Take a look at an [example here](https://github.com/GeekyAnts/NativeBase/blob/v3-pre-beta/src/theme/components/button.ts#L5) #### Default Props - Default props can be used to initialize props of a component. - For e.g. You have a Button component and it has 2 variants. i.e. outline, solid. You can use it like. -Take a look at an [example here](https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/components/button.ts#L201) +Take a look at an [example here](https://github.com/GeekyAnts/NativeBase/blob/v3-pre-beta/src/theme/components/button.ts#L201) ```jsx diff --git a/versioned_docs/version-3.2.0/hStack.md b/versioned_docs/version-3.2.0/hStack.md index 276f3d442..d8e8c178d 100644 --- a/versioned_docs/version-3.2.0/hStack.md +++ b/versioned_docs/version-3.2.0/hStack.md @@ -1,5 +1,5 @@ --- -id: hStack +id: h-stack title: HStack / Row --- diff --git a/versioned_docs/version-3.2.0/hidden.md b/versioned_docs/version-3.2.0/hidden.md new file mode 100644 index 000000000..0d74cacee --- /dev/null +++ b/versioned_docs/version-3.2.0/hidden.md @@ -0,0 +1,125 @@ +--- +id: hidden +title: Hidden +--- + +import { ComponentTheme } from '../../src/components'; + +Hidden is used to toggle the visibility value of child components responsively, based on the colorMode or based on the platform. It doesn't mount the child components in the restricted values of props. + +## Import + +```jsx +import { Hidden } from 'native-base'; +``` + +## Example + +### Basic + +```jsx + + + This text will be always hidden. + + +``` + +### Hidden according to breakpoints + +```jsx +<> + + + This text will be hidden from sm to lg screens. + + + + + This text will be hidden on sm and lg screens only. + + + +``` + +### Hidden according to colorMode + +```SnackPlayer name=ColorMode%20Usage +import React from 'react'; +import { + useColorMode, + Button, + VStack, + Center, + Box,Text, + Hidden, + useColorModeValue, + NativeBaseProvider +} from 'native-base'; + +function ColorModeExample () { + const { colorMode, toggleColorMode } = useColorMode(); + return ( + <> + + + + + This text will be hidden on light mode + + + + + This text will be hidden on dark mode + + + + + ); +} + +const LocalWrapper = ({ children }) => { + const bg = useColorModeValue('gray.200', 'gray.800') + return ( +
+ {children} +
+ ); +}; + +export default function () { + return ( + + + + + + ); +} +``` + +## Hidden according to platform + +```jsx + + + This text will be hidden on android and web. + + +``` + +## Props + +```ComponentPropTable path=composites,Fab,Fab.tsx + +``` diff --git a/versioned_docs/version-3.2.0/icon.md b/versioned_docs/version-3.2.0/icon.md index b1438011d..4b19156e5 100644 --- a/versioned_docs/version-3.2.0/icon.md +++ b/versioned_docs/version-3.2.0/icon.md @@ -11,14 +11,6 @@ You can use icons in multiple ways in NativeBase: ## Examples -### NativeBase Icons - -We provides a set of commonly used interface icons. So you can directly use them in your project. All our icons are create using [`createIcon`](icon#createicon) function from NativeBase. - -```ComponentSnackPlayer path=primitives,Icon,AllIcons.tsx - -``` - ### Basic ```ComponentSnackPlayer path=primitives,Icon,Basic.tsx @@ -27,6 +19,14 @@ We provides a set of commonly used interface icons. So you can directly use them Apart from the icons provided by [@expo/vector-icon](https://github.com/expo/vector-icons), you can also create custom icons using SVG. You can use all the components from [react-native-svg](https://github.com/react-native-svg/react-native-svg). +### NativeBase Icons + +We provides a set of commonly used interface icons. So you can directly use them in your project. All our icons are create using [`createIcon`](icon#createicon) function from NativeBase. + +```ComponentSnackPlayer path=primitives,Icon,AllIcons.tsx + +``` + ### Custom Icon ```ComponentSnackPlayer path=primitives,Icon,CustomIcon.tsx diff --git a/versioned_docs/version-3.2.0/iconButton.md b/versioned_docs/version-3.2.0/iconButton.md index cc11f8c64..4de337741 100644 --- a/versioned_docs/version-3.2.0/iconButton.md +++ b/versioned_docs/version-3.2.0/iconButton.md @@ -40,4 +40,4 @@ import { ComponentTheme } from '../../src/components'; ## Accessibility - Use accessibilityLabel for labelling icon buttons to make sure it's announced by screen reader devices. -- IconButton has a `role` set to [button](https://www.w3.org/TR/wai-aria-practices-1.2/#button). +- IconButton has a `role` set to [button](https://www.w3.org/TR/wai-aria-practices-1.2/#button). \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/install-cra.mdx b/versioned_docs/version-3.2.0/install-cra.mdx index 545b206a7..853c65e3a 100644 --- a/versioned_docs/version-3.2.0/install-cra.mdx +++ b/versioned_docs/version-3.2.0/install-cra.mdx @@ -86,7 +86,7 @@ Put the below code in your App.js import React from 'react'; import { NativeBaseProvider, Box } from 'native-base'; -function App() { +export default function App() { return ( Hello world diff --git a/versioned_docs/version-3.2.0/install-expo.mdx b/versioned_docs/version-3.2.0/install-expo.mdx index 4b77d6efe..6f80a3508 100644 --- a/versioned_docs/version-3.2.0/install-expo.mdx +++ b/versioned_docs/version-3.2.0/install-expo.mdx @@ -9,7 +9,44 @@ import { TileLink } from '../../src/components'; Expo helps you to create universal (iOS, Android and Web) React Native apps with no build configuration. -### Create a new expo project + + + + +### Create a new project using Expo CLI with NativeBase template + +

Plain Javascript

+
+ +```bash +expo init my-app --template expo-template-native-base +``` + +
+ +

With Typescript

+
+ +```bash +expo init my-app --template expo-template-native-base-typescript +``` + +
+ +Yey! you are all set, start editing App.js/App.tsx now. + +
+ + + + + +### Create a new expo project if not exist ```bash npm install --global expo-cli @@ -28,7 +65,7 @@ cd my-project/ { label: 'npm', value: 'npm' } ]}> - + ```bash yarn add native-base styled-components styled-system @@ -62,7 +99,7 @@ Put the below code in your App.js import React from 'react'; import { NativeBaseProvider, Box } from 'native-base'; -function App() { +export default function App() { return ( Hello world @@ -71,6 +108,13 @@ function App() { } ``` + + + +
+ + +
minions clapping
diff --git a/versioned_docs/version-3.2.0/install-next.mdx b/versioned_docs/version-3.2.0/install-next.mdx index dc9dbca16..40a4eee9e 100644 --- a/versioned_docs/version-3.2.0/install-next.mdx +++ b/versioned_docs/version-3.2.0/install-next.mdx @@ -52,6 +52,7 @@ Yey! you are all set, start editing src/pages/index.tsx now. +

Choose your preferred setting and start your development swiftly 🚀

diff --git a/versioned_docs/version-3.2.0/install-rn.mdx b/versioned_docs/version-3.2.0/install-rn.mdx index 68d0283a3..b03d00461 100644 --- a/versioned_docs/version-3.2.0/install-rn.mdx +++ b/versioned_docs/version-3.2.0/install-rn.mdx @@ -7,7 +7,50 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import { TileLink } from '../../src/components'; -### Create a new project + + + + + + + + +### Create a new project using ReactNative CLI with NativeBase template + +[Refer this link](https://github.com/react-native-community/cli#about) to get infomation about the React Native CLI. + +

Plain Javascript

+
+ +```bash +npx react-native init MyApp --template react-native-template-native-base +``` + +
+ +

With Typescript

+
+ +```bash +npx react-native init MyApp --template react-native-template-native-base-typescript +``` + +
+ +Yey! you are all set, start editing App.js/App.tsx now. + + +
+ + + + +### Create a new project if not exist ```bash npx react-native init AwesomeNativeBase @@ -56,7 +99,7 @@ Put the below code in your App.js import React from 'react'; import { NativeBaseProvider, Box } from 'native-base'; -function App() { +export default function App() { return ( Hello world @@ -65,6 +108,11 @@ function App() { } ``` + + +
+ +
diff --git a/versioned_docs/version-3.2.0/link.md b/versioned_docs/version-3.2.0/link.md index 5e77da915..b3f63120d 100644 --- a/versioned_docs/version-3.2.0/link.md +++ b/versioned_docs/version-3.2.0/link.md @@ -57,7 +57,7 @@ Link implements **[Box](box.md)**, so all the Box Props can be passed to it. | Name | Type | Description | Default | | ---------- | -------- | ----------------------------------------- | ------- | | isExternal | boolean | If true, the link will open in a browser. | - | -| onClick | function | Function called when the link is clicked. | - | --> +| onClick | function | Function called when the link is clicked. | - | --> | ## Styling @@ -65,4 +65,4 @@ Link implements **[Box](box.md)**, so all the Box Props can be passed to it. ## Accessibility -Adheres to the [Link WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#link) +Adheres to the [Link WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#link) \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/loginsignupforms.md b/versioned_docs/version-3.2.0/loginsignupforms.md index dbd302238..8e7b20a54 100644 --- a/versioned_docs/version-3.2.0/loginsignupforms.md +++ b/versioned_docs/version-3.2.0/loginsignupforms.md @@ -33,7 +33,7 @@ export default function App() { @@ -44,14 +44,14 @@ export default function App() { Sign in to continue!
- + Email ID - + Password @@ -59,47 +59,47 @@ export default function App() { Forget Password? - + - - } - color='muted.700' - size='sm' - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> + + } + color='muted.700' + size='sm' + /> + } + /> + } + color='muted.700' + size="sm" + /> + } + /> + } + color='muted.700' + size="sm" + /> + } + /> @@ -143,7 +143,7 @@ export default function App() { @@ -154,7 +154,7 @@ export default function App() { Sign up to continue! - + Email @@ -173,42 +173,42 @@ export default function App() { - + - - } - color='muted.700' - size='sm' - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> + + } + color='muted.700' + size='sm' + /> + } + /> + } + color='muted.700' + size="sm" + /> + } + /> + } + color='muted.700' + size="sm" + /> + } + /> diff --git a/versioned_docs/version-3.2.0/menu.md b/versioned_docs/version-3.2.0/menu.md index 736456663..ba2b694e2 100644 --- a/versioned_docs/version-3.2.0/menu.md +++ b/versioned_docs/version-3.2.0/menu.md @@ -89,6 +89,7 @@ Extends `MenuItem`. + ## Accessibility -Adheres to the [Menu WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#menu) +Adheres to the [Menu WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#menu) \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/migration/Button.md b/versioned_docs/version-3.2.0/migration/Button.md index 28d7e47de..a33b068df 100644 --- a/versioned_docs/version-3.2.0/migration/Button.md +++ b/versioned_docs/version-3.2.0/migration/Button.md @@ -12,7 +12,7 @@ Migrating [`Button`](button.mdx) to v3 will provide a lot more **design**, **siz Migrating Button components can broadly described in these points: -- No need to wrap you text inside `Text` component anymore. +- No need to wrap your text inside `Text` component anymore. - `isDisabled` prop can be used to disable the button. - Icons in Button: `leftIcon` and `rightIcon` are the new alternative to iconLeft and iconRight respectively and they accept **tsx.Element**. diff --git a/versioned_docs/version-3.2.0/migration/Guide.md b/versioned_docs/version-3.2.0/migration/Guide.md index 2b3095055..782ee3850 100644 --- a/versioned_docs/version-3.2.0/migration/Guide.md +++ b/versioned_docs/version-3.2.0/migration/Guide.md @@ -1,5 +1,5 @@ --- -id: Guide +id: guide title: Guide to v3 --- diff --git a/versioned_docs/version-3.2.0/migration/v31tov32.md b/versioned_docs/version-3.2.0/migration/v31tov32.md index d46c07a5c..2c27097b3 100644 --- a/versioned_docs/version-3.2.0/migration/v31tov32.md +++ b/versioned_docs/version-3.2.0/migration/v31tov32.md @@ -1,5 +1,5 @@ --- -id: v3.1.0-to-3.2.0 +id: migration-guide title: Upgrading to 3.2.0 --- @@ -10,7 +10,7 @@ But like everything comes at a price, `version 3.2.0` also comes with a few brea To upgrade to 3.2.0 just go into your root directory and run the below command. ```bash -npx upgrade native-base-code-mode +npx upgrade native-base-code-mod ``` :::caution diff --git a/versioned_docs/version-3.2.0/nativebase-formik-ui.md b/versioned_docs/version-3.2.0/nativebase-formik-ui.md index e1b73f8e8..28e5dee4a 100644 --- a/versioned_docs/version-3.2.0/nativebase-formik-ui.md +++ b/versioned_docs/version-3.2.0/nativebase-formik-ui.md @@ -36,7 +36,7 @@ function FormikExample() { return ( {({ handleChange, handleBlur, handleSubmit, values, errors }) => ( - + First Name {console.log("errors" , errors)} diff --git a/versioned_docs/version-3.2.0/nativebase.mdx b/versioned_docs/version-3.2.0/nativebase.mdx index 67326a804..bd0dadf4e 100644 --- a/versioned_docs/version-3.2.0/nativebase.mdx +++ b/versioned_docs/version-3.2.0/nativebase.mdx @@ -37,7 +37,7 @@ import TOCInline from '@theme/TOCInline'; /> diff --git a/versioned_docs/version-3.2.0/popOver.md b/versioned_docs/version-3.2.0/popOver.md index 40a7f4d36..59d6f8049 100644 --- a/versioned_docs/version-3.2.0/popOver.md +++ b/versioned_docs/version-3.2.0/popOver.md @@ -91,4 +91,4 @@ Adheres to the [Dialog WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria- | Enter | Opens/closes the popover. | | Tab | Moves focus to the next focusable element. | | Shift + Tab | Moves focus to the previous focusable element. | -| Esc | Closes the popover and moves focus to Popover.Trigger. | +| Esc | Closes the popover and moves focus to Popover.Trigger. | \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/pseudoProps.md b/versioned_docs/version-3.2.0/pseudoProps.md new file mode 100644 index 000000000..5142576f8 --- /dev/null +++ b/versioned_docs/version-3.2.0/pseudoProps.md @@ -0,0 +1,86 @@ +--- +id: pseudo-props +title: Pseudo Props 101 +--- + +Before getting into details of all the common Pseudo Props NativeBase has to offer let's check some key points that these pseudo props follow. + +## Nesting pseudo props: + +In versions before 3.2.0 there was a set order in which pseudo props can be nested, but it had a some learning curve so we have simplified it. Pseudo props can now be nested in any combination with one small thing to keep in mind. + +Example: So assume you want to change the text color of a button on its hover state. + +### Do's + +```jsx + +``` + +### Dont's + +```jsx + +``` + +The above thing translates to a Text(not Button) when hovered changes its color to `secondary.400` . + +## Precedence Order for Pseudo Props: + +Now all the pseudo props follow a specific order that defines which pseudo prop can override the other pseudo prop. You can find the precedence values associated with each pseudo prop. Higher number means higher precedence. + +```jsx +_disabled(100); + +_pressed(70); +_hover(60); +_focus(50); +_focusVisible(55); + +_active(30); +_checked(30); +_readOnly(40); +_invalid(40); + +_web(10); +_android(10); +_ios(10); + +_light(10); +_dark(10); +``` + +```SnackPlayer name=Pseudo%20Props%20Precedence +import React from 'react'; +import { Button, NativeBaseProvider, Center } from 'native-base'; + +function Component() { + return ( + // Here you can see _hover will be overrided by _pressed + + ); +} +export default function () { + return ( + +
+ +
+
+ ); +} +``` diff --git a/versioned_docs/version-3.2.0/psuedoProps.md b/versioned_docs/version-3.2.0/psuedoProps.md deleted file mode 100644 index 0a7d6a905..000000000 --- a/versioned_docs/version-3.2.0/psuedoProps.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -id: psuedo-props -title: Psuedo Props 101 ---- - -Before getting into details of all the common Psuedo Props NativeBase has to offer let's check some key points that these psuedo props follow. - -## Nesting psuedo props: - -In versions before 3.2.0 there was a set order in which psuedo props can be nested, but it had a steep learning curve therefore we decided to remove it now. Any psuedo prop can be now nested to any level. With one small thing to keep in mind. - -Example: So assume you want to change the text color of a button on its hover state. - -### Do's - -```jsx - -``` - -### Dont's - -```jsx - -``` - -The above thing translates to a Text(not Button) when hovered changes its color to `secondary.400` . - -## Precedence Order for Psuedo Props: - -Now all the psuedo props follows a specific order that defines which psuedo prop can override the other psuedo prop. You can find the precedence values associated with each psuedo prop. - -```jsx -_disabled(100); - -_pressed(70); -_hover(60); -_focus(50); -_focusVisible(55); - -_active(30); -_checked(30); -_readOnly(40); -_invalid(40); - -_web(10); -_android(10); -_ios(10); - -_light(10); -_dark(10); -``` diff --git a/versioned_docs/version-3.2.0/reactHooksForms.md b/versioned_docs/version-3.2.0/reactHooksForms.md index f4efec13c..0063ec32e 100644 --- a/versioned_docs/version-3.2.0/reactHooksForms.md +++ b/versioned_docs/version-3.2.0/reactHooksForms.md @@ -24,7 +24,7 @@ function FormHookExample() { console.log('submiting with ', data); }; return ( - + First Name + Hobbies } > - Darts + Darts } > - Movie + Movie } > - Camping + Camping } > - Chess + Chess )} @@ -186,10 +186,10 @@ function FormHookCheckboxExample() { onChange={(val) => onChange(val)} > - Male + Male - Female + Female )} @@ -235,7 +235,7 @@ function FormHookSelectExample() { console.log('submiting with ', data); }; return ( - + Fav language: { onChange(itemValue); }} @@ -303,7 +303,7 @@ function FormHookSliderExample() { console.log('submiting with ', data); }; return ( - + Amount you like NativeBase + What do you think? + Remenber me: + ## Accessibility Adheres to the [Slider WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#slidertwothumb) @@ -84,3 +85,7 @@ Adheres to the [Slider WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria- | ArrowLeft | Increments/decrements by the step value depending on orientation. | | ArrowUp | Increases the value by the step amount. | | ArrowDown | Decreases the value by the step amount. | + + + + diff --git a/versioned_docs/version-3.2.0/todo-list.md b/versioned_docs/version-3.2.0/todo-list.md index 452dedb23..bbfeed2e9 100644 --- a/versioned_docs/version-3.2.0/todo-list.md +++ b/versioned_docs/version-3.2.0/todo-list.md @@ -57,22 +57,22 @@ export default function () { return (
- + Todo App } + icon={} colorScheme="emerald" - ml={1} + ml="1" onPress={() => { addItem(inputValue); setInputValue(""); }} - mr={1}/> + mr="1"/> } onChangeText={(v) => setInputValue(v)} @@ -93,13 +93,13 @@ export default function () { onChange={() => handleStatusChange(itemI)} value={item.title} > - + {item.title} } + icon={} onPress={() => handleDelete(itemI)} /> diff --git a/versioned_docs/version-3.2.0/tooltip.md b/versioned_docs/version-3.2.0/tooltip.md index 32f30f67a..cc02ea407 100644 --- a/versioned_docs/version-3.2.0/tooltip.md +++ b/versioned_docs/version-3.2.0/tooltip.md @@ -52,7 +52,6 @@ You can pass custom backgroundColor using `bg` or `backgroundColor`, `borderColo ## Accessibility Adheres to the [Tooltip WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-1.1/#tooltip) - ### Keyboard Interactions | Name | Description | @@ -60,4 +59,4 @@ Adheres to the [Tooltip WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria | Space | If open, closes the tooltip without delay. | | Enter | If open, closes the tooltip without delay. | | Tab | Moves focus to the next focusable element. | -| Esc | If open, closes the tooltip without delay. | +| Esc | If open, closes the tooltip without delay. | \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/useAccessibleColors.md b/versioned_docs/version-3.2.0/useAccessibleColors.md index edba126e7..fcfc4f4ae 100644 --- a/versioned_docs/version-3.2.0/useAccessibleColors.md +++ b/versioned_docs/version-3.2.0/useAccessibleColors.md @@ -29,13 +29,13 @@ function UseContrastingTextHook () { key={`teal.${key}`} bg={`teal.${key}`} _text={{ color: colorContrast }} - mb={1} + mb="1" > NativeBase ); })} - diff --git a/versioned_docs/version-3.2.0/useBreakPointValue.md b/versioned_docs/version-3.2.0/useBreakPointValue.md index 3e41f90ec..5017f6898 100644 --- a/versioned_docs/version-3.2.0/useBreakPointValue.md +++ b/versioned_docs/version-3.2.0/useBreakPointValue.md @@ -27,7 +27,7 @@ function UseBreakpointValueExample () { md: 'blue.200', }); return ( - + This is a box ); diff --git a/versioned_docs/version-3.2.0/useClipboard.md b/versioned_docs/version-3.2.0/useClipboard.md index 9aa820956..bd3a8d94b 100644 --- a/versioned_docs/version-3.2.0/useClipboard.md +++ b/versioned_docs/version-3.2.0/useClipboard.md @@ -39,8 +39,8 @@ function UseClipboardExample() { const [pasteText, setPasteText] = React.useState(""); const { value, onCopy, hasCopied } = useClipboard(); return ( - - + + - + {hasCopied ? "Copied" : "Press here"} The active color mode is {colorMode} - +
); } diff --git a/versioned_docs/version-3.2.0/useColorModeValue.md b/versioned_docs/version-3.2.0/useColorModeValue.md index 734fb9fc1..65fad698b 100644 --- a/versioned_docs/version-3.2.0/useColorModeValue.md +++ b/versioned_docs/version-3.2.0/useColorModeValue.md @@ -32,7 +32,7 @@ function UseColorMode() { The active color mode is {useColorModeValue('Light', 'Dark')}
- +
); } diff --git a/versioned_docs/version-3.2.0/useContrastText.md b/versioned_docs/version-3.2.0/useContrastText.md index 73b9bca1a..169963c35 100644 --- a/versioned_docs/version-3.2.0/useContrastText.md +++ b/versioned_docs/version-3.2.0/useContrastText.md @@ -68,13 +68,13 @@ function UseContrastingTextHook () { key={`teal.${key}`} bg={`teal.${key}`} _text={{ color: colorContrast }} - mb={1} + mb="1" > NativeBase ); })} - diff --git a/versioned_docs/version-3.2.0/useDisclosure.md b/versioned_docs/version-3.2.0/useDisclosure.md index 3abc6c3f4..8c4285d8f 100644 --- a/versioned_docs/version-3.2.0/useDisclosure.md +++ b/versioned_docs/version-3.2.0/useDisclosure.md @@ -39,10 +39,10 @@ function UseDiscloseExample() { cupiditate expedita, ipsa corporis officia totam similique delectus! Debitis esse, ea blanditiis iste enim iure at odit fugiat autem. Accusamus? - + - diff --git a/versioned_docs/version-3.2.0/useMediaQuery.md b/versioned_docs/version-3.2.0/useMediaQuery.md index 6d184579f..9660a207f 100644 --- a/versioned_docs/version-3.2.0/useMediaQuery.md +++ b/versioned_docs/version-3.2.0/useMediaQuery.md @@ -20,7 +20,7 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isSmaller] = useMediaQuery({ maxHeight: 512 }); + const [isSmaller] = useMediaQuery({ maxHeight: '512' }); return ( {isSmaller ? "Height smaller than 512" : "Height larger than 512"} @@ -45,7 +45,7 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isLargerThan512] = useMediaQuery({ minWidth: 512 }); + const [isLargerThan512] = useMediaQuery({ minWidth: '512' }); return ( {isLargerThan512 ? "Width larger than 512" : "Width smaller than 512"} diff --git a/versioned_sidebars/version-3.2.0-sidebars.json b/versioned_sidebars/version-3.2.0-sidebars.json index de631cbd1..9ac292995 100644 --- a/versioned_sidebars/version-3.2.0-sidebars.json +++ b/versioned_sidebars/version-3.2.0-sidebars.json @@ -38,7 +38,7 @@ }, { "type": "doc", - "id": "version-3.2.0/psuedo-props" + "id": "version-3.2.0/pseudo-props" }, { "type": "doc", @@ -139,7 +139,7 @@ }, { "type": "doc", - "id": "version-3.2.0/hStack" + "id": "version-3.2.0/h-stack" }, { "type": "doc", @@ -147,11 +147,11 @@ }, { "type": "doc", - "id": "version-3.2.0/VStack" + "id": "version-3.2.0/v-stack" }, { "type": "doc", - "id": "version-3.2.0/ZStack" + "id": "version-3.2.0/z-stack" } ] }, @@ -347,6 +347,10 @@ { "type": "doc", "id": "version-3.2.0/FAB" + }, + { + "type": "doc", + "id": "version-3.2.0/hidden" } ] }, @@ -537,11 +541,11 @@ "items": [ { "type": "doc", - "id": "version-3.2.0/migration/Guide" + "id": "version-3.2.0/migration/guide" }, { "type": "doc", - "id": "version-3.2.0/migration/v3.1.0-to-3.2.0" + "id": "version-3.2.0/migration/migration-guide" }, { "collapsed": true, From d0748f012641a0a586988d1352198a9d6c82621f Mon Sep 17 00:00:00 2001 From: meenu Date: Tue, 21 Sep 2021 11:59:17 +0530 Subject: [PATCH 04/11] using theme file design changes --- docs/theme.md | 70 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 28 deletions(-) diff --git a/docs/theme.md b/docs/theme.md index 0a7501159..db050174c 100644 --- a/docs/theme.md +++ b/docs/theme.md @@ -12,7 +12,7 @@ import React from 'react'; import { NativeBaseProvider, useTheme, - SimpleGrid, + FlatList, Center, Box, } from 'native-base'; @@ -20,11 +20,13 @@ import { function ColorPalete() { const { colors } = useTheme(); return ( - - {Object.keys(colors['emerald']).map((colorKey) => ( - - ))} - + + } + /> + ); } @@ -55,8 +57,9 @@ function Tokens() { 'lightText', ]); return ( -
- Contrast threshold is: +
+ Contrast threshold is:{' '} + {contrastThreshold}
@@ -67,13 +70,14 @@ function Tokens() { export default function () { return ( -
+
); } + ``` ## useContrastText @@ -83,10 +87,16 @@ If you are defining the background yourself and pass a contrasting color to the ```SnackPlayer name=useContrastText import React from 'react'; -import { Button, Stack, useContrastText, NativeBaseProvider, Center } from 'native-base'; -function UseContrastingTextHook () { - const bgDark = 'emerald.700'; - const bgLight = 'emerald.200'; +import { + Button, + Stack, + useContrastText, + NativeBaseProvider, + Center, +} from 'native-base'; +function UseContrastingTextHook() { + const bgDark = 'primary.700'; + const bgLight = 'primary.200'; const colorContrastDark = useContrastText(bgDark); const colorContrastLight = useContrastText(bgLight); @@ -106,12 +116,13 @@ function UseContrastingTextHook () { export default function () { return ( -
+
); } + ``` ## useColorMode @@ -122,7 +133,6 @@ If you want to define some conditionals based on current color mode or change th import React from 'react'; import { NativeBaseProvider, - VStack, useColorMode, Text, Button, @@ -132,23 +142,25 @@ import { function UseColorMode() { const { colorMode, toggleColorMode } = useColorMode(); return ( -
- - The active color mode is {colorMode} +
+ + The active color mode is{' '} + + {colorMode} +
); } -// Example template which wraps component with NativeBaseProvider -export default function () { +export default Example = () => { return ( ); -} +}; ``` @@ -168,24 +180,26 @@ import { } from 'native-base'; function UseColorMode() { - const { colorMode, toggleColorMode } = useColorMode(); + const { toggleColorMode } = useColorMode(); return ( -
- - The active color mode is {useColorModeValue('Light', 'Dark')} +
+ + The active color mode is{' '} + + {useColorModeValue('Light', 'Dark')} +
); } -// Example template which wraps component with NativeBaseProvider -export default function () { +export default Example = () => { return ( ); -} +}; ``` From a87664683034c3b7656a115f31185aa430989425 Mon Sep 17 00:00:00 2001 From: madhav23bansal Date: Tue, 21 Sep 2021 12:13:03 +0530 Subject: [PATCH 05/11] Resolved Conflicts --- versioned_docs/version-3.2.0/install-rn.mdx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/versioned_docs/version-3.2.0/install-rn.mdx b/versioned_docs/version-3.2.0/install-rn.mdx index 9b4343acd..8ed3a885d 100644 --- a/versioned_docs/version-3.2.0/install-rn.mdx +++ b/versioned_docs/version-3.2.0/install-rn.mdx @@ -106,10 +106,6 @@ export default function App() { -<<<<<<< HEAD - -======= ->>>>>>> b8ef628110c534fa82078c0cf9715fa86c29f7d9
From 22acc62fc289d0398de5237b1bd751a8120311a4 Mon Sep 17 00:00:00 2001 From: madhav23bansal Date: Tue, 21 Sep 2021 15:02:22 +0530 Subject: [PATCH 06/11] Changed version for snackplayer --- docs/link.md | 8 -------- nb-plugins/component-snackplayer/index.js | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/link.md b/docs/link.md index 466d0bc65..96c5d2b60 100644 --- a/docs/link.md +++ b/docs/link.md @@ -51,14 +51,6 @@ import { Link } from 'native-base'; ``` - | - ## Styling diff --git a/nb-plugins/component-snackplayer/index.js b/nb-plugins/component-snackplayer/index.js index a7838a1ce..3fef780fe 100644 --- a/nb-plugins/component-snackplayer/index.js +++ b/nb-plugins/component-snackplayer/index.js @@ -18,7 +18,7 @@ const processNode = (node, parent) => { return new Promise(async (resolve, reject) => { try { const params = parseParams(node.meta); - const NBversion = '3.2.0-rc.0'; + const NBversion = '3.2.0'; // Gather necessary Params let name = params.name ? decodeURIComponent(params.name) : 'Example'; const description = params.description From d82bba2ec31c5f0296453b929e4e99fabe63f043 Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Date: Tue, 21 Sep 2021 15:55:44 +0530 Subject: [PATCH 07/11] Snack player version updated --- remark-snackplayer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remark-snackplayer/index.js b/remark-snackplayer/index.js index 2e9fbbdcd..b13669db0 100644 --- a/remark-snackplayer/index.js +++ b/remark-snackplayer/index.js @@ -32,7 +32,7 @@ const processNode = (node, parent) => { try { const params = parseParams(node.meta); const simplifedMeta = simplifyMeta(node.meta); - const NBversion = '3.0.7'; + const NBversion = '3.2.0'; // Gather necessary Params let name = simplifedMeta.name ? decodeURIComponent(simplifedMeta.name) From 75db6ffe01caebb09e5c446ef19e5094fc3b5645 Mon Sep 17 00:00:00 2001 From: meenu Date: Tue, 21 Sep 2021 16:55:27 +0530 Subject: [PATCH 08/11] design changes --- docs/box.md | 15 +- docs/buildingSwipeList.md | 3 - docs/colorMode.md | 128 +++---------- docs/container.md | 13 +- docs/flatList.md | 136 ++++++++++++- docs/iconButton.md | 6 +- docs/responsive.md | 92 ++++++--- docs/todo-list.md | 142 ++++++++------ docs/useAccessibleColors.md | 32 ++-- docs/useBreakPointValue.md | 5 +- docs/useClipboard.md | 15 +- docs/useContrastText.md | 32 ++-- docs/useDisclosure.md | 9 +- docs/useMediaQuery.md | 371 ++++++++++++++++++++++++++++++++++-- 14 files changed, 738 insertions(+), 261 deletions(-) diff --git a/docs/box.md b/docs/box.md index e22130f75..203a8fb4d 100644 --- a/docs/box.md +++ b/docs/box.md @@ -33,20 +33,21 @@ import { Box, Center, NativeBaseProvider } from "native-base" export const Example = () => { return ( - This is a Box with Linear Gradient @@ -63,7 +64,7 @@ const config = { export default () => { return ( -
+
diff --git a/docs/buildingSwipeList.md b/docs/buildingSwipeList.md index 95dc270da..4e44901a3 100644 --- a/docs/buildingSwipeList.md +++ b/docs/buildingSwipeList.md @@ -112,12 +112,9 @@ function Basic() { console.log('You touched me')} bg="white"> diff --git a/docs/colorMode.md b/docs/colorMode.md index e7f7ff4a4..e24285266 100644 --- a/docs/colorMode.md +++ b/docs/colorMode.md @@ -27,69 +27,38 @@ import { Avatar, Center, useColorModeValue, - NativeBaseProvider + Text, + NativeBaseProvider, } from 'native-base'; -function ColorModeExample () { +function ColorModeExample() { const { colorMode, toggleColorMode } = useColorMode(); return ( - <> - I'm a Heading - - - - - - - ); -} - -const LocalWrapper = ({ children }) => { - const bg = useColorModeValue('gray.200', 'gray.800') - return ( -
- {children} +
+ + The active color mode is{' '} + + {useColorModeValue('Light', 'Dark')} + + +
); -}; +} export default function () { return ( - - - + ); } + ``` -## _light and _dark Pseudo props -All components accepts _light and _dark props which applies the passed props on dark and light mode. +## \_light and \_dark Pseudo props + +All components accepts \_light and \_dark props which applies the passed props on dark and light mode. ```SnackPlayer name=PseudoProps%20Usage import React from 'react'; @@ -101,70 +70,35 @@ import { Avatar, Center, useColorModeValue, - NativeBaseProvider + Text, + NativeBaseProvider, } from 'native-base'; -function PseduoPropsUsage () { - const { toggleColorMode } = useColorMode(); - return ( - <> - I'm a Heading - - - - - - - ); -} - -const LocalWrapper = ({ children }) => { - const bg = useColorModeValue('gray.200', 'gray.800') +function PseudoPropsUsage() { + const { colorMode, toggleColorMode } = useColorMode(); return ( -
- {children} +
+ + The active color mode is{' '} + + {colorMode} + + +
); -}; +} export default function () { return ( - - - + ); } ``` - ## Default color mode You can set default color mode. By default, the color mode will be `light`. To support this, extend the default theme with a `config` diff --git a/docs/container.md b/docs/container.md index a09ac47e5..fa8aa79a0 100644 --- a/docs/container.md +++ b/docs/container.md @@ -20,16 +20,15 @@ import React from 'react'; import { Container, Text, Heading, NativeBaseProvider, Center } from 'native-base'; function ContainerComponent() { return ( - + A component library for the - - React Ecosystem - - - - NativeBase is a simple, modular and accessible component library that gives you building blocks to build you React applications. + React Ecosystem + + NativeBase is a simple, modular and accessible component library that + gives you building blocks to build you React applications. + ); } diff --git a/docs/flatList.md b/docs/flatList.md index 4b6c9e211..ef73e46fe 100644 --- a/docs/flatList.md +++ b/docs/flatList.md @@ -7,7 +7,141 @@ A component for rendering performant scrollable lists. ## Example -```ComponentSnackPlayer path=basic,FlatList,Basic.tsx +```SnackPlayer name=Basic +import React from "react" +import { + Box, + FlatList, + Heading, + Avatar, + HStack, + VStack, + Text, + Spacer, + Center, + NativeBaseProvider, +} from "native-base" +export const Example = () => { + const data = [ + { + id: "bd7acbea-c1b1-46c2-aed5-3ad53abb28ba", + fullName: "Aafreen Khan", + timeStamp: "12:47 PM", + recentText: "Good Day!", + avatarUrl: + "https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500", + }, + { + id: "3ac68afc-c605-48d3-a4f8-fbd91aa97f63", + fullName: "Sujitha Mathur", + timeStamp: "11:11 PM", + recentText: "Cheer up, there!", + avatarUrl: + "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyEaZqT3fHeNrPGcnjLLX1v_W4mvBlgpwxnA&usqp=CAU", + }, + { + id: "58694a0f-3da1-471f-bd96-145571e29d72", + fullName: "Anci Barroco", + timeStamp: "6:22 PM", + recentText: "Good Day!", + avatarUrl: "https://miro.medium.com/max/1400/0*0fClPmIScV5pTLoE.jpg", + }, + { + id: "68694a0f-3da1-431f-bd56-142371e29d72", + fullName: "Aniket Kumar", + timeStamp: "8:56 PM", + recentText: "All the best", + avatarUrl: + "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSr01zI37DYuR8bMV5exWQBSw28C1v_71CAh8d7GP1mplcmTgQA6Q66Oo--QedAN1B4E1k&usqp=CAU", + }, + { + id: "28694a0f-3da1-471f-bd96-142456e29d72", + fullName: "Kiara", + timeStamp: "12:47 PM", + recentText: "I will call today.", + avatarUrl: + "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRBwgu1A5zgPSvfE83nurkuzNEoXs9DMNr8Ww&usqp=CAU", + }, + ] + return ( + + + Inbox + + ( + + + + + + {item.fullName} + + + {item.recentText} + + + + + {item.timeStamp} + + + + )} + keyExtractor={(item) => item.id} + /> + + ) +} + +export default () => { + return ( + +
+ +
+
+ ) +} + ``` diff --git a/docs/iconButton.md b/docs/iconButton.md index dec5742bc..0767912b5 100644 --- a/docs/iconButton.md +++ b/docs/iconButton.md @@ -17,13 +17,13 @@ import { ComponentTheme } from '../src/components'; ### Sizes -```ComponentSnackPlayer path=composites,IconButton,Basic.tsx +```ComponentSnackPlayer path=composites,IconButton,Sizes.tsx ``` ### Variants -```ComponentSnackPlayer path=composites,IconButton,Basic.tsx +```ComponentSnackPlayer path=composites,IconButton,Variant.tsx ``` @@ -40,4 +40,4 @@ import { ComponentTheme } from '../src/components'; ## Accessibility - Use accessibilityLabel for labelling icon buttons to make sure it's announced by screen reader devices. -- IconButton has a `role` set to [button](https://www.w3.org/TR/wai-aria-practices-1.2/#button). \ No newline at end of file +- IconButton has a `role` set to [button](https://www.w3.org/TR/wai-aria-practices-1.2/#button). diff --git a/docs/responsive.md b/docs/responsive.md index 4632e852a..81c11d789 100644 --- a/docs/responsive.md +++ b/docs/responsive.md @@ -83,53 +83,91 @@ Here's a simple example of a component that uses a stacked layout on small scree ```SnackPlayer name=Responsive%20Demo import React from 'react'; -import { NativeBaseProvider, Center, Box, Text, Image, Heading, Stack } from 'native-base'; -function BreakpointExample () { +import { + useToken, + NativeBaseProvider, + Center, + Text, + Box, + HStack, + Image, + Stack, + Heading, +} from 'native-base'; + +function Example() { return ( - - + width={['72', '72', '4/6']} + shadow={1} + _light={{ backgroundColor: 'coolGray.50' }} + _dark={{ backgroundColor: 'gray.700' }}> + Shoes +
+ PHOTOS +
- - - Just In - - - Jordan MA2 - - Older Kids' Shoe - - - 2 colors + + + + The Garden City + + + The Silicon Valley of India. - - $ 150 + + Bengaluru (also called Bangalore) is the center of India's high-tech + industry. The city is also known for its parks and nightlife. + + + + 6 mins ago + + + -
+ ); -}; +} // Example template which wraps component with NativeBaseProvider export default function () { return ( -
- +
+
); } + + ``` diff --git a/docs/todo-list.md b/docs/todo-list.md index 3db6402e6..dac93257f 100644 --- a/docs/todo-list.md +++ b/docs/todo-list.md @@ -6,7 +6,7 @@ title: Todo-List A simple To Do App made using NativeBase 3.0. ```SnackPlayer name=TodoList%20Examples -import React from "react"; +import React from 'react'; import { Input, Button, @@ -18,18 +18,20 @@ import { Heading, Icon, Center, - NativeBaseProvider -} from "native-base"; -import { FontAwesome5 } from '@expo/vector-icons'; + Box, + NativeBaseProvider, +} from 'native-base'; +import { FontAwesome5, Feather, Entypo } from '@expo/vector-icons'; export default function () { const instState = [ - { title: "code", isCompleted: true }, - { title: "sleep", isCompleted: false }, - { title: "repeat", isCompleted: false }, + { title: 'Code', isCompleted: true }, + { title: 'Meeting with team at 9', isCompleted: false }, + { title: 'Check Emails', isCompleted: false }, + { title: 'Write an article', isCompleted: false }, ]; const [list, setList] = React.useState(instState); - const [inputValue, setInputValue] = React.useState(""); + const [inputValue, setInputValue] = React.useState(''); const addItem = (title: string) => { setList([ ...list, @@ -56,58 +58,78 @@ export default function () { }; return ( -
- - Todo App - } - colorScheme="emerald" - ml="1" - onPress={() => { - addItem(inputValue); - setInputValue(""); - }} - - mr="1"/> - - } - onChangeText={(v) => setInputValue(v)} - value={inputValue} - placeholder="Add Item" - /> - - {list.map((item, itemI) => ( - - handleStatusChange(itemI)} - value={item.title} - > - - {item.title} - - - } - onPress={() => handleDelete(itemI)} - /> - - ))} - - -
-
+
+ + Wednesday + + + setInputValue(v)} + value={inputValue} + placeholder="Add Task" + /> + + } + onPress={() => { + addItem(inputValue); + setInputValue(''); + }} + /> + + + {list.map((item, itemI) => ( + + handleStatusChange(itemI)} + value={item.title}> + + {item.title} + + + + } + onPress={() => handleDelete(itemI)} + /> + + ))} + + + +
+ ); } + ``` diff --git a/docs/useAccessibleColors.md b/docs/useAccessibleColors.md index 28bb181a1..cf3d25cc0 100644 --- a/docs/useAccessibleColors.md +++ b/docs/useAccessibleColors.md @@ -17,25 +17,31 @@ import { useAccessibleColors } from 'native-base'; import React from 'react'; import { Button, useContrastText, useTheme, NativeBaseProvider, Center, useAccessibleColors } from 'native-base'; + +const ButtonTemplate = ({ shade }: any) => { + const colorContrast = useContrastText(`yellow.${shade}`); + return ( + + ); +}; + function UseContrastingTextHook () { let [, , toggleAccessibleColors] = useAccessibleColors(); const { colors } = useTheme(); return ( <> - {Object.keys(colors.teal).map((key) => { - const colorContrast = useContrastText(`teal.${key}`); - return ( - - ); + {Object.keys(colors.yellow).map((key, index) => { + if (index > 2 && index < 9) return ; })} - diff --git a/docs/useBreakPointValue.md b/docs/useBreakPointValue.md index 52d1a84a7..08027916e 100644 --- a/docs/useBreakPointValue.md +++ b/docs/useBreakPointValue.md @@ -26,6 +26,7 @@ import { Stack, NativeBaseProvider, Center, + ScrollView } from 'native-base'; import { TextInput } from 'react-native'; @@ -39,7 +40,8 @@ export const UseBreakpointValueExample = () => { lg: 'row', }); return ( - + + Why us? { + ); }; diff --git a/docs/useClipboard.md b/docs/useClipboard.md index bcbe6c6bd..d02d51b17 100644 --- a/docs/useClipboard.md +++ b/docs/useClipboard.md @@ -35,12 +35,12 @@ import { } from "native-base"; function UseClipboardExample() { - const [copyText, setCopyText] = React.useState("Copy Me"); - const [pasteText, setPasteText] = React.useState(""); - const { value, onCopy, hasCopied } = useClipboard(); + const [copyText, setCopyText] = React.useState('Hello'); + const [pasteText, setPasteText] = React.useState(''); + const { value, onCopy } = useClipboard(); return ( - - + + - - {hasCopied ? "Copied" : "Press here"} + setPasteText(v)} value={pasteText} /> diff --git a/docs/useContrastText.md b/docs/useContrastText.md index da3131fe7..7e3161184 100644 --- a/docs/useContrastText.md +++ b/docs/useContrastText.md @@ -56,25 +56,31 @@ By default, NativeBase provides contrasting color based on its theme. You can al import React from 'react'; import { Button, useContrastText, useTheme, NativeBaseProvider, Center, useAccessibleColors } from 'native-base'; + +const ButtonTemplate = ({ shade }: any) => { + const colorContrast = useContrastText(`yellow.${shade}`); + return ( + + ); +}; + function UseContrastingTextHook () { let [, , toggleAccessibleColors] = useAccessibleColors(); const { colors } = useTheme(); return ( <> - {Object.keys(colors.teal).map((key) => { - const colorContrast = useContrastText(`teal.${key}`); - return ( - - ); + {Object.keys(colors.yellow).map((key, index) => { + if (index > 2 && index < 9) return ; })} - diff --git a/docs/useDisclosure.md b/docs/useDisclosure.md index 70a9e2f16..76da9c154 100644 --- a/docs/useDisclosure.md +++ b/docs/useDisclosure.md @@ -32,13 +32,10 @@ function UseDiscloseExample() { - Hello World + Delete Customer - Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos quasi - cupiditate expedita, ipsa corporis officia totam similique delectus! - Debitis esse, ea blanditiis iste enim iure at odit fugiat autem. - Accusamus? + This will remove all data relating to Alex. This action cannot be reversed. Deleted data can not be recovered. @@ -56,7 +53,7 @@ function UseDiscloseExample() { export default function () { return ( -
+
diff --git a/docs/useMediaQuery.md b/docs/useMediaQuery.md index b74c32483..a9f29b433 100644 --- a/docs/useMediaQuery.md +++ b/docs/useMediaQuery.md @@ -20,11 +20,123 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isSmaller] = useMediaQuery({ maxHeight: '512' }); + const [isSmallScreen] = useMediaQuery({ minHeight: 280, maxHeight: 480 }); return ( - - {isSmaller ? "Height smaller than 512" : "Height larger than 512"} - + + {isSmallScreen ? ( + + + + image + +
+ PHOTOS +
+
+ + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + +
+ ) : ( + + + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + + + )} +
); } export default function () { @@ -45,11 +157,124 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isLargerThan512] = useMediaQuery({ minWidth: '512' }); + const [isSmallScreen] = useMediaQuery({ minWidth: 280 }); return ( - - {isLargerThan512 ? "Width larger than 512" : "Width smaller than 512"} - + + {isSmallScreen ? ( + + + + image + +
+ PHOTOS +
+
+ + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + +
+ ) : ( + + + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + + + )} +
); } export default function () { @@ -70,15 +295,131 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isLandScape, isPortrait] = useMediaQuery([ - { orientation: "landscape" }, - { orientation: "portrait" }, + const [isLandScape, isPortrait] = useMediaQuery([ + { orientation: 'landscape' }, + { orientation: 'portrait' }, ]); return ( - <> - {`Landscape Mode: ${isLandScape}`} - {`Portrait Mode: ${isPortrait}`} - + + {isPortrait ? ( + + + + image + +
+ PHOTOS +
+
+ + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + +
+ ) : ( + <> + )} + {isLandScape ? ( + + + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + + + ) : ( + <> + )} +
); } export default function () { From a881d439eee0c88375a8e33fc4cf91594119cf5a Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Date: Tue, 21 Sep 2021 17:54:30 +0530 Subject: [PATCH 09/11] Snack player version updated --- nb-plugins/component-snackplayer/index.js | 8 ++++++-- nb-plugins/utils/index.js | 11 +++++++++++ package.json | 2 +- remark-snackplayer/index.js | 3 ++- yarn.lock | 22 ++++++++++++++++++---- 5 files changed, 38 insertions(+), 8 deletions(-) diff --git a/nb-plugins/component-snackplayer/index.js b/nb-plugins/component-snackplayer/index.js index 3fef780fe..1af1e6315 100644 --- a/nb-plugins/component-snackplayer/index.js +++ b/nb-plugins/component-snackplayer/index.js @@ -3,7 +3,11 @@ const visit = require('unist-util-visit-parents'); const u = require('unist-builder'); const dedent = require('dedent'); const fromEntries = require('object.fromentries'); -const { getSnackPlayerCodeSnippet, getProjectPath } = require('../utils'); +const { + getSnackPlayerCodeSnippet, + getProjectPath, + getNativeBaseVersion, +} = require('../utils'); const parseParams = (paramString = '') => { const params = fromEntries(new URLSearchParams(paramString)); @@ -18,7 +22,7 @@ const processNode = (node, parent) => { return new Promise(async (resolve, reject) => { try { const params = parseParams(node.meta); - const NBversion = '3.2.0'; + const NBversion = getNativeBaseVersion(); // Gather necessary Params let name = params.name ? decodeURIComponent(params.name) : 'Example'; const description = params.description diff --git a/nb-plugins/utils/index.js b/nb-plugins/utils/index.js index dddb46b40..95713803c 100644 --- a/nb-plugins/utils/index.js +++ b/nb-plugins/utils/index.js @@ -96,6 +96,16 @@ const getVersion = (directory) => { return 'next'; }; +const getNativeBaseVersion = () => { + // console.log('mamamam ', directory); + + // if (directory.includes('versioned_docs')) { + // return directory.split('versioned_docs/version-')[1]; + // } + + return '3.2.0'; + // return 'next'; +}; function getProjectPath(directory) { const rootPath = path.resolve(__dirname, '..', '..', 'versioned_repo'); @@ -108,5 +118,6 @@ module.exports = { getPropDetail, getProjectPath, getVersion, + getNativeBaseVersion, }; // getSnackPlayer('primitives', 'Box', 'basic.tsx'); diff --git a/package.json b/package.json index 02d934e65..2b426e0b2 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "clsx": "^1.1.1", "dedent": "^0.7.0", "docusaurus-tailwindcss-loader": "file:plugins/docusaurus-tailwindcss-loader", - "native-base": "3.1.0", + "native-base": "3.2.0", "object.fromentries": "^2.0.3", "patch-package": "^6.4.7", "postcss": "^7.0.34", diff --git a/remark-snackplayer/index.js b/remark-snackplayer/index.js index b13669db0..1d53e4197 100644 --- a/remark-snackplayer/index.js +++ b/remark-snackplayer/index.js @@ -3,6 +3,7 @@ const visit = require('unist-util-visit-parents'); const u = require('unist-builder'); const dedent = require('dedent'); const fromEntries = require('object.fromentries'); +const { getNativeBaseVersion } = require('../nb-plugins/utils'); const parseParams = (paramString = '') => { const params = fromEntries(new URLSearchParams(paramString)); @@ -32,7 +33,7 @@ const processNode = (node, parent) => { try { const params = parseParams(node.meta); const simplifedMeta = simplifyMeta(node.meta); - const NBversion = '3.2.0'; + const NBversion = getNativeBaseVersion(); // Gather necessary Params let name = simplifedMeta.name ? decodeURIComponent(simplifedMeta.name) diff --git a/yarn.lock b/yarn.lock index 2d1c77c07..1101cf790 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2929,6 +2929,18 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.6.tgz#f4c7ec43e81b319a9815115031709f26987891f0" integrity sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw== +"@types/lodash.has@^4.5.6": + version "4.5.6" + resolved "https://registry.yarnpkg.com/@types/lodash.has/-/lodash.has-4.5.6.tgz#d94d3f0b45ced2ae76d632080daf70e9b76e29eb" + integrity sha512-SpUCvze0uHilQX/mt4K/cak5OQny1pVfz3pJx6H70dE3Tvw9s7EtlMK+vY6UBS+PQgETDfv6vhwoa3FPS2wrhg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.173" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.173.tgz#9d3b674c67a26cf673756f6aca7b429f237f91ed" + integrity sha512-vv0CAYoaEjCw/mLy96GBTnRoZrSxkGE0BKzKimdR8P3OzrNYNvBgtW7p055A+E8C31vXNUhWKoFCbhq7gbyhFg== + "@types/mdast@^3.0.0": version "3.0.3" resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-3.0.3.tgz#2d7d671b1cd1ea3deb306ea75036c2a0407d2deb" @@ -8400,10 +8412,10 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" -native-base@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/native-base/-/native-base-3.1.0.tgz#8cc9d796a67b8f52dc78ac2983c8ba09a4ceb4f9" - integrity sha512-7ow2QyICOonkDgEiHl/clShLPHI17KoLRb8JERzqwsntAGVneFisvz/r/bWvapSNe1aBSGPyHanPZE49detTWw== +native-base@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/native-base/-/native-base-3.2.0.tgz#03cc51bf3624141833103330eae8f9b9fd7bbf35" + integrity sha512-s7lM0/xupz3AMVMMl59z8yl15T2cbnR662gwgXXGOpiFk10dR61jP3q8kGap+GRF8lRssKAZkN/a0OqV/JFAHA== dependencies: "@react-aria/focus" "^3.2.3" "@react-aria/utils" "^3.6.0" @@ -8421,9 +8433,11 @@ native-base@3.1.0: "@react-native-aria/utils" "^0.2.7" "@react-stately/combobox" "^3.0.0-alpha.1" "@react-stately/radio" "^3.2.1" + "@types/lodash.has" "^4.5.6" "@types/styled-system" "^5.1.9" lodash.clonedeep "^4.5.0" lodash.get "^4.4.2" + lodash.has "^4.5.2" lodash.isempty "^4.4.0" lodash.isequal "^4.5.0" lodash.isnil "^4.0.0" From 0411511d85f33ea0064df91184155c10c7c8c3d4 Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Date: Tue, 21 Sep 2021 17:59:56 +0530 Subject: [PATCH 10/11] Updated migration guide --- docs/migration/v3xtov32.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/migration/v3xtov32.md b/docs/migration/v3xtov32.md index 6fe59487f..d15108d16 100644 --- a/docs/migration/v3xtov32.md +++ b/docs/migration/v3xtov32.md @@ -35,6 +35,10 @@ Below is a rough account of the breaking API changes as well as the minimal chan * Removed `Alert.Title`. Use `Text` component instead. * Removed `Alert.Description`. Use `Text` component instead. +### Divider: + +* Removed `size`. Use `thickness` prop instead. + ## Note: From 852a71703ec00b833c8714fdf78ff6cc441317f3 Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Date: Tue, 21 Sep 2021 19:36:57 +0530 Subject: [PATCH 11/11] Updated version --- build-init.js | 7 +- nb-plugins/utils/index.js | 2 +- versioned_docs/version-3.2.0/FAB.md | 44 ++ versioned_docs/version-3.2.0/VStack.md | 24 ++ versioned_docs/version-3.2.0/ZStack.md | 28 ++ versioned_docs/version-3.2.0/accessibility.md | 24 ++ versioned_docs/version-3.2.0/actionSheet.md | 78 ++++ versioned_docs/version-3.2.0/alert.md | 87 ++++ versioned_docs/version-3.2.0/alertDialog.md | 104 +---- versioned_docs/version-3.2.0/appDrawer.md | 70 ++++ versioned_docs/version-3.2.0/avatar.md | 76 ++++ versioned_docs/version-3.2.0/badge.md | 50 +++ versioned_docs/version-3.2.0/box.md | 15 +- versioned_docs/version-3.2.0/breakpoints.md | 131 ++++++ .../version-3.2.0/buildingAppBar.md | 48 +++ .../version-3.2.0/buildingDrawerNavigation.md | 4 +- .../version-3.2.0/buildingFooterTabs.md | 68 ++-- .../version-3.2.0/buildingSearchBar.md | 83 +++- .../version-3.2.0/buildingSwipeList.md | 15 +- .../version-3.2.0/buildingTabView.md | 8 +- versioned_docs/version-3.2.0/button.mdx | 84 ++++ versioned_docs/version-3.2.0/center.md | 48 +++ versioned_docs/version-3.2.0/changelog.md | 22 + versioned_docs/version-3.2.0/checkBox.md | 104 +++++ versioned_docs/version-3.2.0/colorMode.md | 163 ++++++++ versioned_docs/version-3.2.0/container.md | 15 +- .../version-3.2.0/customizingComponents.md | 4 +- .../version-3.2.0/customizingFonts.md | 87 ++++ .../version-3.2.0/customizingTheme.md | 108 +++++ versioned_docs/version-3.2.0/darkMode.md | 89 +++++ versioned_docs/version-3.2.0/default-theme.md | 229 +++++++++++ versioned_docs/version-3.2.0/design-tokens.md | 69 ++++ versioned_docs/version-3.2.0/divider.md | 56 +++ versioned_docs/version-3.2.0/faq.md | 6 + versioned_docs/version-3.2.0/flatList.md | 152 +++++++ versioned_docs/version-3.2.0/flex.md | 44 ++ versioned_docs/version-3.2.0/form.md | 6 +- versioned_docs/version-3.2.0/formControl.md | 52 +++ versioned_docs/version-3.2.0/hStack.md | 24 ++ versioned_docs/version-3.2.0/heading.md | 56 +++ versioned_docs/version-3.2.0/icon.md | 54 +++ versioned_docs/version-3.2.0/iconButton.md | 43 ++ versioned_docs/version-3.2.0/image.md | 49 +++ versioned_docs/version-3.2.0/input.md | 76 ++++ versioned_docs/version-3.2.0/install-cra.mdx | 131 ++++++ versioned_docs/version-3.2.0/install-next.mdx | 263 ++++++++++++ versioned_docs/version-3.2.0/installation.mdx | 30 ++ .../version-3.2.0/interaction-styles.mdx | 96 ++--- .../version-3.2.0/keyboardAvoidingView.md | 18 + versioned_docs/version-3.2.0/kitchen-sink.mdx | 66 +++ versioned_docs/version-3.2.0/link.md | 60 +++ versioned_docs/version-3.2.0/list.md | 64 +++ .../version-3.2.0/loginsignupforms.md | 176 +++----- versioned_docs/version-3.2.0/menu.md | 95 +++++ .../version-3.2.0/migration/Accordion.md | 89 +++++ .../version-3.2.0/migration/Actionsheet.md | 107 +++++ .../version-3.2.0/migration/Badge.md | 44 ++ .../version-3.2.0/migration/Button.md | 196 +++++++++ .../Screenshot_2021-01-22_at_1.15.34_PM.png | Bin 0 -> 9022 bytes .../Screenshot_2021-01-22_at_1.16.25_PM.png | Bin 0 -> 8669 bytes .../Screenshot_2021-01-22_at_1.17.11_PM.png | Bin 0 -> 10048 bytes .../Screenshot_2021-01-22_at_1.20.36_PM.png | Bin 0 -> 9795 bytes .../Screenshot_2021-01-22_at_1.22.36_PM.png | Bin 0 -> 8306 bytes .../Screenshot_2021-01-22_at_1.23.42_PM.png | Bin 0 -> 7841 bytes .../Screenshot_2021-01-22_at_1.32.47_PM.png | Bin 0 -> 9384 bytes .../Screenshot_2021-01-22_at_1.38.15_PM.png | Bin 0 -> 10101 bytes .../Screenshot_2021-01-22_at_12.29.32_PM.png | Bin 0 -> 8297 bytes .../Screenshot_2021-01-22_at_12.53.09_PM.png | Bin 0 -> 8494 bytes .../Screenshot_2021-01-22_at_2.37.09_PM.png | Bin 0 -> 8816 bytes .../Screenshot_2021-01-22_at_2.38.52_PM.png | Bin 0 -> 8409 bytes .../version-3.2.0/migration/Card.md | 91 +++++ .../version-3.2.0/migration/Checkbox.md | 54 +++ .../Screenshot_2021-01-22_at_3.09.29_PM.png | Bin 0 -> 10808 bytes .../Screenshot_2021-01-22_at_4.34.08_PM.png | Bin 0 -> 9954 bytes .../version-3.2.0/migration/DatePicker.md | 6 + .../version-3.2.0/migration/DeckSwiper.md | 8 + .../version-3.2.0/migration/Drawer.md | 6 + .../version-3.2.0/migration/FABs.md | 63 +++ .../version-3.2.0/migration/FooterTab.md | 6 + .../version-3.2.0/migration/Form.md | 72 ++++ .../version-3.2.0/migration/Header.md | 6 + .../version-3.2.0/migration/Icon.md | 80 ++++ .../version-3.2.0/migration/Layout.md | 77 ++++ .../version-3.2.0/migration/List.md | 0 .../version-3.2.0/migration/Picker.md | 91 +++++ .../version-3.2.0/migration/Radio Button.md | 95 +++++ .../version-3.2.0/migration/Searchbar.md | 6 + .../version-3.2.0/migration/Segment.md | 7 + .../version-3.2.0/migration/Spinner.md | 47 +++ .../version-3.2.0/migration/SwipeList.md | 6 + .../version-3.2.0/migration/Tabs.md | 67 ++++ .../version-3.2.0/migration/Thumbnail.md | 73 ++++ .../version-3.2.0/migration/Toast.md | 84 ++++ .../version-3.2.0/migration/Typography.md | 39 ++ .../version-3.2.0/migration/v3xtov32.md | 5 +- versioned_docs/version-3.2.0/modal.md | 104 +++++ .../version-3.2.0/nativebase-factory.md | 37 +- versioned_docs/version-3.2.0/overlay.md | 4 +- versioned_docs/version-3.2.0/popOver.md | 2 +- .../version-3.2.0/presence-transition.md | 63 +++ versioned_docs/version-3.2.0/pressable.md | 32 ++ versioned_docs/version-3.2.0/progress.md | 62 +++ versioned_docs/version-3.2.0/radio.md | 97 +++++ versioned_docs/version-3.2.0/responsive.md | 96 +++-- .../version-3.2.0/safe-area-view-props.md | 99 +++++ versioned_docs/version-3.2.0/scrollview.md | 18 + versioned_docs/version-3.2.0/sectionList.md | 18 + versioned_docs/version-3.2.0/select.md | 87 ++++ .../version-3.2.0/setup-provider.md | 2 +- versioned_docs/version-3.2.0/slide.md | 38 ++ versioned_docs/version-3.2.0/slider.md | 12 +- versioned_docs/version-3.2.0/spinner.md | 32 ++ versioned_docs/version-3.2.0/stack.md | 18 + versioned_docs/version-3.2.0/stagger.md | 54 +++ versioned_docs/version-3.2.0/statusBar.md | 18 + versioned_docs/version-3.2.0/swipableList.md | 6 + versioned_docs/version-3.2.0/switch.md | 50 +++ versioned_docs/version-3.2.0/testing.md | 25 ++ versioned_docs/version-3.2.0/text.md | 44 ++ versioned_docs/version-3.2.0/textArea.md | 38 ++ versioned_docs/version-3.2.0/textField.md | 6 +- versioned_docs/version-3.2.0/theme.md | 70 ++-- versioned_docs/version-3.2.0/toast.md | 88 ++++ versioned_docs/version-3.2.0/todo-list.md | 142 ++++--- versioned_docs/version-3.2.0/tooltip.md | 5 +- versioned_docs/version-3.2.0/transition.md | 12 +- .../version-3.2.0/useAccessibleColors.md | 34 +- .../version-3.2.0/useBreakPointValue.md | 111 +++++- versioned_docs/version-3.2.0/useClipboard.md | 17 +- versioned_docs/version-3.2.0/useColorMode.md | 2 +- .../version-3.2.0/useColorModeValue.md | 2 +- .../version-3.2.0/useContrastText.md | 36 +- versioned_docs/version-3.2.0/useDisclosure.md | 9 +- versioned_docs/version-3.2.0/useMediaQuery.md | 377 +++++++++++++++++- versioned_docs/version-3.2.0/usePopOver.md | 2 +- versioned_docs/version-3.2.0/useTheme.md | 22 + versioned_docs/version-3.2.0/useToken.md | 2 +- .../version-3.2.0/utility-first.mdx | 218 ++++++++++ versioned_docs/version-3.2.0/utilityProps.md | 47 ++- .../version-3.2.0/utilityPropsSpecificity.md | 55 +++ versioned_docs/version-3.2.0/view.md | 18 + .../version-3.2.0-sidebars.json | 2 +- versions.json | 3 +- 143 files changed, 6769 insertions(+), 597 deletions(-) create mode 100644 versioned_docs/version-3.2.0/FAB.md create mode 100644 versioned_docs/version-3.2.0/VStack.md create mode 100644 versioned_docs/version-3.2.0/ZStack.md create mode 100644 versioned_docs/version-3.2.0/accessibility.md create mode 100644 versioned_docs/version-3.2.0/actionSheet.md create mode 100644 versioned_docs/version-3.2.0/alert.md create mode 100644 versioned_docs/version-3.2.0/appDrawer.md create mode 100644 versioned_docs/version-3.2.0/avatar.md create mode 100644 versioned_docs/version-3.2.0/badge.md create mode 100644 versioned_docs/version-3.2.0/breakpoints.md create mode 100644 versioned_docs/version-3.2.0/buildingAppBar.md create mode 100644 versioned_docs/version-3.2.0/button.mdx create mode 100644 versioned_docs/version-3.2.0/center.md create mode 100644 versioned_docs/version-3.2.0/changelog.md create mode 100644 versioned_docs/version-3.2.0/checkBox.md create mode 100644 versioned_docs/version-3.2.0/colorMode.md create mode 100644 versioned_docs/version-3.2.0/customizingFonts.md create mode 100644 versioned_docs/version-3.2.0/customizingTheme.md create mode 100644 versioned_docs/version-3.2.0/darkMode.md create mode 100644 versioned_docs/version-3.2.0/default-theme.md create mode 100644 versioned_docs/version-3.2.0/design-tokens.md create mode 100644 versioned_docs/version-3.2.0/divider.md create mode 100644 versioned_docs/version-3.2.0/faq.md create mode 100644 versioned_docs/version-3.2.0/flatList.md create mode 100644 versioned_docs/version-3.2.0/flex.md create mode 100644 versioned_docs/version-3.2.0/formControl.md create mode 100644 versioned_docs/version-3.2.0/hStack.md create mode 100644 versioned_docs/version-3.2.0/heading.md create mode 100644 versioned_docs/version-3.2.0/icon.md create mode 100644 versioned_docs/version-3.2.0/iconButton.md create mode 100644 versioned_docs/version-3.2.0/image.md create mode 100644 versioned_docs/version-3.2.0/input.md create mode 100644 versioned_docs/version-3.2.0/install-cra.mdx create mode 100644 versioned_docs/version-3.2.0/install-next.mdx create mode 100644 versioned_docs/version-3.2.0/installation.mdx create mode 100644 versioned_docs/version-3.2.0/keyboardAvoidingView.md create mode 100644 versioned_docs/version-3.2.0/kitchen-sink.mdx create mode 100644 versioned_docs/version-3.2.0/link.md create mode 100644 versioned_docs/version-3.2.0/list.md create mode 100644 versioned_docs/version-3.2.0/menu.md create mode 100644 versioned_docs/version-3.2.0/migration/Accordion.md create mode 100644 versioned_docs/version-3.2.0/migration/Actionsheet.md create mode 100644 versioned_docs/version-3.2.0/migration/Badge.md create mode 100644 versioned_docs/version-3.2.0/migration/Button.md create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.15.34_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.16.25_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.17.11_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.20.36_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.22.36_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.23.42_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.32.47_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.38.15_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_12.29.32_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_12.53.09_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_2.37.09_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_2.38.52_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Card.md create mode 100644 versioned_docs/version-3.2.0/migration/Checkbox.md create mode 100644 versioned_docs/version-3.2.0/migration/Checkbox/Screenshot_2021-01-22_at_3.09.29_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/Checkbox/Screenshot_2021-01-22_at_4.34.08_PM.png create mode 100644 versioned_docs/version-3.2.0/migration/DatePicker.md create mode 100644 versioned_docs/version-3.2.0/migration/DeckSwiper.md create mode 100644 versioned_docs/version-3.2.0/migration/Drawer.md create mode 100644 versioned_docs/version-3.2.0/migration/FABs.md create mode 100644 versioned_docs/version-3.2.0/migration/FooterTab.md create mode 100644 versioned_docs/version-3.2.0/migration/Form.md create mode 100644 versioned_docs/version-3.2.0/migration/Header.md create mode 100644 versioned_docs/version-3.2.0/migration/Icon.md create mode 100644 versioned_docs/version-3.2.0/migration/Layout.md create mode 100644 versioned_docs/version-3.2.0/migration/List.md create mode 100644 versioned_docs/version-3.2.0/migration/Picker.md create mode 100644 versioned_docs/version-3.2.0/migration/Radio Button.md create mode 100644 versioned_docs/version-3.2.0/migration/Searchbar.md create mode 100644 versioned_docs/version-3.2.0/migration/Segment.md create mode 100644 versioned_docs/version-3.2.0/migration/Spinner.md create mode 100644 versioned_docs/version-3.2.0/migration/SwipeList.md create mode 100644 versioned_docs/version-3.2.0/migration/Tabs.md create mode 100644 versioned_docs/version-3.2.0/migration/Thumbnail.md create mode 100644 versioned_docs/version-3.2.0/migration/Toast.md create mode 100644 versioned_docs/version-3.2.0/migration/Typography.md create mode 100644 versioned_docs/version-3.2.0/modal.md create mode 100644 versioned_docs/version-3.2.0/presence-transition.md create mode 100644 versioned_docs/version-3.2.0/pressable.md create mode 100644 versioned_docs/version-3.2.0/progress.md create mode 100644 versioned_docs/version-3.2.0/radio.md create mode 100644 versioned_docs/version-3.2.0/safe-area-view-props.md create mode 100644 versioned_docs/version-3.2.0/scrollview.md create mode 100644 versioned_docs/version-3.2.0/sectionList.md create mode 100644 versioned_docs/version-3.2.0/select.md create mode 100644 versioned_docs/version-3.2.0/slide.md create mode 100644 versioned_docs/version-3.2.0/spinner.md create mode 100644 versioned_docs/version-3.2.0/stack.md create mode 100644 versioned_docs/version-3.2.0/stagger.md create mode 100644 versioned_docs/version-3.2.0/statusBar.md create mode 100644 versioned_docs/version-3.2.0/swipableList.md create mode 100644 versioned_docs/version-3.2.0/switch.md create mode 100644 versioned_docs/version-3.2.0/testing.md create mode 100644 versioned_docs/version-3.2.0/text.md create mode 100644 versioned_docs/version-3.2.0/textArea.md create mode 100644 versioned_docs/version-3.2.0/toast.md create mode 100644 versioned_docs/version-3.2.0/useTheme.md create mode 100644 versioned_docs/version-3.2.0/utility-first.mdx create mode 100644 versioned_docs/version-3.2.0/utilityPropsSpecificity.md create mode 100644 versioned_docs/version-3.2.0/view.md diff --git a/build-init.js b/build-init.js index 94407a617..4fb2c0cc2 100644 --- a/build-init.js +++ b/build-init.js @@ -18,7 +18,12 @@ const cloneRepos = () => { shellJS.exec('git clone ' + URL); shellJS.cd('NativeBase'); - const a = shellJS.exec('git checkout ' + 'v' + v); + let a = shellJS.exec('git checkout ' + 'v' + v); + + //TODO: 3.2.0-hack + if (v === '3.2.0') { + a = shellJS.exec('git checkout ' + 'master'); + } if (a.code !== 0) { shellJS.exec('git checkout ' + FALLBACK_BRANCH); shellJS.exec('git pull'); diff --git a/nb-plugins/utils/index.js b/nb-plugins/utils/index.js index 95713803c..b2c1f60ab 100644 --- a/nb-plugins/utils/index.js +++ b/nb-plugins/utils/index.js @@ -103,7 +103,7 @@ const getNativeBaseVersion = () => { // return directory.split('versioned_docs/version-')[1]; // } - return '3.2.0'; + return '3.2.1-rc.0'; // return 'next'; }; diff --git a/versioned_docs/version-3.2.0/FAB.md b/versioned_docs/version-3.2.0/FAB.md new file mode 100644 index 000000000..b2da69276 --- /dev/null +++ b/versioned_docs/version-3.2.0/FAB.md @@ -0,0 +1,44 @@ +--- +id: FAB +title: FAB +--- + +import { ComponentTheme } from '../../src/components'; + +A floating action button is a circular icon button that hovers over content to promote a primary action in the application. + +## Import + +```jsx +import { Fab } from 'native-base'; +``` + +## Example + +### Basic + +```ComponentSnackPlayer path=composites,Fab,Basic.tsx + +``` + +### Placement + +```ComponentSnackPlayer path=composites,Fab,Placement.tsx + +``` + +### Custom Position + +```ComponentSnackPlayer path=composites,Fab,CustomPosition.tsx + +``` + +## Styling + + + +## Props + +```ComponentPropTable path=composites,Fab,Fab.tsx + +``` diff --git a/versioned_docs/version-3.2.0/VStack.md b/versioned_docs/version-3.2.0/VStack.md new file mode 100644 index 000000000..94bc25cf0 --- /dev/null +++ b/versioned_docs/version-3.2.0/VStack.md @@ -0,0 +1,24 @@ +--- +id: v-stack +title: VStack / Column +--- + +`VStack` aligns items vertically.`Column` is also an alias for `VStack`. + +## Import + +```jsx +import { VStack } from 'native-base'; +``` + +## Usage + +```ComponentSnackPlayer path=primitives,VStack,basic.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Stack,VStack.tsx + +``` diff --git a/versioned_docs/version-3.2.0/ZStack.md b/versioned_docs/version-3.2.0/ZStack.md new file mode 100644 index 000000000..1daab38f9 --- /dev/null +++ b/versioned_docs/version-3.2.0/ZStack.md @@ -0,0 +1,28 @@ +--- +id: z-stack +title: ZStack +--- + +`ZStack` aligns items absolutely in the z-axis. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,ZStack,example.tsx + +``` + +### Items Centered + +You can pass `alignItems="center"` `justifyContent="center"` to vertically and horizontally center the children. + +```ComponentSnackPlayer path=primitives,ZStack,CenterStack.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,ZStack,index.tsx + +``` diff --git a/versioned_docs/version-3.2.0/accessibility.md b/versioned_docs/version-3.2.0/accessibility.md new file mode 100644 index 000000000..3ccb492bb --- /dev/null +++ b/versioned_docs/version-3.2.0/accessibility.md @@ -0,0 +1,24 @@ +--- +id: accessibility +title: Accessibility +--- + +NativeBase comes with the latest accessibility standards out of the box including aria and role attributes, focus management, and keyboard navigation. + +## Accessible Roles + +NativeBase uses [React Native ARIA](https://react-native-aria.geekyants.com/) to implements [WAI-ARIA](https://www.w3.org/TR/wai-aria-1.2/) standards to its components. This is designed to provide meaning for controls that aren't built using components provided by the platform. + +## Accessible Labels + +When a view is marked as accessible, it is a good practice to set an `accessibilityLabel` on the view, so that people who use voice-over know what element they have selected. Voice-over will read this string when a user selects the associated element. NativeBase with the use of [React Native ARIA](https://react-native-aria.geekyants.com/) does this for you out of the box. + +## Keyboard Navigation + +Many complex components, like Tabs and Dialog, come with expectations from users on how to interact with their content using a keyboard or other non-mouse input modalities. NativeBase Primitives provide basic keyboard support in accordance with the [WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.2/). + +## Focus Management + +Proper keyboard navigation and good labelling often go hand-in-hand with managing focus. When a user interacts with a component and something changes as a result, it's often helpful to move focus with the interaction. And for screen reader users, moving focus often results in an announcement to convey the new context, which relies on proper labelling. + +In many NativeBase Components, we move focus based on the interactions a user normally takes in a given component. For example, in `Modal`, when the modal is opened, the focus is programmatically moved to the `first focusable element` and trapped inside the modal to anticipate a response to the prompt. diff --git a/versioned_docs/version-3.2.0/actionSheet.md b/versioned_docs/version-3.2.0/actionSheet.md new file mode 100644 index 000000000..0035b1242 --- /dev/null +++ b/versioned_docs/version-3.2.0/actionSheet.md @@ -0,0 +1,78 @@ +--- +id: action-sheet +title: ActionSheet +--- + +import { ComponentTheme } from '../../src/components'; + +An Action Sheet is a dialog that displays a set of options. It appears on top of the app's content. + +## Import + +NativeBase exports 3 modal-related components: + +- **Actionsheet**: Provides the context and state for all components. +- **Actionsheet.Content**: Component to wrap the list of **Actionsheet.Item** components. +- **Actionsheet.Item**: A button to wrap the options of the Actionsheet. + +```jsx +import { Actionsheet } from 'native-base'; +``` + +## Examples + +### Usage + +```ComponentSnackPlayer path=composites,Actionsheet,Usage.tsx + +``` + +### Composition + +```ComponentSnackPlayer path=composites,Actionsheet,Composition.tsx + +``` + +### DisableOverlay + +```ComponentSnackPlayer path=composites,Actionsheet,DisableOverlay.tsx + +``` + +### Icons + +```ComponentSnackPlayer path=composites,Actionsheet,Icon.tsx + +``` + +## Props + +### Actionsheet + +```ComponentPropTable path=composites,Actionsheet,Actionsheet.tsx + +``` + +### Actionsheet.Content + +```ComponentPropTable path=composites,Actionsheet,ActionsheetContent.tsx + +``` + +### Actionsheet.Item + +ActionsheetItem implements [Button](button.md#props) + +## Styling + + + +## Accessibility + +- ActionSheet has `aria-modal` set to true. +- ActionSheet has `role` set to `dialog`. +- When the ActionSheet opens, focus is trapped within it. +- Pressing Esc closes the ActionSheet. +- When the ActionSheet opens, focus is automatically set to the first enabled element. +- Clicking on the overlay closes the ActionSheet. +- Scrolling is blocked on the elements behind the ActionSheet. diff --git a/versioned_docs/version-3.2.0/alert.md b/versioned_docs/version-3.2.0/alert.md new file mode 100644 index 000000000..17eeaabb5 --- /dev/null +++ b/versioned_docs/version-3.2.0/alert.md @@ -0,0 +1,87 @@ +--- +id: alert +title: Alert +--- + +import { ComponentTheme } from '../../src/components'; + +`Alerts` are used to communicate a state that affects a system, feature or page. + +## Import + +NativeBase exports 5 Alert related components: + +- `Alert`: The wrapper for alert components. +- `Alert.Icon`: The visual icon for the alert that changes based on the `status` prop. + + + +```jsx +import { Alert } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,Alert,usage.tsx + +``` + +### Status + +```ComponentSnackPlayer path=composites,Alert,status.tsx + +``` + +### Variant + +```ComponentSnackPlayer path=composites,Alert,variant.tsx + +``` + +### Composition + +```ComponentSnackPlayer path=composites,Alert,composition.tsx + +``` + +### Action + +```ComponentSnackPlayer path=composites,Alert,action.tsx + +``` + +## Props + +### Alert + +```ComponentPropTable path=composites,Alert,Alert.tsx + +``` + +### Alert.Icon + +```ComponentPropTable path=composites,Alert,AlertIcon.tsx + +``` + +### Alert.Title + +```ComponentPropTable path=composites,Alert,AlertTitle.tsx + +``` + +### Alert.Description + +```ComponentPropTable path=composites,Alert,AlertDescription.tsx + +``` + +## Styling + + + +## Accessibility + +Alert has `role` set to `alert`. diff --git a/versioned_docs/version-3.2.0/alertDialog.md b/versioned_docs/version-3.2.0/alertDialog.md index 87b605332..0ca6500eb 100644 --- a/versioned_docs/version-3.2.0/alertDialog.md +++ b/versioned_docs/version-3.2.0/alertDialog.md @@ -24,110 +24,8 @@ import { AlertDialog } from 'native-base'; ### Basic -```SnackPlayer name=AlertDialog%20Basic -import React from "react"; -import { - AlertDialog, - Button, - Center, - NativeBaseProvider, -} from "native-base"; - -function AlertDialogComponent() { - const [isOpen, setIsOpen] = React.useState(false); - const onClose = () => setIsOpen(false); - const cancelRef = React.useRef(); - return ( -
- - - - Delete Customer - - - Are you sure? You can't undo this action afterwards. - - - - - - - - -
- ); -} -export default function () { - return ( - -
- -
-
- ); -} -``` +```ComponentSnackPlayer path=composites,AlertDialog,basic.tsx -### Transition - -```SnackPlayer name=AlertDialog%20Transition -import React from "react"; -import { AlertDialog, Button, Center, NativeBaseProvider } from "native-base"; - -function AlertDialogComponent() { - const [isOpen, setIsOpen] = React.useState(false); - const onClose = () => setIsOpen(false); - const cancelRef = React.useRef(); - return ( -
- - - - Discard Changes? - - Are you sure you want to discard all of your notes? 44 words will be - deleted. - - - - - - - - -
- ); -} -export default function () { - return ( - -
- -
-
- ); -} ``` ## Styling diff --git a/versioned_docs/version-3.2.0/appDrawer.md b/versioned_docs/version-3.2.0/appDrawer.md new file mode 100644 index 000000000..3fa173b72 --- /dev/null +++ b/versioned_docs/version-3.2.0/appDrawer.md @@ -0,0 +1,70 @@ +--- +id: app-drawer +title: App drawer +--- + +Creating an app drawer like layout is very common and with NativeBase's SimpleGrid make this extremely simple while still keeping it extremely customisable. Here is an example to illustrate it. + +```SnackPlayer name=AppDrawer +import React from 'react'; +import { + IconButton, + SimpleGrid, + Icon, + NativeBaseProvider, + Box, +} from 'native-base'; +import { MaterialIcons } from '@expo/vector-icons'; + +function AppDrawer() { + const icons = [ + { name: 'bolt', bg: 'amber.600' }, + { name: 'build', bg: 'emerald.600' }, + { name: 'cloud', bg: 'blue.600' }, + { name: 'delivery-dining', bg: 'orange.600' }, + { name: 'favorite', bg: 'rose.600' }, + { name: 'music-note', bg: 'violet.600' }, + { name: 'invert-colors-on', bg: 'lime.600' }, + { name: 'navigation', bg: 'indigo.600' }, + { name: 'settings', bg: 'pink.600' }, + { name: 'sports-esports', bg: 'coolGray.600' }, + { name: 'shield', bg: 'darkBlue.600' }, + { name: 'photo-camera', bg: 'fuchsia.600' }, + { name: 'network-wifi', bg: 'amber.500' }, + { name: 'nightlight-round', bg: 'violet.800' }, + { name: 'flight', bg: 'blue.800' }, + { name: 'extension', bg: 'indigo.600' }, + { name: 'duo', bg: 'orange.600' }, + { name: 'album', bg: 'rose.600' }, + { name: 'access-alarm', bg: 'emerald.600' }, + { name: 'forum', bg: 'indigo.600' }, + ]; + + return ( + + {icons.map((icon) => ( + + } + /> + ))} + + ); +} + +export default function () { + return ( + + + + + + ); +} + +``` diff --git a/versioned_docs/version-3.2.0/avatar.md b/versioned_docs/version-3.2.0/avatar.md new file mode 100644 index 000000000..dff7875cc --- /dev/null +++ b/versioned_docs/version-3.2.0/avatar.md @@ -0,0 +1,76 @@ +--- +id: avatar +title: Avatar +--- + +import { ComponentTheme } from '../../src/components'; + +`Avatar` component is used to represent a user and it can display a profile picture, initials or a fallback icon. + +## Import + +NativeBase exports 3 avatar-related components: + +- `Avatar`: An image that represents the user. +- `Avatar.Badge`: A wrapper that displays its content on the bottom right corner of the avatar. +- `Avatar.Group`: A wrapper to stack multiple avatars together. + +```jsx +import { Avatar } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,Avatar,usage.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=composites,Avatar,size.tsx + +``` + +### Fallbacks + +```ComponentSnackPlayer path=composites,Avatar,Fallback.tsx + +``` + +### Avatar Badge + +```ComponentSnackPlayer path=composites,Avatar,AvatarBadge.tsx + +``` + +### Avatar Group + +```ComponentSnackPlayer path=composites,Avatar,AvatarGroup.tsx + +``` + +## Props + +### Avatar + +```ComponentPropTable path=composites,Avatar,Avatar.tsx + +``` + +### Avatar.Group + +```ComponentPropTable path=composites,Avatar,Group.tsx + +``` + +### Avatar.Badge + +```ComponentPropTable path=composites,Avatar,Badge.tsx + +``` + +## Styling + + diff --git a/versioned_docs/version-3.2.0/badge.md b/versioned_docs/version-3.2.0/badge.md new file mode 100644 index 000000000..607a80451 --- /dev/null +++ b/versioned_docs/version-3.2.0/badge.md @@ -0,0 +1,50 @@ +--- +id: badge +title: Badge +--- + +import { ComponentTheme } from '../../src/components'; + +`Badges` are used to highlight an item's status for quick recognition. + +## Import + +```jsx +import { Badge } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,Badge,usage.tsx + +``` + +### Color Scheme + +```ComponentSnackPlayer path=composites,Badge,color.tsx + +``` + +### Variants + +```ComponentSnackPlayer path=composites,Badge,variants.tsx + +``` + +### Composition + +```ComponentSnackPlayer path=composites,Badge,composition.tsx + +``` + +## Props + +```ComponentPropTable path=composites,Badge,index.tsx + +``` + +## Styling + + diff --git a/versioned_docs/version-3.2.0/box.md b/versioned_docs/version-3.2.0/box.md index e22130f75..fd38a7ed2 100644 --- a/versioned_docs/version-3.2.0/box.md +++ b/versioned_docs/version-3.2.0/box.md @@ -33,20 +33,21 @@ import { Box, Center, NativeBaseProvider } from "native-base" export const Example = () => { return ( - This is a Box with Linear Gradient @@ -63,7 +64,7 @@ const config = { export default () => { return ( -
+
diff --git a/versioned_docs/version-3.2.0/breakpoints.md b/versioned_docs/version-3.2.0/breakpoints.md new file mode 100644 index 000000000..563075139 --- /dev/null +++ b/versioned_docs/version-3.2.0/breakpoints.md @@ -0,0 +1,131 @@ +--- +id: breakpoints +title: Breakpoints +--- + +Breakpoints are the building blocks of responsive design. Use them to control when your layout can be adapted at a particular viewport or device size. + +NativeBase provides these default breakpoints and you can update with using extendTheme. + +```tsx +breakpoints = { + base: 0, + sm: 480, + md: 768, + lg: 992, + xl: 1280, +}; +``` + +`useBreakpointValue` is a custom hook which returns the value for the current breakpoint from the provided responsive values object. This hook also responds to the window resizing and returning the appropriate value for the new window size. + +```SnackPlayer name=useBreakpointValue +import React from 'react'; +import { + Factory, + Button, + Stack, + NativeBaseProvider, + Center, +} from 'native-base'; +import { TextInput } from 'react-native'; + +import { Icon, useBreakpointValue, Text, VStack, Heading } from 'native-base'; +import { FontAwesome, Foundation, Feather } from '@expo/vector-icons'; +import { View } from 'react-native'; + +export const UseBreakpointValueExample = () => { + const flexDir = useBreakpointValue({ + base: 'column', + lg: 'row', + }); + return ( + + Why us? + + + + + Secure Checkout + + + + + + Secure Checkout + + + + + + Fast Turn Around + + + + + ); +}; + +// Example template which wraps component with NativeBaseProvider +export default function () { + return ( + +
+ +
+
+ ); +} + +``` diff --git a/versioned_docs/version-3.2.0/buildingAppBar.md b/versioned_docs/version-3.2.0/buildingAppBar.md new file mode 100644 index 000000000..463c93df3 --- /dev/null +++ b/versioned_docs/version-3.2.0/buildingAppBar.md @@ -0,0 +1,48 @@ +--- +id: building-app-bar +title: AppBar +--- + +The top app bar provides content and actions related to the current screen. It’s used for branding, screen titles, navigation, and actions. + +## Example + +We can easily create it using basic layout components from NativeBase. + +```SnackPlayer name=App%20Bar +import React from "react"; +import { VStack, HStack, Button, IconButton, Icon, Text, NativeBaseProvider, Center, Box, StatusBar } from "native-base"; +import { MaterialIcons } from '@expo/vector-icons'; + +function AppBar(){ + return ( + <> + + + + + + + } color="white" />} /> + Home + + + } size='sm' color="white" />} /> + } + color="white" size='sm' />} /> + } size='sm' color="white" />} /> + + + + + ) +} + +export default function () { + return ( + + + + ); +} +``` diff --git a/versioned_docs/version-3.2.0/buildingDrawerNavigation.md b/versioned_docs/version-3.2.0/buildingDrawerNavigation.md index 4e59c8e32..aa78a13c7 100644 --- a/versioned_docs/version-3.2.0/buildingDrawerNavigation.md +++ b/versioned_docs/version-3.2.0/buildingDrawerNavigation.md @@ -40,7 +40,7 @@ function Component(props) { props.navigation.toggleDrawer()} position="absolute" ml="2" zIndex="1"> -
+
{props.route.name}
@@ -148,7 +148,7 @@ function CustomDrawerContent(props) { } function MyDrawer() { return ( - + } > diff --git a/versioned_docs/version-3.2.0/buildingFooterTabs.md b/versioned_docs/version-3.2.0/buildingFooterTabs.md index 67877be2b..4a4e7f597 100644 --- a/versioned_docs/version-3.2.0/buildingFooterTabs.md +++ b/versioned_docs/version-3.2.0/buildingFooterTabs.md @@ -8,8 +8,8 @@ With NativeBase v3 we have removed FooterTab components because as it's very sim ## Example ```SnackPlayer name=Footer dependencies=react-native-linear-gradient -import React from 'react'; +import React from 'react'; import { NativeBaseProvider, Box, @@ -25,32 +25,35 @@ import { Center, Pressable, } from 'native-base'; -import { MaterialCommunityIcons , MaterialIcons} from '@expo/vector-icons'; +import { MaterialCommunityIcons, MaterialIcons } from '@expo/vector-icons'; export default function App() { const [selected, setSelected] = React.useState(1); return ( - -
-
- + +
+ setSelected(0)} - > + onPress={() => setSelected(0)}>
} + as={ + + } color="white" - size="xs" + size="sm" /> - - Favorites + + Home +
} + as={} color="white" - size="xs" + size="sm" /> - - Music + + Search +
} + mb={1} + as={ + + } color="white" - size="xs" + size="sm" /> - - Places + + Cart +
} + mb={1} + as={ + + } color="white" - size="xs" + size="sm" /> - News + + Account +
@@ -112,4 +127,5 @@ export default function App() { ); } + ``` diff --git a/versioned_docs/version-3.2.0/buildingSearchBar.md b/versioned_docs/version-3.2.0/buildingSearchBar.md index a9cf16cd1..ee8651d84 100644 --- a/versioned_docs/version-3.2.0/buildingSearchBar.md +++ b/versioned_docs/version-3.2.0/buildingSearchBar.md @@ -13,34 +13,62 @@ Here are some examples to show how easily and quickly we can create so many type ![https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b4c4662d-8a9c-48a2-817d-000ff8f5f6b6/Screenshot_2021-01-18_at_7.51.08_PM.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b4c4662d-8a9c-48a2-817d-000ff8f5f6b6/Screenshot_2021-01-18_at_7.51.08_PM.png) --> ```SnackPlayer name=Search%20Bar -import React from "react"; -import { VStack, Input, Button, IconButton, Icon, Text, NativeBaseProvider, Center, Box } from "native-base"; +import React from 'react'; +import { + VStack, + Input, + Button, + IconButton, + Icon, + Text, + NativeBaseProvider, + Center, + Box, + Divider, + Heading, +} from 'native-base'; import { Ionicons, MaterialIcons } from '@expo/vector-icons'; import { FontAwesome5 } from '@expo/vector-icons'; - -function SearchBar(){ +function SearchBar() { return ( - - - Cupertino + + +
+ }> + + Cupertino } />} + _focus: { style: { boxShadow: 'none' } }, + }} + InputLeftElement={ + } + /> + } /> - - Material + + Material } />} - InputRightElement={} />} + }} + InputLeftElement={ + } + /> + } + InputRightElement={ + } + /> + } /> - - ) + + ); } export default function () { @@ -69,4 +113,5 @@ export default function () { ); } + ``` diff --git a/versioned_docs/version-3.2.0/buildingSwipeList.md b/versioned_docs/version-3.2.0/buildingSwipeList.md index 208a39a7d..4e44901a3 100644 --- a/versioned_docs/version-3.2.0/buildingSwipeList.md +++ b/versioned_docs/version-3.2.0/buildingSwipeList.md @@ -57,7 +57,7 @@ function Basic() { }, { id: '3ac68afc-c605-48d3-a4f8-fbd91aa97f63', - fullName: 'Sujitha Alexander', + fullName: 'Sujita Mathur', timeStamp: '11:11 PM', recentText: 'Cheer up, there!', avatarUrl: @@ -82,7 +82,7 @@ function Basic() { id: '28694a0f-3da1-471f-bd96-142456e29d72', fullName: 'Kiara', timeStamp: '12:47 PM', - recentText: 'I will call him today.', + recentText: 'I will call today.', avatarUrl: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRBwgu1A5zgPSvfE83nurkuzNEoXs9DMNr8Ww&usqp=CAU', }, @@ -112,21 +112,20 @@ function Basic() { console.log('You touched me')} bg="white"> + py="2" + > - + {item.fullName} - {item.recentText} + {item.recentText} - + {item.timeStamp} diff --git a/versioned_docs/version-3.2.0/buildingTabView.md b/versioned_docs/version-3.2.0/buildingTabView.md index c213fca63..e6ce91847 100644 --- a/versioned_docs/version-3.2.0/buildingTabView.md +++ b/versioned_docs/version-3.2.0/buildingTabView.md @@ -25,13 +25,13 @@ import { TabView, SceneMap } from 'react-native-tab-view'; import { NativeBaseProvider, Box, Text, Center } from 'native-base'; import Constants from 'expo-constants'; -const FirstRoute = () =>
This is Tab 1
; +const FirstRoute = () =>
This is Tab 1
; -const SecondRoute = () =>
This is Tab 2
; +const SecondRoute = () =>
This is Tab 2
; -const ThirdRoute = () =>
This is Tab 3
; +const ThirdRoute = () =>
This is Tab 3
; -const FourthRoute = () =>
This is Tab 4
; +const FourthRoute = () =>
This is Tab 4
; const initialLayout = { width: Dimensions.get('window').width }; diff --git a/versioned_docs/version-3.2.0/button.mdx b/versioned_docs/version-3.2.0/button.mdx new file mode 100644 index 000000000..4d2260a91 --- /dev/null +++ b/versioned_docs/version-3.2.0/button.mdx @@ -0,0 +1,84 @@ +--- +id: button +title: Button +--- + +import { ComponentTheme } from '../../src/components'; + +The `Button` component is used to trigger an action or event. + +## Import + +```jsx +import { Button, ButtonGroup } from 'native-base'; +``` + +- **Button** : The button component with support for custom icons, spinners, etc. +- **ButtonGroup** : Used to group buttons whose actions are related, with an option to flush them together. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Button,basic.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=primitives,Button,sizes.tsx + +``` + +### Variants + +```ComponentSnackPlayer path=primitives,Button,variants.tsx + +``` + +### Loading + +```ComponentSnackPlayer path=primitives,Button,loading.tsx + +``` + +### Icons + +```ComponentSnackPlayer path=primitives,Button,icons.tsx + +``` + +### ButtonGroup + +```ComponentSnackPlayer path=primitives,ButtonGroup,basic.tsx + +``` + +### Basic (With Ref) + +```ComponentSnackPlayer path=primitives,Button,WithRef.tsx + +``` + +## Props + +### Button + +```ComponentPropTable path=primitives,Button,Button.tsx + +``` + +### ButtonGroup + +```ComponentPropTable path=primitives,Button,ButtonGroup.tsx + +``` + +## Styling + + + +## Accessibility + +- Button has `role` set to [button](https://www.w3.org/TR/wai-aria-practices-1.2/#button). +- When Button has focus, Space or Enter activates it. diff --git a/versioned_docs/version-3.2.0/center.md b/versioned_docs/version-3.2.0/center.md new file mode 100644 index 000000000..af1b45de7 --- /dev/null +++ b/versioned_docs/version-3.2.0/center.md @@ -0,0 +1,48 @@ +--- +id: center +title: Center +--- + +`Center` is a layout component that centers its child within itself. + +## **Import** + +```jsx +import { Center, Square, Circle } from 'native-base'; +``` + +- **Center:** Centers its child, pass `width` and `height` +- **Square:** `Center` but we need to pass `size` (width and height) +- **Circle:** `Center` with round `borderRadius`, pass `size` (width and height) + +## Examples + +### Basic + +Put any child element inside it, give it any width or/and height. It'll ensure the child is centered. + +```ComponentSnackPlayer path=composites,Center,Basic.tsx + +``` + +### Icon frames + +Center can be used to nicely position icons in the center and add frames around them. + +```ComponentSnackPlayer path=composites,Center,WithIcons.tsx + +``` + +### Square and Circle + +Square and Circle automatically centers their children. + +```ComponentSnackPlayer path=composites,Center,SquareCircle.tsx + +``` + +## Props + +```ComponentPropTable path=composites,Center,Center.tsx + +``` diff --git a/versioned_docs/version-3.2.0/changelog.md b/versioned_docs/version-3.2.0/changelog.md new file mode 100644 index 000000000..0e0694315 --- /dev/null +++ b/versioned_docs/version-3.2.0/changelog.md @@ -0,0 +1,22 @@ +--- +id: changelog +title: Changelog +--- + +## Fixes + +- Added a feature to suppress accessible color warning [#3849](https://github.com/GeekyAnts/NativeBase/pull/3849) +- Fixed support for numberOfLines props on Text [#3852](https://github.com/GeekyAnts/NativeBase/pull/3852) +- Fixed \_text not working in Link component's baseStyle/variants [#3854](https://github.com/GeekyAnts/NativeBase/pull/3854) +- Fixed custom id not being passed in a custom toast [#3870](https://github.com/GeekyAnts/NativeBase/pull/3870) +- Exported IPressableProps [#3872](https://github.com/GeekyAnts/NativeBase/pull/3871) +- Fixed Overlay/Backdrop cursor pointer issue. [#3880](https://github.com/GeekyAnts/NativeBase/pull/3880) +- Fixed Avatar.Badge conditional rendering [#3885](https://github.com/GeekyAnts/NativeBase/pull/3885) +- Added \_backdrop prop in actionsheet and modal to apply styles to backrop(overlay) [#3886](https://github.com/GeekyAnts/NativeBase/pull/3886) +- Added typings for left and right for placement prop in Slide. [#3889](https://github.com/GeekyAnts/NativeBase/pull/3889) +- Added xxs typing for fontSize in Text. [#3890](https://github.com/GeekyAnts/NativeBase/pull/3890) +- Added support for React.Fragment as Children in Box. [#3891](https://github.com/GeekyAnts/NativeBase/pull/3891) +- Fixed Stack space extend issue. [#3897](https://github.com/GeekyAnts/NativeBase/pull/3897) +- Fixed Radio Size issue on happening on iOS and Android. [#3913](https://github.com/GeekyAnts/NativeBase/pull/3913) + +For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.7). diff --git a/versioned_docs/version-3.2.0/checkBox.md b/versioned_docs/version-3.2.0/checkBox.md new file mode 100644 index 000000000..10ee1772f --- /dev/null +++ b/versioned_docs/version-3.2.0/checkBox.md @@ -0,0 +1,104 @@ +--- +id: checkbox +title: CheckBox +--- + +import { ComponentTheme } from '../../src/components'; + +The `Checkbox` component is used in forms when a user needs to select multiple values from several options. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Checkbox,basic.tsx + +``` + +### Controlled + +```ComponentSnackPlayer path=primitives,Checkbox,controlledCheckbox.tsx + +``` + +### Uncontrolled + +```ComponentSnackPlayer path=primitives,Checkbox,uncontrolledCheckbox.tsx + +``` + +### Disabled + +```ComponentSnackPlayer path=primitives,Checkbox,disabled.tsx + +``` + +### Invalid + +```ComponentSnackPlayer path=primitives,Checkbox,invalid.tsx + +``` + +### Custom Color + +```ComponentSnackPlayer path=primitives,Checkbox,customColor.tsx + +``` + +### Custom Icon + +```ComponentSnackPlayer path=primitives,Checkbox,customIcon.tsx + +``` + +### Size + +```ComponentSnackPlayer path=primitives,Checkbox,size.tsx + +``` + +### Checkbox Group + +```ComponentSnackPlayer path=primitives,Checkbox,checkboxGroup.tsx + +``` + +### Form Controlled + +```ComponentSnackPlayer path=primitives,Checkbox,FormControlled.tsx + +``` + +### Basic (With Ref) + +```ComponentSnackPlayer path=primitives,Checkbox,withRef.tsx + +``` + +## Props + +### Checkbox + +```ComponentPropTable path=primitives,Checkbox,Checkbox.tsx + +``` + +### Checkbox.Group + +```ComponentPropTable path=primitives,Checkbox,CheckboxGroup.tsx + +``` + +## Styling + + + +## Accessibility + +Uses React Native ARIA [@react-native-aria/checkbox](https://react-native-aria.geekyants.com/docs/useCheckbox) which follows the [Checkbox WAI-ARIA design pattern](https://www.w3.org/TR/wai-aria-practices-1.2/#checkbox). + +### Keyboard Interactions + +| Key | Description | +| ------- | ----------------------------- | +| `Space` | Checks/unchecks the checkbox. | diff --git a/versioned_docs/version-3.2.0/colorMode.md b/versioned_docs/version-3.2.0/colorMode.md new file mode 100644 index 000000000..e24285266 --- /dev/null +++ b/versioned_docs/version-3.2.0/colorMode.md @@ -0,0 +1,163 @@ +--- +id: color-mode +title: Color mode (Dark Mode) +--- + +When you use the `NativebaseProvider` at the root of your app, you can automatically use color mode in your apps. + +By default, most components are dark mode compatible. To handle color mode manually in your application, use the `useColorMode` or `useColorModeValue` hooks. + +## useColorMode + +`useColorMode` is a React hook that gives you access to the current color mode, and a function to toggle the color mode. + +Calling toggleColorMode anywhere in your app tree toggles the color mode. + +## useColorModeValue + +`useColorModeValue` is a React hook used to change any value or style based on the color mode. It takes 2 arguments: the value in light mode, and the value in dark mode. + +```SnackPlayer name=ColorMode%20Usage +import React from 'react'; +import { + Heading, + useColorMode, + Button, + HStack, + Avatar, + Center, + useColorModeValue, + Text, + NativeBaseProvider, +} from 'native-base'; + +function ColorModeExample() { + const { colorMode, toggleColorMode } = useColorMode(); + return ( +
+ + The active color mode is{' '} + + {useColorModeValue('Light', 'Dark')} + + + +
+ ); +} + +export default function () { + return ( + + + + ); +} + +``` + +## \_light and \_dark Pseudo props + +All components accepts \_light and \_dark props which applies the passed props on dark and light mode. + +```SnackPlayer name=PseudoProps%20Usage +import React from 'react'; +import { + Heading, + useColorMode, + Button, + HStack, + Avatar, + Center, + useColorModeValue, + Text, + NativeBaseProvider, +} from 'native-base'; + +function PseudoPropsUsage() { + const { colorMode, toggleColorMode } = useColorMode(); + return ( +
+ + The active color mode is{' '} + + {colorMode} + + + +
+ ); +} + +export default function () { + return ( + + + + ); +} + +``` + +## Default color mode + +You can set default color mode. By default, the color mode will be `light`. To support this, extend the default theme with a `config` + +```jsx +import { NativeBaseProvider, extendTheme, Text } from 'native-base'; + +// Define the config +const config = { + useSystemColorMode: false, + initialColorMode: 'dark', +}; + +// extend the theme +const customTheme = extendTheme({ config }); +function App() { + return ( + // pass itto NativeBaseProvider + + // Your component + + ); +} +``` + +## Persisting the color mode + +You can persist the color mode in you app by defining you color mode manager of type `StorageManager` and passing it to the NativeBaseProvider. This will retain the color mode even when the app is refreshed. + +```jsx +import React from 'react'; +import { NativeBaseProvider, StorageManager, ColorMode } from 'native-base'; +import AsyncStorage from '@react-native-async-storage/async-storage'; + +// Define the colorModeManager, +// here we are using react-native-async-storage (https://react-native-async-storage.github.io/async-storage/) +const colorModeManager: StorageManager = { + get: async () => { + try { + let val = await AsyncStorage.getItem('@color-mode'); + return val === 'dark' ? 'dark' : 'light'; + } catch (e) { + return 'light'; + } + }, + set: async (value: ColorMode) => { + try { + await AsyncStorage.setItem('@color-mode', value); + } catch (e) { + console.log(e); + } + }, +}; +export default function () { + return ( + // pass it to NativeBaseProvider + + // Your components + + ); +} +``` diff --git a/versioned_docs/version-3.2.0/container.md b/versioned_docs/version-3.2.0/container.md index a09ac47e5..9938207f4 100644 --- a/versioned_docs/version-3.2.0/container.md +++ b/versioned_docs/version-3.2.0/container.md @@ -20,16 +20,15 @@ import React from 'react'; import { Container, Text, Heading, NativeBaseProvider, Center } from 'native-base'; function ContainerComponent() { return ( - + A component library for the - - React Ecosystem - - - - NativeBase is a simple, modular and accessible component library that gives you building blocks to build you React applications. + React Ecosystem + + NativeBase is a simple, modular and accessible component library that + gives you building blocks to build you React applications. + ); } @@ -38,7 +37,7 @@ function ContainerComponent() { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/customizingComponents.md b/versioned_docs/version-3.2.0/customizingComponents.md index 472b38539..da9c028c6 100644 --- a/versioned_docs/version-3.2.0/customizingComponents.md +++ b/versioned_docs/version-3.2.0/customizingComponents.md @@ -100,7 +100,7 @@ export default function () { }); return ( -
+
NativeBase
@@ -141,7 +141,7 @@ export default function () { return ( -
+
+ ); +} +``` + +In the above example, you'll get a **solid teal Button** in **light** mode whereas an **outline amber Button** in **dark** mode. You can get creative and make other properties respond to the color mode as well. + +## 3. By using \_light and \_dark props + +In this approach we pass the required props inside \_light and \_dark based on the requirement. + +```tsx +import React from 'react'; +import { Button } from 'native-base'; + +export default function () { + return ( + + ); +} +``` + +In the above example, you'll get a **teal Button** in **light** mode whereas an **amber Button** in **dark** mode. You can get creative and make other properties respond to the color mode as well. diff --git a/versioned_docs/version-3.2.0/default-theme.md b/versioned_docs/version-3.2.0/default-theme.md new file mode 100644 index 000000000..7a6ab70bf --- /dev/null +++ b/versioned_docs/version-3.2.0/default-theme.md @@ -0,0 +1,229 @@ +--- +id: default-theme +title: Default Theme +--- + +import { ColorsBlock, FontBlocks, SpaceBlocks } from "/src/components/index"; + +The theme object is where you define your application's color palette, type scale, font stacks, breakpoints, border radius values, and more. + +Theming in NativeBase is based on the **[Styled System Theme Specification](https://system-ui.com/theme/)** + +## Colors + +You can add a `theme.colors` object to provide colors for your project. By default these colors can be referenced by the `color`, `borderColor`, `backgroundColor`, etc.. props. + +We recommend adding a palette that ranges from `50` to `900`. Tools like **[Smart Swatch](https://smart-swatch.netlify.app/)**, **[Palx](https://palx.jxnblk.com/)** are available to generate these palettes. + + + +## Typography + +To manage Typography options, the theme object supports the following keys: + +- `fonts` (font families) +- `fontSizes` +- `fontWeights` +- `lineHeights` +- `letterSpacings` + +```jsx +const typography = { + letterSpacings: { + xs: '-0.05em', + sm: '-0.025em', + md: 0, + lg: '0.025em', + xl: '0.05em', + '2xl': '0.1em', + }, + lineHeights: { + '2xs': '1em', + xs: '1.125em', + sm: '1.25em', + md: '1.375em', + lg: '1.5em', + xl: '1.75em', + '2xl': '2em', + '3xl': '2.5em', + '4xl': '3em', + '5xl': '4em', + }, + fontWeights: { + hairline: 100, + thin: 200, + light: 300, + normal: 400, + medium: 500, + semibold: 600, + bold: 700, + extrabold: 800, + black: 900, + extrablack: 950, + }, + fonts: { + heading: undefined, + body: undefined, + mono: undefined, + }, + fontSizes: { + '2xs': 10, + xs: 12, + sm: 14, + md: 16, + lg: 18, + xl: 20, + '2xl': 24, + '3xl': 30, + '4xl': 36, + '5xl': 48, + '6xl': 60, + '7xl': 72, + '8xl': 96, + '9xl': 128, + }, +}; +``` + + + +## Size + +The `size` key allows you to customize the global spacing and sizing scale for your project. By default these spacing value can be referenced by the `padding`, `margin`, and `top`, `left`, `right`, `bottom` props. + + + +## Opacity + +The `opacity` key is used in opacity style object and to define colors opacity using the red-green-blue-alpha (RGBA) model, RGBA color values are an extension of RGB color values with an alpha channel - which specifies the opacity of the color. + +```jsx +const opacity = { + 0: 0, + 5: 0.05, + 10: 0.1, + 20: 0.2, + 25: 0.25, + 30: 0.3, + 40: 0.4, + 50: 0.5, + 60: 0.6, + 70: 0.7, + 75: 0.75, + 80: 0.8, + 90: 0.9, + 95: 0.95, + 100: 1, +}; +``` + +## Shadows + +The `shadow` key allows you to customize the global box shadow for your project. + +```jsx +export default { + 0: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 1, + }, + shadowOpacity: 0.18, + shadowRadius: 1.0, + elevation: 1, + }, + 1: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 1, + }, + shadowOpacity: 0.2, + shadowRadius: 1.41, + elevation: 2, + }, + 2: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 1, + }, + shadowOpacity: 0.22, + shadowRadius: 2.22, + elevation: 3, + }, + 3: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 2, + }, + shadowOpacity: 0.23, + shadowRadius: 2.62, + elevation: 4, + }, + 4: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 2, + }, + shadowOpacity: 0.25, + shadowRadius: 3.84, + elevation: 5, + }, + 5: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 3, + }, + shadowOpacity: 0.27, + shadowRadius: 4.65, + elevation: 6, + }, + 6: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 3, + }, + shadowOpacity: 0.29, + shadowRadius: 4.65, + elevation: 7, + }, + 7: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 4, + }, + shadowOpacity: 0.3, + shadowRadius: 4.65, + elevation: 8, + }, + 8: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 4, + }, + shadowOpacity: 0.32, + shadowRadius: 5.46, + elevation: 9, + }, + 9: { + shadowColor: '#000', + shadowOffset: { + width: 0, + height: 5, + }, + shadowOpacity: 0.34, + shadowRadius: 6.27, + elevation: 10, + }, +}; +``` + +Still confused? You can always explore [here](https://github.com/GeekyAnts/NativeBase/tree/master/src/theme/base). diff --git a/versioned_docs/version-3.2.0/design-tokens.md b/versioned_docs/version-3.2.0/design-tokens.md new file mode 100644 index 000000000..8198af8e3 --- /dev/null +++ b/versioned_docs/version-3.2.0/design-tokens.md @@ -0,0 +1,69 @@ +--- +id: design-tokens +title: Design tokens +--- + +Design tokens are the values or constants needed to construct a design system. These values can represent spacing, color, typography etc. Design tokens help to achieve consistency in building user interfaces across all platforms. + +Let's take an example by defining a space and color design tokens. + +```jsx title="colors" +const colors = { + primary: { + 50: '#ecfeff', + 100: '#cffafe', + 200: '#a5f3fc', + 300: '#67e8f9', + 400: '#22d3ee', + 500: '#06b6d4', + 600: '#0891b2', + 700: '#0e7490', + 800: '#155e75', + 900: '#164e63', + }, +}; +``` + +```jsx title="spacing" +export const spacing = { + px: 1, + 1: 4, + 2: 8, + 3: 12, + 4: 16, + 5: 20, + 6: 24, + 7: 28, + 8: 32, + 9: 36, + 10: 40, + 12: 48, + 16: 64, + 20: 80, + 24: 96, + 32: 128, + 40: 160, + 48: 192, + 56: 224, + 64: 256, + 72: 288, + 80: 320, + 96: 384, +}; +``` + +We can use the above tokens in our code instead of using absolute values. + +```jsx title="using the above tokens in Box component" + +``` + +The above Box will be translated to + +```jsx title="actual applied styles" + +``` + +With NativeBase, you can create your own design system. NativeBase follows [styled-system's specification](https://styled-system.com/theme-specification/) to construct design system. + +Checkout the **[default NativeBase theme](default-theme)** and how to customize it **[here](customizingTheme)**. diff --git a/versioned_docs/version-3.2.0/divider.md b/versioned_docs/version-3.2.0/divider.md new file mode 100644 index 000000000..70f897268 --- /dev/null +++ b/versioned_docs/version-3.2.0/divider.md @@ -0,0 +1,56 @@ +--- +id: divider +title: Divider +--- + +import { ComponentTheme } from '../../src/components'; + +`Divider` is used to visually separate content in a list or group. + +## **Import** + +```jsx +import { Divider } from 'native-base'; +``` + +## Examples + +### Basic + +The Divider displays a thin horizontal or vertical line. + +```ComponentSnackPlayer path=composites,Divider,Basic.tsx + +``` + +### Divider Orientation + +Pass the `orientation` prop and set it to either `horizontal` or `vertical`. + +> **Note:** If the horizontal orientation is used, make sure that the parent element is assigned a width and If the vertical orientation is used, make sure that the parent element is assigned a height. + +```ComponentSnackPlayer path=composites,Divider,Orientation.tsx + +``` + +### Composition + +You can use `bg` or `backgroundColor` to change the divider's color and `width` and `height` to change its width and height respectively. + +```ComponentSnackPlayer path=composites,Divider,Composition.tsx + +``` + +## Props + +```ComponentPropTable path=composites,Divider,index.tsx + +``` + +## Styling + + + +## Accessibility + +- Divider has role set to `separator` and `aria-orientation` to either `horizontal` or `vertical`. diff --git a/versioned_docs/version-3.2.0/faq.md b/versioned_docs/version-3.2.0/faq.md new file mode 100644 index 000000000..d366df99c --- /dev/null +++ b/versioned_docs/version-3.2.0/faq.md @@ -0,0 +1,6 @@ +--- +id: faq +title: FAQ's +--- + +NativeBase FAQ's Coming Soon. diff --git a/versioned_docs/version-3.2.0/flatList.md b/versioned_docs/version-3.2.0/flatList.md new file mode 100644 index 000000000..ef73e46fe --- /dev/null +++ b/versioned_docs/version-3.2.0/flatList.md @@ -0,0 +1,152 @@ +--- +id: flat-list +title: FlatList +--- + +A component for rendering performant scrollable lists. + +## Example + +```SnackPlayer name=Basic +import React from "react" +import { + Box, + FlatList, + Heading, + Avatar, + HStack, + VStack, + Text, + Spacer, + Center, + NativeBaseProvider, +} from "native-base" +export const Example = () => { + const data = [ + { + id: "bd7acbea-c1b1-46c2-aed5-3ad53abb28ba", + fullName: "Aafreen Khan", + timeStamp: "12:47 PM", + recentText: "Good Day!", + avatarUrl: + "https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500", + }, + { + id: "3ac68afc-c605-48d3-a4f8-fbd91aa97f63", + fullName: "Sujitha Mathur", + timeStamp: "11:11 PM", + recentText: "Cheer up, there!", + avatarUrl: + "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyEaZqT3fHeNrPGcnjLLX1v_W4mvBlgpwxnA&usqp=CAU", + }, + { + id: "58694a0f-3da1-471f-bd96-145571e29d72", + fullName: "Anci Barroco", + timeStamp: "6:22 PM", + recentText: "Good Day!", + avatarUrl: "https://miro.medium.com/max/1400/0*0fClPmIScV5pTLoE.jpg", + }, + { + id: "68694a0f-3da1-431f-bd56-142371e29d72", + fullName: "Aniket Kumar", + timeStamp: "8:56 PM", + recentText: "All the best", + avatarUrl: + "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSr01zI37DYuR8bMV5exWQBSw28C1v_71CAh8d7GP1mplcmTgQA6Q66Oo--QedAN1B4E1k&usqp=CAU", + }, + { + id: "28694a0f-3da1-471f-bd96-142456e29d72", + fullName: "Kiara", + timeStamp: "12:47 PM", + recentText: "I will call today.", + avatarUrl: + "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRBwgu1A5zgPSvfE83nurkuzNEoXs9DMNr8Ww&usqp=CAU", + }, + ] + return ( + + + Inbox + + ( + + + + + + {item.fullName} + + + {item.recentText} + + + + + {item.timeStamp} + + + + )} + keyExtractor={(item) => item.id} + /> + + ) +} + +export default () => { + return ( + +
+ +
+
+ ) +} + + +``` + +## Props + +```ComponentPropTable path=basic,FlatList,FlatList.tsx showStylingProps=true + +``` diff --git a/versioned_docs/version-3.2.0/flex.md b/versioned_docs/version-3.2.0/flex.md new file mode 100644 index 000000000..1667dabac --- /dev/null +++ b/versioned_docs/version-3.2.0/flex.md @@ -0,0 +1,44 @@ +--- +id: flex +title: Flex +--- + +`Flex` is a [`Box`](box.md) with `display: flex` and comes with helpful style shorthand. + +## Import + +```jsx +import { Flex, Spacer } from 'native-base'; +``` + +- `Flex`: a **[Box](box.md)** with `display: flex` +- `Spacer`: creates an adjustable, empty space that can be used to tune the spacing between child elements within `Flex` + +## Usage + +Flex components comes with some helpful shorthand props: + +- `flexDirection` is `direction` +- `flexWrap` is `wrap` +- `alignItems` is `align` +- `justifyContent` is `justify` + +While you can pass the verbose props, using the shorthand can save you some time. + +## Example + +```ComponentSnackPlayer path=primitives,Flex,basic.tsx + +``` + +### Using the Spacer + +You can pass Spacer to add Space between Flex items. + +```ComponentSnackPlayer path=primitives,Flex,spacer.tsx + +``` + +## Props + +**Flex** implements **[Box](box.md)**, so all the Box Props can be passed to it, i.e. [`color`](utility-props#color-and-background-color), [`space`](utility-props#margin-and-padding), [`layout`](utility-props#layout-width-and-height), [`flexbox`](utility-props#flexbox) & [`border`](utility-props#borders) props from [style-system](utility-props). diff --git a/versioned_docs/version-3.2.0/form.md b/versioned_docs/version-3.2.0/form.md index ee421eb0d..6a078af67 100644 --- a/versioned_docs/version-3.2.0/form.md +++ b/versioned_docs/version-3.2.0/form.md @@ -51,7 +51,7 @@ function BuildingAFormExample() { export default function () { return ( -
+
@@ -113,7 +113,7 @@ function BuildingAFormExample() { export default function () { return ( -
+
@@ -186,7 +186,7 @@ function BuildingAFormExample() { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/formControl.md b/versioned_docs/version-3.2.0/formControl.md new file mode 100644 index 000000000..05b32b0d3 --- /dev/null +++ b/versioned_docs/version-3.2.0/formControl.md @@ -0,0 +1,52 @@ +--- +id: form-control +title: FormControl +--- + +import { ComponentTheme } from '../../src/components'; + +`FormControl` provides context such as `isInvalid`, `isDisabled`, and `isRequired` to form elements. + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,FormControl,Usage.tsx + +``` + +### Custom Style + +```ComponentSnackPlayer path=composites,FormControl,CustomStyle.tsx + +``` + +## Props + +### FormControl + +```ComponentPropTable path=composites,FormControl,FormControl.tsx + +``` + +### FormControl.Label + +```ComponentPropTable path=composites,FormControl,FormControlLabel.tsx + +``` + +### FormControl.ErrorMessage + +```ComponentPropTable path=composites,FormControl,FormControlErrorMessage.tsx + +``` + +### FormControl.HelperText + +```ComponentPropTable path=composites,FormControl,FormControlHelperText.tsx + +``` + +## Styling + + diff --git a/versioned_docs/version-3.2.0/hStack.md b/versioned_docs/version-3.2.0/hStack.md new file mode 100644 index 000000000..d8e8c178d --- /dev/null +++ b/versioned_docs/version-3.2.0/hStack.md @@ -0,0 +1,24 @@ +--- +id: h-stack +title: HStack / Row +--- + +`HStack` aligns items horizontally. `Row` is also an alias for `HStack`. + +## Import + +```jsx +import { HStack } from 'native-base'; +``` + +## Examples + +```ComponentSnackPlayer path=primitives,HStack,basic.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Stack,HStack.tsx + +``` diff --git a/versioned_docs/version-3.2.0/heading.md b/versioned_docs/version-3.2.0/heading.md new file mode 100644 index 000000000..971b44a20 --- /dev/null +++ b/versioned_docs/version-3.2.0/heading.md @@ -0,0 +1,56 @@ +--- +id: heading +title: Heading +--- + +import { ComponentTheme } from '../../src/components'; + +Headings are used for rendering headlines. `Heading` composes [`Text`](text.md) so you can use all the style props. + +## Import + +```jsx +import { Heading } from 'native-base'; +``` + +## Example + +### Basic + +```ComponentSnackPlayer path=primitives,Heading,Basic.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=primitives,Heading,Sizes.tsx + +``` + +### Truncate + +```ComponentSnackPlayer path=primitives,Heading,Truncate.tsx + +``` + +### Override + +```ComponentSnackPlayer path=primitives,Heading,OverridenStyle.tsx + +``` + +### Composition + +```ComponentSnackPlayer path=primitives,Heading,Composition.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Heading,index.tsx + +``` + +## Styling + + diff --git a/versioned_docs/version-3.2.0/icon.md b/versioned_docs/version-3.2.0/icon.md new file mode 100644 index 000000000..4b19156e5 --- /dev/null +++ b/versioned_docs/version-3.2.0/icon.md @@ -0,0 +1,54 @@ +--- +id: icon +title: Icon +--- + +You can use icons in multiple ways in NativeBase: + +- Create icon by creating an SVG Icon +- Create icon using createIcon function and use it as a component +- Use a third-party icon library ( such as [@expo/vector-icons](https://github.com/expo/vector-icons) ), with `as` prop. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Icon,Basic.tsx + +``` + +Apart from the icons provided by [@expo/vector-icon](https://github.com/expo/vector-icons), you can also create custom icons using SVG. You can use all the components from [react-native-svg](https://github.com/react-native-svg/react-native-svg). + +### NativeBase Icons + +We provides a set of commonly used interface icons. So you can directly use them in your project. All our icons are create using [`createIcon`](icon#createicon) function from NativeBase. + +```ComponentSnackPlayer path=primitives,Icon,AllIcons.tsx + +``` + +### Custom Icon + +```ComponentSnackPlayer path=primitives,Icon,CustomIcon.tsx + +``` + +### Create Icon + +```ComponentSnackPlayer path=primitives,Icon,CreateIcon.tsx + +``` + +## Props + +### Icon + +```ComponentPropTable path=primitives,Icon,Icon.tsx showStylingProps=true + +``` + +### createIcon + +```ComponentPropTable path=primitives,Icon,createIcon.tsx + +``` diff --git a/versioned_docs/version-3.2.0/iconButton.md b/versioned_docs/version-3.2.0/iconButton.md new file mode 100644 index 000000000..60d5f1741 --- /dev/null +++ b/versioned_docs/version-3.2.0/iconButton.md @@ -0,0 +1,43 @@ +--- +id: icon-button +title: IconButton +--- + +import { ComponentTheme } from '../../src/components'; + +`IconButton` composes the `Button` component. It is generally used to make an Icon pressable. + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,IconButton,Basic.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=composites,IconButton,Sizes.tsx + +``` + +### Variants + +```ComponentSnackPlayer path=composites,IconButton,Variant.tsx + +``` + +## Props + +```ComponentPropTable path=composites,IconButton,index.tsx + +``` + +## Styling + + + +## Accessibility + +- Use accessibilityLabel for labelling icon buttons to make sure it's announced by screen reader devices. +- IconButton has a `role` set to [button](https://www.w3.org/TR/wai-aria-practices-1.2/#button). diff --git a/versioned_docs/version-3.2.0/image.md b/versioned_docs/version-3.2.0/image.md new file mode 100644 index 000000000..550e56ec4 --- /dev/null +++ b/versioned_docs/version-3.2.0/image.md @@ -0,0 +1,49 @@ +--- +id: image +title: Image +--- + +Generic Image components from [React Native](https://reactnative.dev). + +## Implements + +- [`Image`](https://reactnative.dev/docs/image) from [React Native](https://reactnative.dev). +- You can use all props of React native Image. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Image,Basic.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=primitives,Image,Sizes.tsx + +``` + +### Border Radius + +```ComponentSnackPlayer path=primitives,Image,BorderRadius.tsx + +``` + +### Fallback + +```ComponentSnackPlayer path=primitives,Image,FallbackSupport.tsx + +``` + +### Basic (With Ref) + +```ComponentSnackPlayer path=primitives,Image,WithRef.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Image,index.tsx showStylingProps=true + +``` diff --git a/versioned_docs/version-3.2.0/input.md b/versioned_docs/version-3.2.0/input.md new file mode 100644 index 000000000..9dcf9e138 --- /dev/null +++ b/versioned_docs/version-3.2.0/input.md @@ -0,0 +1,76 @@ +--- +id: input +title: Input +--- + +import { ComponentTheme } from '../../src/components'; + +The `Input` component is a component that is used to get user input in a text field. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Input,Basic.tsx + +``` + +### Input Sizes + +```ComponentSnackPlayer path=primitives,Input,Size.tsx + +``` + +### Input Variants + +```ComponentSnackPlayer path=primitives,Input,Variant.tsx + +``` + + + +### Input Elements + +```ComponentSnackPlayer path=primitives,Input,Elements.tsx + +``` + +### Password Input + +```ComponentSnackPlayer path=primitives,Input,Masked.tsx + +``` + +### Controlled Input + +```ComponentSnackPlayer path=primitives,Input,Controlled.tsx + +``` + +### Form Controlled + +```ComponentSnackPlayer path=primitives,Input,FormControlled.tsx + +``` + +## Props + +### Input + +```ComponentPropTable path=primitives,Input,Input.tsx showStylingProps=true + +``` + +### Input.Group + +```ComponentPropTable path=primitives,Input,InputGroup.tsx + +``` + +## Styling + + diff --git a/versioned_docs/version-3.2.0/install-cra.mdx b/versioned_docs/version-3.2.0/install-cra.mdx new file mode 100644 index 000000000..853c65e3a --- /dev/null +++ b/versioned_docs/version-3.2.0/install-cra.mdx @@ -0,0 +1,131 @@ +--- +id: install-cra +title: Install in Create React App project +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; +import { TileLink } from '../../src/components'; + + + + + +The easiest way to get started with NativeBase in create react app is using NativeBase template. + +### JavaScript + +```bash +npx create-react-app my-app --template nativebase +cd my-app/ +yarn start +``` + +### TypeScript + +```bash +npx create-react-app my-app --template nativebase-typescript +cd my-app/ +yarn start +``` + + + + + +Create a new CRA project If not exist + +```bash +npx create-react-app my-app +cd my-app +``` + +[Refer this guide](https://necolas.github.io/react-native-web/docs/installation/) if you need additional configurations. + +### Install dependencies + + + + +
+ +```bash +yarn add react-native-web native-base react-native-svg styled-components styled-system react-native-safe-area-context +``` + +
+
+ + +
+ +```bash +npm install react-native-web native-base react-native-svg styled-components styled-system react-native-safe-area-context +``` + +
+
+ +
+ +### Run the Hello world example + +Put the below code in your App.js + +```jsx +import React from 'react'; +import { NativeBaseProvider, Box } from 'native-base'; + +export default function App() { + return ( + + Hello world + + ); +} +``` + +
+ +
+ +
+ +
+ +
+
+
+ + +
+
+ +
+
+
diff --git a/versioned_docs/version-3.2.0/install-next.mdx b/versioned_docs/version-3.2.0/install-next.mdx new file mode 100644 index 000000000..dc9dbca16 --- /dev/null +++ b/versioned_docs/version-3.2.0/install-next.mdx @@ -0,0 +1,263 @@ +--- +id: install-next +title: Install in Next.js project +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; +import { TileLink } from '../../src/components'; + + + + + +### Create a new project using Next.js CLI with NativeBase template + +
+ + + + +

Choose your preferred setting and start your development swiftly 🚀

+ +

Plain Javascript

+
+ +```bash + yarn create next-app -e https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base +``` + +
+Yey! you are all set, start editing src/pages/index.js now. + +

With Typescript

+
+ +```bash + yarn create next-app -e https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript +``` + +
+Yey! you are all set, start editing src/pages/index.tsx now. + +
+ + + +

Choose your preferred setting and start your development swiftly 🚀

+ +

Plain Javascript

+
+ +```bash + npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base +``` + +
+ +Yey! you are all set, start editing src/pages/index.js now. + +

With Typescript

+
+ +```bash + npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript +``` + +
+ +Yey! you are all set, start editing src/pages/index.tsx now. + +
+
+
+ +
+ + +### Install dependencies + + + + + +
+ +```bash +yarn add react-native-web native-base react-native-svg styled-components styled-system react-native-safe-area-context +``` + +
+ +
+ + + +
+ +```bash +npm install react-native-web native-base react-native-svg styled-components styled-system react-native-safe-area-context +``` + +
+ +
+ +
+ +We'll need 2 more additional steps. + +1. Install dev dependencies. + + + + + +```bash + yarn add next-compose-plugins next-transpile-modules -D +``` + + + + + +```bash + npm i next-compose-plugins next-transpile-modules --save-dev +``` + + + + + +2. Update your next.config.js with the below content. + +```js +const withPlugins = require('next-compose-plugins'); +const withTM = require('next-transpile-modules')([ + 'native-base', + 'react-native-svg', + 'styled-components', + 'react-native-safe-area-context', + '@react-aria/visually-hidden', + '@react-native-aria/button', + '@react-native-aria/checkbox', + '@react-native-aria/combobox', + '@react-native-aria/focus', + '@react-native-aria/interactions', + '@react-native-aria/listbox', + '@react-native-aria/overlays', + '@react-native-aria/radio', + '@react-native-aria/slider', + '@react-native-aria/tabs', + '@react-native-aria/utils', + '@react-stately/combobox', + '@react-stately/radio', +]); + +module.exports = withPlugins( + [ + withTM, + // your plugins go here. + ], + { + webpack: (config) => { + config.resolve.alias = { + ...(config.resolve.alias || {}), + // Transform all direct `react-native` imports to `react-native-web` + 'react-native$': 'react-native-web', + }; + config.resolve.extensions = [ + '.web.js', + '.web.ts', + '.web.tsx', + ...config.resolve.extensions, + ]; + return config; + }, + } +); +``` + +### Run the Hello world example + +Replace the below code in your pages/\_app.js + +```jsx +import '../styles/globals.css'; +import { NativeBaseProvider } from 'native-base'; + +function MyApp({ Component, pageProps }) { + return ( + + + + ); +} + +export default MyApp; +``` + +and put this in your pages/index.js + +```jsx +import React from 'react'; +import { Box } from 'native-base'; + +export default function App() { + return Hello world; +} +``` + +
+
+ +
+ +
+ +
+
+
+ + +
+
+ +
+
+
diff --git a/versioned_docs/version-3.2.0/installation.mdx b/versioned_docs/version-3.2.0/installation.mdx new file mode 100644 index 000000000..91616aeed --- /dev/null +++ b/versioned_docs/version-3.2.0/installation.mdx @@ -0,0 +1,30 @@ +--- +id: installation +title: Installation +--- + +import { InstallationTiles } from '../../src/components'; + +**NativeBase** is supported in [Expo](https://docs.expo.io/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). + +Refer the guides shown below to setup NativeBase in your React app. + +
+
+ +
+
+ +
+ +### NativeBase VS Code Extensions + +NativeBase VS Code Extensions are specifically designed to quicken your development process using **NativeBase 3.0**. +NativeBase snippets are shorthand for commonly used NativeBase components. + +All snippets start with the prefix `nb-` and are followed by the name of the desired component. + +aang transitioning to avatar state diff --git a/versioned_docs/version-3.2.0/interaction-styles.mdx b/versioned_docs/version-3.2.0/interaction-styles.mdx index f1e1bb417..8c07bf6a5 100644 --- a/versioned_docs/version-3.2.0/interaction-styles.mdx +++ b/versioned_docs/version-3.2.0/interaction-styles.mdx @@ -22,15 +22,15 @@ Using `_hover` pseudo prop, we can customize the style of Pressable component on - Hover over me + Hover @@ -38,11 +38,11 @@ Using `_hover` pseudo prop, we can customize the style of Pressable component on ```jsx title="Hover example" @@ -58,15 +58,15 @@ Using `_pressed` pseudo prop, we can customize the style of Pressable component - Press me + Pressed @@ -74,15 +74,15 @@ Using `_pressed` pseudo prop, we can customize the style of Pressable component ```jsx title="Pressed example" - Hover over me + Pressed ``` @@ -94,15 +94,19 @@ Using `_focus` pseudo prop, we can customize the style of Pressable component on - Try focusing me + Focus @@ -110,15 +114,15 @@ Using `_focus` pseudo prop, we can customize the style of Pressable component on ```jsx title="Focus example" - Hover over me + Focus ``` @@ -131,45 +135,45 @@ Using `_web`, `_iOS`, `_android` pseudo props, we can customize the style or beh - Primary + Save Web - - Primary + + Save Android - Primary + Save iOS @@ -181,42 +185,42 @@ Using `_web`, `_iOS`, `_android` pseudo props, we can customize the style or beh - Primary + Save Web - - Primary + + Save Android - Primary + Save iOS diff --git a/versioned_docs/version-3.2.0/keyboardAvoidingView.md b/versioned_docs/version-3.2.0/keyboardAvoidingView.md new file mode 100644 index 000000000..a124d3063 --- /dev/null +++ b/versioned_docs/version-3.2.0/keyboardAvoidingView.md @@ -0,0 +1,18 @@ +--- +id: keyboard-avoiding-view +title: KeyboardAvoidingView +--- + +Provides a view that moves out of the way of virtual keyboard automatically. It is a component to solve the common problem of views that need to move out of the way of the virtual keyboard. It can automatically adjust either its height, position, or bottom padding based on the keyboard height. + +## Example + +```ComponentSnackPlayer path=basic,KeyboardAvoidingView,Basic.tsx + +``` + +## Props + +```ComponentPropTable path=basic,KeyboardAvoidingView,KeyboardAvoidingView.tsx showStylingProps=true + +``` diff --git a/versioned_docs/version-3.2.0/kitchen-sink.mdx b/versioned_docs/version-3.2.0/kitchen-sink.mdx new file mode 100644 index 000000000..7187d2c16 --- /dev/null +++ b/versioned_docs/version-3.2.0/kitchen-sink.mdx @@ -0,0 +1,66 @@ +--- +id: kitchen-sink +title: Kitchen Sink +--- + +import { KitchenSinkIframe, TileLink, NBHistory } from '../../src/components'; +import useBaseUrl from '@docusaurus/useBaseUrl'; +import ExpoIcon from '@site/static/img/expo-icon.svg'; +import useThemeContext from '@theme/hooks/useThemeContext'; + +
+
+
+

+ Kitchen Sink is a comprehensive demo app showcasing all the NativeBase + components in action. It includes buttons, forms, icons and much more! +

+
+
+
+ Scan with the + + + + Expo app on your Android device to see the special dish we cooked + for you! +
+ +
+
+
+ +
+
+
+
+
+ +
+
+
diff --git a/versioned_docs/version-3.2.0/link.md b/versioned_docs/version-3.2.0/link.md new file mode 100644 index 000000000..7c9c46c7c --- /dev/null +++ b/versioned_docs/version-3.2.0/link.md @@ -0,0 +1,60 @@ +--- +id: link +title: Link +--- + +import { ComponentTheme } from '../../src/components'; + +`Links` are accessible elements used primarily for navigation. This component is styled to resemble a hyperlink. + +## **Import** + +```jsx +import { Link } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Link,Basic.tsx + +``` + +### External Link + +```ComponentSnackPlayer path=primitives,Link,ExternalLink.tsx + +``` + +### Link with Underline + +```ComponentSnackPlayer path=primitives,Link,UnderlineLink.tsx + +``` + +### Link custom onPress + +```ComponentSnackPlayer path=primitives,Link,CustomOnPress.tsx + +``` + +### Link around containers + +```ComponentSnackPlayer path=primitives,Link,CompositeLink.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Link,index.tsx + +``` + +## Styling + + + +## Accessibility + +Adheres to the [Link WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#link) \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/list.md b/versioned_docs/version-3.2.0/list.md new file mode 100644 index 000000000..84f8d3dfc --- /dev/null +++ b/versioned_docs/version-3.2.0/list.md @@ -0,0 +1,64 @@ +--- +id: list +title: List +--- + +List is used to display list items. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,List,Basic.tsx + +``` + +### Ordered List + +```ComponentSnackPlayer path=primitives,List,OrderedList.tsx + +``` + +### Unordered List + +```ComponentSnackPlayer path=primitives,List,UnorderedList.tsx + +``` + +### Styled List + +```ComponentSnackPlayer path=primitives,List,StylingList.tsx + +``` + +### Pressable List + +```ComponentSnackPlayer path=primitives,List,PressableList.tsx + +``` + +### List with ListIcon + +```ComponentSnackPlayer path=primitives,List,ListWithIcon.tsx + +``` + +### Virtualized List + +```ComponentSnackPlayer path=primitives,List,VirtualizedList.tsx + +``` + +## Props + +### List + +```ComponentPropTable path=primitives,List,List.tsx + +``` + +### List.Item + +```ComponentPropTable path=primitives,List,ListItem.tsx + +``` \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/loginsignupforms.md b/versioned_docs/version-3.2.0/loginsignupforms.md index 8e7b20a54..9abc14ca3 100644 --- a/versioned_docs/version-3.2.0/loginsignupforms.md +++ b/versioned_docs/version-3.2.0/loginsignupforms.md @@ -23,88 +23,63 @@ import { Icon, IconButton, HStack, - Divider + Divider, } from 'native-base'; export default function App() { - - return ( - - - + return ( + + + Welcome - + Sign in to continue! - + - - Email ID + + Email ID - - - Password + + + Password + mt="1"> Forget Password? - - - - - } - color='muted.700' - size='sm' - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> - - - - I'm a new user. - + + + I'm a new user.{' '} + + Sign Up @@ -113,6 +88,7 @@ export default function App() { ); } + ``` ### Signup Form @@ -133,87 +109,49 @@ import { Icon, IconButton, HStack, - Divider + Divider, } from 'native-base'; export default function App() { - - return ( - - - + return ( + + + Welcome - + Sign up to continue! - + - - Email + + Email - - Password + + Password - - Confirm Password + + Confirm Password - - - - - } - color='muted.700' - size='sm' - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> - } - color='muted.700' - size="sm" - /> - } - /> - - ); } + ``` diff --git a/versioned_docs/version-3.2.0/menu.md b/versioned_docs/version-3.2.0/menu.md new file mode 100644 index 000000000..ba2b694e2 --- /dev/null +++ b/versioned_docs/version-3.2.0/menu.md @@ -0,0 +1,95 @@ +--- +id: menu +title: Menu +--- + +import { ComponentTheme } from '../../src/components'; + +A dropdown menu for the common dropdown menu button design pattern. + +## Import + +NativeBase uses 5 components for rendering menus: + +- `Menu`: The wrapper component provides context, state, and focus management. +- `Menu.Item`: The trigger that handles menu selection. +- `Menu.Group`: A wrapper to group related menu items. +- `Menu.OptionGroup`: A wrapper for checkable menu items (radio and checkbox). +- `Menu.ItemOption`: The checkable menu item, to be used with `MenuOptionGroup`. + +```jsx +import { Menu } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,Menu,Basic.tsx + +``` + +### Group + +```ComponentSnackPlayer path=composites,Menu,Group.tsx + +``` + +### MenuOptionGroups + +```ComponentSnackPlayer path=composites,Menu,MenuOptionsGroup.tsx + +``` + +### Menu Placement + +```ComponentSnackPlayer path=composites,Menu,MenuPositions.tsx + +``` + +## Props + +### Menu + +```ComponentPropTable path=composites,Menu,Menu.tsx + +``` + +### MenuItem + +```ComponentPropTable path=composites,Menu,MenuItem.tsx + +``` + +MenuItem implements [Pressable] + +### MenuItemOption + +Extends `MenuItem`. + +### MenuItemOption + +```ComponentPropTable path=composites,Menu,MenuItemOption.tsx + +``` + +### MenuGroup + +```ComponentPropTable path=composites,Menu,MenuGroup.tsx + +``` + +### MenuOptionGroup + +```ComponentPropTable path=composites,Menu,MenuOptionGroup.tsx + +``` + +## Styling + + + + +## Accessibility + +Adheres to the [Menu WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#menu) \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/migration/Accordion.md b/versioned_docs/version-3.2.0/migration/Accordion.md new file mode 100644 index 000000000..9f75bc7ea --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Accordion.md @@ -0,0 +1,89 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +We have sliced Accordion into multiple smaller component which not only provides more control over the the code but also makes it more readable. + +## Overview + +Migrating Checkbox components can broadly described in these points: + +- **dataArray** is depreciated. +- **expanded** → `defaultIndex`, and now accepts array of index. +- Pros like **headerStyle**, **contentStyle**, **icon**, **expandedIcon**, **iconStyle**, **expandedIconStyle**, **renderHeader**, **renderContent** are _no longer required_ as components like `Accordion.Button`, `Accordion.Panel`, `Accordion.Icon` replaces them. +- **onAccordionOpen,** **onAccordionOpen** → `onChange`, one callback instead of 2. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { Container, Header, Content, Accordion } from 'native-base'; +const dataArray = [ + { + title: 'First Element', + content: 'Lorem ipsum dolor sit amet', + }, + { title: 'Second Element', content: 'Lorem ipsum dolor sit amet' }, + { + title: 'Third Element', + content: 'Lorem ipsum dolor sit amet', + }, +]; +export default class AccordionExample extends Component { + render() { + return ( + +
+ + + + + ); + } +} +``` + + + + +```tsx +import React from 'react'; +import { Accordion } from 'native-base'; +export default function () { + return ( + + + + First Element + + + Lorem ipsum dolor sit amet + + + + Second Element + + + Lorem ipsum dolor sit amet + + + + Third Element + + + Lorem ipsum dolor sit amet + + + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Actionsheet.md b/versioned_docs/version-3.2.0/migration/Actionsheet.md new file mode 100644 index 000000000..50e681848 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Actionsheet.md @@ -0,0 +1,107 @@ +--- +id: action-sheet +title: ActionSheet +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +We have sliced [`Actionsheet`](actionSheet.md) into multiple smaller component which not only provides more control over the the code but also makes it more readable. + +## Overview + +Migrating Checkbox components can broadly described in these points: + +- **options** (prop) → `Actionsheet.Item` (component). +- Props like **cancelButtonIndex**, **cancelButtonIndex** are _no longer required_ as components like `Actionsheet.Item` can be customised as per need. +- **title** (prop) → NativeBase components such as `Heading` and `Text` can be used inside `ActionSheet.Content` to show the title. +- Declarative approach to show and hide using `isOpen` prop, instead of `show()` and `hide()`. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { + Container, + Header, + Button, + Content, + ActionSheet, + Text, +} from 'native-base'; +var BUTTONS = ['Option 1', 'Option 2', 'Option 3', 'Delete', 'Cancel']; +var DESTRUCTIVE_INDEX = 3; +var CANCEL_INDEX = 4; +export default class ActionSheetExample extends Component { + constructor(props) { + super(props); + this.state = {}; + } + render() { + return ( + + + + + + ); + } +} +``` + + + + +```tsx +import React from 'react'; +import { Button, Actionsheet, useDisclose } from 'native-base'; + +export default function () { + const { isOpen, onOpen, onClose } = useDisclose(); + return ( + <> + + + + + Header + Option 1 + Option 2 + Option 3 + Delete + + + Cancel + + + + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Badge.md b/versioned_docs/version-3.2.0/migration/Badge.md new file mode 100644 index 000000000..50dad69ac --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Badge.md @@ -0,0 +1,44 @@ +--- +id: badge +title: Badge +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Migrating [`Badge`](badge.md) to v3 will provide a lot more **design**, **size, variant**, **color** and **customisation** options. + +## Overview + +Migrating Badge components can be broadly described in these points: + +- No need to wrap you text inside text component anymore. +- In v3 the color is controlled by `colorScheme` prop. And it accepts all the color available in the theme. + +## Code Comparison + + + + +```tsx + + Success + +``` + + + + +```tsx + + Success + +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Button.md b/versioned_docs/version-3.2.0/migration/Button.md new file mode 100644 index 000000000..a33b068df --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Button.md @@ -0,0 +1,196 @@ +--- +id: button +title: Button +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Migrating [`Button`](button.mdx) to v3 will provide a lot more **design**, **size**, **color** and **customisation** options. + +## Overview + +Migrating Button components can broadly described in these points: + +- No need to wrap your text inside `Text` component anymore. +- `isDisabled` prop can be used to disable the button. +- Icons in Button: + `leftIcon` and `rightIcon` are the new alternative to iconLeft and iconRight respectively and they accept **tsx.Element**. +- Colors of the Buttons: + In v3 the color is controlled by `colorScheme` prop. So all the color providing props [ **light**, **info**, **success**, **warning**, **danger** and **dark** ] can be passed as value (and more) to `colorScheme` props. +- Design of the Button: + With v3 we're providing some mostly frequently used designs as `variants` [ **solid**, **outline**, **ghost**, **link** and **unstyled** ] and lot more customisation. +- Sizes of the Button: + In v3 the size is controlled by `size` prop. And it accepts pre-defined sizes [ like xs, sm md, lg ] and also custom values. + +## Code Comparison + +## Colors to the Button + +Besides option like **light**, **info**, **success**, **warning**, **danger** and **dark**. Now you can also provide colors like **red**, **blue**, **cyan**, **teal** and a lot more. + + + + +![Button/Screenshot_2021-01-22_at_12.29.32_PM.png](Button/Screenshot_2021-01-22_at_12.29.32_PM.png) + +```tsx + +``` + + + + +![Button/Screenshot_2021-01-22_at_12.53.09_PM.png](Button/Screenshot_2021-01-22_at_12.53.09_PM.png) + +```tsx + +``` + + + + +### Sizes of the Button: + +Besides option like **light**, **info**, **success**, **warning**, **danger** and **dark**. Now you can also provide colors like **red**, **blue**, **cyan**, **teal** and a lot more. + + + + +![Button/Screenshot_2021-01-22_at_2.37.09_PM.png](Button/Screenshot_2021-01-22_at_2.37.09_PM.png) + +```tsx + +``` + + + + +![Button/Screenshot_2021-01-22_at_2.38.52_PM.png](Button/Screenshot_2021-01-22_at_2.38.52_PM.png) + +```tsx + +``` + + + + +### Designing the Button + +With v3 you can combine variants and style props to create various designs. + + + + +![Button/Screenshot_2021-01-22_at_1.16.25_PM.png](Button/Screenshot_2021-01-22_at_1.16.25_PM.png) + +```tsx + +``` + +![Button/Screenshot_2021-01-22_at_1.23.42_PM.png](Button/Screenshot_2021-01-22_at_1.23.42_PM.png) + +```tsx + +``` + +![Button/Screenshot_2021-01-22_at_1.17.11_PM.png](Button/Screenshot_2021-01-22_at_1.17.11_PM.png) + +```tsx + +``` + + + + +![Button/Screenshot_2021-01-22_at_1.15.34_PM.png](Button/Screenshot_2021-01-22_at_1.15.34_PM.png) + +```tsx + +``` + +![Button/Screenshot_2021-01-22_at_1.22.36_PM.png](Button/Screenshot_2021-01-22_at_1.22.36_PM.png) + +```tsx + +``` + +![Button/Screenshot_2021-01-22_at_1.20.36_PM.png](Button/Screenshot_2021-01-22_at_1.20.36_PM.png) + +```tsx + +``` + + + + +### Icon Button + +With v3 iconLeft and iconRight can now accepts tsx.Element as child and render the element at the appropriate place. + + + + +![Button/Screenshot_2021-01-22_at_1.32.47_PM.png](Button/Screenshot_2021-01-22_at_1.32.47_PM.png) + +```tsx + +``` + + + + +![Button/Screenshot_2021-01-22_at_1.38.15_PM.png](Button/Screenshot_2021-01-22_at_1.38.15_PM.png) + +```tsx + +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.15.34_PM.png b/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.15.34_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..1f0a85886576217db343150d2e295264fcfad8fa GIT binary patch literal 9022 zcma*MWmH^E7B1XaaA`>6(zv_3I|O%k3+^;daDuxN2ofYXjRgtr5C{Z!5;Q3n3?29q_@IU?*@m0J@VG`c{MWL3stOW|L3@ychyAIL>HIsjcJ7;X zIEkh#=9JwML%?o4df7RUa-yNiK}8c;0)WNPi>BT#lJgEkK!90{aUGI%!(YssUi}8G zE+p|qZ*~jaS_F{n6~leUWhyo>3D`XH$8~@M$V9GNDuu~}9Z1wLN5V;UDTOs<_*KB$ zF}Z&WRkai$*&YW}YP1_W@BxT#iVF=!#-l`tizt17m$H@s9x_U-UDWo#7*K=o{(+k2 zCR&VhNjIV;A@=Xl$3*T2*T)>`M`M?39Nm3huww~T4o#Bq$qUQmOXj1+v=6Vd(cH5Hxao8?oMIrdfi`P!5{y#*)~R#kyxXHo^}(TV4d_KA#7GUm zfvxSXZ2Jr`ZspfgVT5(~UY{yM(@+}32GEfj>k%_1ZGV;dWw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eWmzAE_X=ne@^7+exQ zRI)uL*KBY>>9H#9!`9{Hi67+3=J#k;`qpGf{>WC|g+U+`b<_a4RzQQiB0~TpGJaH{q4xB>syeA0{dnzD*Rf82?I~teZG_w!?_hi Yc51Ey+58dy`~Q@ZoSJO4v_;7O0lVT4&j0`b literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.17.11_PM.png b/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.17.11_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..2c80f15496b1cb3c88a84b637f60b3a5dc1fc2d9 GIT binary patch literal 10048 zcma*MbyOVB5;nZJySs!ykX3@`3{#SlzQf}s;rq(^rsGS-($Z?(Chw?n0gQ~q0BF3Iq`Y_Uw*syI}?GEdAF*q z+}Epc;tiRs$=e?d0Nb$`rKfmwW6(-FB@GmD0QQ@1bhTFD>@Xq{609Q3tH8`_z9OEq zDi!qFz=UVrsSOM(VL*~c6!$HciD=(AV13^Q-wqBS9lmOz5G)p}5qIA{YKADx0VcfH(D0$F47$QIG5 zp(G_cu58$wTWBwv9i(HV^Q|dw7JIY)o6Ww8lP7p{i_&`01$k<3+JGz!FMV2@*H~w$ zR+c3w?i(1A-_lwwCy_Qw5s6g4l+rSo2#|b|JKNN{g0<4JOMc{wT#(YqD$0pvBI)k0 z+#YOTKyr;9;Xf^=JgVTg7QW%a#af^xv3tpc$^)KLG&j~((tqtIV4;hEP!yeXKT5t4#D8+;HlnVvetFxzFS)K?H<3|Zno2; z7ON9Pd+FzsiST%ot?^K0&Zpzc&_!o*;vdpgZ_gwWmBu9$El4@jNaZn^7B?awv`2}u z-yAp`!7!X7p{zkZzg|sAiVeIC!H@Yae#I4fcT#C35<=TJy0i4>_Xg{8NizgEJqWZy zRs&=(I+tFNA{t_9L=itppdnF9G0PYY>^Y;yTUE+h){CxW+kD%s{xFf7=YU5zQjf6d zsZ(@Bk2`X2oSOW0O6sz!3$5QxLc}ff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v^G*@796qMfLH3 zRy69*(HU6or1(zEth7TU*FJDu`8qqLVLDubqR(VTf%ovXa2uiMI8&sXT?OHu0~mTE z13atTW^xa6&TzHGF+Ow|;RshWpo<1rRQfidtn$WQkY~J4*)|%Qld#0Eld|AH9nqKj z5EjERSN&(-+jlVD3!s^Adkm{_2}an)(A)T*!DxEiF5T|X;F);&Q^-NW4RMt0z1W+X zlNdz=L@So5XJXx5S^s4-Gb0Q$nz)$#d0mt@P=Zh5yBt!j@iDTU7p^+u?M2P&p}LMwo~X+MwgKe{@O_xCza7v&@WLvQ z9NN<>-t)XyK4%qRF@KV7L+Z7bQ(N=lG23^?OuW1~4ncePCbJxZpNAEp1@s=hZS~u& zB{EzzmZaH1Y=1BVuCki-jtaHcr}e5ZQX^D*?q*1jqLBDnXT4cy0AhPk>m{yvY=#z4 z#)cULe}n5B9*89H<>AiA$QUE8JblFYG!&`?bL`aFH)rNRgmQd#aTDm(LJ)N7^|W&v ohPM(!aR6-pZtnSia6O|4e3hxf2|Y~y`xhJ}tt3?~VHEs-00hQEwEzGB literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.22.36_PM.png b/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.22.36_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..cd3d19be5125925682daa1702d1bb8a58aef387c GIT binary patch literal 8306 zcmd6L1y@|#vTh?mgVShm3lQAt#)7-MyF>7X#$6IT&_ICTP9Oo&xVr@>5Hv`FTX1>3 z_c?E$Gv50F_s%hD);Fu_tD3Ub7;~*S4K;ZjED9_D0Dz;YAftuQwFpteKtuG+3LGu~ zz;h=@X=x2bX=z#wPj@><7h3>8A@03Cx`FmENuF_Pa`HE1f@Hz~`GEI?uM=o#b@AUP zqY^5;#gyt#ItuW(e+LYD;KzU;!%Xa;9R0!c}6K0dz;$-EN! zD3D&IhE*Gq_@qCzfo%f@Bzwp5-SC=;_l*PA_x%YSkpMDL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!E%W9$ExILz>yyk(4A_c;WHQj7$ar zXf2k0yufhS%x1t{!j3=y3RIPx926u~6R$ogs3krEM1(qedC`81b50a?;CfDv0QlUl vZn&uY9^(Y)hfz`pfP-8*{y#gJN0iUW%b}Mfm>#@5F70 literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.23.42_PM.png b/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.23.42_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..5bef6f3942a96f65ff94287897fa2dc013fc6357 GIT binary patch literal 7841 zcmdUTWmH^C)9&CNf($MLAt4YLJcPlW0R{~&!3pj#Fi3#l9^5rZ0uu%c1oz;903i_E z-7VN9=RNnlXWjej`}y@+wX3?So~o|uUTgQ>5o#*(MEErL004jpsvx6r&yn|}f{T6s zY*65|2LK3dZKS2upwiMHHCHDq8+%ItKp`So2S-=4k0Qt5U3~mEbdq>dA9STBcx;4AY_ct&z5!$5zK&g6zq0Msu&3Rsq-q(Rp5t>{kPm*IqUHaP4@$8}YngGZ)pE;c+PI&i@W9TmB zTI4d1*lwy+%EqFJIY775pdqnhzv2b(J36qMMo(Rf$bO8N5LLX#}2n zAgjkjN4OT|g*a}D1X7(z4dx?QOGTJK)lWqr7GojG5{09smuK}2ATFtV!LTW5?XFSiZ@m2upb~=8PO`5T9F~IRb z_8@=?`_MvkQXmOW(~~#M2dpyaAleK{UT$_kh}xZ{!p9~^V0qwZM<8{>0$bN52!Ev= zaoNUk82{Pg0Ml0H?qE1124{IF7{+tEe;PdPL_;wy^O65ZGER9&Qpt>pCy5G5$U40k z3J2}Q$#>du+dI}1?+K^%3L-i*rDzvP79siB&WM6i-QUtlg_6Q6#5xnq$5;9blkwll zh}$th!WKQ$^-RtkqIrxI449$_DNY06=K}UY#`?RIb}vtsw@Q%Te*G#;s#h#?!*bbq|H#WVgqfuU9@PXW&Me>tcA42p6ZWYk&JREMT3#VC~wSg+~^n%D-KEu&bW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p#+lK2^bR)tQqt!#m3G>jWOZ|L@ zzw_Z2QJm<2{o*=eWT~WXKVHhb&6d3qU6n)*dbF3|IjHv8NCgX3vL#?KMK=y(9Td&F zI@hV+U{E}o%xi0=!)O=#(xd&z0XB+l&*_J*&Q39m$lvEOONt_8ANSQk`~AcRX8+bR zI!s$6a_I3)S*9@M$IrUlE_$Fjxla!SmNfz}kT}Tn2bKxz6+DSn^O5h*zf%}yr&;QK zkbsk0fAN>3^q|Wjb70}`b}Lw7R+~a z3=vcH4E^EG*Mgn%sG*X^=PoaZ>QRG`{~Wo-(G)I#((GFwV%)96!Vjbw4La~-TnkEnm zp2Qy8bflAVE|cZ<-PI-{cA-|mR>d$SsC3;01BIt-?3nIvVcxZ$$u9Rz(IWWfJs% E0C`eO$p8QV literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.32.47_PM.png b/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_1.32.47_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..7bb43656da0b713ded795a0025aafb6002a68f46 GIT binary patch literal 9384 zcmZX31z20p5^n+&r&w{9LZLV<5&{HwcW809P+UWXtt28~GZ zGnPbO6c>Brd&0hm@`xABq!3b)s$`j}tG=L!YA(`eGMg&$kXheN`1ak_xc@}Pjan1` z)iMxLll(GvBi9hH@d+pYgpgshs@P6h69WQx`l1tCy$PHeLPAD{mxFuhpL`{l^E#nK z6}#L&>QQfM4aX7;h=GRl-|!iW^^O5n_q>SgfB@;xWpl+q>A-DB>B~@{WUFFeO(Lui z#fJUew*VD$FxC19ph%i**Ip7ry!_y6{CZBMUDv_;i zHO*D*aHrfhG;?zN`)4I9$fZY6%Eolk~ETo2GreJ~UV97XYln$)=)w zQbpLiw%(dzn<&Pw^lUtkyqpyJwJ0DSvr4QN=Sg)XTH=`X?|fJycP*FFuyygdP17{6 z1KR|Dqe+2-1CUZ+RSkzAgQ69GwftZdMQ!ZxFOm}@ zN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-wOlZ>v~{yei*<_qCXjm@goiec25Qrh#(fw$jSQ6OvrpquKx2NE;MliMgo@^TLn zNGz~t9j0$A{h78>*AlzMOJtKD#VOndX7TP{r7S4;F(K##K?d;9a;XqwM1-8{Gcs8H z2rGFuOW!YqLe#NG?~~OhnhUU%f)5yW=9>w_Av8&nY-QY?YOp~XVI@Rq3EAl8B(^C!RkAWTJqeM@ zC>NHwH2RTpw#zj}-Wc09FNYyg6@Jadw&H|a3P*pi-y|1M{aE04cZ$#9vDtIDSjvD< zP5`uvigSiljN(5Fh zlzENfORKL>MnK3N6S4c-q(jD2X-Eg^Ehr{%(Xxz@r!3p?6b2(%nD+F&=El4$pjr)g zb2#0HB1!xSI(P)ZS0Fnv&6b}aFl{;7rtm-yhn#c#{#PEZc~B6Af|md zTJ|Xe5f;O`?ov>L1_FLwx%=*X`$Qlt(%MGqSvt%x_(JQs&4z_27-y8Fx>TWp0Qv%l ZR}i?Ov7)pI`=tONBdH)!DP|P-e*kRRuoM6Q literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_12.29.32_PM.png b/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_12.29.32_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..24f882b52744257850152b4232ac76d98fb4e8dc GIT binary patch literal 8297 zcmZX31ymee67DcSaF^f^Ai>=ScXx*bm*6(IySuv#8YB!(aDoI6POu;oNN{&~Gtxt)?Q2fl7i3001!L<)k!Tc-#vqA-{S#_Rt&0008K=Hjb8yAWjmlkE~BRu0$*ql{R*I5(2J59E$j0 z0xM&i2hLzjT@3vfLNP)DXr?sudN3rWft3(n`j@ht*rNY0-`)G2$-t?+Th(^1>vcG> z#!RMUSg`>B7K>JTit}b1T4kf8fg}dNr0+#lYZuB6BY6E9qX_*fF!P$Ph$pRD1+^|P z;aPWj6U{;hkOYq6y5%$y8JGZU?0e(dzyYMf*Uc1yrGj_GYM8>|Bsvv>8`HfifYyvI z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grKhvi@(bC(v!~dPCcpdE>011SD31btS9H2by(nmA@)`c z1wv#O86KP8alP6if5=`5^{{oIK#(Tf^?IFW!5Rxj0=YDXl!xFQ%kT6}vFdN(jye)j z@G^yX$u>y%KiYoJ{(dhulxb^d_Ss&2ZuI;O+e%$1xw%z9%y5)qy0 zd&3F+K&xxze)mI2@Q~%Jml7P literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_12.53.09_PM.png b/versioned_docs/version-3.2.0/migration/Button/Screenshot_2021-01-22_at_12.53.09_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..17cf494df3626e48fb0851c0b0324b43a9f5bdf2 GIT binary patch literal 8494 zcmb`qbyQr>5-mJfa1Dby1ZQv?+#$FR?hb>)z~F=g2*HE9lK{bky99>>2oebH4#DM- z-@V_xcYW{Q*K5_(KHYm)ovu1-R(F(!ngTWk83q6Vz*bU})q3^?&!&d<;`z7GYitbw zz;bkukaJ6-CwgCVXqdw}RLbQj7a*Pt=<0ldE;|cr~{67*%zo((m#rqhK zOz=7eU8+A8#M zlRv9rR0YRA=})aGK10sPn zB3s+)S}PclF8S@qmL#|*L-(<~cdqy8GWW*NOFX?Tej3Mox^#v(k;5nUv8R-K(VIM6 zr@1m|2kSPvU`Ve~b5a3e8isqS5HF*irc)$bF2H69L6Sw<&pPot7601MTy;`Z_LCV9nx|58N5U@A;ps(7}hbJ^5P!zrCF_-;-{FD)9RrGc)UeQL0mV_7kd5dy4<7a$4Ix)3MWYHA`UXJLNk5RdO*{4t5-2{*nFgT7 zI<^v%9E#7~#u!3(!X%4GL!Lp*!^H}S(0H;@{M-f(tq7g!2_C&hHFYX5)Xn#O+3+ z5wRX1ZK8GS5zC_{qCysfOLG_jzZS5LQa3%Nbo;8y*eLkW7H(K)rcn&lHDC^wO!3vLB&;L1wrz`7b)nH`Mf{W zwMTYAB!Q<6+Q5J4rPkln)>KMY{-9hsVz&tiHFpfPT(4nLDp8V~??Gh545CC@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1}q!=r@3z*6cAm_mU6fZwx?QT1Bc_;zP*)0X#5+b^rhX literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Card.md b/versioned_docs/version-3.2.0/migration/Card.md new file mode 100644 index 000000000..c9acc1d07 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Card.md @@ -0,0 +1,91 @@ +--- +id: card +title: Card +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +With NativeBase v3 we have removed Card components because as it's very simple to create various card layout using primitive components. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { + Container, + Header, + Content, + Card, + CardItem, + Text, + Body, +} from 'native-base'; +export default class CardItemBordered extends Component { + render() { + return ( + +

+ + + + NativeBase + + + + + NativeBase is a free and open source framework that enable + developers to build high-quality mobile apps using React + Native iOS and Android apps with a fusion of ES6. + + + + + GeekyAnts + + + + + ); + } +} +``` + + + + +```tsx +import React from 'react'; +import { VStack, Box, Divider } from 'native-base'; + +export default function () { + return ( + + }> + + NativeBase + + + NativeBase is a free and open source framework that enable developers + to build high-quality mobile apps using React Native iOS and Android + apps with a fusion of ES6. + + + GeekyAnts + + + + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Checkbox.md b/versioned_docs/version-3.2.0/migration/Checkbox.md new file mode 100644 index 000000000..f63647256 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Checkbox.md @@ -0,0 +1,54 @@ +--- +id: checkbox +title: Checkbox +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Migrating [`Checkbox`](checkBox.md) to v3 will provide a lot more **design**, **size**, **color** and **customisation** option. + +## Overview + +Migrating Checkbox components can broadly described in these points: + +- **checked** props is deprecated, instead now we provide you with `defaultIsChecked` and `isChecked` prop to better manage your checkbox. For most cases **checked** can be replaced with `isChecked`. +- Colors of the Checkbox: + In v3 the color is controlled by `colorScheme` prop. And it accepts all the color available in the theme. +- onPress props is deprecated, instead v3 provides onChange which provides a callback when state of the checkbox change. + +## Code Comparison + + + + +![Checkbox/Screenshot_2021-01-22_at_3.09.29_PM.png](Checkbox/Screenshot_2021-01-22_at_3.09.29_PM.png) + +```tsx + + + Finish list Screen + +``` + + + + +![Checkbox/Screenshot_2021-01-22_at_4.34.08_PM.png](Checkbox/Screenshot_2021-01-22_at_4.34.08_PM.png) + +```tsx + +Finish list Screen +// alternative: pressing the text will also trigger onChange + + Finish list Screen + +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Checkbox/Screenshot_2021-01-22_at_3.09.29_PM.png b/versioned_docs/version-3.2.0/migration/Checkbox/Screenshot_2021-01-22_at_3.09.29_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..121ecaa72899fd19e5270f0ef05545eafc2add0d GIT binary patch literal 10808 zcmb_>byOWO6Ys^{-O9y^6nA%u!^Pblin|r};x5I#xNEWEuBA|l6nBdI+kSrD`}gfR z*-T`T%_KXS-%J!lNg55A7#Rctp~=cfs)9gJxB$(K2oJpB%`DGBAXHl$2?>a-gajDk z;%I5}!2$%5iAvQ%&{iA8&(%vxNSJ}fO2GD!_DRJSj{$=;{w{I5 zKo_(fgHn8fMKMudVWXgmAPPdK>qUmN3ucDm5fGr|quvCh-}2;hrF>CBt_g^H)tcQz zF&6|SxJ7c@vl|M3n*?nfd1Ko^fh5CznaTx82JMMfy$gd9?~)5@O!X>*wqkIe4^%W2 zB-t7Vm8-Pt+i-)3Z}W3?M#jShiSsBtur8%cL7Ze1=-Wu`evx?f0=s+4svF3W_66Or zri2*hqfc=hkB(275>NULH<+5cTwvP*%1r8bfskr2bxV}0A)>dLTA z73Pq~oeCnX!FQ`H4@^d^7ygC<*H8zWI%#=O?3K#W#4JB%S#f36J_prUJ5v^C5b9U4WCsRnLg#HAS)t%9m=WaOccv*2iu8HpomN*w!*ccCXv%7Q5!N_Su1 z&uHV-HTIR$h&zL&MTc(dTlx75w25hPgYdHK8&B}Z3=|I?uq6%JA4GGrA_Uh>6!C$S zcC%@?tzuX_<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!wO00e4|!N zFr7d^c!sx^I-7zR_Bbq%0@s(q{+JM!6a*zfht4``83_;NO96y!3}r|J;GqyifnW`c zLIY8uSg#=v!l@^i8;TR_h58$~0VRJ3xBmY%^b>iSfU@1Nnn*NYR)b`vlq74!jf4LW De@@vF literal 0 HcmV?d00001 diff --git a/versioned_docs/version-3.2.0/migration/Checkbox/Screenshot_2021-01-22_at_4.34.08_PM.png b/versioned_docs/version-3.2.0/migration/Checkbox/Screenshot_2021-01-22_at_4.34.08_PM.png new file mode 100644 index 0000000000000000000000000000000000000000..ef1c1a20da072291a0e4f16f34ec0f2f6b190f2e GIT binary patch literal 9954 zcmZX31yoeg^Dx~FOSeb~yM%O?ba!`mFD>2ONP{#;hjcdxN=Qj}ck`{kKL78XGjHbI zshe|V?u%4XkVHozMuCEYLYI~jSAl|p#)HtDNC=QOf~mzh6cn0`wV0Taw3ryBl8d8- zwVgQ>lvHG@CZd+=D1NSPQbNKH80-WbZ%OY|9MNb>N_DK%1UMX-7-W&bI3Q!I2lil8 zO%(lid|`Y*UAjcw-C$5uJrEyHVn<#|c)@SSXYXluDquSML9vbfZVg(vA^k(*c7YDm zb~I}71vb@0UAeWK3ZgI+27M2TQX79}2!Mb9Js<5hApMRjpChGG0i`A&?oD%M1J#Tl zD#0y+{ejIua9|Q@{m2W)8X8JGbj?I2P&{x?xavbFv}lJ+U_&an6vmR#`R8YO6MmA- zai}uoHa%-jDB`>PTSzAv}gW@d`#QLGEr-@4(b4{e%-d@ zLc9zV=X7p%S`B5}2p>SQU{Ox=yG!}7d zGFYDV_3S2i$&ncUmw4sJOObfFNfB8SLe>;QX*9Z}jW96fX}n~=EsLE)E9NO*#xR#p zpQV11~Qx@_*cv^Psq`5LyDBxN;@|_gSCM4jRV2T&xRJ!ao4v?$dsR z@J&KxK%p9;UOB@W^iaSBv#_8H1c@i0(DpE*Zt$iDF&H6apvnjnX(4C?yBpyyqId)e z7zvdj%CB>CqXR#Wuk*H|YAPavk-zu){0OH+LN1_k8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icker.md new file mode 100644 index 000000000..9d2dcf583 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/DatePicker.md @@ -0,0 +1,6 @@ +--- +id: date-picker +title: DatePicker +--- + +DatePicker is currently in progress and will be coming soon. Till then you can use React Native's [DateTimePicker](https://github.com/react-native-datetimepicker/datetimepicker). diff --git a/versioned_docs/version-3.2.0/migration/DeckSwiper.md b/versioned_docs/version-3.2.0/migration/DeckSwiper.md new file mode 100644 index 000000000..9fd590f78 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/DeckSwiper.md @@ -0,0 +1,8 @@ +--- +id: deck-swiper +title: DeckSwiper +--- + +We're still thinking whether we should add a DeckSwiper component, let us know on [discord channel](https://discord.com/invite/TSgCw2UPmb). +Till then you can use [react-native-deck-swiper +](https://www.npmjs.com/package/react-native-deck-swiper). diff --git a/versioned_docs/version-3.2.0/migration/Drawer.md b/versioned_docs/version-3.2.0/migration/Drawer.md new file mode 100644 index 000000000..1c4f74752 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Drawer.md @@ -0,0 +1,6 @@ +--- +id: drawer +title: Drawer +--- + +Drawer component is still in progress, until it's done you can check out the recipe of integrating React Navigation's [DrawerNavigation](https://reactnavigation.org/docs/drawer-based-navigation/) in NB. diff --git a/versioned_docs/version-3.2.0/migration/FABs.md b/versioned_docs/version-3.2.0/migration/FABs.md new file mode 100644 index 000000000..7c7e20906 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/FABs.md @@ -0,0 +1,63 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Migrating [`FAB`](FAB.md) to v3 will provide a lot more **design**, **size**, **color** and **customisation** option. + +## Overview + +Migrating Badge components can broadly described in these points: + +- Instead of Passing Icon as child, use `icon` prop. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { Container, Header, View, Icon, Fab } from 'native-base'; +export default function () { + return ( + +

+ + + + + + + ); +} +``` + + + + +```tsx +import React from 'react'; +import { Fab, Icon } from 'native-base'; + +export default function () { + return ( + } + /> + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/FooterTab.md b/versioned_docs/version-3.2.0/migration/FooterTab.md new file mode 100644 index 000000000..6262a397a --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/FooterTab.md @@ -0,0 +1,6 @@ +--- +id: footer-tab +title: FooterTab +--- + +With NativeBase v3 we have removed FooterTab components because as it's very simple to create using HStack components. You can checkout the [recipe](buildingFooterTabs.md). diff --git a/versioned_docs/version-3.2.0/migration/Form.md b/versioned_docs/version-3.2.0/migration/Form.md new file mode 100644 index 000000000..c7fe61675 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Form.md @@ -0,0 +1,72 @@ +--- +id: form +title: Form +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +With NativeBase v3 we have replaced Form with [`FormControl`](formControl.md) and sliced into [`FormControl.Label`](formControl.md#formcontrollabel), [`FormControl.HelperText`](formControl.md#formcontrolhelpertext) and [`FormControl.ErrorMessage`](formControl#formcontrolerrormessage). + +Here an example to show the code comparison. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { Form, Item, Input } from 'native-base'; +export default class FormExample extends Component { + render() { + return ( +
+ + + + + + + + +
+ ); + } +} +// need to re-write +``` + +
+ + +```tsx +import React from 'react'; +import { Input, Stack, FormControl } from 'native-base'; +export const FormExample = () => { + return ( + + + + Username + + + + Password + + + + + ); +}; + +// v3 version +``` + + +
diff --git a/versioned_docs/version-3.2.0/migration/Header.md b/versioned_docs/version-3.2.0/migration/Header.md new file mode 100644 index 000000000..9ec9f0288 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Header.md @@ -0,0 +1,6 @@ +--- +id: header +title: Header +--- + +With v3 we have removed the **Header** as it can be easily built using `HStack`. You can checkout its recipe [here](/buildingAppBar). diff --git a/versioned_docs/version-3.2.0/migration/Icon.md b/versioned_docs/version-3.2.0/migration/Icon.md new file mode 100644 index 000000000..cdaba70a0 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Icon.md @@ -0,0 +1,80 @@ +--- +id: icon +title: Icon +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Migrating [`Icon`](icon.md) to v3 will provide a lot more **customisation** option. You can also create custom icons using SVG. + +## Overview + +Migrating Icon components can broadly described in these points: + +- **ios**, **android** and **type** props have been deprecated. +- default Icon type i.e **Ionicons** has been removed, now v3 does not uses any. +- v3 uses a third-party icon library ( such as @expo/vector-icons ), with **as** prop. +- custom colors and size can be added using **color** and **size** props. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { Icon } from 'native-base'; + +export default class IconExample extends Component { + render() { + return ( + <> + + + + + ); + } +} +// need to re-write +``` + + + + +```tsx +import React from 'react'; +import { Platform } from 'react-native'; +import { Icon } from 'native-base'; +import { Ionicons, FontAwesome } from '@expo/vector-icons'; + +export default function () { + return ( + <> + + + + + ); +} + +// v3 version +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Layout.md b/versioned_docs/version-3.2.0/migration/Layout.md new file mode 100644 index 000000000..40ecc91a0 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Layout.md @@ -0,0 +1,77 @@ +--- +id: layout +title: Layout +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +## Grid + +You can easily design layouts with [Row](hStack.md) or [Column](VStack.md) components. + +## List + +With NativeBase v3 we have removed List components because as it's very simple to create various list layout using primitive components. + +### Code Comparison + + + + +```tsx + + + + Simon Mignolet + + + + + + + + Nathaniel Clyne + + + + + + + + Dejan Lovren + + + + + + +``` + + + + +```tsx +} w="90%"> + + Simon Mignolet + + + + Nathaniel Clyne + + + + Dejan Lovren + + + +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/List.md b/versioned_docs/version-3.2.0/migration/List.md new file mode 100644 index 000000000..e69de29bb diff --git a/versioned_docs/version-3.2.0/migration/Picker.md b/versioned_docs/version-3.2.0/migration/Picker.md new file mode 100644 index 000000000..87dbb6037 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Picker.md @@ -0,0 +1,91 @@ +--- +id: picker +title: Picker +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +With v3 we have replaced the **Picker** with [`Select`](select.md). + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { Container, Header, Content, Picker, Form } from 'native-base'; + +export default class PickerExample extends Component { + constructor(props) { + super(props); + this.state = { + selected: 'key1', + }; + } + onValueChange(value: string) { + this.setState({ + selected: value, + }); + } + render() { + return ( + +
+ +
+ + + + + + + +
+
+ + ); + } +} +``` + + + + +```tsx +import React from 'react'; +import { Icon, Select } from 'native-base'; + +export default function () { + let [language, setLanguage] = React.useState('key0'); + return ( + + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Radio Button.md b/versioned_docs/version-3.2.0/migration/Radio Button.md new file mode 100644 index 000000000..a2ccedd08 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Radio Button.md @@ -0,0 +1,95 @@ +--- +id: radio-button +title: Radio Button +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Migrating [`Radio`](radio.md) to v3 will provide a lot more **design**, **size**, **color** and **customisation** option. + +## Overview + +Migrating Radio components can broadly described in these points: + +- In v3 `Radio` can only used along with `Radio.Group`. +- **selected** is deprecated, instead v3 provides with **value** prop in `Radio.Group`. +- Colors of the Radio: + **color** and **selectedColor** props are deprecated, instead now in v3 **color** is controlled by `colorScheme` prop, and it accepts all the color available in the theme. +- **onPress** prop is deprecated, instead v3 provides **onChange** which provides a callback when state of the checkbox change. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { ListItem, Container, Content, Header, Text, Radio } from 'native-base'; +export default class RadioButtonExample extends Component { + constructor() { + super(); + this.state = { + itemSelected: '', + }; + } + render() { + return ( + +
+ + + this.setState({ itemSelected: 'one' })} + selected={this.state.itemSelected == 'one'} + /> + One + + + this.setState({ itemSelected: 'two' })} + selected={this.state.itemSelected == 'two'} + /> + Two + + + + ); + } +} +``` + + + + +```tsx +import React from 'react'; +import { Radio } from 'native-base'; +export default function () { + const [value, setValue] = React.useState('one'); + return ( + { + setValue(nextValue); + }} + > + + One + + + Two + + + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Searchbar.md b/versioned_docs/version-3.2.0/migration/Searchbar.md new file mode 100644 index 000000000..3f02a608a --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Searchbar.md @@ -0,0 +1,6 @@ +--- +id: search-bar +title: Search Bar +--- + +With NativeBase v3 we have removed **Searchbar** components because as it's very simple to create using `Input` components. To view some examples for seachbars, checkout the [searchbar recipe](buildingSearchBar.md). diff --git a/versioned_docs/version-3.2.0/migration/Segment.md b/versioned_docs/version-3.2.0/migration/Segment.md new file mode 100644 index 000000000..1f80beece --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Segment.md @@ -0,0 +1,7 @@ +--- +id: segment +title: Segment +--- + +With NativeBase v3 we have removed the **Segment** component because it's more like a Tab component. You can check out the Tab recipe +[here](buildingTabView.md). diff --git a/versioned_docs/version-3.2.0/migration/Spinner.md b/versioned_docs/version-3.2.0/migration/Spinner.md new file mode 100644 index 000000000..a4f8f160d --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Spinner.md @@ -0,0 +1,47 @@ +--- +id: spinner +title: Spinner +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Migrating [`Spinner`](spinner.md) to v3 will provide a lot more **size**, **color** and **customisation** option. + +## Overview + +Migrating Spinner components can broadly described in these points: + +- Get 2 size options, namely **sm/small** and **lg/large** or pass a number as a **size** prop. +- In v3 the color are provided by theme, so the shade for the color should be passed along with the color name. + +## Code Comparison + + + + +```tsx + + + + +``` + + + + +```tsx + + + + + +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/SwipeList.md b/versioned_docs/version-3.2.0/migration/SwipeList.md new file mode 100644 index 000000000..7f7b0f37b --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/SwipeList.md @@ -0,0 +1,6 @@ +--- +id: swipe-list +title: SwipeList +--- + +With NativeBase v3 we have removed **SwipeList** component. To view example for SwipeList built using [react-native-swipe-list](https://www.npmjs.com/package/react-native-swipe-list-view) in NB, checkout this [recipe](buildingSwipeList.md). diff --git a/versioned_docs/version-3.2.0/migration/Tabs.md b/versioned_docs/version-3.2.0/migration/Tabs.md new file mode 100644 index 000000000..bcbe293cd --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Tabs.md @@ -0,0 +1,67 @@ +--- +id: tabs +title: Tabs +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +API for Tabs is in progress, in the meantine you can check this [recipe](buildingTabView.md) for building Tabs. + + diff --git a/versioned_docs/version-3.2.0/migration/Thumbnail.md b/versioned_docs/version-3.2.0/migration/Thumbnail.md new file mode 100644 index 000000000..2f8e46907 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Thumbnail.md @@ -0,0 +1,73 @@ +--- +id: thumbnail +title: Thumbnail +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +With v3 we have replaced the **Thumbnail** with [`Image`](image.md). And we also provide [`Avatar`](avatar.md) as well. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { Container, Header, Content, Thumbnail, Text } from 'native-base'; +export default class ThumbnailExample extends Component { + render() { + const uri = + 'https://facebook.github.io/react-native/docs/assets/favicon.png'; + return ( + +
+ + Square Thumbnail + + + + Circular Thumbnail + + + + + + ); + } +} +``` + + + + +```tsx +import React from 'react'; +import { Avatar, VStack, Text, Image } from 'native-base'; + +export default function () { + const uri = 'https://facebook.github.io/react-native/docs/assets/favicon.png'; + + return ( + + Square Thumbnail + react-native + react-native + react-native + Circular Thumbnail + + + + + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Toast.md b/versioned_docs/version-3.2.0/migration/Toast.md new file mode 100644 index 000000000..3c1aec5ac --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Toast.md @@ -0,0 +1,84 @@ +--- +id: toast +title: Toast +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +In v3, [`Toast`](toast.md) can be created using **useToast** hook + +## Overview + +Migrating Toast components can broadly described in these points: + +- **buttonText** is no longer supported. +- **type** (prop) → **status** prop. +- **position** (prop) → **placement** prop. + +## Code Comparison + + + + +```tsx +import React, { Component } from 'react'; +import { Container, Header, Content, Toast, Button, Text } from 'native-base'; + +export default class ToastExample extends Component { + render() { + return ( + +
+ + + + + ); + } +} +``` + + + + +```tsx +import React from 'react'; +import { Button, useToast } from 'native-base'; + +export default function () { + const toast = useToast(); + + return ( + + ); +} +``` + + + diff --git a/versioned_docs/version-3.2.0/migration/Typography.md b/versioned_docs/version-3.2.0/migration/Typography.md new file mode 100644 index 000000000..3f5f0e662 --- /dev/null +++ b/versioned_docs/version-3.2.0/migration/Typography.md @@ -0,0 +1,39 @@ +--- +id: typography +title: Typography +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +**H1**, **H2** and **H3** all have been replaced with [`Heading`](heading.md) component. + +## Code Comparison + + + + +```tsx +

Header One

+

Header Two

+

Header Three

+Default +``` + +
+ + +```tsx +Header One +Header Two +Header Three +Default +``` + + +
diff --git a/versioned_docs/version-3.2.0/migration/v3xtov32.md b/versioned_docs/version-3.2.0/migration/v3xtov32.md index a8a5eaff6..d15108d16 100644 --- a/versioned_docs/version-3.2.0/migration/v3xtov32.md +++ b/versioned_docs/version-3.2.0/migration/v3xtov32.md @@ -25,7 +25,6 @@ const yourCustomTheme = { ``` - ## Handling breaking changes Below is a rough account of the breaking API changes as well as the minimal change to migrate @@ -36,6 +35,10 @@ Below is a rough account of the breaking API changes as well as the minimal chan * Removed `Alert.Title`. Use `Text` component instead. * Removed `Alert.Description`. Use `Text` component instead. +### Divider: + +* Removed `size`. Use `thickness` prop instead. + ## Note: diff --git a/versioned_docs/version-3.2.0/modal.md b/versioned_docs/version-3.2.0/modal.md new file mode 100644 index 000000000..cd8f50169 --- /dev/null +++ b/versioned_docs/version-3.2.0/modal.md @@ -0,0 +1,104 @@ +--- +id: modal +title: Modal +--- + +import { ComponentTheme } from '../../src/components'; + +A Modal is a window overlaid on either the primary window or another dialog window. Content behind a modal dialog is **inert**, meaning that users cannot interact with it. + +## Import + +NativeBase exports Modal Compound component: + +- `Modal`: The wrapper that provides context for its children. +- `Modal.Content`: The container for the modal dialog's content. +- `Modal.Header`: The header that labels the modal dialog. +- `Modal.Footer`: The footer that houses the modal actions. +- `Modal.Body`: The wrapper that houses the modal's main content. +- `Modal.CloseButton`: The button that closes the modal. + +```jsx +import { Modal } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,Modal,Basic.tsx + +``` + +### Multiple Modals + +```ComponentSnackPlayer path=composites,Modal,MultipleModal.tsx + +``` + +### Modal Sizes + +You can pass `size` prop to NativeBase Modal , it can take `sm`, `md`, `lg`, `full` that maps to **60%**, **75%**, **90%**, **100%**, or a string or a numerical width of the Modal. + +```ComponentSnackPlayer path=composites,Modal,Size.tsx + +``` + +### intialFocusRef and finalFocusRef Example + +```ComponentSnackPlayer path=composites,Modal,ModalRefEg.tsx + +``` + +### Modal with avoidKeyboard + +```ComponentSnackPlayer path=composites,Modal,ModalWithAvoidKeyboard.tsx + +``` + +### Modal Placement + +```ComponentSnackPlayer path=composites,Modal,ModalPlacement.tsx + +``` + +### Custom Backdrop Modal + +```ComponentSnackPlayer path=composites,Modal,CustomBackdrop.tsx + +``` + +
+ +:::tip Development Tip +If you want a specifically aligned Modal, pass `justifyContent` and `alignItems` to Modal. +::: + +## Accessibility + +Uses React Native ARIA [@react-native-aria/focus](https://react-native-aria.geekyants.com/docs/FocusScope) which follows the [Dialog Modal WAI-ARIA design pattern](https://www.w3.org/TR/wai-aria-practices-1.2/#dialog_modal). + +### Keyboard Interactions + +| Key | Description | +| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Tab` | Moves focus to the next tabbable element inside the dialog. If focus is on the last tabbable element inside the dialog, moves focus to the first tabbable element inside the dialog. | +| `Shift` + `Tab` | Moves focus to the previous tabbable element inside the dialog. If focus is on the first tabbable element inside the dialog, moves focus to the last tabbable element inside the dialog. | +| `Escape` | Closes the dialog | + +## Props + +### Modal + +```ComponentPropTable path=composites,Modal,Modal.tsx + +``` + +### Children components + +- `Modal.Header`, `Modal.Footer` and `Modal.Body` composes the [`Box`](box.md) component. +- `Modal.CloseButton` composes the [`Button`](button.md). + +## Styling + + diff --git a/versioned_docs/version-3.2.0/nativebase-factory.md b/versioned_docs/version-3.2.0/nativebase-factory.md index 56c3a0ed7..242f0bdae 100644 --- a/versioned_docs/version-3.2.0/nativebase-factory.md +++ b/versioned_docs/version-3.2.0/nativebase-factory.md @@ -27,7 +27,7 @@ function FactoryViewExample () { export default function () { return ( -
+
@@ -56,7 +56,7 @@ function FactoryViewExample () { export default function () { return ( -
+
@@ -87,7 +87,7 @@ function FactoryViewModeExample () { export default function () { return ( -
+
@@ -99,27 +99,35 @@ export default function () { ```SnackPlayer name=NativeBase%20Factory%20Using%20Ref import React from 'react'; -import { Factory, Button, Stack, NativeBaseProvider,Center } from 'native-base'; +import { + Factory, + Button, + Stack, + NativeBaseProvider, + Center, +} from 'native-base'; import { TextInput } from 'react-native'; -function FactoryViewRefExample () { +function FactoryViewRefExample() { const NBInput = Factory(TextInput); const inputRef = React.useRef(null); return ( + p="2" + borderWidth="1" + borderColor="muted.200" + borderRadius="md" + placeholderTextColor="muted.400" + /> @@ -130,12 +138,13 @@ function FactoryViewRefExample () { export default function () { return ( -
+
); } + ``` ## Params diff --git a/versioned_docs/version-3.2.0/overlay.md b/versioned_docs/version-3.2.0/overlay.md index f18adee91..4dbcbad8c 100644 --- a/versioned_docs/version-3.2.0/overlay.md +++ b/versioned_docs/version-3.2.0/overlay.md @@ -35,7 +35,7 @@ function OverlayComponent () { export default function () { return ( -
+
@@ -79,7 +79,7 @@ function OverlayComponent () { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/popOver.md b/versioned_docs/version-3.2.0/popOver.md index 40a7f4d36..a32829822 100644 --- a/versioned_docs/version-3.2.0/popOver.md +++ b/versioned_docs/version-3.2.0/popOver.md @@ -41,7 +41,7 @@ import { Popover } from 'native-base'; ``` -:::tip Tip +:::tip Development Tip You can pass custom backgroundColor using `bg` or `backgroundColor`, `borderColor` and `borderWidth` to Popover.Content. ::: diff --git a/versioned_docs/version-3.2.0/presence-transition.md b/versioned_docs/version-3.2.0/presence-transition.md new file mode 100644 index 000000000..2e725036a --- /dev/null +++ b/versioned_docs/version-3.2.0/presence-transition.md @@ -0,0 +1,63 @@ +--- +id: presence-transition +title: PresenceTransition +--- + +PresenceTransition provides a declarative API to add entry and exit transitions. + +### Fade + +```ComponentSnackPlayer path=composites,Transitions,Fade.tsx + +``` + +### ScaleFade + +```ComponentSnackPlayer path=composites,Transitions,ScaleFade.tsx + +``` + +## Props + +```ComponentPropTable path=composites,Transitions,PresenceTransition.tsx showStylingProps=true + +``` + +### ISupportedTransitions + +```js +interface ISupportedTransitions { + opacity?: number; + translateY?: number; + translateX?: number; + scale?: number; + scaleX?: number; + scaleY?: number; + rotate?: string; +} +``` + +### ITransitionStyleProps + +```js +interface ITransitionStyleProps extends ISupportedTransitions { + transition?: { + type?: 'timing' | 'spring', + easing?: (value: number) => number, + overshootClamping?: boolean, + restDisplacementThreshold?: number, + restSpeedThreshold?: number, + velocity?: number | { x: number, y: number }, + bounciness?: number, + speed?: number, + tension?: number, + friction?: number, + stiffness?: number, + mass?: number, + damping?: number, + delay?: number, + duration?: number, + useNativeDriver?: boolean, + }; +} +``` diff --git a/versioned_docs/version-3.2.0/pressable.md b/versioned_docs/version-3.2.0/pressable.md new file mode 100644 index 000000000..4f37c810d --- /dev/null +++ b/versioned_docs/version-3.2.0/pressable.md @@ -0,0 +1,32 @@ +--- +id: pressable +title: Pressable +--- + +Pressable is a lower level primitive if you need more flexibility than a button and access to hover, pressed and focus events. + +## Examples + +### Basic + +Pressable accepts most of the utility style system props. + +```ComponentSnackPlayer path=primitives,Pressable,Basic.tsx + +``` + +### Accessing events (hover, focus and pressed) + +Pressable accepts a render prop children, which receives isHovered, isFocused and isPressed props. + +```ComponentSnackPlayer path=primitives,Pressable,Events.tsx + +``` + +## Props + +### Pressable + +```ComponentPropTable path=primitives,Pressable,Pressable.tsx showStylingProps=true + +``` diff --git a/versioned_docs/version-3.2.0/progress.md b/versioned_docs/version-3.2.0/progress.md new file mode 100644 index 000000000..9fe5ee80c --- /dev/null +++ b/versioned_docs/version-3.2.0/progress.md @@ -0,0 +1,62 @@ +--- +id: progress +title: Progress +--- + +import { ComponentTheme } from '../../src/components'; + +`Progress` is used to display the progress status for a task that takes a long time or consists of several steps. + +## Import + +```jsx +import { Progress } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,Progress,Basic.tsx + +``` + +### Progress colorScheme + +```ComponentSnackPlayer path=composites,Progress,ColorScheme.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=composites,Progress,Sizes.tsx + +``` + +### Flat Progress + +```ComponentSnackPlayer path=composites,Progress,Flat.tsx + +``` + +### Custom Track Color + +```ComponentSnackPlayer path=composites,Progress,CustomBgColor.tsx + +``` + +## Props + +```ComponentPropTable path=composites,Progress,index.tsx + +``` + +## Styling + + + +## Accessibility + +- Adheres to the `progressbar` [role requirements.](https://www.w3.org/TR/wai-aria-1.2/#progressbar) +- On web, `aria-valuenow`, `aria-valuemin` and `aria-valuemax` to ensure the progress percent is visible to screen readers. +- On mobile, [accessibilityValue](https://reactnative.dev/docs/accessibility#accessibilityvalue) is used to ensure it's announced by Talkback and VoiceOver. diff --git a/versioned_docs/version-3.2.0/radio.md b/versioned_docs/version-3.2.0/radio.md new file mode 100644 index 000000000..63485030b --- /dev/null +++ b/versioned_docs/version-3.2.0/radio.md @@ -0,0 +1,97 @@ +--- +id: radio +title: Radio +--- + +import { ComponentTheme } from '../../src/components'; + +`Radio` is used when only one choice may be selected in a series of options. + +## Examples + +### Controlled + +```ComponentSnackPlayer path=primitives,Radio,controlledRadio.tsx + +``` + +### Uncontrolled + +```ComponentSnackPlayer path=primitives,Radio,uncontrolledRadio.tsx + +``` + +### Disabled + +```ComponentSnackPlayer path=primitives,Radio,disabled.tsx + +``` + +### Invalid + +```ComponentSnackPlayer path=primitives,Radio,invalid.tsx + +``` + +### Size + +```ComponentSnackPlayer path=primitives,Radio,size.tsx + +``` + +### Custom Color + +```ComponentSnackPlayer path=primitives,Radio,customColor.tsx + +``` + +### Custom Icon + +```ComponentSnackPlayer path=primitives,Radio,customIcon.tsx + +``` + +### Form Controlled + +```ComponentSnackPlayer path=primitives,Radio,formControlled.tsx + +``` + +### Basic (With Ref) + +```ComponentSnackPlayer path=primitives,Radio,withRef.tsx + +``` + +## Props + +### Radio + +```ComponentPropTable path=primitives,Radio,Radio.tsx + +``` + +### Radio Group + +```ComponentPropTable path=primitives,Radio,RadioGroup.tsx + +``` + +## Accessibility + +Uses React Native ARIA [@react-native-aria/radio](https://react-native-aria.geekyants.com/docs/useRadioGroup) which follows the [Radio Group WAI-ARIA design pattern](https://www.w3.org/TR/wai-aria-practices-1.2/#radiobutton). + +### Keyboard Interactions + +| Key | Description | +| ------------ | ---------------------------------------------------------------------------------- | +| `Tab` | Moves focus to either the checked radio item or the first radio item in the group. | +| `Space` | When focus is on an unchecked radio item, checks it. | +| `ArrowDown` | Moves focus to the next radio item in the group. | +| `ArrowRight` | Moves focus to the next radio item in the group. | +| `ArrowUp` | Moves focus to the previous radio item in the group. | +| `ArrowLeft` | Moves focus to the previous radio item in the group. | + +## Styling + + diff --git a/versioned_docs/version-3.2.0/responsive.md b/versioned_docs/version-3.2.0/responsive.md index 4632e852a..aa66b499a 100644 --- a/versioned_docs/version-3.2.0/responsive.md +++ b/versioned_docs/version-3.2.0/responsive.md @@ -40,7 +40,7 @@ function BreakpointExample () { export default function () { return ( -
+
@@ -69,7 +69,7 @@ function BreakpointExample () { export default function () { return ( -
+
@@ -83,53 +83,91 @@ Here's a simple example of a component that uses a stacked layout on small scree ```SnackPlayer name=Responsive%20Demo import React from 'react'; -import { NativeBaseProvider, Center, Box, Text, Image, Heading, Stack } from 'native-base'; -function BreakpointExample () { +import { + useToken, + NativeBaseProvider, + Center, + Text, + Box, + HStack, + Image, + Stack, + Heading, +} from 'native-base'; + +function Example() { return ( - - + width={['72', '72', '4/6']} + shadow={1} + _light={{ backgroundColor: 'coolGray.50' }} + _dark={{ backgroundColor: 'gray.700' }}> + Shoes +
+ PHOTOS +
- - - Just In - - - Jordan MA2 - - Older Kids' Shoe - - - 2 colors + + + + The Garden City + + + The Silicon Valley of India. - - $ 150 + + Bengaluru (also called Bangalore) is the center of India's high-tech + industry. The city is also known for its parks and nightlife. + + + + 6 mins ago + + + -
+ ); -}; +} // Example template which wraps component with NativeBaseProvider export default function () { return ( -
- +
+
); } + + ``` diff --git a/versioned_docs/version-3.2.0/safe-area-view-props.md b/versioned_docs/version-3.2.0/safe-area-view-props.md new file mode 100644 index 000000000..a1b0deda8 --- /dev/null +++ b/versioned_docs/version-3.2.0/safe-area-view-props.md @@ -0,0 +1,99 @@ +--- +id: safe-area-view-props +title: SafeAreaView Props +--- + +To make your components respect the [SafeAreaView](https://reactnative.dev/docs/safeareaview) of the device, we have provided some props that you can use with Box component. They apply a safe padding to your component in the parts decided by the passed props. These props accept either a boolean or a number. If boolean is passed then component takes flexible inset and adjusts its children according to the the device. If a number is passed then it provides a fixed inset in the chosen direction. + +- `safeArea`: Apply safe padding to all edges. +- `safeAreaX`: Apply safe padding to x direction. +- `safeAreaY`: Apply safe padding to y direction. +- `safeAreaTop`: Apply safe padding to top. +- `safeAreaBottom`: Apply safe padding to bottom. +- `safeAreaLeft`: Apply safe padding to left. +- `safeAreaRight`: Apply safe padding to right. + +Internally, NativeBase uses [useSafeAreaInsets](https://docs.expo.io/versions/latest/sdk/safe-area-context/#hooks) hook of [react-native-safe-area-context](https://github.com/th3rdwave/react-native-safe-area-context). + +:::info +SafeAreaView props can only be applied on [Box](box.md) as of now. To make you App SafeArea safe, just wrap your app with a Box and pass safeArea props to it. +::: + +## Examples + +### Flexible SafeArea + +```SnackPlayer name=SafeAreaView%20Boolean +import React from 'react'; +import { NativeBaseProvider, Box, Text } from 'native-base'; +function MyComponent() { + return ( + // This would look different on devices with different insets + + NativeBase + + ); +} + +// Example template which wraps component with NativeBaseProvider +export default function () { + return ( + + + + ); +} +``` + +### Fixed SafeArea + +```SnackPlayer name=SafeAreaView%20Boolean +import React from 'react'; +import { NativeBaseProvider, Box, Text } from 'native-base'; +function MyComponent() { + return ( + // This would look same on all devices + + NativeBase + + ); +} + +// Example template which wraps component with NativeBaseProvider +export default function () { + return ( + + + + ); +} + +``` + +### Using Hook + +If you want to add the SafeAreaView props to other components, you can use the hook. Since, `SafeAreaView` props add relevant padding to the components, you will need to pass the padding manually that you are applying to the component for it to return the SafeArea adjusted padding. + +```SnackPlayer name=SafeAreaView%20Boolean +import React from 'react'; +import { NativeBaseProvider, Box, Text, useSafeArea } from 'native-base'; +function MyComponent() { + const safeAreaProps = useSafeArea({ safeAreaTop: true, pt: 2 }); + return ( + // This would look same on all devices + + NativeBase + + ); +} + +// Example template which wraps component with NativeBaseProvider +export default function () { + return ( + + + + ); +} + +``` diff --git a/versioned_docs/version-3.2.0/scrollview.md b/versioned_docs/version-3.2.0/scrollview.md new file mode 100644 index 000000000..1064515aa --- /dev/null +++ b/versioned_docs/version-3.2.0/scrollview.md @@ -0,0 +1,18 @@ +--- +id: scrollview +title: Scrollview +--- + +Provides a scrolling container that can host multiple components and views. + +## Example + +```ComponentSnackPlayer path=basic,ScrollView,Basic.tsx + +``` + +## Props + +```ComponentPropTable path=basic,ScrollView,ScrollView.tsx showStylingProps=true + +``` diff --git a/versioned_docs/version-3.2.0/sectionList.md b/versioned_docs/version-3.2.0/sectionList.md new file mode 100644 index 000000000..329206a1d --- /dev/null +++ b/versioned_docs/version-3.2.0/sectionList.md @@ -0,0 +1,18 @@ +--- +id: section-list +title: SectionList +--- + +A performant interface for rendering sectioned lists. + +## Example + +```ComponentSnackPlayer path=basic,SectionList,Basic.tsx + +``` + +## Props + +```ComponentPropTable path=basic,SectionList,SectionList.tsx showStylingProps=true + +``` diff --git a/versioned_docs/version-3.2.0/select.md b/versioned_docs/version-3.2.0/select.md new file mode 100644 index 000000000..cfecd7ead --- /dev/null +++ b/versioned_docs/version-3.2.0/select.md @@ -0,0 +1,87 @@ +--- +id: select +title: Select +--- + +import { ComponentTheme } from '../../src/components'; + +import { AndroidBadge } from "/src/components/index"; + +Select creates a dropdown list of items with the selected item in closed view. + +## Import + +```jsx +import { Select } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Select,Basic.tsx + +``` + +### FormControlled + +```ComponentSnackPlayer path=primitives,Select,FormControlled.tsx + +``` + +### Select + +## Props + +```ComponentPropTable path=primitives,Select,Select.tsx + +``` + +### Select.Item + +## Props + +```ComponentPropTable path=primitives,Select,SelectItem.tsx + +``` + + + + + +## Styling + + + +## Accessibility + +- use `native` variant. Accessibility improvements on styled variant is in-progress. diff --git a/versioned_docs/version-3.2.0/setup-provider.md b/versioned_docs/version-3.2.0/setup-provider.md index 6f548dfcd..91ab8c8b7 100644 --- a/versioned_docs/version-3.2.0/setup-provider.md +++ b/versioned_docs/version-3.2.0/setup-provider.md @@ -111,7 +111,7 @@ const config = { export default () => { return ( -
+
diff --git a/versioned_docs/version-3.2.0/slide.md b/versioned_docs/version-3.2.0/slide.md new file mode 100644 index 000000000..fb8279ee1 --- /dev/null +++ b/versioned_docs/version-3.2.0/slide.md @@ -0,0 +1,38 @@ +--- +id: slide +title: Slide +--- + +Slide component provides a declarative API to add sliding transitions. + +## Import + +## Examples + +### Slide + +```ComponentSnackPlayer path=composites,Transitions,Slide.tsx + +``` + +### Slide wrapped inside parent + +```ComponentSnackPlayer path=composites,Transitions,SlideWrapped.tsx + +``` + +### Slide Composition + +```ComponentSnackPlayer path=composites,Transitions,SlideComposition.tsx + +``` + +## Props + +### Slide + +| Name | Type | Description | Default | +| --------- | -------------------------------- | ------------------------------------------------------ | -------- | +| in | boolean | Show the component; triggers the enter or exit states. | - | +| duration | number | Duration of animation in mili second. | 500 | +| placement | `top` ,`bottom`, `left`, `right` | The direction to slide drawer from. | `bottom` | diff --git a/versioned_docs/version-3.2.0/slider.md b/versioned_docs/version-3.2.0/slider.md index e82c18e92..8c2d7365d 100644 --- a/versioned_docs/version-3.2.0/slider.md +++ b/versioned_docs/version-3.2.0/slider.md @@ -79,12 +79,12 @@ Adheres to the [Slider WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria- ### Keyboard Interactions -| Name | Description | -| ---------- | ----------------------------------------------------------------- | -| ArrowRight | Increments/decrements by the step value depending on orientation. | -| ArrowLeft | Increments/decrements by the step value depending on orientation. | -| ArrowUp | Increases the value by the step amount. | -| ArrowDown | Decreases the value by the step amount. | +| Name | Description | +| ------------------|-------------| +| ArrowRight | Increments/decrements by the step value depending on orientation.| +| ArrowLeft | Increments/decrements by the step value depending on orientation. +| ArrowUp | Increases the value by the step amount. +| ArrowDown | Decreases the value by the step amount. diff --git a/versioned_docs/version-3.2.0/spinner.md b/versioned_docs/version-3.2.0/spinner.md new file mode 100644 index 000000000..359275a20 --- /dev/null +++ b/versioned_docs/version-3.2.0/spinner.md @@ -0,0 +1,32 @@ +--- +id: spinner +title: Spinner +--- + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Spinner,usage.tsx + +``` + +### Colors + +```ComponentSnackPlayer path=primitives,Spinner,color.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=primitives,Spinner,size.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Spinner,index.tsx + +``` + +Spinner composes [`ActivityIndicator`](https://reactnative.dev/docs/activityindicator) so all `ActivityIndicator` Props can be passed to Spinner. diff --git a/versioned_docs/version-3.2.0/stack.md b/versioned_docs/version-3.2.0/stack.md new file mode 100644 index 000000000..12ac4ecae --- /dev/null +++ b/versioned_docs/version-3.2.0/stack.md @@ -0,0 +1,18 @@ +--- +id: stack +title: Stack +--- + +`Stack` aligns items vertically or horizontally based on the `direction` prop. + +## Example + +```ComponentSnackPlayer path=primitives,Stack,basic.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Stack,Stack.tsx + +``` diff --git a/versioned_docs/version-3.2.0/stagger.md b/versioned_docs/version-3.2.0/stagger.md new file mode 100644 index 000000000..ac8bce5c4 --- /dev/null +++ b/versioned_docs/version-3.2.0/stagger.md @@ -0,0 +1,54 @@ +--- +id: stagger +title: Stagger +--- + +Stagger component provides a declarative API to add Staggered Transitions. + +## Example + +```ComponentSnackPlayer path=composites,Transitions,Stagger.tsx + +``` + +## Props + +```ComponentPropTable path=composites,Transitions,Stagger.tsx showStylingProps=true + +``` + +## IStaggerStyleProps + +```js +interface IStaggerStyleProps extends ISupportedTransition { + transition?: { + stagger?: { + /** + * Delay to add to each child + */ + offset: number, + /** + * When true, delay is added from the last child + */ + reverse?: boolean, + }, + + type?: 'timing' | 'spring', + easing?: (value: number) => number, + overshootClamping?: boolean, + restDisplacementThreshold?: number, + restSpeedThreshold?: number, + velocity?: number | { x: number, y: number }, + bounciness?: number, + speed?: number, + tension?: number, + friction?: number, + stiffness?: number, + mass?: number, + damping?: number, + delay?: number, + duration?: number, + useNativeDriver?: boolean, + }; +} +``` diff --git a/versioned_docs/version-3.2.0/statusBar.md b/versioned_docs/version-3.2.0/statusBar.md new file mode 100644 index 000000000..c8769bda1 --- /dev/null +++ b/versioned_docs/version-3.2.0/statusBar.md @@ -0,0 +1,18 @@ +--- +id: status-bar +title: StatusBar +--- + +Component to control the app status bar. + +## Example + +```ComponentSnackPlayer path=basic,StatusBar,Basic.tsx + +``` + +## Props + +```ComponentPropTable path=basic,StatusBar,StatusBar.tsx showStylingProps=true + +``` diff --git a/versioned_docs/version-3.2.0/swipableList.md b/versioned_docs/version-3.2.0/swipableList.md new file mode 100644 index 000000000..e19b2bd22 --- /dev/null +++ b/versioned_docs/version-3.2.0/swipableList.md @@ -0,0 +1,6 @@ +--- +id: swipable-list +title: Swipable List +--- + +## Coming Soon diff --git a/versioned_docs/version-3.2.0/switch.md b/versioned_docs/version-3.2.0/switch.md new file mode 100644 index 000000000..3d1f07574 --- /dev/null +++ b/versioned_docs/version-3.2.0/switch.md @@ -0,0 +1,50 @@ +--- +id: switch +title: Switch +--- + +The `Switch` component is an alternative to the Checkbox component. You can switch between enabled or disabled states. + +## Examples + +### Basic + +```ComponentSnackPlayer path=primitives,Switch,Basic.tsx + +``` + +### Sizes + +```ComponentSnackPlayer path=primitives,Switch,Sizes.tsx + +``` + +### Track & Thumb Color + +```ComponentSnackPlayer path=primitives,Switch,SwitchBgColor.tsx + +``` + +### Color Schemes + +```ComponentSnackPlayer path=primitives,Switch,ColorSchemes.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Switch,index.tsx showStylingProps=true + +``` + +## Accessibility + +- On mobile, uses native switch which is fully accessible. +- On web, it uses checkbox with a [role](https://www.w3.org/TR/wai-aria-1.2/#switch) set to `switch`. + + +### Keyboard Interactions + +| Name | Description | +| --------------------|-------------| +| Space | Toggles the component's state. | \ No newline at end of file diff --git a/versioned_docs/version-3.2.0/testing.md b/versioned_docs/version-3.2.0/testing.md new file mode 100644 index 000000000..cfd5b0139 --- /dev/null +++ b/versioned_docs/version-3.2.0/testing.md @@ -0,0 +1,25 @@ +--- +id: testing +title: Testing +--- + +NativeBase works with react-native's jest preset or expo's jest-expo preset. However, there's one thing you'll need to do for it to work as expected. + +### Adding initialWindowMetrics in NativeBaseProvider. + +- NativeBaseProvider uses [SafeAreaContext](https://github.com/th3rdwave/react-native-safe-area-context#testing) which needs initialWindowMetrics to be passed to the Provider while testing. + +Not following the above may lead to an error related to SafeAreaProvider while running `yarn test`. + +To fix the above issue, you can simply pass initialWindowMetrics to NativeBaseProvider in your tests. + +```jsx +const inset = { + frame: { x: 0, y: 0, width: 0, height: 0 }, + insets: { top: 0, left: 0, right: 0, bottom: 0 }, +}; + + + {children} +; +``` diff --git a/versioned_docs/version-3.2.0/text.md b/versioned_docs/version-3.2.0/text.md new file mode 100644 index 000000000..10d3cdfe5 --- /dev/null +++ b/versioned_docs/version-3.2.0/text.md @@ -0,0 +1,44 @@ +--- +id: text +title: Text +--- + +import { ComponentTheme } from '../../src/components'; + +`Text` is used to render text and paragraphs within an interface. + +## Examples + +### ChangingFontSize + +```ComponentSnackPlayer path=primitives,Text,ChangingFontSize.tsx + +``` + +### Truncated + +```ComponentSnackPlayer path=primitives,Text,Truncated.tsx + +``` + +### Nested + +```ComponentSnackPlayer path=primitives,Text,Nested.tsx + +``` + +### Overridden + +```ComponentSnackPlayer path=primitives,Text,Overriden.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,Text,index.tsx showStylingProps=true + +``` + +## Styling + + diff --git a/versioned_docs/version-3.2.0/textArea.md b/versioned_docs/version-3.2.0/textArea.md new file mode 100644 index 000000000..31f18b444 --- /dev/null +++ b/versioned_docs/version-3.2.0/textArea.md @@ -0,0 +1,38 @@ +--- +id: textarea +title: TextArea +--- + +import { ComponentTheme } from '../../src/components'; + +The `Textarea` component allows you to easily create multi-line text inputs. + +## Examples + +### Usage + +```ComponentSnackPlayer path=primitives,TextArea,basic.tsx + +``` + +### Invalid and Disabled TextArea + +```ComponentSnackPlayer path=primitives,TextArea,invalid.tsx + +``` + +### Value Controlled TextArea + +```ComponentSnackPlayer path=primitives,TextArea,value.tsx + +``` + +## Props + +```ComponentPropTable path=primitives,TextArea,index.tsx + +``` + +## Styling + + diff --git a/versioned_docs/version-3.2.0/textField.md b/versioned_docs/version-3.2.0/textField.md index c5ef290be..0c98d5b26 100644 --- a/versioned_docs/version-3.2.0/textField.md +++ b/versioned_docs/version-3.2.0/textField.md @@ -30,7 +30,7 @@ function TextFieldComponent () { export default function () { return ( -
+
@@ -63,7 +63,7 @@ function TextFieldComponent () { export default function () { return ( -
+
@@ -110,7 +110,7 @@ function TextFieldComponent () { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/theme.md b/versioned_docs/version-3.2.0/theme.md index 0a7501159..db050174c 100644 --- a/versioned_docs/version-3.2.0/theme.md +++ b/versioned_docs/version-3.2.0/theme.md @@ -12,7 +12,7 @@ import React from 'react'; import { NativeBaseProvider, useTheme, - SimpleGrid, + FlatList, Center, Box, } from 'native-base'; @@ -20,11 +20,13 @@ import { function ColorPalete() { const { colors } = useTheme(); return ( - - {Object.keys(colors['emerald']).map((colorKey) => ( - - ))} - + + } + /> + ); } @@ -55,8 +57,9 @@ function Tokens() { 'lightText', ]); return ( -
- Contrast threshold is: +
+ Contrast threshold is:{' '} + {contrastThreshold}
@@ -67,13 +70,14 @@ function Tokens() { export default function () { return ( -
+
); } + ``` ## useContrastText @@ -83,10 +87,16 @@ If you are defining the background yourself and pass a contrasting color to the ```SnackPlayer name=useContrastText import React from 'react'; -import { Button, Stack, useContrastText, NativeBaseProvider, Center } from 'native-base'; -function UseContrastingTextHook () { - const bgDark = 'emerald.700'; - const bgLight = 'emerald.200'; +import { + Button, + Stack, + useContrastText, + NativeBaseProvider, + Center, +} from 'native-base'; +function UseContrastingTextHook() { + const bgDark = 'primary.700'; + const bgLight = 'primary.200'; const colorContrastDark = useContrastText(bgDark); const colorContrastLight = useContrastText(bgLight); @@ -106,12 +116,13 @@ function UseContrastingTextHook () { export default function () { return ( -
+
); } + ``` ## useColorMode @@ -122,7 +133,6 @@ If you want to define some conditionals based on current color mode or change th import React from 'react'; import { NativeBaseProvider, - VStack, useColorMode, Text, Button, @@ -132,23 +142,25 @@ import { function UseColorMode() { const { colorMode, toggleColorMode } = useColorMode(); return ( -
- - The active color mode is {colorMode} +
+ + The active color mode is{' '} + + {colorMode} +
); } -// Example template which wraps component with NativeBaseProvider -export default function () { +export default Example = () => { return ( ); -} +}; ``` @@ -168,24 +180,26 @@ import { } from 'native-base'; function UseColorMode() { - const { colorMode, toggleColorMode } = useColorMode(); + const { toggleColorMode } = useColorMode(); return ( -
- - The active color mode is {useColorModeValue('Light', 'Dark')} +
+ + The active color mode is{' '} + + {useColorModeValue('Light', 'Dark')} +
); } -// Example template which wraps component with NativeBaseProvider -export default function () { +export default Example = () => { return ( ); -} +}; ``` diff --git a/versioned_docs/version-3.2.0/toast.md b/versioned_docs/version-3.2.0/toast.md new file mode 100644 index 000000000..af50b7379 --- /dev/null +++ b/versioned_docs/version-3.2.0/toast.md @@ -0,0 +1,88 @@ +--- +id: toast +title: Toast +--- + +import { ComponentTheme } from '../../src/components'; + +`Toast` is used to show alerts on top of an overlay. `Toast` will close itself when the close button is clicked, or after a timeout — the default is 5 seconds. The toast component is used to give feeback to users after an action has taken place. + +Toasts can be configured to appear at either the top or the bottom of an application window, and it is possible to have more than one toast onscreen at a time. + +## Import + +```jsx +import { useToast } from 'native-base'; +``` + +## Examples + +### Basic + +```ComponentSnackPlayer path=composites,Toast,Basic.tsx + +``` + +### Position + +```ComponentSnackPlayer path=composites,Toast,ToastPositions.tsx + +``` + +### Custom component + +Display a custom component instead of the default Toast UI. + +```ComponentSnackPlayer path=composites,Toast,CustomComponent.tsx + +``` + +### Closing Toasts + +Toasts can be closed imperatively, individually (via the close instance method) or all together (via the closeAll instance method). + +```ComponentSnackPlayer path=composites,Toast,CloseToast.tsx + +``` + +### Status + +You can use status to change the color of your toasts. +`Toast` uses the same variants as the [Alert](alert.md) component. + +```ComponentSnackPlayer path=composites,Toast,ToastStatus.tsx + +``` + +### Preventing Duplicate Toast + +In some cases you might need to prevent duplicate of specific toasts. To achieve you need to pass an id and use the toast.isActive method to determine when to call toast.show(...). + +```ComponentSnackPlayer path=composites,Toast,PreventDuplicate.tsx + +``` + +### Standalone Toast + +You can use standalone toast where you don't have access to `useToast` hook. e.g. in a different file, out of a React component. + +```ComponentSnackPlayer path=composites,Toast,StandaloneToast.tsx + +``` + +## Props + +Below props can be passed while calling toast.show. + +```ComponentPropTable path=composites,Toast,ToastDummy.tsx + +``` + +## Accessibility + +- On Android and Web, Toast renders under a View with accessibilityLiveRegion which announces the content rendered inside it to screen reader devices. +- On iOS, accessibilityLiveRegion is not supported yet, so we use the [accessibilityAnnouncement](https://reactnative.dev/docs/accessibilityinfo#announceforaccessibility) to announce the content. + +## Styling + + diff --git a/versioned_docs/version-3.2.0/todo-list.md b/versioned_docs/version-3.2.0/todo-list.md index bbfeed2e9..d6b9632ff 100644 --- a/versioned_docs/version-3.2.0/todo-list.md +++ b/versioned_docs/version-3.2.0/todo-list.md @@ -6,7 +6,7 @@ title: Todo-List A simple To Do App made using NativeBase 3.0. ```SnackPlayer name=TodoList%20Examples -import React from "react"; +import React from 'react'; import { Input, Button, @@ -18,18 +18,20 @@ import { Heading, Icon, Center, - NativeBaseProvider -} from "native-base"; -import { FontAwesome5 } from '@expo/vector-icons'; + Box, + NativeBaseProvider, +} from 'native-base'; +import { FontAwesome5, Feather, Entypo } from '@expo/vector-icons'; export default function () { const instState = [ - { title: "code", isCompleted: true }, - { title: "sleep", isCompleted: false }, - { title: "repeat", isCompleted: false }, + { title: 'Code', isCompleted: true }, + { title: 'Meeting with team at 9', isCompleted: false }, + { title: 'Check Emails', isCompleted: false }, + { title: 'Write an article', isCompleted: false }, ]; const [list, setList] = React.useState(instState); - const [inputValue, setInputValue] = React.useState(""); + const [inputValue, setInputValue] = React.useState(''); const addItem = (title: string) => { setList([ ...list, @@ -56,58 +58,78 @@ export default function () { }; return ( -
- - Todo App - } - colorScheme="emerald" - ml="1" - onPress={() => { - addItem(inputValue); - setInputValue(""); - }} - - mr="1"/> - - } - onChangeText={(v) => setInputValue(v)} - value={inputValue} - placeholder="Add Item" - /> - - {list.map((item, itemI) => ( - - handleStatusChange(itemI)} - value={item.title} - > - - {item.title} - - - } - onPress={() => handleDelete(itemI)} - /> - - ))} - - -
-
+
+ + Wednesday + + + setInputValue(v)} + value={inputValue} + placeholder="Add Task" + /> + + } + onPress={() => { + addItem(inputValue); + setInputValue(''); + }} + /> + + + {list.map((item, itemI) => ( + + handleStatusChange(itemI)} + value={item.title}> + + {item.title} + + + + } + onPress={() => handleDelete(itemI)} + /> + + ))} + + + +
+ ); } + ``` diff --git a/versioned_docs/version-3.2.0/tooltip.md b/versioned_docs/version-3.2.0/tooltip.md index 0b13d53ca..5723d66e1 100644 --- a/versioned_docs/version-3.2.0/tooltip.md +++ b/versioned_docs/version-3.2.0/tooltip.md @@ -35,7 +35,9 @@ Tooltip is a wrapper around [Box](box.md). So, it also accepts all the [Box](box ``` -:::tip Tip +
+ +:::tip Development Tip You can pass custom backgroundColor using `bg` or `backgroundColor`, `borderColor` and `borderWidth` to Tooltip. ::: @@ -52,6 +54,7 @@ You can pass custom backgroundColor using `bg` or `backgroundColor`, `borderColo ## Accessibility Adheres to the [Tooltip WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-1.1/#tooltip) + ### Keyboard Interactions | Name | Description | diff --git a/versioned_docs/version-3.2.0/transition.md b/versioned_docs/version-3.2.0/transition.md index 6988f86b7..21c5ba47b 100644 --- a/versioned_docs/version-3.2.0/transition.md +++ b/versioned_docs/version-3.2.0/transition.md @@ -52,7 +52,7 @@ function FadeExample () { export default function () { return ( -
+
@@ -84,7 +84,7 @@ function ScaleFadeExample () { export default function () { return ( -
+
@@ -116,7 +116,7 @@ function SlideExample () { export default function () { return ( -
+
@@ -164,7 +164,7 @@ function SlideExample () { export default function () { return ( -
+
@@ -214,7 +214,7 @@ function SlideExample () { export default function () { return ( -
+
@@ -246,7 +246,7 @@ function SlideFadeExample () { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/useAccessibleColors.md b/versioned_docs/version-3.2.0/useAccessibleColors.md index 28bb181a1..1fa0dfd75 100644 --- a/versioned_docs/version-3.2.0/useAccessibleColors.md +++ b/versioned_docs/version-3.2.0/useAccessibleColors.md @@ -17,25 +17,31 @@ import { useAccessibleColors } from 'native-base'; import React from 'react'; import { Button, useContrastText, useTheme, NativeBaseProvider, Center, useAccessibleColors } from 'native-base'; + +const ButtonTemplate = ({ shade }: any) => { + const colorContrast = useContrastText(`yellow.${shade}`); + return ( + + ); +}; + function UseContrastingTextHook () { let [, , toggleAccessibleColors] = useAccessibleColors(); const { colors } = useTheme(); return ( <> - {Object.keys(colors.teal).map((key) => { - const colorContrast = useContrastText(`teal.${key}`); - return ( - - ); + {Object.keys(colors.yellow).map((key, index) => { + if (index > 2 && index < 9) return ; })} - @@ -45,7 +51,7 @@ function UseContrastingTextHook () { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/useBreakPointValue.md b/versioned_docs/version-3.2.0/useBreakPointValue.md index 525e7ce96..edb6501e9 100644 --- a/versioned_docs/version-3.2.0/useBreakPointValue.md +++ b/versioned_docs/version-3.2.0/useBreakPointValue.md @@ -17,28 +17,117 @@ The `useBreakpointValue` hook returns the value for the current breakpoint. ## Usage -```SnackPlayer name=useBreakpoint%20Usage +```SnackPlayer name=useBreakpointValue + import React from 'react'; -import { Box, useBreakpointValue, NativeBaseProvider, Center } from 'native-base'; -function UseBreakpointValueExample () { - const color = useBreakpointValue({ - base: 'red.200', - sm: 'blue.200', - md: 'blue.200', +import { + Factory, + Button, + Stack, + NativeBaseProvider, + Center, + ScrollView +} from 'native-base'; +import { TextInput } from 'react-native'; + +import { Icon, useBreakpointValue, Text, VStack, Heading } from 'native-base'; +import { FontAwesome, Foundation, Feather } from '@expo/vector-icons'; +import { View } from 'react-native'; + +export const UseBreakpointValueExample = () => { + const flexDir = useBreakpointValue({ + base: 'column', + lg: 'row', }); return ( - - This is a box - + + + Why us? + + + + + Secure Checkout + + + + + + Secure Checkout + + + + + + Fast Turn Around + + + + + ); }; + +// Example template which wraps component with NativeBaseProvider export default function () { return ( -
+
); } + ``` diff --git a/versioned_docs/version-3.2.0/useClipboard.md b/versioned_docs/version-3.2.0/useClipboard.md index bcbe6c6bd..fa916f05a 100644 --- a/versioned_docs/version-3.2.0/useClipboard.md +++ b/versioned_docs/version-3.2.0/useClipboard.md @@ -35,12 +35,12 @@ import { } from "native-base"; function UseClipboardExample() { - const [copyText, setCopyText] = React.useState("Copy Me"); - const [pasteText, setPasteText] = React.useState(""); - const { value, onCopy, hasCopied } = useClipboard(); + const [copyText, setCopyText] = React.useState('Hello'); + const [pasteText, setPasteText] = React.useState(''); + const { value, onCopy } = useClipboard(); return ( - - + + - - {hasCopied ? "Copied" : "Press here"} + setPasteText(v)} value={pasteText} /> @@ -65,7 +64,7 @@ function UseClipboardExample() { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/useColorMode.md b/versioned_docs/version-3.2.0/useColorMode.md index 5aff666af..adb23b90d 100644 --- a/versioned_docs/version-3.2.0/useColorMode.md +++ b/versioned_docs/version-3.2.0/useColorMode.md @@ -27,7 +27,7 @@ import { function UseColorMode() { const { colorMode, toggleColorMode } = useColorMode(); return ( -
+
The active color mode is {colorMode} diff --git a/versioned_docs/version-3.2.0/useColorModeValue.md b/versioned_docs/version-3.2.0/useColorModeValue.md index 2ce63428c..65fad698b 100644 --- a/versioned_docs/version-3.2.0/useColorModeValue.md +++ b/versioned_docs/version-3.2.0/useColorModeValue.md @@ -27,7 +27,7 @@ import { function UseColorMode() { const { colorMode, toggleColorMode } = useColorMode(); return ( -
+
The active color mode is {useColorModeValue('Light', 'Dark')} diff --git a/versioned_docs/version-3.2.0/useContrastText.md b/versioned_docs/version-3.2.0/useContrastText.md index da3131fe7..4497c3b17 100644 --- a/versioned_docs/version-3.2.0/useContrastText.md +++ b/versioned_docs/version-3.2.0/useContrastText.md @@ -40,7 +40,7 @@ function UseContrastingTextHook () { export default function () { return ( -
+
@@ -56,25 +56,31 @@ By default, NativeBase provides contrasting color based on its theme. You can al import React from 'react'; import { Button, useContrastText, useTheme, NativeBaseProvider, Center, useAccessibleColors } from 'native-base'; + +const ButtonTemplate = ({ shade }: any) => { + const colorContrast = useContrastText(`yellow.${shade}`); + return ( + + ); +}; + function UseContrastingTextHook () { let [, , toggleAccessibleColors] = useAccessibleColors(); const { colors } = useTheme(); return ( <> - {Object.keys(colors.teal).map((key) => { - const colorContrast = useContrastText(`teal.${key}`); - return ( - - ); + {Object.keys(colors.yellow).map((key, index) => { + if (index > 2 && index < 9) return ; })} - @@ -84,7 +90,7 @@ function UseContrastingTextHook () { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/useDisclosure.md b/versioned_docs/version-3.2.0/useDisclosure.md index 70a9e2f16..4e5cd4cdd 100644 --- a/versioned_docs/version-3.2.0/useDisclosure.md +++ b/versioned_docs/version-3.2.0/useDisclosure.md @@ -32,13 +32,10 @@ function UseDiscloseExample() { - Hello World + Delete Customer - Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos quasi - cupiditate expedita, ipsa corporis officia totam similique delectus! - Debitis esse, ea blanditiis iste enim iure at odit fugiat autem. - Accusamus? + This will remove all data relating to Alex. This action cannot be reversed. Deleted data can not be recovered. @@ -56,7 +53,7 @@ function UseDiscloseExample() { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/useMediaQuery.md b/versioned_docs/version-3.2.0/useMediaQuery.md index b74c32483..7edf8d5fb 100644 --- a/versioned_docs/version-3.2.0/useMediaQuery.md +++ b/versioned_docs/version-3.2.0/useMediaQuery.md @@ -20,17 +20,129 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isSmaller] = useMediaQuery({ maxHeight: '512' }); + const [isSmallScreen] = useMediaQuery({ minHeight: 280, maxHeight: 480 }); return ( - - {isSmaller ? "Height smaller than 512" : "Height larger than 512"} - + + {isSmallScreen ? ( + + + + image + +
+ PHOTOS +
+
+ + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + +
+ ) : ( + + + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + + + )} +
); } export default function () { return ( -
+
@@ -45,17 +157,130 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isLargerThan512] = useMediaQuery({ minWidth: '512' }); + const [isSmallScreen] = useMediaQuery({ minWidth: 280 }); return ( - - {isLargerThan512 ? "Width larger than 512" : "Width smaller than 512"} - + + {isSmallScreen ? ( + + + + image + +
+ PHOTOS +
+
+ + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + +
+ ) : ( + + + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + + + )} +
); } export default function () { return ( -
+
@@ -70,21 +295,137 @@ import React from "react"; import { Text, useMediaQuery, NativeBaseProvider, Center } from "native-base"; function UseMediaQueryExample() { - const [isLandScape, isPortrait] = useMediaQuery([ - { orientation: "landscape" }, - { orientation: "portrait" }, + const [isLandScape, isPortrait] = useMediaQuery([ + { orientation: 'landscape' }, + { orientation: 'portrait' }, ]); return ( - <> - {`Landscape Mode: ${isLandScape}`} - {`Portrait Mode: ${isPortrait}`} - + + {isPortrait ? ( + + + + image + +
+ PHOTOS +
+
+ + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + +
+ ) : ( + <> + )} + {isLandScape ? ( + + + + + The Garden City + + + The Silicon Valley of India. + + + + Bengaluru (also called Bangalore) is the center of India's + high-tech industry. The city is also known for its parks and + nightlife. + + + + + 6 mins ago + + + + + + ) : ( + <> + )} +
); } export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/usePopOver.md b/versioned_docs/version-3.2.0/usePopOver.md index af604254e..35bdb98a6 100644 --- a/versioned_docs/version-3.2.0/usePopOver.md +++ b/versioned_docs/version-3.2.0/usePopOver.md @@ -42,7 +42,7 @@ function UsePopoverExample() { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/useTheme.md b/versioned_docs/version-3.2.0/useTheme.md new file mode 100644 index 000000000..71ac99174 --- /dev/null +++ b/versioned_docs/version-3.2.0/useTheme.md @@ -0,0 +1,22 @@ +--- +id: use-theme +title: useTheme +--- + +`useTheme` is a custom hook used to get the theme object from context. + +## Import + +```jsx +import { useTheme } from "native-base"; +``` + +## Example + +```jsx +function Example() { + const theme = useTheme(); + + return {/* Do something with the theme */}; +} +``` diff --git a/versioned_docs/version-3.2.0/useToken.md b/versioned_docs/version-3.2.0/useToken.md index 51f5400a6..29b824ec2 100644 --- a/versioned_docs/version-3.2.0/useToken.md +++ b/versioned_docs/version-3.2.0/useToken.md @@ -42,7 +42,7 @@ function UseTokenHookExample() { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/utility-first.mdx b/versioned_docs/version-3.2.0/utility-first.mdx new file mode 100644 index 000000000..9de7d2ddb --- /dev/null +++ b/versioned_docs/version-3.2.0/utility-first.mdx @@ -0,0 +1,218 @@ +--- +id: utility-first +title: Utility First +--- + +import { UtilityFirstExample } from '../../src/components'; +import { KitchenSinkIframe, TileLink, NBHistory } from '../../src/components'; + +React Native has a great StyleSheet API which is optimal for component-based systems. NativeBase leverages it and adds a layer of utility props and constraint based designed tokens on top of it. + +To understand utility props, let's take an example. + + + +
+ +## With React Native + +Let's try the traditional way of building the above card in React Native. + +
+ +```jsx +import * as React from 'react'; +import { Text, View, StyleSheet, Image, Pressable } from 'react-native'; + +export default function App() { + return ( + + + + + Today @ 9PM + Let's talk about avatar! + + + Remind me + + + + + + ); +} + +const styles = StyleSheet.create({ + container: { + backgroundColor: '#0891b2', + paddingVertical: 16, + paddingHorizontal: 12, + borderRadius: 5, + alignSelf: 'center', + width: 375, + maxWidth: '100%', + }, + timings: { + color: '#fff', + fontSize: 14, + }, + metaContainer: { + justifyContent: 'space-between', + }, + topContainer: { + flexDirection: 'row', + justifyContent: 'space-between', + }, + avatar: { + height: 100, + width: 100, + borderRadius: 100, + }, + description: { + color: 'white', + marginTop: 5, + fontSize: 20, + }, + button: { + backgroundColor: '#22d3ee', + alignSelf: 'flex-start', + paddingHorizontal: 10, + paddingVertical: 5, + borderRadius: 3, + }, + buttonText: { + fontWeight: 'bold', + color: 'white', + textTransform: 'uppercase', + fontSize: 14, + }, +}); +``` + +
+ + + +
+ +## With NativeBase + +Now let's try to build the same card using NativeBase. + +With NativeBase, you can apply styles directly in the layout using shorthands. + +
+ +```jsx +import * as React from 'react'; +import { + NativeBaseProvider, + Box, + HStack, + VStack, + Text, + Pressable, + Image, +} from 'native-base'; + +export function UtilityFirstExample() { + return ( + + + + + + + Today @ 9PM + + + Let's talk about avatar! + + + + + Remind me + + + + Aang flying and surrounded by clouds + + + + ); +} +``` + +
+ +The above example demonstrates the usage of [utility props](utility-props) alongwith [VStack](vstack), [HStack](hstack) components. This approach allows us to style components without using StyleSheet API. + +Apart from productivity boost and saving time there are other benefits by styling components using utility props. +No need to name styles anymore, no need to define an object and think about naming them. + +Using utility-first props, you can focus on creating reusable components instead of reusable stylesheets. + +Once you start writing styles this way, any other way will feel cumbersome. + +> Put simply, utility first approach opens up the Avatar state within developers. + +
+ aang transitioning to avatar state +
+ +
+ +Once you had a cup of tea, let's proceed to the next section! + +
+
+ +
+ uncle iroh holding cup of tea + +
diff --git a/versioned_docs/version-3.2.0/utilityProps.md b/versioned_docs/version-3.2.0/utilityProps.md index 6eb0b4a94..8cf57537b 100644 --- a/versioned_docs/version-3.2.0/utilityProps.md +++ b/versioned_docs/version-3.2.0/utilityProps.md @@ -16,7 +16,7 @@ import React from 'react'; import { Box as NBBox, NativeBaseProvider, Center } from 'native-base'; const Box = (props) => { - return + return } function Component() { @@ -34,7 +34,7 @@ function Component() { export default function () { return ( -
+
@@ -117,10 +117,12 @@ export default function () { :::tip Note -Above props can be written in the format: {color}:alpha-{opacityToken}, this gets converted into RGBA color format and the opacityToken is mapped to [`Opacity`](default-theme#opacity) +Above props can be written in the format: {color}:alpha.{opacityToken}, this gets converted into RGBA color format and the opacityToken is mapped to [`Opacity`](default-theme#opacity) ::: +
+ ```SnackPlayer name=Alpha%20Opacity%20Usage import React from "react" @@ -131,7 +133,7 @@ export function Example() {
Box 2
+
+ Box 3 +
) @@ -159,7 +172,7 @@ export function Example() { export default () => { return ( -
+
@@ -196,7 +209,7 @@ function Component() { export default function () { return ( -
+
@@ -226,7 +239,7 @@ import React from 'react'; import { Box as NBBox, NativeBaseProvider, Center } from 'native-base'; const Box = (props) => { - return + return } function Component() { @@ -250,7 +263,7 @@ function Component() { export default function () { return ( -
+
@@ -283,7 +296,7 @@ import React from 'react'; import { Box as NBBox, Flex, NativeBaseProvider, Center } from 'native-base'; const Box = (props) => { - return + return } function Component() { @@ -306,7 +319,7 @@ function Component() { export default function () { return ( -
+
@@ -417,7 +430,7 @@ function Component() { export default function () { return ( -
+
@@ -462,7 +475,7 @@ function Component() { export default function () { return ( -
+
@@ -507,7 +520,7 @@ function Component() { export default function () { return ( -
+
@@ -551,7 +564,7 @@ function Example() { export default function () { return ( -
+
@@ -595,7 +608,7 @@ function Example() { export default function () { return ( -
+
@@ -648,7 +661,7 @@ function Example() { export default function () { return ( -
+
diff --git a/versioned_docs/version-3.2.0/utilityPropsSpecificity.md b/versioned_docs/version-3.2.0/utilityPropsSpecificity.md new file mode 100644 index 000000000..70e42236a --- /dev/null +++ b/versioned_docs/version-3.2.0/utilityPropsSpecificity.md @@ -0,0 +1,55 @@ +--- +id: utility-props-specificity +title: Utility Props Specificity +--- + +- If we have two similar props for a particular component, the more specific prop will be applied when the component is rendered. + + ```jsx + + ``` + + In the above example, we have two similar props for the Input component, but as you might have noticed `px={2}` is more specific than `p={0}` in terms of providing padding to the Input. This follows React Native's specificity precedence while applying utility style props to a component, order does not matter. So, `px={2}` will be applied when the Input component is rendered. + +- If we have a similar prop which is also defined in the baseStyle of that component, the value of the prop will override the value of the prop defined in the baseStyle. + + Let's take an example of `Input` to understand better. + + ```jsx + + + // baseStyle for Input component + return { + ... + px: 4, + py: 2, + ... + } + ``` + + As you can see, we have `px:2` and `py:2` defined in the baseStyle of Input component, but if we pass `p={0}` in the props of an Input, it will override the the baseStyle and apply `p={0}` to that component. **Similar happens with other utility props.** + +Now, here is an example to analyze both the cases together: + +```jsx + + +// baseStyle for Input component + return { + ... + px: 4, + py: 2, + ... + } + +``` +In the above example, what do you think should be the padding of the rendered Input component? + +Let's see. + +We have `p={0}` which will override the value of padding coming from the baseStyle of Input component, then we have `px={3}` which is a more specific prop. So, the padding of the rendered Input will be `padding : { paddingTop:0, paddingRight:3, paddingBottom:0, paddingLeft:3 }`. + + + + + diff --git a/versioned_docs/version-3.2.0/view.md b/versioned_docs/version-3.2.0/view.md new file mode 100644 index 000000000..dd1890b6f --- /dev/null +++ b/versioned_docs/version-3.2.0/view.md @@ -0,0 +1,18 @@ +--- +id: view +title: View +--- + +The most fundamental component for building a UI. + +## Example + +```ComponentSnackPlayer path=basic,View,Basic.tsx + +``` + +## Props + +```ComponentPropTable path=basic,View,View.tsx showStylingProps=true + +``` diff --git a/versioned_sidebars/version-3.2.0-sidebars.json b/versioned_sidebars/version-3.2.0-sidebars.json index 6609cafe5..696584afe 100644 --- a/versioned_sidebars/version-3.2.0-sidebars.json +++ b/versioned_sidebars/version-3.2.0-sidebars.json @@ -669,4 +669,4 @@ "id": "version-3.2.0/install-next" } ] -} \ No newline at end of file +} diff --git a/versions.json b/versions.json index 8ff1cfbc0..b82e5df0f 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,5 @@ [ + "3.2.0", "3.1.0", "3.0.7", "3.0.6", @@ -8,4 +9,4 @@ "3.0.0-next.38", "3.0.0-next.37", "3.0.0-next.36" -] \ No newline at end of file +]