@descope/web-components-ui 2.2.0 → 2.2.1
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/dist/cjs/index.cjs.js +17 -6
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +17 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-apps-list.js +1 -1
- package/dist/umd/descope-apps-list.js.map +1 -1
- package/package.json +28 -28
package/dist/index.esm.js
CHANGED
|
@@ -22373,11 +22373,13 @@ const componentName$c = getComponentName$1('apps-list');
|
|
|
22373
22373
|
const itemRenderer$3 = ({ name, icon, url }, _, ref) => `
|
|
22374
22374
|
<a ${url ? `href="${url}" title="${url}"` : ''} target="_blank">
|
|
22375
22375
|
<descope-list-item>
|
|
22376
|
-
<
|
|
22377
|
-
|
|
22378
|
-
|
|
22379
|
-
|
|
22380
|
-
|
|
22376
|
+
<div class="avatar-wrapper">
|
|
22377
|
+
<descope-avatar
|
|
22378
|
+
${icon ? `img="${icon}"` : ''}
|
|
22379
|
+
${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
|
|
22380
|
+
size="${ref.logoSize || ref.size}"
|
|
22381
|
+
></descope-avatar>
|
|
22382
|
+
</div>
|
|
22381
22383
|
<descope-text
|
|
22382
22384
|
variant="${ref.itemTextVariant}"
|
|
22383
22385
|
mode="primary"
|
|
@@ -22449,7 +22451,7 @@ const AppsListClass = compose$1(
|
|
|
22449
22451
|
property: ListItemClass.cssVarList.horizontalPaddingOverride,
|
|
22450
22452
|
},
|
|
22451
22453
|
itemAlignment: [
|
|
22452
|
-
{ selector:
|
|
22454
|
+
{ selector: () => '.avatar-wrapper', property: 'text-align' },
|
|
22453
22455
|
{ selector: TextClass.componentName, property: TextClass.cssVarList.textAlign },
|
|
22454
22456
|
]
|
|
22455
22457
|
},
|
|
@@ -22477,6 +22479,14 @@ const AppsListClass = compose$1(
|
|
|
22477
22479
|
overflow: hidden;
|
|
22478
22480
|
}
|
|
22479
22481
|
|
|
22482
|
+
descope-list-item[variant="tile"] .avatar-wrapper {
|
|
22483
|
+
width: 100%;
|
|
22484
|
+
}
|
|
22485
|
+
|
|
22486
|
+
.avatar-wrapper {
|
|
22487
|
+
line-height: 0;
|
|
22488
|
+
}
|
|
22489
|
+
|
|
22480
22490
|
a {
|
|
22481
22491
|
text-decoration: none;
|
|
22482
22492
|
}
|
|
@@ -22484,6 +22494,7 @@ const AppsListClass = compose$1(
|
|
|
22484
22494
|
descope-text {
|
|
22485
22495
|
${TextClass.cssVarList.hostDirection}: var(${AppsListClass.cssVarList.hostDirection});
|
|
22486
22496
|
max-width: 100%;
|
|
22497
|
+
width: 100%;
|
|
22487
22498
|
}
|
|
22488
22499
|
`,
|
|
22489
22500
|
})
|