Skip to content

Commit

Permalink
Update readme.md (#283)
Browse files Browse the repository at this point in the history
* Update readme.md

* Add correct routes

* update deps

---------

Co-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>
  • Loading branch information
derschiw and janosh committed Feb 26, 2024
1 parent 966bd4e commit 0f85b67
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repos:
exclude: changelog\.md

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.0.0-beta.0
rev: v9.0.0-beta.1
hooks:
- id: eslint
types: [file]
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,38 +23,38 @@
"update-coverage": "vitest tests/unit --run --coverage && npx istanbul-badges-readme"
},
"dependencies": {
"svelte": "4.2.8"
"svelte": "4.2.12"
},
"devDependencies": {
"@iconify/svelte": "^3.1.6",
"@playwright/test": "^1.40.1",
"@playwright/test": "^1.41.2",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.3.2",
"@sveltejs/package": "2.2.5",
"@sveltejs/vite-plugin-svelte": "3.0.1",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vitest/coverage-v8": "^1.2.0",
"eslint": "^8.56.0",
"@sveltejs/kit": "^2.5.2",
"@sveltejs/package": "2.2.7",
"@sveltejs/vite-plugin-svelte": "3.0.2",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitest/coverage-v8": "^1.3.1",
"eslint": "^8.57.0",
"eslint-plugin-svelte": "^2.35.1",
"hastscript": "^8.0.0",
"hastscript": "^9.0.0",
"highlight.js": "^11.9.0",
"jsdom": "^23.2.0",
"jsdom": "^24.0.0",
"mdsvex": "^0.11.0",
"mdsvexamples": "^0.4.1",
"prettier": "^3.2.1",
"prettier-plugin-svelte": "^3.1.2",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.1",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"svelte-check": "^3.6.3",
"svelte-check": "^3.6.4",
"svelte-multiselect": "^10.2.0",
"svelte-preprocess": "^5.1.3",
"svelte-toc": "^0.5.6",
"svelte-zoo": "^0.4.9",
"svelte2tsx": "^0.7.0",
"svelte-toc": "^0.5.7",
"svelte-zoo": "^0.4.10",
"svelte2tsx": "^0.7.1",
"typescript": "5.3.3",
"vite": "^5.0.11",
"vitest": "^1.2.0"
"vite": "^5.1.4",
"vitest": "^1.3.1"
},
"keywords": [
"svelte",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ Full list of props/bindable variables for this component. The `Option` type you
options: Option[]
```

**The only required prop** (no default). Array of strings/numbers or `Option` objects to be listed in the dropdown. The only required key on objects is `label` which must also be unique. An object's `value` defaults to `label` if `undefined`. You can add arbitrary additional keys to your option objects. A few keys like `preselected` and `title` have special meaning though. See type `ObjectOption` in [`src/lib/index.ts`](https://github.com/janosh/svelte-multiselect/blob/main/src/lib/index.ts) for all special keys and their purpose.
**The only required prop** (no default). Array of strings/numbers or `Option` objects to be listed in the dropdown. The only required key on objects is `label` which must also be unique. An object's `value` defaults to `label` if `undefined`. You can add arbitrary additional keys to your option objects. A few keys like `preselected` and `title` have special meaning though. See type `ObjectOption` in [`/src/lib/types.ts`](https://github.com/janosh/svelte-multiselect/blob/main/src/lib/types.ts) for all special keys and their purpose.

1. ```ts
outerDiv: HTMLDivElement | null = null
Expand Down
4 changes: 1 addition & 3 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export default {
},

vitePlugin: {
experimental: {
inspector: true,
},
inspector: true,
},
}

0 comments on commit 0f85b67

Please sign in to comment.