Commit Graph

311 Commits

Author SHA1 Message Date
MadCcc
8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
9d7c11f391 Merge branch 'master' into next-merge-master 2022-07-03 09:42:26 +08:00
MadCcc
42e030edd9
fix: arrow compatibility (#36266)
* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style
2022-06-30 11:11:01 +08:00
MadCcc
abb409ccf7
refactor: token update (#36306) 2022-06-29 21:24:29 +08:00
二货机器人
de2992f96f
chore: move path (#36243)
* chore: base move

* chore: all path

* chore: fix script
2022-06-27 14:25:59 +08:00
MadCcc
9f2f9bb57f
refactor: default theme with algorithm (#36175)
* refactor: alias token

* refactor: use palettes

* refactor: default theme

* chore: code clean

* refactor: component token

* feat: light tokens

* feat: add dark theme

* feat: dark derivative

* chore: code clean

* refactor: fix colorBgContainer

* refactor: rename token

* test: fix lint

* chore: code clean

* chore: code clen

* refactor: badge shadow color

* test: add test case
2022-06-24 11:11:42 +08:00
zombiej
8749c1ae04 chore: merge master 2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
zombiej
91245c16ad chore: merge master 2022-06-21 19:40:22 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment (#36126)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
MadCcc
1bcfe0cce3
refactor: motion (#36136)
* fix: modal motion

* fix: image motion

* refactor: popover & tooltip motion

* chore: code clean

* refactor: move motion

* refactor

* chore: code clean

* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
MadCcc
5639e1a5ba
feat: update token (#36095)
* feat: update token

* feat: update token

* fix: override ts definition

* fix: rename token
2022-06-17 18:47:47 +08:00
二货机器人
fb322cd70e
refactor: Full token tooltip (#35896)
* refactor: full token

* refactor: full token

* test: Udpate snapshot
2022-06-02 22:15:54 +08:00
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs (#35683)
* chore: init

* chore: part of

* fix: Buttons style

* chore: refactor dom structure

* test: Update snapshot

* test: more coverage
2022-05-23 20:34:20 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
zombiej
cd0ace3d40 chore: merge master 2022-05-21 22:14:15 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
MadCcc
9ca7973521
refactor: image full token (#35465)
* refactor: image full token

* chore: remain switch size

* refactor: less token

* chore: text color
2022-05-10 17:30:01 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
MadCcc
e9f22cf192 chore: code enhance 2022-05-07 15:38:00 +08:00
MadCcc
83ed62aa0e Merge branch 'feature' into next-merge-feature 2022-05-07 15:19: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
二货机器人
00fb82276f
Merge pull request #35396 from zpc7/test/transfer-tooltip-to-testing-library
Replace Tooltip test case with testing library
2022-05-07 14:04:15 +08:00
zpc7
bd31a6a46a Revert "test: replace some slepp with jest.runAllTimers"
This reverts commit ad886d1f65.
2022-05-07 13:05:11 +08:00
zpc7
ad886d1f65 test: replace some slepp with jest.runAllTimers 2022-05-07 12:09:25 +08:00
MadCcc
7873bf7f1c
fix: arrow style (#35401)
* fix: arrow style

* fix: raise arrow z-index

* fix: fix defualt arrow color

* fix: mix shadow

* chore: code clean

* chore: code clean

* fix: use fadeout instead

* test: fix style lint
2022-05-07 12:04:46 +08:00
zpc7
22b89eea5a test: foreach all placement 2022-05-07 10:43:59 +08:00
zpc7
55f9e29360 test: remove some test case 2022-05-07 09:35:12 +08:00
zpc7
8ade7ab323 test: try to fix the pr check 2022-05-07 09:35:12 +08:00
zpc7
d9ce1ad14c ci: trigger the pr check 2022-05-07 09:35:12 +08:00
zpc7
8545647313 test: transfer tooltip test case to testing library 2022-05-07 09:35:12 +08:00
PCCCCCCC
b3e8e2d555
Refactor:Component Tooltip Less to cssinjs (#35340)
* refactor: add basic css layout for tooltip

* style: handle the special mutilte repeat property

* style: complete the custom color style

* style: replace with Logical properties

* style: skip check some logic property

* docs: add FIXME necessary

* chore: adjust bundle size and trigger the preview ci
2022-05-03 22:41:59 +08:00
PCCCCCCC
c2741c2c4b
test: transfer part of tooltip test case to testing library (#35362) 2022-05-03 10:40:12 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
MadCcc
1c8e499f9c
test: migrate some test case to testing-library (#35062)
* test: migrate some test case to testing-library

* chore: code clean

* test: fix stylelint

* test: test case
2022-04-17 22:36:36 +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
二货机器人
96ddf2e452
chore: more less variables (#34746) 2022-03-28 14:04:15 +08:00
MadCcc
10c090a993
fix: tooltip preset color (#34548)
* fix: tooltip preset color

* chore: code clean
2022-03-17 11:48:52 +08:00
dujun
fca7210309
fix: Tooltip width in safari (#34415) 2022-03-10 19:47:16 +08:00
MadCcc
76ad890deb Merge branch 'master' into feature-merge-master 2022-02-15 14:05:33 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
MadCcc
926a8aaf8a
feat: tooltip round arrow (#33710)
* feat: tooltip round arrow

* chore: update demo

* docs: update docs

* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker

* chore: code clean

* fix: fill gap

* chore: code clean

* chore: raise css bundle size

* fix: arrow style

* feat: use full path

* test: update snapshot

* perf: hack firefox

* perf: more magic position

* perf: RangePicker's arrow position

* chore: bump rc-picker version

* fix: arrow position
2022-02-08 09:52:33 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
0d4e1b1356
chore: auto merge branchs (#33889)
chore: merge master into feature
2022-01-29 11:53:19 +00:00
MadCcc
2d66c7ecc6
fix: tooltip should work with loading switch (#33860)
* fix: tooltip should work with loading switch

* fix: only works for switch

* chore: code clean
2022-01-27 17:51:00 +08:00
github-actions[bot]
0c6d1512be
chore: auto merge branchs (#33794)
chore: merge master into feature
2022-01-21 05:32:19 +00:00
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip (#33772)
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-01-20 19:23:14 +08:00
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
2022-01-13 13:34:34 +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
afc163
19cd3519dd
fix: Tooltip arrowPointAtCenter 1px shift bug (#31201)
close #31197
2021-06-30 11:48:11 +08:00