Commit Graph

236 Commits

Author SHA1 Message Date
MadCcc
cdbfe45df1
feat: generate anchor style for all components (#36460)
* test: fix lint

* chore: code clean

* doc: anchor color

* chore: style order
2022-07-11 15:35:58 +08:00
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
二货机器人
de2992f96f
chore: move path (#36243)
* chore: base move

* chore: all path

* chore: fix script
2022-06-27 14:25:59 +08:00
zombiej
ddd7fc5865 chore: rm useless config test 2022-06-22 17:34:32 +08:00
zombiej
d4e7ae0e9e chore: rm useless file 2022-06-22 15:48:17 +08:00
zombiej
07520b44c4 chore: fix merge conflict 2022-06-22 15:31:47 +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
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
二货机器人
c720965d13
refactor: rename of _InternalPanelDoNotUseOrYouWillBeFired (#36028) 2022-06-13 17:55:00 +08:00
二货机器人
ec21769ec0
chore: Notification add PurePanel (#35948)
* chore: Notification add purePanel

* test: Update snapshot

* test: Update snapshot
2022-06-08 17:01:26 +08:00
二货机器人
b53b4cf620
chore: Add pure component of message (#35931)
* feat: Add pure component of message

* test: Updare snapshot
2022-06-07 23:29:12 +08:00
dingkang
34299b39ea
docs(message): use message hooks api (#35691)
* docs(message): use message hooks api

* docs(message): 保留一个静态方法调用

* docs: move docs demo order
2022-05-26 09:53:08 +08:00
MadCcc
1d14f2eb6b
refactor: message full token (#35741)
* refactor: message full token

* chore: code clean

* refactor: update padding
2022-05-26 09:52:18 +08:00
TrickyPi
49bd49f711
refactor(message): refactor to cssinjs (#35565) 2022-05-24 09:29:33 +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
afc163
2842524850 chore: sync master into next branch 2022-05-11 16:00:22 +08:00
二货机器人
2341a25d91
feat: refactor useNotification (#35423)
* more refactor

* chore: motion support

* chore: tmp test

* test: Hooks

* chore: static function

* tmp of it

* all of it

* mv prefix

* chore: clean up

* chore: clean up

* more test case

* test: all base test

* test: all test case

* init

* refactor: rm notification.open instance related code

* follow up

* refactor: singlton

* test: notification test case

* refactor to destroy

* refactor: message base

* test: part test case

* test: more

* test: more

* test: all test

* chore: clean up

* docs: reorder

* chore: fix lint

* test: fix test case

* chore: add act

* chore: back

* chore: fix style

* test: notification test

* test: more and more

* test: fix more test

* test: index

* test: more & more

* test: fix placement

* test: fix coverage

* chore: clean up

* chore: bundle size

* fix: 17

* chore: more

* test: message

* test: more test

* fix: lint

* test: rm class in static

* chore: clean up

* test: coverage

* chore: fix lint
2022-05-11 14:26:18 +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
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
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +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
zhao-huo-long
2282b1c580
chore: refactor message types implementation (#34654) 2022-03-23 14:49:57 +08:00
TrickyPi
537f4c357b
fix: del messageInstance when configuring getContainer (#34123)
* fix: del messageInstance when configuring getContainer

* test: move the new test to the bottom of the test lists
2022-02-21 12:31:39 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +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
huangkairan
b03fae3f70
chore: fix types declaration (#32935) 2021-11-18 14:39:22 +08:00
Jtree03
0e7d82bdb4
refactor: Use getKeyThenIncreaseKey in message notice function (#32642) 2021-10-26 13:17:21 +08:00
chen-jingjie
204af50bff
fix(Message): typescript type error (#32524)
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-18 10:22:27 +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
JounQin
a0d8ee37a4
chore: remove redundant space after should (#32141) 2021-09-13 16:19:09 +08:00
James
af422c9e46
fix: useMessage() should use getPopupContainer from <ConfigProvider />… (#31939)
* fix:useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* fix: useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* add test case for useMessage hook

* restore some changes

* try to restore files agains

* restore and keep the same as upstream master

* restore files

* restore some definition
2021-09-13 11:37:30 +08:00
afc163
85935e18c0 chore: merge feature into master 2021-08-02 18:36:27 +08:00
07akioni
015b706643
docs(message): fix typo (#31606) 2021-07-31 23:57:26 +08:00
afc163
993b934c7f merge feature into master 2021-06-29 17:09:39 +08:00
Xu Zhiwei
558ac8fce2
docs: default props of message.config (#31078)
Co-authored-by: xuzhiwei <“xuzhiwei@qtrade.com.cn”>
2021-06-22 13:33:01 +08:00
二货机器人
eb70f00513
feat: ConfigProvider static function support iconPrefixCls (#30925)
* feat: Static iconPrefixCls

* feat: message & notification support iconPrefixCls

* docs: Update doc

* chore: Force update

* fix: ts def
2021-06-09 15:36:59 +08:00
afc163
ea2545fbc7
fix: Dropdown/DatePicker/Select/Cascader animation direction (#30892)
* fix: DatePicker/Select/Cascader/Select animation direction

close #30889

* fix modal

* fix message
2021-06-07 16:30:40 +08:00
二货机器人
2e5c848799
fix: message with prefixCls should not break (#29574)
* fix: compitable for legacy usage

* chore: Add modal warning

* fix lint

* test: ConfigProvider.config
2021-03-02 11:53:12 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
叶枫
10c326ee94
feat: 添加全局静态配置 (#29285)
* feat: 添加全局静态配置

* chore: change globalConfig

* chore: change globalPrefixCls

* chore: review

* feat: 恢复 message 静态 prefix

* feat: modal

* feat: notification

* fix: prefix

* fix: prefix

* fix: 添加 test

* chore: review

* docs: doc

* chore: en

* chore: test

* fix: notification config set empty

* chore: link

* chore: change name

* chore: doc

* chore: doc
2021-02-09 21:49:15 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix (#29268)
* feat: add prefix

* fix: 剩余

* fix: test

* fix: test

* fix: test

* fix: test

* fix: 传了 name 则使用传的

* fix: pop 添加 prefix

* fix: Ok OK ?

* fix: modal confirm

* fix: select

* fix: test
2021-02-08 17:09:13 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
Tom Xu
c00755f9ec Merge branch 'feature' into merge 2020-12-17 15:27:42 +08:00