Commit Graph

236 Commits

Author SHA1 Message Date
MadCcc
8e328d0ae2
feat: focus outline (#37483)
* feat: focus outline

* feat: add tree focus
2022-09-09 10:53:03 +08:00
MadCcc
d5c17a9a7c Merge branch 'master' into next-merge-master 2022-09-05 21:26:04 +08:00
afc163
f8b5fc3aae
style: fix Menu disabled item focus style (#37332)
close #37325
2022-08-31 19:08:23 +08:00
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary (#37254)
* feat: v5 shadow

* chore: color lint

* test: fix test case
2022-08-26 16:05:16 +08:00
MadCcc
de4914880e
fix: Menu horizontal border (#36947) 2022-08-08 15:57:18 +08:00
MadCcc
ec3444a407
refactor: token udpate (#36892) 2022-08-04 16:16:50 +08:00
MadCcc
f1ba08fd0c
fix: token update (#36871)
* fix: token update

* refactor: map token update
2022-08-03 20:04:58 +08:00
陈帅
dcca3d25f2
feat: add menu token and adjust style (#36777)
* fix: menu add margin token

* Update components/menu/style/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* fix ci

Co-authored-by: MadCcc <1075746765@qq.com>
2022-08-01 11:19:32 +08:00
期贤
fb514b6deb revert coomit 2022-07-29 14:11:01 +08:00
期贤
993e975e76 fix: 优化 menu 的 margin token,做到了视觉统一 2022-07-29 14:07:53 +08:00
MadCcc
d7c2f5f5d3
feat: menu theme implemented by design token (#36738)
* feat: menu theme implemented by design token

* test: fix test

* fix: lint

* fix: menu motion

* 偷偷加了几个token

Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-07-28 20:33:10 +08:00
MadCcc
1ad0553249
refactor: token update (#36637)
* refactor: token update

* refactor: token

* chore: error color

* fix: menu danger
2022-07-21 17:00:42 +08:00
MadCcc
357750e081
refactor: collapse motion (#36597)
* chore: v5.0.0-experimental.5

* refactor: collapse motion
2022-07-19 22:53:38 +08:00
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
MadCcc
8e4f1c6836
refactor: token update (#36279)
* refactor: token update

* chore: add js doc

* test: fix lint

* test: update test
2022-06-28 20:33:01 +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
e9e8419b19
fix: menu inline & vertical border (#35742) 2022-05-26 01:36:39 +08:00
二货机器人
47d73d8e33
Refactor: Menu full token (#35650)
* chore: more style

* chore: more style

* chore: more and more

* chore: more and more

* chore: all about it

* chore: more style

* chore: more & more

* chore: more

* chore: hover style

* chore: theme of it

* move

* chore: status color

* chore: full token

* chore: update

* chore: update

* chore: force cache update

* chore: force cache back

* fix: commented
2022-05-23 10:58:30 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
二货机器人
b4730281a9
refactor: Dropdown cssinjs support (#35214)
* chore: init

* chore: dropdown style

* chore: more style

* chore: icon style

* chore: more style

* chore: diff shows the cache path

* chore: motion support

* chore: more style

* feat: status

* chore: sub menu style

* chore: all dropdown style

* fix: ts

* chore: update snapshot

* Update components/dropdown/style/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* chore: update style

Co-authored-by: MadCcc <1075746765@qq.com>
2022-04-25 10:54:00 +08:00
黑雨
b0ad8b6d14
feat: fix menu site (#35127) 2022-04-20 17:38:13 +08:00
黑雨
87a5ddf0be
feat: cssinjs for menu (#34958)
* feat: cssinjs for menu

* feat: merge next

* feat: update for lint

* feat: update for test

* feat: update for style

* feat: update snap
2022-04-20 15:31:04 +08:00
afc163
fd2ebe57f7
style: improve Menu :focus-visible style (#34008)
* style: improve Menu :focus-visible style

ref #34005

* style: darken :focus-visible style
2022-02-11 13:06:06 +08:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +08:00
afc163
0c66aeee15
style: fix menu link color in collapsed tooltip (#32956)
close #32950
2021-11-20 18:41:57 +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
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error (#32063)
* chore: create additional entry

* fix: rm recv call

* chore: Add default.less as index.less

* chore: update entry

* fix: row should also translate

* chore: rename index-default to index and add index-pure instead

* fix: missing transfer customize styl
2021-09-07 16:14:20 +08:00
二货机器人
36bcaaef85
Add variable.less to support css variable (#31496)
* chore: use varaible.less

* chore: basic primary varaible

* chore: Move to variable

* chore: align active color

* chore: global fix of css variable

* chore: primary colors

* chore: button danger

* chore: btn default error color

* chore: button series

* chore: More examples

* chore: More components

* chore: Form demo

* chore: form style

* fix: Tag & Alert variable

* chore: update footer

* chore: rm tmp code

* chore: transfer

* fix: picker column active color

* chore: Adjust active bg color

* chore: table hover color

* chore: all css variables

* chore: Global using variables

* chore: Test case

* chore: Update test logic

* chore: back of default less

* chore: entry of site use proxy style

* chore: update entry

* chore: split of variables

* refactor: quick dist speed

* fix: site use variable version

* chore: Update less config

* chore: add mv script

* chore: Update repalcement script

* chore: Add inject variables

* chore: Update script

* fix: script path

* chore: Move to component instead

* chore: fix condition

* chore: update config

* chore: Update in less transform

* chore: Modify logic

* chore: change to variables

* chore: Update name

* fix: script name

* chore: do inject

* revert: back of path

* chore: 2 way of generate

* bump tools

* chore: Add auto replacement script

* chore: auto genrate less file

* chore: fix test

* test: More test case

* chore: Update limit config

* test: coverage

* docs: Update doc
2021-09-01 10:56:50 +08:00
Map1en_
c59580f215
feat: add the dashed props of menu divider (#31379)
close #31292
2021-07-19 15:42:07 +08:00
afc163
a047de206e
fix: Menu item color style transtion (#31189)
close https://github.com/ant-design/ant-design/issues/31069#issuecomment-866052544
2021-06-29 19:04:37 +08:00
二货机器人
cedf59c886
fix: Menu dark mode hover style (#30907) 2021-06-08 16:15:55 +08:00
二货机器人
c78a6b2270
chore: Adjust menu style (#30883) 2021-06-07 10:43:51 +08:00
二货机器人
b837ecd950
fix: Menu overflow with horizontal should not affect by float element (#30879)
* fix: Menu horizontal layout style

* test: Update snapshot

* fix: lint
2021-06-06 17:31:59 +08:00
二货机器人
feeebdc1e5
fix: Menu overflow measure style (#30672)
* fix: Menu overflow checker

* docs: Fix site style

* test: Update snapshot

* fix: dark menu hover style
2021-05-25 17:24:18 +08:00
afc163
414192436c
fix: Menu.SubMenu icon margin with other icon libs (#30642)
close #30605
2021-05-24 19:13:23 +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
Map1en_
a39e51a8c1
fix(layout-sider): menu-item width is wrong when collapsedWidth is set (#30357)
close #30355
2021-04-30 15:15:40 +08:00
Seba Kerckhof
67377f2735
fix(menu): Fix submenu padding inside an itemgroup (#30218)
* fix(menu): Fix submenu padding inside an itemgroup

* Use prefix variable

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2021-04-21 13:14:03 +08:00
二货机器人
1ca28baa5c
chore: Add light menu background color (#28842)
* chore: Add light menu background color

* fix lint

* rename
2021-01-15 17:29:33 +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
偏右
80c2f3ee3e
fix: Menu title hover transition bug in Chrome (#28372)
close #28361
2020-12-15 20:22:15 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
chore: merge feature into master
2020-11-30 16:17:12 +08:00
偏右
05a82f2d48
fix: Menu custom icon style (#27983)
* fix: Menu custom icon style

close #27973

* fix snapshot
2020-11-25 14:31:51 +08:00
Tom Xu
5b7811f2ee Merge branch 'feature' into merge 2020-11-12 15:24:00 +08:00
二货机器人
a987f7f3ed
chore: UPDATE menu version (#27663)
* chore: UPDATE menu version

* test: Fix part test

* test: Fix menu test case

* Update package.json

* fix: popup position style

* test: Fix test case

* style: fix ltr transition-origin

* fix: multiple dropdown

* fix: RTL menu arrow pos

* Update package.json

* force re-build

* force re-build
2020-11-11 19:05:01 +08:00
偏右
8a3e271386
style: revert menu animation easing functions (#27651) 2020-11-10 11:18:39 +08:00
偏右
0e6e185da2
Merge pull request #27644 from ant-design/master
chore: merge master into feature
2020-11-09 12:47:52 +08:00
二货机器人
6b01e2b2fb
fix: Menu bg style flickering (#27640)
* fix: Menu bg style

* fix lint
2020-11-09 10:13:06 +08:00
偏右
b9bf8c223e
fix: submenu icon style (#27625) 2020-11-08 15:29:37 +08:00