@paperbits/common
Advanced tools
Comparing version 0.1.596 to 0.1.597
import * as Array from "@paperbits/common"; | ||
import * as ko from "knockout"; | ||
import { Keys } from "@paperbits/common"; | ||
@@ -3,0 +4,0 @@ import { Events } from "@paperbits/common/events"; |
{ | ||
"name": "@paperbits/common", | ||
"version": "0.1.596", | ||
"version": "0.1.597", | ||
"description": "Paperbits common components.", | ||
@@ -5,0 +5,0 @@ "author": "Paperbits", |
@@ -5,3 +5,2 @@ export * from "./breakpoints"; | ||
export * from "./IStyleSnippetService"; | ||
export * from "./styleable"; | ||
export * from "./styleCompiler"; | ||
@@ -8,0 +7,0 @@ export * from "./pluginBagContract"; |
@@ -5,5 +5,4 @@ export interface IStyleGroup { | ||
groupName: string; | ||
selectorTemplate: string; | ||
styleTemplate: string; | ||
description?: string; | ||
} |
@@ -6,7 +6,2 @@ /** | ||
/** | ||
* Unique identifier; | ||
*/ | ||
key?: string; | ||
/** | ||
* Plugin, e.g. "padding", "margin", "typography", etc. | ||
@@ -13,0 +8,0 @@ */ |
import { PluginBag } from "./pluginBagContract"; | ||
export interface StateBagContract extends PluginBag { | ||
} | ||
export interface StateBagContract extends PluginBag { } |
@@ -0,5 +1,8 @@ | ||
import { VariationBagContract } from "./variationBagContract"; | ||
import { VariationContract } from "./variationContract"; | ||
export interface StyleHandler { | ||
key: string; | ||
migrate?: (style: any) => void; | ||
getDefaultStyle?: (key?: string) => any; | ||
migrate?: (style: VariationBagContract) => void; | ||
getDefaultStyle?: (key?: string) => VariationContract; | ||
} |
@@ -14,3 +14,3 @@ import { PluginBag } from "./pluginBagContract"; | ||
*/ | ||
displayName?: string; | ||
displayName: string; | ||
@@ -17,0 +17,0 @@ /** |
@@ -15,3 +15,3 @@ import { IComponent } from "./IComponent"; | ||
name?: string; | ||
displayName?: string; | ||
displayName?: string | Function; | ||
callback?: () => void; | ||
@@ -18,0 +18,0 @@ component?: IComponent; |
@@ -36,2 +36,7 @@ import { IComponent } from "./IComponent"; | ||
/** | ||
* Close event delegate. | ||
*/ | ||
onClose?(): void; | ||
/** | ||
* Reference to an element that should receive focus when this view gets closed. | ||
@@ -38,0 +43,0 @@ */ |
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
440796
353
11050