Remove headlessui and heroicons from package.json

This commit is contained in:
jahooma 2021-12-16 22:12:33 -06:00
parent 2c9f8e00bf
commit 7fd3cc185f
3 changed files with 43 additions and 83 deletions

View File

@ -1,7 +1,5 @@
import { useEffect, useState } from 'react'
import clsx from 'clsx'
import Link from 'next/link'
import { Popover } from '@headlessui/react'
import { useUser } from '../hooks/use-user'
@ -49,7 +47,6 @@ export function Header(props: { darkBackground?: boolean }) {
const { darkBackground } = props
return (
<Popover as="header" className="relative">
<div className="pt-6">
<nav
className="relative max-w-7xl mx-auto flex items-center justify-between px-4 sm:px-6 bg-dark-50"
@ -97,6 +94,5 @@ export function Header(props: { darkBackground?: boolean }) {
</div>
</nav>
</div>
</Popover>
)
}

34
web/package-lock.json generated
View File

@ -6,8 +6,6 @@
"": {
"name": "mantic",
"dependencies": {
"@headlessui/react": "1.4.2",
"@heroicons/react": "1.0.5",
"@nivo/core": "0.74.0",
"@nivo/line": "0.74.0",
"clsx": "1.1.1",
@ -1587,26 +1585,6 @@
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz",
"integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw=="
},
"node_modules/@headlessui/react": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.4.2.tgz",
"integrity": "sha512-N8tv7kLhg9qGKBkVdtg572BvKvWhmiudmeEpOCyNwzOsZHCXBtl8AazGikIfUS+vBoub20Fse3BjawXDVPPdug==",
"engines": {
"node": ">=10"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18"
}
},
"node_modules/@heroicons/react": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.5.tgz",
"integrity": "sha512-UDMyLM2KavIu2vlWfMspapw9yii7aoLwzI2Hudx4fyoPwfKfxU8r3cL8dEBXOjcLG0/oOONZzbT14M1HoNtEcg==",
"peerDependencies": {
"react": ">= 16"
}
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
@ -9461,18 +9439,6 @@
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz",
"integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw=="
},
"@headlessui/react": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.4.2.tgz",
"integrity": "sha512-N8tv7kLhg9qGKBkVdtg572BvKvWhmiudmeEpOCyNwzOsZHCXBtl8AazGikIfUS+vBoub20Fse3BjawXDVPPdug==",
"requires": {}
},
"@heroicons/react": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.5.tgz",
"integrity": "sha512-UDMyLM2KavIu2vlWfMspapw9yii7aoLwzI2Hudx4fyoPwfKfxU8r3cL8dEBXOjcLG0/oOONZzbT14M1HoNtEcg==",
"requires": {}
},
"@humanwhocodes/config-array": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",

View File

@ -10,8 +10,6 @@
"prepare": "cd .. && husky install web/.husky"
},
"dependencies": {
"@headlessui/react": "1.4.2",
"@heroicons/react": "1.0.5",
"@nivo/core": "0.74.0",
"@nivo/line": "0.74.0",
"clsx": "1.1.1",