soso
b66016a6f7
fix: useLayoutEffect to useIsomorphicLayoutEffect ( #33818 )
* fix: useLayoutEffect to useIsomorphicLayoutEffect
* chore: change to rc-util/lib/hooks/useLayoutEffect
3 years ago
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
* fix: typography ellipsis check in transform
* test: Update snapshot
3 years ago
linxianxi
19cc7d49e2
fix: Typography copyable add stopPropagation ( #33998 )
* fix: Typography copyable add stopPropagation
* add test
3 years ago
Di Wu
745ebf2d84
fix: Exception in enter key callback on editable or copyable Paragraph ( #33976 )
* fix: Exception on enter key callback
* Move spyOn position
3 years ago
MadCcc
a9bc316b80
fix: ellipsis should display tooltip if rows larger than 1 ( #33875 )
* fix: ellipsis should display tooltip if rows larger than 1
* test: add test case
3 years ago
dengqing
30086db63f
docs: ✏️ add note comment ( #33771 )
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
3 years ago
二货机器人
395c549049
fix: Typography error on context ellipsis ( #33725 )
* chore: init measure
* chore: out of space
* refactor: Multiple render
* chore: auto cut
* feat: render split
* fix: ellipsis logic of suffix
* fix: ref missing
* fix: Tooltip missing
* test: snapshot
* chore: opt for textarea
* test: back part of ellipsis
* chore: back of ellipsis logic
* ellipsis logic
* fix: init ellipsis measure
* fix: ellipsis event
* chore: clean up
* test: Update snapshot
* fix: test
* test: Update snapshot
* chore: lazy ellipsis
* fix: check css ellipsis logic
* test: Update snapshot
* test: back of coverage
* chore: clean up
* test: ignore else
* test: clean up
3 years ago
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf ( #33669 )
3 years ago
zombiej
7ae451729f
test: update snapshot
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
zombiej
78a67d6615
chore: fix lint
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
hydraZty
c179c39a3b
fix: Typography ellipsis with 1 row doesn't wrap ( #32735 )
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
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
hydraZty
9fe5820cf0
fix: Typography ellipsis height error ( #32496 )
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
afc163
3b27f47097
fix: Typography ellipsis not working in Table ( #32447 )
* chore: add reproduce demo
* fix: Typography ellipsis in Table
close #32432
3 years ago
Dreamcreative
4c1f4f941c
docs: modify Typography.Text ellipsis prop ( #32280 )
Co-authored-by: xc <xc@xcdeMacBook-Pro.local>
3 years ago
unknown
87849a9ce0
docs: fix typography/demo/basic.md
Update basic.md
fix snapshot
3 years ago
Sergey Kachanovskiy
7bded502e9
feat: triggerType prop for editable paragraph ( #32219 )
* feat: triggerType prop for editable paragraph
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - demo fix
Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
3 years ago
Sergey Kachanovskiy
4a31561645
feat: enterIcon prop for editable paragraph ( #32220 )
Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
3 years ago
Antee
61c21a07f7
docs: delete duplicated property ( #32196 )
Removing duplicated property of `Editable` to make the Chinese version same as the English version.
3 years ago
afc163
af805c098b
test: fix eslint errors ( #31961 )
* test: fix eslint errors
* test: fix eslint errors
3 years ago
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
3 years ago
Hale Deng
c092ea89a7
docs: remove unnecessary type annotation in typography interactive demo ( #31564 )
Co-authored-by: Hale <hale@shundaojia.com>
3 years ago
k983551019
3549554a80
docs: Update typography/index.zh-CN.md ( #31506 )
多一列onEnd
3 years ago
Jógvan Olsen
dece6773c9
docs: remove editable duplicated mentions of callbacks ( #31481 )
3 years ago
afc163
79825fd318
fix: Typography.Text ellipsis bug ( #31449 )
* fix: Typography.Text ellipsis bug
* use getBoundingClientRect().height instead of offsetHeight
* reduce code
* revert table demo
* fix test case
* fix test cov
* fix test cov
* fix test cov
3 years ago
二货机器人
b7bb7a5e59
fix: italic should not warning ( #31004 )
resolve #31002
3 years ago
afc163
dd2d22698a
docs: Typography add demo of ellipsis from middle ( #30914 )
* docs: Add demo of ellipsis from middle
* fix demo
4 years ago
叶枫
f288aff9fe
fix: Typography `icons` should ignore React.Fragment ( #30869 )
* feat: fix-text
* feat: 优化代码
* chore: add test
* chore: 打算重构 test
* chore: 重构 test
* chore: 重构 test
* chore: 重构 test
* feat: review
* feat: review
* feat: add test
* feat: add test
* fix: test
* fix: tsx
* fix: 优化
* fix: 优化
* fix: map 当前处理
* fix: getNode function
* fix: 优化方法
* fix: ci
* fix: aria-label
4 years ago
afc163
e851fa4548
fix: Typography ellipsis width not correct ( #30840 )
close #30835
4 years ago
afc163
9f0dbf2b4d
chore: upgrade to jest 27 ( #30783 )
* chore: upgrade devDeps
* upgrade @ant-design/tools
* support CSS Minification
* test: jsdom as testEnvironment
* fix setImmediate
* update snapshot
* fix test
* fix test
* fix test
* fix test
4 years ago
二货机器人
b0fc23957d
fix: HMR typography check logic ( #30754 )
4 years ago
二货机器人
5f3d0a6049
fix: Use css ellipsis when pure text ( #30664 )
4 years ago
陈帅
0d1b1c40a6
merge featrue into master ( #30636 )
* feat: add Table expandable fixed (#29959 )
* fix: Use flex gap of space (#30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
* feat: Allow breadcrumb component in PageHeader (#30019 )
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Rename variable
rename var from _breadcrumbRender to breadcrumbRenderDomFromProps
* feat: add onChange for Statistic.Countdown (#30265 )
* feat: add onChange for countdown
* update the demo
* feat(upload): add onDrop (#30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
* feat(upload): itemRender add actions params (#30236 )
* feat(upload): itemRender add actions params
* chore: optimize type definition
* chore: update doc
* chore: rename actions
* chore: trigger ci
* chore: rename method name of actions
* feat: Add missing dutch translations (#30389 )
* feat: Add missing dutch translations
* fix: Translate remaining english values
* fix: Update snapshot for ui tests
* test: increase code coverage to 100% (#30415 )
* test: fix Space code coverage
* test: should use nl_BE locale for DatePicker
* fix: Switch tabIndex type (#30416 )
* feat: updated Romanian internationalization (#30419 )
* feat: updated Romanian internationalization
* fixed lint error
* feat: Menu support accessibility & keyboard access (#30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
* feat(radioGroup): support data-* and aria-* props (#30507 )
close #30501
* feat: Typography add italic type (#30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
* chore: alpha Menu fix merge (#30546 )
* chore: Update script
* bump alpha version
* chore: Update script desc
* chore: bump rc-tabs & rc-mentions
* chore: Adjust style
* chore: 4.16.0-alpha.1
* test: Fix mention test case
* fix: sider of layout width style
* chore: bump 4.16.0-alpha.2
* fix: Tabs tabBarGutter should work as expected (#30545 )
close #30526
* feat: Table summary support sticky mode (#30631 )
* chore: Bump rc-table
* feat: Patch summary fixed color
* fix: style className
* test: Update snapshot
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
4 years ago
afc163
e290874c51
fix: Typography ellipsis flush when contain suffix ( #30582 )
* fix: Typography ellipsis flush when contain suffix
* update snapshot
* fix Text default rows
* fix Text default rows
4 years ago
vldh
9de44ed4c4
feat: Typography add italic type ( #30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
4 years ago
John
60cad5a765
fix(typography): `editable` should not trigger links ( #30354 )
closed #30353
4 years ago
xiejiahe
c2e0cf5154
style(typography): remove null check ( #30248 )
4 years ago
CodingYingYingYing
a21c1a88c1
fix: Typography.Paragraph\Text\Title ts ( #29787 )
* fix: Typography.Paragraph\Text\Title ts
* feat: add doc
* feat: title ts
* feat: cr
* chore: revert
* chore: ts
* feat: doc/sort & drop onChange
4 years ago
xrkffgg
8622c39f29
docs: update typography api show
4 years ago
陈帅
c673cde7de
merge Feature into master ( #29758 )
* feat: add onCancel and onEnd option for editable (#29615 )
* feature: add onCancel and onEnd option for editable
* doc: editable
* doc: add EN doc
* optimize: code
Co-authored-by: chenliang <chenliang9@xiaomi.com>
* feat: add parent class for different notification types (#29634 )
close #29417
* refactor: Upload use origin behavior (#29737 )
* refactor: Fallback of events
* test: Fix test case
* fix: Start file update logic
* fix: remove status update
* test: Remove wrapTest
* test: Fix test case
* chore: bump rc-upload
* docs: About desc
* feat: tab support moreIcon (#29744 )
* feat: Tabs support moreIcon
* docs: Tabs support moreIcon
* style: lint
* docs: add english document
* Update components/tabs/index.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.zh-CN.md
* Update components/tabs/index.en-US.md
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jueinin <1014397160@qq.com>
Co-authored-by: chenliang <chenliang9@xiaomi.com>
Co-authored-by: 不吃猫的鱼 <michael2ib1989@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
4 years ago
jueinin
24d1b3c39c
feat: add onCancel and onEnd option for editable ( #29615 )
* feature: add onCancel and onEnd option for editable
* doc: editable
* doc: add EN doc
* optimize: code
Co-authored-by: chenliang <chenliang9@xiaomi.com>
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
Kermit
7368b05b05
fix: update snapshot ( #29309 )
4 years ago
诸岳
367a64676f
test: Update snapshots
4 years ago
afc163
1d437534a0
docs: fix broken links
close #29294
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago