@descope/web-components-ui 3.3.2 → 3.3.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/dist/cjs/index.cjs.js +45 -12
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +45 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/9582.js +1 -1
- package/dist/umd/9582.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
- package/dist/umd/descope-alert-index-js.js +1 -1
- package/dist/umd/descope-alert-index-js.js.map +1 -1
- package/dist/umd/descope-button.js +1 -1
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -1
- package/dist/umd/descope-enriched-text.js +1 -1
- package/dist/umd/descope-enriched-text.js.map +1 -1
- package/dist/umd/descope-link.js +1 -1
- package/dist/umd/descope-link.js.map +1 -1
- package/dist/umd/descope-outbound-app-button.js +1 -1
- package/dist/umd/descope-outbound-app-button.js.map +1 -1
- package/dist/umd/descope-outbound-apps.js +1 -1
- package/dist/umd/descope-outbound-apps.js.map +1 -1
- package/dist/umd/descope-timer-button.js +1 -1
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-tooltip.js +1 -1
- package/dist/umd/descope-tooltip.js.map +1 -1
- package/dist/umd/descope-trusted-devices.js +1 -1
- package/dist/umd/descope-trusted-devices.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/package.json +32 -32
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3308,6 +3308,7 @@ const ButtonClass = compose(
|
|
|
3308
3308
|
hostDirection: { ...host$x, property: 'direction' },
|
|
3309
3309
|
fontSize: {},
|
|
3310
3310
|
fontFamily: {},
|
|
3311
|
+
fontWeight: {},
|
|
3311
3312
|
|
|
3312
3313
|
cursor: {},
|
|
3313
3314
|
backgroundColor: {},
|
|
@@ -3322,7 +3323,10 @@ const ButtonClass = compose(
|
|
|
3322
3323
|
borderStyle: {},
|
|
3323
3324
|
borderWidth: {},
|
|
3324
3325
|
|
|
3325
|
-
verticalPadding: [
|
|
3326
|
+
verticalPadding: [
|
|
3327
|
+
{ property: 'padding-top' },
|
|
3328
|
+
{ property: 'padding-bottom' },
|
|
3329
|
+
],
|
|
3326
3330
|
horizontalPadding: [
|
|
3327
3331
|
{ property: 'padding-right', fallback: '0.875em' },
|
|
3328
3332
|
{ property: 'padding-left', fallback: '0.875em' },
|
|
@@ -3330,9 +3334,9 @@ const ButtonClass = compose(
|
|
|
3330
3334
|
|
|
3331
3335
|
labelTextColor: { property: 'color' },
|
|
3332
3336
|
iconColor: {
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3337
|
+
selector: () => `::slotted(*)`,
|
|
3338
|
+
property: IconClass.cssVarList.fill,
|
|
3339
|
+
},
|
|
3336
3340
|
labelTextDecoration: { ...label$a, property: 'text-decoration' },
|
|
3337
3341
|
labelSpacing: { ...label$a, property: 'gap' },
|
|
3338
3342
|
textAlign: { ...label$a, property: 'justify-content', fallback: 'center' },
|
|
@@ -3345,7 +3349,7 @@ const ButtonClass = compose(
|
|
|
3345
3349
|
}),
|
|
3346
3350
|
clickableMixin,
|
|
3347
3351
|
draggableMixin$1,
|
|
3348
|
-
componentNameValidationMixin$1
|
|
3352
|
+
componentNameValidationMixin$1,
|
|
3349
3353
|
)(
|
|
3350
3354
|
createProxy$1({
|
|
3351
3355
|
slots: ['', 'prefix', 'label', 'suffix'],
|
|
@@ -3371,7 +3375,7 @@ const ButtonClass = compose(
|
|
|
3371
3375
|
`,
|
|
3372
3376
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
3373
3377
|
componentName: componentName$1i,
|
|
3374
|
-
})
|
|
3378
|
+
}),
|
|
3375
3379
|
);
|
|
3376
3380
|
|
|
3377
3381
|
const { color, fontSize } = ButtonClass.cssVarList;
|
|
@@ -3418,12 +3422,16 @@ const mode = {
|
|
|
3418
3422
|
surface: globalRefs$H.colors.surface,
|
|
3419
3423
|
};
|
|
3420
3424
|
|
|
3421
|
-
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
|
|
3425
|
+
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
|
|
3426
|
+
{ mode },
|
|
3427
|
+
componentName$1i,
|
|
3428
|
+
);
|
|
3422
3429
|
|
|
3423
3430
|
const button = {
|
|
3424
3431
|
...helperTheme$7,
|
|
3425
3432
|
|
|
3426
3433
|
[compVars$9.fontFamily]: globalRefs$H.fonts.font1.family,
|
|
3434
|
+
[compVars$9.fontWeight]: '400',
|
|
3427
3435
|
|
|
3428
3436
|
[compVars$9.cursor]: 'pointer',
|
|
3429
3437
|
[compVars$9.hostHeight]: '3em',
|
|
@@ -3946,7 +3954,16 @@ const EnrichedTextClass = compose(
|
|
|
3946
3954
|
|
|
3947
3955
|
const componentName$1f = getComponentName('link');
|
|
3948
3956
|
|
|
3949
|
-
|
|
3957
|
+
const observedAttrs$6 = ['href', 'readonly'];
|
|
3958
|
+
|
|
3959
|
+
class RawLink extends createBaseClass$1({
|
|
3960
|
+
componentName: componentName$1f,
|
|
3961
|
+
baseSelector: ':host a',
|
|
3962
|
+
}) {
|
|
3963
|
+
static get observedAttributes() {
|
|
3964
|
+
return observedAttrs$6.concat(super.observedAttributes || []);
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3950
3967
|
constructor() {
|
|
3951
3968
|
super();
|
|
3952
3969
|
|
|
@@ -3979,10 +3996,12 @@ class RawLink extends createBaseClass$1({ componentName: componentName$1f, baseS
|
|
|
3979
3996
|
white-space: nowrap;
|
|
3980
3997
|
}
|
|
3981
3998
|
`,
|
|
3982
|
-
this
|
|
3999
|
+
this,
|
|
3983
4000
|
);
|
|
3984
4001
|
|
|
3985
|
-
|
|
4002
|
+
this.anchor = this.shadowRoot.querySelector('a');
|
|
4003
|
+
|
|
4004
|
+
forwardAttrs(this, this.anchor, {
|
|
3986
4005
|
includeAttrs: ['href', 'target', 'tooltip'],
|
|
3987
4006
|
mapAttrs: {
|
|
3988
4007
|
tooltip: 'title',
|
|
@@ -3992,6 +4011,16 @@ class RawLink extends createBaseClass$1({ componentName: componentName$1f, baseS
|
|
|
3992
4011
|
forwardAttrs(this, this.shadowRoot.querySelector('descope-text'), {
|
|
3993
4012
|
includeAttrs: ['mode', 'variant'],
|
|
3994
4013
|
});
|
|
4014
|
+
|
|
4015
|
+
this.anchor.addEventListener('click', (e) => {
|
|
4016
|
+
if (this.readOnly) {
|
|
4017
|
+
e.preventDefault();
|
|
4018
|
+
}
|
|
4019
|
+
});
|
|
4020
|
+
}
|
|
4021
|
+
|
|
4022
|
+
get readOnly() {
|
|
4023
|
+
return this.getAttribute('readonly') === 'true';
|
|
3995
4024
|
}
|
|
3996
4025
|
}
|
|
3997
4026
|
|
|
@@ -4011,7 +4040,11 @@ const LinkClass = compose(
|
|
|
4011
4040
|
hostWidth: { ...host$v, property: 'width' },
|
|
4012
4041
|
hostDirection: { ...text$2, property: 'direction' },
|
|
4013
4042
|
textAlign: wrapper$1,
|
|
4014
|
-
textDecoration: {
|
|
4043
|
+
textDecoration: {
|
|
4044
|
+
...link$3,
|
|
4045
|
+
property: 'text-decoration',
|
|
4046
|
+
fallback: 'none',
|
|
4047
|
+
},
|
|
4015
4048
|
textColor: [
|
|
4016
4049
|
{ ...anchor, property: 'color' },
|
|
4017
4050
|
{ ...text$2, property: TextClass.cssVarList.textColor },
|
|
@@ -4020,7 +4053,7 @@ const LinkClass = compose(
|
|
|
4020
4053
|
},
|
|
4021
4054
|
}),
|
|
4022
4055
|
draggableMixin$1,
|
|
4023
|
-
componentNameValidationMixin$1
|
|
4056
|
+
componentNameValidationMixin$1,
|
|
4024
4057
|
)(RawLink);
|
|
4025
4058
|
|
|
4026
4059
|
const globalRefs$F = getThemeRefs$1(globals);
|