Commit Graph

41 Commits

Author SHA1 Message Date
章鱼怪
380cae80bc
feat(Image): add onActive to toolbarRender (#50812)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-11 23:32:37 +08:00
Wanpan
b0bc32c962
docs: Image docs imginfo update (#49517) 2024-06-20 11:32:11 +08:00
kiner-tang
7a2f5f6f1b
feat(Image): support reset action in toolbarRender (#48936)
* feat: support reset action in toolbarRender

* feat: support reset action in toolbarRender

* Update components/image/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: kiner-tang <1127031143@qq.com>

* Update components/image/index.en-US.md

Signed-off-by: kiner-tang <1127031143@qq.com>

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-16 15:33:22 +08:00
lijianan
00c770537b
Merge pull request #48828 from ant-design/master
chore: sync master into feature
2024-05-08 21:20:07 +08:00
Wanpan
e2d7e689e5
docs: image component adding destroyOnClose (#48827)
* docs: image component adding destroyOnClose

* docs: update demo
2024-05-08 19:05:50 +08:00
希亚的西红柿
c54b9cd892
feat: get image info in the render function of Image component. (#48729)
* feat: add imgInfo for render function

* fix: remove useless code

* fix: revert demo

* chore: bump rc-image verison from 7.6.0 to 7.7.0

* test: update snapshot

* fix: update snapshot

* docs: update version

* docs: update
2024-05-04 18:04:15 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
kiner-tang(文辉)
953fe6fa7e
fix: Fix image group preview z index in nested modal (#46035)
* fix: Fixed Image.PreviewGroup preview in a nested modal where z-index Settings did not meet expectations

* fix: Fixed Image.PreviewGroup preview in a nested modal where z-index Settings did not meet expectations

* fix: Fixed Image.PreviewGroup preview in a nested modal where z-index Settings did not meet expectations

* test: update test case

* test: update test case

* bump: rc-menu@7.5.1

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-11-24 16:17:52 +08:00
Parsa Arvaneh
f693a6873a
fix(Image): using chinese language in image components API's table (#45673) 2023-11-05 10:30:29 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
daisy
cfdc4463ba
docs(Image): fix render originalNode ts (#44125) 2023-08-09 11:52:35 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
daisy
fe0afd3795
feat(Image): support movable (#43823) 2023-07-26 16:28:49 +08:00
daisy
1ef07e97ba
feat(Image): modify layout and support closeIcon、PreviewGroup fallback (#43167)
* feat(Image): modify layout and support closeIcon、PreviewGroup fallback

* docs: modify text

* style: add skip right

* chore: update snapshot

* fix: disabled hover

* fix: lint error

* style: close icon transition

* docs: # link

* demo: update demo

* demo: add comment

* demo: remove comment
2023-07-07 09:54:19 +08:00
daisy
ab0103f33a
feat(Image): imageRender、toolbarRender、onTransform、items、minScale、max… (#43075)
* feat(Image): imageRender、toolbarRender、onTransform、items、minScale、maxScale

* test: update snapshots

* demo: revokeObjectURL url

* docs: update

* docs: update

* docs: update

* fix: revert style

* docs: update md
2023-06-21 19:58:28 +08:00
kiner-tang(文辉)
fe9121ebb9
docs: update docs about getContainer (#42885) 2023-06-07 13:49:31 +08:00
GUAN MING
32cca6e5a8
feat: migrate less to token for Image (#42048)
* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: update migrate-less-variables.zh-CN.md

* docs: fix error

* docs: fix typo

* docs: remove Chinese in English docs

* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: remove Chinese in English docs

* docs: fix typo

* docs: fix docs error

* feat: add demo

* docs: Update docs/react/migrate-less-variables.zh-CN.md

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

* fix: remove token

* docs: Update docs/react/migrate-less-variables.en-US.md

* fix: correct token name

* fix: demo token name

* docs: update global token in docs

* docs: update

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 15:48:18 +08:00
黑雨
cef58664e8
📝doc: add design token table (#41717)
* feat: add token

* 📝doc: update lint

* 📝doc: update doc
2023-04-11 10:25:24 +08:00
JiaQi
8b07ec33b7
feat(image): Preview support rootClassName (#41265) 2023-03-16 09:53:57 +08:00
kiner-tang(文辉)
42e2b73cdf
feat(image): Image.PreviewGroup support preview.onChange callback (#40857)
* feat: imageGroup support onChange callback

* feat: reset code
2023-02-21 21:21:51 +08:00
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
MadCcc
e7edfa42d7
docs: update overview img (#38946)
* docs: update overview img

* chore: code clean

* chore: code clean

* chore: update

* chore: code clean
2022-11-30 20:14:41 +08:00
afc163
e027cbec1c
docs: format all markdown (#38629)
* chore: add prettier-ignore in markdown demo

* docs: format markdown api table

* docs: format markdown api table
2022-11-17 17:31:26 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
Haniel Cui
1e2946ac3e
feat: bump rc-image version, Image add preview.scaleStep prop (#37340)
* feat: bump rc-image version, Image add preview.scaleStep prop

* test(image): update test demos

* fix(image): fix image demo lint error
2022-09-24 19:51:26 +08:00
元凛
2154b453a9 docs: update docs version 2022-04-18 11:16:23 +08:00
PCCCCCCC
7769ca1271
feat: Image PreviewGroup Support top progress rendering (#35038) 2022-04-14 23:45:16 +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
骗你是小猫咪
7344bbc7e5
docs: add Image onError doc (#29180) 2021-02-02 13:35:37 +08:00
骗你是小猫咪
b1e910a5ec
chore: upgrade rc-image (#29153) 2021-02-01 15:37:01 +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
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
偏右
2d676fb528
docs: update Image API (#27071)
* Update index.en-US.md

* Update index.zh-CN.md
2020-10-10 15:26:05 +08:00
骗你是小猫咪
20f04e428f
docs: add Image Preview doc (#26915) 2020-09-28 14:15:23 +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