Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
2bc9696
fix: color mode flicker
ankit-tailor Sep 2, 2022
6d953d2
Merge pull request #324 from GeekyAnts/fix/colormode-flicker
ankit-tailor Sep 2, 2022
d0f4bb6
fix: responsive demo example
Viraj-10 Sep 9, 2022
9dfb625
safearea completed
Sep 12, 2022
ccb6d87
box changes completed
Sep 12, 2022
1a614a3
content change in getting-started
ruchi-002 Sep 12, 2022
55f53e8
content change in setup-provider
ruchi-002 Sep 12, 2022
62bbd32
content change in solito
ruchi-002 Sep 12, 2022
d88877a
Merge pull request #330 from GeekyAnts/fix/setup-provider-content-cha…
ruchi-002 Sep 12, 2022
558c144
Merge pull request #329 from GeekyAnts/fix/getting-started-content-ch…
ruchi-002 Sep 12, 2022
a1888ed
content changes in contribution
ruchi-002 Sep 12, 2022
cf9c871
Merge pull request #326 from GeekyAnts/fix/responsive-demo-example
ankit-tailor Sep 12, 2022
440d920
boxexpo done
Sep 12, 2022
349d5e0
content changes in utility-first
ruchi-002 Sep 12, 2022
38847ac
content changes in utility-props-specifictiy
ruchi-002 Sep 12, 2022
91ce6eb
installation done
Sep 12, 2022
842b09c
customizing-fonts done
Sep 12, 2022
cc34bbd
content changes in design-tokens
ruchi-002 Sep 12, 2022
caad511
content changes in pseudo-props-101
ruchi-002 Sep 12, 2022
45ed151
content changes in responsive
ruchi-002 Sep 12, 2022
0c492f1
content changes in nativebase-factory
ruchi-002 Sep 12, 2022
0d16a61
content changes in safe-area-view-props
ruchi-002 Sep 12, 2022
bd84a5c
internal-pseudo-props
ruchi-002 Sep 12, 2022
052ceb9
content changes in strict-mode
ruchi-002 Sep 12, 2022
0a3261d
content changes in accessibility
ruchi-002 Sep 12, 2022
a135958
Updated link - modal
Sep 13, 2022
13ec85d
Updated link - modal
Sep 13, 2022
762a8e3
Updated link in icon-button
Sep 13, 2022
8397a52
content changes in default-theme
ruchi-002 Sep 13, 2022
23b9c51
content changes in customizing-theme
ruchi-002 Sep 13, 2022
2164379
content changes in customizing-components
ruchi-002 Sep 13, 2022
9e32575
content changes in dark-mode
ruchi-002 Sep 13, 2022
df460c7
content changes in theme
ruchi-002 Sep 13, 2022
b21af24
content changes in center
ruchi-002 Sep 13, 2022
64e81c1
content changes in flex
ruchi-002 Sep 13, 2022
bfd2d37
content changes in button
ruchi-002 Sep 13, 2022
c5589ad
content changes in icon-button
ruchi-002 Sep 13, 2022
49ddbb1
content changes in slider
ruchi-002 Sep 13, 2022
d871f11
content changes in textarea
ruchi-002 Sep 13, 2022
84185b2
content changes in badge
ruchi-002 Sep 13, 2022
4a1a3e3
content changes in divider
ruchi-002 Sep 13, 2022
eef43d7
content changes in progress
ruchi-002 Sep 13, 2022
a312d0a
content chnages in toast
ruchi-002 Sep 14, 2022
5812009
Updated link in radio
Sep 14, 2022
2254168
Updated link in popover
Sep 14, 2022
5f1ba28
Updated link in link
Sep 14, 2022
968116d
Updated link in slider
Sep 14, 2022
be87b74
Updated link in accessibility
Sep 14, 2022
986bd45
Updated link in modal
Sep 14, 2022
f1820cd
Updated link in checkbox
Sep 14, 2022
2bd0f5f
Updated link in button_next
Sep 15, 2022
66fbceb
Updated link in button_mdx
Sep 15, 2022
8420165
Updated link in alert-dialog
Sep 15, 2022
4d49543
Updated link in menu
Sep 15, 2022
9a4ef2b
Updated link in customizing-fonts
Sep 15, 2022
d024f04
delete center from building-footer
Sep 15, 2022
548ed26
fix twitter icon in stagger
cyrus25 Sep 20, 2022
5a97196
show toc for items greater than 1
cyrus25 Sep 21, 2022
8cd5bb1
Merge pull request #375 from GeekyAnts/fix/twitter-iconm
rayan1810 Sep 21, 2022
8c3de96
content changes in alert-dialog
ruchi-002 Sep 22, 2022
f68901f
content changes in icon
ruchi-002 Sep 22, 2022
ad05371
content changes in hidden
ruchi-002 Sep 22, 2022
219bfdc
content changes in use-disclose
ruchi-002 Sep 22, 2022
2e100e5
content changes in use-media-query
ruchi-002 Sep 22, 2022
39acd31
content changes in use-color-mode
ruchi-002 Sep 22, 2022
b98952c
content changes in use-contrast-text
ruchi-002 Sep 22, 2022
48bd2aa
content changes in use-accessible-colors
ruchi-002 Sep 22, 2022
ec57010
content changes in v3
ruchi-002 Sep 22, 2022
2f8493b
content changes in 3.2.0 from 3.x
ruchi-002 Sep 22, 2022
1e0e665
content changes in changelog
ruchi-002 Sep 22, 2022
41855de
content changes in radio
ruchi-002 Sep 23, 2022
5e297ee
content changes in modal
ruchi-002 Sep 23, 2022
ebd047b
content changes in popover
ruchi-002 Sep 23, 2022
58cdfaf
content changes in image
ruchi-002 Sep 23, 2022
7390472
fix: missing useDisclose in pseudo props examples
cyrus25 Sep 26, 2022
bb5c61c
Merge pull request #391 from GeekyAnts/fix/pseudo-props
rayan1810 Sep 26, 2022
1c6d702
add nb provider in customizing-theme
cyrus25 Sep 28, 2022
5047ee9
Merge pull request #327 from GeekyAnts/fix/safe-area-view-props-seo-c…
rayan1810 Oct 25, 2022
4afed3d
Merge pull request #328 from GeekyAnts/fix/box-seo-changes
rayan1810 Oct 25, 2022
b5f0daf
Merge pull request #335 from GeekyAnts/fix/installation-seo-changes
rayan1810 Oct 25, 2022
de62931
Merge pull request #336 from GeekyAnts/fix/utility-props-specificity-…
rayan1810 Oct 25, 2022
da1243a
Merge pull request #331 from GeekyAnts/fix/solito-content-changes
rayan1810 Oct 25, 2022
42eddb1
Merge branch 'staging' of github.com:GeekyAnts/nativebase-docs into s…
rayan1810 Oct 25, 2022
777dc83
Merge pull request #332 from GeekyAnts/fix/contribution-content-changes
rayan1810 Oct 25, 2022
61a2c73
Merge pull request #346 from GeekyAnts/fix/customizing-fonts-seo-changes
rayan1810 Oct 25, 2022
601af2c
Merge pull request #347 from GeekyAnts/fix/modal-fonts-seo-changes
rayan1810 Oct 25, 2022
61db6c3
Merge branch 'staging' into fix/boxexpo-seo-changes
rayan1810 Oct 25, 2022
2f22c51
Merge pull request #334 from GeekyAnts/fix/boxexpo-seo-changes
rayan1810 Oct 25, 2022
8e954e0
Merge pull request #348 from GeekyAnts/fix/icon-button-fonts-seo-changes
rayan1810 Oct 25, 2022
c27dc3e
Merge pull request #364 from GeekyAnts/fix/radio-fonts-seo-changes
rayan1810 Oct 25, 2022
cb4f683
Merge pull request #365 from GeekyAnts/fix/popover-seo-changes
rayan1810 Oct 25, 2022
3a1fb5d
Merge pull request #366 from GeekyAnts/fix/link-seo-changes
rayan1810 Oct 25, 2022
328b1e4
Merge pull request #367 from GeekyAnts/fix/slider-seo-changes
rayan1810 Oct 25, 2022
d25a78c
Merge pull request #368 from GeekyAnts/fix/accessibility-seo-changes
rayan1810 Oct 25, 2022
f1ba9f9
Merge pull request #369 from GeekyAnts/fix/button-seo-changes
rayan1810 Oct 25, 2022
f381b56
Merge pull request #370 from GeekyAnts/fix/check-box-seo-changes
rayan1810 Oct 25, 2022
400a000
Merge pull request #371 from GeekyAnts/fix/alert-dialog-seo-changes
rayan1810 Oct 25, 2022
28eb451
Merge pull request #372 from GeekyAnts/fix/menu-seo-changes
rayan1810 Oct 25, 2022
058bf2e
Merge pull request #373 from GeekyAnts/fix/customizingfonts-seo-changes
rayan1810 Oct 25, 2022
0f4372a
Merge pull request #374 from GeekyAnts/fix/delete-center-seo-changes
rayan1810 Oct 25, 2022
6d87670
Merge pull request #333 from GeekyAnts/fix/utility-first-content-changes
rayan1810 Oct 25, 2022
678b458
Merge pull request #338 from GeekyAnts/fix/design-tokens-content-changes
rayan1810 Oct 25, 2022
a54cf13
Merge pull request #339 from GeekyAnts/fix/pseudo-props-101-content-c…
rayan1810 Oct 25, 2022
be005cb
Merge pull request #340 from GeekyAnts/fix/responsive-content-changes
rayan1810 Oct 25, 2022
035108e
Merge pull request #341 from GeekyAnts/fix/nativebase-factory-content…
rayan1810 Oct 25, 2022
f1f7af7
Merge pull request #342 from GeekyAnts/fix/safe-area-view-props-conte…
rayan1810 Oct 25, 2022
7ad4b7d
Merge pull request #343 from GeekyAnts/fix/internal-pseudo-props-cont…
rayan1810 Oct 25, 2022
7d67c88
Merge pull request #344 from GeekyAnts/fix/strict-mode-content-changes
rayan1810 Oct 25, 2022
a002a36
Merge pull request #349 from GeekyAnts/fix/default-theme-content-changes
rayan1810 Oct 25, 2022
4338691
Merge pull request #350 from GeekyAnts/fix/customizing-theme-content-…
rayan1810 Oct 25, 2022
87fe125
Merge pull request #351 from GeekyAnts/fix/customizing-components-con…
rayan1810 Oct 25, 2022
c84b322
Merge pull request #352 from GeekyAnts/fix/dark-mode-content-changes
rayan1810 Oct 25, 2022
4852923
Merge pull request #353 from GeekyAnts/fix/theme-content-changes
rayan1810 Oct 25, 2022
c2fb96a
Merge pull request #354 from GeekyAnts/fix/center-content-changes
rayan1810 Oct 25, 2022
a8f55bf
Merge pull request #355 from GeekyAnts/fix/flex-content-changes
rayan1810 Oct 25, 2022
f9ba255
Merge pull request #356 from GeekyAnts/fix/button-content-changes
rayan1810 Oct 25, 2022
3e7f6b3
Merge pull request #357 from GeekyAnts/fix/icon-button-content-changes
rayan1810 Oct 25, 2022
a2049af
Merge pull request #358 from GeekyAnts/fix/slider-content-changes
rayan1810 Oct 25, 2022
0c889cb
Merge pull request #359 from GeekyAnts/fix/ComponentTheme-content-cha…
rayan1810 Oct 25, 2022
8ff26a6
Merge pull request #360 from GeekyAnts/fix/badge-content-changes
rayan1810 Oct 25, 2022
8bfc732
Merge branch 'staging' into fix/divider-content-changes
rayan1810 Oct 25, 2022
a679070
Merge pull request #361 from GeekyAnts/fix/divider-content-changes
rayan1810 Oct 25, 2022
4e575c0
Merge pull request #362 from GeekyAnts/fix/progress-content-changes
rayan1810 Oct 25, 2022
a1f93d4
Merge pull request #363 from GeekyAnts/fix/toast-content-changes
rayan1810 Oct 25, 2022
52832ee
Merge branch 'staging' into fix/alert-dialog-content-changes
rayan1810 Oct 25, 2022
18f63eb
Merge pull request #376 from GeekyAnts/fix/alert-dialog-content-changes
rayan1810 Oct 25, 2022
ec448a7
fix: rna typo replace with aria
rayan1810 Oct 25, 2022
5b65875
Merge pull request #345 from GeekyAnts/fix/accessibility-content-changes
rayan1810 Oct 25, 2022
9a7457b
Merge pull request #392 from GeekyAnts/fix/customizing-theme
rayan1810 Oct 25, 2022
ffcfc0f
Merge pull request #390 from GeekyAnts/fix/image-content-changes
rayan1810 Oct 25, 2022
3e7c0b0
Merge pull request #389 from GeekyAnts/fix/popover-content-changes
rayan1810 Oct 25, 2022
fb46e9b
Merge branch 'staging' into fix/radio-content-changes
rayan1810 Oct 25, 2022
d87a0f8
Merge pull request #387 from GeekyAnts/fix/radio-content-changes
rayan1810 Oct 25, 2022
c2c42a0
Merge pull request #386 from GeekyAnts/fix/changelog-content-changes
rayan1810 Oct 25, 2022
a9207ac
Merge pull request #385 from GeekyAnts/fix/v3xtov32-content-changes
rayan1810 Oct 25, 2022
165e49a
Merge pull request #384 from GeekyAnts/fix/v3-content-changes
rayan1810 Oct 25, 2022
73d5492
Merge pull request #383 from GeekyAnts/fix/use-accessible-colors-cont…
rayan1810 Oct 25, 2022
4b0b1fc
Merge pull request #382 from GeekyAnts/fix/use-contrast-text-content-…
rayan1810 Oct 25, 2022
1f54dc9
Merge pull request #380 from GeekyAnts/fix/use-media-query-content-ch…
rayan1810 Oct 25, 2022
bdacad9
Merge pull request #379 from GeekyAnts/fix/use-disclose-content-changes
rayan1810 Oct 25, 2022
11d9b58
Merge pull request #378 from GeekyAnts/fix/hidden-content-changes
rayan1810 Oct 25, 2022
b339954
Merge pull request #377 from GeekyAnts/fix/icon-content-changes
rayan1810 Oct 25, 2022
3a63cae
fix: markdown table layout
rayan1810 Oct 25, 2022
deb640c
Merge pull request #381 from GeekyAnts/fix/use-color-mode-content-cha…
rayan1810 Oct 25, 2022
ecbfe3d
fix: drawer navigation
Viraj-10 Oct 26, 2022
a690832
Merge pull request #393 from GeekyAnts/fix/drawer-navigation
rayan1810 Oct 26, 2022
8622765
update: nativeabase version to 3.4.19
rayan1810 Oct 27, 2022
051d53a
Merge pull request #394 from GeekyAnts/feat/update-nb-versions
rayan1810 Oct 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
"3.1.x": "3.1.0",
"3.2.x": "3.2.2",
"3.3.x": "3.3.10",
"3.4.x": "3.4.11",
"3.4.x": "3.4.19",
},
componentOfTheWeek: {
switch: "https://www.youtube.com/embed/VGUhi8IQHDw",
Expand Down
6 changes: 3 additions & 3 deletions docs/3.0.x/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ NativeBase comes with the latest accessibility standards out of the box includin

## 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.
NativeBase uses [React Native ARIA](https://react-native-aria.geekyants.com/) to implement [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://www.notion.so/Accessibility-83852d7c4b094e69a3e4f1047994bd1c) 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/).
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/WAI/ARIA/apg/).

## 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.
In many NativeBase Components, we move focus based on the interactions a user normally makes 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.
10 changes: 5 additions & 5 deletions docs/3.0.x/alert-dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { ComponentTheme } from '../../src/components';

## Import

- `AlertDialog`: provides context and state for the dialog.
- `AlertDialog.Header`: contains the title announced by screen readers.
- `AlertDialog.Body`: contains the description announced by screen readers.
- `AlertDialog.Footer`: contains the actions of the dialog.
- `AlertDialog`: Provides context and state for the dialog.
- `AlertDialog.Header`: Contains the title announced by screen readers.
- `AlertDialog.Body`: Contains the description announced by screen readers.
- `AlertDialog.Footer`: Contains the actions of the dialog.
- `AlertDialog.Content`: The wrapper for the alert dialog's content.
- `AlertDialog.CloseButton`: The button that closes the dialog.

Expand Down Expand Up @@ -135,7 +135,7 @@ AlertDialog and its components compose the **[Modal](/modal)** component, so all

## Accessibility

Adheres to the [Alert and Message Dialogs WAI-ARIA design pattern.](https://www.w3.org/TR/wai-aria-practices-1.2/#alertdialog)
Adheres to the [Alert and Message Dialogs WAI-ARIA design pattern.](https://www.w3.org/WAI/ARIA/apg/#alertdialog)

### Keyboard Interactions

Expand Down
2 changes: 1 addition & 1 deletion docs/3.0.x/box.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This is a generic component for low level layout needs. It is similar to a [`div

### With Linear gradient

If you're using [Expo](https://docs.expo.io/) managed or bare workflow, you can install [expo-linear-gradient](https://docs.expo.io/versions/latest/sdk/linear-gradient/) and configure it in the [NativeBaseProvider](setup-provider#add-external-dependencies-optional) as shown below.
If you're using [Expo](https://docs.expo.dev/index.html) managed or bare workflow, you can install [expo-linear-gradient](https://docs.expo.dev/versions/latest/sdk/linear-gradient/) and configure it in the [NativeBaseProvider](setup-provider#add-external-dependencies-optional) as shown below.

```jsx isLive=true
import React from 'react';
Expand Down
43 changes: 22 additions & 21 deletions docs/3.0.x/building-drawer-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Common pattern in navigation is to use drawer from left (sometimes right) side f
Here is an example to show how easily and quickly we can use React Native's [DrawerNavigation](https://reactnavigation.org/docs/drawer-based-navigation/) in NB.

```jsx isSnackPlayer name="Building Drawer Navigation"
import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import * as React from "react";
import { NavigationContainer } from "@react-navigation/native";
import {
createDrawerNavigator,
DrawerContentScrollView,
} from '@react-navigation/drawer';
import { MaterialCommunityIcons } from '@expo/vector-icons';
} from "@react-navigation/drawer";
import { MaterialCommunityIcons } from "@expo/vector-icons";
import {
NativeBaseProvider,
Button,
Expand All @@ -30,7 +30,8 @@ import {
HStack,
Divider,
Icon,
} from 'native-base';
} from "native-base";
global.__reanimatedWorkletInit = () => {};
const Drawer = createDrawerNavigator();
function Component(props) {
return (
Expand All @@ -52,18 +53,18 @@ function Component(props) {

const getIcon = (screenName) => {
switch (screenName) {
case 'Inbox':
return 'email';
case 'Outbox':
return 'send';
case 'Favorites':
return 'heart';
case 'Archive':
return 'archive';
case 'Trash':
return 'trash-can';
case 'Spam':
return 'alert-circle';
case "Inbox":
return "email";
case "Outbox":
return "send";
case "Favorites":
return "heart";
case "Archive":
return "archive";
case "Trash":
return "trash-can";
case "Spam":
return "alert-circle";
default:
return undefined;
}
Expand All @@ -90,8 +91,8 @@ function CustomDrawerContent(props) {
rounded="md"
bg={
index === props.state.index
? 'rgba(6, 182, 212, 0.1)'
: 'transparent'
? "rgba(6, 182, 212, 0.1)"
: "transparent"
}
onPress={(event) => {
props.navigation.navigate(name);
Expand All @@ -100,15 +101,15 @@ function CustomDrawerContent(props) {
<HStack space={7} alignItems="center">
<Icon
color={
index === props.state.index ? 'primary.500' : 'gray.500'
index === props.state.index ? "primary.500" : "gray.500"
}
size={5}
as={<MaterialCommunityIcons name={getIcon(name)} />}
/>
<Text
fontWeight={500}
color={
index === props.state.index ? 'primary.500' : 'gray.700'
index === props.state.index ? "primary.500" : "gray.700"
}
>
{name}
Expand Down
2 changes: 1 addition & 1 deletion docs/3.0.x/building-footer-tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function Example() {
return (
<NativeBaseProvider>
<Box flex={1} bg="white" safeAreaTop>
<Center flex={1}></Center>
<HStack bg="primary.500" alignItems="center" safeAreaBottom shadow={6}>
<Pressable
cursor="pointer"
Expand Down
2 changes: 1 addition & 1 deletion docs/3.0.x/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ import { Button, ButtonGroup } from 'native-base';

## Accessibility

- Button has `role` set to [button](https://www.w3.org/TR/wai-aria-practices-1.2/#button).
- Button has `role` set to [button](https://www.w3.org/WAI/ARIA/apg/#button).
- When Button has focus, Space or Enter activates it.
2 changes: 1 addition & 1 deletion docs/3.0.x/center.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Center can be used to nicely position icons in the center and add frames around

### Square and Circle

Square and Circle automatically centers their children.
Square and Circle automatically center their children.

```ComponentSnackPlayer path=composites,Center,SquareCircle.tsx

Expand Down
16 changes: 8 additions & 8 deletions docs/3.0.x/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ title: Changelog

- 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).
For more details, visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.7).

## V3.0.6

## Minor fix

- Spinner visibility issue fixed

For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.6).
For more details, visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.6).

## V3.0.5

## Minor fix

- Fixed bold and italics issue in typography

For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.5).
For more details, visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.5).

## V3.0.4

Expand All @@ -75,7 +75,7 @@ For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/relea

- Fix custom fonts not working on android for some cases [#3821](https://github.com/GeekyAnts/NativeBase/pull/3821)

For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.4).
For more details, visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.4).

## V3.0.3

Expand Down Expand Up @@ -105,23 +105,23 @@ For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/relea

- Button type fixes

For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.3).
For more details, visit[releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.3).

## V3.0.2

## Version bump

- Version bumped from v3.0.1 to v3.0.2

For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.2).
For more details, visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.2).

## V3.0.1

## Image link fixes in README.md

- Images are working in NPM

For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.1).
For more details, visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.1).

## V3.0.0

Expand All @@ -137,4 +137,4 @@ For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/relea

- Fixed Text component to accept strikeThrough and underline

For more details. Visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.0).
For more details, visit [releases](https://github.com/GeekyAnts/NativeBase/releases/tag/v3.0.0).
2 changes: 1 addition & 1 deletion docs/3.0.x/checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ The `Checkbox` component is used in forms when a user needs to select multiple v

## 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).
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/WAI/ARIA/apg/#checkbox).

### Keyboard Interactions

Expand Down
2 changes: 1 addition & 1 deletion docs/3.0.x/contribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ All work on NativeBase happens directly on [GitHub](https://github.com/GeekyAnt

### Branch Organization

According to our [release schedule](https://github.com/GeekyAnts/NativeBase/releases), we maintain a `canary` branch for all the external PR's which is like a development branch with latest changes. If you send a pull request, please do it against the this `canary` branch. Once a release candidate is ready, `canary` branch will be released as a rc release package and once a stable release test is done it will be released to `native-base` package.
According to our [release schedule](https://github.com/GeekyAnts/NativeBase/releases), we maintain `canary` branch for all the external PR's which is like a development branch with latest changes. If you send a pull request, please do it against the this `canary` branch. Once a release candidate is ready, `canary` branch will be released as a rc release package and once a stable release test is done it will be released to `native-base` package.

![Screenshot 2022-02-07 at 1 27 46 PM](https://user-images.githubusercontent.com/62810976/161559404-c2e9064c-ae62-4395-92d9-9ddba2781d7a.png)

Expand Down
4 changes: 2 additions & 2 deletions docs/3.0.x/customizing-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function () {

As shown above, we can customize components by passing the **components** object with the **key** being the **name** of the **component**. Whereas you set `defaultProps` or `baseStyle` to customize the components.

### Difference between baseStyle and defaultProps?
### Difference between baseStyle and defaultProps

#### Base Style

Expand All @@ -58,7 +58,7 @@ Take a look at an [example here](https://github.com/GeekyAnts/NativeBase/blob/v3
#### 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.
- For e.g. You have a Button component and it has 2 variants. i.e. outline, solid.

Take a look at an [example here](https://github.com/GeekyAnts/NativeBase/blob/v3-pre-beta/src/theme/components/button.ts#L201)

Expand Down
2 changes: 1 addition & 1 deletion docs/3.0.x/customizing-fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Follow 3 simple steps to add a custom font family.

[Refer this guide if you're using Expo](https://docs.expo.io/guides/using-custom-fonts/)

[Refer this guide if you're using React Native init](https://medium.com/@aravindmnair/add-custom-fonts-to-react-native-0-60-easily-in-3-steps-fcd71459f4c9)
[Refer this guide if you're using React Native init](https://aravindmnair.medium.com/add-custom-fonts-to-react-native-0-60-easily-in-3-steps-fcd71459f4c9)

### Extend NativeBase theme object.

Expand Down
8 changes: 4 additions & 4 deletions docs/3.0.x/customizing-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Customising Theme

import { NativeBaseProvider, Box } from 'native-base';

Theme is one core elements of NativeBase. You can customize NativeBase's theme as per your liking. NativeBase theme is complex object which looks like
The Theme is one of the core elements of NativeBase. You can customize NativeBase's theme as per your liking. NativeBase theme is a complex object. Here is what it looks like.

```tsx
// theme
Expand All @@ -20,7 +20,7 @@ Theme is one core elements of NativeBase. You can customize NativeBase's theme a
}
```

It has many [other properties](default-theme) but in this recipe, we'll only update few of them (namely colors, fonts, and config) using NativeBase's `extendTheme` function.
It has many [other properties](default-theme) but in this recipe, we will update only a few of them (namely colors, fonts, and config) using NativeBase's `extendTheme` function.

```tsx
import React from 'react';
Expand Down Expand Up @@ -65,9 +65,9 @@ export default function () {
In the above example, the following changes have been made:

- Added a new color named **primary**.
- Updated one of the shade of **amber** color.
- Updated one of the shades of **amber** color.
- Updated the initial color mode to **dark**. Default is **light**.
- Finally passed the new **theme** object to the **NativeBaseProvider**.
- Passed the new **theme** object to the **NativeBaseProvider**.

### Using the new tokens in components

Expand Down
4 changes: 2 additions & 2 deletions docs/3.0.x/dark-mode.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: darkMode
title: Making components dark mode compatible
title: Making Components Dark Mode Compatible
---

By default, most of NativeBase's components are dark mode compatible. In some scenario, you might need to make your component respond to color mode. There are 2 way to achieve this:
By default, most of NativeBase's components are dark mode compatible. In some scenario, you might need to make your component respond to color mode. There are 2 ways to achieve this:

1. By updating component's theme
2. By using useColorModeValue
Expand Down
2 changes: 1 addition & 1 deletion docs/3.0.x/default-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Theming in NativeBase is based on the **[Styled System Theme Specification](htt

## 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.
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.

Expand Down
4 changes: 2 additions & 2 deletions docs/3.0.x/design-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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.
Let's take an example by defining a space and color design token.

```jsx title="colors"
const colors = {
Expand Down Expand Up @@ -64,6 +64,6 @@ The above Box will be translated to
<View style={{ marginTop: 16, backgroundColor: 'cyan.500' }} />
```

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.
With NativeBase, you can create your own design system. NativeBase follows the [styled-system's specification](https://styled-system.com/theme-specification/) to construct design systems.

Checkout the **[default NativeBase theme](default-theme)** and how to customize it **[here](customizingTheme)**.
2 changes: 1 addition & 1 deletion docs/3.0.x/divider.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The Divider displays a thin horizontal or vertical line.

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.
> **Note:** If the horizontal orientation is used, make sure that the parent element is assigned a width. If the vertical orientation is used, make sure that the parent element is assigned a height.

```ComponentSnackPlayer path=composites,Divider,Orientation.tsx

Expand Down
2 changes: 1 addition & 1 deletion docs/3.0.x/flex.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { Flex, Spacer } from 'native-base';

## Usage

Flex components comes with some helpful shorthand props:
Flex components come with some helpful shorthand props:

- `flexDirection` is `direction`
- `flexWrap` is `wrap`
Expand Down
4 changes: 2 additions & 2 deletions docs/3.0.x/icon-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: IconButton

import { ComponentTheme } from '../../src/components';

`IconButton` composes the `Button` component. It is generally used to make an Icon pressable.
`IconButton` consists of the `Button` component. It is generally used to make an Icon pressable.

## Examples

Expand Down Expand Up @@ -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/WAI/ARIA/apg/#button).
Loading