Skip to content

Commit e8a6a9a

Browse files
committed
docs: article improvments
1 parent 7cfca4f commit e8a6a9a

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

app/ns-ui-widgets-category/bottom-navigation/events/events-page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<TabStripItem title="Account" iconSource="res://baseline_account_balance_black_24pt"></TabStripItem>
1111
</TabStrip>
1212

13-
<!-- The number of TabContentItem components should corespond to the number of TabStripItem components -->
13+
<!-- The number of TabContentItem components should correspond to the number of TabStripItem components -->
1414
<TabContentItem>
1515
<GridLayout rows="*, *">
1616
<Label row="0" text="Home Page" class="h2 text-center" color="orange"></Label>

app/ns-ui-widgets-category/bottom-navigation/events/events-ts-page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<TabStripItem title="Account" iconSource="res://baseline_account_balance_black_24pt"></TabStripItem>
1212
</TabStrip>
1313

14-
<!-- The number of TabContentItem components should corespond to the number of TabStripItem components -->
14+
<!-- The number of TabContentItem components should correspond to the number of TabStripItem components -->
1515
<TabContentItem>
1616
<GridLayout rows="*, *">
1717
<Label row="0" text="Home Page" class="h2 text-center" color="orangered"></Label>

app/ns-ui-widgets-category/bottom-navigation/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: BottomNavigation
3-
description: The NativeScript's BottomNavigation component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for BottomNavigation is a high level navigaiton with 3 to 5 tabs each with separate function.
3+
description: The NativeScript's BottomNavigation component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for BottomNavigation is high-level navigation with 3 to 5 tabs each with a separate function.
44
position: 416
55
slug: bottom-navigation
66
---
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
> **Disclaimer:** The `BottomNavigation` component is currently in **Beta** version. The component is being actively developed - use [the tracking issue](https://github.com/NativeScript/NativeScript/issues/6967) for details about the ongoing implementation.
22
3-
The `BottomNavigation` component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for `BottomNavigation` is a high level navigation with 3 to 5 tabs each with separate function. For additional information and details about bottom navigation refer to [the Material Design guidelines](https://material.io/design/components/bottom-navigation.html#usage).
3+
The `BottomNavigation` component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for `BottomNavigation` is high-level navigation with 3 to 5 tabs each with a separate function. For additional information and details about bottom navigation refers to [the Material Design guidelines](https://material.io/design/components/bottom-navigation.html#usage)
44

5-
> **Note:** NativeScript 6 introduced two new UI components called `BottomNavigation` and `Tabs`. The idea behind them is to provide more control when building tab based UI, while powering the CSS styling, the icon font support and other specific functionalities. Prior to NativeScript 6, we had the `TabView` component which had top and bottom implementations with different behavoirs for the different platofrms and some styling limitations. With `BottomNavigaiton` and `Tabs` coomponents available, the `TabView` can be considered obsolete.
5+
> **Note:** NativeScript 6 introduced two new UI components called `BottomNavigation` and `Tabs`. The idea behind them is to provide more control when building tab-based UI while powering the CSS styling, the icon font support, and other specific functionalities. Before NativeScript 6, we had the `TabView` component, which had top and bottom implementations with different behaviors for the different platforms and some styling limitations. With `BottomNavigaiton` and `Tabs` components available, the `TabView` can be considered obsolete.
66
77
The `BottomNavigation` component roundup
88

99
Component Primary Objectives:
10-
- Used for High Level navigation.
11-
- Good for UX structure with 3 to 5 different options.
10+
- Used for High-Level navigation.
11+
- Suitable for UX structure with 3 to 5 different options.
1212

1313
Limitations
1414
- No navigation transitions.
1515
- No navigation gestures (e.g., swipe to navigate).
16-
- No content preloading.
16+
- No content preloading.

app/ns-ui-widgets-category/bottom-navigation/usage/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The `BottomNavigation` component contains two sub-components:
2-
- The `TabStrip` which defines and rendres the bottom bar and its `TabStripItem` components.
3-
- Multiple `TabContentItem` components which total number should be equal to the number of the tabs (`TabStripItem` components). Each `TabContentItem` acts as a container for your tab content.
2+
- The `TabStrip` which defines and renders the bottom bar and its `TabStripItem` components.
3+
- Multiple `TabContentItem` components which total number should be equal to the amount of the tabs (`TabStripItem` elements). Each `TabContentItem` acts as a container for your tab content.
44

55
<snippet id='bottom-navigation-basics-xml'/>
66

app/ns-ui-widgets-category/tabs/events/events-page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<TabStripItem title="Account" iconSource="res://baseline_account_balance_black_24pt"></TabStripItem>
1212
</TabStrip>
1313

14-
<!-- The number of TabContentItem components should corespond to the number of TabStripItem components -->
14+
<!-- The number of TabContentItem components should correspond to the number of TabStripItem components -->
1515
<TabContentItem>
1616
<GridLayout rows="*, *">
1717
<Label row="0" text="Home Page" class="h2 text-center" color="orange"></Label>

app/ns-ui-widgets-category/tabs/events/events-ts-page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<TabStripItem title="Account" iconSource="res://baseline_account_balance_black_24pt"></TabStripItem>
1212
</TabStrip>
1313

14-
<!-- The number of TabContentItem components should corespond to the number of TabStripItem components -->
14+
<!-- The number of TabContentItem components should correspond to the number of TabStripItem components -->
1515
<TabContentItem>
1616
<GridLayout rows="*, *">
1717
<Label row="0" text="Home Page" class="h2 text-center" color="orangered"></Label>

app/ns-ui-widgets-category/tabs/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Tabs
3-
description: The NativeScript's Tabs component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for BottomNavigation is a mid level navigaiton with unlimited tabs and common functions.The component supports swipe gestures and preloading.
3+
description: The NativeScript's Tabs component provides a simple way to navigate between different views while providing standard UI for both iOS and Android platforms. The recommended scenario suitable for BottomNavigation is mid-level navigation with unlimited tabs and standard functions. The component supports swipe gestures and preloading.
44
position: 418
55
slug: tabs
66
---
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
> **Disclaimer:** The `Tabs` component is currently in **Beta** version. The component is being actively developed - use [the tracking issue](https://github.com/NativeScript/NativeScript/issues/6967) for details about the ongoing implementation.
22
3-
The `Tabs` component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for `Tabs` is a mid level navigation. For additional information and details about bottom navigation refer to [the Material Design guidelines](https://material.io/design/components/tabs.html#usage).
3+
The `Tabs` component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for `Tabs` is mid-level navigation. For additional information and details about bottom navigation, refer to [the Material Design guidelines](https://material.io/design/components/tabs.html#usage).
44

5-
> **Note:** NativeScript 6 introduced two new UI components called `BottomNavigation` and `Tabs`. The idea behind them is to provide more control when building tab based UI, while powering the CSS styling, the icon font support and other specific functionalities. Prior to NativeScript 6, we had the `TabView` component which had top and bottom implementations with different behavoirs for the different platofrms and some styling limitations. With `BottomNavigaiton` and `Tabs` coomponents available, the `TabView` can be considered obsolete.
5+
> **Note:** NativeScript 6 introduced two new UI components called `BottomNavigation` and `Tabs`. The idea behind them is to provide more control when building tab-based UI while powering the CSS styling, the icon font support, and other specific functionalities. Before NativeScript 6, we had the `TabView` component, which had top and bottom implementations with different behaviors for the different platforms and some styling limitations. With `BottomNavigaiton` and `Tabs` components available, the `TabView` can be considered obsolete.
66
77
The `Tabs` component roundup
88

99
- Semantic: Mid Level Navigation
10-
- Usage: Unlimited Tabs with common function
10+
- Usage: Unlimited Tabs with standard function
1111
- Transitions: Slide Transition indicating the relative position to each other
1212
- Gestures: Swipe Gesture
13-
- Preloading: At least 1 to the sides (because of the swipe gesture)
13+
- Preloading: At least 1 to the sides (because of the swipe gesture)

app/ns-ui-widgets-category/tabs/usage/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The `Tabs` component contains two sub-components:
2-
- The `TabStrip` which defines and rendres the bottom bar and its `TabStripItem` components.
3-
- Multiple `TabContentItem` components which total number should be equal to the number of the tabs (`TabStripItem` components). Each `TabContentItem` acts as a container for your tab content.
2+
- The `TabStrip` which defines and renders the bottom bar and its `TabStripItem` components.
3+
- Multiple `TabContentItem` components which total number should be equal to the amount of the tabs (`TabStripItem` elements). Each `TabContentItem` acts as a container for your tab content.
44

55
<snippet id='tabs-basics-xml'/>
66

0 commit comments

Comments
 (0)