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

@kuma-ui/compiler

Package Overview
Dependencies
Maintainers
3
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kuma-ui/compiler - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

dist/chunk-E7PWMUZL.mjs

8

dist/compile.js

@@ -152,5 +152,7 @@ "use strict";

const componentProps = {};
const componentVariantProps = {};
const variant = import_sheet.theme.getVariants(componentName);
const componentVariantProps = {
...variant?.baseStyle
};
const defaultProps = (0, import_componentList.componentDefaultProps)(componentName);
const variant = import_sheet.theme.getVariants(componentName);
let isDefault = false;

@@ -170,3 +172,2 @@ for (const [propName, propValue] of Object.entries({

componentVariantProps,
variant?.baseStyle,
variant?.variants?.[propValue]

@@ -179,3 +180,2 @@ );

}
Object.assign(componentVariantProps, variant?.baseStyle);
if (!(!!Object.keys(styledProps).length || !!Object.keys(pseudoProps).length || !!Object.keys(componentProps))) {

@@ -182,0 +182,0 @@ return;

@@ -34,5 +34,7 @@ "use strict";

const componentProps = {};
const componentVariantProps = {};
const variant = import_sheet.theme.getVariants(componentName);
const componentVariantProps = {
...variant?.baseStyle
};
const defaultProps = (0, import_componentList.componentDefaultProps)(componentName);
const variant = import_sheet.theme.getVariants(componentName);
let isDefault = false;

@@ -52,3 +54,2 @@ for (const [propName, propValue] of Object.entries({

componentVariantProps,
variant?.baseStyle,
variant?.variants?.[propValue]

@@ -61,3 +62,2 @@ );

}
Object.assign(componentVariantProps, variant?.baseStyle);
if (!(!!Object.keys(styledProps).length || !!Object.keys(pseudoProps).length || !!Object.keys(componentProps))) {

@@ -64,0 +64,0 @@ return;

@@ -36,5 +36,7 @@ "use strict";

const componentProps = {};
const componentVariantProps = {};
const variant = import_sheet.theme.getVariants(componentName);
const componentVariantProps = {
...variant?.baseStyle
};
const defaultProps = (0, import_componentList.componentDefaultProps)(componentName);
const variant = import_sheet.theme.getVariants(componentName);
let isDefault = false;

@@ -54,3 +56,2 @@ for (const [propName, propValue] of Object.entries({

componentVariantProps,
variant?.baseStyle,
variant?.variants?.[propValue]

@@ -63,3 +64,2 @@ );

}
Object.assign(componentVariantProps, variant?.baseStyle);
if (!(!!Object.keys(styledProps).length || !!Object.keys(pseudoProps).length || !!Object.keys(componentProps))) {

@@ -66,0 +66,0 @@ return;

@@ -154,5 +154,7 @@ "use strict";

const componentProps = {};
const componentVariantProps = {};
const variant = import_sheet.theme.getVariants(componentName);
const componentVariantProps = {
...variant?.baseStyle
};
const defaultProps = (0, import_componentList.componentDefaultProps)(componentName);
const variant = import_sheet.theme.getVariants(componentName);
let isDefault = false;

@@ -172,3 +174,2 @@ for (const [propName, propValue] of Object.entries({

componentVariantProps,
variant?.baseStyle,
variant?.variants?.[propValue]

@@ -181,3 +182,2 @@ );

}
Object.assign(componentVariantProps, variant?.baseStyle);
if (!(!!Object.keys(styledProps).length || !!Object.keys(pseudoProps).length || !!Object.keys(componentProps))) {

@@ -184,0 +184,0 @@ return;

{
"name": "@kuma-ui/compiler",
"version": "1.0.4",
"version": "1.0.5",
"description": "๐Ÿป Kuma UI is a utility-first, zero-runtime CSS-in-JS library that offers an outstanding developer experience and optimized performance.",
"repository": {
"type": "git",
"url": "git+https://github.com/poteboy/kuma-ui.git"
"url": "git+https://github.com/kuma-ui/kuma-ui.git"
},

@@ -34,5 +34,5 @@ "keywords": [

"ts-pattern": "^5.0.1",
"@kuma-ui/core": "^1.1.1",
"@kuma-ui/core": "^1.1.2",
"@kuma-ui/sheet": "^1.0.1",
"@kuma-ui/system": "^1.1.0"
"@kuma-ui/system": "^1.2.0"
},

@@ -39,0 +39,0 @@ "publishConfig": {

<div align="center">
<img src="https://raw.githubusercontent.com/poteboy/kuma-ui/main/media/logo.webp" alt="Kuma UI logo" width="300" />
<img src="https://raw.githubusercontent.com/kuma-ui/kuma-ui/main/media/logo.webp" alt="Kuma UI logo" width="300" />
</div>

@@ -4,0 +4,0 @@

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

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