Skip to content

Commit

Permalink
Fixes boundary issues with next/previous logic
Browse files Browse the repository at this point in the history
  • Loading branch information
syropian committed Mar 4, 2024
1 parent d869ebf commit 26b41bd
Show file tree
Hide file tree
Showing 6 changed files with 470 additions and 444 deletions.
2 changes: 1 addition & 1 deletion example/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ type Item = {
const TOTAL_ITEMS = 10
const items = ref(
Array.from({ length: TOTAL_ITEMS }, (_, i) => ({ value: 0 + i }))
Array.from({ length: TOTAL_ITEMS }, (_, i) => ({ value: i }))
) as Ref<Item[]>
const selectedItems = ref<Item[]>([])
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"dev": "vite",
"build": "tsc ./src/index.ts --target es2017 --noEmit && vite build",
"build:demo": "vite build --mode demo",
"build:demo": "NODE_ENV=demo vite build",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint --ext .ts --ignore-path .gitignore ./src ./test ./example --fix",
Expand All @@ -28,14 +28,14 @@
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@vitejs/plugin-vue": "^4.2.3",
"autoprefixer": "^10.4.12",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"autoprefixer": "^10.4.14",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"postcss": "^8.4.18",
"postcss": "^8.4.24",
"prettier": "^2.8.8",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3",
Expand Down
Loading

0 comments on commit 26b41bd

Please sign in to comment.