Skip to content

Commit 31879de

Browse files
authored
Merge pull request #255 from gluestack/release/@gluestack-ui/[email protected]
Release/@gluestack UI/[email protected]
2 parents a5c6702 + 157281c commit 31879de

File tree

58 files changed

+373
-593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+373
-593
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ particular component that you want to use.
3535
Here's how you can add `Button` package in your project.
3636

3737
```jsx
38-
npx gluestack-ui add button
38+
npx gluestack-ui@latest add button
3939
```
4040

4141
- Check if gluestack-ui is installed in project, if not it will create a gluestack.config.ts file which will have default theme.

example/storybook/.storybook/preview.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ export const parameters = {
1616
'Overview',
1717
['Introduction', 'Accessibility'],
1818
'Getting Started',
19-
['Installation', 'Install in Expo', 'Install in Next.js', 'SSR'],
19+
[
20+
'Installation',
21+
'Install in Expo',
22+
'Install in Next.js',
23+
'SSR',
24+
'gluestack-ui CLI',
25+
],
2026
'Components',
2127
[
2228
'Provider',

example/storybook/src/components/DataDisplay/Badge/index.stories.mdx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ import { transformedCode } from '../../../utils';
1919
import { AppProvider, CodePreview, Text } from '@gluestack/design-system';
2020
import Wrapper from '../../Wrapper';
2121

22-
<br />
23-
2422
## Basic
2523

2624
Following is the default implementation of the **Badge** component without any additional customization. This serves as a starting point for users who are new to this library and want to learn about the basic functionality and appearance of the component.
@@ -49,14 +47,12 @@ Following is the default implementation of the **Badge** component without any a
4947
/>
5048
</AppProvider>
5149

52-
<br />
53-
5450
## Installation
5551

5652
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
5753

5854
```bash
59-
npx gluestack-ui add badge
55+
npx gluestack-ui@latest add badge
6056
```
6157

6258
### Import
@@ -91,9 +87,6 @@ It inherits all the properties of React Native's [View](https://reactnative.dev/
9187
9288
It inherits all the properties of React Native's [Text](https://reactnative.dev/docs/text#props) component.
9389
94-
<br />
95-
<br />
96-
9790
### Examples
9891
9992
The Examples section provides visual representations of the different variants of the component, allowing you to quickly and easily determine which one best fits your needs. Simply copy the code and integrate it into your project.

example/storybook/src/components/DataDisplay/Divider/index.stories.mdx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ Following is the default implementation of the **Divider** component without any
5050
}}
5151
/>
5252
</AppProvider>
53-
<br />
5453

5554
## Installation
5655

5756
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
5857

5958
```bash
60-
npx gluestack-ui add divider
59+
npx gluestack-ui@latest add divider
6160
```
6261

6362
### Import
@@ -68,8 +67,6 @@ To use the component in your project, run the command below into your import sta
6867
import { Divider } from './components';
6968
```
7069
71-
<br />
72-
7370
### Anatomy
7471
7572
The structure provided below can help you identify and understand a divider component's various parts.
@@ -86,9 +83,6 @@ The following section contains a comprehensive list of the component's reference
8683
8784
It inherits all the properties of React Native's [View](https://reactnative.dev/docs/view#props) component.
8885
89-
<br />
90-
<br />
91-
9286
### Examples
9387
9488
The Examples section provides visual representations of the different variants of the component, allowing you to quickly and easily determine which one best fits your needs. Simply copy the code and integrate it into your project.
@@ -177,8 +171,6 @@ argsType: {},
177171
178172
</AppProvider>
179173
180-
<br />
181-
182174
## Advanced
183175
184176
We provide in-depth information on how to customize and extend the component's functionality to meet your needs. Below, we describe how to modify the component to suit your requirements.

example/storybook/src/components/Disclosure/Actionsheet/index.stories.mdx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,12 @@ function App(){
8686
}}
8787
/>
8888

89-
<br />
90-
9189
## Installation
9290

9391
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
9492

9593
```bash
96-
npx gluestack-ui add actionsheet
94+
npx gluestack-ui@latest add actionsheet
9795
```
9896

9997
### Import
@@ -104,8 +102,6 @@ To use the component in your project, run the command below into your import sta
104102
import { Actionsheet } from './components';
105103
```
106104
107-
<br />
108-
109105
### Anatomy
110106
111107
The structure provided below can help you identify and understand a actionsheet component's various parts.
@@ -442,9 +438,6 @@ The following are the lists of all the libraries and packages the component reli
442438
- `@react-native-aria/focus`
443439
- `@react-native-aria/dialog`
444440
445-
<br />
446-
<br />
447-
448441
## Advanced
449442
450443
We provide in-depth information on how to customize and extend the component's functionality to meet your needs. Below, we describe how to modify the component to suit your requirements.

example/storybook/src/components/Feedback/Alert/index.stories.mdx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,13 @@ Following is the default implementation of the **Alert** component without any a
5858
}}
5959
/>
6060
</AppProvider>
61-
<br />
6261

6362
## Installation
6463

6564
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
6665

6766
```bash
68-
npx gluestack-ui add alert
67+
npx gluestack-ui@latest add alert
6968
```
7069

7170
### Import
@@ -76,8 +75,6 @@ To use the component in your project, run the command below into your import sta
7675
import { Alert } from './components';
7776
```
7877
79-
<br />
80-
8178
### Anatomy
8279
8380
The structure provided below can help you identify and understand a Alert component's various parts.
@@ -107,9 +104,6 @@ It inherits all the properties of React Native's [View](https://reactnative.dev/
107104
108105
Contains all spinner related layout style props and actions. It inherits all the properties of React Native's [Text](https://reactnative.dev/docs/text#props) component.
109106
110-
<br />
111-
<br />
112-
113107
### Examples
114108
115109
The Examples section provides visual representations of the different variants of the component, allowing you to quickly and easily determine which one best fits your needs. Simply copy the code and integrate it into your project.
@@ -191,8 +185,6 @@ The Examples section provides visual representations of the different variants o
191185
/>
192186
</AppProvider>
193187
194-
<br />
195-
196188
## Advanced
197189
198190
We provide in-depth information on how to customize and extend the component's functionality to meet your needs. Below, we describe how to modify the component to suit your requirements.

example/storybook/src/components/Feedback/Progress/index.stories.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ Following is the default implementation of the **Progress** component without an
4545
}}
4646
/>
4747
</AppProvider>
48-
<br />
4948

5049
## Installation
5150

5251
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
5352

5453
```bash
55-
npx gluestack-ui add progress
54+
npx gluestack-ui@latest add progress
5655
```
5756

5857
### Import
@@ -63,8 +62,6 @@ To use the component in your project, run the command below into your import sta
6362
import { Progress } from './components';
6463
```
6564
66-
<br />
67-
6865
### Anatomy
6966
7067
The structure provided below can help you identify and understand a Progress component's various parts.
@@ -90,9 +87,6 @@ It has a property `value` which is a number between 0 and 100. It is used to set
9087
9188
It also inherits all the properties of React Native's [View](https://reactnative.dev/docs/view#props) component.
9289
93-
<br />
94-
<br />
95-
9690
## Advanced
9791
9892
We provide in-depth information on how to customize and extend the component's functionality to meet your needs. Below, we describe how to modify the component to suit your requirements.

example/storybook/src/components/Feedback/Spinner/index.stories.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ Following is the default implementation of the **Spinner** component without any
4343
}}
4444
/>
4545
</AppProvider>
46-
<br />
4746

4847
## Installation
4948

5049
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
5150

5251
```bash
53-
npx gluestack-ui add spinner
52+
npx gluestack-ui@latest add spinner
5453
```
5554

5655
### Import
@@ -61,8 +60,6 @@ To use the component in your project, run the command below into your import sta
6160
import { Spinner } from './components';
6261
```
6362
64-
<br />
65-
6663
### Anatomy
6764
6865
The structure provided below can help you identify and understand a Spinner component's various parts.
@@ -80,9 +77,6 @@ The following section contains a comprehensive list of the component's reference
8077
Contains all Spinner related layout style props and actions.
8178
It inherits all the properties of React Native's [ActivityIndicator](https://reactnative.dev/docs/activityindicator#props) component.
8279
83-
<br />
84-
<br />
85-
8680
## Advanced
8781
8882
We provide in-depth information on how to customize and extend the component's functionality to meet your needs. Below, we describe how to modify the component to suit your requirements.

example/storybook/src/components/Feedback/Toast/index.stories.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,13 @@ function App() {
8080
}}
8181
/>
8282
</AppProvider>
83-
<br />
8483

8584
## Installation
8685

8786
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
8887

8988
```bash
90-
npx gluestack-ui add toast
89+
npx gluestack-ui@latest add toast
9190
```
9291

9392
### Import
@@ -98,8 +97,6 @@ To use the component in your project, run the command below into your import sta
9897
import { useToast, Toast } from './components';
9998
```
10099
101-
<br />
102-
103100
### Anatomy
104101
105102
The structure provided below can help you identify and understand a Toast component's various parts.

example/storybook/src/components/Forms/Button/index.stories.mdx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,13 @@ Following is the default implementation of the **Button** component without any
5353
}}
5454
/>
5555
</AppProvider>
56-
<br />
5756

5857
## Installation
5958

6059
To install the component, run the following command in your terminal. This will add the component to your project's dependencies and allow you to use it in your project.
6160

6261
```jsx
63-
npx gluestack-ui add button
62+
npx gluestack-ui@latest add button
6463
```
6564

6665
### Import
@@ -71,8 +70,6 @@ To use the component in your project, run the command below into your import sta
7170
import { Button } from './components';
7271
```
7372

74-
<br />
75-
7673
### Anatomy
7774

7875
The structure provided below can help you identify and understand a button component's various parts.
@@ -331,9 +328,6 @@ The following are the lists of all the libraries and packages the component reli
331328
- `@react-native-aria/focus`
332329
- `react-native-svg`
333330

334-
<br />
335-
<br />
336-
337331
### Examples
338332

339333
The Examples section provides visual representations of the different variants of the component, allowing you to quickly and easily determine which one best fits your needs. Simply copy the code and integrate it into your project.
@@ -370,8 +364,6 @@ Button component comes in different sizes, such as `xs`, `sm`, `md`, and `lg`, a
370364
/>
371365
</AppProvider>
372366

373-
<br />
374-
375367
#### Button Styles
376368

377369
To help you match the button component to your design system, it offers different styles such as solid, outline, and link that you can choose from.
@@ -401,8 +393,6 @@ To help you match the button component to your design system, it offers differen
401393
/>
402394
</AppProvider>
403395

404-
<br />
405-
406396
#### Button Group
407397

408398
The button group component allows users to group buttons and display them in a horizontal or vertical row for better visual representation and functionality.
@@ -434,8 +424,6 @@ The button group component allows users to group buttons and display them in a h
434424
/>
435425
</AppProvider>
436426

437-
<br />
438-
439427
#### Button With Icon
440428

441429
ButtonWithIcons is a variation of the button component that allows users to add icons or images to the buttons to enhance their visual appeal and improve user experience.

0 commit comments

Comments
 (0)