Commit Graph

224 Commits

Author SHA1 Message Date
zombieJ
ff23ce72e6
Revert "feat: TreeSelect support showSearch in multiple mode (#15933)" (#15946)
This reverts commit fa47d9ca60.
2019-04-08 20:23:40 +08:00
zombieJ
fa47d9ca60
feat: TreeSelect support showSearch in multiple mode (#15933)
* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch
2019-04-08 20:21:22 +08:00
zombiej
bc8db2311b docs: adjust description 2019-04-03 18:59:41 +08:00
zombieJ
e1a1cdaa4d
docs: Add TreeSelect get parent in FAQ (#15834)
* add faq

* adjust url
2019-04-03 18:20:01 +08:00
zombiej
65dd36a466 rm useless 2019-03-13 15:57:42 +08:00
zombiej
f8baa3787c update tree-select 2019-03-13 11:33:42 +08:00
zombiej
96a95e65d3 update deps lint 2019-03-11 11:48:17 +08:00
Amumu
9549ed308d fix doc (#15259) 2019-03-07 20:40:06 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
zombiej
8389b94cf5 search input sticky 2019-02-20 11:52:06 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* 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
2019-02-15 10:48:07 +08:00
Florian Orpelière
031876bbf3 Update tree select documentation
According to https://github.com/react-component/tree-select documentation
2019-01-31 22:29:28 +08:00
zombiej
cd6071e04d update ts def 2019-01-29 11:21:07 +08:00
zombiej
c61c9e5ae3 Merge branch 'master' into doc-tree-select 2019-01-29 11:16:32 +08:00
zombiej
b835110f79 merge master 2019-01-26 12:02:56 +08:00
Wei Zhu
c4026c4cb5 fix: remove duplicate type (#14444)
Already defined in AbstractSelectProps
2019-01-23 10:39:59 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
* 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)
  ...
2019-01-22 17:34:10 +08:00
Kasra Bigdeli
4e116962f2 Updating type: TreeSelectProps.getPopupContainer (#14443)
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>;
```
2019-01-21 17:14:02 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
zombieJ
2164c58198
New Component: Empty (#13651) 2018-12-26 16:01:00 +08:00
zombiej
b5fc19632b merge master 2018-12-26 14:23:40 +08:00
zombieJ
bf087e29bd
Add remark lint (#13906)
support remark-lint check
2018-12-26 14:14:00 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
ztplz
cfa81bc658 Add missing type 2018-12-02 14:31:19 +08:00
ycjcl868
10eb6fdba5 📝 tree-select open custom icon 2018-12-01 15:09:00 +08:00
zombieJ
9b49fb60d9
Config provider (#12991)
close #12985
2018-11-26 12:06:42 +08:00
zombiej
087b00e09b support auto focus 2018-11-13 10:42:10 +08:00
zombiej
7d5efc46c5 add onFocus & onBlur def on TreeSelect
fix #13100
2018-11-13 00:25:17 +08:00
ilanus
36ed95c8ba sort asc treeselect types add maxTagPlaceholder 2018-11-09 11:31:39 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
decade
4d42f75a59 add TreeSelect type 2018-10-15 17:43:05 +08:00
zombiej
af836c8ed5 fix #12145. Update rc-tree-select to support tree expanded keys 2018-09-26 11:51:40 +08:00
HeskeyBaozi
457f781e6f treeselect: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
844a5a92d7 add suffix icon to tree-select 2018-09-21 13:40:27 +08:00
afc163
f0f44c6608 fix tslint 2018-09-15 00:24:30 +08:00
Jaroslav Bereza
2d415d0be2 Adds missing argument in onChange event (#12243) 2018-09-14 17:13:48 +08:00
zombiej
515a206be5 add value number type in TreeSelect 2018-09-11 16:59:56 +08:00
zombiej
372047e326 update doc 2018-09-09 21:18:34 +08:00
HeskeyBaozi
a4bc1f6b63 fix treeselect clear icon 2018-09-07 14:14:23 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
Zhiqiang Gong
2cf2b678e8 update tree-select typescript (#12091) 2018-09-06 11:49:08 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
e91aa112bf remove svgClassName 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00