Commit Graph

202 Commits

Author SHA1 Message Date
hydraZty
c179c39a3b
fix: Typography ellipsis with 1 row doesn't wrap (#32735)
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
2021-11-04 15:38:33 +08:00
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>
2021-10-22 13:35:36 +08:00
hydraZty
9fe5820cf0
fix: Typography ellipsis height error (#32496) 2021-10-21 13:22:13 +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
afc163
3b27f47097
fix: Typography ellipsis not working in Table (#32447)
* chore: add reproduce demo

* fix: Typography ellipsis in Table

close #32432
2021-10-12 17:18:59 +08:00
Dreamcreative
4c1f4f941c
docs: modify Typography.Text ellipsis prop (#32280)
Co-authored-by: xc <xc@xcdeMacBook-Pro.local>
2021-09-24 16:56:38 +08:00
unknown
87849a9ce0 docs: fix typography/demo/basic.md
Update basic.md

fix snapshot
2021-09-24 13:50:32 +08:00
Antee
61c21a07f7
docs: delete duplicated property (#32196)
Removing duplicated property of `Editable` to make the Chinese version same as the English version.
2021-09-16 17:00:47 +08:00
afc163
af805c098b
test: fix eslint errors (#31961)
* test: fix eslint errors

* test: fix eslint errors
2021-08-30 13:04:21 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define (#31661) 2021-08-04 20:07:28 +08:00
Hale Deng
c092ea89a7
docs: remove unnecessary type annotation in typography interactive demo (#31564)
Co-authored-by: Hale <hale@shundaojia.com>
2021-07-28 16:57:03 +08:00
k983551019
3549554a80
docs: Update typography/index.zh-CN.md (#31506)
多一列onEnd
2021-07-23 17:30:29 +08:00
Jógvan Olsen
dece6773c9
docs: remove editable duplicated mentions of callbacks (#31481) 2021-07-22 15:03:29 +08:00
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
2021-07-20 13:51:03 +08:00
二货机器人
b7bb7a5e59
fix: italic should not warning (#31004)
resolve #31002
2021-06-16 15:52:05 +08:00
afc163
dd2d22698a
docs: Typography add demo of ellipsis from middle (#30914)
* docs: Add demo of ellipsis from middle

* fix demo
2021-06-09 11:44:20 +08:00
叶枫
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
2021-06-06 13:41:26 +08:00
afc163
e851fa4548
fix: Typography ellipsis width not correct (#30840)
close #30835
2021-06-04 15:39:46 +08:00
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
2021-06-01 10:11:24 +08:00
二货机器人
b0fc23957d
fix: HMR typography check logic (#30754) 2021-05-28 14:54:32 +08:00
二货机器人
5f3d0a6049
fix: Use css ellipsis when pure text (#30664) 2021-05-25 13:31:22 +08:00
陈帅
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>
2021-05-24 16:24:00 +08:00
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
2021-05-19 13:17:58 +08:00
John
60cad5a765
fix(typography): editable should not trigger links (#30354)
closed #30353
2021-04-29 17:03:24 +08:00
xiejiahe
c2e0cf5154
style(typography): remove null check (#30248) 2021-04-21 16:43:01 +08:00
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
2021-03-23 13:32:37 +08:00
陈帅
ecf4bbe15d
Merge pull request #29761 from ant-design/feature
Feature
2021-03-14 16:38:43 +08:00
xrkffgg
8622c39f29 docs: update typography api show 2021-03-14 16:35:09 +08:00
陈帅
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>
2021-03-13 23:46:32 +08:00
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>
2021-03-06 13:06:32 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if (#29368)
* refactor: use optional chaining instead of if

* revert some code
2021-02-19 18:26:53 +08:00
Kermit
7368b05b05
fix: update snapshot (#29309) 2021-02-10 15:10:39 +08:00
afc163
1d437534a0
docs: fix broken links
close #29294
2021-02-09 19:25:55 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
cnjs
1ea1ec7876
docs: update Typography doc (#29033)
* doc: update Typography doc

* doc: update Typography doc

* docs: update symbol doc
2021-01-27 17:26:38 +08:00
afc163
a5bdf5aedd chore: fix tsc error 2021-01-14 14:42:01 +08:00
afc163
b22f1ec306 chore: fix tsc error 2021-01-14 14:32:42 +08:00
afc163
ea9c71a94e Merge branch 'feature' into master-to-merge-feature 2021-01-14 14:26:09 +08:00
二货机器人
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
2021-01-13 21:00:30 +08:00
二货机器人
a9bd80916d
feat: Typography ellipsis support tooltip (#28821)
* feat: ellipsis support tooltip

* chore: Update test snapshot

* test: Coverage

* chore: fix ts definition

* clean up
2021-01-12 16:46:59 +08:00
二货机器人
a70d301c7b
fix: typography focus (#28545) 2020-12-26 21:58:35 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
偏右
0ca5e686d9
fix: Typography.Link copyable text default behavior (#27982)
close #27966
2020-11-24 20:05:49 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts (#27920)
ref.ts remove
2020-11-21 15:40:06 +08:00
Tom Xu
44e41b5ced
refactor(trans-button): rewrite with hook (#27743)
* refactor(trans-button): rewrite with hook

* Update Base.tsx

* Update util.test.js

* Update transButton.tsx

* Update transButton.tsx

* Update transButton.tsx

* Update util.test.js
2020-11-18 11:20:31 +08:00
wf-francescoalbanese
696396a62f
refactor: make autosize true by default (#27814)
Made `autoSize = true` by default deconstructing it from props, rather than explicitly checking if it's undefined at render times.
2020-11-17 11:02:59 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
xrkffgg
c80524f475
fix: Typography.Link disabled hover style (#27734) 2020-11-13 09:06:35 +08:00
Tom Xu
4b8674d9e9
refactor(editable): rewrite with hook (#27655)
* refactor(editable): rewrite with hook

* Update Editable.tsx

* chore: imrpove

* Update Editable.tsx

* Update Editable.tsx

* Update Editable.tsx
2020-11-11 11:28:06 +08:00