Comparing version 2.1.0-alpha.1 to 2.1.0-alpha.2
@@ -25,7 +25,7 @@ /// <reference types="zepto" /> | ||
interface ILoading { | ||
show: (options: loadingShowOptions) => void | ||
show: (options?: loadingShowOptions) => void | ||
hide: () => void | ||
fadeIn: (options: loadingShowOptions) => void | ||
fadeIn: (options?: loadingShowOptions) => void | ||
fadeOut: () => void | ||
updateText: (text: string) => void | ||
updateText: (text?: string) => void | ||
} | ||
@@ -37,3 +37,3 @@ type loadingShowOptions = string | ||
interface IDialog { | ||
create: (config: IDialogCreateConfig) => void | ||
create: (config?: IDialogCreateConfig) => Element | ||
hide: () => void | ||
@@ -59,3 +59,3 @@ show: (elem: elem, options?: IDialogShowOptions) => void | ||
interface IDialogBtnConfig { | ||
tag?: 'button' | 'a' | ||
tag?: string | ||
innerHTML?: string | ||
@@ -75,5 +75,5 @@ link?: string | ||
show: (elem: elem, options?: IPanelOptions) => void | ||
hide: (options) => void | ||
hide: (options?: IPanelOptions) => void | ||
switchTo: (elem: elem, options?: IPanelOptions) => void | ||
switchBack: (options) => void | ||
switchBack: (options?: IPanelOptions) => void | ||
} | ||
@@ -80,0 +80,0 @@ interface IPanelOptions { |
{ | ||
"name": "cmui", | ||
"version": "2.1.0-alpha.1", | ||
"version": "2.1.0-alpha.2", | ||
"homepage": "http://cmui.net/", | ||
@@ -5,0 +5,0 @@ "repository": "CMUI/CMUI", |
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
150800
2