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 |
|
Zhong
|
58a5852d2d
|
refactor(components): improve component boolean type (#21260)
|
2025-07-06 14:56:17 +02: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 |
|
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 |
|
chenweiyi
|
3eb734ccc4
|
feat(components): [skeleton] throttle supports values as object (#17041)
* fix(components): [skeleton] `throttle` property not working
* fix: lint fix
* feat: add func & doc & test
* feat: remove test modify
* feat: increase document examples, improve document descriptions
* fix(components): [skeleton] `throttle` property not working
* fix: lint fix
* feat: add func & doc & test
* feat: remove test modify
* feat: increase document examples, improve document descriptions
* feat: 重构`useThrottleRender`钩子以提高代码可读性和效率
- 简化了对`throttle`参数的判断逻辑,通过`isNumber`函数判断是否为数字
- 将`leadingDispatch`和`trailingDispatch`函数合并为`dispatcher`函数,根据传入的类型判断执行逻辑
- 优化了`watch`回调函数,使用`dispatcher`函数替代重复的判断逻辑
* feat: 写法优化
* feat: 引入`isObject`函数替代原有的`typeof throttle === 'object'`判断方式
* feat: 优化骨架屏文档结构和示例
* feat: 完善文字描述和修改对应的文件名
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* feat: Optimize code writing
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/skeleton.md
* feat: modify doc
* feat: md
* feat: 补充 useThrottleRender 钩子的测试用例
* feat: 将 SkeletonThrottle 类型移动到hook中, 重命名为 ThrottleType 以提高通用性
---------
Co-authored-by: btea <2356281422@qq.com>
|
2024-11-07 21:31:16 +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 |
|
wzc520pyfm
|
1749e842bf
|
docs(components): [skeleton] use new display tag (#12667)
|
2023-05-01 15:10:21 +09:00 |
|
LIUCHAO
|
04c9ee0523
|
refactor(components): [skeleton] use JSX in Unit test (#8265)
|
2022-06-15 01:31:56 +08:00 |
|
三咲智子
|
1d13ebb05d
|
feat: drop jest (#7248)
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
|
2022-04-19 16:51:44 +08:00 |
|
三咲智子
|
184facdb4c
|
chore: add eslint rule sort imports (#6823)
|
2022-03-25 15:35:56 +08:00 |
|
blackie
|
468d4ba162
|
refactor(components): [skeleton] switch to script-setup syntax (#6395)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
|
2022-03-13 20:53:05 +08:00 |
|
三咲智子
|
b8c38a9fe5
|
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules
* chore: enhance eslint rules
|
2022-03-08 14:03:32 +08:00 |
|
三咲智子
|
6503e55277
|
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils): remove
* refactor(utils): rename
* refactor(utils): move EVENT_CODE to constants
* refactor: remove generic
|
2022-02-11 11:03:15 +08:00 |
|
三咲智子
|
c1e5d724d8
|
refactor(utils-v2): refactor utils (#5699)
|
2022-02-09 16:59:08 +08:00 |
|
bqy
|
4501b6dd66
|
refactor(components): [skeleton,skeleton-item] use useNamespace (#5739)
|
2022-01-31 23:41:56 +08:00 |
|
C.Y.Kun
|
6363cf03bc
|
refactor(components): refactor skeleton/skeleton-item (#4264)
|
2021-11-14 22:55:50 +08:00 |
|
jeremywu
|
3138dea797
|
fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
|
2021-09-24 19:11:56 +08:00 |
|
三咲智子
|
55348b30b6
|
style: use prettier (#3228)
* style: use prettier
* style: just prettier format, no code changes
* style: eslint fix
object-shorthand, prefer-const
* style: fix no-void
* style: no-console
|
2021-09-04 19:29:28 +08:00 |
|
jeremywu
|
b0f4fc5f23
|
refactor: update package path and bundle folder (#3016)
|
2021-08-24 13:36:48 +08:00 |
|