Skip to content

Commit

Permalink
fix: hide tmp the examples grid for input types
Browse files Browse the repository at this point in the history
Revert "fix: hide tmp the examples grid for input types"

This reverts commit d4e1a4f.
  • Loading branch information
thedaviddias committed Feb 10, 2025
1 parent 8d7d62f commit 1eb9146
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion app/_components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
Button.displayName = 'Button'

export { Button, buttonVariants };

1 change: 0 additions & 1 deletion content/en/glossary/aria-attributes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ ARIA (Accessible Rich Internet Applications) attributes are HTML attributes that
## Related Patterns

- [Pagination](/patterns/navigation/pagination)
- [Navigation Patterns](/patterns/navigation)
10 changes: 5 additions & 5 deletions content/en/pattern-guide/choosing-input-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { PatternNextSteps } from "@app/_components/pattern-comparison/pattern-ne
<DecisionFlowSection nodes={inputTypeNodes} edges={inputTypeEdges} title="Input Types Decision Flow" />
<ComparisonGrid patterns={comparisonData.patterns} />
<ImplementationMetrics patterns={implementationData.patterns} />
<ExamplesGrid examples={examplesData.examples} />
{/* <ExamplesGrid examples={examplesData.examples} /> */}
<PatternNextSteps patterns={nextStepsData.patterns} />
</div>

Expand Down Expand Up @@ -399,17 +399,17 @@ export const nextStepsData = {
{
title: "Text Input Implementation",
description: "How to implement and style text inputs",
href: "/patterns/forms/text-input",
href: "/patterns/forms/text-field",
},
{
title: "Select Component Guide",
description: "Building accessible select components",
href: "/patterns/forms/select",
href: "/patterns/forms/selection-input",
},
{
title: "Radio & Checkbox Patterns",
title: "Radio Pattern",
description: "Best practices for option selection",
href: "/patterns/forms/radio-checkbox",
href: "/patterns/forms/radio",
},
],
};
4 changes: 3 additions & 1 deletion content/en/patterns/forms/input-selection-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ description: "Learn how to select the most appropriate input types for your web
icon: Text
---

### When to use Different Types of Text Fields?
# Input Selection Guide

## When to use Different Types of Text Fields?

```mermaid
graph TD
Expand Down
2 changes: 0 additions & 2 deletions content/en/patterns/forms/password.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ Password fields are commonly used in **authentication forms, account creation, a
## Related Patterns

- [Text Field](/patterns/forms/text-field) – Standard input for non-sensitive text.
- [Two-Factor Authentication](/patterns/security/2fa) – Additional authentication layer.
- [Security Best Practices](/patterns/security/best-practices) – Guidelines for secure input handling.

## Frequently Asked Questions

Expand Down

0 comments on commit 1eb9146

Please sign in to comment.