@descope/web-components-ui 1.0.400 → 1.0.402-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.
- package/dist/cjs/index.cjs.js +17 -7
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +17 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-button-index-js.js +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-policy-validation-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-button/ButtonClass.js +1 -1
- package/src/components/descope-grid/helpers.js +1 -1
- package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +8 -0
- package/src/components/descope-policy-validation/PolicyValidationClass.js +2 -2
- package/src/components/descope-upload-file/UploadFileClass.js +3 -3
- package/src/components/descope-user-auth-method/UserAuthMethodClass.js +2 -0
- package/src/theme/components/userAuthMethod.js +1 -0
package/dist/index.esm.js
CHANGED
@@ -1918,7 +1918,7 @@ const ButtonClass = compose(
|
|
1918
1918
|
|
1919
1919
|
labelTextColor: { property: 'color' },
|
1920
1920
|
iconColor: {
|
1921
|
-
selector: () => `::slotted(
|
1921
|
+
selector: () => `::slotted(*)`,
|
1922
1922
|
property: IconClass.cssVarList.fill,
|
1923
1923
|
},
|
1924
1924
|
labelTextDecoration: { ...label$a, property: 'text-decoration' },
|
@@ -9082,9 +9082,9 @@ class RawPolicyValidation extends createBaseClass({ componentName: componentName
|
|
9082
9082
|
updateLabel(val) {
|
9083
9083
|
if (!val) {
|
9084
9084
|
this.classList.add('hide-label');
|
9085
|
-
this.label.
|
9085
|
+
this.label.textContent = '';
|
9086
9086
|
} else {
|
9087
|
-
this.label.
|
9087
|
+
this.label.textContent = val;
|
9088
9088
|
this.classList.remove('hide-label');
|
9089
9089
|
}
|
9090
9090
|
}
|
@@ -9933,15 +9933,15 @@ class RawUploadFile extends BaseInputClass$3 {
|
|
9933
9933
|
}
|
9934
9934
|
|
9935
9935
|
updateTitle(val) {
|
9936
|
-
this.title.
|
9936
|
+
this.title.textContent = val;
|
9937
9937
|
}
|
9938
9938
|
|
9939
9939
|
updateDescription(val) {
|
9940
|
-
this.description.
|
9940
|
+
this.description.textContent = val;
|
9941
9941
|
}
|
9942
9942
|
|
9943
9943
|
updateButtonLabel(val) {
|
9944
|
-
this.button.
|
9944
|
+
this.button.textContent = val;
|
9945
9945
|
}
|
9946
9946
|
|
9947
9947
|
updateButtonSize(val) {
|
@@ -11118,7 +11118,7 @@ const renderCodeSnippet = (value, lang) =>
|
|
11118
11118
|
|
11119
11119
|
const renderText = (text) =>
|
11120
11120
|
`<div class="row-details__value text" title="${text}">${text}</div>`;
|
11121
|
-
const renderJson = (value) => renderCodeSnippet(JSON.stringify(value, null, 2), 'json');
|
11121
|
+
const renderJson = (value) => renderCodeSnippet(escapeXML(JSON.stringify(value, null, 2)), 'json');
|
11122
11122
|
const renderXml = (value) => renderCodeSnippet(escapeXML(value), 'xml');
|
11123
11123
|
|
11124
11124
|
const defaultRowDetailsValueRenderer = (value) => {
|
@@ -11758,6 +11758,14 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
11758
11758
|
setGetValidity() {
|
11759
11759
|
// eslint-disable-next-line func-names
|
11760
11760
|
this.getValidity = function () {
|
11761
|
+
if (this.pattern) {
|
11762
|
+
const patternRegex = new RegExp(this.pattern);
|
11763
|
+
if (this.value.some((val) => !patternRegex.test(val)))
|
11764
|
+
return {
|
11765
|
+
patternMismatch: true,
|
11766
|
+
};
|
11767
|
+
}
|
11768
|
+
|
11761
11769
|
if (this.isRequired && !this.value.length) {
|
11762
11770
|
return {
|
11763
11771
|
valueMissing: true,
|
@@ -13651,6 +13659,7 @@ const UserAuthMethodClass = compose(
|
|
13651
13659
|
{ ...methodIconSlot, property: 'width' },
|
13652
13660
|
{ ...methodIconSlot, property: 'height' },
|
13653
13661
|
],
|
13662
|
+
iconColor: [{ selector: () => '::slotted(*)', property: IconClass.cssVarList.fill }],
|
13654
13663
|
},
|
13655
13664
|
}),
|
13656
13665
|
draggableMixin,
|
@@ -17473,6 +17482,7 @@ const userAuthMethod = {
|
|
17473
17482
|
[vars$g.itemsGap]: '16px',
|
17474
17483
|
[vars$g.hostMinWidth]: '530px',
|
17475
17484
|
[vars$g.iconSize]: '24px',
|
17485
|
+
[vars$g.iconColor]: 'currentcolor',
|
17476
17486
|
_fullWidth: {
|
17477
17487
|
[vars$g.hostWidth]: '100%',
|
17478
17488
|
},
|