07akioni
42cd66463a
feat(image): add placeholder slot
2022-06-20 00:39:41 +08:00
07akioni
cd80bcffb7
fix(image): lazy load
2022-06-20 00:10:27 +08:00
07akioni
32cf3bee4b
fix(image): cleanup unobserve
2022-06-19 20:08:42 +08:00
07akioni
226a8d9ea8
refactor(image): lazy load
2022-06-19 19:51:20 +08:00
doom-9
60a2d7ae35
feat(image): add lazy prop ( #3096 )
...
* feat:n-input Support hidden password
* feat(form): support require-mark-placement(#171 )
* Revert "feat(form): support require-mark-placement(#171 )"
This reverts commit 06277776933ed4e68b32d2651014458aca2e50f6.
* Revert "feat:n-input Support hidden password"
This reverts commit ea6491783dcc79e610534632a05b2894ded97494.
* test(dialog): Update dialog component test (#1404 )
* test(data-table): update test (#1411 )
* fix
* 图片懒加载
* 添加debug
* 完善
* 添加demo文件
* changelog
* 更新DOM后才开始执行
Co-authored-by: songjianet <1778651752@qq.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-06-19 15:02:35 +08:00
07akioni
5a9020822e
docs(image): move resiz e to debug
2022-06-05 22:23:18 +08:00
07akioni
cbe4c8946a
feat(image): optimize zoom effect of ultra large image
2022-06-05 22:18:48 +08:00
doom-9
42d3d0db5a
feat(image): add switch to show original size ( #3037 )
...
* 点击方法
* 添加示例
* 添加图标
* changelog
2022-06-05 17:12:46 +08:00
07akioni
16c9560ff7
refactor(image): rename group id dom attr
2022-05-31 02:24:50 +08:00
XieZongChen
1eba36b5ae
fix(image-group): switch pictures doesn't work in SSR mode ( #3033 )
...
* fix(image): switch pictures doesn't work in SSR mode
* fix: resolve warn
2022-05-31 02:21:11 +08:00
kahn
3303710afc
fix: keyboard events ( #3013 )
...
* change: use e.key in favor of e.code
* add changelogs
Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-05-27 02:51:40 +08:00
07akioni
c84c654322
refactor: remove default from cssr transition
2022-05-18 01:58:12 +08:00
07akioni
2f4b5522b3
docs: fix header case
2022-03-02 02:22:01 +08:00
07akioni
39eaeb7684
feat: inlineThemeDisabled
2022-02-27 19:26:37 +08:00
songjianet
ab0e07311a
docs(image): md to vue. ( #2445 )
2022-02-18 11:50:27 +08:00
07akioni
c753414573
refactor: component cssr id
2022-02-02 01:25:19 +08:00
07akioni
ad2fe09177
refactor: add prefix for injection key name to avoid potential conflict
2022-01-23 03:05:26 +08:00
Julian Hundeloh
8ad8c28158
refactor: use new createInjectionKey function ( #2203 )
...
Co-authored-by: Julian Hundeloh <julian@hundeloh-consulting.ch>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2022-01-23 02:55:27 +08:00
07akioni
1ff9c19ba1
refactor: remove all renderSlot, use raw slot
2022-01-22 22:22:16 +08:00
07akioni
dd30b3e093
chore: fix typo
2022-01-22 17:55:09 +08:00
07akioni
6a9e55e7e2
fix(image): preview popup background can still be scrolled, closes #2241
2022-01-22 17:54:22 +08:00
07akioni
a866e75bfb
2.24.0
2022-01-12 05:05:57 +08:00
07akioni
8d93367b1c
feat(image): customizabe theme & tooltip, closes #1531
2022-01-09 00:00:40 +08:00
07akioni
1ffe170817
fix: type error
2022-01-05 01:48:00 +08:00
07akioni
9bb0728f7a
fix(image): can't exit preview after esc is pressed when there's only 1 image, closes #2042
2021-12-28 01:51:05 +08:00
ahwgs
633648a98c
feat(image): uses n as CSS vars prefix ( #1994 )
2021-12-23 17:51:54 +08:00
07akioni
e429c8bf0d
Merge pull request #1847 from TuSimple/docs
...
Docs
2021-12-15 05:06:42 +08:00
07akioni
0845ddb085
fix(image): lacks scoped style's scope-id, closes #1788
2021-12-13 01:59:54 +08:00
SaKura丶
cbb68db549
docs(image): fix default value of object-fit ( #1821 )
2021-12-12 16:21:40 +08:00
07akioni
9ec76e449b
fix(image): pointer style when showError is true
2021-12-03 05:18:15 +08:00
07akioni
e371fa8819
test(image): fix
2021-12-03 03:48:35 +08:00
07akioni
e5f54e7d03
refactor(image): fallback-src
2021-12-03 03:46:31 +08:00
居里栈栈
3884845c35
feat(image): add can-preview & on-load prop and add loading & errorbox slot ( #1714 )
...
* feat(n-input):add select methods, closes #1328
* Feat(image):add canPreview,onLoad,loading,errorbox
* del(image) show errorBox tests
* feat(switch):add activeColor`&inactiveColor&activeButtonColor&inactiveButtonColor
Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com>
2021-12-03 01:46:00 +08:00
Mr.Bai
dbd70db224
fix(image): drag the picture to move the position incorrectly when the zoom is large ( #1544 )
...
* fix(image): preview drag move bug when scale
* update changelog
* remove unused code
* fix(image): drag move
* update change log
Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-11-22 23:53:18 +08:00
Kigoal
3ed68e16cb
fix(upload): file's thumbnailUrl
not working ( #1492 )
...
* feat(upload): add `createThumbnailUrl` parameter `fileInfo`
* feat(upload): add `thumbnailUrl`
* feat(upload): add `thumbnailUrl`
* chore(upload): rollback `createThumbnailUrl` feature
* test(image): add `previewSrc` test case
2021-11-05 02:16:18 +08:00
07akioni
ec1662a515
refactor(tree): clean codes
2021-11-01 00:59:09 +08:00
Yugang Cao
9a922c6a13
feat(image): toolbar add close icon ( #1418 )
...
* feat(image): toolbar add close icon
* fix: replace closeIcon
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-11-01 00:23:46 +08:00
Kigoal
94f69ed9ca
feat(image): esc keyboard support & dblclick event ( #1247 )
...
* feat(image):support `Escape` shortcut key
* feat(image):modify `n-image-preview-container` css `position` to `fixed`
* feat(image):support `Escape` shortcut key
* feat(image):support `double-click` zoom in and out
* feat(image):support `double-click` zoom in and out
* feat(image):support `double-click` zoom in and out
2021-10-10 00:08:10 +08:00
07akioni
5c162768dd
docs: add API section for each components
2021-10-06 23:37:20 +08:00
07akioni
8d3d98102e
fix: components with popover throws error in SSR
2021-09-25 19:35:17 +08:00
kalykun
167ed0a87c
test(gradient-test & image): Increase test coverage ( #1097 )
...
* test(gradient-test & image): Increase test coverage
* Update Image.spec.tsx
2021-09-06 23:08:16 +08:00
07akioni
fc1fdba064
refactor(upload): make list-type work ( #1016 )
...
* refactor(upload): picture type, wip
* refactor(upload): make list-type work
* fix(upload): remove useless prop
* chore(upload): clean code
2021-09-05 11:39:15 +08:00
Kev1nzh
da1646570d
feat(upload): add list type ( #785 )
...
* feat(upload): add `list-type`, `show-preview-button`, `on-preview` and `preview-file` props, thumbail style and some tests (#393 )
* docs(upload): add thumbail api (#393 )
* docs(upload): add CHANGELOG (#393 )
* docs(upload): add fix CHANGELOG (#393 )
* fix(upload): fix husky file
* Update .husky/pre-commit
* Update src/upload/demos/enUS/picture-style.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/upload/demos/zhCN/index.demo-entry.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/upload/src/Upload.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/upload/src/styles/index.cssr.ts
Co-authored-by: 07akioni <07akioni2@gmail.com>
* feat(upload): update variable name and fix style (#393 )
* docs(upload): add preview-file prop api and fix CHANGELOG (#393 )
* feat(upload): fix component attribute (#393 )
* feat(upload): change create thumnail url and fix bug
* feat(upload): change code location (#393 )
* docs(upload): change demo and CHANGELOG (#393 )
* feat(upload): fix husky(#393 )
* Update src/upload/src/UploadFile.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/upload/demos/zhCN/picture-card-style.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/upload/demos/zhCN/picture-style.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* feat(upload): fix preview animation error, preview ref and picture style (#393 )
* feat(upload): add image group to the file list (#393 )
Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-31 01:12:38 +08:00
07akioni
ede52ec472
chore(dynamic-tags, image): clean codes
2021-08-26 01:00:39 +08:00
doom-9
673a593eee
feat(image): add preview prop ( #939 )
2021-08-25 23:33:45 +08:00
Kev1nzh
4d6f28eba7
fix(image): Initialize rotate before switching, closes #921 ( #928 )
...
Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
2021-08-21 00:17:48 +08:00
Yugang Cao
00b63d83b0
docs(image): update image enus docs ( #714 )
2021-07-28 23:21:12 +08:00
07akioni
171381ab84
Merge pull request #523 from TuSimple/docs
...
Docs
2021-07-16 01:37:40 +08:00
caoyugang_1
95270c3f98
feat(image, avatar): add onError and objectFit props ( #485 )
...
* feat: add onError and object-fit
* fix: change objectFit to fill
* fix: onError add event and objectFit set default value
* fix: change some error
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-14 23:46:47 +08:00
caoyugang_1
f257206578
docs: add avatar and image docs ( #488 )
...
* docs: add avatar and image docs
* fix: change onError params event
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-07-13 23:20:02 +08:00