You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The classes mentioned in the documentation for the ProgressSpinner component are not aligned with the classes used in the actual Angular component's template. This inconsistency can lead to confusion and potential issues for developers who rely on the documentation for theming or other customizations.
Environment
I encountered this issue while working in a development environment using Angular, specifically with PrimeNG's ProgressSpinner component.
Reproducer
No response
Angular version
16.1.4
PrimeNG version
16.0.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
No response
Steps to reproduce the behavior
Navigate to the documentation for the ProgressSpinner component.
Observe the classes mentioned for various elements:
Expected for SVG element: p-progress-circle
Expected for Circle element: p-progress-path
Now, inspect the actual Angular component's template.
Observe the classes used in the template:
Actual for SVG element: p-progress-spinner-svg
Actual for Circle element: p-progress-spinner-circle
Notice the discrepancy between the expected classes from the documentation and the actual classes in the component template.
The classes mentioned in the documentation should align with the classes used in the Angular component's template to avoid any confusion or potential issues.
Describe the bug
The classes mentioned in the documentation for the ProgressSpinner component are not aligned with the classes used in the actual Angular component's template. This inconsistency can lead to confusion and potential issues for developers who rely on the documentation for theming or other customizations.
Environment
I encountered this issue while working in a development environment using Angular, specifically with PrimeNG's ProgressSpinner component.
Reproducer
No response
Angular version
16.1.4
PrimeNG version
16.0.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
No response
Steps to reproduce the behavior
p-progress-circlep-progress-pathp-progress-spinner-svgp-progress-spinner-circleTemplate:
primeng/src/app/components/progressspinner/progressspinner.ts
Lines 9 to 15 in 24993b4
Documentation:
primeng/src/app/showcase/doc/progressspinner/styledoc.ts
Lines 22 to 29 in 24993b4
Expected behavior
The classes mentioned in the documentation should align with the classes used in the Angular component's template to avoid any confusion or potential issues.