@descope/web-components-ui 1.0.96 → 1.0.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/web-components-ui",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -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})`,