24725216e4
* add watch script * make interactions in Vue and React consistent * re-work focus restoration When we click outside of the Menu or Listbox, we want to restore the focus to the Button, *unless* we clicked on/in an element that is focusable in itself. For example, when the Menu is open and you click in an input field, the input field should stay focused. We should also close the Menu itself at this point. * add examples with multiple elements * bump dependencies
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "@headlessui/vue",
|
|
"version": "0.2.0",
|
|
"main": "dist/index.js",
|
|
"typings": "dist/index.d.ts",
|
|
"module": "dist/headlessui.esm.js",
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tailwindlabs/headlessui.git",
|
|
"directory": "packages/@headlessui-vue"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"playground": "vite serve examples",
|
|
"playground:build": "NODE_ENV=production vite build examples",
|
|
"prepublishOnly": "npm run build",
|
|
"build": "../../scripts/build.sh",
|
|
"watch": "../../scripts/watch.sh",
|
|
"test": "../../scripts/test.sh",
|
|
"lint": "../../scripts/lint.sh"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "^3.0.0-rc.13"
|
|
},
|
|
"devDependencies": {
|
|
"@popperjs/core": "^2.5.3",
|
|
"@testing-library/vue": "^5.1.0",
|
|
"@types/debounce": "^1.2.0",
|
|
"@vue/compiler-sfc": "3.0.1",
|
|
"@vue/test-utils": "^2.0.0-beta.7",
|
|
"husky": "^4.3.0",
|
|
"vite": "^1.0.0-rc.4",
|
|
"vue": "^3.0.0-rc.13",
|
|
"vue-router": "^4.0.0-beta.13"
|
|
}
|
|
}
|