@descope/flow-components 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.
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.3.5",
8
+ "buildVersion": "3.4.0",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.3.5",
8
+ "buildVersion": "3.4.0",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -83713,7 +83713,7 @@ function requireIndex_cjs () {
83713
83713
  return ['label-type', 'require-match'];
83714
83714
  }
83715
83715
 
83716
- // eslint-disable-next-line class-methods-use-this
83716
+
83717
83717
  #renderItem = ({ displayName, value, label }) => {
83718
83718
  return `<span data-name="${label}" data-id="${value}">${
83719
83719
  displayName || label
@@ -83764,7 +83764,7 @@ function requireIndex_cjs () {
83764
83764
  return data;
83765
83765
  }
83766
83766
  } catch (e) {
83767
- // eslint-disable-next-line no-console
83767
+
83768
83768
  console.error(
83769
83769
  'could not parse data string from attribute "data" -',
83770
83770
  e.message,
@@ -83783,14 +83783,16 @@ function requireIndex_cjs () {
83783
83783
  }
83784
83784
 
83785
83785
  get requireMatch() {
83786
- return this.getAttribute('require-match') === 'true' && !this.allowCustomValue;
83786
+ return (
83787
+ this.getAttribute('require-match') === 'true' && !this.allowCustomValue
83788
+ );
83787
83789
  }
83788
83790
 
83789
- // eslint-disable-next-line class-methods-use-this
83791
+
83790
83792
  isValidDataType(data) {
83791
83793
  const isValid = Array.isArray(data);
83792
83794
  if (!isValid) {
83793
- // eslint-disable-next-line no-console
83795
+
83794
83796
  console.error('data must be an array, received:', data);
83795
83797
  }
83796
83798
 
@@ -83839,7 +83841,7 @@ function requireIndex_cjs () {
83839
83841
  }
83840
83842
  }
83841
83843
 
83842
- // eslint-disable-next-line class-methods-use-this
83844
+
83843
83845
  customValueTransformFn(val) {
83844
83846
  return val;
83845
83847
  }
@@ -83924,7 +83926,7 @@ function requireIndex_cjs () {
83924
83926
  // and not via default renderer, which renders only the data-name's value
83925
83927
  // in its own HTML template
83926
83928
  this.baseElement.renderer = (root, combo, model) => {
83927
- // eslint-disable-next-line no-param-reassign
83929
+
83928
83930
  root.innerHTML = model.item.outerHTML;
83929
83931
  };
83930
83932
  }
@@ -83942,7 +83944,9 @@ function requireIndex_cjs () {
83942
83944
  const val = this.baseElement.querySelector('input').value;
83943
83945
 
83944
83946
  if (val) {
83945
- return this.baseElement.items.some(item => item.dataset.name === val || item.dataset.id === val);
83947
+ return this.baseElement.items.some(
83948
+ (item) => item.dataset.name === val || item.dataset.id === val,
83949
+ );
83946
83950
  }
83947
83951
 
83948
83952
  return true;
@@ -83951,7 +83955,7 @@ function requireIndex_cjs () {
83951
83955
  init() {
83952
83956
  super.init?.();
83953
83957
 
83954
- // eslint-disable-next-line func-names
83958
+
83955
83959
  this.getValidity = function () {
83956
83960
  if (this.requireMatch && !this.isValueMatch()) {
83957
83961
  return {
@@ -84017,7 +84021,8 @@ function requireIndex_cjs () {
84017
84021
  }
84018
84022
 
84019
84023
  handleRequireMatchChange(shouldValidate) {
84020
- this.baseElement.allowCustomValue = shouldValidate || this.allowCustomValue;
84024
+ this.baseElement.allowCustomValue =
84025
+ shouldValidate || this.allowCustomValue;
84021
84026
  }
84022
84027
 
84023
84028
  attributeChangedCallback(attrName, oldValue, newValue) {
@@ -84129,6 +84134,10 @@ function requireIndex_cjs () {
84129
84134
  fontFamily: [label$9, placeholder$3, inputField$6, helperText$a, errorMessage$d],
84130
84135
  labelFontSize: { ...label$9, property: 'font-size' },
84131
84136
  labelFontWeight: { ...label$9, property: 'font-weight' },
84137
+ inputValueFontWeight: { ...inputField$6, property: 'font-weight' },
84138
+ inputPlaceholderFontWeight: { ...placeholder$3, property: 'font-weight' },
84139
+ helperTextFontWeight: { ...helperText$a, property: 'font-weight' },
84140
+ errorMessageFontWeight: { ...errorMessage$d, property: 'font-weight' },
84132
84141
  labelTextColor: [
84133
84142
  { ...label$9, property: 'color' },
84134
84143
  { ...label$9, property: '-webkit-text-fill-color' },
@@ -84402,6 +84411,10 @@ function requireIndex_cjs () {
84402
84411
  labelTextColor: globalRefs$D.colors.surface.dark,
84403
84412
  labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
84404
84413
  labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
84414
+ inputValueFontWeight: '400',
84415
+ inputPlaceholderFontWeight: '400',
84416
+ helperTextFontWeight: '400',
84417
+ errorMessageFontWeight: '400',
84405
84418
  valueTextColor: globalRefs$D.colors.surface.contrast,
84406
84419
  placeholderTextColor: globalRefs$D.colors.surface.dark,
84407
84420
  requiredIndicator: "'*'",
@@ -84441,7 +84454,6 @@ function requireIndex_cjs () {
84441
84454
  errorMessageIconPosition: '0 0.4em',
84442
84455
  errorMessageFontSize: '0.8125rem',
84443
84456
  errorMessageIconRepeat: 'no-repeat',
84444
- errorMessageIconRepeat: 'no-repeat',
84445
84457
 
84446
84458
  size: {
84447
84459
  xs: { fontSize: '12px', chipFontSize: '10px' },
@@ -84530,6 +84542,10 @@ function requireIndex_cjs () {
84530
84542
  [vars$11.fontFamily]: refs$1.fontFamily,
84531
84543
  [vars$11.labelFontSize]: refs$1.labelFontSize,
84532
84544
  [vars$11.labelFontWeight]: refs$1.labelFontWeight,
84545
+ [vars$11.inputValueFontWeight]: refs$1.inputValueFontWeight,
84546
+ [vars$11.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
84547
+ [vars$11.helperTextFontWeight]: refs$1.helperTextFontWeight,
84548
+ [vars$11.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
84533
84549
  [vars$11.labelTextColor]: refs$1.labelTextColor,
84534
84550
  [vars$11.errorMessageTextColor]: refs$1.errorMessageTextColor,
84535
84551
  [vars$11.inputBorderColor]: refs$1.borderColor,
@@ -91326,6 +91342,17 @@ function requireIndex_cjs () {
91326
91342
  labelFontSize: { ...label$8, property: 'font-size' },
91327
91343
  labelFontWeight: { ...label$8, property: 'font-weight' },
91328
91344
 
91345
+ inputValueFontWeight: [
91346
+ { ...input$1, property: 'font-weight' },
91347
+ { ...externalInput, property: 'font-weight' },
91348
+ ],
91349
+ inputPlaceholderFontWeight: [
91350
+ { selector: () => ':host input:placeholder-shown', property: 'font-weight' },
91351
+ { ...externalPlaceholder, property: 'font-weight' },
91352
+ ],
91353
+ helperTextFontWeight: { ...helperText$9, property: 'font-weight' },
91354
+ errorMessageFontWeight: { ...errorMessage$c, property: 'font-weight' },
91355
+
91329
91356
  labelTextColor: [
91330
91357
  { ...label$8, property: 'color' },
91331
91358
  { ...requiredIndicator$a, property: 'color' },
@@ -91572,6 +91599,10 @@ function requireIndex_cjs () {
91572
91599
  labelTextColor: globalRefs$p.colors.surface.dark,
91573
91600
  labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
91574
91601
  labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
91602
+ inputValueFontWeight: '400',
91603
+ inputPlaceholderFontWeight: '400',
91604
+ helperTextFontWeight: '400',
91605
+ errorMessageFontWeight: '400',
91575
91606
  valueTextColor: globalRefs$p.colors.surface.contrast,
91576
91607
  placeholderTextColor: globalRefs$p.colors.surface.dark,
91577
91608
  requiredIndicator: "'*'",
@@ -91711,6 +91742,10 @@ function requireIndex_cjs () {
91711
91742
  [vars$H.fontFamily]: refs.fontFamily,
91712
91743
  [vars$H.labelFontSize]: refs.labelFontSize,
91713
91744
  [vars$H.labelFontWeight]: refs.labelFontWeight,
91745
+ [vars$H.inputValueFontWeight]: refs.inputValueFontWeight,
91746
+ [vars$H.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
91747
+ [vars$H.helperTextFontWeight]: refs.helperTextFontWeight,
91748
+ [vars$H.errorMessageFontWeight]: refs.errorMessageFontWeight,
91714
91749
  [vars$H.labelTextColor]: refs.labelTextColor,
91715
91750
  [vars$H.labelRequiredIndicator]: refs.requiredIndicator,
91716
91751
  [vars$H.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -91965,6 +92000,16 @@ function requireIndex_cjs () {
91965
92000
 
91966
92001
  labelFontSize: { ...label$7, property: 'font-size' },
91967
92002
  labelFontWeight: { ...label$7, property: 'font-weight' },
92003
+ inputValueFontWeight: [
92004
+ { ...inputElement$2, property: 'font-weight' },
92005
+ { selector: () => ':host ::slotted(input)', property: 'font-weight' },
92006
+ ],
92007
+ inputPlaceholderFontWeight: [
92008
+ { ...inputElementPlaceholder, property: 'font-weight' },
92009
+ { selector: () => ':host ::slotted(input:placeholder-shown)', property: 'font-weight' },
92010
+ ],
92011
+ helperTextFontWeight: { ...helperText$8, property: 'font-weight' },
92012
+ errorMessageFontWeight: { ...errorMessage$b, property: 'font-weight' },
91968
92013
  labelTextColor: [
91969
92014
  { ...label$7, property: 'color' },
91970
92015
  { ...label$7, property: '-webkit-text-fill-color' },
@@ -92105,6 +92150,10 @@ function requireIndex_cjs () {
92105
92150
  [vars$G.fontFamily]: refs.fontFamily,
92106
92151
  [vars$G.labelFontSize]: refs.labelFontSize,
92107
92152
  [vars$G.labelFontWeight]: refs.labelFontWeight,
92153
+ [vars$G.inputValueFontWeight]: refs.inputValueFontWeight,
92154
+ [vars$G.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
92155
+ [vars$G.helperTextFontWeight]: refs.helperTextFontWeight,
92156
+ [vars$G.errorMessageFontWeight]: refs.errorMessageFontWeight,
92108
92157
  [vars$G.labelTextColor]: refs.labelTextColor,
92109
92158
  [vars$G.errorMessageTextColor]: refs.errorMessageTextColor,
92110
92159
  [vars$G.inputHorizontalPadding]: refs.horizontalPadding,
@@ -92197,6 +92246,10 @@ function requireIndex_cjs () {
92197
92246
  [vars$F.fontFamily]: refs.fontFamily,
92198
92247
  [vars$F.labelFontSize]: refs.labelFontSize,
92199
92248
  [vars$F.labelFontWeight]: refs.labelFontWeight,
92249
+ [vars$F.inputValueFontWeight]: refs.inputValueFontWeight,
92250
+ [vars$F.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
92251
+ [vars$F.helperTextFontWeight]: refs.helperTextFontWeight,
92252
+ [vars$F.errorMessageFontWeight]: refs.errorMessageFontWeight,
92200
92253
  [vars$F.labelTextColor]: refs.labelTextColor,
92201
92254
  [vars$F.errorMessageTextColor]: refs.errorMessageTextColor,
92202
92255
  [vars$F.inputValueTextColor]: refs.valueTextColor,
@@ -92322,6 +92375,10 @@ function requireIndex_cjs () {
92322
92375
  [vars$E.fontFamily]: refs.fontFamily,
92323
92376
  [vars$E.labelFontSize]: refs.labelFontSize,
92324
92377
  [vars$E.labelFontWeight]: refs.labelFontWeight,
92378
+ [vars$E.inputValueFontWeight]: refs.inputValueFontWeight,
92379
+ [vars$E.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
92380
+ [vars$E.helperTextFontWeight]: refs.helperTextFontWeight,
92381
+ [vars$E.errorMessageFontWeight]: refs.errorMessageFontWeight,
92325
92382
  [vars$E.labelTextColor]: refs.labelTextColor,
92326
92383
  [vars$E.errorMessageTextColor]: refs.errorMessageTextColor,
92327
92384
  [vars$E.inputValueTextColor]: refs.valueTextColor,
@@ -92394,6 +92451,12 @@ function requireIndex_cjs () {
92394
92451
  hostDirection: { ...host$i, property: 'direction' },
92395
92452
  fontSize: [host$i, textArea$2],
92396
92453
  fontFamily: [label$6, inputField$3, helperText$7, errorMessage$a],
92454
+ labelFontSize: { ...label$6, property: 'font-size' },
92455
+ labelFontWeight: { ...label$6, property: 'font-weight' },
92456
+ inputValueFontWeight: { ...textArea$2, property: 'font-weight' },
92457
+ inputPlaceholderFontWeight: { ...placeholder$1, property: 'font-weight' },
92458
+ helperTextFontWeight: { ...helperText$7, property: 'font-weight' },
92459
+ errorMessageFontWeight: { ...errorMessage$a, property: 'font-weight' },
92397
92460
  labelTextColor: [
92398
92461
  { ...label$6, property: 'color' },
92399
92462
  { ...label$6, property: '-webkit-text-fill-color' },
@@ -92459,6 +92522,12 @@ function requireIndex_cjs () {
92459
92522
  [vars$D.hostDirection]: refs.direction,
92460
92523
  [vars$D.fontSize]: refs.fontSize,
92461
92524
  [vars$D.fontFamily]: refs.fontFamily,
92525
+ [vars$D.labelFontSize]: refs.labelFontSize,
92526
+ [vars$D.labelFontWeight]: refs.labelFontWeight,
92527
+ [vars$D.inputValueFontWeight]: refs.inputValueFontWeight,
92528
+ [vars$D.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
92529
+ [vars$D.helperTextFontWeight]: refs.helperTextFontWeight,
92530
+ [vars$D.errorMessageFontWeight]: refs.errorMessageFontWeight,
92462
92531
  [vars$D.labelTextColor]: refs.labelTextColor,
92463
92532
  [vars$D.labelRequiredIndicator]: refs.requiredIndicator,
92464
92533
  [vars$D.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -93632,6 +93701,12 @@ descope-enriched-text {
93632
93701
  hostWidth: { property: 'width' },
93633
93702
  hostDirection: { ...host$e, property: 'direction' },
93634
93703
  fontFamily: [host$e, { ...label$5 }],
93704
+ labelFontWeight: { ...label$5, property: 'font-weight' },
93705
+ errorMessageFontWeight: { ...errorMessage$7, property: 'font-weight' },
93706
+ digitValueFontWeight: {
93707
+ selector: TextFieldClass.componentName,
93708
+ property: textVars$3.inputValueFontWeight,
93709
+ },
93635
93710
  labelTextColor: [
93636
93711
  { ...label$5, property: 'color' },
93637
93712
  { ...label$5, property: '-webkit-text-fill-color' },
@@ -93763,8 +93838,11 @@ descope-enriched-text {
93763
93838
  [vars$v.fontSize]: refs.fontSize,
93764
93839
  [vars$v.labelTextColor]: refs.labelTextColor,
93765
93840
  [vars$v.labelRequiredIndicator]: refs.requiredIndicator,
93841
+ [vars$v.labelFontWeight]: refs.labelFontWeight,
93766
93842
  [vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
93843
+ [vars$v.errorMessageFontWeight]: refs.errorMessageFontWeight,
93767
93844
  [vars$v.digitValueTextColor]: refs.valueTextColor,
93845
+ [vars$v.digitValueFontWeight]: refs.inputValueFontWeight,
93768
93846
  [vars$v.digitPadding]: '0',
93769
93847
  [vars$v.digitTextAlign]: 'center',
93770
93848
  [vars$v.digitSpacing]: '4px',
@@ -95343,6 +95421,15 @@ descope-enriched-text {
95343
95421
  { ...countryCodeInput, property: 'padding-right' },
95344
95422
  ],
95345
95423
 
95424
+ labelFontSize: { ...label$4, property: 'font-size' },
95425
+ labelFontWeight: { ...label$4, property: 'font-weight' },
95426
+ inputValueFontWeight: [
95427
+ { ...phoneInput$1, property: textVars$2.inputValueFontWeight },
95428
+ { ...countryCodeInput, property: comboVars.inputValueFontWeight },
95429
+ ],
95430
+ inputPlaceholderFontWeight: { ...phoneInput$1, property: textVars$2.inputPlaceholderFontWeight },
95431
+ helperTextFontWeight: { ...helperText$4, property: 'font-weight' },
95432
+ errorMessageFontWeight: { ...errorMessage$6, property: 'font-weight' },
95346
95433
  labelTextColor: [
95347
95434
  { ...label$4, property: 'color' },
95348
95435
  { ...label$4, property: '-webkit-text-fill-color' },
@@ -95498,6 +95585,12 @@ descope-enriched-text {
95498
95585
  [vars$s.hostDirection]: refs.direction,
95499
95586
  [vars$s.fontSize]: refs.fontSize,
95500
95587
  [vars$s.fontFamily]: refs.fontFamily,
95588
+ [vars$s.labelFontSize]: refs.labelFontSize,
95589
+ [vars$s.labelFontWeight]: refs.labelFontWeight,
95590
+ [vars$s.inputValueFontWeight]: refs.inputValueFontWeight,
95591
+ [vars$s.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
95592
+ [vars$s.helperTextFontWeight]: refs.helperTextFontWeight,
95593
+ [vars$s.errorMessageFontWeight]: refs.errorMessageFontWeight,
95501
95594
  [vars$s.labelTextColor]: refs.labelTextColor,
95502
95595
  [vars$s.labelRequiredIndicator]: refs.requiredIndicator,
95503
95596
  [vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -95641,6 +95734,10 @@ descope-enriched-text {
95641
95734
 
95642
95735
  labelFontSize: { ...label$3, property: 'font-size' },
95643
95736
  labelFontWeight: { ...label$3, property: 'font-weight' },
95737
+ inputValueFontWeight: { ...phoneInput, property: textVars$1.inputValueFontWeight },
95738
+ inputPlaceholderFontWeight: { ...phoneInput, property: textVars$1.inputPlaceholderFontWeight },
95739
+ helperTextFontWeight: { ...helperText$3, property: 'font-weight' },
95740
+ errorMessageFontWeight: { ...errorMessage$5, property: 'font-weight' },
95644
95741
  labelTextColor: [
95645
95742
  { ...label$3, property: 'color' },
95646
95743
  { ...label$3, property: '-webkit-text-fill-color' },
@@ -95783,6 +95880,10 @@ descope-enriched-text {
95783
95880
  [vars$r.fontFamily]: refs.fontFamily,
95784
95881
  [vars$r.labelFontSize]: refs.labelFontSize,
95785
95882
  [vars$r.labelFontWeight]: refs.labelFontWeight,
95883
+ [vars$r.inputValueFontWeight]: refs.inputValueFontWeight,
95884
+ [vars$r.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
95885
+ [vars$r.helperTextFontWeight]: refs.helperTextFontWeight,
95886
+ [vars$r.errorMessageFontWeight]: refs.errorMessageFontWeight,
95786
95887
  [vars$r.labelTextColor]: refs.labelTextColor,
95787
95888
  [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
95788
95889
  [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -96232,6 +96333,16 @@ descope-enriched-text {
96232
96333
  fontFamily: [label$2, errorMessage$4, helperText$2],
96233
96334
  labelFontSize: { ...label$2, property: 'font-size' },
96234
96335
  labelFontWeight: { ...label$2, property: 'font-weight' },
96336
+ inputValueFontWeight: {
96337
+ ...passwordInput,
96338
+ property: PasswordClass.cssVarList.inputValueFontWeight,
96339
+ },
96340
+ inputPlaceholderFontWeight: {
96341
+ ...passwordInput,
96342
+ property: PasswordClass.cssVarList.inputPlaceholderFontWeight,
96343
+ },
96344
+ helperTextFontWeight: { ...helperText$2, property: 'font-weight' },
96345
+ errorMessageFontWeight: { ...errorMessage$4, property: 'font-weight' },
96235
96346
  labelTextColor: { ...label$2, property: 'color' },
96236
96347
  errorMessageTextColor: { ...errorMessage$4, property: 'color' },
96237
96348
  errorMessageIcon: { ...errorMessage$4, property: 'background-image' },
@@ -96337,6 +96448,10 @@ descope-enriched-text {
96337
96448
  [vars$q.fontFamily]: refs.fontFamily,
96338
96449
  [vars$q.labelFontSize]: refs.labelFontSize,
96339
96450
  [vars$q.labelFontWeight]: refs.labelFontWeight,
96451
+ [vars$q.inputValueFontWeight]: refs.inputValueFontWeight,
96452
+ [vars$q.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
96453
+ [vars$q.helperTextFontWeight]: refs.helperTextFontWeight,
96454
+ [vars$q.errorMessageFontWeight]: refs.errorMessageFontWeight,
96340
96455
  [vars$q.labelTextColor]: refs.labelTextColor,
96341
96456
  [vars$q.spaceBetweenInputs]: '1em',
96342
96457
  [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
@@ -98703,6 +98818,10 @@ descope-enriched-text {
98703
98818
  fontFamily: [label, placeholder, inputField, helperText$1, errorMessage$2, chipLabel],
98704
98819
  labelFontSize: { ...label, property: 'font-size' },
98705
98820
  labelFontWeight: { ...label, property: 'font-weight' },
98821
+ inputValueFontWeight: { ...inputField, property: 'font-weight' },
98822
+ inputPlaceholderFontWeight: { ...placeholder, property: 'font-weight' },
98823
+ helperTextFontWeight: { ...helperText$1, property: 'font-weight' },
98824
+ errorMessageFontWeight: { ...errorMessage$2, property: 'font-weight' },
98706
98825
  labelTextColor: [
98707
98826
  { ...label, property: 'color' },
98708
98827
  { ...requiredIndicator, property: 'color' },
@@ -98924,6 +99043,10 @@ descope-enriched-text {
98924
99043
  [vars$i.fontFamily]: refs.fontFamily,
98925
99044
  [vars$i.labelFontSize]: refs.labelFontSize,
98926
99045
  [vars$i.labelFontWeight]: refs.labelFontWeight,
99046
+ [vars$i.inputValueFontWeight]: refs.inputValueFontWeight,
99047
+ [vars$i.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
99048
+ [vars$i.helperTextFontWeight]: refs.helperTextFontWeight,
99049
+ [vars$i.errorMessageFontWeight]: refs.errorMessageFontWeight,
98927
99050
  [vars$i.labelTextColor]: refs.labelTextColor,
98928
99051
  [vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
98929
99052
  [vars$i.inputBorderColor]: refs.borderColor,
@@ -102875,6 +102998,26 @@ descope-enriched-text {
102875
102998
  selector: TextFieldClass.componentName,
102876
102999
  property: TextFieldClass.cssVarList.errorMessageFontSize,
102877
103000
  },
103001
+ labelFontWeight: {
103002
+ selector: TextFieldClass.componentName,
103003
+ property: TextFieldClass.cssVarList.labelFontWeight,
103004
+ },
103005
+ inputValueFontWeight: {
103006
+ selector: TextFieldClass.componentName,
103007
+ property: TextFieldClass.cssVarList.inputValueFontWeight,
103008
+ },
103009
+ inputPlaceholderFontWeight: {
103010
+ selector: TextFieldClass.componentName,
103011
+ property: TextFieldClass.cssVarList.inputPlaceholderFontWeight,
103012
+ },
103013
+ helperTextFontWeight: {
103014
+ selector: TextFieldClass.componentName,
103015
+ property: TextFieldClass.cssVarList.helperTextFontWeight,
103016
+ },
103017
+ errorMessageFontWeight: {
103018
+ selector: TextFieldClass.componentName,
103019
+ property: TextFieldClass.cssVarList.errorMessageFontWeight,
103020
+ },
102878
103021
  },
102879
103022
  }),
102880
103023
  portalMixin({
@@ -102926,6 +103069,12 @@ descope-enriched-text {
102926
103069
  [vars$8.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
102927
103070
  [vars$8.errorMessageIconPosition]: refs.errorMessageIconPosition,
102928
103071
  [vars$8.errorMessageFontSize]: refs.errorMessageFontSize,
103072
+
103073
+ [vars$8.labelFontWeight]: refs.labelFontWeight,
103074
+ [vars$8.inputValueFontWeight]: refs.inputValueFontWeight,
103075
+ [vars$8.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
103076
+ [vars$8.helperTextFontWeight]: refs.helperTextFontWeight,
103077
+ [vars$8.errorMessageFontWeight]: refs.errorMessageFontWeight,
102929
103078
  };
102930
103079
 
102931
103080
  var dateField$1 = /*#__PURE__*/Object.freeze({
@@ -104209,6 +104358,56 @@ descope-enriched-text {
104209
104358
  property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontSize,
104210
104359
  },
104211
104360
  ],
104361
+ labelFontWeight: [
104362
+ {
104363
+ selector: () => PhoneFieldClass.componentName,
104364
+ property: PhoneFieldClass.cssVarList.labelFontWeight,
104365
+ },
104366
+ {
104367
+ selector: () => PhoneFieldInputBoxClass.componentName,
104368
+ property: PhoneFieldInputBoxClass.cssVarList.labelFontWeight,
104369
+ },
104370
+ ],
104371
+ inputValueFontWeight: [
104372
+ {
104373
+ selector: () => PhoneFieldClass.componentName,
104374
+ property: PhoneFieldClass.cssVarList.inputValueFontWeight,
104375
+ },
104376
+ {
104377
+ selector: () => PhoneFieldInputBoxClass.componentName,
104378
+ property: PhoneFieldInputBoxClass.cssVarList.inputValueFontWeight,
104379
+ },
104380
+ ],
104381
+ inputPlaceholderFontWeight: [
104382
+ {
104383
+ selector: () => PhoneFieldClass.componentName,
104384
+ property: PhoneFieldClass.cssVarList.inputPlaceholderFontWeight,
104385
+ },
104386
+ {
104387
+ selector: () => PhoneFieldInputBoxClass.componentName,
104388
+ property: PhoneFieldInputBoxClass.cssVarList.inputPlaceholderFontWeight,
104389
+ },
104390
+ ],
104391
+ helperTextFontWeight: [
104392
+ {
104393
+ selector: () => PhoneFieldClass.componentName,
104394
+ property: PhoneFieldClass.cssVarList.helperTextFontWeight,
104395
+ },
104396
+ {
104397
+ selector: () => PhoneFieldInputBoxClass.componentName,
104398
+ property: PhoneFieldInputBoxClass.cssVarList.helperTextFontWeight,
104399
+ },
104400
+ ],
104401
+ errorMessageFontWeight: [
104402
+ {
104403
+ selector: () => PhoneFieldClass.componentName,
104404
+ property: PhoneFieldClass.cssVarList.errorMessageFontWeight,
104405
+ },
104406
+ {
104407
+ selector: () => PhoneFieldInputBoxClass.componentName,
104408
+ property: PhoneFieldInputBoxClass.cssVarList.errorMessageFontWeight,
104409
+ },
104410
+ ],
104212
104411
  },
104213
104412
  }),
104214
104413
  draggableMixin,
@@ -104219,6 +104418,11 @@ descope-enriched-text {
104219
104418
 
104220
104419
  const hybridField = {
104221
104420
  [vars$3.hostDirection]: refs.direction,
104421
+ [vars$3.labelFontWeight]: refs.labelFontWeight,
104422
+ [vars$3.inputValueFontWeight]: refs.inputValueFontWeight,
104423
+ [vars$3.inputPlaceholderFontWeight]: refs.inputPlaceholderFontWeight,
104424
+ [vars$3.helperTextFontWeight]: refs.helperTextFontWeight,
104425
+ [vars$3.errorMessageFontWeight]: refs.errorMessageFontWeight,
104222
104426
 
104223
104427
  // error message icon
104224
104428
  [vars$3.errorMessageIcon]: refs.errorMessageIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.3.5",
3
+ "version": "3.4.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -97,7 +97,7 @@
97
97
  "webpack-subresource-integrity": "5.2.0-rc.1"
98
98
  },
99
99
  "dependencies": {
100
- "@descope/web-components-ui": "3.3.5"
100
+ "@descope/web-components-ui": "3.4.0"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": ">= 18"