@fower/types
Advanced tools
Comparing version 1.28.0 to 1.29.0
import * as CSS from 'csstype' | ||
import { Atom, Meta } from '@fower/atom' | ||
import type { Atom, Meta } from '@fower/atom' | ||
import type { Parser } from '@fower/parser' | ||
@@ -9,29 +10,6 @@ // tslint:disable-next-line:export-just-namespace | ||
declare namespace FowerTypes { | ||
interface ParserInterface { | ||
atoms: Atom[] | ||
type FowerColor = CSS.Property.Color | keyof Colors | ||
propList: PropItem[] | ||
type FowerThemeColor = keyof Colors | ||
props: any | ||
config: FowerTypes.Configuration | ||
uniqueClassName: string | ||
hasResponsive: boolean | ||
addAtom(atom: Atom): void | ||
getClassNames(): string[] | ||
toStyle(): any | ||
toRules(enableInserted?: boolean): string[] | ||
getParsedProps(): any | ||
insertRule(): any | ||
} | ||
type FowerColor = CSS.Property.Color | keyof Colors | ||
type As = React.ElementType | ||
@@ -200,10 +178,2 @@ | ||
interface PropItem { | ||
propKey: string | ||
propValue: any | ||
key: string | ||
value: any | ||
meta: Meta | ||
} | ||
interface Props { | ||
@@ -230,3 +200,3 @@ style?: any | ||
*/ | ||
beforeParseProps?(propKey: string, propValue: any, parser: ParserInterface): any | ||
beforeParseProps?(propKey: string, propValue: any, parser: Parser): any | ||
@@ -239,3 +209,3 @@ /** | ||
*/ | ||
beforeHandleAtom?(atom: Atom, parser: ParserInterface): Atom | ||
beforeHandleAtom?(atom: Atom, parser: Parser): Atom | ||
@@ -247,3 +217,3 @@ /** | ||
*/ | ||
handleAtom?(atom: Atom, parser: ParserInterface): Atom | ||
handleAtom?(atom: Atom, parser: Parser): Atom | ||
@@ -254,3 +224,3 @@ /** | ||
*/ | ||
afterAtomStyleCreate?(parser: ParserInterface): void | ||
afterAtomStyleCreate?(parser: Parser): void | ||
} | ||
@@ -257,0 +227,0 @@ |
{ | ||
"name": "@fower/types", | ||
"version": "1.28.0", | ||
"version": "1.29.0", | ||
"license": "MIT", | ||
@@ -12,6 +12,7 @@ "main": "", | ||
"dependencies": { | ||
"@fower/atom": "^1.28.0", | ||
"@fower/atom": "^1.29.0", | ||
"@fower/parser": "^1.29.0", | ||
"csstype": "^3.0.8" | ||
}, | ||
"gitHead": "5bf8d61bd49f8a82aebd6492ed162584430fdf21" | ||
"gitHead": "ac5536937911f0fde336b2830f5991c645608f86" | ||
} |
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
15176
3
464
+ Added@fower/parser@^1.29.0
+ Added@fower/css-object-processor@1.86.0(transitive)
+ Added@fower/parser@1.36.0(transitive)
+ Added@fower/sheet@1.36.0(transitive)
Updated@fower/atom@^1.29.0