Commit Graph

122 Commits

Author SHA1 Message Date
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
cde2103e48
refactor: image full token (#35449)
* refactor: image full token

* refactor: less component token
2022-05-10 10:16:46 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +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
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value (#35142) 2022-04-21 02:06:22 +08:00
afc163
968df7a0a8 fix: image style check 2022-04-20 11:48:38 +08:00
afc163
756f06c2fe chore: sync master into next branch 2022-04-20 11:30:55 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
PCCCCCCC
9038524376
style: fix the style of progress rendering at the top of component Image PreviewGroup (#35092)
* style: fix the style of progress rendering at the top of component Image PreviewGroup

* style: add debug-demo for top progress countRender
2022-04-19 17:07:57 +08:00
元凛
2154b453a9 docs: update docs version 2022-04-18 11:16:23 +08:00
github-actions[bot]
e3d8689643
chore: auto merge branchs (#35053)
chore: sync master into feature
2022-04-17 15:03:29 +00:00
github-actions[bot]
16fb0e88a3
chore: auto merge branchs (#35054)
chore: sync master into next
2022-04-17 15:03:21 +00:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
zombiej
c86e8fa0a2 chore: next merge feature 2022-04-15 15:54:13 +08:00
PCCCCCCC
7769ca1271
feat: Image PreviewGroup Support top progress rendering (#35038) 2022-04-14 23:45:16 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
MadCcc
101865cf7e
fix: statistic token (#34962)
* fix: statistic token

* fix: all components token

* test: fix lint

* chore: code clean

* Revert "chore: code clean"

This reverts commit 2c0e7d6ba3.
2022-04-11 16:04:00 +08:00
MadCcc
ab402c1976
refactor: Image migrate to genComponentStyleHook (#34933) 2022-04-08 18:05:50 +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
xrkffgg
bc143ca65c
refactor: avatar cssinjs (#34737)
* refactor: avatar cssinjs

* style: format

* fix: group
2022-03-29 13:56:19 +08:00
二货机器人
b967f9eb81
refactor: More alias token (#34658)
* chore: rm disabled color

* chore: color heading

* chore: shows tokn

* chore: fix color mapping

* chore: status colors

* chore: durations

* chore: outline color

* chore: comment info

* chore: background color

* chore: merge nexr
2022-03-22 20:02:04 +08:00
黑雨
950095971b
feat: cssinjs for image (#34630)
* feat: cssinjs for image

* feat: update for CI
2022-03-22 14:11:30 +08:00
黑雨
4374b2c283
feat: dialog,image add rootClassName api (#34574)
* feat: dialog add rootClassName api

* feat: rc-image add rootClassName api

* feat: update doc
2022-03-19 18:44:43 +08:00
MadCcc
f81e392d7e
docs: add controlled preview demo for Image (#33727)
* docs: add controlled preview demo for Image

* test: update snapshot

* test: fix lint error
2022-01-14 18:24:08 +08:00
zhenfan.yu
319d8f02ec
fix: Image 图片底部空白 #30825 (#33631) 2022-01-12 23:01:56 +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
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
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
drizzlesconsin
18cd401678
fix(image): small size hide preview text (#29900)
* fix(image): small size hide preview text

* fix: image preview text ellipsis

* fix: reset test
2021-09-08 09:27:53 +08:00
afc163
656146d1bc
docs: Add photo album mode example for Image.PreviewGroup (#31620)
* docs: add album mode for Image.PreviewGroup

close #31605

* update snapshot
2021-08-02 15:22:04 +08:00
叶枫
31ea9c3c1d
fix: image-test (#29410)
* fix: image-test

* chore: text
2021-02-22 16:03:04 +08:00
叶枫
19c8c426e5
fix: image prefix (#29394)
* fix: image

* fix: image group

* fix: image package

* chore: test
2021-02-20 22:24:44 +08:00
骗你是小猫咪
7344bbc7e5
docs: add Image onError doc (#29180) 2021-02-02 13:35:37 +08:00
陈帅
4ec23c50c9
Merge pull request #29159 from ant-design/feature
Feature
2021-02-01 18:57:51 +08:00
骗你是小猫咪
b1e910a5ec
chore: upgrade rc-image (#29153) 2021-02-01 15:37:01 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
二货机器人
f01066467e
feat: ConfigProvider support iconPrefixCls (#28924)
* add iconPrefixCls support

* test: Update test case

* update less variable
2021-01-19 17:33:05 +08:00
afc163
ea9c71a94e Merge branch 'feature' into master-to-merge-feature 2021-01-14 14:26:09 +08:00
hugorezende
93ef44945a
Fix import statement (#28819) 2021-01-12 09:59:05 +08:00
偏右
a0eb9d31de
chore: merge master into feature (#28751)
* fix: Transfer dataSource cannot be immutable (#28675)

close #28662

* docs: fix errors in example code (#28677)

* ci: expand ie check (#28673)

* ci: expand ie check

* Update issue-open-check.yml

* perf(📦): reduce @babel/runtime package size (#28678)

* perf(📦): reduce @babel/runtime package size

04cd73dea1

* chore(🆙): upgrade @ant-design/react-slick to esm support version

* upgrade @ant-design/tools

* ci: add open condition (#28682)

* fix(Slider): forcePopupAlign null when unmounted (#28699)

* docs: Update overview.zh-CN.md (#28703)

* docs: Update resources.en-US.md (#28701)

* chore: bump rc-select to 12.1.0 (#28715)

* fix: stylelint plugin (#28730)

* Update package.json

* perf(📦): upgrade rc-image to 5.x (#28727)

* refactor: upgrade rc-image to 5.x

reduce bundle size

* upgrade rc-image

* upgrade @ant-design/tools

https://github.com/ant-design/antd-tools/pull/226

* rc-image 5.0.0

* fix image preview icon missing

* refactor code

* docs: example of synchronous rc-tree (#28648)

* ci: fix outputs type

过程中的使用 string。奇怪啊,之前测试过的,今天点的时候发现不行了

* Update package.json

* fix: site overflow cause sticky invalid (#28741)

* fix: site overflow cause sticky invalid

* disable auto scroll

* chore: upgrade rc-dialog and rc-drawer (#28749)

* chore: upgrade rc-dialog and rc-drawer (#28687)

* chore: upgrade rc-dialog and rc-drawer

* upgrade rc-util

* update snapshots

* upgrade rc-util

* upgrade rc-util

* update snapshots

* upgrade rc-dialog

* perf: remove duplicated rc-dialog

Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>

Co-authored-by: bigbigbo <zxb141242@163.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Yann Pringault <yann.pringault@gmail.com>
Co-authored-by: godfather <greenday.wj@foxmail.com>
Co-authored-by: Mateusz Wierzbicki <22788841+mateusz-wierzbicki@users.noreply.github.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: AkiJoey <akijoey1010635951@gmail.com>
Co-authored-by: qqabcv520 <605655316@qq.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2021-01-08 10:14:01 +08:00
偏右
de1364ab09
perf(📦): upgrade rc-image to 5.x (#28727)
* refactor: upgrade rc-image to 5.x

reduce bundle size

* upgrade rc-image

* upgrade @ant-design/tools

https://github.com/ant-design/antd-tools/pull/226

* rc-image 5.0.0

* fix image preview icon missing

* refactor code
2021-01-06 22:23:49 +08:00
二货机器人
d8c617d7c3
feat: Image support preview.maskClassName (#28681)
* feat: support maskClassName

* test: Add snapshot

* docs: Update doc
2021-01-04 20:39:20 +08:00
骗你是小猫咪
9689e3e8eb
feat: Image support preview src (#28643)
* feat: Image support preview src

* add demo

* add en doc
2021-01-03 19:45:14 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +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
MoeCasts
8e79dc6057
fix: image 5px problem by set it display:block (#28439)
https://github.com/ant-design/ant-design/discussions/28434#discussioncomment-226935
2020-12-21 10:52:44 +08:00
二货机器人
fe53bc6a3b
Merge pull request #28294 from ant-design/master
chore: Feature merge master
2020-12-10 15:09:36 +08:00
liuchao233
a8fbd224f7
fix: Image.PreviewGroup typescript definition (#28263) 2020-12-10 08:17:29 +08:00
Kirill Barsukov
4fa4f4c49f
docs: Fixed typo in preview property (#28242)
There was a simple typo
2020-12-08 08:57:57 +08:00
二货机器人
9cd4fab604
feat: Image add preview style (#28235)
* feat: Add preview mask

* feat: Preview support locale

* test: Update snapshot

* fix lint

* fix lint
2020-12-07 17:08:48 +08:00
stygian-desolator
a45b8248cf
docs: set image preview false in placeholder demo (#28140) 2020-12-02 13:24:36 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
chore: merge feature into master
2020-11-30 16:17:12 +08:00
骗你是小猫咪
18c6d6fedb
feat: Image add PreviewGroup component to support multiple images preview (#28069)
* feat: Image add PreviewGroup component to support multiple images preview

* demo and PreviewGroup type

* add demo snapshot
2020-11-30 15:54:54 +08:00
xrkffgg
9db881ce91
refactor: improve mixins modal-mask (#27998) 2020-11-25 19:19:43 +08:00
Dave
4aa06ca28b
feat(type): export ImageProps interface (#27846) 2020-11-18 13:48:30 +08:00
Tom Xu
5e1665d028
docs: image fear add version (#27291) 2020-10-22 11:25:25 +08:00
Tom Xu
1f1956ccd9 Merge branch 'feature' into merge-into-feature 2020-10-21 14:31:16 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
Richard Freling
7d59890c5c
feat: 🖼 Image support preview.getContainer (#26713) 2020-10-15 22:56:32 +08:00
Tom Xu
1f0d074caa
refactor(image): improve code (#27087) 2020-10-12 10:59:09 +08:00
偏右
5db8813c64
docs: Update Image index.zh-CN.md (#27073) 2020-10-10 15:28:24 +08:00
偏右
2d676fb528
docs: update Image API (#27071)
* Update index.en-US.md

* Update index.zh-CN.md
2020-10-10 15:26:05 +08:00
xrk
1a594a467e
chore: merge master into feature (#26998) 2020-10-03 12:18:19 +08:00
xrk
39cf26f4fb
docs: update image demo (#26962) 2020-09-30 16:46:44 +08:00
骗你是小猫咪
20f04e428f
docs: add Image Preview doc (#26915) 2020-09-28 14:15:23 +08:00
afc163
e9d3ee6928 test: fix image test snapshot 2020-09-07 15:56:54 +08:00
Arvin Xu
948ba88629
docs: update image cover (#26431)
* docs: update image cover

* docs: update image cover
2020-08-27 17:02:02 +08:00
骗你是小猫咪
e3ee4e87aa
feat: 🎉 Image component (#26296)
* feat: 🎉 Image component

* fix color

* fix style naming and sort api doc order

* remove onPreviewClose doc

* use animation-duration var

* use box and modal-mask mixins

* use box and modal-mask mixins

* improve style

* improve fallback demo src

* add cover

* improve demo

* update demo snapshots

* upgrade rc-image, naming Random -> Reload

* extract modal mask common style, and improve demo

* update snapshots

* fix less var conflict

* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
2020-08-22 22:02:20 +08:00