PCCCCCCC
f4411d9393
Refactor:Component Steps Less to cssInJs ( #35058 )
...
* refactor: Steps cssInJs add basic structure
* refactor: change Component Steps less into cssInJs
* refactor: ♻️ steps cssInJs code formated
* style: 💄 change Steps cssinjs left and right into Logical Properties
* style: 💄 steps cssinjs add FIXME for number hardcode
* style: 💄 steps cssinjs dismiss useless rtl style
* style: 💄 step cssinjs fix the 'not compatible with RTL mode' warning and fix the style in RTL mode
* style: code formated for FIXME
* style: revert the change about _skip_check_
* style: step cssinjs margin/padding used with Logical properties
* ci: fix lint check
* style: fix the style on RTL
* style: try fix the step subtitle order on RTL mode
* style: optimization the style on RTL and dismiss duplicate styles with logical properties
2022-04-19 11:28:06 +08:00
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>
2021-10-13 15:38:59 +08:00
偏右
0223e2ed5a
chore( 🆙 ): upgrade less to 4.0.0 ( #28466 )
...
* chore(🆙 ): upgrade less to 4.0.0
* chore(🆙 ): upgrade bisheng to 3.0.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix progress font size
2020-12-25 14:31:44 +08:00
chequerNoel
725244ee35
fix: Typo steps-desciption-max-width to steps-description-max-width ( #28499 )
2020-12-23 22:48:40 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +08:00
偏右
f4d5017599
fix: Steps navigation broken style ( #27654 )
...
* fix: Steps navigation broken style
close #27653
* fix steps custom icon
2020-11-09 16:33:53 +08:00
偏右
114dde6373
fix: Steps inside Steps style ( #27514 )
...
* style: fix style of Steps inside Steps
* fix snapshot and rtl
* fix rtl style
2020-11-03 16:20:44 +08:00
afc163
20e90ef650
chore: tweak code style
2020-11-02 16:33:06 +08:00
07akioni
c2f208e2d2
feat: steps percent ( #25839 )
...
* feat: Steps with progress
* test: update snapshot
* fix: lint
* Update package.json
Co-authored-by: 偏右 <afc163@gmail.com>
* refactor: remove progressIcon && rename percentage to percent
* test: snapshot
* fix: icon position offset
* fix: position offset
* fix: icon position offset
* docs
* fix: small line offset
Co-authored-by: 偏右 <afc163@gmail.com>
2020-07-27 21:40:36 +08:00
偏右
f958a1cbc8
fix: Steps subtitle transition style ( #24593 )
...
close #24576
2020-05-30 00:45:24 +08:00
coskunuyar
ab972ac1eb
Preventing parent components changing steps component text align property. ( #24486 )
...
Co-authored-by: Coskun Uyar <coskunuyarr@gmail.com>
2020-05-27 11:56:30 +08:00
xrkffgg
089591ac34
style: add steps disabled style ( #23402 )
2020-04-20 17:05:41 +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
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
2020-03-19 12:13:24 +08:00
xrkffgg
14c1a58f4f
style: add rtl.less of Steps ( #22290 )
...
* style: add rtl.less of Steps\DatePicker
* style: add rtl.less of Steps\DatePicker
* style: remove datepicker
2020-03-17 15:14:29 +08:00
xrkffgg
e43b8c8258
style: optimization steps in RTL ( #22175 )
2020-03-13 10:51:16 +08:00
信鑫-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
2020-02-24 22:44:29 +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
偏右
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
zombiej
9e8ce489e9
merge master
2019-12-25 19:09:17 +08:00
偏右
7a2d1f2017
💄 optimize Steps labelPlacement vertical UI ( #20325 )
2019-12-18 17:46:17 +08:00
ycjcl868
99f8d84f2f
feat: date-picker, steps less dark
2019-12-01 23:44:51 +08:00
愚道
61ad79dde5
fix: navigation Steps hover color
2019-09-05 12:15:55 +08:00
afc163
bb2d1c02ee
✅ fix style lint
2019-08-28 18:43:33 +08:00
Yu
2d2d9f60c4
feat: steps component support type navigation ( #17994 )
...
* feat: support type nav style
* fix: some style for review issue
* fix: active hover style
* chore: use navigation and upgrade rc-steps
* feat: support disabled prop for Steps.Step
* feat: support subTitle and improve code style
* fix: navigation steps item style
* test: update snap test case
* fix: test steps snapshots and review style issue
* fix: lint issue
* fix: lint style issue of steps
* fix: update steps demo for review issue
* fix: steps nav style detail
* fix: steps nav fix style detail
* fix: Steps subtitle overflow style in firefox
* docs: fix Steps new api doc
2019-08-14 11:18:36 +08:00
zombieJ
155642d14a
feat: Steps support clickable ( #16773 )
...
* support clickable
* update snapshot
* update desc
2019-05-25 21:01:21 +08:00
陈帅
a7f1e331c3
Merge branch 'master' into feature
2019-05-05 10:33:51 +08:00
zombieJ
3c26bde16b
fix nest style ( #16419 )
2019-05-04 14:02:38 +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
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
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
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
7d5907500f
revert steps description width to fix align issue
2018-08-29 17:40:05 +08:00
afc163
33f5cc4364
Fix long step description overflow, close #11864
2018-08-24 20:25:23 +08:00
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/ ).
2018-08-04 11:28:14 +08:00
afc163
68a110afa3
should use primary color for steps
2018-06-20 20:51:24 +08:00
Graeme Yeates
b46cb4b740
Add a variable to control processing colors ( #8166 )
2017-11-11 14:15:16 +08:00
afc163
ca3835bf58
Tweak progress dot step style
2017-10-19 14:52:11 +08:00
afc163
91a64d0567
Tweak styles
2017-10-16 21:12:49 +08:00
偏右
9053192ae9
Fix component style ( #7848 )
...
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
2017-10-11 12:01:27 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
afc163
306a5699a7
Better responsive Steps
2017-09-25 11:25:57 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
afc163
3195cc182c
Fix steps styles
2017-09-07 11:00:36 +08:00
afc163
68ff1b6ff0
fix progressDot Steps style
2017-09-06 13:15:47 +08:00
偏右
a933961aae
upgrade rc-steps to 3.0 ( #7473 )
...
* upgrade rc-steps to 3.0
* update snapshot
2017-09-05 19:57:59 +08:00
afc163
c28c2f6b1e
Merge branch 'master' into antd-3.0
2017-08-18 19:18:26 +08:00