@kaze-style/core
Advanced tools
Comparing version 0.16.0 to 0.17.0
@@ -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', |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
46573