@descope-ui/descope-outbound-apps 0.0.3 → 0.0.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.0.4](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-outbound-apps-0.0.3...@descope-ui/descope-outbound-apps-0.0.4) (2025-07-22)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Add background color to Avatar for apps without logo ([#694](https://github.com/descope/web-components-ui/issues/694)) ([e653476](https://github.com/descope/web-components-ui/commit/e65347699885d789e507e3198c926932f6c7e850))
11
+
5
12
  ## [0.0.3](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-outbound-apps-0.0.2...@descope-ui/descope-outbound-apps-0.0.3) (2025-07-21)
6
13
 
7
14
  ## [0.0.2](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-outbound-apps-0.0.1...@descope-ui/descope-outbound-apps-0.0.2) (2025-07-21)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope-ui/descope-outbound-apps",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./src/component/index.js"
@@ -27,6 +27,7 @@ const itemRenderer = (
27
27
  ${logo ? `img="${logo}"` : ''}
28
28
  ${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
29
29
  size=${ref.size}
30
+ ${logo ? 'st-avatar-background-color="none"' : ''}
30
31
  class="app-logo"
31
32
  ></descope-avatar>
32
33
 
@@ -163,10 +164,6 @@ export const OutboundAppsClass = compose(
163
164
  selector: TextClass.componentName,
164
165
  property: TextClass.cssVarList.fontSize,
165
166
  },
166
- appLogoBackgroundColor: {
167
- selector: AvatarClass.componentName,
168
- property: AvatarClass.cssVarList.avatarBackgroundColor,
169
- },
170
167
  appLogoGap: {
171
168
  selector: () => ' .app-logo',
172
169
  property: 'margin-inline-end'
@@ -34,7 +34,7 @@ export default {
34
34
  (_, i) => ({
35
35
  appId: `appId_${i + 1}`,
36
36
  name: `App ${i + 1}`,
37
- logo: appIcon,
37
+ logo: i % 2 ? appIcon : '',
38
38
  description: 'App description',
39
39
  isConnected: !!(i % 2),
40
40
  }),