mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
removed unused packages, enabled tailwind preflight
This commit is contained in:
parent
aefa687bd5
commit
65cc743079
1919
package-lock.json
generated
1919
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -23,9 +23,6 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^5.38.1",
|
"@typescript-eslint/eslint-plugin": "^5.38.1",
|
||||||
"@typescript-eslint/parser": "^5.38.1",
|
"@typescript-eslint/parser": "^5.38.1",
|
||||||
"autoprefixer": "^10.4.7",
|
"autoprefixer": "^10.4.7",
|
||||||
"babel-core": "^6.26.3",
|
|
||||||
"babel-loader": "^9.1.2",
|
|
||||||
"babel-runtime": "^6.26.0",
|
|
||||||
"daisyui": "^2.19.0",
|
"daisyui": "^2.19.0",
|
||||||
"eslint": "^8.24.0",
|
"eslint": "^8.24.0",
|
||||||
"eslint-plugin-react": "^7.31.8",
|
"eslint-plugin-react": "^7.31.8",
|
||||||
|
|||||||
@ -23,7 +23,7 @@ export default function AddButton({setSelectMode} : {setSelectMode: React.Dispat
|
|||||||
<a>
|
<a>
|
||||||
<div className="tooltip tooltip-left" data-tip={layer.menuText}>
|
<div className="tooltip tooltip-left" data-tip={layer.menuText}>
|
||||||
<button tabIndex={0}
|
<button tabIndex={0}
|
||||||
className="z-500 border-0 p-0 mb-2 mt-2 w-10 h-10 cursor-pointer rounded-full mouse drop-shadow-md transition ease-in duration-200 focus:outline-none"
|
className="z-500 border-0 pl-2 p-0 mb-2 mt-2 w-10 h-10 cursor-pointer rounded-full mouse drop-shadow-md transition ease-in duration-200 focus:outline-none"
|
||||||
style={{ backgroundColor: layer.menuColor }}
|
style={{ backgroundColor: layer.menuColor }}
|
||||||
onClick={() => { setSelectMode(layer) }}>
|
onClick={() => { setSelectMode(layer) }}>
|
||||||
<DynamicHeroIcon icon={layer.menuIcon} />
|
<DynamicHeroIcon icon={layer.menuIcon} />
|
||||||
|
|||||||
@ -40,7 +40,7 @@ const Popup = (props: UtopiaPopupProps) => {
|
|||||||
</div>
|
</div>
|
||||||
<div className='basis-1/6'>
|
<div className='basis-1/6'>
|
||||||
<div className="dropdown dropdown-right">
|
<div className="dropdown dropdown-right">
|
||||||
<label tabIndex={0} className="btn m-1 bg-white hover:bg-white text-gray-500 hover:text-gray-700 leading-3">
|
<label tabIndex={0} className="btn m-1 bg-white hover:bg-white text-gray-500 hover:text-gray-700 leading-3 border-none">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
||||||
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
|
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
@ -34,7 +34,7 @@ textarea {
|
|||||||
|
|
||||||
.calendar-icon {
|
.calendar-icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -40px;
|
top: -35px;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
width: 13px;
|
width: 13px;
|
||||||
}
|
}
|
||||||
@ -42,7 +42,7 @@ textarea {
|
|||||||
|
|
||||||
.circle-icon {
|
.circle-icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -38px;
|
top: -33px;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
width: 13px;
|
width: 13px;
|
||||||
}
|
}
|
||||||
@ -16,8 +16,6 @@ module.exports = {
|
|||||||
|
|
||||||
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
||||||
|
|
||||||
corePlugins: {
|
|
||||||
preflight: false
|
|
||||||
},
|
|
||||||
darkMode: 'class',
|
darkMode: 'class',
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,9 +13,7 @@
|
|||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"noImplicitReturns": true,
|
"noImplicitReturns": true,
|
||||||
"noImplicitThis": true,
|
"noImplicitThis": true,
|
||||||
"noImplicitAny": true,
|
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user