Icons Missing #6335
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The following icons exist in the PrimeIcons package and are listed in the PrimeVue docs but aren't exported members in the @primevue/core/api module:
ADDRESS_BOOK
ARROW_DOWN_LEFT_AND_ARROW_UP_RIGHT
ARROWS_ALT
BELL_SLASH
BUILDING_COLUMNS
BULLSEYE
CART_ARROW_DOWN
CART_MINUS
CHART_SCATTER
CLIPBOARD
COMMENTS
CROWN
EQUALS
ETHEREUM
EXPAND
FACE_SMILE
FILE_ARROW_UP
FILE_CHECK
FILE_PLUS
FOLDER_PLUS
GAUGE
GRADUATION_CAP
HAMMER
INDIAN_RUPEE
LIGHTBULB
LIST_CHECK
MARS
MICROCHIP
MICROCHIP_AI
OBJECTS_COLUMN
PAUSE_CIRCLE
PEN_TO_SQUARE
PINTEREST
PLAY_CIRCLE
RECEIPT
REPLY
SHOP
SIGN
SORT_UP_FILL
SORT_DOWN_FILL
STAR_HALF
STAR_HALF_FILL
THUMBTACK
TIKTOK
TROPHY
TURKISH_LIRA
TWITCH
VENUS
WAREHOUSE
WAVE_PULSE
Please add them to the icons exported by the core api.
Also the following Icons are named wrong and should be renamed to:
ARROW_H
->ARROWS_H
ARROW_V
->ARROWS_V
MICREPHONE
->MICROPHONE
SORT_ALPHA_ALT_DOWN
->SORT_ALPHA_DOWN_ALT
SORT_ALPHA_ALT_UP
->SORT_ALPHA_UP_ALT
SORT_NUMERIC_ALT_DOWN
->SORT_NUMERIC_DOWN_ALT
SORT_NUMERIC_ALT_UP
->SORT_NUMERIC_UP_ALT
Please rename the keys to reflect the docs.
Reproducer
https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-7sp74y?file=src%2FApp.vue
PrimeVue version
^4.0.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
import { PrimeIcons } from '@primevue/core/api';
in a Vue SFCPrimeIcons.WAREHOUSE
orPrimeIcons.WAVE_PULSE
to a HTML node's class attributeTS Error:
Vue: Property WAREHOUSE does not exist on type PrimeIconsOptions
In Browser: class attribute has no value
Expected behavior
All icons available in PrimeIcons library should be exposed by the core/api module and have their keys named correctly.
The text was updated successfully, but these errors were encountered: