@descope/web-components-ui 1.0.105 → 1.0.107
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js
CHANGED
@@ -2085,10 +2085,10 @@ class RawLogo extends createBaseClass({ componentName: componentName$c, baseSele
|
|
2085
2085
|
const Logo = compose(
|
2086
2086
|
createStyleMixin({
|
2087
2087
|
mappings: {
|
2088
|
-
height: {},
|
2089
|
-
width: {},
|
2090
|
-
|
2091
|
-
|
2088
|
+
height: { selector: () => ':host' },
|
2089
|
+
width: { selector: () => ':host' },
|
2090
|
+
fallbackUrl: { property: 'content' },
|
2091
|
+
url: { property: 'content' },
|
2092
2092
|
}
|
2093
2093
|
}),
|
2094
2094
|
draggableMixin,
|
@@ -2102,6 +2102,10 @@ style = `
|
|
2102
2102
|
:host > div {
|
2103
2103
|
display: inline-block;
|
2104
2104
|
content: var(${Logo.cssVarList.url}, var(${Logo.cssVarList.fallbackUrl}));
|
2105
|
+
max-width: 100%;
|
2106
|
+
max-height: 100%;
|
2107
|
+
object-fit: contain;
|
2108
|
+
margin: auto;
|
2105
2109
|
}
|
2106
2110
|
:host([draggable="true"]) > div {
|
2107
2111
|
pointer-events: none
|
@@ -5878,8 +5882,7 @@ const container = {
|
|
5878
5882
|
const vars$9 = Logo.cssVarList;
|
5879
5883
|
|
5880
5884
|
const logo = {
|
5881
|
-
[vars$9.
|
5882
|
-
[vars$9.fallbackUrl]: 'url(https://content.app.descope.com/assets/flows/noLogoPlaceholder.svg)'
|
5885
|
+
[vars$9.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)'
|
5883
5886
|
};
|
5884
5887
|
|
5885
5888
|
const globalRefs$7 = getThemeRefs(globals);
|