Files
headlessui/packages/playground-react/package.json
T
Robin Malfait 0c0601f87a Fix focus styles showing up when using the mouse (#2347)
* update playground examples to use a shared `Button`

* expose a `ui-focus-visible` variant

* keep track of a `data-headlessui-focus-visible` attribute

* do not set the `tabindex`

The focus was always set, but the ring wasn't showing up. This was also
focusing a ring when the browser decided not the add one.

Let's make the browser decide when to show this or not.

* update changelog
2023-03-10 22:00:35 +01:00

33 lines
1.0 KiB
JSON

{
"name": "playground-react",
"private": true,
"version": "0.0.0",
"scripts": {
"prebuild": "yarn workspace @headlessui/react build && yarn workspace @headlessui/tailwindcss build",
"predev": "yarn workspace @headlessui/react build && yarn workspace @headlessui/tailwindcss build",
"dev:tailwindcss": "yarn workspace @headlessui/tailwindcss watch",
"dev:headlessui": "yarn workspace @headlessui/react watch",
"dev:next": "next dev",
"dev": "npm-run-all -p dev:*",
"build": "next build",
"start": "next start",
"clean": "rimraf ./.next"
},
"dependencies": {
"@headlessui/react": "*",
"@headlessui/tailwindcss": "*",
"@heroicons/react": "^1.0.6",
"@popperjs/core": "^2.6.0",
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/typography": "^0.5.2",
"autoprefixer": "^10.4.7",
"framer-motion": "^6.0.0",
"next": "^12.1.4",
"postcss": "^8.4.14",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-flatpickr": "^3.10.9",
"tailwindcss": "^3.2.7"
}
}