Commit Graph

793 Commits

Author SHA1 Message Date
二货机器人
1b15ccacc8
fix: Fixed Table small style (#21431) 2020-02-18 16:28:25 +08:00
二货机器人
5425d8451e
fix input lg height issue (#21338) 2020-02-11 17:48:36 +08:00
偏右
cf4808b50e 🐛 Fix Menu collapsed jumping (#21314)
close #21301
2020-02-10 13:50:22 +08:00
偏右
d23c550976
💄 new tabs style (#21256)
smaller bar width
2020-02-07 11:08:16 +08:00
偏右
93e6454488
🆕 Add less variable @form-item-label-font-size (#21216)
close #21205
2020-02-04 17:01:03 +08:00
Teng YANG
bf56026809 update clearfix mixin (#21109)
Refs: ff29c1224c/scss/mixins/_clearfix.scss
2020-01-26 21:42:14 +08:00
Amumu
f4806ef9da fix: add less variable to fix Layout.Header font color (#21033)
* add less variable to fix Layout.Header font color

* fix lint
2020-01-21 11:24:57 +08:00
Amumu
9c5a3c6cec chore: Revert #21013 and upgrade (#21015)
* Revert "💄 (Timeline): add @timeline-item-padding variable (#21013)"

This reverts commit 6b3b6aa511.

* add @timeline-item-padding-bottom
2020-01-20 10:28:51 +08:00
He Linming
6b3b6aa511 💄 (Timeline): add @timeline-item-padding variable (#21013)
close #20953
2020-01-19 21:11:55 +08:00
二货机器人
3fa274190e
Remove magic number of style align (#20869)
* fix: Adjust baseline align

* clean up

* Select style

* fix lint
2020-01-13 19:36:27 +08:00
soeyi
a5cb32fd5b feat: add back @border-radius-sm (#20818)
* feat: add back @border-radius-sm

* feat: use @border-radius-base instead of 2px
2020-01-13 16:01:23 +08:00
afc163
e3b0104c53 🐛 fix Firefox placeholder opacity
https://bugzilla.mozilla.org/show_bug.cgi?id=556145
2020-01-13 14:43:35 +08:00
Hami Abdi
d70637edba feat: Add Min-Width Style Variables for Switch Component (#20829)
* chore: Export form typescript interface

* Feat -- Min-Width Style Variables for Switch Component

Implementation of feature request from @LuisRodriguezLD

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-11 23:24:10 +08:00
信鑫-King
da64b8b59a tweak: DatePicker styling (#20736)
* tweak: picker start and end border-radius

* fix: border

* feat: @picker-basic-cell-active-with-range-color: and @picker-date-hover-range-color

* fix: border-radius use less vars

* revert: date picker panel border
2020-01-09 15:32:12 +08:00
偏右
117495e28f
🐛 Fix .iconfont-size-under-12px not working (#20765)
Fix InputNumber and Other components icon size

close #20752
2020-01-08 16:31:25 +08:00
偏右
539b4cd968
🐛 tweak @zindex-badge for table fixed column (#20751)
close #20750
close #13930
2020-01-08 12:09:53 +08:00
偏右
66e2a3ccc0
🔤 Tweak font family, same as tailwindcss (#20747)
https://tailwindcss.com/docs/font-family/#app
2020-01-08 11:29:15 +08:00
Dean van Niekerk
019fdd58a0 feat: add footer property to Drawer (#20690) 2020-01-06 14:56:00 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +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
信鑫-King
f88f383be6
fix: dark site in Form and iframe change (#20573)
* fix: suggestion dark bg

* fix: demo use autoComplete="off"

* feat: support iframe theme change

* fix: iframe dark theme

* upd: test snapshot

* fix: lint

* fix: lint

* tweak: use theme-switcher to handle iframe and parent

* feat: support iframe theme change

* fix: dark shadow

* fix: layout style

* fix: dark site style

* fix: snapshot
2020-01-02 17:54:11 +08:00
ycjcl868
857fc6e73c fix: timeline dot bg 2019-12-31 15:45:33 +08:00
ycjcl868
eb005a17cb fix: table header 2019-12-31 15:12:18 +08:00
ycjcl868
e7663800c6 fix: Picker margin-bottom 2019-12-31 15:12:18 +08:00
ycjcl868
f230ac58d6 fix: site dark, tweak style 2019-12-31 15:12:18 +08:00
偏右
7dea548551 refactor: 🗑 remove deprecated or compatibility css code (#20547)
* 🗑️ remove deprecated or compatibility css code

*  update snapshots

*  fix test case and compile error

*  fix stylelint
2019-12-31 11:54:39 +08:00
ycjcl868
45082873d6 fix: menu popup dark color 2019-12-26 14:06:32 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
ycjcl868
7215fee6e3 fix: alert component dark theme 2019-12-25 21:04:47 +08:00
ycjcl868
c6fa94c534 fix: picker-date hover range color 2019-12-25 20:34:40 +08:00
ycjcl868
ca77c02d10 fix: Progress steps item bg 2019-12-25 20:24:40 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
ycjcl868
f7cfb21d1c fix: calendar-full background 2019-12-25 18:06:50 +08:00
ycjcl868
2af4c84c22 fix: table header sort active bg 2019-12-25 16:59:21 +08:00
ycjcl868
c100b892ba fix: table dark theme style 2019-12-25 15:59:16 +08:00
ycjcl868
839ed3ed05 fix: table site dark style 2019-12-25 15:14:34 +08:00
ycjcl868
957b1ac7d0 fix: calendar style hover 2019-12-25 15:04:41 +08:00
ycjcl868
fb44177f2f fix: dark theme fixed 2019-12-25 11:02:45 +08:00
ycjcl868
35c01f6874 fix: descriptions bg 2019-12-25 10:28:29 +08:00
ycjcl868
589750dbd6 fix: dark.css theme in site 2019-12-24 18:14:21 +08:00
ycjcl868
52e9c20b10 Merge origin/4.0-prepare into feat-dark-palette 2019-12-24 10:42:07 +08:00
ycjcl868
0f546690b5 fix: steps styles 2019-12-23 18:36:49 +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
27ce7012e7 fix: border-color 2019-12-23 18:08:15 +08:00
chenshuai2144
cbfc052d0d dark theme sync 2019-12-23 16:02:09 +08:00
ycjcl868
4895c3d2a9 fix: dark theme 2019-12-23 11:46:40 +08:00
ycjcl868
65695f4f62 Merge origin/4.0-prepare into feat-dark-palette 2019-12-23 09:15:40 +08:00
骗你是小猫咪
5b29913174
refactor(Button): base style use flex (#20300)
* improvement(Button): base style use flex

* remove unnecessary style

* add vertical-align

* fix style lint order

* remove vertical-align and improve global line-height

* change line-height-base

* update form debug demo
2019-12-21 22:01:47 +08:00
ycjcl868
b15458f8c5 fix: dark theme 2019-12-21 17:11:32 +08:00
ycjcl868
608c000852 fix: mentions bg 2019-12-21 17:07:29 +08:00
ycjcl868
d316190e41 fix: picker dark theme 2019-12-21 16:38:51 +08:00
ycjcl868
8ffcbe468a feat: change theme 2019-12-18 18:45:05 +08:00
ycjcl868
e53a05cf53 tmp: not merge 2019-12-18 15:28:36 +08:00
ycjcl868
dae4e4f5fe fix: primary color , fix select item bg 2019-12-18 15:28:36 +08:00
ycjcl868
70ea42aa18 fix: slider color 2019-12-18 15:28:36 +08:00
ycjcl868
3b112e048d fix: process-tail-color 2019-12-18 15:28:36 +08:00
二货机器人
c35174e9e5
fix Form.Item align style (#20216) 2019-12-13 10:38:40 +08:00
Theo Satloff
721d8cb4a0 improve dropdown/cascader/select customization 2019-12-10 13:21:36 +08:00
ycjcl868
bb42770da7 fix: rename @gray-11 to @popover-background 2019-12-07 10:21:05 +08:00
ycjcl868
89e8d01310 fix: @menu-popup-bg in dark 2019-12-05 12:33:48 +08:00
ycjcl868
6af7f8382c feat: @input-icon-hover-color 2019-12-05 00:04:50 +08:00
ycjcl868
34332116fb feat: @skeleton-to-color, @transfer-item-hover-bg, fix: progress style statusColor 2019-12-04 20:45:12 +08:00
ycjcl868
4e45bee68f feat: add @select-clear-background 2019-12-04 12:28:37 +08:00
ycjcl868
dfab3c4ab5 fix: border-color in popover component 2019-12-04 11:58:48 +08:00
ycjcl868
4be9e9dd62 fix: remove dark.less import 2019-12-03 22:27:39 +08:00
ycjcl868
7b826879de fix: @link hover,active color 2019-12-03 21:14:16 +08:00
ycjcl868
d8ab994ecb fix: border-color use solid color 2019-12-03 19:57:09 +08:00
ycjcl868
dc90c21f15 fix: @theme default 2019-12-03 15:40:15 +08:00
ycjcl868
e2251f515b fix: @theme condition 2019-12-03 15:39:32 +08:00
ycjcl868
d6f41db414 fix: default theme button danger color 2019-12-03 12:21:21 +08:00
ycjcl868
d5d2051ec7 fix: components notification 2019-12-02 13:23:30 +08:00
ycjcl868
505b12a1e9 fix: table header dark 2019-12-02 12:27:14 +08:00
ycjcl868
898311c637 fix: datepicker bg @time-picker-panel-inner-bg 2019-12-02 12:22:19 +08:00
ycjcl868
dc1d1876f8 feat: @radio-dot-disabled-color 2019-12-02 12:03:05 +08:00
ycjcl868
28306fb304 fix: colorPalette and @tree-bg 2019-12-02 10:53:09 +08:00
ycjcl868
d94845fc7c fix: remove @import dark 2019-12-02 00:00:12 +08:00
ycjcl868
aa963b53c0 fix: @mentions-dropdown-bg 2019-12-01 23:58:14 +08:00
ycjcl868
208d954a1d fix: @input-number-handler-bg 2019-12-01 23:52:38 +08:00
ycjcl868
99f8d84f2f feat: date-picker, steps less dark 2019-12-01 23:44:51 +08:00
ycjcl868
5590ba0d4e Merge 4.0-prepare into fix-dark-theme 2019-12-01 22:46:15 +08:00
ycjcl868
f7f17c86d5 feat: @dropdown-menu-submenu-disabled-bg 2019-12-01 22:45:19 +08:00
ycjcl868
327011da77 feat: @theme dark, default 2019-12-01 22:28:35 +08:00
ycjcl868
689d9b7ada feat: @mention-textarea-bg 2019-12-01 21:49:49 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
ycjcl868
d388c1dcc6 fix: cascader and input-number-handler bg 2019-12-01 21:42:02 +08:00
ycjcl868
673f86b3f5 fix: pagination dark theme 2019-12-01 21:23:11 +08:00
ycjcl868
8ad5b73016 chore: test antd dark theme component 2019-11-30 00:08:37 +08:00
ycjcl868
8985abda11 fix: color palette use @blue-6 base in light theme 2019-11-29 22:15:02 +08:00
ycjcl868
fc3b775452 📝 dark theme usage 2019-11-29 22:09:07 +08:00
ycjcl868
af0127c8e2 fix: layout dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
212b6fb01d fix: @red-base 2019-11-29 09:04:39 +00:00
ycjcl868
f10f351219 chore: TODO colorPalette 2019-11-29 09:04:39 +00:00
ycjcl868
a124ec8ddf feat: use @{color}-base 2019-11-29 09:04:39 +00:00
ycjcl868
dfa14f469a feat: add @dropdown-menu-bg, @time-picker-bg, @calendar-bg, @calendar-input-bg, @pagination-item-bg 2019-11-29 09:04:39 +00:00
ycjcl868
34f3b44f6d fix: button default background in dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
4116a6ef59 feat: antd-dark.less build tool 2019-11-29 09:04:39 +00:00
ycjcl868
817b2ab70d feat: add @comment-bg, @anchor-bg, @radio-disabled-button-checked-bg, @radio-disabled-button-checked-color, @radtio-solid-checked-color 2019-11-29 09:04:39 +00:00
ycjcl868
f47a22e888 feat: add @table-bg 2019-11-29 09:04:39 +00:00
ycjcl868
aedea846fc feat: add @upload-actions-color 2019-11-29 09:04:38 +00:00
ycjcl868
90cca72327 feat: add @checkbox-check-bg, @switch-bg 2019-11-29 09:04:38 +00:00
ycjcl868
04ec04ac85 feat: add @calendar-item-active-bg 2019-11-29 09:04:38 +00:00
ycjcl868
4440062e66 feat: add @message-notice-content-bg and @calendar-border-color 2019-11-29 09:04:38 +00:00
ycjcl868
41609e40bc feat: add color-base for dark 2019-11-29 09:04:38 +00:00
ycjcl868
09c00720b8 feat: add btn-default-ghost 2019-11-29 09:04:38 +00:00
ycjcl868
279c24716c feat: add modal and drawer bg 2019-11-29 09:04:38 +00:00
afc163
3fa135023f 💄 Add @table-header-bg-sm and fix footer style
close #19936
2019-11-26 15:33:14 +08:00
ycjcl868
764c046fbc tweak: active and hover background color 2019-11-19 11:45:32 +08:00
ycjcl868
6d7950a1d9 fix: hover color use #f5f5f5 @gray-3 2019-11-19 10:20:25 +08:00
ycjcl868
79ae060e6e fix: hover and active background color 2019-11-18 22:06:49 +08:00
ycjcl868
ca8435ef7c tweak: functional status color 2019-11-15 14:00:08 +08:00
ycjcl868
7a47b7c98c fix: 0px 2019-11-15 12:28:50 +08:00
ycjcl868
e354fe618a tweak: shadow color 2019-11-15 12:16:07 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
ycjcl868
e3c0703ed6 tweak: divider color 2019-11-13 20:31:23 +08:00
ycjcl868
f900cf7066 tweak: border-radius all use 2px 2019-11-13 20:28:32 +08:00
Amumu
187b10320b chore: Delete duplicate variables (#19547)
* Delete duplicate variables

* chore

* chore
2019-11-04 12:08:27 +08:00
信鑫-King
696f5600ec feat: input,select less vars (#19546) 2019-11-04 11:23:29 +08:00
He Linming
2761460c86 style: add @modal-header-color variable (#19385)
* 💄 add @modal-header-color variable

close #19358

* 👌 change variable name
2019-10-24 10:36:59 +08:00
Dmitriy
a2f28f0ca7 💄 add @typography-title-margin-top and @typography-title-margin-bottom (#18746)
* add: Typography mixins. add: Created typography variables (margin, font-weight). moved: Typography internal variables

* fix: heding margin moved: prefix variable out of default.less

* fixed: circleci

* 🗑 Remove @typography-title-margin-left and @typography-title-margin-right

* 🗑 Remove unused vars
2019-10-15 16:13:39 +08:00
willc001
4e1bbccd54 refactor: add @form-item-label-colon-margin-{right,left} (#15478) 2019-10-14 14:52:23 +08:00
He Linming
a5bb161bb0 💄 add @page-header-back-color less variable (#18887)
close #18869
2019-09-19 09:47:16 +08:00
MrHeer
849237be0b 💄 Add @tree-node-hover-bg and @tree-node-selected-bg less variables
close #18539
2019-09-03 11:17:58 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
信鑫-King
69b0cc1a10 feat: card-bg-color less vars (#18531)
* feat: card-bg-color less vars

* fix: rm blank

* fix: less vars skeleton

* fix: bg color

* fix: less vars
2019-08-29 10:47:44 +08:00
ycjcl868
c581dea5be fix: rm inner and wrap 2019-08-29 10:46:53 +08:00
ycjcl868
28e5f47f81 fix: input-number-inner hover 2019-08-29 10:46:53 +08:00
ycjcl868
a787e54c9e feat: input-number less vars 2019-08-29 10:46:53 +08:00
信鑫-King
ab6dd46958 feat: modal footer border-color less vars (#18522) 2019-08-28 14:15:28 +08:00
He Linming
14f280f603 feat: Configurable heading font-weight (#18442) (#18456) 2019-08-26 22:57:38 +08:00
陈帅
3ff7cf329d Merge branch 'master' into feature 2019-08-26 11:14:50 +08:00
Qhan W
cde78c8981 修复纯图标按钮在默认形状下不同大小均显示为正方形 (#18458) 2019-08-25 21:04:10 +08:00
陈帅
e737e50207
feat: 🔥 new pageheader style (#18128)
* new pageheader style

* support avatar

* update demo

* snapshots updated

* fix lint

* change style

* add new style

* fix style

* update demo

* update demo

* fix test

* snapshots updated

* update doc

* remove extraContent

* Bread crumbs and back icon can only have one

* back icon will automatically disappear when configuring breadcrumbs

* update snapshot

* Improve the priority of backicon

* change doc

* change doc

* change doc

* update snapshot
2019-08-25 15:38:51 +08:00
信鑫-King
021e9af227 feat: less vars for select and anchor (#18444) 2019-08-23 22:19:04 +08:00
He Linming
721a545211 fix: descriptions background is not themeable (#18372) (#18440) 2019-08-23 17:03:03 +08:00
ikobe
e97bd6f4ae feat: resolve conflicts 2019-08-04 17:28:25 +08:00
alxkosov
678f8a5c65 feat: menu component customization: create new variables for easy customization (#17273)
* new variable for customize margins and font-size on menu

* vars for icons size for menu items

* var for color of icon selected-item on dark menu

* menu selected item: vars for color text and icon

* var for background on hover item in dark menu

* rename variable

* deleted vars for icon size in menu

* change @menu-item-last-margin to @menu-item-boundary-margin
2019-08-02 22:51:34 +08:00
啸生
4c23bc2543
Feature (#18049)
Feature
2019-08-02 17:38:50 +08:00
zombieJ
1363a39d7c
fix: Fix statistic font (#18044) 2019-08-02 12:10:09 +08:00
Yangzhedi
6c8c42c3e3 feat(default.less): add table-footer-bg and table-footer-color variable 2019-07-30 15:05:14 +08:00
jiang
d7bbb48fce
unified drawer and modal mask opacity (#17943) 2019-07-29 15:57:05 +08:00
偏右
bc2d24646e
💄 correct @input-hover-border-color (#17820)
https://github.com/ant-design/ant-design/pull/17784#issuecomment-514069999
2019-07-23 15:06:25 +08:00
zombieJ
bdea770670
Merge pull request #17804 from ant-design/master
chore: Merge master into feature
2019-07-23 10:23:55 +08:00
Aleksandr Chernokondratenko
4f781a1769 Long placeholders truncate (#17797) 2019-07-22 19:21:33 +08:00
偏右
1147ae6949
Merge pull request #17732 from ant-design/master
Merge master into feature
2019-07-19 12:20:08 +08:00
afc163
c15c0fc199 🔧 Add less variables for Tabs[type="card"] 2019-07-17 18:58:30 +08:00
Alexander.Kosov
6428840c50 create variable for customize size of icon on menu 2019-07-17 13:54:31 +03:00
afc163
b09d59e9fe 🔧 Add less variables for Timeline 2019-07-17 18:43:10 +08:00
afc163
6d76292b29 🔧 Add less var @progress-radius 2019-07-17 18:28:02 +08:00
afc163
2ad61d6ceb 🔧 Add less variables for Slider handler 2019-07-17 18:04:13 +08:00
afc163
3a3cf47472 💄 Optimize danger Button design 2019-07-17 17:48:10 +08:00
afc163
be3226b757
Merge master into feature 2019-06-14 16:20:29 +08:00
Sam Kirkland
7b3f0554bc
Update default.less 2019-06-10 23:58:42 -05:00
Alexander.Kosov
51b9c4698c Border-radius customization for Collapse Panel 2019-06-10 14:32:10 +03:00
Alexander.Kosov
b075b9eedd added three variables to allow customization of the dropdown list 2019-06-07 15:04:59 +03:00
陈帅
0cf07667a5 less variable should be extended 2019-06-05 19:13:25 +08:00
陈帅
6dd6e6512a add new less var 2019-06-05 19:13:25 +08:00
alxkosov
fb6d629e7b Added 2 variables to flexibly control the background of the table cells (#16843) 2019-06-03 10:05:37 +08:00
MrHeer
239c472c38 fix: use @error-color & @warning-color instead of @text-color-danger & @text-color-warning #16856 2019-05-30 19:21:08 +08:00
偏右
e0f8aed814
== to ===
close #16640
2019-05-17 10:28:22 +08:00
zombieJ
1198fb60ef
update doc (#16545) 2019-05-13 10:59:07 +08:00
zombieJ
543b620dd2
feat: Support Transfer render (#16026)
* clean up

* refactor select all logic

* omit old api to render children

* add search

* remove useless code

* fix logic

* Table demo

* update demo

* fixed min-height

* fix normal style

* style update

* update snapshot

* update snapshot

* update version

* update doc

* update md desc

* update test case

* fix test typo

* update demo

* update snapshot

* typescript correction

* update docs

* add Tree Transfer demo

* default expand all

* update demo
2019-05-07 17:10:42 +08:00
zombieJ
9d5f61363c
feat: Collapse support expandIconPosition (#16365)
* update doc

* support expandIconPosition

* update snapshot
2019-04-28 17:03:19 +08:00
zombieJ
8b4f0c269e
Merge pull request #16354 from ant-design/master
Merge master into feature
2019-04-28 16:29:44 +08:00
zombieJ
b63ceef831
refactor: Update Tree & TreeSelect deps (#16330)
* use CSSMotion

* update snapshot
2019-04-28 12:10:39 +08:00
偏右
0fc6e7d07f
Merge pull request #16306 from ant-design/pagination-bg
fix: Pagination active item should have background color
2019-04-25 16:41:32 +08:00
zombiej
5a462d864a fix: Pagination active item should have background color 2019-04-25 16:34:12 +08:00
陈帅
dd01852c23 change use name 2019-04-25 15:39:14 +08:00
zombiej
dfeeafa218 Merge remote-tracking branch 'origin/master' into feature 2019-04-21 15:07:01 +08:00
陈帅
a1c4d9f45b use operation-unit function 2019-04-20 10:56:11 +08:00
moonrailgun
25599bc7ce add text selection so we can overwrite it independent 2019-04-18 12:31:04 +08:00
zombieJ
98fc8a14e0
feat: Support append theme less file with less-variable (#16118)
* add override

* add override support

* update doc
2019-04-16 21:59:25 +08:00
zombieJ
aff6f6d8fb
Merge pull request #16102 from ant-design/master
chore: Merge master into feature
2019-04-16 16:58:19 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
zombiej
ffa0e7378f fix typo 2019-04-15 14:53:14 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
Salavat Gizatov
9f9f81ed7a feat: form customizing variables (#15954)
* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable
2019-04-12 11:52:00 +08:00
zombiej
28d133ca93 Merge remote-tracking branch 'origin/master' into merge-master 2019-04-11 18:05:46 +08:00
zombieJ
d1e58d058f
update wave style (#15978) 2019-04-09 19:32:58 +08:00
Salavat Gizatov
574313d2d8 feat: table customizing variable (#15971)
* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit
2019-04-09 17:08:17 +08:00
偏右
659efe05a8
Merge pull request #15613 from krokofant/master
Enable theme switching by html-prefix
2019-04-05 16:15:36 +08:00
偏右
9d06bec8dd 🐛 Fix components covered by Table fixed columns (#15782)
Reset @zindex-table-fixed to auto

close #15780
close #15499
2019-04-01 15:05:40 +08:00
zombiej
2c693ee95b merge feature 2019-04-01 10:22:43 +08:00
zombieJ
0fd0faa8a7
Update Card & PageHeader style (#15755)
* rm Card auto padding

* rm related test case

* adjust pageHeader to 24px

* use less variable

* adjust style
2019-03-31 22:39:26 +08:00
zombieJ
75cd91a966
Badge support customize color (#15764)
* popout

* update snapshot

* update doc

* update def
2019-03-31 20:21:20 +08:00
Benjamin Amelot
f55ccfe81e Remove underlines from focused links (#15759) 2019-03-31 13:46:38 +08:00
zombiej
b83a80c99c Merge branch 'master' into merge-master 2019-03-30 16:05:49 +08:00
Andrés
fa69687733
Fix minor misspelling in less template comment 2019-03-26 10:39:16 +01:00
偏右
e752ec3414
Merge pull request #15638 from ant-design/master
Merge master to feature
2019-03-26 14:34:17 +08:00
krokofant
637b2e326d 👌 IMPROVE: Scoping styles for themeing 2019-03-24 17:52:14 +01:00
诸岳
6ae2ee4e31 Merge branch 'master' into feature 2019-03-24 08:41:22 +08:00
William Cai
57c20e3622 refactor: add @radio-button-checked-bg 2019-03-20 16:46:23 +08:00
William Cai
15781d706a refactor: add @select-item-selected-font-weight 2019-03-19 18:09:11 +08:00
Cong Zhang
bc4303b98a Allow font-feature-settings to be customizable 2019-03-19 15:03:52 +08:00
Denis
eacf35dbad Modal footer bg (#15469)
* Add less variable @modal-footer-bg

* Fix less variable @modal-footer-bg

* Update components/style/themes/default.less

Co-Authored-By: shumkovdenis <shumkovdenis@gmail.com>
2019-03-18 23:56:40 +08:00
Denis
360eefc7d5 Add less variable @modal-body-padding (#15476) 2019-03-18 15:07:14 +08:00
Bill Searle
ffc5321c18
Add vars to theme for btn border width and style 2019-03-14 15:03:29 +11:00
afc163
74ea064319
Add less variable @icon-color 2019-03-12 18:46:54 +08:00
afc163
56570aa539
💄 Add @pagination-item-bg-active
close #14739
2019-03-09 19:43:19 +08:00
afc163
7a217c625c
🐛 Fix space lost when inline element in List.Item, close #15186 2019-03-06 16:31:07 +08:00
afc163
74aee564ed
🐛 Fix Collapse extra node style missing
close #15174
2019-03-04 19:15:02 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombieJ
c80136a9a7
New Component: Typography (#14250)
* text with prefix

* add edit style

* support editable

* enhance accessibility & type experience

* optimize IME case

* support copy

* add locale

* add secondary & disabled

* add ellipsis shadow text

* split to 3 components

* update snapshot

* update desc

* change lines also need update ellipsis

* skip aria when is in ellipsis

* add ResizeObserver in _util

* update snapshot

* move TestBase into test file

* update test case

* update doc

* fix typo

* important => level

* use rows

* update demo cols to 1

* fix cssText not work in firefox

* update doc

* add miss point

* support extendable

* update snapshot

* fix doc

* copyable support string

* update snapshot

* update doc

* update doc desc

* adjust style

* full test

* reset after test

* rename

* update snapshot

* fix compile

* adjust style

* update desc

* update prefixCls

* update margin

* adjust

* nest wrap of tag content

* adjust style

* update comment

* rm %

* one more thing

* tmp of measure

* merge string as children

* update snapshot

* update testcase

* remove comment

* use internal variable for configProvider passing

* update snapshot

* use expandable instead of extendable

* less variable it

* update demo

* update less

* adjust code & mark style

* remove mark padding

* update measure logic

* support nest element style

* use childNode.textContent to fix react 15 error

* update css

* popout Typography

* add link style

* adjust doc

* use ellipsis instead of rows & expandable

* update doc

* update doc

* update doc & style

* fix typo

* add css ellipsis support

* client render

* update snapshot

* enhance copyable

* support onExpand

* update test case

* add test of css ellipsis

* fix logic in react 15

* rename onChange -> onSave

* use tagName of article

* fix lint
2019-02-19 11:42:05 +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
Andrew Shearer
163140189f Fix quote rendering (#14708)
Use curly quotes from the current font, removing an override that
switched to a Chinese font for those 4 characters. On all platforms,
this caused the quotes to differ in size and weight from the
surrounding text. On Linux, it also caused text to fall back to a
serif font rather than the intended sans-serif font. On Windows,
it used a full-width Chinese character, making it look like there
were extra spaces in the text. Typographic apostrophes, in
particular, appeared to have two or more extra spaces after them.

fix #13095
2019-02-04 11:36:03 +08:00
zombieJ
3bd784cec6
force opacity of 0 (#14703) 2019-02-03 09:02:46 +08:00
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
2019-01-30 21:54:43 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
Gautier
8bb3b10c01 Add a new less variable to override the list header background (#14519)
* Add a new less variable to override the list header background

* Add a new less variable to override the list footer background
2019-01-24 19:52:47 +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
zombieJ
0e8e2b53e4
add select check to fix edge wave issue (#14469)
* add select check to fix edge wave issue
fix #14466

* update style

* add comment

* rm removeAttribute
2019-01-22 16:23:59 +08:00
信鑫-King
8896f7b4af feat: select border less param (#14348) 2019-01-15 18:03:17 +08:00
afc163
9202509503 💄 fix slider focus style 2019-01-14 23:49:41 +08:00
ztplz
46a7a048dc Replace text-decoration-skip: ink to text-decoration-skip-ink: auto 2019-01-14 01:01:50 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
zombieJ
ff13ac0f5e
New component Statistic / Countdown (#14154)
* init

* number format

* add Countdown

*  Try something ts stuff

* move out Countdown

* add format

* support countdown

* add prefix & suffix

* Move Number to Statistic

* adjust ts

* clean up

* roll back of lodash

* update doc & style

* variable of the less style

* add demo test

* full coverage

* hide title if not need

* update snapshot

* update accessiblity

* update color

* stop countdown when time is out

* formatTimeStr adjust

* use reset class

* add miss tab index

* update doc

* update title prop & snapshot

* rm additional aria. It's over design

* use card sample on unit demo

* sfc

* adjust demo
2019-01-09 20:38:09 +08:00
afc163
6f9f29799c 💄 Add less variables for button shadow
close #14172
2019-01-08 10:56:27 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
* master: (23 commits)
   fix snapshots
  Add docs for the List rowKey prop
  💄 don't reset font-family in each component
  💄 chore card less variable
  Remove classNames from custom-typing file
  add collapsed faq ref: #13953
  feat: support define card border radius
  Fix dateRender not supported at WeekPicker
  📝 Add links in Home Page
  📝 Fix site responsive interaction, close #13954
  💄 chore Steps[labelPlacement="vertical"] style
   fix warning in test case
  📝 update tech antfin cases
  🐛 site menu open bug
  🐛 fix site defaultOpenKeys
  Correct docs
  💄 chore button code style
  fix spaces in curly brackets
  fix two more code style issues
  Fix method argument name
  ...
2018-12-28 12:11:18 +08:00
afc163
a8019bf0a0
💄 don't reset font-family in each component
close #13969
2018-12-27 23:59:07 +08:00
afc163
c95c377a4e
💄 chore card less variable 2018-12-27 22:56:46 +08:00
vthinkxie
d67a2b66cb feat: support define card border radius 2018-12-27 16:52:08 +08:00
zombieJ
2164c58198
New Component: Empty (#13651) 2018-12-26 16:01:00 +08:00
afc163
7fe6dec9b8
Merge branch 'master' into feature
* master:
  feat(table): support table border-radius define in theme
  add form-tutorial.md
  📝 Put gitter flags in badges in README (#13744)
  update deps of rc-select
  skip show-tooltip.md test when is dist test
  💄 update slider demo
  Fix a regular expression
  Improvements to badges in README (#13743)
2018-12-21 16:12:14 +08:00
vthinkxie
f99b8a1792 feat(table): support table border-radius define in theme 2018-12-21 11:50:46 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
黄俊亮
1272ec0e04 refactor: add @tabs-horizontal-padding-{sm,lg} 2018-12-20 11:54:56 +08:00
zombiej
83b449b1ff set form id on demo
fix #10218
2018-12-17 10:02:08 +08:00
zombiej
a26766302f add missing less var 2018-12-14 00:58:58 +08:00
陈帅
30d65ef46e Merge branch 'master' into feature 2018-12-13 22:48:08 +08:00
陈帅
58ac28077c
Revert "Revert "Revert "Use less @plugin" (#13613)" (#13621)" (#13622)
This reverts commit f47aa91c5e.
2018-12-13 22:16:51 +08:00
陈帅
f47aa91c5e
Revert "Revert "Use less @plugin" (#13613)" (#13621)
This reverts commit 2c79d2a7c1.
2018-12-13 22:15:26 +08:00
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
陈帅
2c79d2a7c1
Revert "Use less @plugin" (#13613) 2018-12-13 18:07:49 +08:00
zombiej
2d5d71bf85 clean rgb converter 2018-12-13 11:54:34 +08:00
zombiej
06403f92f3 clean convert 2018-12-13 11:16:33 +08:00
zombiej
c5462e4d45 clean _applyModification 2018-12-13 11:12:08 +08:00
zombiej
0574c759cf clean readable 2018-12-13 11:06:42 +08:00
zombiej
2546a30485 remove toXXX 2018-12-13 10:53:14 +08:00
zombiej
a5df939c2c use less plugin 2018-12-12 20:46:44 +08:00
zombiej
a7c1aca7f9 clean tinyColor 2018-12-12 16:34:16 +08:00
zombiej
75df1e762e del bezierEasing 2018-12-12 16:12:57 +08:00
zombiej
87efad2da7 clean color-palette 2018-12-12 01:09:58 +08:00
zombiej
62fe5dda35 add color palette 2018-12-12 01:01:34 +08:00
zombiej
41df6cead4 add missing color 2018-12-12 00:18:42 +08:00
zombiej
2029762297 replace components colors 2018-12-11 22:45:03 +08:00
zombiej
ee128020e7 replace colors 2018-12-11 22:17:19 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00