@descope/web-components-ui 3.3.5 → 3.4.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 +215 -11
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +215 -11
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/3685.js +1 -1
- package/dist/umd/3685.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-date-field-index-js.js +1 -1
- package/dist/umd/descope-date-field-index-js.js.map +1 -1
- package/dist/umd/descope-email-field-index-js.js +4 -4
- package/dist/umd/descope-email-field-index-js.js.map +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js +1 -1
- package/dist/umd/descope-hybrid-field-index-js.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-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js.map +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js.map +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js.map +1 -1
- package/dist/umd/descope-passcode-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js.map +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js.map +1 -1
- package/dist/umd/descope-radio-group-index-js.js +1 -1
- package/dist/umd/descope-radio-group-index-js.js.map +1 -1
- package/dist/umd/descope-security-questions-setup-index-js.js +1 -1
- package/dist/umd/descope-security-questions-setup-index-js.js.map +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js.map +1 -1
- package/dist/umd/descope-text-field-index-js.js +1 -1
- package/dist/umd/descope-text-field-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/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js.map +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.map +1 -1
- package/package.json +32 -32
- package/src/components/descope-date-field/DateFieldClass.js +20 -0
- package/src/components/descope-hybrid-field/HybridFieldClass.js +50 -0
- package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +4 -0
- package/src/components/descope-new-password/NewPasswordClass.js +10 -0
- package/src/components/descope-passcode/PasscodeClass.js +6 -0
- package/src/components/descope-password/PasswordClass.js +10 -0
- package/src/components/descope-text-area/TextAreaClass.js +6 -0
- package/src/components/descope-text-field/textFieldMappings.js +11 -0
- package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +9 -0
- package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +4 -0
- package/src/theme/components/dateField.js +6 -0
- package/src/theme/components/emailField.js +4 -0
- package/src/theme/components/hybridField.js +5 -0
- package/src/theme/components/inputWrapper.js +4 -0
- package/src/theme/components/multiSelectComboBox.js +4 -0
- package/src/theme/components/newPassword.js +4 -0
- package/src/theme/components/numberField.js +4 -0
- package/src/theme/components/passcode.js +3 -0
- package/src/theme/components/password.js +4 -0
- package/src/theme/components/phoneField.js +6 -0
- package/src/theme/components/phoneInputBoxField.js +4 -0
- package/src/theme/components/textArea.js +6 -0
- package/src/theme/components/textField.js +4 -0
package/dist/index.esm.js
CHANGED
|
@@ -5277,7 +5277,7 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5277
5277
|
return ['label-type', 'require-match'];
|
|
5278
5278
|
}
|
|
5279
5279
|
|
|
5280
|
-
|
|
5280
|
+
|
|
5281
5281
|
#renderItem = ({ displayName, value, label }) => {
|
|
5282
5282
|
return `<span data-name="${label}" data-id="${value}">${
|
|
5283
5283
|
displayName || label
|
|
@@ -5328,7 +5328,7 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5328
5328
|
return data;
|
|
5329
5329
|
}
|
|
5330
5330
|
} catch (e) {
|
|
5331
|
-
|
|
5331
|
+
|
|
5332
5332
|
console.error(
|
|
5333
5333
|
'could not parse data string from attribute "data" -',
|
|
5334
5334
|
e.message,
|
|
@@ -5347,14 +5347,16 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5347
5347
|
}
|
|
5348
5348
|
|
|
5349
5349
|
get requireMatch() {
|
|
5350
|
-
return
|
|
5350
|
+
return (
|
|
5351
|
+
this.getAttribute('require-match') === 'true' && !this.allowCustomValue
|
|
5352
|
+
);
|
|
5351
5353
|
}
|
|
5352
5354
|
|
|
5353
|
-
|
|
5355
|
+
|
|
5354
5356
|
isValidDataType(data) {
|
|
5355
5357
|
const isValid = Array.isArray(data);
|
|
5356
5358
|
if (!isValid) {
|
|
5357
|
-
|
|
5359
|
+
|
|
5358
5360
|
console.error('data must be an array, received:', data);
|
|
5359
5361
|
}
|
|
5360
5362
|
|
|
@@ -5403,7 +5405,7 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5403
5405
|
}
|
|
5404
5406
|
}
|
|
5405
5407
|
|
|
5406
|
-
|
|
5408
|
+
|
|
5407
5409
|
customValueTransformFn(val) {
|
|
5408
5410
|
return val;
|
|
5409
5411
|
}
|
|
@@ -5488,7 +5490,7 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5488
5490
|
// and not via default renderer, which renders only the data-name's value
|
|
5489
5491
|
// in its own HTML template
|
|
5490
5492
|
this.baseElement.renderer = (root, combo, model) => {
|
|
5491
|
-
|
|
5493
|
+
|
|
5492
5494
|
root.innerHTML = model.item.outerHTML;
|
|
5493
5495
|
};
|
|
5494
5496
|
}
|
|
@@ -5506,7 +5508,9 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5506
5508
|
const val = this.baseElement.querySelector('input').value;
|
|
5507
5509
|
|
|
5508
5510
|
if (val) {
|
|
5509
|
-
return this.baseElement.items.some(
|
|
5511
|
+
return this.baseElement.items.some(
|
|
5512
|
+
(item) => item.dataset.name === val || item.dataset.id === val,
|
|
5513
|
+
);
|
|
5510
5514
|
}
|
|
5511
5515
|
|
|
5512
5516
|
return true;
|
|
@@ -5515,7 +5519,7 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5515
5519
|
init() {
|
|
5516
5520
|
super.init?.();
|
|
5517
5521
|
|
|
5518
|
-
|
|
5522
|
+
|
|
5519
5523
|
this.getValidity = function () {
|
|
5520
5524
|
if (this.requireMatch && !this.isValueMatch()) {
|
|
5521
5525
|
return {
|
|
@@ -5581,7 +5585,8 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5581
5585
|
}
|
|
5582
5586
|
|
|
5583
5587
|
handleRequireMatchChange(shouldValidate) {
|
|
5584
|
-
this.baseElement.allowCustomValue =
|
|
5588
|
+
this.baseElement.allowCustomValue =
|
|
5589
|
+
shouldValidate || this.allowCustomValue;
|
|
5585
5590
|
}
|
|
5586
5591
|
|
|
5587
5592
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
@@ -5693,6 +5698,10 @@ const ComboBoxClass = compose$1(
|
|
|
5693
5698
|
fontFamily: [label$a, placeholder$3, inputField$6, helperText$8, errorMessage$b],
|
|
5694
5699
|
labelFontSize: { ...label$a, property: 'font-size' },
|
|
5695
5700
|
labelFontWeight: { ...label$a, property: 'font-weight' },
|
|
5701
|
+
inputValueFontWeight: { ...inputField$6, property: 'font-weight' },
|
|
5702
|
+
inputPlaceholderFontWeight: { ...placeholder$3, property: 'font-weight' },
|
|
5703
|
+
helperTextFontWeight: { ...helperText$8, property: 'font-weight' },
|
|
5704
|
+
errorMessageFontWeight: { ...errorMessage$b, property: 'font-weight' },
|
|
5696
5705
|
labelTextColor: [
|
|
5697
5706
|
{ ...label$a, property: 'color' },
|
|
5698
5707
|
{ ...label$a, property: '-webkit-text-fill-color' },
|
|
@@ -7390,6 +7399,17 @@ var textFieldMappings = {
|
|
|
7390
7399
|
labelFontSize: { ...label$8, property: 'font-size' },
|
|
7391
7400
|
labelFontWeight: { ...label$8, property: 'font-weight' },
|
|
7392
7401
|
|
|
7402
|
+
inputValueFontWeight: [
|
|
7403
|
+
{ ...input$1, property: 'font-weight' },
|
|
7404
|
+
{ ...externalInput, property: 'font-weight' },
|
|
7405
|
+
],
|
|
7406
|
+
inputPlaceholderFontWeight: [
|
|
7407
|
+
{ selector: () => ':host input:placeholder-shown', property: 'font-weight' },
|
|
7408
|
+
{ ...externalPlaceholder, property: 'font-weight' },
|
|
7409
|
+
],
|
|
7410
|
+
helperTextFontWeight: { ...helperText$7, property: 'font-weight' },
|
|
7411
|
+
errorMessageFontWeight: { ...errorMessage$a, property: 'font-weight' },
|
|
7412
|
+
|
|
7393
7413
|
labelTextColor: [
|
|
7394
7414
|
{ ...label$8, property: 'color' },
|
|
7395
7415
|
{ ...requiredIndicator$8, property: 'color' },
|
|
@@ -8650,6 +8670,26 @@ const DateFieldClass = compose(
|
|
|
8650
8670
|
selector: TextFieldClass.componentName,
|
|
8651
8671
|
property: TextFieldClass.cssVarList.errorMessageFontSize,
|
|
8652
8672
|
},
|
|
8673
|
+
labelFontWeight: {
|
|
8674
|
+
selector: TextFieldClass.componentName,
|
|
8675
|
+
property: TextFieldClass.cssVarList.labelFontWeight,
|
|
8676
|
+
},
|
|
8677
|
+
inputValueFontWeight: {
|
|
8678
|
+
selector: TextFieldClass.componentName,
|
|
8679
|
+
property: TextFieldClass.cssVarList.inputValueFontWeight,
|
|
8680
|
+
},
|
|
8681
|
+
inputPlaceholderFontWeight: {
|
|
8682
|
+
selector: TextFieldClass.componentName,
|
|
8683
|
+
property: TextFieldClass.cssVarList.inputPlaceholderFontWeight,
|
|
8684
|
+
},
|
|
8685
|
+
helperTextFontWeight: {
|
|
8686
|
+
selector: TextFieldClass.componentName,
|
|
8687
|
+
property: TextFieldClass.cssVarList.helperTextFontWeight,
|
|
8688
|
+
},
|
|
8689
|
+
errorMessageFontWeight: {
|
|
8690
|
+
selector: TextFieldClass.componentName,
|
|
8691
|
+
property: TextFieldClass.cssVarList.errorMessageFontWeight,
|
|
8692
|
+
},
|
|
8653
8693
|
},
|
|
8654
8694
|
}),
|
|
8655
8695
|
portalMixin({
|
|
@@ -9325,6 +9365,12 @@ const PasscodeClass = compose(
|
|
|
9325
9365
|
hostWidth: { property: 'width' },
|
|
9326
9366
|
hostDirection: { ...host$n, property: 'direction' },
|
|
9327
9367
|
fontFamily: [host$n, { ...label$7 }],
|
|
9368
|
+
labelFontWeight: { ...label$7, property: 'font-weight' },
|
|
9369
|
+
errorMessageFontWeight: { ...errorMessage$9, property: 'font-weight' },
|
|
9370
|
+
digitValueFontWeight: {
|
|
9371
|
+
selector: TextFieldClass.componentName,
|
|
9372
|
+
property: textVars$3.inputValueFontWeight,
|
|
9373
|
+
},
|
|
9328
9374
|
labelTextColor: [
|
|
9329
9375
|
{ ...label$7, property: 'color' },
|
|
9330
9376
|
{ ...label$7, property: '-webkit-text-fill-color' },
|
|
@@ -9650,6 +9696,16 @@ const PasswordClass = compose(
|
|
|
9650
9696
|
|
|
9651
9697
|
labelFontSize: { ...label$6, property: 'font-size' },
|
|
9652
9698
|
labelFontWeight: { ...label$6, property: 'font-weight' },
|
|
9699
|
+
inputValueFontWeight: [
|
|
9700
|
+
{ ...inputElement$2, property: 'font-weight' },
|
|
9701
|
+
{ selector: () => ':host ::slotted(input)', property: 'font-weight' },
|
|
9702
|
+
],
|
|
9703
|
+
inputPlaceholderFontWeight: [
|
|
9704
|
+
{ ...inputElementPlaceholder, property: 'font-weight' },
|
|
9705
|
+
{ selector: () => ':host ::slotted(input:placeholder-shown)', property: 'font-weight' },
|
|
9706
|
+
],
|
|
9707
|
+
helperTextFontWeight: { ...helperText$6, property: 'font-weight' },
|
|
9708
|
+
errorMessageFontWeight: { ...errorMessage$8, property: 'font-weight' },
|
|
9653
9709
|
labelTextColor: [
|
|
9654
9710
|
{ ...label$6, property: 'color' },
|
|
9655
9711
|
{ ...label$6, property: '-webkit-text-fill-color' },
|
|
@@ -9811,6 +9867,12 @@ const TextAreaClass = compose(
|
|
|
9811
9867
|
hostDirection: { ...host$l, property: 'direction' },
|
|
9812
9868
|
fontSize: [host$l, textArea$2],
|
|
9813
9869
|
fontFamily: [label$5, inputField$3, helperText$5, errorMessage$7],
|
|
9870
|
+
labelFontSize: { ...label$5, property: 'font-size' },
|
|
9871
|
+
labelFontWeight: { ...label$5, property: 'font-weight' },
|
|
9872
|
+
inputValueFontWeight: { ...textArea$2, property: 'font-weight' },
|
|
9873
|
+
inputPlaceholderFontWeight: { ...placeholder$1, property: 'font-weight' },
|
|
9874
|
+
helperTextFontWeight: { ...helperText$5, property: 'font-weight' },
|
|
9875
|
+
errorMessageFontWeight: { ...errorMessage$7, property: 'font-weight' },
|
|
9814
9876
|
labelTextColor: [
|
|
9815
9877
|
{ ...label$5, property: 'color' },
|
|
9816
9878
|
{ ...label$5, property: '-webkit-text-fill-color' },
|
|
@@ -11640,6 +11702,15 @@ const PhoneFieldClass = compose(
|
|
|
11640
11702
|
{ ...countryCodeInput, property: 'padding-right' },
|
|
11641
11703
|
],
|
|
11642
11704
|
|
|
11705
|
+
labelFontSize: { ...label$4, property: 'font-size' },
|
|
11706
|
+
labelFontWeight: { ...label$4, property: 'font-weight' },
|
|
11707
|
+
inputValueFontWeight: [
|
|
11708
|
+
{ ...phoneInput$1, property: textVars$2.inputValueFontWeight },
|
|
11709
|
+
{ ...countryCodeInput, property: comboVars.inputValueFontWeight },
|
|
11710
|
+
],
|
|
11711
|
+
inputPlaceholderFontWeight: { ...phoneInput$1, property: textVars$2.inputPlaceholderFontWeight },
|
|
11712
|
+
helperTextFontWeight: { ...helperText$4, property: 'font-weight' },
|
|
11713
|
+
errorMessageFontWeight: { ...errorMessage$6, property: 'font-weight' },
|
|
11643
11714
|
labelTextColor: [
|
|
11644
11715
|
{ ...label$4, property: 'color' },
|
|
11645
11716
|
{ ...label$4, property: '-webkit-text-fill-color' },
|
|
@@ -12176,6 +12247,10 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
12176
12247
|
|
|
12177
12248
|
labelFontSize: { ...label$3, property: 'font-size' },
|
|
12178
12249
|
labelFontWeight: { ...label$3, property: 'font-weight' },
|
|
12250
|
+
inputValueFontWeight: { ...phoneInput, property: textVars$1.inputValueFontWeight },
|
|
12251
|
+
inputPlaceholderFontWeight: { ...phoneInput, property: textVars$1.inputPlaceholderFontWeight },
|
|
12252
|
+
helperTextFontWeight: { ...helperText$3, property: 'font-weight' },
|
|
12253
|
+
errorMessageFontWeight: { ...errorMessage$5, property: 'font-weight' },
|
|
12179
12254
|
labelTextColor: [
|
|
12180
12255
|
{ ...label$3, property: 'color' },
|
|
12181
12256
|
{ ...label$3, property: '-webkit-text-fill-color' },
|
|
@@ -12717,6 +12792,16 @@ const NewPasswordClass = compose(
|
|
|
12717
12792
|
fontFamily: [label$2, errorMessage$4, helperText$2],
|
|
12718
12793
|
labelFontSize: { ...label$2, property: 'font-size' },
|
|
12719
12794
|
labelFontWeight: { ...label$2, property: 'font-weight' },
|
|
12795
|
+
inputValueFontWeight: {
|
|
12796
|
+
...passwordInput,
|
|
12797
|
+
property: PasswordClass.cssVarList.inputValueFontWeight,
|
|
12798
|
+
},
|
|
12799
|
+
inputPlaceholderFontWeight: {
|
|
12800
|
+
...passwordInput,
|
|
12801
|
+
property: PasswordClass.cssVarList.inputPlaceholderFontWeight,
|
|
12802
|
+
},
|
|
12803
|
+
helperTextFontWeight: { ...helperText$2, property: 'font-weight' },
|
|
12804
|
+
errorMessageFontWeight: { ...errorMessage$4, property: 'font-weight' },
|
|
12720
12805
|
labelTextColor: { ...label$2, property: 'color' },
|
|
12721
12806
|
errorMessageTextColor: { ...errorMessage$4, property: 'color' },
|
|
12722
12807
|
errorMessageIcon: { ...errorMessage$4, property: 'background-image' },
|
|
@@ -15728,6 +15813,10 @@ const MultiSelectComboBoxClass = compose(
|
|
|
15728
15813
|
fontFamily: [label, placeholder, inputField, helperText$1, errorMessage$2, chipLabel],
|
|
15729
15814
|
labelFontSize: { ...label, property: 'font-size' },
|
|
15730
15815
|
labelFontWeight: { ...label, property: 'font-weight' },
|
|
15816
|
+
inputValueFontWeight: { ...inputField, property: 'font-weight' },
|
|
15817
|
+
inputPlaceholderFontWeight: { ...placeholder, property: 'font-weight' },
|
|
15818
|
+
helperTextFontWeight: { ...helperText$1, property: 'font-weight' },
|
|
15819
|
+
errorMessageFontWeight: { ...errorMessage$2, property: 'font-weight' },
|
|
15731
15820
|
labelTextColor: [
|
|
15732
15821
|
{ ...label, property: 'color' },
|
|
15733
15822
|
{ ...requiredIndicator, property: 'color' },
|
|
@@ -19438,6 +19527,56 @@ const HybridFieldClass = compose(
|
|
|
19438
19527
|
property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontSize,
|
|
19439
19528
|
},
|
|
19440
19529
|
],
|
|
19530
|
+
labelFontWeight: [
|
|
19531
|
+
{
|
|
19532
|
+
selector: () => PhoneFieldClass.componentName,
|
|
19533
|
+
property: PhoneFieldClass.cssVarList.labelFontWeight,
|
|
19534
|
+
},
|
|
19535
|
+
{
|
|
19536
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
19537
|
+
property: PhoneFieldInputBoxClass.cssVarList.labelFontWeight,
|
|
19538
|
+
},
|
|
19539
|
+
],
|
|
19540
|
+
inputValueFontWeight: [
|
|
19541
|
+
{
|
|
19542
|
+
selector: () => PhoneFieldClass.componentName,
|
|
19543
|
+
property: PhoneFieldClass.cssVarList.inputValueFontWeight,
|
|
19544
|
+
},
|
|
19545
|
+
{
|
|
19546
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
19547
|
+
property: PhoneFieldInputBoxClass.cssVarList.inputValueFontWeight,
|
|
19548
|
+
},
|
|
19549
|
+
],
|
|
19550
|
+
inputPlaceholderFontWeight: [
|
|
19551
|
+
{
|
|
19552
|
+
selector: () => PhoneFieldClass.componentName,
|
|
19553
|
+
property: PhoneFieldClass.cssVarList.inputPlaceholderFontWeight,
|
|
19554
|
+
},
|
|
19555
|
+
{
|
|
19556
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
19557
|
+
property: PhoneFieldInputBoxClass.cssVarList.inputPlaceholderFontWeight,
|
|
19558
|
+
},
|
|
19559
|
+
],
|
|
19560
|
+
helperTextFontWeight: [
|
|
19561
|
+
{
|
|
19562
|
+
selector: () => PhoneFieldClass.componentName,
|
|
19563
|
+
property: PhoneFieldClass.cssVarList.helperTextFontWeight,
|
|
19564
|
+
},
|
|
19565
|
+
{
|
|
19566
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
19567
|
+
property: PhoneFieldInputBoxClass.cssVarList.helperTextFontWeight,
|
|
19568
|
+
},
|
|
19569
|
+
],
|
|
19570
|
+
errorMessageFontWeight: [
|
|
19571
|
+
{
|
|
19572
|
+
selector: () => PhoneFieldClass.componentName,
|
|
19573
|
+
property: PhoneFieldClass.cssVarList.errorMessageFontWeight,
|
|
19574
|
+
},
|
|
19575
|
+
{
|
|
19576
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
19577
|
+
property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontWeight,
|
|
19578
|
+
},
|
|
19579
|
+
],
|
|
19441
19580
|
},
|
|
19442
19581
|
}),
|
|
19443
19582
|
draggableMixin,
|
|
@@ -20396,6 +20535,10 @@ const [theme$2, refs$1] = createHelperVars$1(
|
|
|
20396
20535
|
labelTextColor: globalRefs$D.colors.surface.dark,
|
|
20397
20536
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
20398
20537
|
labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
|
|
20538
|
+
inputValueFontWeight: '400',
|
|
20539
|
+
inputPlaceholderFontWeight: '400',
|
|
20540
|
+
helperTextFontWeight: '400',
|
|
20541
|
+
errorMessageFontWeight: '400',
|
|
20399
20542
|
valueTextColor: globalRefs$D.colors.surface.contrast,
|
|
20400
20543
|
placeholderTextColor: globalRefs$D.colors.surface.dark,
|
|
20401
20544
|
requiredIndicator: "'*'",
|
|
@@ -20435,7 +20578,6 @@ const [theme$2, refs$1] = createHelperVars$1(
|
|
|
20435
20578
|
errorMessageIconPosition: '0 0.4em',
|
|
20436
20579
|
errorMessageFontSize: '0.8125rem',
|
|
20437
20580
|
errorMessageIconRepeat: 'no-repeat',
|
|
20438
|
-
errorMessageIconRepeat: 'no-repeat',
|
|
20439
20581
|
|
|
20440
20582
|
size: {
|
|
20441
20583
|
xs: { fontSize: '12px', chipFontSize: '10px' },
|
|
@@ -20524,6 +20666,10 @@ const comboBox = {
|
|
|
20524
20666
|
[vars$11.fontFamily]: refs$1.fontFamily,
|
|
20525
20667
|
[vars$11.labelFontSize]: refs$1.labelFontSize,
|
|
20526
20668
|
[vars$11.labelFontWeight]: refs$1.labelFontWeight,
|
|
20669
|
+
[vars$11.inputValueFontWeight]: refs$1.inputValueFontWeight,
|
|
20670
|
+
[vars$11.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
|
|
20671
|
+
[vars$11.helperTextFontWeight]: refs$1.helperTextFontWeight,
|
|
20672
|
+
[vars$11.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
20527
20673
|
[vars$11.labelTextColor]: refs$1.labelTextColor,
|
|
20528
20674
|
[vars$11.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
20529
20675
|
[vars$11.inputBorderColor]: refs$1.borderColor,
|
|
@@ -25713,6 +25859,10 @@ const [theme$1, refs, vars$I] = createHelperVars(
|
|
|
25713
25859
|
labelTextColor: globalRefs$p.colors.surface.dark,
|
|
25714
25860
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
25715
25861
|
labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
|
|
25862
|
+
inputValueFontWeight: '400',
|
|
25863
|
+
inputPlaceholderFontWeight: '400',
|
|
25864
|
+
helperTextFontWeight: '400',
|
|
25865
|
+
errorMessageFontWeight: '400',
|
|
25716
25866
|
valueTextColor: globalRefs$p.colors.surface.contrast,
|
|
25717
25867
|
placeholderTextColor: globalRefs$p.colors.surface.dark,
|
|
25718
25868
|
requiredIndicator: "'*'",
|
|
@@ -25852,6 +26002,10 @@ const textField = {
|
|
|
25852
26002
|
[vars$H.fontFamily]: refs.fontFamily,
|
|
25853
26003
|
[vars$H.labelFontSize]: refs.labelFontSize,
|
|
25854
26004
|
[vars$H.labelFontWeight]: refs.labelFontWeight,
|
|
26005
|
+
[vars$H.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26006
|
+
[vars$H.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26007
|
+
[vars$H.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26008
|
+
[vars$H.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
25855
26009
|
[vars$H.labelTextColor]: refs.labelTextColor,
|
|
25856
26010
|
[vars$H.labelRequiredIndicator]: refs.requiredIndicator,
|
|
25857
26011
|
[vars$H.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -25919,6 +26073,10 @@ const password = {
|
|
|
25919
26073
|
[vars$G.fontFamily]: refs.fontFamily,
|
|
25920
26074
|
[vars$G.labelFontSize]: refs.labelFontSize,
|
|
25921
26075
|
[vars$G.labelFontWeight]: refs.labelFontWeight,
|
|
26076
|
+
[vars$G.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26077
|
+
[vars$G.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26078
|
+
[vars$G.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26079
|
+
[vars$G.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
25922
26080
|
[vars$G.labelTextColor]: refs.labelTextColor,
|
|
25923
26081
|
[vars$G.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
25924
26082
|
[vars$G.inputHorizontalPadding]: refs.horizontalPadding,
|
|
@@ -25973,6 +26131,10 @@ const numberField = {
|
|
|
25973
26131
|
[vars$F.fontFamily]: refs.fontFamily,
|
|
25974
26132
|
[vars$F.labelFontSize]: refs.labelFontSize,
|
|
25975
26133
|
[vars$F.labelFontWeight]: refs.labelFontWeight,
|
|
26134
|
+
[vars$F.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26135
|
+
[vars$F.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26136
|
+
[vars$F.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26137
|
+
[vars$F.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
25976
26138
|
[vars$F.labelTextColor]: refs.labelTextColor,
|
|
25977
26139
|
[vars$F.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
25978
26140
|
[vars$F.inputValueTextColor]: refs.valueTextColor,
|
|
@@ -26025,6 +26187,10 @@ const emailField = {
|
|
|
26025
26187
|
[vars$E.fontFamily]: refs.fontFamily,
|
|
26026
26188
|
[vars$E.labelFontSize]: refs.labelFontSize,
|
|
26027
26189
|
[vars$E.labelFontWeight]: refs.labelFontWeight,
|
|
26190
|
+
[vars$E.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26191
|
+
[vars$E.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26192
|
+
[vars$E.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26193
|
+
[vars$E.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
26028
26194
|
[vars$E.labelTextColor]: refs.labelTextColor,
|
|
26029
26195
|
[vars$E.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
26030
26196
|
[vars$E.inputValueTextColor]: refs.valueTextColor,
|
|
@@ -26075,6 +26241,12 @@ const textArea = {
|
|
|
26075
26241
|
[vars$D.hostDirection]: refs.direction,
|
|
26076
26242
|
[vars$D.fontSize]: refs.fontSize,
|
|
26077
26243
|
[vars$D.fontFamily]: refs.fontFamily,
|
|
26244
|
+
[vars$D.labelFontSize]: refs.labelFontSize,
|
|
26245
|
+
[vars$D.labelFontWeight]: refs.labelFontWeight,
|
|
26246
|
+
[vars$D.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26247
|
+
[vars$D.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26248
|
+
[vars$D.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26249
|
+
[vars$D.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
26078
26250
|
[vars$D.labelTextColor]: refs.labelTextColor,
|
|
26079
26251
|
[vars$D.labelRequiredIndicator]: refs.requiredIndicator,
|
|
26080
26252
|
[vars$D.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -26463,8 +26635,11 @@ const passcode = {
|
|
|
26463
26635
|
[vars$v.fontSize]: refs.fontSize,
|
|
26464
26636
|
[vars$v.labelTextColor]: refs.labelTextColor,
|
|
26465
26637
|
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
|
26638
|
+
[vars$v.labelFontWeight]: refs.labelFontWeight,
|
|
26466
26639
|
[vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
26640
|
+
[vars$v.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
26467
26641
|
[vars$v.digitValueTextColor]: refs.valueTextColor,
|
|
26642
|
+
[vars$v.digitValueFontWeight]: refs.inputValueFontWeight,
|
|
26468
26643
|
[vars$v.digitPadding]: '0',
|
|
26469
26644
|
[vars$v.digitTextAlign]: 'center',
|
|
26470
26645
|
[vars$v.digitSpacing]: '4px',
|
|
@@ -26611,6 +26786,12 @@ const phoneField = {
|
|
|
26611
26786
|
[vars$s.hostDirection]: refs.direction,
|
|
26612
26787
|
[vars$s.fontSize]: refs.fontSize,
|
|
26613
26788
|
[vars$s.fontFamily]: refs.fontFamily,
|
|
26789
|
+
[vars$s.labelFontSize]: refs.labelFontSize,
|
|
26790
|
+
[vars$s.labelFontWeight]: refs.labelFontWeight,
|
|
26791
|
+
[vars$s.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26792
|
+
[vars$s.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26793
|
+
[vars$s.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26794
|
+
[vars$s.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
26614
26795
|
[vars$s.labelTextColor]: refs.labelTextColor,
|
|
26615
26796
|
[vars$s.labelRequiredIndicator]: refs.requiredIndicator,
|
|
26616
26797
|
[vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -26656,6 +26837,10 @@ const phoneInputBoxField = {
|
|
|
26656
26837
|
[vars$r.fontFamily]: refs.fontFamily,
|
|
26657
26838
|
[vars$r.labelFontSize]: refs.labelFontSize,
|
|
26658
26839
|
[vars$r.labelFontWeight]: refs.labelFontWeight,
|
|
26840
|
+
[vars$r.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26841
|
+
[vars$r.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26842
|
+
[vars$r.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26843
|
+
[vars$r.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
26659
26844
|
[vars$r.labelTextColor]: refs.labelTextColor,
|
|
26660
26845
|
[vars$r.labelRequiredIndicator]: refs.requiredIndicator,
|
|
26661
26846
|
[vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -26709,6 +26894,10 @@ const newPassword = {
|
|
|
26709
26894
|
[vars$q.fontFamily]: refs.fontFamily,
|
|
26710
26895
|
[vars$q.labelFontSize]: refs.labelFontSize,
|
|
26711
26896
|
[vars$q.labelFontWeight]: refs.labelFontWeight,
|
|
26897
|
+
[vars$q.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
26898
|
+
[vars$q.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
26899
|
+
[vars$q.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
26900
|
+
[vars$q.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
26712
26901
|
[vars$q.labelTextColor]: refs.labelTextColor,
|
|
26713
26902
|
[vars$q.spaceBetweenInputs]: '1em',
|
|
26714
26903
|
[vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -27022,6 +27211,10 @@ const multiSelectComboBox = {
|
|
|
27022
27211
|
[vars$i.fontFamily]: refs.fontFamily,
|
|
27023
27212
|
[vars$i.labelFontSize]: refs.labelFontSize,
|
|
27024
27213
|
[vars$i.labelFontWeight]: refs.labelFontWeight,
|
|
27214
|
+
[vars$i.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
27215
|
+
[vars$i.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
27216
|
+
[vars$i.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
27217
|
+
[vars$i.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
27025
27218
|
[vars$i.labelTextColor]: refs.labelTextColor,
|
|
27026
27219
|
[vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
27027
27220
|
[vars$i.inputBorderColor]: refs.borderColor,
|
|
@@ -27580,6 +27773,12 @@ const dateField = {
|
|
|
27580
27773
|
[vars$8.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
|
|
27581
27774
|
[vars$8.errorMessageIconPosition]: refs.errorMessageIconPosition,
|
|
27582
27775
|
[vars$8.errorMessageFontSize]: refs.errorMessageFontSize,
|
|
27776
|
+
|
|
27777
|
+
[vars$8.labelFontWeight]: refs.labelFontWeight,
|
|
27778
|
+
[vars$8.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
27779
|
+
[vars$8.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
27780
|
+
[vars$8.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
27781
|
+
[vars$8.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
27583
27782
|
};
|
|
27584
27783
|
|
|
27585
27784
|
var dateField$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -27678,6 +27877,11 @@ const vars$3 = HybridFieldClass.cssVarList;
|
|
|
27678
27877
|
|
|
27679
27878
|
const hybridField = {
|
|
27680
27879
|
[vars$3.hostDirection]: refs.direction,
|
|
27880
|
+
[vars$3.labelFontWeight]: refs.labelFontWeight,
|
|
27881
|
+
[vars$3.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
27882
|
+
[vars$3.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
27883
|
+
[vars$3.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
27884
|
+
[vars$3.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
27681
27885
|
|
|
27682
27886
|
// error message icon
|
|
27683
27887
|
[vars$3.errorMessageIcon]: refs.errorMessageIcon,
|