Socket
Socket
Sign inDemoInstall

@kaze-style/swc-plugin

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaze-style/swc-plugin - npm Package Compare versions

Comparing version 0.14.3 to 0.15.0

4

package.json
{
"name": "@kaze-style/swc-plugin",
"version": "0.14.3",
"version": "0.15.0",
"license": "MIT",

@@ -44,4 +44,4 @@ "author": "Taishi Naritomi",

"devDependencies": {
"@kaze-style/core": "^0.14.3"
"@kaze-style/core": "^0.15.0"
}
}

@@ -44,3 +44,4 @@ <div>

```ts
import { createStyle, createGlobalStyle, mergeStyle } from '@kaze-style/react';
// App.style.ts
import { createStyle, createGlobalStyle } from '@kaze-style/react';

@@ -53,3 +54,3 @@ createGlobalStyle({

const classes = createStyle({
export const style = createStyle({
container: {

@@ -66,7 +67,13 @@ margin: '20px',

});
```
```ts
// App.tsx
import { mergeStyle } from '@kaze-style/react';
import { style } from './App.style';
export const App = ({ action }) => {
return (
<div className={classes.container}>
<p className={mergeStyle(classes.base, action && classes.action)}></p>
<div className={style.container}>
<p className={mergeStyle(style.base, action && style.action)}></p>
</div>

@@ -73,0 +80,0 @@ );

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