Skip to content

Commit

Permalink
v1.0.1 (#40)
Browse files Browse the repository at this point in the history
* Release 1.0.1

* Add changelog
  • Loading branch information
kadiryazici authored Jun 4, 2023
1 parent c3b189c commit 510604c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.0.0
- Type fix, now items array accepts null, undefined or boolean for conditional items.


<br>

# 1.0.0
### Features
- Now `items` prop supports nested array of items like Vue/React render function, nested arrays are converted to `vNode[]` in render phase.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-selectable-items",
"version": "1.0.0",
"version": "1.0.1",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export type ItemRenderList<T = any> = (
| ItemRenderList<T>
| null
| undefined
| boolean
)[];

type GetComponentOrElementProps<C> = C extends string
Expand Down

0 comments on commit 510604c

Please sign in to comment.