Skip to content

Commit

Permalink
Merge branch 'patch' of https://github.com/gluestack/gluestack-ui int…
Browse files Browse the repository at this point in the history
…o fix/fab

Merge branch 'patch' of https://github.com/gluestack/gluestack-ui into fix/fab.
  • Loading branch information
DaminiPandey committed Mar 5, 2024
2 parents 77a4d70 + a672d44 commit f9c26c4
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 17 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/trigger-ui-update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Trigger gluestack-style-website | Create PR when pushed to master

on:
pull_request:
branches:
- patch

jobs:
build:
name: Dispatch to 'gluestack-style-website'
runs-on: ubuntu-latest
steps:
- name: Emit repository_dispatch
uses: mvasigh/dispatch-action@main
with:
# You should create a personal access token and store it in your repository
token: ${{ secrets.MY_GITHUB_TOKEN }}
repo: ui-website
owner: gluestack
event_type: build_ui_docs
message: |
{
"repo": "ui",
"branch": "${{ github.head_ref }}"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createLink } from '@gluestack-ui/link';
import { Pressable, Platform } from 'react-native';
import { Text } from '@/components/ui/Text';
import { Pressable, Platform, Text } from 'react-native';

import {
tva,
withStyleContextAndStates,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const textareaStyle = tva({
});

const textareaInputStyle = tva({
base: 'p-3 web:outline-0 web:outline-none flex-1 color-typography-900 align-text-top placeholder:text-typography-500 web:cursor-text web:data-[disabled=true]:cursor-not-allowed',
base: 'p-2 web:outline-0 web:outline-none flex-1 color-typography-900 align-text-top placeholder:text-typography-500 web:cursor-text web:data-[disabled=true]:cursor-not-allowed',
parentVariants: {
size: {
sm: 'text-sm',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This is an illustration of **Textarea** component.
showArgsController={true}
metaData={{
code: `
<Textarea {...props} w='$64'>
<Textarea {...props} className="w-64">
<TextareaInput
placeholder="Your text goes here..."
/>
Expand Down Expand Up @@ -354,19 +354,6 @@ Textarea component is created using TextInput component from react-native. It ex
</TableContainer>
</>

## Spec Doc

Explore the comprehensive details of the Input in this document, including its implementation details, checklist, and potential future additions. Dive into the thought process behind the component and gain insights into its development journey.

<iframe
style={{
borderRadius: '8px',
border: ' 1px solid rgba(0, 0, 0, 0.1)',
aspectRatio: 736 / 585,
}}
src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fproto%2FNcXOxqKbdnGsLQNex3H76u%2F%25C2%25A0%25F0%259F%2593%259Agluestack-UI-handbook%3Fpage-id%3D5262%253A23948%26type%3Ddesign%26node-id%3D5262-25827%26viewport%3D713%252C121%252C0.03%26t%3DKYZLJTBIKhIjLoLC-1%26scaling%3Dscale-down%26starting-point-node-id%3D5262%253A25827%26mode%3Ddesign"
allowfullscreen
></iframe>

### Examples

Expand Down Expand Up @@ -416,3 +403,18 @@ The Textarea Component can be incorporated within the FormControl.
}}
/>
</AppProvider>

## Spec Doc

Explore the comprehensive details of the Input in this document, including its implementation details, checklist, and potential future additions. Dive into the thought process behind the component and gain insights into its development journey.

<iframe
style={{
borderRadius: '8px',
border: ' 1px solid rgba(0, 0, 0, 0.1)',
aspectRatio: 736 / 585,
}}
src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fproto%2FNcXOxqKbdnGsLQNex3H76u%2F%25C2%25A0%25F0%259F%2593%259Agluestack-UI-handbook%3Fpage-id%3D5262%253A23948%26type%3Ddesign%26node-id%3D5262-25827%26viewport%3D713%252C121%252C0.03%26t%3DKYZLJTBIKhIjLoLC-1%26scaling%3Dscale-down%26starting-point-node-id%3D5262%253A25827%26mode%3Ddesign"
allowfullscreen
></iframe>

0 comments on commit f9c26c4

Please sign in to comment.