@descope/web-components-ui 1.0.96 → 1.0.97
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -55,6 +55,10 @@ const componentsThemeToStyleObj = (componentsTheme) =>
|
|
55
55
|
const property = restPath.pop();
|
56
56
|
const componentName = getComponentName(component);
|
57
57
|
|
58
|
+
if(property === 'undefined'){
|
59
|
+
console.warn(componentName, `theme value: "${val}" is mapped to an invalid property`)
|
60
|
+
}
|
61
|
+
|
58
62
|
// we need a support for portal components theme (e.g. overlay)
|
59
63
|
// this allows us to generate those themes under different sections
|
60
64
|
// if the theme has root level attribute that starts with #
|
@@ -29,7 +29,6 @@ const button = {
|
|
29
29
|
[vars.borderColor]: 'transparent',
|
30
30
|
|
31
31
|
[vars.gap]: '0.25em',
|
32
|
-
[vars.height]: '100%',
|
33
32
|
|
34
33
|
[vars.verticalPadding]: `calc(var(${vars.fontSize}) / ${verticalPaddingRatio})`,
|
35
34
|
[vars.horizontalPadding]: `calc(var(${vars.fontSize}) / ${horizontalPaddingRatio})`,
|