@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.
@@ -18400,11 +18400,13 @@ const componentName$l = getComponentName('apps-list');
18400
18400
  const itemRenderer$4 = ({ name, icon, url }, _, ref) => `
18401
18401
  <a ${url ? `href="${url}" title="${url}"` : ''} target="_blank">
18402
18402
  <descope-list-item>
18403
- <descope-avatar
18404
- ${icon ? `img="${icon}"` : ''}
18405
- ${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
18406
- size="${ref.logoSize || ref.size}"
18407
- ></descope-avatar>
18403
+ <div class="avatar-wrapper">
18404
+ <descope-avatar
18405
+ ${icon ? `img="${icon}"` : ''}
18406
+ ${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
18407
+ size="${ref.logoSize || ref.size}"
18408
+ ></descope-avatar>
18409
+ </div>
18408
18410
  <descope-text
18409
18411
  variant="${ref.itemTextVariant}"
18410
18412
  mode="primary"
@@ -18476,7 +18478,7 @@ const AppsListClass = compose(
18476
18478
  property: ListItemClass.cssVarList.horizontalPaddingOverride,
18477
18479
  },
18478
18480
  itemAlignment: [
18479
- { selector: ListItemClass.componentName, property: ListItemClass.cssVarList.alignItemsOverride },
18481
+ { selector: () => '.avatar-wrapper', property: 'text-align' },
18480
18482
  { selector: TextClass.componentName, property: TextClass.cssVarList.textAlign },
18481
18483
  ]
18482
18484
  },
@@ -18504,6 +18506,14 @@ const AppsListClass = compose(
18504
18506
  overflow: hidden;
18505
18507
  }
18506
18508
 
18509
+ descope-list-item[variant="tile"] .avatar-wrapper {
18510
+ width: 100%;
18511
+ }
18512
+
18513
+ .avatar-wrapper {
18514
+ line-height: 0;
18515
+ }
18516
+
18507
18517
  a {
18508
18518
  text-decoration: none;
18509
18519
  }
@@ -18511,6 +18521,7 @@ const AppsListClass = compose(
18511
18521
  descope-text {
18512
18522
  ${TextClass.cssVarList.hostDirection}: var(${AppsListClass.cssVarList.hostDirection});
18513
18523
  max-width: 100%;
18524
+ width: 100%;
18514
18525
  }
18515
18526
  `,
18516
18527
  })