@umbraco-ui/uui-base
Advanced tools
Comparing version 1.0.0-rc.0 to 1.0.0-rc.1
export * from './InterfaceLook'; | ||
export * from './InterfaceColor'; |
@@ -1,8 +0,11 @@ | ||
import { unsafeCSS } from 'lit'; | ||
const InterfaceLookNames = [ | ||
const InterfaceLookValues = [ | ||
"default", | ||
"primary", | ||
"secondary", | ||
"outline", | ||
"placeholder", | ||
"placeholder" | ||
]; | ||
const InterfaceColorValues = [ | ||
"default", | ||
"positive", | ||
@@ -12,9 +15,3 @@ "warning", | ||
]; | ||
const InterfaceLookDefaultValue = ""; | ||
function InterfaceLookCSSCreator(loopMethod) { | ||
return InterfaceLookNames.map((lookName) => { | ||
return loopMethod(unsafeCSS(lookName)); | ||
}); | ||
} | ||
export { InterfaceLookCSSCreator, InterfaceLookDefaultValue, InterfaceLookNames }; | ||
export { InterfaceColorValues, InterfaceLookValues }; |
@@ -1,5 +0,2 @@ | ||
import { CSSResult, CSSResultArray, CSSResultGroup } from 'lit'; | ||
export declare const InterfaceLookNames: Readonly<InterfaceLookType[]>; | ||
export declare type InterfaceLookType = '' | 'primary' | 'secondary' | 'outline' | 'placeholder' | 'positive' | 'warning' | 'danger'; | ||
export declare const InterfaceLookDefaultValue = ""; | ||
export declare function InterfaceLookCSSCreator(loopMethod: (lookName: CSSResult) => CSSResultGroup): CSSResultArray; | ||
export declare const InterfaceLookValues: Readonly<InterfaceLook[]>; | ||
export declare type InterfaceLook = '' | 'default' | 'primary' | 'secondary' | 'outline' | 'placeholder'; |
{ | ||
"name": "@umbraco-ui/uui-base", | ||
"version": "1.0.0-rc.0", | ||
"version": "1.0.0-rc.1", | ||
"license": "MIT", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"homepage": "https://uui.umbraco.com/?path=/story/uui-base", | ||
"gitHead": "b03d833ef438156f3e87d3ffa29a4dcca7d560cd" | ||
"gitHead": "127e036dbafa18cc37027591d6548a4cb4700d33" | ||
} |
32
33705
852