Prerequisites
Affected component
Drop the disableSvgIcons option from IconConfig
Summary
We should drop the disableSvgIcons option from IconConfig since it cause issues for applications which provide icons as SVG. Vendors which plan to use custom icons can create their own provider which call the addIcons method to override the existing icons. We should only ensure that addIcons allows to register the same icon name only once. To ensure the default component icons don't override the vendor icons.
Further, here are some icons examples where the automatic camel to kebap-case transformation would fail:
- element-co2-outdoor
- element-co2-indoor
- element-room-3d-filled
- element-room-3d
Version
No response
Steps to reproduce
Code reproduction example
What is the current bug behavior
What is the expected correct behavior
Prerequisites
Affected component
Drop the
disableSvgIconsoption fromIconConfigSummary
We should drop the
disableSvgIconsoption fromIconConfigsince it cause issues for applications which provide icons as SVG. Vendors which plan to use custom icons can create their own provider which call the addIcons method to override the existing icons. We should only ensure thataddIconsallows to register the same icon name only once. To ensure the default component icons don't override the vendor icons.Further, here are some icons examples where the automatic camel to kebap-case transformation would fail:
Version
No response
Steps to reproduce
Code reproduction example
What is the current bug behavior
What is the expected correct behavior