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

@fower/types

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fower/types - npm Package Compare versions

Comparing version 1.14.0 to 1.15.0

32

index.d.ts

@@ -49,3 +49,3 @@ import * as CSS from 'csstype'

interface FowerCSSProperties extends AtomicProps, Omit<CSS.Properties, keyof AtomicProps> { }
interface FowerCSSProperties extends AtomicProps, Omit<CSS.Properties, keyof AtomicProps> {}

@@ -57,6 +57,6 @@ type PseudosObject = { [P in CSS.Pseudos]?: FowerCSSProperties }

| {
[K in keyof T]?: T[K] extends object
? CSSObject<T[K]>
: FowerCSSProperties | number | string | boolean
}
[K in keyof T]?: T[K] extends object
? CSSObject<T[K]>
: FowerCSSProperties | number | string | boolean
}

@@ -161,9 +161,29 @@ // type CSSObject<T = FowerCSSProperties> =

unit: 'none' | 'px' | 'rem' | 'em' | 'vh' | 'rpx' | ({} & string)
/**
* prefix for all css classes
*/
prefix?: string
/** use inline style or not */
/**
* use inline style or not
* */
inline?: boolean
/**
* make all rule important
*/
important?: boolean
/**
* enable auto dark mode
*/
autoDarkMode?: boolean
pseudos?: string[]
theme: Theme
plugins: FowerPlugin[]
transformUnit?: (data: string | number) => string

@@ -170,0 +190,0 @@ }

6

package.json
{
"name": "@fower/types",
"version": "1.14.0",
"version": "1.15.0",
"license": "MIT",

@@ -12,6 +12,6 @@ "main": "",

"dependencies": {
"@fower/atom": "^1.14.0",
"@fower/atom": "^1.15.0",
"csstype": "^3.0.7"
},
"gitHead": "386fcd8f920e15fe83b1b3f3813d1159fe5e0af3"
"gitHead": "68ecf5259290891641d157b3d97ebfc445abda42"
}
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