@descope-ui/descope-apps-list 2.2.0 → 2.2.2

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,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [2.2.2](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.1...web-components-ui-2.2.2) (2025-10-28)
6
+
7
+ ## [2.2.1](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.0...web-components-ui-2.2.1) (2025-10-27)
8
+
5
9
  ## [2.2.0](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.18...web-components-ui-2.2.0) (2025-10-26)
6
10
 
7
11
  ## [2.1.18](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.17...web-components-ui-2.1.18) (2025-10-26)
@@ -16,12 +16,12 @@ const presets = {
16
16
  'st-item-alignment': 'center',
17
17
  variant: 'tiles',
18
18
  },
19
- 'item alignment start in tiles mode': {
20
- 'st-item-alignment': 'start',
19
+ 'item alignment left in tiles mode': {
20
+ 'st-item-alignment': 'left',
21
21
  variant: 'tiles',
22
22
  },
23
- 'item alignment end in tiles mode': {
24
- 'st-item-alignment': 'end',
23
+ 'item alignment right in tiles mode': {
24
+ 'st-item-alignment': 'right',
25
25
  variant: 'tiles',
26
26
  },
27
27
  'item text variant h1': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope-ui/descope-apps-list",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./src/component/index.js"
@@ -14,15 +14,15 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@playwright/test": "1.38.1",
17
- "e2e-utils": "2.2.0"
17
+ "e2e-utils": "2.2.2"
18
18
  },
19
19
  "dependencies": {
20
- "@descope-ui/common": "2.2.0",
21
- "@descope-ui/theme-globals": "2.2.0",
22
- "@descope-ui/descope-list": "2.2.0",
23
- "@descope-ui/descope-list-item": "2.2.0",
24
- "@descope-ui/descope-avatar": "2.2.0",
25
- "@descope-ui/descope-text": "2.2.0"
20
+ "@descope-ui/common": "2.2.2",
21
+ "@descope-ui/theme-globals": "2.2.2",
22
+ "@descope-ui/descope-list": "2.2.2",
23
+ "@descope-ui/descope-list-item": "2.2.2",
24
+ "@descope-ui/descope-avatar": "2.2.2",
25
+ "@descope-ui/descope-text": "2.2.2"
26
26
  },
27
27
  "publishConfig": {
28
28
  "link-workspace-packages": false
@@ -16,11 +16,13 @@ export const componentName = getComponentName('apps-list');
16
16
  const itemRenderer = ({ name, icon, url }, _, ref) => `
17
17
  <a ${url ? `href="${url}" title="${url}"` : ''} target="_blank">
18
18
  <descope-list-item>
19
- <descope-avatar
20
- ${icon ? `img="${icon}"` : ''}
21
- ${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
22
- size="${ref.logoSize || ref.size}"
23
- ></descope-avatar>
19
+ <div class="avatar-wrapper">
20
+ <descope-avatar
21
+ ${icon ? `img="${icon}"` : ''}
22
+ ${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
23
+ size="${ref.logoSize || ref.size}"
24
+ ></descope-avatar>
25
+ </div>
24
26
  <descope-text
25
27
  variant="${ref.itemTextVariant}"
26
28
  mode="primary"
@@ -92,7 +94,7 @@ export const AppsListClass = compose(
92
94
  property: ListItemClass.cssVarList.horizontalPaddingOverride,
93
95
  },
94
96
  itemAlignment: [
95
- { selector: ListItemClass.componentName, property: ListItemClass.cssVarList.alignItemsOverride },
97
+ { selector: () => '.avatar-wrapper', property: 'text-align' },
96
98
  { selector: TextClass.componentName, property: TextClass.cssVarList.textAlign },
97
99
  ]
98
100
  },
@@ -120,6 +122,14 @@ export const AppsListClass = compose(
120
122
  overflow: hidden;
121
123
  }
122
124
 
125
+ descope-list-item[variant="tile"] .avatar-wrapper {
126
+ width: 100%;
127
+ }
128
+
129
+ .avatar-wrapper {
130
+ line-height: 0;
131
+ }
132
+
123
133
  a {
124
134
  text-decoration: none;
125
135
  }
@@ -127,6 +137,7 @@ export const AppsListClass = compose(
127
137
  descope-text {
128
138
  ${TextClass.cssVarList.hostDirection}: var(${AppsListClass.cssVarList.hostDirection});
129
139
  max-width: 100%;
140
+ width: 100%;
130
141
  }
131
142
  `,
132
143
  })
@@ -74,7 +74,7 @@ export default {
74
74
  },
75
75
  'st-item-alignment': {
76
76
  name: 'Item Alignment',
77
- options: ['start', 'center', 'end'],
77
+ options: ['left', 'center', 'right'],
78
78
  control: { type: 'select' },
79
79
  },
80
80
  'st-background-color': {