-
Notifications
You must be signed in to change notification settings - Fork 11
feat (icons): Icons API end points for retrieving icons. #209
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
base: main
Are you sure you want to change the base?
Changes from all commits
3b20863
a0d3855
da36b8d
2437572
bc103e1
e38d0a1
0d52a5a
a8654f0
b380631
2b8c40c
160618a
1ebf628
fb500e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,14 +55,14 @@ | |
| "@nanostores/react": "^0.8.4", | ||
| "@patternfly/ast-helpers": "1.4.0-alpha.190", | ||
| "@patternfly/patternfly": "^6.0.0", | ||
| "@patternfly/quickstarts": "^6.0.0", | ||
| "@patternfly/react-code-editor": "^6.2.2", | ||
| "@patternfly/react-core": "^6.0.0", | ||
| "@patternfly/react-drag-drop": "^6.0.0", | ||
| "@patternfly/react-icons": "^6.0.0", | ||
| "@patternfly/react-icons": "6.5.0-prerelease.13", | ||
| "@patternfly/react-styles": "^6.0.0", | ||
| "@patternfly/react-table": "^6.0.0", | ||
| "@patternfly/react-tokens": "^6.0.0", | ||
| "@patternfly/quickstarts": "^6.0.0", | ||
| "@types/react": "^18.3.23", | ||
| "@types/react-dom": "^18.3.7", | ||
| "astro": "^5.15.9", | ||
|
|
@@ -74,6 +74,7 @@ | |
| "react-docgen": "^7.1.1", | ||
| "react-dom": "^18.3.1", | ||
| "react-error-boundary": "^6.0.0", | ||
| "react-icons": "^5.5.0", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check where react-icons is imported in the repo (excluding node_modules)
rg -rn "from ['\"]react-icons" --glob '!**/node_modules/**' --glob '!package.json' -A 2Repository: patternfly/patternfly-doc-core Length of output: 56 🏁 Script executed: #!/bin/bash
# Also check for require statements and any other references to react-icons
rg -rn "react-icons" --glob '!**/node_modules/**' --glob '!package-lock.json' --glob '!yarn.lock' | head -50Repository: patternfly/patternfly-doc-core Length of output: 2725 🏁 Script executed: #!/bin/bash
# Check the actual package.json to see all dependencies and their context
cat -n package.json | grep -A 5 -B 5 "react-icons"Repository: patternfly/patternfly-doc-core Length of output: 1004 🏁 Script executed: #!/bin/bash
# Search more broadly for any reference to react-icons, including comments, configs, etc.
rg -i "react-icons" --glob '!node_modules' --glob '!dist' --glob '!build' -t json -t js -t ts -t tsx -t jsxRepository: patternfly/patternfly-doc-core Length of output: 101 🏁 Script executed: #!/bin/bash
# Check if it's perhaps a transitive dependency by looking for import statements in a different way
rg "import.*from.*react-icons|require.*react-icons" --glob '!node_modules'Repository: patternfly/patternfly-doc-core Length of output: 2646 🏁 Script executed: #!/bin/bash
# List all source files to understand the codebase structure
git ls-files | grep -E "\.(ts|tsx|js|jsx)$" | head -20Repository: patternfly/patternfly-doc-core Length of output: 633 Remove unused The codebase uses only 🤖 Prompt for AI Agents
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We probably want to remove this import |
||
| "sass": "^1.90.0", | ||
| "typescript": "^5.9.2" | ||
| }, | ||
|
|
@@ -82,6 +83,8 @@ | |
| "@babel/preset-react": "^7.26.3", | ||
| "@babel/preset-typescript": "^7.26.0", | ||
| "@eslint/js": "^9.16.0", | ||
| "@patternfly/react-data-view": "^6.0.0", | ||
| "@patternfly/react-user-feedback": "^6.0.0", | ||
| "@semantic-release/git": "^10.0.1", | ||
| "@testing-library/jest-dom": "^6.6.3", | ||
| "@testing-library/react": "^16.1.0", | ||
|
|
@@ -110,9 +113,7 @@ | |
| "ts-jest": "^29.2.5", | ||
| "ts-node": "^10.9.2", | ||
| "typescript-eslint": "^8.15.0", | ||
| "wrangler": "^4.20.0", | ||
| "@patternfly/react-user-feedback": "^6.0.0", | ||
| "@patternfly/react-data-view": "^6.0.0" | ||
| "wrangler": "^4.20.0" | ||
| }, | ||
| "config": { | ||
| "commitizen": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
@patternfly/react-icons 6.5.0 stable release npm💡 Result:
A stable
@patternfly/react-icons@6.5.0is not published on npm (nolatest/stable tag pointing to 6.5.0).The most recent stable (
latest) version shown by public registries/CDN mirrors is6.4.0(published Oct 16, 2025). (classic.yarnpkg.com)Citations:
Track
@patternfly/react-iconsprerelease pin for upgrade to stable.6.5.0-prerelease.13is an exact pin to a prerelease build. Prerelease packages carry no semver stability guarantees — APIs can change between iterations without a major bump — and this pin receives no automatic patch or security updates. While the commit notes this is intentional to access static icons, it introduces supply-chain fragility.Once a stable
6.5.x(or higher) is published, this should be updated to a caret range (e.g.,"^6.5.0"). Consider tracking this with a TODO comment or a follow-up issue.🤖 Prompt for AI Agents