This PR fixes the #41 issue and improves the token initiation logic for newer versions of Ant Design. After version 5.8.6 Ant uses initComponentToken to generate the common token for a component, and the legacy code with initInputToken was not enough for the search box of the country select dropdown (it can be seen in the screenshot of #39 discussion).
All Submissions:
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes to Core Features:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you updated the documentation related to the changes you have made?
[ ] Have you written new tests for your core changes, as applicable?
[x] Have you successfully run tests with your changes locally?
Motivation:
This PR fixes the #41 issue and improves the token initiation logic for newer versions of Ant Design. After version
5.8.6
Ant usesinitComponentToken
to generate the common token for a component, and the legacy code withinitInputToken
was not enough for the search box of the country select dropdown (it can be seen in the screenshot of #39 discussion).All Submissions:
Changes to Core Features: