Commit Graph

17 Commits

Author SHA1 Message Date
SuQingyao
5b1bde20fe feat(components): [watermark] add fontGap prop (#22342)
* feat(components): [watermark] add fontGap property

* docs(components): [watermark] add fontGap option

* docs(components): [watermark] add version annotation to fontGap property
2025-09-29 14:25:07 +08:00
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
Zhong
2d089b19d1 fix(components): [watermark] resolve text clipping caused by textAlign (#21639)
* fix(components): [watermark] resolve text clipping caused by textAlign

* refactor(components): [watermark] update based on review feeddback

* fix: update
2025-08-06 17:55:33 +08:00
Zhong
bc9a95d9ba chore(components): fix typos (#21473) 2025-07-23 07:09:15 +08:00
yuhengshen
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
betavs
959030c463 fix(components): [watermark] content not fully displayed (#20348) 2025-04-05 19:51:08 +08:00
dopamine
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb81.

* Revert "chore: add explicit type annoation (#19352)"

* fix(typescript): borken import paths in declaration files

* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
jiaxiang
10fcc59ed4 refactor: replace Array.isArray with the built-in isArray (#18671)
chore(components): [descriptions] isArray replace Array.isArray
2024-10-28 15:36:44 +08:00
dopamine
79938178dd build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
sea
14fa38a778 refactor(components): [watermark] change textBaseline default value to hanging (#17036)
refactor: [watermark] change textBaseline default to hanging
2024-06-03 21:29:12 +08:00
btea
d0eb6c3d1a feat: support node 18+ & update tsx and vitest (#16190)
* feat: support node 18+ & update tsx and vitest

* chore: update

* chore: remove

* fix: update dep

* test: fix autocomplete

* test: update

* test: update

* chore: update

* chore: update

* chore: update
2024-04-11 17:48:34 +08:00
Travis
0ee51e0708 fix(components): [watermark] Support for lower versions of Firefox (#14993)
* fix(components): [watermark] Support for lower versions of Firefox

fontBoundingBoxAscent属性在firefox V116版本才支持,在低版本firefox中,采用 actualBoundingBoxAscent 进行向下兼容,可以支持到
firefox V74

* chore(components): [watermark] add a line of comments for the processing

* perf(components): [watermark] change "!=" to "!=="
2023-12-04 19:40:32 +08:00
Fuphoenixes
6594757abf fix(components): [watermark] mutationObserver should work (#14822)
fix(components): mutationObserver should work

closed #14819

Co-authored-by: phoenizhao <phoenizhao@tencent.com>
2023-12-04 14:00:37 +08:00
Icey Wu
3b27db428b feat(components): [watermark] add font textAlign and textBaseline (#14567) 2023-10-29 11:42:58 +08:00
qiang
730ffa35e9 fix(components): [watermark] missing the CSS file (#14564)
closed #14560
2023-10-18 11:43:41 +08:00
刘臻
7916200ba4 feat(components): watermark component (#14236)
* feat(components): watermark component

be able to set text,multi-text,image as watermark

* docs(components): update image watermark example

update the image for dark mode
2023-10-10 17:42:22 +08:00