tauri-controls
Advanced tools
Comparing version
@@ -5,3 +5,3 @@ { | ||
"private": false, | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"type": "module", | ||
@@ -32,16 +32,9 @@ "repository": { | ||
".": { | ||
"import": "./dist/tauri-controls.es.js", | ||
"require": "./dist/tauri-controls.umd.js" | ||
}, | ||
"./dist/style.css": "./dist/style.css" | ||
"import": "./dist/tauri-controls.js" | ||
} | ||
}, | ||
"main": "./dist/tauri-controls.umd.js", | ||
"module": "./dist/tauri-controls.es.js", | ||
"module": "./dist/tauri-controls.js", | ||
"types": "./dist/index.d.ts", | ||
"dependencies": { | ||
"@tauri-apps/api": "2.0.0-alpha.5", | ||
"clsx": "^2.0.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"tailwind-merge": "^1.14.0" | ||
"@tauri-apps/api": "2.0.0-alpha.5" | ||
}, | ||
@@ -55,4 +48,4 @@ "devDependencies": { | ||
"@types/react-dom": "^18.2.7", | ||
"@typescript-eslint/eslint-plugin": "^6.2.0", | ||
"@typescript-eslint/parser": "^6.2.0", | ||
"@typescript-eslint/eslint-plugin": "^6.2.1", | ||
"@typescript-eslint/parser": "^6.2.1", | ||
"@vitejs/plugin-react-swc": "^3.3.2", | ||
@@ -81,7 +74,6 @@ "autoprefixer": "^10.4.14", | ||
"clsx": "^2.0.0", | ||
"react": ">=17.x", | ||
"react-dom": ">=17.x", | ||
"tailwind-merge": "^1.14.0", | ||
"tailwindcss": "^3.3.3" | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"tailwind-merge": "^1.14.0" | ||
} | ||
} |
<picture> | ||
<source media="(prefers-color-scheme: dark)" srcset=".github/statics/TauriCoverDark.png"> | ||
<img alt="Shows an illustrated sun in light color mode and a moon with stars in dark color mode." src=".github/statics/TauriCoverLight.png"> | ||
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/agmmnn/tauri-controls/assets/16024979/8ac8cae0-9cde-4b27-af8b-02d949ede7a2"> | ||
<img alt="Shows an illustrated sun in light color mode and a moon with stars in dark color mode." src="https://github.com/agmmnn/tauri-controls/assets/16024979/12f46aa7-72de-4c44-aa4a-0580c73fc73a"> | ||
</picture> | ||
<!--  | ||
 | ||
 | ||
 --> | ||
[](https://npmjs.com/package/tauri-controls) | ||
@@ -120,6 +120,6 @@ **Tauri Controls** is a library that provides native-looking **window controls** for [Tauri](https://github.com/tauri-apps/tauri) 2 applications. You can enhance the user experience of your Tauri 2 applications with window controls that mimic the identical native controls on the current system. | ||
- [x] If no platform is specified, the side of the controls will also be determined automatically. (e.g. MacOS left, others right) | ||
- [x] Next.js/SSR support. | ||
- [ ] Detect disabled window controls (is_maximizable, ...) and disable the buttons accordingly. | ||
- [ ] Svelte/SvelteKit implementation. | ||
- [ ] Next.js support. | ||
- [x] When no platform is specified, also automatically determine the side of the controls. (e.g. macOS left, others right) | ||
@@ -126,0 +126,0 @@ ## Figma |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
7
-41.67%1
-50%6
-53.85%48524
-43.05%6
-14.29%209
-74.26%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed