afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
Camol
bdabee4db4
feat(Typography): copyable text support format ( #35219 )
...
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
2022-04-25 09:49:48 +08:00
TrickyPi
e8b816e68a
fix(Typography): change less function to less variable in danger style ( #35113 )
2022-04-20 12:00:16 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
...
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
二货机器人
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
2022-04-06 11:07:15 +08:00
Minh Quy
445e6c6bca
feat: Support ref for Title, Text, Paragraph ( #34847 )
...
* feat: Support ref for Title, Text, Paragraph
* feat: Add tests for Title, Paragraph and Text
2022-04-05 13:02:32 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
youngz
80377f2243
feat: Typography.Text Pass event to onCopy. ( #34655 )
2022-03-22 16:52:44 +08:00
afc163
f3c5c17474
fix: Typography ediable style ( #34518 )
...
- [x] Fix Editable Textarea height jump in Firefox
- [x] Fix Editable Typography.Title confirm icon position
2022-03-15 21:03:06 +08:00
afc163
e1f453c988
refactor: Replace ConfigConsumer to ConfigContext ( #34365 )
2022-03-08 18:13:51 +08:00
afc163
0e27f8af7e
fix: typography title margin issue ( #34302 )
2022-03-04 22:10:16 +08:00
黑雨
c7fe1c8e26
fix: editable Typography.Title should match font size while editing ( #34169 )
...
* feat: editable Typography.Title should match font size while editing
* feat: update style
* feat: update style
* feat: update style
* feat: style lint
* feat: update style
* Update components/typography/style/index.less
* Update components/typography/Editable.tsx
* feat: reorganize css
* feat: style lint
* feat: update snap
Co-authored-by: afc163 <afc163@gmail.com>
2022-03-04 11:04:20 +08:00
二货机器人
811fed2fc2
refactor: Update rc-slider ( #34234 )
...
* chore: Update rc-slider version
* chore: bump
* chore: update sty;e
* fix: style
* test: update snapshot
* test: all fixed
* fix lint
2022-03-01 14:48:41 +08:00
opopeieie
58c1998e1e
fix: Typography copyable in clipboard incorrect ( #34034 )
...
Co-authored-by: chenxq <chenxq@neocrm.com>
2022-02-16 19:41:06 +08:00
soso
b66016a6f7
fix: useLayoutEffect to useIsomorphicLayoutEffect ( #33818 )
...
* fix: useLayoutEffect to useIsomorphicLayoutEffect
* chore: change to rc-util/lib/hooks/useLayoutEffect
2022-02-14 14:36:05 +08:00
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
...
* fix: typography ellipsis check in transform
* test: Update snapshot
2022-02-11 14:06:06 +08:00
linxianxi
19cc7d49e2
fix: Typography copyable add stopPropagation ( #33998 )
...
* fix: Typography copyable add stopPropagation
* add test
2022-02-10 16:22:31 +08:00
Di Wu
745ebf2d84
fix: Exception in enter key callback on editable or copyable Paragraph ( #33976 )
...
* fix: Exception on enter key callback
* Move spyOn position
2022-02-09 18:07:52 +08:00
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
2022-01-28 14:54:03 +08:00
dengqing
30086db63f
docs: ✏️ add note comment ( #33771 )
...
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-01-19 19:05:25 +08:00
二货机器人
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
2022-01-18 14:13:41 +08:00
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf ( #33669 )
2022-01-11 12:04:50 +08:00
zombiej
7ae451729f
test: update snapshot
2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
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
2021-12-23 11:51:10 +08:00
zombiej
78a67d6615
chore: fix lint
2021-11-26 15:59:17 +08:00
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>
2021-11-26 12:18:21 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs ( #32839 )
...
chore: sync master to feature
2021-11-12 07:15:31 +00:00
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
github-actions[bot]
5a1d8159b1
chore: auto merge branchs ( #32686 )
...
chore: feature merge master
2021-10-29 07:32:58 +00: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
github-actions[bot]
c8150f872d
chore: auto merge branchs ( #32585 )
...
chore: sync feature into master
2021-10-21 05:42:17 +00:00
hydraZty
9fe5820cf0
fix: Typography ellipsis height error ( #32496 )
2021-10-21 13:22:13 +08:00
afc163
be064df13b
Merge pull request #32472 from ant-design/master
...
chore: sync master into feature
2021-10-13 19:17:48 +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
afc163
d35576d675
chore: merge feature into master
2021-09-29 08:43:06 +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
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>
2021-09-23 22:14:43 +08:00
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>
2021-09-22 21:54:27 +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