Skip to content

Fixes during SSOReady site finalization#114

Merged
dqii merged 12 commits intomainfrom
di/sept11
Sep 12, 2025
Merged

Fixes during SSOReady site finalization#114
dqii merged 12 commits intomainfrom
di/sept11

Conversation

@dqii
Copy link
Contributor

@dqii dqii commented Sep 12, 2025

No description provided.

dqii and others added 10 commits September 11, 2025 15:50
Container: redefine p variants — xs=boxed (p-[min(3rem,5vw)]); sm/md/lg use px-[min(3rem,5vw)] with Section-scale vertical py.\nRefactors: update p usages to xs in split-media-07/08, cta-08, ContainerPrimaryBackgroundExample.\nDocs: update CONTRIBUTING.md to reflect new Container p API.\nNote: existing lg usages (cta-09, inverse/card examples) kept as-is.
…n UX

- Changed all animation presets to use 'animate' instead of 'whileInView'
- Removed viewport and whileInView references from MotionProps type
- Updated helper functions to remove whileInView handling
- Refactored code-02 and testimonials-05 to use ContentItems wrapper

This fixes the issue where components wouldn't appear when navigating back
to previously visited pages. Now animations play on mount and show final
state on return visits.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Changed TextReveal04, TextReveal06, TextReveal07, TextReveal08 to export as TextReveal
- Updated corresponding Props types from numbered versions to TextRevealProps
- Fixed all example imports and JSX tags to use the generic TextReveal name
- Follows the pattern where files use numbered names for registry but export generic names

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Changed title, subtitle, and eyebrow props from string to React.ReactNode across 100+ components
- Enables rich text formatting with spans, different colors, and inline components
- Used Omit utility type to resolve HTML attribute conflicts for title prop
- Preserved string types for navigation, structured data, and content frontmatter where appropriate

Example usage:
<Hero
  title={
    <>
      Ship enterprise SSO{" "}
      <span className="text-muted-foreground">in less than a day</span>
    </>
  }
/>

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dqii dqii requested a review from Copilot September 12, 2025 16:58
@vercel
Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
component-library Ready Ready Preview Comment Sep 12, 2025 5:33pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR makes comprehensive type safety improvements and component refinements for SSOReady site finalization. The changes focus on converting string-typed display properties to more flexible React.ReactNode types and unifying animation patterns.

Key changes include:

  • Updated component props to use React.ReactNode instead of string for title, subtitle, and eyebrow properties across all section components
  • Standardized animation patterns by removing whileInView in favor of animate for consistency
  • Enhanced component APIs by using Omit utility types to prevent HTML attribute conflicts

Reviewed Changes

Copilot reviewed 144 out of 144 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
registry/new-york/section/* Updated all section component interfaces to use React.ReactNode for display props and avoid HTML attribute conflicts
registry/new-york/navigation/* Simplified navbar variants by removing unused variant system and props
registry/new-york/lib/animation-presets.ts Standardized animation API by removing whileInView and using animate consistently
registry/new-york/layout/container.tsx Updated padding system with more specific responsive values
registry/new-york/effects/text-reveal-*.tsx Unified component naming from specific numbered exports to generic TextReveal
examples/* Updated component usage to match new simplified APIs

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 144 out of 144 changed files in this pull request and generated 4 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dqii dqii merged commit 81199af into main Sep 12, 2025
4 checks passed
@dqii dqii deleted the di/sept11 branch September 12, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants