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(Icon): add new icon sizes for penta #10030

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

wise-king-sullyman
Copy link
Contributor

@wise-king-sullyman wise-king-sullyman commented Jan 22, 2024

What: Closes #9988

Additional issues:

I added the case-anything package to handle changing case (i.e. cameCase to kebab-case) for us, needed it for converting prop values to class names in the updated Icon tests.

Convenience link: https://patternfly-react-pr-10030.surge.sh/components/icon/

@wise-king-sullyman wise-king-sullyman linked an issue Jan 22, 2024 that may be closed by this pull request
@patternfly-build
Copy link
Contributor

patternfly-build commented Jan 22, 2024

@wise-king-sullyman wise-king-sullyman requested review from a team, mfrances17, kmcfaul, andrew-ronaldson, lboehling and srambach and removed request for a team January 22, 2024 20:38
Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Looks good, had a nit below about a test but not a blocker

@@ -41,16 +42,34 @@ test('sets additional custom class successfully', () => {
expect(iconContainer).toHaveClass('test');
});

Object.values(['sm', 'md', 'lg', 'xl']).forEach((size) => {
Object.values([
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: could we instead combine the 3 instances of this forEach into a single one, then just run all the tests that need to in here

Copy link
Collaborator

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Collaborator

@lboehling lboehling left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link
Contributor

@gitdallas gitdallas left a comment

Choose a reason for hiding this comment

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

lgtm, 1 question though

Copy link
Member

@srambach srambach left a comment

Choose a reason for hiding this comment

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

LGTM 🥇

@thatblindgeye thatblindgeye merged commit bc37bcc into patternfly:v6 Jan 31, 2024
13 checks passed
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.

Consume core Penta updates: Icon
7 participants