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

@kaze-style/core

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaze-style/core - npm Package Compare versions

Comparing version 0.16.0 to 0.17.0

dist/cjs/globalStyle.js

2

dist/cjs/index.js

@@ -1,1 +0,1 @@

"use strict";var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(t,e,m,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of l(e))!y.call(t,p)&&p!==m&&s(t,p,{get:()=>e[p],enumerable:!(x=a(e,p))||x.enumerable});return t},r=(t,e,m)=>(f(t,e,"default"),m&&f(m,e,"default"));var C=t=>f(s({},"__esModule",{value:!0}),t);var o={};module.exports=C(o);r(o,require("./mergeStyle"),module.exports);r(o,require("./createStyle"),module.exports);r(o,require("./createGlobalStyle"),module.exports);r(o,require("./resolveStyle"),module.exports);r(o,require("./resolveGlobalStyle"),module.exports);r(o,require("./__style"),module.exports);r(o,require("./__globalStyle"),module.exports);r(o,require("./__preStyle"),module.exports);r(o,require("./__preGlobalStyle"),module.exports);r(o,require("./ClassName"),module.exports);r(o,require("./styleOrder"),module.exports);r(o,require("./sortCssRules"),module.exports);r(o,require("./uniqueCssRules"),module.exports);r(o,require("./setCssRules"),module.exports);
"use strict";var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(t,e,m,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of l(e))!y.call(t,p)&&p!==m&&s(t,p,{get:()=>e[p],enumerable:!(x=a(e,p))||x.enumerable});return t},r=(t,e,m)=>(f(t,e,"default"),m&&f(m,e,"default"));var C=t=>f(s({},"__esModule",{value:!0}),t);var o={};module.exports=C(o);r(o,require("./mergeStyle"),module.exports);r(o,require("./style"),module.exports);r(o,require("./globalStyle"),module.exports);r(o,require("./resolveStyle"),module.exports);r(o,require("./resolveGlobalStyle"),module.exports);r(o,require("./__style"),module.exports);r(o,require("./__globalStyle"),module.exports);r(o,require("./__preStyle"),module.exports);r(o,require("./__preGlobalStyle"),module.exports);r(o,require("./ClassName"),module.exports);r(o,require("./styleOrder"),module.exports);r(o,require("./sortCssRules"),module.exports);r(o,require("./uniqueCssRules"),module.exports);r(o,require("./setCssRules"),module.exports);

@@ -1,1 +0,1 @@

export*from"./mergeStyle.js";export*from"./createStyle.js";export*from"./createGlobalStyle.js";export*from"./resolveStyle.js";export*from"./resolveGlobalStyle.js";export*from"./__style.js";export*from"./__globalStyle.js";export*from"./__preStyle.js";export*from"./__preGlobalStyle.js";export*from"./ClassName.js";export*from"./styleOrder.js";export*from"./sortCssRules.js";export*from"./uniqueCssRules.js";export*from"./setCssRules.js";
export*from"./mergeStyle.js";export*from"./style.js";export*from"./globalStyle.js";export*from"./resolveStyle.js";export*from"./resolveGlobalStyle.js";export*from"./__style.js";export*from"./__globalStyle.js";export*from"./__preStyle.js";export*from"./__preGlobalStyle.js";export*from"./ClassName.js";export*from"./styleOrder.js";export*from"./sortCssRules.js";export*from"./uniqueCssRules.js";export*from"./setCssRules.js";
export * from './mergeStyle';
export * from './createStyle';
export * from './createGlobalStyle';
export * from './style';
export * from './globalStyle';
export * from './resolveStyle';

@@ -5,0 +5,0 @@ export * from './resolveGlobalStyle';

{
"name": "@kaze-style/core",
"version": "0.16.0",
"version": "0.17.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Taishi Naritomi",

@@ -46,5 +46,5 @@ <div>

// App.style.ts
import { createStyle, createGlobalStyle } from '@kaze-style/core';
import { style, globalStyle } from '@kaze-style/core';
createGlobalStyle({
globalStyle({
html: {

@@ -55,4 +55,4 @@ lineHeight: '1.5',

export const classes = createStyle({
//Not Atomic CSS
export const classes = style({
// not Atomic CSS
container: {

@@ -62,3 +62,3 @@ margin: '20px',

},
//Atomic CSS
// atomic CSS
$base: {

@@ -68,3 +68,3 @@ color: 'red',

},
//Atomic CSS
// atomic CSS
$action: {

@@ -71,0 +71,0 @@ color: 'blue',

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