when a screen reader parses an icon, it sees the role attribute has a value of 'img'. in the case where we don't want the screen reader to read the icon, the role can be assigned a blank value and the role attribute will not be added. instead, the aria-hidden attribute will be added with a value of 'true'
no breaking changes
* feat(icon): two-tone color icon implements
* generate secondary color from js, and generate icon from C#
* remove unused code
* render the icons in the prerendering stage
* render the icons in the prerendering stage
* fixed multiple renders
* refactor iconfont
* remove should render flag
* fix color change
* add AvoidPrerendering
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix: the issue #762 switch loading icon has a little shift
* test: comment the table tests provisionally
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* feat: add icon list for demo page of icon
* feat: add copy function for icon list
* feat: get existed icon
* feat: remove some blanks in list.razor
* feat: remove some blanks
* fix: default value is outline for icon list
* fix: click to copy for icon list
* feat: add async to load icon list
* feat: update iconlistService
* chore: update icons
* fix: icon load async
* feat: add application icons in IconlistServices
* fix: remove the exist icon from existed catogory if duplicated
* fix: add @key for list items
* fix: revert the change
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* Children components using CascadingParameter add itself to parent component.However, when children components disposed, they are not remove from parent component. For example, when items in checkgroup have changed , it may causes Index was outside the bounds of the array at AntDesign.CheckboxGroup.OnCheckboxChange.To fix these bug, Adding remove function in dispose process is the solution of this commit.
* fix: some exception
Co-authored-by: ElderJames <shunjiey@hotmail.com>