@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.
Files changed (75) hide show
  1. package/dist/cjs/index.cjs.js +344 -15
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +344 -15
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/3685.js +1 -1
  6. package/dist/umd/3685.js.map +1 -1
  7. package/dist/umd/7092.js +1 -1
  8. package/dist/umd/7092.js.map +1 -1
  9. package/dist/umd/DescopeDev.js +1 -1
  10. package/dist/umd/DescopeDev.js.map +1 -1
  11. package/dist/umd/descope-date-field-index-js.js +1 -1
  12. package/dist/umd/descope-date-field-index-js.js.map +1 -1
  13. package/dist/umd/descope-email-field-index-js.js +4 -4
  14. package/dist/umd/descope-email-field-index-js.js.map +1 -1
  15. package/dist/umd/descope-hybrid-field-index-js.js +1 -1
  16. package/dist/umd/descope-hybrid-field-index-js.js.map +1 -1
  17. package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
  18. package/dist/umd/descope-multi-select-combo-box-index-js.js.map +1 -1
  19. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
  20. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js.map +1 -1
  21. package/dist/umd/descope-new-password-index-js.js +1 -1
  22. package/dist/umd/descope-new-password-index-js.js.map +1 -1
  23. package/dist/umd/descope-number-field-index-js.js +1 -1
  24. package/dist/umd/descope-number-field-index-js.js.map +1 -1
  25. package/dist/umd/descope-passcode-index-js.js +1 -1
  26. package/dist/umd/descope-passcode-index-js.js.map +1 -1
  27. package/dist/umd/descope-password-index-js.js +1 -1
  28. package/dist/umd/descope-password-index-js.js.map +1 -1
  29. package/dist/umd/descope-radio-group-index-js.js +1 -1
  30. package/dist/umd/descope-radio-group-index-js.js.map +1 -1
  31. package/dist/umd/descope-security-questions-setup-index-js.js +1 -1
  32. package/dist/umd/descope-security-questions-setup-index-js.js.map +1 -1
  33. package/dist/umd/descope-security-questions-verify-index-js.js +1 -1
  34. package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -1
  35. package/dist/umd/descope-text-area-index-js.js +1 -1
  36. package/dist/umd/descope-text-area-index-js.js.map +1 -1
  37. package/dist/umd/descope-text-field-index-js.js +1 -1
  38. package/dist/umd/descope-text-field-index-js.js.map +1 -1
  39. package/dist/umd/descope-timer-button.js +2 -2
  40. package/dist/umd/descope-timer-button.js.map +1 -1
  41. package/dist/umd/descope-timer.js +1 -1
  42. package/dist/umd/descope-timer.js.map +1 -1
  43. package/dist/umd/index.js +1 -1
  44. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  45. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
  46. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  47. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
  48. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
  49. package/dist/umd/phone-fields-descope-phone-field-index-js.js.map +1 -1
  50. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
  51. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.map +1 -1
  52. package/package.json +32 -32
  53. package/src/components/descope-date-field/DateFieldClass.js +20 -0
  54. package/src/components/descope-hybrid-field/HybridFieldClass.js +50 -0
  55. package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +4 -0
  56. package/src/components/descope-new-password/NewPasswordClass.js +10 -0
  57. package/src/components/descope-passcode/PasscodeClass.js +6 -0
  58. package/src/components/descope-password/PasswordClass.js +10 -0
  59. package/src/components/descope-text-area/TextAreaClass.js +6 -0
  60. package/src/components/descope-text-field/textFieldMappings.js +11 -0
  61. package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +9 -0
  62. package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +4 -0
  63. package/src/theme/components/dateField.js +6 -0
  64. package/src/theme/components/emailField.js +4 -0
  65. package/src/theme/components/hybridField.js +5 -0
  66. package/src/theme/components/inputWrapper.js +4 -0
  67. package/src/theme/components/multiSelectComboBox.js +4 -0
  68. package/src/theme/components/newPassword.js +4 -0
  69. package/src/theme/components/numberField.js +4 -0
  70. package/src/theme/components/passcode.js +3 -0
  71. package/src/theme/components/password.js +4 -0
  72. package/src/theme/components/phoneField.js +6 -0
  73. package/src/theme/components/phoneInputBoxField.js +4 -0
  74. package/src/theme/components/textArea.js +6 -0
  75. package/src/theme/components/textField.js +4 -0
@@ -4138,7 +4138,7 @@ const ComboBoxMixin = (superclass) =>
4138
4138
  return ['label-type', 'require-match'];
4139
4139
  }
4140
4140
 
4141
- // eslint-disable-next-line class-methods-use-this
4141
+
4142
4142
  #renderItem = ({ displayName, value, label }) => {
4143
4143
  return `<span data-name="${label}" data-id="${value}">${
4144
4144
  displayName || label
@@ -4189,7 +4189,7 @@ const ComboBoxMixin = (superclass) =>
4189
4189
  return data;
4190
4190
  }
4191
4191
  } catch (e) {
4192
- // eslint-disable-next-line no-console
4192
+
4193
4193
  console.error(
4194
4194
  'could not parse data string from attribute "data" -',
4195
4195
  e.message,
@@ -4208,14 +4208,16 @@ const ComboBoxMixin = (superclass) =>
4208
4208
  }
4209
4209
 
4210
4210
  get requireMatch() {
4211
- return this.getAttribute('require-match') === 'true' && !this.allowCustomValue;
4211
+ return (
4212
+ this.getAttribute('require-match') === 'true' && !this.allowCustomValue
4213
+ );
4212
4214
  }
4213
4215
 
4214
- // eslint-disable-next-line class-methods-use-this
4216
+
4215
4217
  isValidDataType(data) {
4216
4218
  const isValid = Array.isArray(data);
4217
4219
  if (!isValid) {
4218
- // eslint-disable-next-line no-console
4220
+
4219
4221
  console.error('data must be an array, received:', data);
4220
4222
  }
4221
4223
 
@@ -4264,7 +4266,7 @@ const ComboBoxMixin = (superclass) =>
4264
4266
  }
4265
4267
  }
4266
4268
 
4267
- // eslint-disable-next-line class-methods-use-this
4269
+
4268
4270
  customValueTransformFn(val) {
4269
4271
  return val;
4270
4272
  }
@@ -4349,7 +4351,7 @@ const ComboBoxMixin = (superclass) =>
4349
4351
  // and not via default renderer, which renders only the data-name's value
4350
4352
  // in its own HTML template
4351
4353
  this.baseElement.renderer = (root, combo, model) => {
4352
- // eslint-disable-next-line no-param-reassign
4354
+
4353
4355
  root.innerHTML = model.item.outerHTML;
4354
4356
  };
4355
4357
  }
@@ -4367,7 +4369,9 @@ const ComboBoxMixin = (superclass) =>
4367
4369
  const val = this.baseElement.querySelector('input').value;
4368
4370
 
4369
4371
  if (val) {
4370
- return this.baseElement.items.some(item => item.dataset.name === val || item.dataset.id === val);
4372
+ return this.baseElement.items.some(
4373
+ (item) => item.dataset.name === val || item.dataset.id === val,
4374
+ );
4371
4375
  }
4372
4376
 
4373
4377
  return true;
@@ -4376,7 +4380,7 @@ const ComboBoxMixin = (superclass) =>
4376
4380
  init() {
4377
4381
  super.init?.();
4378
4382
 
4379
- // eslint-disable-next-line func-names
4383
+
4380
4384
  this.getValidity = function () {
4381
4385
  if (this.requireMatch && !this.isValueMatch()) {
4382
4386
  return {
@@ -4442,7 +4446,8 @@ const ComboBoxMixin = (superclass) =>
4442
4446
  }
4443
4447
 
4444
4448
  handleRequireMatchChange(shouldValidate) {
4445
- this.baseElement.allowCustomValue = shouldValidate || this.allowCustomValue;
4449
+ this.baseElement.allowCustomValue =
4450
+ shouldValidate || this.allowCustomValue;
4446
4451
  }
4447
4452
 
4448
4453
  attributeChangedCallback(attrName, oldValue, newValue) {
@@ -4554,6 +4559,10 @@ const ComboBoxClass = compose(
4554
4559
  fontFamily: [label$9, placeholder$3, inputField$6, helperText$a, errorMessage$d],
4555
4560
  labelFontSize: { ...label$9, property: 'font-size' },
4556
4561
  labelFontWeight: { ...label$9, property: 'font-weight' },
4562
+ inputValueFontWeight: { ...inputField$6, property: 'font-weight' },
4563
+ inputPlaceholderFontWeight: { ...placeholder$3, property: 'font-weight' },
4564
+ helperTextFontWeight: { ...helperText$a, property: 'font-weight' },
4565
+ errorMessageFontWeight: { ...errorMessage$d, property: 'font-weight' },
4557
4566
  labelTextColor: [
4558
4567
  { ...label$9, property: 'color' },
4559
4568
  { ...label$9, property: '-webkit-text-fill-color' },
@@ -4827,6 +4836,10 @@ const [theme$2, refs$1] = createHelperVars$1(
4827
4836
  labelTextColor: globalRefs$D.colors.surface.dark,
4828
4837
  labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
4829
4838
  labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
4839
+ inputValueFontWeight: '400',
4840
+ inputPlaceholderFontWeight: '400',
4841
+ helperTextFontWeight: '400',
4842
+ errorMessageFontWeight: '400',
4830
4843
  valueTextColor: globalRefs$D.colors.surface.contrast,
4831
4844
  placeholderTextColor: globalRefs$D.colors.surface.dark,
4832
4845
  requiredIndicator: "'*'",
@@ -4866,7 +4879,6 @@ const [theme$2, refs$1] = createHelperVars$1(
4866
4879
  errorMessageIconPosition: '0 0.4em',
4867
4880
  errorMessageFontSize: '0.8125rem',
4868
4881
  errorMessageIconRepeat: 'no-repeat',
4869
- errorMessageIconRepeat: 'no-repeat',
4870
4882
 
4871
4883
  size: {
4872
4884
  xs: { fontSize: '12px', chipFontSize: '10px' },
@@ -4955,6 +4967,10 @@ const comboBox = {
4955
4967
  [vars$11.fontFamily]: refs$1.fontFamily,
4956
4968
  [vars$11.labelFontSize]: refs$1.labelFontSize,
4957
4969
  [vars$11.labelFontWeight]: refs$1.labelFontWeight,
4970
+ [vars$11.inputValueFontWeight]: refs$1.inputValueFontWeight,
4971
+ [vars$11.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
4972
+ [vars$11.helperTextFontWeight]: refs$1.helperTextFontWeight,
4973
+ [vars$11.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
4958
4974
  [vars$11.labelTextColor]: refs$1.labelTextColor,
4959
4975
  [vars$11.errorMessageTextColor]: refs$1.errorMessageTextColor,
4960
4976
  [vars$11.inputBorderColor]: refs$1.borderColor,
@@ -6974,26 +6990,85 @@ class RawTimerButton extends BaseClass$6 {
6974
6990
  .wrapper {
6975
6991
  display: flex;
6976
6992
  flex-direction: column;
6977
- gap: 0.5em;
6978
6993
  align-items: center;
6979
6994
  width: 100%;
6980
6995
  }
6981
- .timer {
6996
+ /* allow timer to grow along the main axis in the wrapper flex container */
6997
+ :host(:not([timer-inside="true"])) .timer {
6982
6998
  flex: 1;
6983
6999
  }
7000
+ :host([timer-inside="true"]) .timer {
7001
+ flex: 0 0 auto;
7002
+ }
6984
7003
  `,
6985
7004
  this,
6986
7005
  );
6987
7006
 
7007
+ this.wrapper = this.shadowRoot.querySelector('.wrapper');
6988
7008
  this.timer = this.shadowRoot.querySelector('.timer');
6989
7009
  this.button = this.shadowRoot.querySelector('.button');
7010
+ this.forwardingSlot = this.shadowRoot.querySelector('.button slot');
6990
7011
 
6991
7012
  this.timer.addEventListener('timer-started', () => this.onTimerStarted());
6992
7013
  this.timer.addEventListener('timer-ended', () => this.onTimerEnded());
6993
7014
 
7015
+ this.syncTimerPlacement();
7016
+
6994
7017
  this.button.addEventListener('click', this.onClick.bind(this));
6995
7018
  }
6996
7019
 
7020
+ static get observedAttributes() {
7021
+ return [
7022
+ ...(super.observedAttributes || []),
7023
+ 'timer-inside',
7024
+ 'timer-position',
7025
+ ];
7026
+ }
7027
+
7028
+ attributeChangedCallback(name, oldValue, newValue) {
7029
+ super.attributeChangedCallback?.(name, oldValue, newValue);
7030
+ if (name === 'timer-inside' || name === 'timer-position') {
7031
+ this.syncTimerPlacement();
7032
+ }
7033
+ }
7034
+
7035
+ get #isTimerInside() {
7036
+ return this.getAttribute('timer-inside') === 'true';
7037
+ }
7038
+
7039
+ get #isReversed() {
7040
+ return this.getAttribute('timer-position') === 'end';
7041
+ }
7042
+
7043
+ syncTimerPlacement() {
7044
+ if (this.#isTimerInside) {
7045
+ this.#placeTimerInsideButton(this.#isReversed);
7046
+ } else {
7047
+ this.#placeTimerOutsideButton();
7048
+ }
7049
+ }
7050
+
7051
+ #placeTimerInsideButton(reversed) {
7052
+ if (reversed) {
7053
+ // timer after label text (right)
7054
+ if (this.timer.previousSibling !== this.forwardingSlot) {
7055
+ this.button.appendChild(this.timer);
7056
+ }
7057
+ } else {
7058
+ // timer before label text (left) — matches default outside position (above/before button)
7059
+ if (this.timer.nextSibling !== this.forwardingSlot) {
7060
+ this.button.insertBefore(this.timer, this.forwardingSlot);
7061
+ }
7062
+ }
7063
+ }
7064
+
7065
+ #placeTimerOutsideButton() {
7066
+ // move timer back as a wrapper sibling, before the button so flex-column puts it above
7067
+ if (this.timer.parentElement !== this.wrapper) {
7068
+ this.wrapper.insertBefore(this.timer, this.button);
7069
+ }
7070
+ }
7071
+
6997
7072
  set onclick(val) {
6998
7073
  this.button.onclick = val;
6999
7074
  }
@@ -7041,8 +7116,26 @@ class RawTimerButton extends BaseClass$6 {
7041
7116
  }
7042
7117
  }
7043
7118
 
7044
- const { host: host$p } = {
7045
- host: { selector: () => ':host' }};
7119
+ const {
7120
+ host: host$p,
7121
+ nestedTimer,
7122
+ nestedButton,
7123
+ timerInsideNotReversed,
7124
+ timerInsideReversed,
7125
+ } = {
7126
+ host: { selector: () => ':host' },
7127
+ nestedTimer: { selector: () => ':host([timer-inside="true"]) .timer' },
7128
+ nestedButton: {
7129
+ selector: () => ':host([timer-inside="true"]) .button',
7130
+ },
7131
+ timerInsideNotReversed: {
7132
+ selector: () =>
7133
+ ':host([timer-inside="true"]:not([timer-position="end"])) .timer',
7134
+ },
7135
+ timerInsideReversed: {
7136
+ selector: () => ':host([timer-inside="true"][timer-position="end"]) .timer',
7137
+ },
7138
+ };
7046
7139
 
7047
7140
  const TimerButtonClass = compose(
7048
7141
  createStyleMixin$1({
@@ -7051,6 +7144,30 @@ const TimerButtonClass = compose(
7051
7144
  flexDirection: {},
7052
7145
  hostWidth: { ...host$p, property: 'width' },
7053
7146
  hostDirection: { ...host$p, property: 'direction' },
7147
+ timerTextColor: {
7148
+ ...nestedTimer,
7149
+ property: TimerClass.cssVarList.textColor,
7150
+ },
7151
+ timerIconColor: {
7152
+ ...nestedTimer,
7153
+ property: TimerClass.cssVarList.iconColor,
7154
+ },
7155
+ timerHostWidth: {
7156
+ ...nestedTimer,
7157
+ property: TimerClass.cssVarList.hostWidth,
7158
+ },
7159
+ buttonLabelSpacing: {
7160
+ ...nestedButton,
7161
+ property: ButtonClass.cssVarList.labelSpacing,
7162
+ },
7163
+ timerInsideGapEnd: {
7164
+ ...timerInsideNotReversed,
7165
+ property: 'margin-inline-end',
7166
+ },
7167
+ timerInsideGapStart: {
7168
+ ...timerInsideReversed,
7169
+ property: 'margin-inline-start',
7170
+ },
7054
7171
  },
7055
7172
  }),
7056
7173
  draggableMixin$1,
@@ -7066,11 +7183,35 @@ const timerButton = {
7066
7183
 
7067
7184
  _horizontal: {
7068
7185
  [vars$S.flexDirection]: 'row',
7186
+ timerPosition: {
7187
+ end: {
7188
+ [vars$S.flexDirection]: 'row-reverse',
7189
+ },
7190
+ },
7191
+ },
7192
+
7193
+ timerPosition: {
7194
+ end: {
7195
+ [vars$S.flexDirection]: 'column-reverse',
7196
+ },
7069
7197
  },
7070
7198
 
7071
7199
  _fullWidth: {
7072
7200
  [vars$S.hostWidth]: '100%',
7073
7201
  },
7202
+
7203
+ _timerInside: {
7204
+ [vars$S.timerTextColor]: 'currentColor',
7205
+ [vars$S.timerIconColor]: 'currentColor',
7206
+ [vars$S.timerHostWidth]: 'auto',
7207
+ [vars$S.buttonLabelSpacing]: '0',
7208
+ [vars$S.timerInsideGapEnd]: `var(${vars$S.gap})`,
7209
+ timerPosition: {
7210
+ end: {
7211
+ [vars$S.timerInsideGapStart]: `var(${vars$S.gap})`,
7212
+ },
7213
+ },
7214
+ },
7074
7215
  };
7075
7216
 
7076
7217
  var timerButton$1 = /*#__PURE__*/Object.freeze({
@@ -11751,6 +11892,17 @@ var textFieldMappings = {
11751
11892
  labelFontSize: { ...label$8, property: 'font-size' },
11752
11893
  labelFontWeight: { ...label$8, property: 'font-weight' },
11753
11894
 
11895
+ inputValueFontWeight: [
11896
+ { ...input$1, property: 'font-weight' },
11897
+ { ...externalInput, property: 'font-weight' },
11898
+ ],
11899
+ inputPlaceholderFontWeight: [
11900
+ { selector: () => ':host input:placeholder-shown', property: 'font-weight' },
11901
+ { ...externalPlaceholder, property: 'font-weight' },
11902
+ ],
11903
+ helperTextFontWeight: { ...helperText$9, property: 'font-weight' },
11904
+ errorMessageFontWeight: { ...errorMessage$c, property: 'font-weight' },
11905
+
11754
11906
  labelTextColor: [
11755
11907
  { ...label$8, property: 'color' },
11756
11908
  { ...requiredIndicator$a, property: 'color' },
@@ -11997,6 +12149,10 @@ const [theme$1, refs, vars$I] = createHelperVars(
11997
12149
  labelTextColor: globalRefs$p.colors.surface.dark,
11998
12150
  labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
11999
12151
  labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
12152
+ inputValueFontWeight: '400',
12153
+ inputPlaceholderFontWeight: '400',
12154
+ helperTextFontWeight: '400',
12155
+ errorMessageFontWeight: '400',
12000
12156
  valueTextColor: globalRefs$p.colors.surface.contrast,
12001
12157
  placeholderTextColor: globalRefs$p.colors.surface.dark,
12002
12158
  requiredIndicator: "'*'",
@@ -12136,6 +12292,10 @@ const textField$1 = {
12136
12292
  [vars$H.fontFamily]: refs.fontFamily,
12137
12293
  [vars$H.labelFontSize]: refs.labelFontSize,
12138
12294
  [vars$H.labelFontWeight]: refs.labelFontWeight,
12295
+ [vars$H.inputValueFontWeight]: refs.inputValueFontWeight,
12296
+ [vars$H.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
12297
+ [vars$H.helperTextFontWeight]: refs.helperTextFontWeight,
12298
+ [vars$H.errorMessageFontWeight]: refs.errorMessageFontWeight,
12139
12299
  [vars$H.labelTextColor]: refs.labelTextColor,
12140
12300
  [vars$H.labelRequiredIndicator]: refs.requiredIndicator,
12141
12301
  [vars$H.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -12390,6 +12550,16 @@ const PasswordClass = compose$1(
12390
12550
 
12391
12551
  labelFontSize: { ...label$7, property: 'font-size' },
12392
12552
  labelFontWeight: { ...label$7, property: 'font-weight' },
12553
+ inputValueFontWeight: [
12554
+ { ...inputElement$2, property: 'font-weight' },
12555
+ { selector: () => ':host ::slotted(input)', property: 'font-weight' },
12556
+ ],
12557
+ inputPlaceholderFontWeight: [
12558
+ { ...inputElementPlaceholder, property: 'font-weight' },
12559
+ { selector: () => ':host ::slotted(input:placeholder-shown)', property: 'font-weight' },
12560
+ ],
12561
+ helperTextFontWeight: { ...helperText$8, property: 'font-weight' },
12562
+ errorMessageFontWeight: { ...errorMessage$b, property: 'font-weight' },
12393
12563
  labelTextColor: [
12394
12564
  { ...label$7, property: 'color' },
12395
12565
  { ...label$7, property: '-webkit-text-fill-color' },
@@ -12530,6 +12700,10 @@ const password = {
12530
12700
  [vars$G.fontFamily]: refs.fontFamily,
12531
12701
  [vars$G.labelFontSize]: refs.labelFontSize,
12532
12702
  [vars$G.labelFontWeight]: refs.labelFontWeight,
12703
+ [vars$G.inputValueFontWeight]: refs.inputValueFontWeight,
12704
+ [vars$G.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
12705
+ [vars$G.helperTextFontWeight]: refs.helperTextFontWeight,
12706
+ [vars$G.errorMessageFontWeight]: refs.errorMessageFontWeight,
12533
12707
  [vars$G.labelTextColor]: refs.labelTextColor,
12534
12708
  [vars$G.errorMessageTextColor]: refs.errorMessageTextColor,
12535
12709
  [vars$G.inputHorizontalPadding]: refs.horizontalPadding,
@@ -12622,6 +12796,10 @@ const numberField = {
12622
12796
  [vars$F.fontFamily]: refs.fontFamily,
12623
12797
  [vars$F.labelFontSize]: refs.labelFontSize,
12624
12798
  [vars$F.labelFontWeight]: refs.labelFontWeight,
12799
+ [vars$F.inputValueFontWeight]: refs.inputValueFontWeight,
12800
+ [vars$F.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
12801
+ [vars$F.helperTextFontWeight]: refs.helperTextFontWeight,
12802
+ [vars$F.errorMessageFontWeight]: refs.errorMessageFontWeight,
12625
12803
  [vars$F.labelTextColor]: refs.labelTextColor,
12626
12804
  [vars$F.errorMessageTextColor]: refs.errorMessageTextColor,
12627
12805
  [vars$F.inputValueTextColor]: refs.valueTextColor,
@@ -12747,6 +12925,10 @@ const emailField = {
12747
12925
  [vars$E.fontFamily]: refs.fontFamily,
12748
12926
  [vars$E.labelFontSize]: refs.labelFontSize,
12749
12927
  [vars$E.labelFontWeight]: refs.labelFontWeight,
12928
+ [vars$E.inputValueFontWeight]: refs.inputValueFontWeight,
12929
+ [vars$E.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
12930
+ [vars$E.helperTextFontWeight]: refs.helperTextFontWeight,
12931
+ [vars$E.errorMessageFontWeight]: refs.errorMessageFontWeight,
12750
12932
  [vars$E.labelTextColor]: refs.labelTextColor,
12751
12933
  [vars$E.errorMessageTextColor]: refs.errorMessageTextColor,
12752
12934
  [vars$E.inputValueTextColor]: refs.valueTextColor,
@@ -12819,6 +13001,12 @@ const TextAreaClass = compose$1(
12819
13001
  hostDirection: { ...host$i, property: 'direction' },
12820
13002
  fontSize: [host$i, textArea$2],
12821
13003
  fontFamily: [label$6, inputField$3, helperText$7, errorMessage$a],
13004
+ labelFontSize: { ...label$6, property: 'font-size' },
13005
+ labelFontWeight: { ...label$6, property: 'font-weight' },
13006
+ inputValueFontWeight: { ...textArea$2, property: 'font-weight' },
13007
+ inputPlaceholderFontWeight: { ...placeholder$1, property: 'font-weight' },
13008
+ helperTextFontWeight: { ...helperText$7, property: 'font-weight' },
13009
+ errorMessageFontWeight: { ...errorMessage$a, property: 'font-weight' },
12822
13010
  labelTextColor: [
12823
13011
  { ...label$6, property: 'color' },
12824
13012
  { ...label$6, property: '-webkit-text-fill-color' },
@@ -12884,6 +13072,12 @@ const textArea = {
12884
13072
  [vars$D.hostDirection]: refs.direction,
12885
13073
  [vars$D.fontSize]: refs.fontSize,
12886
13074
  [vars$D.fontFamily]: refs.fontFamily,
13075
+ [vars$D.labelFontSize]: refs.labelFontSize,
13076
+ [vars$D.labelFontWeight]: refs.labelFontWeight,
13077
+ [vars$D.inputValueFontWeight]: refs.inputValueFontWeight,
13078
+ [vars$D.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
13079
+ [vars$D.helperTextFontWeight]: refs.helperTextFontWeight,
13080
+ [vars$D.errorMessageFontWeight]: refs.errorMessageFontWeight,
12887
13081
  [vars$D.labelTextColor]: refs.labelTextColor,
12888
13082
  [vars$D.labelRequiredIndicator]: refs.requiredIndicator,
12889
13083
  [vars$D.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -14057,6 +14251,12 @@ const PasscodeClass = compose$1(
14057
14251
  hostWidth: { property: 'width' },
14058
14252
  hostDirection: { ...host$e, property: 'direction' },
14059
14253
  fontFamily: [host$e, { ...label$5 }],
14254
+ labelFontWeight: { ...label$5, property: 'font-weight' },
14255
+ errorMessageFontWeight: { ...errorMessage$7, property: 'font-weight' },
14256
+ digitValueFontWeight: {
14257
+ selector: TextFieldClass.componentName,
14258
+ property: textVars$3.inputValueFontWeight,
14259
+ },
14060
14260
  labelTextColor: [
14061
14261
  { ...label$5, property: 'color' },
14062
14262
  { ...label$5, property: '-webkit-text-fill-color' },
@@ -14188,8 +14388,11 @@ const passcode = {
14188
14388
  [vars$v.fontSize]: refs.fontSize,
14189
14389
  [vars$v.labelTextColor]: refs.labelTextColor,
14190
14390
  [vars$v.labelRequiredIndicator]: refs.requiredIndicator,
14391
+ [vars$v.labelFontWeight]: refs.labelFontWeight,
14191
14392
  [vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
14393
+ [vars$v.errorMessageFontWeight]: refs.errorMessageFontWeight,
14192
14394
  [vars$v.digitValueTextColor]: refs.valueTextColor,
14395
+ [vars$v.digitValueFontWeight]: refs.inputValueFontWeight,
14193
14396
  [vars$v.digitPadding]: '0',
14194
14397
  [vars$v.digitTextAlign]: 'center',
14195
14398
  [vars$v.digitSpacing]: '4px',
@@ -15768,6 +15971,15 @@ const PhoneFieldClass = compose$1(
15768
15971
  { ...countryCodeInput, property: 'padding-right' },
15769
15972
  ],
15770
15973
 
15974
+ labelFontSize: { ...label$4, property: 'font-size' },
15975
+ labelFontWeight: { ...label$4, property: 'font-weight' },
15976
+ inputValueFontWeight: [
15977
+ { ...phoneInput$1, property: textVars$2.inputValueFontWeight },
15978
+ { ...countryCodeInput, property: comboVars.inputValueFontWeight },
15979
+ ],
15980
+ inputPlaceholderFontWeight: { ...phoneInput$1, property: textVars$2.inputPlaceholderFontWeight },
15981
+ helperTextFontWeight: { ...helperText$4, property: 'font-weight' },
15982
+ errorMessageFontWeight: { ...errorMessage$6, property: 'font-weight' },
15771
15983
  labelTextColor: [
15772
15984
  { ...label$4, property: 'color' },
15773
15985
  { ...label$4, property: '-webkit-text-fill-color' },
@@ -15923,6 +16135,12 @@ const phoneField = {
15923
16135
  [vars$s.hostDirection]: refs.direction,
15924
16136
  [vars$s.fontSize]: refs.fontSize,
15925
16137
  [vars$s.fontFamily]: refs.fontFamily,
16138
+ [vars$s.labelFontSize]: refs.labelFontSize,
16139
+ [vars$s.labelFontWeight]: refs.labelFontWeight,
16140
+ [vars$s.inputValueFontWeight]: refs.inputValueFontWeight,
16141
+ [vars$s.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
16142
+ [vars$s.helperTextFontWeight]: refs.helperTextFontWeight,
16143
+ [vars$s.errorMessageFontWeight]: refs.errorMessageFontWeight,
15926
16144
  [vars$s.labelTextColor]: refs.labelTextColor,
15927
16145
  [vars$s.labelRequiredIndicator]: refs.requiredIndicator,
15928
16146
  [vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -16066,6 +16284,10 @@ const PhoneFieldInputBoxClass = compose$1(
16066
16284
 
16067
16285
  labelFontSize: { ...label$3, property: 'font-size' },
16068
16286
  labelFontWeight: { ...label$3, property: 'font-weight' },
16287
+ inputValueFontWeight: { ...phoneInput, property: textVars$1.inputValueFontWeight },
16288
+ inputPlaceholderFontWeight: { ...phoneInput, property: textVars$1.inputPlaceholderFontWeight },
16289
+ helperTextFontWeight: { ...helperText$3, property: 'font-weight' },
16290
+ errorMessageFontWeight: { ...errorMessage$5, property: 'font-weight' },
16069
16291
  labelTextColor: [
16070
16292
  { ...label$3, property: 'color' },
16071
16293
  { ...label$3, property: '-webkit-text-fill-color' },
@@ -16208,6 +16430,10 @@ const phoneInputBoxField = {
16208
16430
  [vars$r.fontFamily]: refs.fontFamily,
16209
16431
  [vars$r.labelFontSize]: refs.labelFontSize,
16210
16432
  [vars$r.labelFontWeight]: refs.labelFontWeight,
16433
+ [vars$r.inputValueFontWeight]: refs.inputValueFontWeight,
16434
+ [vars$r.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
16435
+ [vars$r.helperTextFontWeight]: refs.helperTextFontWeight,
16436
+ [vars$r.errorMessageFontWeight]: refs.errorMessageFontWeight,
16211
16437
  [vars$r.labelTextColor]: refs.labelTextColor,
16212
16438
  [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
16213
16439
  [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -16657,6 +16883,16 @@ const NewPasswordClass = compose$1(
16657
16883
  fontFamily: [label$2, errorMessage$4, helperText$2],
16658
16884
  labelFontSize: { ...label$2, property: 'font-size' },
16659
16885
  labelFontWeight: { ...label$2, property: 'font-weight' },
16886
+ inputValueFontWeight: {
16887
+ ...passwordInput,
16888
+ property: PasswordClass.cssVarList.inputValueFontWeight,
16889
+ },
16890
+ inputPlaceholderFontWeight: {
16891
+ ...passwordInput,
16892
+ property: PasswordClass.cssVarList.inputPlaceholderFontWeight,
16893
+ },
16894
+ helperTextFontWeight: { ...helperText$2, property: 'font-weight' },
16895
+ errorMessageFontWeight: { ...errorMessage$4, property: 'font-weight' },
16660
16896
  labelTextColor: { ...label$2, property: 'color' },
16661
16897
  errorMessageTextColor: { ...errorMessage$4, property: 'color' },
16662
16898
  errorMessageIcon: { ...errorMessage$4, property: 'background-image' },
@@ -16762,6 +16998,10 @@ const newPassword = {
16762
16998
  [vars$q.fontFamily]: refs.fontFamily,
16763
16999
  [vars$q.labelFontSize]: refs.labelFontSize,
16764
17000
  [vars$q.labelFontWeight]: refs.labelFontWeight,
17001
+ [vars$q.inputValueFontWeight]: refs.inputValueFontWeight,
17002
+ [vars$q.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
17003
+ [vars$q.helperTextFontWeight]: refs.helperTextFontWeight,
17004
+ [vars$q.errorMessageFontWeight]: refs.errorMessageFontWeight,
16765
17005
  [vars$q.labelTextColor]: refs.labelTextColor,
16766
17006
  [vars$q.spaceBetweenInputs]: '1em',
16767
17007
  [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -19128,6 +19368,10 @@ const MultiSelectComboBoxClass = compose$1(
19128
19368
  fontFamily: [label, placeholder, inputField, helperText$1, errorMessage$2, chipLabel],
19129
19369
  labelFontSize: { ...label, property: 'font-size' },
19130
19370
  labelFontWeight: { ...label, property: 'font-weight' },
19371
+ inputValueFontWeight: { ...inputField, property: 'font-weight' },
19372
+ inputPlaceholderFontWeight: { ...placeholder, property: 'font-weight' },
19373
+ helperTextFontWeight: { ...helperText$1, property: 'font-weight' },
19374
+ errorMessageFontWeight: { ...errorMessage$2, property: 'font-weight' },
19131
19375
  labelTextColor: [
19132
19376
  { ...label, property: 'color' },
19133
19377
  { ...requiredIndicator, property: 'color' },
@@ -19349,6 +19593,10 @@ const multiSelectComboBox = {
19349
19593
  [vars$i.fontFamily]: refs.fontFamily,
19350
19594
  [vars$i.labelFontSize]: refs.labelFontSize,
19351
19595
  [vars$i.labelFontWeight]: refs.labelFontWeight,
19596
+ [vars$i.inputValueFontWeight]: refs.inputValueFontWeight,
19597
+ [vars$i.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
19598
+ [vars$i.helperTextFontWeight]: refs.helperTextFontWeight,
19599
+ [vars$i.errorMessageFontWeight]: refs.errorMessageFontWeight,
19352
19600
  [vars$i.labelTextColor]: refs.labelTextColor,
19353
19601
  [vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
19354
19602
  [vars$i.inputBorderColor]: refs.borderColor,
@@ -23300,6 +23548,26 @@ const DateFieldClass = compose$1(
23300
23548
  selector: TextFieldClass.componentName,
23301
23549
  property: TextFieldClass.cssVarList.errorMessageFontSize,
23302
23550
  },
23551
+ labelFontWeight: {
23552
+ selector: TextFieldClass.componentName,
23553
+ property: TextFieldClass.cssVarList.labelFontWeight,
23554
+ },
23555
+ inputValueFontWeight: {
23556
+ selector: TextFieldClass.componentName,
23557
+ property: TextFieldClass.cssVarList.inputValueFontWeight,
23558
+ },
23559
+ inputPlaceholderFontWeight: {
23560
+ selector: TextFieldClass.componentName,
23561
+ property: TextFieldClass.cssVarList.inputPlaceholderFontWeight,
23562
+ },
23563
+ helperTextFontWeight: {
23564
+ selector: TextFieldClass.componentName,
23565
+ property: TextFieldClass.cssVarList.helperTextFontWeight,
23566
+ },
23567
+ errorMessageFontWeight: {
23568
+ selector: TextFieldClass.componentName,
23569
+ property: TextFieldClass.cssVarList.errorMessageFontWeight,
23570
+ },
23303
23571
  },
23304
23572
  }),
23305
23573
  portalMixin({
@@ -23351,6 +23619,12 @@ const dateField = {
23351
23619
  [vars$8.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
23352
23620
  [vars$8.errorMessageIconPosition]: refs.errorMessageIconPosition,
23353
23621
  [vars$8.errorMessageFontSize]: refs.errorMessageFontSize,
23622
+
23623
+ [vars$8.labelFontWeight]: refs.labelFontWeight,
23624
+ [vars$8.inputValueFontWeight]: refs.inputValueFontWeight,
23625
+ [vars$8.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
23626
+ [vars$8.helperTextFontWeight]: refs.helperTextFontWeight,
23627
+ [vars$8.errorMessageFontWeight]: refs.errorMessageFontWeight,
23354
23628
  };
23355
23629
 
23356
23630
  var dateField$1 = /*#__PURE__*/Object.freeze({
@@ -24634,6 +24908,56 @@ const HybridFieldClass = compose$1(
24634
24908
  property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontSize,
24635
24909
  },
24636
24910
  ],
24911
+ labelFontWeight: [
24912
+ {
24913
+ selector: () => PhoneFieldClass.componentName,
24914
+ property: PhoneFieldClass.cssVarList.labelFontWeight,
24915
+ },
24916
+ {
24917
+ selector: () => PhoneFieldInputBoxClass.componentName,
24918
+ property: PhoneFieldInputBoxClass.cssVarList.labelFontWeight,
24919
+ },
24920
+ ],
24921
+ inputValueFontWeight: [
24922
+ {
24923
+ selector: () => PhoneFieldClass.componentName,
24924
+ property: PhoneFieldClass.cssVarList.inputValueFontWeight,
24925
+ },
24926
+ {
24927
+ selector: () => PhoneFieldInputBoxClass.componentName,
24928
+ property: PhoneFieldInputBoxClass.cssVarList.inputValueFontWeight,
24929
+ },
24930
+ ],
24931
+ inputPlaceholderFontWeight: [
24932
+ {
24933
+ selector: () => PhoneFieldClass.componentName,
24934
+ property: PhoneFieldClass.cssVarList.inputPlaceholderFontWeight,
24935
+ },
24936
+ {
24937
+ selector: () => PhoneFieldInputBoxClass.componentName,
24938
+ property: PhoneFieldInputBoxClass.cssVarList.inputPlaceholderFontWeight,
24939
+ },
24940
+ ],
24941
+ helperTextFontWeight: [
24942
+ {
24943
+ selector: () => PhoneFieldClass.componentName,
24944
+ property: PhoneFieldClass.cssVarList.helperTextFontWeight,
24945
+ },
24946
+ {
24947
+ selector: () => PhoneFieldInputBoxClass.componentName,
24948
+ property: PhoneFieldInputBoxClass.cssVarList.helperTextFontWeight,
24949
+ },
24950
+ ],
24951
+ errorMessageFontWeight: [
24952
+ {
24953
+ selector: () => PhoneFieldClass.componentName,
24954
+ property: PhoneFieldClass.cssVarList.errorMessageFontWeight,
24955
+ },
24956
+ {
24957
+ selector: () => PhoneFieldInputBoxClass.componentName,
24958
+ property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontWeight,
24959
+ },
24960
+ ],
24637
24961
  },
24638
24962
  }),
24639
24963
  draggableMixin,
@@ -24644,6 +24968,11 @@ const vars$3 = HybridFieldClass.cssVarList;
24644
24968
 
24645
24969
  const hybridField = {
24646
24970
  [vars$3.hostDirection]: refs.direction,
24971
+ [vars$3.labelFontWeight]: refs.labelFontWeight,
24972
+ [vars$3.inputValueFontWeight]: refs.inputValueFontWeight,
24973
+ [vars$3.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
24974
+ [vars$3.helperTextFontWeight]: refs.helperTextFontWeight,
24975
+ [vars$3.errorMessageFontWeight]: refs.errorMessageFontWeight,
24647
24976
 
24648
24977
  // error message icon
24649
24978
  [vars$3.errorMessageIcon]: refs.errorMessageIcon,