* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
* master: (45 commits)
Add type definitions for Steps.Step (#14468)
add select check to fix edge wave issue (#14469)
Fix for Pagination ellipsis misalignment (#14473)
change sentry id
✅ Add sentry in ant.design
💄 New Sketch resources!
fix transfer ref (#14441)
Add onMouseEnter and onMouseLeave for Menu Item (#14454)
update snapshot (#14467)
📝 beautify code style in documentation (#14457)
Updating type: TreeSelectProps.getPopupContainer (#14443)
change error version
3.12.4 changelog (#14436)
Format
Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364)
docs: updated doc for create-react-app
fix prefixCls of empty go to div (#14404)
update snapshot (#14406)
add radius on table-placeholder to fix table small size border clip (#14398)
fix style of Input.Search with enterButton (#14397)
...
TreeSelectProps extends AbstractSelectProps. However, the method signatures are different causing compilation issue with typescript:
```
Failed to compile.
/home/kasra/Desktop/Repos/frontend/node_modules/antd/lib/tree-select/interface.d.ts
Type error: Interface 'TreeSelectProps' incorrectly extends interface 'AbstractSelectProps'.
Types of property 'getPopupContainer' are incompatible.
Type '((triggerNode: Element) => HTMLElement) | undefined' is not assignable to type '((triggerNode?: Element | undefined) => HTMLElement) | undefined'.
Type '(triggerNode: Element) => HTMLElement' is not assignable to type '(triggerNode?: Element | undefined) => HTMLElement'.
Types of parameters 'triggerNode' and 'triggerNode' are incompatible.
Type 'Element | undefined' is not assignable to type 'Element'.
Type 'undefined' is not assignable to type 'Element'. TS2430
24 | rootPId?: string;
25 | }
> 26 | export interface TreeSelectProps extends AbstractSelectProps {
| ^
27 | autoFocus?: boolean;
28 | defaultValue?: string | number | Array<any>;
```
TreeSelect implement Tree as popup panel which use title as the display
text.
To follow the Select definition (label as display text), TreeSelect
internal convert the prop label into title to the Tree component (but
will follow if title is set).
ref:
https://github.com/react-component/tree-select/blob/master/src/Select.js
x#L44
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect