7e150e408c
* update dialog playground example Includes a generic `Button` component that has explicit focus styles. * keep track of "focus" history Safari doesn't "focus" buttons when you mousedown on them. This means that we don't capture the correct element to restore focus to when closing a `Dialog` for example. Now, we will make sure to keep track of a list of last "focused" items. We do this by also capturing elements when you "click", "mousedown" or "focus". * let's use a button instead of a div in tests * make `target` for Vue consistent with React * update changelog
32 lines
806 B
JSON
32 lines
806 B
JSON
{
|
|
"include": ["src", "types"],
|
|
"compilerOptions": {
|
|
"module": "esnext",
|
|
"lib": ["dom", "esnext", "dom.iterable"],
|
|
"importHelpers": true,
|
|
"declaration": true,
|
|
"sourceMap": true,
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"downlevelIteration": true,
|
|
"moduleResolution": "node",
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@headlessui/vue": ["src"],
|
|
"*": ["src/*", "node_modules/*"]
|
|
},
|
|
"esModuleInterop": true,
|
|
"target": "ESNext",
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true
|
|
},
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|