kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
83 stars 22 forks source link

Empty State: Use name property on icon in empty state for custom icons #3345

Closed RasmusKjeldgaard closed 7 months ago

RasmusKjeldgaard commented 7 months ago

Which issue does this PR close?

This PR closes no issue, but fixes that the customName property was always set on icons in empty-state, giving a customName deprecation warning for icons even if a builtin icon name was used.

Additionally it deprecates the empty-state customIconName similarly to the icons customName.

Does this PR introduce a breaking change?

Are there any additional context?

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

Review

When the pull request has been approved it will be merged to develop by Team Kirby.