Commit Graph

980 Commits

Author SHA1 Message Date
xrkffgg
6412140cae
fix: RangePicker panel style & picker 2.4.0 (#27894)
* fix: RangePicker panel style & picker 2.4.0

* add snap & rtl

* add

* fix
2020-11-21 00:33:21 +08:00
zombiej
7af0cb0d9f chore: Feature merge master 2020-11-16 16:17:42 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
LeoYang
520407925a
docs(date-picker): modify datepicker select-in-range demo (#27751)
* feat: modify datepicker select-in-range demo

* fix: lint
2020-11-13 17:05:16 +08:00
einq7
652374ff4c
fix: DateRangePicker hover effect overflow (#27731)
* fix: DateRangePicker hover effect overflow

* fix: update rtl style
2020-11-12 23:11:21 +08:00
Tom Xu
5b7811f2ee Merge branch 'feature' into merge 2020-11-12 15:24:00 +08:00
fish yu
e5319bd1df
fix: RangePicker align active-bar with small size (#27673)
* fix: RangePicker align active-bar with small size

* fix: RangePicker align active-bar with small size on RTL
2020-11-10 14:58:23 +08:00
Paul Damnhorns
5dce62d814
fix: update Kazakh locale according to new rc-picker & rc-pagination packages (#27631) 2020-11-08 13:26:36 +08:00
Paul Damnhorns
b9d263c7b6
feat: add Kazakh locale (#27589)
* feat: add Kazakh locale

* fix: make translation fixes by @manar-mk

* fix: add Kazakh locale fixes by @roose

* test: add test case for Kazakh locale

* docs: add Kazakh locale to i18n.zh-CH.md
2020-11-07 16:04:44 +08:00
xrkffgg
db89bf3955
fix: RangePicker border style when has same data (#27438) 2020-10-29 15:29:20 +08:00
Amumu
a7ae888a90
docs: docs upgrade (#27367) 2020-10-26 11:57:37 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
zombiej
07506792fc docs: Add DatePicker panelRender FAQ
close #27263
2020-10-21 11:38:18 +08:00
Tom Xu
b5dc079228
chore: improve code style (#27266) 2020-10-21 10:35:06 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
JuniorTour
87dba05e2a
docs: fix invalid disabledDate of RangePicker demo (#27112)
* docs: fix invalid disabledDate of RangePicker demo

Close https://github.com/ant-design/ant-design/issues/26885

* Update select-in-range.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-10-20 22:03:02 +08:00
Kermit Xuan
e883e4ba40
fix(date-picker): showTime should work correctly when format is function (#27156) 2020-10-14 23:00:18 +08:00
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction (#27101)
* style: fix Pickers wrong animation direction

* style: reduce css bundle size
2020-10-12 15:50:02 +08:00
afc163
68a1b18232 merge feature into master-to-merge-feature 2020-10-10 11:36:02 +08:00
StIvan8
4107c83234
feat: add Belarusian translation (#27028)
* add Belarusian language translation

* add Belarusian locale, fix bugs

* fix: slider and select version
2020-10-09 21:37:07 +08:00
Anawin W
88fc56fde8
fix: Update th-TH locale for new date-pickers (#26993) 2020-10-02 20:05:58 +08:00
Kermit Xuan
a733885b50
feat(date-picker): support custom format (#26845)
* feat(upload):  support custom format

* test: update demo snapshot
2020-09-22 15:43:11 +08:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
a9953640f9
style: 💄 fix TimePicker column align (#26784)
add `@picker-time-panel-column-width` and `@picker-time-panel-column-height`

close #26781
2020-09-17 12:54:05 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint (#26600)
* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* fix no use before define

* Update package.json

* fix lint

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome (#26590)
* fix: 🆙 upgrade rc-select to 11.2.x

* style: fix input search clear button

* test: update snapshot
2020-09-05 00:38:39 +08:00
xrkffgg
2005546d22
test: update snap (#26467) 2020-08-28 21:43:44 +08:00
baidumap
3507a01798
fix: 修复disabledTime参数文档 (#26439)
* fix: 修复disabledTime参数文档

* fix: 英文版dates -> date

Co-authored-by: jingruoyu <jingruoyu@xiaomi.com>
2020-08-27 21:15:52 +08:00
偏右
d5eda4f87e
test: add more test cases (#26350)
* test: add more test to Layout

* test: add more test to DatePicker

* refactor: remove unused code in Menu
2020-08-24 10:09:57 +08:00
Diego Barreiro
f1a09fe25d
feat: Galician Locale (#26015)
* feat: Create gl_ES

* Bump dependencies

rc-pagination
rc-picker

* Add test case

* Add documentation

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update test snapshots

* fix snapshot

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 18:26:36 +08:00
Maksim Slotvinskij
16962bbff1
lithuanian language (#26312)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 17:07:48 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
xrkffgg
0c1504cc8d
style: optimize DatePicker footer rtl style (#26158) 2020-08-12 15:06:04 +08:00
xrkffgg
af16da1ccd
fix: DatePicer range start and end show in rtl (#26157) 2020-08-12 14:25:46 +08:00
xrkffgg
7f130a89ec change place 2020-08-12 11:02:23 +08:00
xrkffgg
40b9d8c57a style: optimize DatePicker range show in rtl 2020-08-12 10:45:16 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
afc163
53ef8bed92 docs: 🎬 Improve DatePicker demo 2020-08-06 15:10:52 +08:00
偏右
a9f14ea48f
refactor: 🌎 new kmr_IQ to replace ku_IQ (#26030)
* feat: 🌎 new kmr_IQ to replace ku_IQ

close #25778
close #25790

* fix locale provider Legacy usage

* Update docs/react/i18n.en-US.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update i18n.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-08-06 10:40:58 +08:00
Ivan Yakovlev
2a05d5a93f
fix: remove typo (#25954) (#25990)
Co-authored-by: Ivan.Yakovlev <ivan.yakovlev@pochtavip.com>
2020-08-03 23:21:29 +08:00
Ivan Yakovlev
b91b30c48a
chore: localization update (#25958)
* chore: add missed variable (#25954)

* chore: add missed variables (#25954)

* chore: transform to uppercase (#25954)

* chore: add missed varibles (#25954)

Co-authored-by: Ivan.Yakovlev <ivan.yakovlev@pochtavip.com>
2020-08-02 13:41:44 +08:00
07akioni
5a08aab0e8
docs: DatePicker demo refactor (#25913)
* docs: DatePicker change type demo

* chore: snapshot

* chore

* docs: DatePicker use Space

* chore: snapshot
2020-07-30 19:17:34 +08:00
zombiej
cdefaec190 docs: Update DatePicker docs 2020-07-30 13:56:18 +08:00
Kermit Xuan
53be0fb0a7
chore(picker): improve hovering experience (#25826) 2020-07-27 15:56:34 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice (#25768)
* docs: Update DatePicker docs and add legacy notice

* clean up

* only warning for QuarterPicker

* update docs

* fix lint

* note to warning
2020-07-23 11:25:17 +08:00
Kim Wing Fung
2bbdc2c911
feat: RangePicker onCalendarChange info support (#25568)
* Include new parameters for onCalendarChange to match rc-picker v1.12.0

* Use correct highlighting

* Update to rc-picker 1.12.1

* Include version information

* Adjust version information

Co-authored-by: Kim-Wing-Fung <c-kfung@powercosts.com>
2020-07-10 16:53:26 +08:00
二货机器人
a736ab367c
feat: Support panelRender (#25488) 2020-07-08 09:58:53 +08:00
二货机器人
6769a9baa9
fix: RangePicker clear btn position (#25458) 2020-07-06 23:01:43 +08:00
Johannes Andersen
f71d2d5493
feat: improve nb_NO translations (#25374)
* feat: improve nb_NO translations

* fix: issued with VSCode not highlighting issues

* fix: fix failing snapshot test

* Updated rc-picker 1.10.0 -> 1.10.6
2020-07-06 11:03:56 +08:00
xrkffgg
04b728e6f5
docs: format api cascader/datepicker/form (#25307) 2020-06-30 16:36:58 +08:00
陈帅
523b74e3b6
merge master into Feature (#25262)
* feat: add successColor for Progress (#24655)

* feat: add successColor for Progress

* feat: update

* fix: update test

* remove snap

* feat: add test case

* refactor success

* feat: adjust styyle

* feat: add DevWarning

* feat: Support rowSelection.dirty (#24718)

* feat: Support rowSelection.dirty

* rename to reserveKeys

* preserveKeys will keep record also

* to preserveSelectedRowKeys

* feat: add ghost prop for collapse (#24734)

* feat: add ghost prop for collapse

* doc: version of collapse's ghost prop

* refactor: make ghost collapse's less code to a nested style

* chore: remove redundant codes in ghost collapse's less & doc

* doc: add a background wrapper for ghost collapse demo

* doc: dark-theme wrapper bg-color for ghost collapse demo

* test: update snapshot of ghost collapse

* doc: use softer bg-color on ghost collapse demo

* doc: remove disabled panel in ghost collapse demo

* feat: form instance support getFieldInstance (#24711)

* support getFieldInstance

* update doc

* fix lint

* move func

* move into hooks

* update ref logic

* fix lint

* rm only

* fix docs

* feat: dropdown support arrow (#23869)

* feat: dropdown support arrow prop

close #22758

* test: update snapshot

* fix: fix dropdown cls names

* test: update snapshot

* test: update snapshot

* doc: update demo

* test: update demo snapshot

* demo

* fix: snapshot

* chore: change the style of ghost collapse & demo modified (#24762)

* refactor: reduce content padding in ghost collapse

* doc: remove the wrapper outside ghost collapse

Designer want the demo differs from other demos

* refactor: remove redundant .less code in collapse

* feat: cascader dropdown-render prop (#24812)

* feat: cascader dropdown-render prop

* fix: update Cascader dropdownRender type annotation

* fix: set rc-cascader semver from ^ to ~

* docs: fix coding style in cascader/custom-dropdown

* feat: 🆕 support Drawer closeIcon (#24842)

* feat: 🆕 support Drawer closeIcon

close #19283
close #19153

* add test case

* update docs

* feat: 🆕 Cascader expandIcon (#24865)

* feat: cascader expandIcon

* fix: snap

* refactor: reduce CSS size (#24846)

* refactor: reduce button css size

* refactor: remove redundant button .less code

* feat: add Table onChange an action param (#24697)

* Working on tests

* created TableAction type

* changed TableActions to tuple

* removed chinese documentation line

* refactor TableActions

* fix documentation

* Moved action into extra param

* minor doc change

* feat: add closeIcon customize tag close (#24885)

* feat: add closeIcon customize tag close

* docs fix

* update snap

* fix: css name

* update snapshot

* snapshot

* feat: add radio `optionType` api to set radio option type (#24809)

* feat: radio component

* docs: update md

* fix: snap

* test components

* fix: use optionType

* fix name

* add warning

* fix

* feat: expand rate character (#24903)

* feat: expand rate character

* fix: demo

* fix: snap

* Update components/rate/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>

* fix

Co-authored-by: 偏右 <afc163@gmail.com>

* Refactor demo code box actions (#24887)

* refactor: refine the styling of actions part of demo code-box

* fix: lint style

* refactor: move Result children to end (#24945)

* feat: remove content max-width on dot-step (#24907)

* feat: add Skeleton-Image (#24805)

* feat: add Skeleton-Image

* feat: add docs

* fix: adjust skeleton

* feat: adjust Image Component

* feat: rebase

* feat: adjust style

* fix: lint

* feat: remove size

* feat: delete md

* feat: fix style

*  feat: Mentions support autoSize (#24961)

close #17746

* chore: replace textarea with rc-textarea (#24966)

* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964)

* feat: update pagination@2.5.0 and add test case to relative component

* fix: lint

* delete

* feat: add test case for pagination

* adjust test case

* feat: Implement centered prop in Tabs (#24958)

* Implement centered in Tabs along with its tests and docs

* Fix build error

* Add Chinese translations and remove test case

Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>

* feat: Add modal style parameter (#24773)

* add some paramters in default.less

* Update components/style/themes/default.less

Co-authored-by: Amumu <yoyo837@hotmail.com>

* change parameter in compact.less

Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>

* feat: export Tabs addIcon (#25006)

* feat: export Tabs addIcon

* update snapshot

* feat: showNow on timepicker and datetimepicker (#25032)

* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035)

* feat: update rc-picker@1.7.1

* delete

* add

* feat: expand rate support props (#24993)

* docs: 📝 Add Form.Item hidden in doc (#25108)

close #25101

* fix: ⌨️ Improve Pagination accessibility issue (#25119)

* ⌨️ Improve Pagination a11y by fixing a W3C error

https://github.com/react-component/pagination/issues/280

* update snapshot

* 🆙 rc-pagination to 2.4.1

* feat: support triggerSubMenuAction for <Menu /> (#25127)

* feat(menu): add triggerSubMenuAction for Menu

* feat(menu): test cases

* chore: Adjust picker logic (#25135)

* chore: update rc-picker 1.10.0 (#25174)

* feat: table row check strictly (#24931)

* feat: add checkStrictly on Table.rowSelection

* fix: LGTM warnings

* test: table rowSelection.checkStrictly

* test: add cov [wip]

* refactor: tree.rowSelection.checkStrictly [wip]

* test: table.rowSelection.checkStrictly basic case

* feat: support rowKey on checkStrictly table

* feat: Table checkStrictly support getCheckboxProps

* docs: Table checkStrictly

* chore: typo

* chore: remove useless comment

* chore: update snapshot

* chore: update snapshot

* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback

* docs: typo

* chore

* chore

* fix: expand buttons of leaf rows in tree data are not hidden

* feat: Table warning about rowKey index parameter

* perf: only generate keyEntities when not checkStrictly

* refactor: remove useless parseCheckedKeys

* refactor: get derived selected & half selected keys from selectedRowKeys

* chore: remove env condition stmt

* chore: revert index usage & code formatting

* chore: rerun ci

* docs: table tree-data checkstrictly

* test: update snapshots

* refactor: use useMergedState hook

* chore: rerun ci

* chore: rerun ci 2

* chore: revert selection select all behavior

* refactor: refactor code based on feature

* chore: revert table code format

* chore: revert table code format

* fix: useMemo deps

* fix: useMemo deps

* fix: useMemo deps

* feat: support preserve (#25186)

* docs: add responsibly order for Col (#25139)

* feat: add type

* feat: add responsibly order cols

* feat: add docs

* feat: add test case

* fix test

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
2020-06-28 22:41:59 +08:00
Samed Düzçay
eadbd62ee8
feat: improve Turkish translations (#25100)
* Update Turkish translations

* feat: update Turkish translations

* /* eslint-disable no-template-curly-in-string */

* fix: minor change to a Turkish translation

* chore: update snapshots

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-06-20 18:10:52 +08:00
xrkffgg
7f2d8a4a50
fix: TimePicker panel align (#25019)
* fix: TimePicker panel align

* fix: padding

* fix: height

* fix: both
2020-06-18 10:54:45 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
xrkffgg
4e2118cad0
docs: update picker placeholder (#24861) 2020-06-09 13:07:39 +08:00
afc163
019eeec3ce fix: TimePicker.RangePicker don't support bordred={false}
when has className

close #24768
2020-06-06 14:37:08 +08:00
afc163
e09ce6284e 🎬 update DatePicker and TimePicker demo 2020-06-06 14:01:29 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
9d4d6f5402
Added Irish(ga_IE) locale (#24609)
🆙 upgrade rc-pagination and rc-picker

🇮🇪 docs and test case of Irish locale

Co-authored-by: AbhijeetGaware <56472463+AbhijeetGaware@users.noreply.github.com>
2020-05-31 12:40:10 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
偏右
a9b95fe63b
docs: 📅 DatePicker change start day of week (#24605)
close #5605
close #19229
close #17982
close #3877
close #11552
close #10644
close #12194
2020-05-31 01:01:53 +08:00
偏右
cf360252f7
chore: 🆙 upgrade rc-util to 5.x (#24584)
* 🆙 upgrade rc-util to 5.x

* 5.0.1

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* upgrade rc-menu and rc-mentions

* upgrade rc-tabs

* upgrade rc-picker

* upgrade rc-table

* fix snapshot

* Update package.json

* Update package.json

* Update package.json
2020-05-30 14:56:03 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
偏右
1bba2ef65e
chore: Delete netlify.toml and update devDeps (#24343)
* Delete netlify.toml

* 🆙 upgrade dev deps

* fix mockdate tsd

* fix tsc noEmit
2020-05-21 23:27:02 +08:00
二货机器人
c40b291415
feat: RangePicker support info (#24278) 2020-05-19 20:13:11 +08:00
二货机器人
a83143bbbc
fix: Picker disabled today (#24190) 2020-05-15 18:45:10 +08:00
偏右
8497e54e39
docs: 📖 keep documentation up to date (#24184)
* docs: remove babel-plugin-import from docs

* docs: react-scripts-rewired + customize-cra => craco

* docs: remove babel-plugin-import

* fix remark link
2020-05-15 17:18:55 +08:00
二货机器人
586c7f5218
fix: DatePicker panel exceed (#24145) 2020-05-14 12:01:27 +08:00
afc163
50e33768a9 fix DatePicker snapshot 2020-05-13 16:10:48 +08:00
xrkffgg
04eb91dc8e
style: fix datepicker panel style (#24028) 2020-05-11 12:02:24 +08:00
xrkffgg
e26eb5f892
docs: optimize site of rtl (#23995) 2020-05-10 22:11:09 +08:00
xrkffgg
015109b42b
style: opt datepicker active bar style in rtl (#23981) 2020-05-09 10:00:23 +08:00
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined (#23818)
* fix placeholder

* add test case

* update snapshot
2020-05-02 21:55:23 +08:00
偏右
78b7cf22a1
style: 💄 Fix DatePicker clear icon style (#23811) 2020-05-01 22:16:05 +08:00
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +08:00
偏右
7bf44c417c
test: fix test case for RangePicker presetted ranges (#23710)
*  fix test case for RangePicker presetted ranges

* 🆙 upgrade simple-git
2020-04-28 16:48:06 +08:00
afc163
e4bdfb218c add test case for RangePicker presetted ranges 2020-04-28 16:00:04 +08:00
偏右
b70d607b9f
💄 Fix RangePicker ranges color when custom theme (#23705)
close #23687
2020-04-28 14:59:17 +08:00
Tom Xu
f5153ab950
docs: improve style type (#23700) 2020-04-28 14:09:54 +08:00
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
Tom Xu
8cdf1c017a
fix: ConfigProvider getPopupContainer invalid (#23594)
* fix: ConfigProvider getPopupContainer invalid

* slider getPopupContainer

* Create container.test.js

* Update container.test.js
2020-04-25 22:46:21 +08:00
偏右
835bcabdbc
💄 fix DatePicker/TimePicker icon color (#23508)
should be same as 3.x
2020-04-23 10:48:51 +08:00
Tom Xu
b7e877aeef
refactor(slider): rewrite with hook (#23474)
* refactor(slider): rewrite with hook

* improve test

* Revert "improve test"

This reverts commit 48cd83d0cc.

* improve test

* improve test 2
2020-04-22 15:58:57 +08:00
偏右
c550cb050b
💄 fix DatePicker/TimePicker disabled icon color (#23478) 2020-04-22 15:16:51 +08:00
偏右
db97c5788e
chore: add remark lint (#23457)
* 💄 Add remark lint for markdown files

* 💄 Add remark lint for markdown files

* 💄 Add remark lint for markdown files
2020-04-21 23:40:41 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style (#23074)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow

* use icon

* update font size

* update snashot
2020-04-09 13:18:13 +08:00
xrkffgg
4d31ed8994
style: optimize datepicker rtl style (#22595)
* style: optimization datepicker rtl style

* fix icon in rtl

* fix: opt rtl
2020-04-09 12:38:53 +08:00
二货机器人
f42cdca081
chore: adjust RangePicker style (#23025)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow
2020-04-08 20:41:57 +08:00
Calin Vlad
4ed2d6a44d
docs: update DatePicker docs to specify correct monthCellRender prop insted of monthCellContentRender (#22946) 2020-04-05 22:18:14 +08:00
zombiej
3b77e610fe chore: Update snapshot 2020-04-03 12:19:41 +08:00
二货机器人
9ecb12db76
refactor: Refactor picker generate to multiple files (#22850)
* move single picker out

* move generateRangePicker out

* fix compile
2020-04-02 15:46:07 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style (#22847)
* adjust rangepicker style

* update snapshot

* fix lint

* add aria label
2020-04-02 15:05:31 +08:00
Paul Julien
33e5ef20ed
fix: Fix date_picker et time_picker locale for 🇫🇷 (#22769)
* fix french locale

* le -> un
2020-04-01 16:07:16 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
zombiej
7878fb6edc fix test case 2020-03-27 13:25:18 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
xrkffgg
901f862117
style: add separator disabled (#22563) 2020-03-24 17:27:40 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00