Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Nov 21, 2021
2 parents c5c2b12 + d228e23 commit a0bebab
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.23.4](https://github.com/haoziqaq/varlet/compare/v1.23.3...v1.23.4) (2021-11-21)


### Bug Fixes

* **ui/types:** add list.d.ts ([ab06a8f](https://github.com/haoziqaq/varlet/commit/ab06a8f219fcf5f4f929938f048a142a6c4b1715))





## [1.23.3](https://github.com/haoziqaq/varlet/compare/v1.23.2...v1.23.3) (2021-11-20)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"ignoreChanges": [
"**/*.md"
],
"version": "1.23.3"
"version": "1.23.4"
}
11 changes: 11 additions & 0 deletions packages/varlet-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.23.4](https://github.com/haoziqaq/varlet/compare/v1.23.3...v1.23.4) (2021-11-21)


### Bug Fixes

* **ui/types:** add list.d.ts ([ab06a8f](https://github.com/haoziqaq/varlet/commit/ab06a8f219fcf5f4f929938f048a142a6c4b1715))





## [1.23.3](https://github.com/haoziqaq/varlet/compare/v1.23.2...v1.23.3) (2021-11-20)


Expand Down
2 changes: 1 addition & 1 deletion packages/varlet-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@varlet/ui",
"version": "1.23.3",
"version": "1.23.4",
"description": "A material like components library",
"module": "es/index.js",
"main": "lib/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/varlet-ui/types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ declare module 'vue' {
VarIndexBar: typeof import('@varlet/ui')['_IndexBarComponent']
VarInput: typeof import('@varlet/ui')['_InputComponent']
VarLazy: typeof import('@varlet/ui')['_LazyComponent']
VarList: typeof import('@varlet/ui')['_ListComponent']
VarLoading: typeof import('@varlet/ui')['_LoadingComponent']
VarLocale: typeof import('@varlet/ui')['_LocaleComponent']
VarMenu: typeof import('@varlet/ui')['_MenuComponent']
Expand Down
1 change: 1 addition & 0 deletions packages/varlet-ui/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export * from './indexAnchor'
export * from './indexBar'
export * from './input'
export * from './lazy'
export * from './list'
export * from './loading'
export * from './locale'
export * from './menu'
Expand Down
21 changes: 21 additions & 0 deletions packages/varlet-ui/types/list.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { VarComponent } from './varComponent'

export interface ListProps {
loading?: boolean
immediateCheck?: boolean
finished?: boolean
error?: boolean
offset?: string | number
loadingText?: string
finishedText?: string
errorText?: string
onLoad?: () => void
'onUpdate:loading'?: (loading: boolean) => void
'onUpdate:error'?: (error: boolean) => void
}

export class List extends VarComponent {
$props: ListProps
}

export class _ListComponent extends List {}

0 comments on commit a0bebab

Please sign in to comment.