@chakra-ui/media-query
Advanced tools
Comparing version 0.0.0-dev-20230213131136 to 0.0.0-dev-20230716142935
import { ShowProps } from './show.js'; | ||
declare type HideProps = ShowProps; | ||
type HideProps = ShowProps; | ||
/** | ||
@@ -5,0 +5,0 @@ * `Hide` wraps a component to not render if the provided media query matches. |
@@ -15,4 +15,4 @@ import { UseBreakpointOptions } from './use-breakpoint.js'; | ||
*/ | ||
declare function useBreakpointValue<T = any>(values: Partial<Record<string, T>> | T[], arg?: UseBreakpointOptions | string): T | undefined; | ||
declare function useBreakpointValue<T = any>(values: Partial<Record<string, T>> | Array<T | null>, arg?: UseBreakpointOptions | string): T | undefined; | ||
export { useBreakpointValue }; |
@@ -1,2 +0,2 @@ | ||
declare type UseBreakpointOptions = { | ||
type UseBreakpointOptions = { | ||
ssr?: boolean; | ||
@@ -3,0 +3,0 @@ fallback?: string; |
@@ -1,2 +0,2 @@ | ||
declare type UseMediaQueryOptions = { | ||
type UseMediaQueryOptions = { | ||
fallback?: boolean | boolean[]; | ||
@@ -3,0 +3,0 @@ ssr?: boolean; |
{ | ||
"name": "@chakra-ui/media-query", | ||
"version": "0.0.0-dev-20230213131136", | ||
"version": "0.0.0-dev-20230716142935", | ||
"description": "A React hook for changing properties or visibility of a component based on css media query", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"@chakra-ui/react-env": "3.0.0", | ||
"@chakra-ui/breakpoint-utils": "0.0.0-dev-20230213131136", | ||
"@chakra-ui/breakpoint-utils": "2.0.8", | ||
"@chakra-ui/shared-utils": "2.0.5" | ||
@@ -44,8 +44,8 @@ }, | ||
"react": "^18.0.0", | ||
"clean-package": "2.1.1", | ||
"@chakra-ui/system": "0.0.0-dev-20230213131136", | ||
"@chakra-ui/theme": "2.2.5" | ||
"clean-package": "2.2.0", | ||
"@chakra-ui/system": "0.0.0-dev-20230716142935", | ||
"@chakra-ui/theme": "0.0.0-dev-20230716142935" | ||
}, | ||
"peerDependencies": { | ||
"@chakra-ui/system": "0.0.0-dev-20230213131136", | ||
"@chakra-ui/system": "0.0.0-dev-20230716142935", | ||
"react": ">=18" | ||
@@ -52,0 +52,0 @@ }, |
53377
+ Added@chakra-ui/anatomy@0.0.0-dev-20230716142935(transitive)
+ Added@chakra-ui/breakpoint-utils@2.0.8(transitive)
+ Added@chakra-ui/object-utils@2.1.0(transitive)
+ Added@chakra-ui/styled-system@2.9.1(transitive)
+ Added@chakra-ui/system@0.0.0-dev-20230716142935(transitive)
+ Added@chakra-ui/theme@0.0.0-dev-20230716142935(transitive)
+ Added@chakra-ui/theme-tools@0.0.0-dev-20230716142935(transitive)
+ Added@chakra-ui/theme-utils@0.0.0-dev-20230716142935(transitive)
+ Addedreact-fast-compare@3.2.1(transitive)
- Removed@chakra-ui/anatomy@2.1.2(transitive)
- Removed@chakra-ui/breakpoint-utils@0.0.0-dev-20230213131136(transitive)
- Removed@chakra-ui/object-utils@2.0.8(transitive)
- Removed@chakra-ui/styled-system@0.0.0-dev-202302131311362.9.2(transitive)
- Removed@chakra-ui/system@0.0.0-dev-20230213131136(transitive)
- Removed@chakra-ui/theme@2.2.5(transitive)
- Removed@chakra-ui/theme-tools@2.0.17(transitive)
- Removed@chakra-ui/theme-utils@0.0.0-dev-20230213131136(transitive)
- Removedreact-fast-compare@3.2.0(transitive)