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

Missing icons #6464

Closed
inad9300 opened this issue Apr 24, 2024 · 7 comments · Fixed by #6465, #6466, #6467, leoo1992/GeradorQRCode#23 or leoo1992/GeradorQRCode#27
Closed

Missing icons #6464

inad9300 opened this issue Apr 24, 2024 · 7 comments · Fixed by #6465, #6466, #6467, leoo1992/GeradorQRCode#23 or leoo1992/GeradorQRCode#27
Assignees
Labels
good first issue *** Welcome to PrimeReact Family! *** Good issue! Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@inad9300
Copy link
Contributor

Describe the bug

It seems the last batch of icons did not make it to PrimeReact... e.g. "gauge", "warehouse" and "hammer" are missing. In total, there are 311 icons, but only 261 types.

(Similar to: #5333.)

Reproducer

No response

PrimeReact version

10.6.3

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@inad9300 inad9300 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 24, 2024
@melloware
Copy link
Member

Are you referrring to the Constants? PR is welcome. Updated to PrimeIcons 7.0.0 but did not go through and update all the constants.

@melloware melloware added good first issue *** Welcome to PrimeReact Family! *** Good issue! and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 24, 2024
@melloware melloware self-assigned this Apr 24, 2024
@melloware melloware added this to the 10.6.4 milestone Apr 24, 2024
melloware added a commit to melloware/primereact that referenced this issue Apr 24, 2024
@inad9300
Copy link
Contributor Author

@melloware Please, have a look at my comments at https://github.com/primefaces/primereact/pull/6465/files#r1578160473.

@melloware
Copy link
Member

OK icons fixed. Also if you are concerned any are missing I pulled them right from here: https://github.com/primefaces/primeicons/blob/master/primeicons.css

@inad9300
Copy link
Contributor Author

inad9300 commented Apr 24, 2024

I would like to insist on the fact that "pi-circle-off", "pi-circle-on" and "pi-file-o" are not part of the documentation. In that sense, primeicons.css seems outdated itself.

Also, both these classes properly separate the word "and":

.pi-arrow-up-right-and-arrow-down-left-from-center
.pi-arrow-down-left-and-arrow-up-right-to-center

Which is not the case with one of their constants:

ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER
ARROW_DOWN_LEFTANDARROW_UP_RIGHT_TO_CENTER # <-- Missing underscores.

@melloware
Copy link
Member

I am confused. Are you saying pi circle on is or isn't in primeicons.css. I pulled the CSS directly from the PrimeIcons repo?

@inad9300
Copy link
Contributor Author

I'm saying those three icons aren't listed in https://primereact.org/icons.

@melloware
Copy link
Member

Looks like the JSON file from PrimeIcons was out of date: https://github.com/primefaces/primeicons/blob/master/selection.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment