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

[Modal] Consolidate se23 styles and logic #10139

Merged
merged 1 commit into from
Aug 21, 2023
Merged

[Modal] Consolidate se23 styles and logic #10139

merged 1 commit into from
Aug 21, 2023

Conversation

laurkim
Copy link
Contributor

@laurkim laurkim commented Aug 21, 2023

WHY are these changes introduced?

Resolves #9951.

WHAT is this pull request doing?

Consolidates se23 beta styles and logic for Modal.

How to 🎩

Storybook
Prod Storybook

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

🎩 checklist

@laurkim laurkim self-assigned this Aug 21, 2023
export interface CloseButtonProps {
pressed?: boolean;
titleHidden?: boolean;
Copy link
Contributor Author

@laurkim laurkim Aug 21, 2023

Choose a reason for hiding this comment

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

Removed titleHidden prop because it was being used in the custom close button rendered without the flag. CloseButton is only used locally in Modal and not surfaced anywhere in documentation so this prop removal doesn't need to be documented.

Also removed the CloseButton.scss file because custom close button no longer rendered.

Copy link
Contributor

@sophschneider sophschneider left a comment

Choose a reason for hiding this comment

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

✨🧼

Copy link
Member

@sam-b-rose sam-b-rose left a comment

Choose a reason for hiding this comment

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

💯

@laurkim laurkim merged commit 310b34b into next Aug 21, 2023
16 checks passed
@laurkim laurkim deleted the lo/rm-uplift-modal branch August 21, 2023 16:53
sophschneider pushed a commit that referenced this pull request Sep 19, 2023
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
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

3 participants