@descope/web-components-ui 3.3.5 → 3.5.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 +344 -15
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +344 -15
- 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/descope-timer-button.js +2 -2
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-timer.js +1 -1
- package/dist/umd/descope-timer.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/web-components-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"webpack-cli": "^7.0.0",
|
|
52
52
|
"webpack-dev-server": "^5.0.0",
|
|
53
53
|
"webpack-subresource-integrity": "5.2.0-rc.1",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"webpack-
|
|
57
|
-
"
|
|
54
|
+
"test-drivers": "3.5.0",
|
|
55
|
+
"webpack-extract-font-loader": "3.5.0",
|
|
56
|
+
"webpack-replace-plugin": "3.5.0",
|
|
57
|
+
"rollup-replace-plugin": "3.5.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@vaadin/checkbox": "24.3.4",
|
|
@@ -78,33 +78,33 @@
|
|
|
78
78
|
"libphonenumber-js": "^1.11.12",
|
|
79
79
|
"lodash.debounce": "4.0.8",
|
|
80
80
|
"lodash.merge": "4.6.2",
|
|
81
|
-
"@descope-ui/
|
|
82
|
-
"@descope-ui/descope-
|
|
83
|
-
"@descope-ui/descope-
|
|
84
|
-
"@descope-ui/descope-
|
|
85
|
-
"@descope-ui/descope-
|
|
86
|
-
"@descope-ui/descope-
|
|
87
|
-
"@descope-ui/descope-
|
|
88
|
-
"@descope-ui/descope-
|
|
89
|
-
"@descope-ui/descope-
|
|
90
|
-
"@descope-ui/descope-enriched-text": "3.
|
|
91
|
-
"@descope-ui/descope-
|
|
92
|
-
"@descope-ui/descope-
|
|
93
|
-
"@descope-ui/descope-
|
|
94
|
-
"@descope-ui/descope-
|
|
95
|
-
"@descope-ui/descope-list": "3.
|
|
96
|
-
"@descope-ui/descope-
|
|
97
|
-
"@descope-ui/descope-outbound-
|
|
98
|
-
"@descope-ui/descope-
|
|
99
|
-
"@descope-ui/descope-
|
|
100
|
-
"@descope-ui/descope-
|
|
101
|
-
"@descope-ui/descope-
|
|
102
|
-
"@descope-ui/descope-
|
|
103
|
-
"@descope-ui/descope-
|
|
104
|
-
"@descope-ui/descope-
|
|
105
|
-
"@descope-ui/descope-
|
|
106
|
-
"@descope-ui/descope-
|
|
107
|
-
"@descope-ui/
|
|
81
|
+
"@descope-ui/descope-address-field": "3.5.0",
|
|
82
|
+
"@descope-ui/descope-country-subdivision-city-field": "3.5.0",
|
|
83
|
+
"@descope-ui/descope-apps-list": "3.5.0",
|
|
84
|
+
"@descope-ui/descope-avatar": "3.5.0",
|
|
85
|
+
"@descope-ui/descope-badge": "3.5.0",
|
|
86
|
+
"@descope-ui/descope-button": "3.5.0",
|
|
87
|
+
"@descope-ui/descope-collapsible-container": "3.5.0",
|
|
88
|
+
"@descope-ui/descope-autocomplete-field": "3.5.0",
|
|
89
|
+
"@descope-ui/descope-combo-box": "3.5.0",
|
|
90
|
+
"@descope-ui/descope-enriched-text": "3.5.0",
|
|
91
|
+
"@descope-ui/descope-icon": "3.5.0",
|
|
92
|
+
"@descope-ui/descope-image": "3.5.0",
|
|
93
|
+
"@descope-ui/descope-link": "3.5.0",
|
|
94
|
+
"@descope-ui/descope-list": "3.5.0",
|
|
95
|
+
"@descope-ui/descope-list-item": "3.5.0",
|
|
96
|
+
"@descope-ui/descope-outbound-app-button": "3.5.0",
|
|
97
|
+
"@descope-ui/descope-outbound-apps": "3.5.0",
|
|
98
|
+
"@descope-ui/descope-password-strength": "3.5.0",
|
|
99
|
+
"@descope-ui/descope-ponyhot": "3.5.0",
|
|
100
|
+
"@descope-ui/descope-recovery-codes": "3.5.0",
|
|
101
|
+
"@descope-ui/descope-text": "3.5.0",
|
|
102
|
+
"@descope-ui/descope-timer": "3.5.0",
|
|
103
|
+
"@descope-ui/descope-timer-button": "3.5.0",
|
|
104
|
+
"@descope-ui/descope-tooltip": "3.5.0",
|
|
105
|
+
"@descope-ui/descope-trusted-devices": "3.5.0",
|
|
106
|
+
"@descope-ui/descope-attachment": "3.5.0",
|
|
107
|
+
"@descope-ui/common": "3.5.0"
|
|
108
108
|
},
|
|
109
109
|
"overrides": {
|
|
110
110
|
"@vaadin/avatar": "24.3.4",
|
|
@@ -935,6 +935,26 @@ export const DateFieldClass = compose(
|
|
|
935
935
|
selector: TextFieldClass.componentName,
|
|
936
936
|
property: TextFieldClass.cssVarList.errorMessageFontSize,
|
|
937
937
|
},
|
|
938
|
+
labelFontWeight: {
|
|
939
|
+
selector: TextFieldClass.componentName,
|
|
940
|
+
property: TextFieldClass.cssVarList.labelFontWeight,
|
|
941
|
+
},
|
|
942
|
+
inputValueFontWeight: {
|
|
943
|
+
selector: TextFieldClass.componentName,
|
|
944
|
+
property: TextFieldClass.cssVarList.inputValueFontWeight,
|
|
945
|
+
},
|
|
946
|
+
inputPlaceholderFontWeight: {
|
|
947
|
+
selector: TextFieldClass.componentName,
|
|
948
|
+
property: TextFieldClass.cssVarList.inputPlaceholderFontWeight,
|
|
949
|
+
},
|
|
950
|
+
helperTextFontWeight: {
|
|
951
|
+
selector: TextFieldClass.componentName,
|
|
952
|
+
property: TextFieldClass.cssVarList.helperTextFontWeight,
|
|
953
|
+
},
|
|
954
|
+
errorMessageFontWeight: {
|
|
955
|
+
selector: TextFieldClass.componentName,
|
|
956
|
+
property: TextFieldClass.cssVarList.errorMessageFontWeight,
|
|
957
|
+
},
|
|
938
958
|
},
|
|
939
959
|
}),
|
|
940
960
|
portalMixin({
|
|
@@ -400,6 +400,56 @@ export const HybridFieldClass = compose(
|
|
|
400
400
|
property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontSize,
|
|
401
401
|
},
|
|
402
402
|
],
|
|
403
|
+
labelFontWeight: [
|
|
404
|
+
{
|
|
405
|
+
selector: () => PhoneFieldClass.componentName,
|
|
406
|
+
property: PhoneFieldClass.cssVarList.labelFontWeight,
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
410
|
+
property: PhoneFieldInputBoxClass.cssVarList.labelFontWeight,
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
inputValueFontWeight: [
|
|
414
|
+
{
|
|
415
|
+
selector: () => PhoneFieldClass.componentName,
|
|
416
|
+
property: PhoneFieldClass.cssVarList.inputValueFontWeight,
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
420
|
+
property: PhoneFieldInputBoxClass.cssVarList.inputValueFontWeight,
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
inputPlaceholderFontWeight: [
|
|
424
|
+
{
|
|
425
|
+
selector: () => PhoneFieldClass.componentName,
|
|
426
|
+
property: PhoneFieldClass.cssVarList.inputPlaceholderFontWeight,
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
430
|
+
property: PhoneFieldInputBoxClass.cssVarList.inputPlaceholderFontWeight,
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
helperTextFontWeight: [
|
|
434
|
+
{
|
|
435
|
+
selector: () => PhoneFieldClass.componentName,
|
|
436
|
+
property: PhoneFieldClass.cssVarList.helperTextFontWeight,
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
440
|
+
property: PhoneFieldInputBoxClass.cssVarList.helperTextFontWeight,
|
|
441
|
+
},
|
|
442
|
+
],
|
|
443
|
+
errorMessageFontWeight: [
|
|
444
|
+
{
|
|
445
|
+
selector: () => PhoneFieldClass.componentName,
|
|
446
|
+
property: PhoneFieldClass.cssVarList.errorMessageFontWeight,
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
selector: () => PhoneFieldInputBoxClass.componentName,
|
|
450
|
+
property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontWeight,
|
|
451
|
+
},
|
|
452
|
+
],
|
|
403
453
|
},
|
|
404
454
|
}),
|
|
405
455
|
draggableMixin,
|
|
@@ -468,6 +468,10 @@ export const MultiSelectComboBoxClass = compose(
|
|
|
468
468
|
fontFamily: [label, placeholder, inputField, helperText, errorMessage, chipLabel],
|
|
469
469
|
labelFontSize: { ...label, property: 'font-size' },
|
|
470
470
|
labelFontWeight: { ...label, property: 'font-weight' },
|
|
471
|
+
inputValueFontWeight: { ...inputField, property: 'font-weight' },
|
|
472
|
+
inputPlaceholderFontWeight: { ...placeholder, property: 'font-weight' },
|
|
473
|
+
helperTextFontWeight: { ...helperText, property: 'font-weight' },
|
|
474
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
471
475
|
labelTextColor: [
|
|
472
476
|
{ ...label, property: 'color' },
|
|
473
477
|
{ ...requiredIndicator, property: 'color' },
|
|
@@ -126,6 +126,16 @@ export const NewPasswordClass = compose(
|
|
|
126
126
|
fontFamily: [label, errorMessage, helperText],
|
|
127
127
|
labelFontSize: { ...label, property: 'font-size' },
|
|
128
128
|
labelFontWeight: { ...label, property: 'font-weight' },
|
|
129
|
+
inputValueFontWeight: {
|
|
130
|
+
...passwordInput,
|
|
131
|
+
property: PasswordClass.cssVarList.inputValueFontWeight,
|
|
132
|
+
},
|
|
133
|
+
inputPlaceholderFontWeight: {
|
|
134
|
+
...passwordInput,
|
|
135
|
+
property: PasswordClass.cssVarList.inputPlaceholderFontWeight,
|
|
136
|
+
},
|
|
137
|
+
helperTextFontWeight: { ...helperText, property: 'font-weight' },
|
|
138
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
129
139
|
labelTextColor: { ...label, property: 'color' },
|
|
130
140
|
errorMessageTextColor: { ...errorMessage, property: 'color' },
|
|
131
141
|
errorMessageIcon: { ...errorMessage, property: 'background-image' },
|
|
@@ -118,6 +118,12 @@ export const PasscodeClass = compose(
|
|
|
118
118
|
hostWidth: { property: 'width' },
|
|
119
119
|
hostDirection: { ...host, property: 'direction' },
|
|
120
120
|
fontFamily: [host, { ...label }],
|
|
121
|
+
labelFontWeight: { ...label, property: 'font-weight' },
|
|
122
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
123
|
+
digitValueFontWeight: {
|
|
124
|
+
selector: TextFieldClass.componentName,
|
|
125
|
+
property: textVars.inputValueFontWeight,
|
|
126
|
+
},
|
|
121
127
|
labelTextColor: [
|
|
122
128
|
{ ...label, property: 'color' },
|
|
123
129
|
{ ...label, property: '-webkit-text-fill-color' },
|
|
@@ -175,6 +175,16 @@ export const PasswordClass = compose(
|
|
|
175
175
|
|
|
176
176
|
labelFontSize: { ...label, property: 'font-size' },
|
|
177
177
|
labelFontWeight: { ...label, property: 'font-weight' },
|
|
178
|
+
inputValueFontWeight: [
|
|
179
|
+
{ ...inputElement, property: 'font-weight' },
|
|
180
|
+
{ selector: () => ':host ::slotted(input)', property: 'font-weight' },
|
|
181
|
+
],
|
|
182
|
+
inputPlaceholderFontWeight: [
|
|
183
|
+
{ ...inputElementPlaceholder, property: 'font-weight' },
|
|
184
|
+
{ selector: () => ':host ::slotted(input:placeholder-shown)', property: 'font-weight' },
|
|
185
|
+
],
|
|
186
|
+
helperTextFontWeight: { ...helperText, property: 'font-weight' },
|
|
187
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
178
188
|
labelTextColor: [
|
|
179
189
|
{ ...label, property: 'color' },
|
|
180
190
|
{ ...label, property: '-webkit-text-fill-color' },
|
|
@@ -46,6 +46,12 @@ export const TextAreaClass = compose(
|
|
|
46
46
|
hostDirection: { ...host, property: 'direction' },
|
|
47
47
|
fontSize: [host, textArea],
|
|
48
48
|
fontFamily: [label, inputField, helperText, errorMessage],
|
|
49
|
+
labelFontSize: { ...label, property: 'font-size' },
|
|
50
|
+
labelFontWeight: { ...label, property: 'font-weight' },
|
|
51
|
+
inputValueFontWeight: { ...textArea, property: 'font-weight' },
|
|
52
|
+
inputPlaceholderFontWeight: { ...placeholder, property: 'font-weight' },
|
|
53
|
+
helperTextFontWeight: { ...helperText, property: 'font-weight' },
|
|
54
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
49
55
|
labelTextColor: [
|
|
50
56
|
{ ...label, property: 'color' },
|
|
51
57
|
{ ...label, property: '-webkit-text-fill-color' },
|
|
@@ -45,6 +45,17 @@ export default {
|
|
|
45
45
|
labelFontSize: { ...label, property: 'font-size' },
|
|
46
46
|
labelFontWeight: { ...label, property: 'font-weight' },
|
|
47
47
|
|
|
48
|
+
inputValueFontWeight: [
|
|
49
|
+
{ ...input, property: 'font-weight' },
|
|
50
|
+
{ ...externalInput, property: 'font-weight' },
|
|
51
|
+
],
|
|
52
|
+
inputPlaceholderFontWeight: [
|
|
53
|
+
{ selector: () => ':host input:placeholder-shown', property: 'font-weight' },
|
|
54
|
+
{ ...externalPlaceholder, property: 'font-weight' },
|
|
55
|
+
],
|
|
56
|
+
helperTextFontWeight: { ...helperText, property: 'font-weight' },
|
|
57
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
58
|
+
|
|
48
59
|
labelTextColor: [
|
|
49
60
|
{ ...label, property: 'color' },
|
|
50
61
|
{ ...requiredIndicator, property: 'color' },
|
|
@@ -174,6 +174,15 @@ export const PhoneFieldClass = compose(
|
|
|
174
174
|
{ ...countryCodeInput, property: 'padding-right' },
|
|
175
175
|
],
|
|
176
176
|
|
|
177
|
+
labelFontSize: { ...label, property: 'font-size' },
|
|
178
|
+
labelFontWeight: { ...label, property: 'font-weight' },
|
|
179
|
+
inputValueFontWeight: [
|
|
180
|
+
{ ...phoneInput, property: textVars.inputValueFontWeight },
|
|
181
|
+
{ ...countryCodeInput, property: comboVars.inputValueFontWeight },
|
|
182
|
+
],
|
|
183
|
+
inputPlaceholderFontWeight: { ...phoneInput, property: textVars.inputPlaceholderFontWeight },
|
|
184
|
+
helperTextFontWeight: { ...helperText, property: 'font-weight' },
|
|
185
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
177
186
|
labelTextColor: [
|
|
178
187
|
{ ...label, property: 'color' },
|
|
179
188
|
{ ...label, property: '-webkit-text-fill-color' },
|
package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js
CHANGED
|
@@ -125,6 +125,10 @@ export const PhoneFieldInputBoxClass = compose(
|
|
|
125
125
|
|
|
126
126
|
labelFontSize: { ...label, property: 'font-size' },
|
|
127
127
|
labelFontWeight: { ...label, property: 'font-weight' },
|
|
128
|
+
inputValueFontWeight: { ...phoneInput, property: textVars.inputValueFontWeight },
|
|
129
|
+
inputPlaceholderFontWeight: { ...phoneInput, property: textVars.inputPlaceholderFontWeight },
|
|
130
|
+
helperTextFontWeight: { ...helperText, property: 'font-weight' },
|
|
131
|
+
errorMessageFontWeight: { ...errorMessage, property: 'font-weight' },
|
|
128
132
|
labelTextColor: [
|
|
129
133
|
{ ...label, property: 'color' },
|
|
130
134
|
{ ...label, property: '-webkit-text-fill-color' },
|
|
@@ -33,6 +33,12 @@ const dateField = {
|
|
|
33
33
|
[vars.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
|
|
34
34
|
[vars.errorMessageIconPosition]: refs.errorMessageIconPosition,
|
|
35
35
|
[vars.errorMessageFontSize]: refs.errorMessageFontSize,
|
|
36
|
+
|
|
37
|
+
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
38
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
39
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
40
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
41
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
36
42
|
};
|
|
37
43
|
|
|
38
44
|
export default dateField;
|
|
@@ -11,6 +11,10 @@ const emailField = {
|
|
|
11
11
|
[vars.fontFamily]: refs.fontFamily,
|
|
12
12
|
[vars.labelFontSize]: refs.labelFontSize,
|
|
13
13
|
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
14
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
15
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
16
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
17
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
14
18
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
15
19
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
16
20
|
[vars.inputValueTextColor]: refs.valueTextColor,
|
|
@@ -5,6 +5,11 @@ const vars = HybridFieldClass.cssVarList;
|
|
|
5
5
|
|
|
6
6
|
const hybridField = {
|
|
7
7
|
[vars.hostDirection]: refs.direction,
|
|
8
|
+
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
9
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
10
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
11
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
12
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
8
13
|
|
|
9
14
|
// error message icon
|
|
10
15
|
[vars.errorMessageIcon]: refs.errorMessageIcon,
|
|
@@ -10,6 +10,10 @@ const [theme, refs, vars] = createHelperVars(
|
|
|
10
10
|
labelTextColor: globalRefs.colors.surface.dark,
|
|
11
11
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
12
12
|
labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
|
|
13
|
+
inputValueFontWeight: '400',
|
|
14
|
+
inputPlaceholderFontWeight: '400',
|
|
15
|
+
helperTextFontWeight: '400',
|
|
16
|
+
errorMessageFontWeight: '400',
|
|
13
17
|
valueTextColor: globalRefs.colors.surface.contrast,
|
|
14
18
|
placeholderTextColor: globalRefs.colors.surface.dark,
|
|
15
19
|
requiredIndicator: "'*'",
|
|
@@ -13,6 +13,10 @@ export const multiSelectComboBox = {
|
|
|
13
13
|
[vars.fontFamily]: refs.fontFamily,
|
|
14
14
|
[vars.labelFontSize]: refs.labelFontSize,
|
|
15
15
|
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
16
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
17
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
18
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
19
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
16
20
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
17
21
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
18
22
|
[vars.inputBorderColor]: refs.borderColor,
|
|
@@ -14,6 +14,10 @@ const newPassword = {
|
|
|
14
14
|
[vars.fontFamily]: refs.fontFamily,
|
|
15
15
|
[vars.labelFontSize]: refs.labelFontSize,
|
|
16
16
|
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
17
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
18
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
19
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
20
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
17
21
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
18
22
|
[vars.spaceBetweenInputs]: '1em',
|
|
19
23
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -11,6 +11,10 @@ const numberField = {
|
|
|
11
11
|
[vars.fontFamily]: refs.fontFamily,
|
|
12
12
|
[vars.labelFontSize]: refs.labelFontSize,
|
|
13
13
|
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
14
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
15
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
16
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
17
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
14
18
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
15
19
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
16
20
|
[vars.inputValueTextColor]: refs.valueTextColor,
|
|
@@ -9,8 +9,11 @@ const passcode = {
|
|
|
9
9
|
[vars.fontSize]: refs.fontSize,
|
|
10
10
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
11
11
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
|
12
|
+
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
12
13
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
14
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
13
15
|
[vars.digitValueTextColor]: refs.valueTextColor,
|
|
16
|
+
[vars.digitValueFontWeight]: refs.inputValueFontWeight,
|
|
14
17
|
[vars.digitPadding]: '0',
|
|
15
18
|
[vars.digitTextAlign]: 'center',
|
|
16
19
|
[vars.digitSpacing]: '4px',
|
|
@@ -14,6 +14,10 @@ const password = {
|
|
|
14
14
|
[vars.fontFamily]: refs.fontFamily,
|
|
15
15
|
[vars.labelFontSize]: refs.labelFontSize,
|
|
16
16
|
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
17
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
18
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
19
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
20
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
17
21
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
18
22
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
19
23
|
[vars.inputHorizontalPadding]: refs.horizontalPadding,
|
|
@@ -8,6 +8,12 @@ const phoneField = {
|
|
|
8
8
|
[vars.hostDirection]: refs.direction,
|
|
9
9
|
[vars.fontSize]: refs.fontSize,
|
|
10
10
|
[vars.fontFamily]: refs.fontFamily,
|
|
11
|
+
[vars.labelFontSize]: refs.labelFontSize,
|
|
12
|
+
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
13
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
14
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
15
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
16
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
11
17
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
12
18
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
|
13
19
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -11,6 +11,10 @@ const phoneInputBoxField = {
|
|
|
11
11
|
[vars.fontFamily]: refs.fontFamily,
|
|
12
12
|
[vars.labelFontSize]: refs.labelFontSize,
|
|
13
13
|
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
14
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
15
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
16
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
17
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
14
18
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
15
19
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
|
16
20
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -9,6 +9,12 @@ const textArea = {
|
|
|
9
9
|
[vars.hostDirection]: refs.direction,
|
|
10
10
|
[vars.fontSize]: refs.fontSize,
|
|
11
11
|
[vars.fontFamily]: refs.fontFamily,
|
|
12
|
+
[vars.labelFontSize]: refs.labelFontSize,
|
|
13
|
+
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
14
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
15
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
16
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
17
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
12
18
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
13
19
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
|
14
20
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
@@ -14,6 +14,10 @@ export const textField = {
|
|
|
14
14
|
[vars.fontFamily]: refs.fontFamily,
|
|
15
15
|
[vars.labelFontSize]: refs.labelFontSize,
|
|
16
16
|
[vars.labelFontWeight]: refs.labelFontWeight,
|
|
17
|
+
[vars.inputValueFontWeight]: refs.inputValueFontWeight,
|
|
18
|
+
[vars.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
|
|
19
|
+
[vars.helperTextFontWeight]: refs.helperTextFontWeight,
|
|
20
|
+
[vars.errorMessageFontWeight]: refs.errorMessageFontWeight,
|
|
17
21
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
18
22
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
|
19
23
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|