MadCcc
926a8aaf8a
feat: tooltip round arrow ( #33710 )
* feat: tooltip round arrow
* chore: update demo
* docs: update docs
* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker
* chore: code clean
* fix: fill gap
* chore: code clean
* chore: raise css bundle size
* fix: arrow style
* feat: use full path
* test: update snapshot
* perf: hack firefox
* perf: more magic position
* perf: RangePicker's arrow position
* chore: bump rc-picker version
* fix: arrow position
3 years ago
afc163
578aaad7f2
test: fix lint
3 years ago
二货机器人
b0e7dd5883
refatcor: Move mixins back ( #32920 )
3 years ago
afc163
2424a1abf1
style: fix placholder color missing ( #32915 )
3 years ago
二货机器人
899af6761e
fix: Move variable related code to theme file ( #32887 )
3 years ago
二货机器人
f88bd4d2af
refactor: Move part mixins less to theme instead ( #32763 )
* refactor: Move theme related variables
* chore: move rest motion
* chore: trigger CI
* chore: steps by steps
* chore: back order
* docs: Update docs
3 years ago
Chang Wei
a09e1ad921
fix: Avoid selecting the placeholder of input control on Chrome browser, keep consistent of selection behavior with Firefox browser ( #32639 )
3 years ago
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
36bcaaef85
Add `variable.less` to support css variable ( #31496 )
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
3 years ago
afc163
ea2545fbc7
fix: Dropdown/DatePicker/Select/Cascader animation direction ( #30892 )
* fix: DatePicker/Select/Cascader/Select animation direction
close #30889
* fix modal
* fix message
4 years ago
xrkffgg
9db881ce91
refactor: improve mixins modal-mask ( #27998 )
4 years ago
Tom Xu
b5dc079228
chore: improve code style ( #27266 )
4 years ago
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction ( #27101 )
* style: fix Pickers wrong animation direction
* style: reduce css bundle size
4 years ago
骗你是小猫咪
e3ee4e87aa
feat: 🎉 Image component ( #26296 )
* feat: 🎉 Image component
* fix color
* fix style naming and sort api doc order
* remove onPreviewClose doc
* use animation-duration var
* use box and modal-mask mixins
* use box and modal-mask mixins
* improve style
* improve fallback demo src
* add cover
* improve demo
* update demo snapshots
* upgrade rc-image, naming Random -> Reload
* extract modal mask common style, and improve demo
* update snapshots
* fix less var conflict
* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
4 years ago
xrkffgg
672066ccae
feat: add Typography.Title level 5 ( #25861 )
* feat: add Typography.Title level 5
* fix test
4 years ago
偏右
394b785dca
🐛 Fix Menu bottom margin missing ( #21867 )
close #21864
5 years ago
信鑫-King
c17b40ae70
fix: dark background in different container ( #21299 )
* fix: comment and input
* fix: add @pagination-item-input-bg
* feat: add @list-customize-card-bg for dark hook component
* feat: add dark hook
* fix: checkbox color
* fix: popover-customize-border-color
* fix: table
* fix: style lint
* fix: debug
* fix: color
* fix: update colors
* fix: demo
* feat: popover container bg use mixins utils
* fix: less dark
* fix: table bg in dark
* fix: fixed table
* fix: lint
* fix: lint
* feat: add @table-expand-icon-bg
* fix: notification bg
* fix: remove dark.md
* fix: dropdown
* fix: table
* fix: data lint
* fix: style
* fix: dark less style
* fix: @steps-background
* fix: add thead dark style
* fix: unused styles
5 years ago
偏右
cf4808b50e
🐛 Fix Menu collapsed jumping ( #21314 )
close #21301
5 years ago
Teng YANG
bf56026809
update clearfix mixin ( #21109 )
Refs: ff29c1224c/scss/mixins/_clearfix.scss
5 years ago
afc163
e3b0104c53
🐛 fix Firefox placeholder opacity
https://bugzilla.mozilla.org/show_bug.cgi?id=556145
5 years ago
偏右
117495e28f
🐛 Fix .iconfont-size-under-12px not working ( #20765 )
Fix InputNumber and Other components icon size
close #20752
5 years ago
偏右
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
5 years ago
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
5 years ago
Aleksandr Chernokondratenko
4f781a1769
Long placeholders truncate ( #17797 )
5 years ago
陈帅
785c132262
meger feature to master ( #16421 )
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* 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
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
6 years ago
陈帅
dd01852c23
change use name
6 years ago
陈帅
a1c4d9f45b
use operation-unit function
6 years ago
zombieJ
98fc8a14e0
feat: Support append theme less file with less-variable ( #16118 )
* add override
* add override support
* update doc
6 years ago
afc163
2737c00633
💄 Fix stylelint problems
6 years ago
afc163
a2a9831abb
💄 Fix less code style
6 years ago
Cong Zhang
bc4303b98a
Allow font-feature-settings to be customizable
6 years ago
afc163
74ea064319
Add less variable @icon-color
6 years ago
米老朱
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
6 years ago
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
6 years ago
afc163
a8019bf0a0
💄 don't reset font-family in each component
close #13969
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
a616f89a1b
🔥 update less code style
6 years ago
Nima Dehnashi
54b944e8ee
Allow font-variant to be customized
6 years ago
afc163
c935d53b71
Fix sorter icon align of Table
6 years ago
afc163
0698c82173
adjust icon svg align
6 years ago
包子熊
67024893ce
Hotfix/icon issue ( #12016 )
* fix progress icon
* remove IconDisplay fields.js
* update progress test snapshot
* fix form item circle filled
* update form-item test snapshot
* fix close icon in upload item list
* fix alert icon theme
* update alert test snapshot
* fix time picker clear icon
* fix test snapshot
* fix rotate icon in the header
* update test snapshot
* update new tree test snapshot
* fix icon position
* fix old icon and new icon both display
* fix card actions icon position
6 years ago
HeskeyBaozi
2e85c74898
svg should display `block`
6 years ago
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
6 years ago
HeskeyBaozi
049ce5c307
use time-picker with svg icon
6 years ago
HeskeyBaozi
4945d66084
update select
6 years ago
Thibault Derousseaux
43abea3212
Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422 .
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures ).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals ).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric ) that can be set to `tabular-nums`.
This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/ ).
6 years ago
HeskeyBaozi
768f871176
align svg to text
6 years ago
Jamie.LiuMJ
2955600642
fix clearfix ( #10563 )
7 years ago