@kaze-style/core
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -1,1 +0,1 @@ | ||
import{compileObjectCSS as r}from"./utils/compileObjectCSS";const c=e=>{const t=new Set;for(const l in e){const o=e[l],s=r(o);s!==""&&t.add(`${l} {${s}}`)}return{cssRules:Array.from(t)}};export{c as createGlobalStyle}; | ||
import{compileObjectCSS as r}from"./utils/compileObjectCSS";const a=e=>{const t=new Set;for(const l in e){const o=e[l],s=r(o||{});s!==""&&t.add(`${l} {${s}}`)}return{cssRules:Array.from(t)}};export{a as createGlobalStyle}; |
@@ -1,3 +0,2 @@ | ||
import type { KazeGlobalStyle, KazeStyle } from '../types/style'; | ||
import type { ValueOf } from '../types/utils'; | ||
export declare const compileObjectCSS: (style: KazeStyle | ValueOf<KazeGlobalStyle>) => string; | ||
import type { SupportedCSSProperties } from '../types/style'; | ||
export declare const compileObjectCSS: (style: SupportedCSSProperties) => string; |
@@ -1,1 +0,1 @@ | ||
import{hyphenateProperty as s}from"./hyphenateProperty";const p=t=>{const o=[];for(const l in t){const e=t[l];(typeof e=="string"||typeof e=="number")&&o.push(s(l)+":"+e+";")}return o.join("")};export{p as compileObjectCSS}; | ||
import{hyphenateProperty as p}from"./hyphenateProperty";const i=e=>{const o=[];for(const t in e){const r=e[t];(typeof r=="string"||typeof r=="number")&&o.push(p(t)+":"+(Array.isArray(r)?r.join(" "):r)+";")}return o.join("")};export{i as compileObjectCSS}; |
{ | ||
"name": "@kaze-style/core", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Taishi Naritomi", |
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
65011
258