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

feat(inline video): add videoClassName prop #993

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

pbortnick
Copy link
Contributor

🎟️ Asana Task
πŸ” Preview Link


Description

This PR adds the optional videoClassName prop so that we can add custom styles that may be needed, such as border, box shadows, etc.

This is related to some updates being made to the dotcom about page.

PR Checklist πŸš€

Items in this checklist may not may not apply to your PR, but please consider each item carefully.

  • Add Asana and Preview links above.
  • Conduct thorough self-review.
  • Add or update tests as appropriate.
  • Conduct reasonable cross browser testing for both compatibility and responsive behavior (We have a Sauce Labs account for this, if you don't have access, just ask!).
  • Conduct reasonable accessibility review (use the WAS as a guide or an axe browser plugin until we establish more formal checks).
  • Identify (in the description above) and document (add Asana tasks on this board) any technical debt that you're aware of, but are not addressing as part of this PR.

@vercel
Copy link

vercel bot commented Aug 9, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
react-components βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Aug 9, 2023 5:07pm

@changeset-bot
Copy link

changeset-bot bot commented Aug 9, 2023

πŸ¦‹ Changeset detected

Latest commit: ac7d356

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hashicorp/react-inline-video Minor
@hashicorp/react-video-feature Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pbortnick pbortnick requested review from a team and nandereck and removed request for a team August 9, 2023 17:07
@nandereck
Copy link
Contributor

Out of curiosity, what are the style changes to the InlineVideo component for the about page?

@pbortnick
Copy link
Contributor Author

Out of curiosity, what are the style changes to the InlineVideo component for the about page?

@nandereck we have a video who's thumbnail is mostly white making it blend into a white background. We want to apply these styles to give it some dimension

@nandereck
Copy link
Contributor

We want to apply these styles to give it some dimension

Oh, cool that makes sense!

Copy link
Contributor

@nandereck nandereck left a comment

Choose a reason for hiding this comment

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

LGTM!

@pbortnick pbortnick merged commit 2bd1ec6 into main Aug 9, 2023
7 checks passed
@pbortnick pbortnick deleted the pb.inline-video/class-prop branch August 9, 2023 18:49
@hashibot-web hashibot-web mentioned this pull request Aug 9, 2023
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.

None yet

2 participants