Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix styled typo #772

Merged
merged 2 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ contact_links:
- name: Ask a question
url: https://github.com/chakra-ui/panda/discussions
about: Ask questions and discuss topics with other community members
- name: Documentation Request
url: https://github.com/chakra-ui/panda/issues/new/choose
about: Request for documentation to be added/altered
- name: Chat with other community members
url: https://discord.gg/VQrkpsgSx7
about: The official Panda CSS Discord community
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Documentation Request"
description: "Request for documentation to be added/altered"
labels: ["needs triage", "Topic: Documentation 📚"]
body:
- type: "markdown"
attributes:
value: |
Thanks for filing a documentation request!

If you have an idea for a new documentation topic, noticed that
something is not properly documented, or feel that something is
incorrect with the current documentation, you're in the right place!
- type: "input"
id: "subject"
attributes:
label: "Subject"
description: "What is the subject (component, function, topic) of this request?"
placeholder: "Presets"
validations:
required: true
- type: "textarea"
id: "description"
attributes:
label: "Description"
description: "What about the subject's documentation should be added or changed?"
placeholder: "Add a usage example of RadioGroup in action"
validations:
required: true
28 changes: 28 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!---
Thanks for creating a Pull Request 💖!

Please read the following before submitting:
- PRs that adds new external dependencies might take a while to review.
- Keep your PR as small as possible.
- Limit your PR to one type (docs, feature, refactoring, ci, or bugfix)
-->

Closes # <!-- Github issue # here -->

## 📝 Description

> Add a brief description

## ⛳️ Current behavior (updates)

> Please describe the current behavior that you are modifying

## 🚀 New behavior

> Please describe the behavior or changes this PR adds

## 💣 Is this a breaking change (Yes/No):

<!-- If Yes, please describe the impact and migration path for existing Panda users. -->

## 📝 Additional Information
3 changes: 2 additions & 1 deletion website/pages/docs/concepts/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ Panda provides a `RecipeVariantProps` type utility that can be used to infer the
This is useful when you want to use the recipe in JSX and want to get type safety for the variants.

```tsx
import { styled } from '../styled-system/jsx'
import { cva, type RecipeVariantProps } from '../styled-system/css'

const buttonStyle = cva({
Expand All @@ -232,7 +233,7 @@ const buttonStyle = cva({

export type ButtonVariants = RecipeVariantProps<typeof buttonStyle> // { size?: 'small' | 'large' }

export const Button = panda('button', buttonStyle)
export const Button = styled('button', buttonStyle)
```

### Usage in JSX
Expand Down