@yamada-ui/use-breakpoint
Advanced tools
Comparing version 0.2.29 to 1.0.0
import { ResponsiveObject } from '@yamada-ui/core'; | ||
/** | ||
* `useBreakpoint` is a custom hook that returns the current breakpoint. | ||
* This hook monitors changes in the window size and returns the appropriate value. | ||
* | ||
* @see Docs https://yamada-ui.com/hooks/use-breakpoint | ||
*/ | ||
declare const useBreakpoint: () => "sm" | "md" | "lg" | "xl" | "2xl" | (string & {}); | ||
/** | ||
* `useBreakpointValue` is a custom hook that returns the value of the current breakpoint from the provided object. | ||
* This hook monitors changes in the window size and returns the appropriate value. | ||
* | ||
* @see Docs https://yamada-ui.com/hooks/use-breakpoint-value | ||
*/ | ||
declare const useBreakpointValue: <T extends unknown>(values: ResponsiveObject<T>) => T; | ||
export { useBreakpoint, useBreakpointValue }; |
{ | ||
"name": "@yamada-ui/use-breakpoint", | ||
"version": "0.2.29", | ||
"version": "1.0.0", | ||
"description": "Yamada UI useBreakpoint custom hook", | ||
@@ -18,2 +18,3 @@ "keywords": [ | ||
}, | ||
"homepage": "https://yamada-ui.com", | ||
"repository": { | ||
@@ -28,4 +29,4 @@ "type": "git", | ||
"dependencies": { | ||
"@yamada-ui/core": "0.15.4", | ||
"@yamada-ui/utils": "0.5.1" | ||
"@yamada-ui/core": "1.0.0", | ||
"@yamada-ui/utils": "1.0.0" | ||
}, | ||
@@ -32,0 +33,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
20711
205
0
+ Added@yamada-ui/core@1.0.0(transitive)
+ Added@yamada-ui/portal@1.0.0(transitive)
+ Added@yamada-ui/utils@1.0.0(transitive)
- Removed@yamada-ui/core@0.15.4(transitive)
- Removed@yamada-ui/portal@0.3.11(transitive)
- Removed@yamada-ui/utils@0.5.1(transitive)
Updated@yamada-ui/core@1.0.0
Updated@yamada-ui/utils@1.0.0