@nextui-org/system-rsc
Advanced tools
Comparing version 0.0.0-canary-20240527135738 to 0.0.0-canary-20240622134143
@@ -80,2 +80,3 @@ "use strict"; | ||
var _a, _b, _c; | ||
const keys = []; | ||
if (defaultVariants && typeof defaultVariants === "object") { | ||
@@ -86,3 +87,3 @@ for (const key in defaultVariants) { | ||
if (propValue && propValue !== value) { | ||
delete defaultVariants[key]; | ||
keys.push(key); | ||
} | ||
@@ -94,3 +95,6 @@ } | ||
variants, | ||
defaultVariants, | ||
defaultVariants: Object.keys(defaultVariants).filter((k) => !keys.includes(k)).reduce((o, k) => { | ||
o[k] = defaultVariants[k]; | ||
return o; | ||
}, []), | ||
compoundVariants, | ||
@@ -97,0 +101,0 @@ ...hasSlots && { slots } |
@@ -120,2 +120,3 @@ "use strict"; | ||
var _a, _b, _c; | ||
const keys = []; | ||
if (defaultVariants && typeof defaultVariants === "object") { | ||
@@ -126,3 +127,3 @@ for (const key in defaultVariants) { | ||
if (propValue && propValue !== value) { | ||
delete defaultVariants[key]; | ||
keys.push(key); | ||
} | ||
@@ -134,3 +135,6 @@ } | ||
variants, | ||
defaultVariants, | ||
defaultVariants: Object.keys(defaultVariants).filter((k) => !keys.includes(k)).reduce((o, k) => { | ||
o[k] = defaultVariants[k]; | ||
return o; | ||
}, []), | ||
compoundVariants, | ||
@@ -137,0 +141,0 @@ ...hasSlots && { slots } |
{ | ||
"name": "@nextui-org/system-rsc", | ||
"version": "0.0.0-canary-20240527135738", | ||
"version": "0.0.0-canary-20240622134143", | ||
"description": "NextUI system primitives compatibles with RSC imports", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"react": ">=18", | ||
"@nextui-org/theme": "0.0.0-canary-20240527135738" | ||
"@nextui-org/theme": ">=2.1.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "dependencies": { |
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
36495
954