lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2 years ago
huiwang
da67b481b8
fix: fix Steps size small of CP ( #42278 )
* fix: fix Steps size small of CP
* fix: update snap
2 years ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
kiner-tang(文辉)
da3babbe39
refactor(progress): progress size ( #40903 )
* feat: progress size
* feat: update snapshots
* feat: update demo
* feat: update demo
* docs: fix lint
* feat: update demo
* feat: update demo
* docs: update doc
* feat: update snapshots
* docs: update doc
* docs: update doc
* docs: update doc
* Update components/progress/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/progress/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/progress/utils.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/progress/Circle.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* docs: update doc
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
lijianan
8501adbd84
fix: add displayName ( #40092 )
* fix: add displayName
* rerun ci
* rerun ci
2 years ago
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2 years ago
lijianan
c39e1223f8
chore: type optimization ( #38698 )
* chore: type optimization
* fix: rename direction
* Update index.tsx
2 years ago
JarvisArt
60d8e91bd2
feat: Steps support inline ( #38311 )
* test: update snapshot
* docs: add inline demo
* chore: upgrage rc-steps
2 years ago
lijianan
ddaead6777
fix: delete defaultprops ( #37822 )
* fix: delete defaultprops
* fix: delete defaultprops
2 years ago
黑雨
65f067eb13
feat: Steps supports items ( #37531 )
* feat: support items
* feat: update demo
* test: update package
* test: update use type
* test: update for test
* test: update for lint
* feat: update doc
* test: update for lint
* test: update for lint
* test: update for lint
* test: add deprecated dome
* test: add deprecated dome
* doc: update doc
* feat: update package
* test: add test case
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
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
3 years ago
AliRezaBeigy
1e91a4961c
chore: Compatible for @types/react@18 ( #35075 )
* chore: Compatible for @types/react@18
* chore: Compatible for @types/react@18
3 years ago
afc163
07dec4cb00
perf: Improve Components render perfermance when it's not reponsive ( #34122 )
* perf: Improve List render perfermance when grid is undefined
https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151
* chore: do not export useBreakpoint param
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
tangjinzhou
86aaacdee1
fix: steps responsive default true not work ( #31965 )
* fix: steps responsive default true not work
* Update index.tsx
3 years ago
afc163
a9a329d37c
fix: deps and TypeScript types ( #31519 )
* fix tsc errors
* fix tsc errors
3 years ago
afc163
1e9b28d787
fix: Steps `responsive` warning ( #29599 )
close #29596
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
偏右
6a0e0d57f0
feat: support Steps responsive prop ( #28459 )
close #28409
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
偏右
36f8ce8e6f
perf( 📦 ): reduce Steps responsive css size ( #27536 )
* perf(📦 ): reduce Steps responsive css size
* deps-lint-skip: grid
4 years ago
afc163
81fd0d6328
style( 💄 ): fix Steps style in small screen
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
07akioni
f964abc7f4
fix: Steps progress circle size & rtl style when use `progress` ( #26075 )
* fix: Steps progress circle size
* test: update snapshot
* fix: rtl
4 years ago
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>
4 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
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>
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
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
James Tsang
cbb172da77
fix(Steps): add subTitle propType declaration for Steps.Step component ( #18525 )
5 years ago
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
5 years ago
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
Jonathan Lee
45e2274e25
add semicolon
6 years ago
芝华塔尼欧
eb6d846d55
add onChange prop type definition to Steps ( #16845 )
6 years ago
Jonathan Lee
27691d49f0
add onChange prop type definition to Steps
6 years ago
DiamondYuan
1ff0be57e0
fix:add style prop for Steps.Step component
6 years ago
ilanus
8eddf15fd1
update steps types
6 years ago
wx1322
7faae1ada5
Add type definitions for Steps.Step ( #14468 )
fix #14442
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
Wei Zhu
2a66546433
docs: document Steps[className]
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
Fergus Leung
ec9f8ab7ce
add limitation on checking labelPlacement
6 years ago
Fergus Leung
b2b8ae4953
Update index.tsx
6 years ago
HeskeyBaozi
b0d89aed23
use svg icon in rc-steps
6 years ago
afc163
2e759e2bea
Add initial prop for TypeScript, ref #11180
6 years ago