Skip to content

chore: update form docs #4349

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion packages/paste-core/components/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "12.0.1",
"category": "layout",
"status": "production",
"description": "A form groups related form elements that allow users to input information or configure options.",
"description": "A Form Layout standardizes spacing among form elements.",
"author": "Twilio Inc.",
"license": "MIT",
"main:dev": "src/index.tsx",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
215 changes: 90 additions & 125 deletions packages/paste-website/src/pages/components/checkbox/index.mdx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const meta = {
title: 'Form - API',
package: '@twilio-paste/form',
description: 'A Form groups related form elements that allow users to input information or configure options.',
description: 'A Form Layout standardizes spacing among form elements.',
slug: '/components/form-layout/api',
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const meta = {
title: 'Form - Changelog',
package: '@twilio-paste/form',
description: 'A Form groups related form elements that allow users to input information or configure options.',
description: 'A Form Layout standardizes spacing among form elements.',
slug: '/components/form-layout/changelog',
};

Expand Down
347 changes: 59 additions & 288 deletions packages/paste-website/src/pages/components/form-layout/index.mdx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Use `optional` prop to show users which fields are optional to fill out.

### Disabled Label

Use the disabled prop if a the label is associated with a disabled form field to show users that they can't interact with the field.
Use the disabled prop if the label is associated with a disabled form field to show users that they can't interact with the field.

<LivePreview scope={{Input, Label, HelpText}} language="jsx">
{`<>
Expand Down
Loading