Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rpxl/recast

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpxl/recast - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0

2

dist/index.d.ts

@@ -23,3 +23,3 @@ import { RecastProps, RecastBreakpoints, RecastStyles, MergeFn, ExtractVariantProps, ExtractModifierProps } from './types.js';

[K in keyof M]: string | string[];
}, B extends keyof RecastBreakpoints = keyof RecastBreakpoints>(Component: React.ComponentType<P>, styles: RecastStyles<V, M, Pick<P, "rcx">, B>, mergeFn?: MergeFn): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<P, keyof M | keyof ExtractVariantProps<V, B>> & ExtractVariantProps<V, B> & ExtractModifierProps<M> & {
}, B extends keyof RecastBreakpoints | never = never>(Component: React.ComponentType<P>, styles: RecastStyles<V, M, Pick<P, "rcx">, B>, mergeFn?: MergeFn): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<P, keyof M | keyof ExtractVariantProps<V, B>> & ExtractVariantProps<V, B> & ExtractModifierProps<M> & {
className?: string;

@@ -26,0 +26,0 @@ }> & React.RefAttributes<React.ElementRef<React.ComponentType<P>>>>;

@@ -168,3 +168,3 @@ /**

*/
type RelaxedVariantProps<B extends string> = {
type RelaxedVariantProps<B extends string = never> = {
[key: string]: ResponsiveValue<B, string>;

@@ -188,3 +188,3 @@ };

/**
* Represents a value that can be responsive (i.e., different for different breakpoints).
* Represents a value that can be responsive (i.e. tailwind breakpoints).
*/

@@ -191,0 +191,0 @@ type ResponsiveValue<B extends string = never, T = never> = B extends never ? T : T | ({

{
"name": "@rpxl/recast",
"license": "MIT",
"version": "4.1.2",
"version": "4.2.0",
"type": "module",

@@ -6,0 +6,0 @@ "sideEffects": false,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc