Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "kremling", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Embarrassingly simple css for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/kremling.js", |
@@ -1,5 +0,7 @@ | ||
export = Kremling | ||
import * as React from 'react'; | ||
export = Kremling; | ||
declare namespace Kremling { | ||
function useCss(css: string): Scope; | ||
function useCss(css: string | object): Scope; | ||
function always(className: string): KremlingString & string; | ||
@@ -23,2 +25,9 @@ function a(className: string): KremlingString & string; | ||
interface ScopedProps { | ||
css: string | object; | ||
namespace?: string; | ||
} | ||
class Scoped extends React.Component<ScopedProps> {} | ||
type Scope = { | ||
@@ -25,0 +34,0 @@ 'data-kremling': string, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
182194
2240
0