二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
3 years ago
Tmk
c4ffbff841
fix: set requestId to null after fn was cancelled ( #34858 )
3 years ago
MadCcc
d0c4d7b0ec
feat: add useComponentStyle ( #34802 )
* feat: add useComponentStyle
* chore: auto generic
* feat: add overload
* feat: filter component token
* feat: genComponentStyleHook
* test: fix lint
* feat: button for test case
* chore: code clean
* chore: code clean
* feat: add componentCls into token
* feat: merge token statistic
* chore: code clean
* fix: cache token merge
* chore: code clean
* chore: add comment & rename variables
* chore: code enhancement
* chore: FullToken<ComponentName>
* chore: clean input
* chore: code clean
* test: fix lint
* feat: inset prefixCls
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
Long Hao (龙濠)
bffdf0dee5
refactor: Empty cssinjs ( #34842 )
* feat: next-empty finish
* fix: add comment and remove type
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
二货机器人
1dc998ace5
docs: Access component use which token ( #34827 )
* chore: token of it
* chore: not only
* chore: site always can statistic
* chore: shows
* chore: ignore useless coverage
3 years ago
MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
3 years ago
二货机器人
d437f9fad9
refactor: More token used on component ( #34766 )
* chore: add fontSizeIcon
* chore: cascader
* chore: slider token
* chore: slider token
* chore: move to outline
* chore: input style
* chore: input align
* chore: slider full
* chore: align inputNumber
* chore: input token
* chore: input-number token
* chore: mention token
* fix: ts def
3 years ago
二货机器人
2aa33578c2
refactor: Align with token ( #34713 )
* chore: Divider full token
* chore: typography with tokn
* chore: select with token
* chore: tree with token
* chore: select style
* chore: select style
* chore: clean up
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
xrkffgg
1627207255
refactor: popover cssinjs ( #34607 )
* refactor: popover cssinjs
* fix cls
* fix cls
* fix overlay
* fix: token
* fix: util
* fix: block -> line
* fix: interface
3 years ago
二货机器人
ebf52122a2
refactor: Button use full token & remove all `withPrefixCls` & support overrides ( #34690 )
* chore: init
* chore: button token
* chore: rm all withPrefixCls
* feat: overrides work
* feat: theme can be nest
* test: Update snapshot
* fix: memo logic
3 years ago
二货机器人
d952088650
refactor: More alias token ( #34681 )
* chore: colorHighlight
* chore: bgSecondary
* chore: colorLink
* chore: link style
* chore: rm fly variables
* chore: colorAction
* chore: add warning comment
* chore: token outline
* chore: colorBgXXX
* chore: alert
* rm: zIndex
* chore: rm zIndexComponent
* fix: tag color checkabl
* chore: tags tmp
3 years ago
二货机器人
b967f9eb81
refactor: More alias token ( #34658 )
* chore: rm disabled color
* chore: color heading
* chore: shows tokn
* chore: fix color mapping
* chore: status colors
* chore: durations
* chore: outline color
* chore: comment info
* chore: background color
* chore: merge nexr
3 years ago
Long Hao (龙濠)
18c4fe5fd9
refactor: next-affix change affix use cssinjs ( #34558 )
* refactor: next-affix
* fix: wrong spell
* fix: add fixme
* fix: prefixnam
* fix: change hash to classname
* fix: omit hashclassName
* fix: change name to rootclassName
* fix: rootClassName add
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
二货机器人
a7a180b913
refactor: Color related token ( #34648 )
* chore: move controlHeight in der
* chore: controlLineWidth
* chore: controlRadius
* chore: color
* chore: outline width
* chore: outline width
* chore: rm outlineBlurSize
* chore: colorTextLightSolid
3 years ago
二货机器人
608ce271b1
refactor: Move token to latest one ( #34637 )
* chore: rename motion
* chore: primary color
* chore: success color
* chore: all colors
* chore: mv control height up
* chore: font size format
3 years ago
二货机器人
f3f1dbf1b1
refactor: Move design token in ( #34624 )
* chore: move in
* wip: refactor the structure of design token
* refactor: merge override
* chore: mv in
* chore: fix ts
* chore: tmp all
* chore: comment
* chore: comment
* chore: use variables
* fix: compile error
Co-authored-by: arvinxx <arvinx@foxmail.com>
3 years ago
iamkun
5d3bdf4c34
refactor: refactor badge component with css in js ( #34386 )
* refactor: refactor badge component with css in js
* refactor: refactor ribbon component with css in js
* update: update ribbon css
* fix review
* fix review
* fix review
3 years ago
afc163
ef09eefb85
refactor: Typography move to cssinjs ( #34372 )
* refactor: move to css in js
* add some style
* update code style
* update
* update
* update
* update
* add reset styles
* use token.errorColors
* remove less files
* add operationUnit
* getEditableStyles
* fix overflow
* fix ediable/copy
* fix ediable/copy
* refactor: move to css in js
* add some style
* update code style
* update
* update
* update
* update
* add reset styles
* use token.errorColors
* remove less files
* add operationUnit
* getEditableStyles
* fix overflow
* fix ediable/copy
* fix ediable/copy
* rtl style
* rtl style
* add TypographyToken
* fix ts
* use GenerateStyle<TypographyToken>
* fix ts errors
* fix ediable
* remove comment
* fix ediable
* fix ediable
* revert less files
* comment less
* fix review issues
* fix review issues
* fix review issues
* fix missing style
3 years ago
vagusX
11ffb1ba6f
refactor: cssinjs for tag ( #34422 )
* feat: basic implements
* feat: add rtl
* feat: reorganize types
* test: add test cases for capitalize
* test: improve coverage
* chore: improve types
* chore: update
* chore: update
3 years ago
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() ( #34498 )
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
MadCcc
d446bafc6b
refactor: cssinjs for textarea ( #34484 )
* refactor: cssinjs for textarea
* chore: code clean
* refactor: better code style
* test: fix lint
* chore: code clean
* test: fix rtl warning
3 years ago
二货机器人
cd30664ce3
refactor: slider with cssinjs ( #34489 )
* chore: slider cssinjs
* chore: clean up
3 years ago
二货机器人
80bf60c717
chore: Add GenerateStyle ts def ( #34429 )
* chore: Alert with types
* chore: rest component
* chore: more
* chore: fix lint
3 years ago
二货机器人
b51c900847
refactor: rm useDestroy hook ( #34418 )
3 years ago
Long Hao (龙濠)
4db1fc1a20
refactor: change divider into cssinjs ( #34364 )
* refactor: change divider into cssinjs
* fix: token and logical css
* fix: token to margin
* fix: token add marginLG 24px margin * 1.5 = 16 * 1.5
* fix: comment the _style less
* fix: move file
* fix: add px for marginNumber
* fix: borderwidth
* fix: delete test css
* fix: add comment fixme
* fix: add dividerNotDefaultTextPadding token to divider
* fix: add prefixCls to fix the inner classname
* fix: delete useless code
* fix: delete withPrefix
* fix: delete import
* fix: wrapper with prefixCls
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
MadCcc
228d451832
refactor: input support cssinjs ( #34288 )
* refactor: input with cssinjs
* refactor: input cssinjs
* refactor: rtl
* chore: code clean
* chore: code clean
* refactor: adapt hash
* refactor: use input token
* refactor: status
* fix: style
* fix: rtl
* chore: update token
* chore: code clean
* chore: code clean
* chore: code clean
* refactor: enhance token
* fix: enhance padding
* perf: replace rtl styles
* refactor: place placeholder in input
* perf: rtl
* refactor: code perf
* style: code style
* fix: prefixCls
3 years ago
二货机器人
de24558a6c
refactor: Cascader cssinjs ( #34374 )
3 years ago
二货机器人
068584b76c
refactor: change Select into CSSINJS ( #34339 )
* chore: init
* chore: init single
* chore: merge next
* chore: select single base
* chore: basic all style of select
* chore: speed of dropdown
* chore: move size in single
* chore: single size
* chore: lg style
* chore: left & right
* chore: rtl
* chore: auto rtl
* chore: rtl
* fix: height cal
* chore: clean up
* chore: status color
3 years ago
vagusX
4459a200bb
refactor: cssinjs for Result ( #34317 )
* refactor: cssinjs for Result
* chore: add some comments
* style: use marign inline to remove rtl styles
3 years ago
xrkffgg
8b1e5a2ab5
refactor: cssinjs alert ( #34285 )
* refactor: cssinjs alert
* fix: color
* fix: default
* fix: cs
* fix: ssr
* fix: ssr
* fix: ssr
* fix: ssr
3 years ago
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
3 years ago
二货机器人
989a27ada8
refactor: tree support cssinjs ( #34258 )
* chore: part of tree
* chore: tree cssinjs
* chore: fix lint
* refactor: RTL support
* fix: checkbox hover logic
* chore: rtl use same style
* fix: check style priority
3 years ago
二货机器人
20ae690b14
refactor: Cssinjs checkbox ( #34247 )
* refactor: Checkbox support cssinjs
* chore: clean up
* chore: clean up
3 years ago
zombiej
4aac9f7522
chore: simplify style requirement
3 years ago
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
3 years ago
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
3 years ago
MadCcc
37e042358d
feat: Input support status ( #33995 )
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
3 years ago
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center ( #33658 )
* feat: add pointAtCenter prop for dropdown
* feat: dropdown support arrow pointing at center
* chore: code clean
* chore: use getPlacements in tooltip
* feat: dropdown support 'top' and 'bottom'
* chore: update snapshot
* chore: move placements to util folder
* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated
* test: update snapshot
* test: add test for topCenter and bottomCenter
3 years ago
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
3 years ago
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
3 years ago
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
3 years ago
MadCcc
727e394d75
feat: add useMountedRef hook
3 years ago
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 ( #32501 )
* chore(deps): update dependency eslint to v8
* fix eslint errors
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
968590e8d0
chore: Mv style to rc-util ( #32177 )
3 years ago