zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
...
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
2020-04-28 11:16:01 +08:00
xrkffgg
192146d2a2
style: optimize mentions dropdown in RTL ( #23076 )
2020-04-09 13:18:49 +08:00
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
...
* style: add rtl base
* fix: add test snap
2020-04-09 12:39:10 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size ( #21476 )
...
* fix: Form item has default height align with form size
* fix lint
* update snapshot
2020-02-19 22:04:25 +08:00
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
2020-01-17 17:23:47 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
...
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
2020-01-03 15:20:28 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
...
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
2020-01-02 21:21:57 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
ycjcl868
52e9c20b10
Merge origin/4.0-prepare into feat-dark-palette
2019-12-24 10:42:07 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
ycjcl868
608c000852
fix: mentions bg
2019-12-21 17:07:29 +08:00
ycjcl868
d5d2051ec7
fix: components notification
2019-12-02 13:23:30 +08:00
ycjcl868
aa963b53c0
fix: @mentions-dropdown-bg
2019-12-01 23:58:14 +08:00
ycjcl868
689d9b7ada
feat: @mention-textarea-bg
2019-12-01 21:49:49 +08:00
二货机器人
5fc62314af
chore: Remove LocaleProvider & Mention in export ( #19935 )
...
* chore: Clean up
* clean up test case
* clean up
2019-11-26 14:21:05 +08:00
骗你是小猫咪
bb121444cc
fix: Mentions form example not correct display ( #19908 )
...
* fix: Mentions form example not correct display
* update snapshots
2019-11-24 12:44:58 +08:00
Qhan W
5a24beaf9f
docs: clean up version info in 4.0 ( #19876 )
...
* docs: clean up version info in 4.0
* docs: removed version column in 4.0
2019-11-22 14:37:39 +08:00
二货机器人
efd3b35830
feat: Col support flex
prop ( #16635 )
...
* feat: Col support `flex` prop
* update snapshot
* update doc
* row component use flex type by default
* revert grid flex layout doc
* remove float style
* remove doc old FAQ
* revert .make-row
* col style use flex and max-width
* remove useless Col style and imorove base doc for a single Col
* update snapshots
* fix flex mode pseudo
* update snapshots
* back to old flex mode demo gray background color
* set default col flex => 1 auto
* change grid about flex mode description
* update snapshots
* improve grid introduce and fix with gutter bug
* update snapshots
* remove version
2019-11-20 11:13:24 +08:00
ycjcl868
764c046fbc
tweak: active and hover background color
2019-11-19 11:45:32 +08:00
zombiej
b081fc4766
merge master
2019-09-02 16:09:05 +08:00
二货机器人
cc9c65828a
fix: Chrome input position not align with button ( #18603 )
...
* add debug
* fix: Chrome input position not align with button
* fix lint
2019-09-02 15:35:42 +08:00
偏右
30b1dedaa2
📝 Update Mentions doc
2019-09-02 15:25:11 +08:00
zombiej
fc1d917c62
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-09-02 10:12:05 +08:00
二货机器人
93c0fc1361
fix: Mentions should not collapse when prefix is empty ( #18576 )
2019-08-30 15:34:04 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
二货机器人
7e9cc07059
fix: Mentions in Form has additional height ( #18478 )
2019-08-26 16:44:36 +08:00
Vijay Thirugnanam
c7e11a0eac
feat: upgrade rc-mentions ( #18298 )
...
* upgrade rc-mentions
* update docs for mentions component
* update docs
2019-08-17 16:13:12 +08:00
zombiej
1cb346573c
merge master
2019-08-12 13:34:23 +08:00
Amumu
814cbd013c
fix: add focus and blur for Mentions ( #18132 )
...
* add focus and blur
* fix lint
* add test case
* use focusTest
* 恢复原始测试用例,查看focus的测试结果
* order
2019-08-08 11:11:28 +08:00
zombiej
b30dc1c3bc
merge master
2019-08-06 17:46:53 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombiej
735996ce35
merge master
2019-07-16 11:42:55 +08:00
Meck Zhu
f4095ef5d5
Fix css properties orders
2019-07-15 15:32:08 +08:00
Wei Zhu
5b7c922594
Revert #17508 ( #17639 )
...
* Revert "fix: Style property orders"
This reverts commit 54a992c359
.
* Revert "fix: optimize Input presuffix style(#17414 )"
This reverts commit 9691d2bee1
.
2019-07-15 15:04:51 +08:00
诸岳
54a992c359
fix: Style property orders
2019-07-13 16:55:18 +08:00
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
...
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
zombieJ
b3a76c14ca
feat: Form support scrollToField
( #17457 )
...
* support scroll & label htmlFor
* update snapshot
* add test case
* doc update
* add decleare
* adjust logic of label id
* clean ts error
2019-07-04 15:00:11 +08:00
zombiej
186f973e50
merge master
2019-07-03 20:29:44 +08:00
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
...
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
2019-07-03 20:14:39 +08:00
诸岳
9c9365ce00
fix(Mentions): Incorrect line-height from .input() style
2019-06-28 10:28:43 +08:00
诸岳
171e838f43
style: Fix placeholder color for Mentions, close #17317
2019-06-26 18:02:49 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
...
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
afc163
8efc0ff5e1
🚨 Fix eslint
2019-06-15 23:51:30 +08:00
zombieJ
c5aaeb80fc
fix: mentions ts definition update ( #16814 )
...
* fix mentions ts definition
* adjust logic of Mentions
2019-05-27 14:43:15 +08:00
zombieJ
ecb2eb6ede
feat: Add Mentions component ( #16532 )
...
* init
* first demo
* support empty
* add loading support
* add form sample
* update form sample
* omit value & defaultValue
* add 2 rest demo
* placement support
* update docs
* fix test
* update docs
* add test case
* fix lint
* follow textarea style
* update docs style
2019-05-17 12:05:03 +08:00