@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/index.esm.js
CHANGED
@@ -4800,11 +4800,17 @@ const ComboBoxMixin = (superclass) =>
|
|
4800
4800
|
return {};
|
4801
4801
|
};
|
4802
4802
|
|
4803
|
-
this.setComboBoxDescriptor();
|
4804
|
-
this.#overrideOverlaySettings();
|
4805
4803
|
this.#overrideRenderer();
|
4806
4804
|
this.#disableDataProviderFilterEventIfNeeded();
|
4807
4805
|
|
4806
|
+
// This is a workaround for a problem we have in Console App, where in ScreenBuilder - the inputElement is not ready when trying to
|
4807
|
+
// set the component's descriptor and override the overlay settings.
|
4808
|
+
// THIS IS A PROBLEM WITH THE CONSOLE APP THAT NEEDS TO BE RESOLVED. Until then, we use this workaround.
|
4809
|
+
setTimeout(() => {
|
4810
|
+
this.setComboBoxDescriptor();
|
4811
|
+
this.#overrideOverlaySettings();
|
4812
|
+
});
|
4813
|
+
|
4808
4814
|
// Set up observers - order matters here since renderItems can clear innerHTML
|
4809
4815
|
observeAttributes(this, this.renderItems.bind(this), {
|
4810
4816
|
includeAttrs: ['data'],
|
@@ -14658,10 +14664,6 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
14658
14664
|
|
14659
14665
|
this.setGetValidity();
|
14660
14666
|
|
14661
|
-
this.setComboBoxDescriptor();
|
14662
|
-
|
14663
|
-
this.#overrideOverlaySettings();
|
14664
|
-
|
14665
14667
|
this.#handleCustomValues();
|
14666
14668
|
|
14667
14669
|
this.renderItems();
|
@@ -14674,6 +14676,14 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
14674
14676
|
// tries to override it, causing us to lose the user set placeholder.
|
14675
14677
|
forwardAttrs$1(this, this.baseElement, { includeAttrs: ['placeholder'] });
|
14676
14678
|
|
14679
|
+
// This is a workaround for a problem we have in Console App, where in ScreenBuilder - the inputElement is not ready when trying to
|
14680
|
+
// set the component's descriptor and override the overlay settings.
|
14681
|
+
// THIS IS A PROBLEM WITH THE CONSOLE APP THAT NEEDS TO BE RESOLVED. Until then, we use this workaround.
|
14682
|
+
setTimeout(() => {
|
14683
|
+
this.setComboBoxDescriptor();
|
14684
|
+
this.#overrideOverlaySettings();
|
14685
|
+
});
|
14686
|
+
|
14677
14687
|
this.setDefaultValues();
|
14678
14688
|
|
14679
14689
|
this.baseElement.addEventListener('selected-items-changed', () => {
|
@@ -24550,6 +24560,7 @@ const itemRenderer = (
|
|
24550
24560
|
${logo ? `img="${logo}"` : ''}
|
24551
24561
|
${name ? `display-name="${name}" abbr=${limitAbbreviation(name)}` : ''}
|
24552
24562
|
size=${ref.size}
|
24563
|
+
${logo ? 'st-avatar-background-color="none"' : ''}
|
24553
24564
|
class="app-logo"
|
24554
24565
|
></descope-avatar>
|
24555
24566
|
|
@@ -24686,10 +24697,6 @@ const OutboundAppsClass = compose(
|
|
24686
24697
|
selector: TextClass.componentName,
|
24687
24698
|
property: TextClass.cssVarList.fontSize,
|
24688
24699
|
},
|
24689
|
-
appLogoBackgroundColor: {
|
24690
|
-
selector: AvatarClass.componentName,
|
24691
|
-
property: AvatarClass.cssVarList.avatarBackgroundColor,
|
24692
|
-
},
|
24693
24700
|
appLogoGap: {
|
24694
24701
|
selector: () => ' .app-logo',
|
24695
24702
|
property: 'margin-inline-end'
|