kiner-tang
a10f4c2ca3
docs: Optimize the operation experience of the demo modal ( #50943 )
2024-09-21 15:19:53 +08:00
章鱼怪
380cae80bc
feat(Image): add onActive
to toolbarRender
( #50812 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-11 23:32:37 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties ( #50109 )
...
* site: use CSS logical properties
* Update components/anchor/demo/targetOffset.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* chore: fix
* fix: add more
* fix: add more
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
xiaoluohao
8c39b644ec
demo: demo update for reduce global variable ( #49781 )
...
* reduce global variable dependencies
* Update toolbarRender.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-11 04:59:22 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +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
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +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
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
daisy
9f509d3be9
demo: adjust image toolbarRender ( #43496 )
2023-07-12 09:43:51 +08:00
栗嘉男
6d547cac34
Merge branch master into feature-merge-master
2023-07-07 23:28:35 +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
thinkasany
f566e3b24b
type: supplementary React.FC type ( #43410 )
...
* type: supplementary React.FC type
* fix: remove useless code
* revert: remove useStyle
* revert: card-top
* Update card-top.tsx
2023-07-06 23:54:03 +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
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
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
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +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 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.
* 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
二货机器人
437182b2e6
test: Update snapshot
2022-09-28 15:12:47 +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
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +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
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
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +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
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
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
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
...
* style: prettier code
* update
* Update index.less
2021-01-30 19:39:02 +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
二货机器人
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
骗你是小猫咪
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
xrk
39cf26f4fb
docs: update image demo ( #26962 )
2020-09-30 16:46:44 +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