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
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 db0116a288299c507e3cfc4d7a22e2207265d920.
* Revert "chore: fix"
This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
7240a0b72d
fix(components): [empty] remove static ID attributes from SVG ( #19764 )
...
The default empty state SVG had some static ID attributes in them. They prevented the component to be used more than once on a page (IDs need to be unique in a document).
This commit just deletes the IDs. They do not get used anyway.
2025-03-19 08:43:43 +08:00
7be4a3765e
chore: emits smaller declaration files ( #20109 )
...
* Revert "fix(types): packing unexpected types (#19419 )"
This reverts commit 13506ffb814d2b1300bf57c06648b6b27281c7c5.
* 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
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
fb1117afe1
docs(components): [empty] use new display tag ( #12662 )
2023-04-29 21:09:32 +08:00
87137f2391
refactor(components): [empty] ( #11494 )
2023-02-11 20:11:22 +09:00
93f56832a3
refactor(components): [empty] use JSX in Unit test ( #8245 )
2022-06-14 18:02:21 +08:00
3d1b3d4a58
refactor(theme-chalk): scss css var namespace ( #7344 )
...
* refactor(theme-chalk): scss css var namespace
* fix(theme-chalk): compile getCssVar
* fix(theme-chalk): more --el namespace replace & getCssVarWithDefault
* fix(theme-chalk): use cssVarBlockName & cssVar rewrite button css vars
* fix(theme-chalk): replace empty svg fill color with ns
* chore: use cssVarName for --el-color-white
* chore: fix namespace reactive
* chore: use defaultNamespace
2022-04-26 17:19:09 +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
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
56bbb81f2e
fix: empty svg when dark ( #7203 )
2022-04-17 23:55:02 +08:00
9e083ff79d
fix: tag bg color & other dark details ( #7138 )
...
* fix: tag bg color & other dark details
* chore: use 0 instead of 0px
2022-04-13 14:40:01 +08:00
7218ee19a7
refactor(components): [empty] refactor ( #6703 )
2022-03-22 17:48:58 +08:00
5d85fba20c
chore: self closing vue tag ( #6603 )
2022-03-13 16:16:11 -04: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
5ee184fdfd
feat(theme-chalk): css var for empty & rate ( #5359 )
...
* 更新var.scss,提取empty的fill-color
将fill的color提取出来,作为变量,方便后续修改,修改如下:
'fill-color-0': var(--el-color-white),
'fill-color-1': #FCFCFD,
'fill-color-2': #F8F9FB,
'fill-color-3': #F7F8FC,
'fill-color-4': #EEEFF3,
'fill-color-5': #EDEEF2,
'fill-color-6': #E9EBEF,
'fill-color-7': #E5E7E9,
'fill-color-8': #E0E3E9,
'fill-color-9': #D5D7DE,
* 修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改
修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改
* 修改rate下的配色提取到变量里
修改rate下的配色提取到变量里,提取如下:
'void-color': #c6d1de,
'rate-color': #F7BA2A,
* 提取rate的色彩作为变量
提取rate的色彩作为变量
* 修改rate的色彩变量
修改和提取rate变量为:
'void-color': #c6d1de,
'star-color': #F7BA2A,
'disable-void-color': #EFF2F7,
'text-color': #1f2d3d,
* replace space to enter
替換空格为回车
* lint change
lint change
* Missing Pretty error
color 颜色小写
* Add CustomStyles infomation
Add CustomStyles infomation
* Change CustomStyles
Change CustomStyles
* Add CustomStyles
Add CustomStyles
* Change rate to empty
Change rate to empty
* Modify CustomStyles after Bottom content
Modify CustomStyles after Bottom content
* Change Custom styles
Change Custom styles
* feat: format rate.md
2022-01-26 02:10:19 +08:00
6107740866
refactor(components): [empty] add namespace & instance type ( #5446 )
2022-01-18 14:38:14 +08:00
bbd16a08e9
refactor(hooks): refactor hooks ( #4253 )
...
* refactor(hooks): remove use-css-var
* refactor(hooks): remove use-events
* refactor(hooks): remove use-migrating
* refactor(hooks): remove use-transition
* refactor(hooks): named export useAttrs
* refactor(hooks): named export useFocus
* refactor(hooks): refactor useFormItem
* refactor(hooks): refactor useGlobalConfig
* refactor(hooks): refactor useLocale
* refactor(hooks): refactor useLockscreen
* refactor(hooks): refactor useModal
* refactor(hooks): refactor useModelToggle
* refactor(hooks): refactor usePreventGlobal
* refactor(hooks): refactor useRestoreActive
* refactor(hooks): refactor useTeleport
* refactor(hooks): refactor useThrottleRender
* refactor(hooks): refactor useTimeout
* refactor(hooks): refactor useTransitionFallthrogh
2021-11-29 15:58:44 +08:00
426a1814d0
refactor(components): refactor empty ( #3522 )
...
* refactor(components): refactor empty
* fix: tests
2021-09-22 01:41:44 +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
b0f4fc5f23
refactor: update package path and bundle folder ( #3016 )
2021-08-24 13:36:48 +08:00