Socket
Socket
Sign inDemoInstall

@chakra-ui/media-query

Package Overview
Dependencies
87
Maintainers
2
Versions
482
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0-dev-20230213131136 to 0.0.0-dev-20230716142935

2

dist/hide.d.ts
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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc