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

Fix #6464: PrimeIcons v7 constants #6465

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

melloware
Copy link
Member

Fix #6464: PrimeIcons v7 constants

@melloware melloware added the Core Team Issue or pull request has been *opened* by a member of Core Team label Apr 24, 2024
Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
primereact ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 3:40pm
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 3:40pm

@melloware melloware merged commit 37eb271 into primefaces:master Apr 24, 2024
6 checks passed
@melloware melloware deleted the PR6464 branch April 24, 2024 15:40
ARROW_CIRCLE_LEFT: 'pi .pi-arrow-circle-left',
ARROW_CIRCLE_RIGHT: 'pi .pi-arrow-circle-right',
ARROW_CIRCLE_UP: 'pi .pi-arrow-circle-up',
ARROW_DOWN_LEFTANDARROW_UP_RIGHT_TO_CENTER: 'pi .pi-arrow-down-left-and-arrow-up-right-to-center',
Copy link
Contributor

@inad9300 inad9300 Apr 24, 2024

Choose a reason for hiding this comment

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

I think there are some missing underscores around "AND" here.

Also, I count 311 icons in the documentation – how come there are 314 entries here?

Copy link
Contributor

Choose a reason for hiding this comment

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

@melloware It is "pi-circle-off", "pi-circle-on" and "pi-file-o" that are defined here but aren't listed in the documentation.

Copy link
Member Author

Choose a reason for hiding this comment

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

I copied the names of the icons right from primeicons.css using regex and those values don't have underscores in the icon name so I kept them exact.

Copy link
Contributor

Choose a reason for hiding this comment

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

"ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER" does have underscores, though, and reads much nicer.

WINDOW_MINIMIZE: 'pi pi-window-minimize',
WRENCH: 'pi pi-wrench',
YOUTUBE: 'pi pi-youtube'
ADDRESS_BOOK: 'pi .pi-address-book',
Copy link
Contributor

Choose a reason for hiding this comment

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

Uh, careful here! In the previous version, there was no period before the class name, but now there is.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahh yeah I need to remove the period.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team Issue or pull request has been *opened* by a member of Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing icons
2 participants