@descope/web-components-ui 1.113.0 → 1.115.0
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 -10
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +17 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/7092.js +1 -1
- package/dist/umd/7092.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js.map +1 -1
- package/dist/umd/descope-outbound-apps.js +1 -1
- package/dist/umd/descope-outbound-apps.js.map +1 -1
- package/package.json +5 -5
- package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +8 -4
package/dist/cjs/index.cjs.js
CHANGED
@@ -8273,11 +8273,17 @@ const ComboBoxMixin = (superclass) =>
|
|
8273
8273
|
return {};
|
8274
8274
|
};
|
8275
8275
|
|
8276
|
-
this.setComboBoxDescriptor();
|
8277
|
-
this.#overrideOverlaySettings();
|
8278
8276
|
this.#overrideRenderer();
|
8279
8277
|
this.#disableDataProviderFilterEventIfNeeded();
|
8280
8278
|
|
8279
|
+
// This is a workaround for a problem we have in Console App, where in ScreenBuilder - the inputElement is not ready when trying to
|
8280
|
+
// set the component's descriptor and override the overlay settings.
|
8281
|
+
// THIS IS A PROBLEM WITH THE CONSOLE APP THAT NEEDS TO BE RESOLVED. Until then, we use this workaround.
|
8282
|
+
setTimeout(() => {
|
8283
|
+
this.setComboBoxDescriptor();
|
8284
|
+
this.#overrideOverlaySettings();
|
8285
|
+
});
|
8286
|
+
|
8281
8287
|
// Set up observers - order matters here since renderItems can clear innerHTML
|
8282
8288
|
observeAttributes(this, this.renderItems.bind(this), {
|
8283
8289
|
includeAttrs: ['data'],
|
@@ -13444,10 +13450,6 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
13444
13450
|
|
13445
13451
|
this.setGetValidity();
|
13446
13452
|
|
13447
|
-
this.setComboBoxDescriptor();
|
13448
|
-
|
13449
|
-
this.#overrideOverlaySettings();
|
13450
|
-
|
13451
13453
|
this.#handleCustomValues();
|
13452
13454
|
|
13453
13455
|
this.renderItems();
|
@@ -13460,6 +13462,14 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
13460
13462
|
// tries to override it, causing us to lose the user set placeholder.
|
13461
13463
|
forwardAttrs$1(this, this.baseElement, { includeAttrs: ['placeholder'] });
|
13462
13464
|
|
13465
|
+
// This is a workaround for a problem we have in Console App, where in ScreenBuilder - the inputElement is not ready when trying to
|
13466
|
+
// set the component's descriptor and override the overlay settings.
|
13467
|
+
// THIS IS A PROBLEM WITH THE CONSOLE APP THAT NEEDS TO BE RESOLVED. Until then, we use this workaround.
|
13468
|
+
setTimeout(() => {
|
13469
|
+
this.setComboBoxDescriptor();
|
13470
|
+
this.#overrideOverlaySettings();
|
13471
|
+
});
|
13472
|
+
|
13463
13473
|
this.setDefaultValues();
|
13464
13474
|
|
13465
13475
|
this.baseElement.addEventListener('selected-items-changed', () => {
|
@@ -21836,6 +21846,7 @@ const itemRenderer = (
|
|
21836
21846
|
${logo ? `img="${logo}"` : ''}
|
21837
21847
|
${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
|
21838
21848
|
size=${ref.size}
|
21849
|
+
${logo ? 'st-avatar-background-color="none"' : ''}
|
21839
21850
|
class="app-logo"
|
21840
21851
|
></descope-avatar>
|
21841
21852
|
|
@@ -21972,10 +21983,6 @@ const OutboundAppsClass = compose(
|
|
21972
21983
|
selector: TextClass.componentName,
|
21973
21984
|
property: TextClass.cssVarList.fontSize,
|
21974
21985
|
},
|
21975
|
-
appLogoBackgroundColor: {
|
21976
|
-
selector: AvatarClass.componentName,
|
21977
|
-
property: AvatarClass.cssVarList.avatarBackgroundColor,
|
21978
|
-
},
|
21979
21986
|
appLogoGap: {
|
21980
21987
|
selector: () => ' .app-logo',
|
21981
21988
|
property: 'margin-inline-end'
|