🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@react-spectrum/utils

Package Overview
Dependencies
Maintainers
2
Versions
1019
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spectrum/utils - npm Package Compare versions

Comparing version

to
3.6.2

4

dist/main.js

@@ -559,3 +559,5 @@ var {

} = useContext($fda26b2aacd0a7728829de04d10c975$var$SlotContext) || {};
return mergeProps(slotProps, props);
return mergeProps(props, mergeProps(slotProps, {
id: props.id
}));
}

@@ -562,0 +564,0 @@

@@ -465,3 +465,5 @@ import { mergeProps, useLayoutEffect, useResizeObserver } from "@react-aria/utils";

} = useContext($e1c64f5d291c45a968556986464cdba1$var$SlotContext) || {};
return mergeProps(slotProps, props);
return mergeProps(props, mergeProps(slotProps, {
id: props.id
}));
}

@@ -468,0 +470,0 @@ export function cssModuleToSlots(cssModule) {

@@ -51,3 +51,5 @@ import { ReactElement, ReactNode, RefObject, CSSProperties, HTMLAttributes, Dispatch } from "react";

export function getResponsiveProp<T>(prop: Responsive<T>, matchedBreakpoints: Breakpoint[]): T;
export function useSlotProps<T>(props: T, defaultSlot?: string): T;
export function useSlotProps<T>(props: T & {
id?: string;
}, defaultSlot?: string): T;
export function cssModuleToSlots(cssModule: any): {};

@@ -54,0 +56,0 @@ export function SlotProvider(props: any): JSX.Element;

{
"name": "@react-spectrum/utils",
"version": "3.6.1",
"version": "3.6.2",
"description": "Spectrum UI components in React",

@@ -23,6 +23,6 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-aria/i18n": "^3.3.1",
"@react-aria/ssr": "^3.0.2",
"@react-aria/utils": "^3.8.1",
"@react-types/shared": "^3.7.0",
"@react-aria/i18n": "^3.3.2",
"@react-aria/ssr": "^3.0.3",
"@react-aria/utils": "^3.8.2",
"@react-types/shared": "^3.8.0",
"clsx": "^1.1.1"

@@ -36,3 +36,3 @@ },

},
"gitHead": "2c7164335bcbadf2382d1f984859cc620dc00cc7"
"gitHead": "9204e1b8cb61dac767e91087fb16203611dc67c5"
}

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

Sorry, the diff of this file is not supported yet