@aurodesignsystem-dev/auro-formkit 0.0.0-pr1215.0 → 0.0.0-pr1218.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.
@@ -10507,7 +10507,6 @@ class BaseInput extends AuroElement$1 {
10507
10507
  this.validationCCLength = undefined;
10508
10508
  this.hasValue = false;
10509
10509
  this.label = 'Input label is undefined';
10510
- this.placeholderStr = '';
10511
10510
 
10512
10511
  this.allowedInputTypes = [
10513
10512
  "text",
@@ -10664,6 +10663,26 @@ class BaseInput extends AuroElement$1 {
10664
10663
  reflect: true
10665
10664
  },
10666
10665
 
10666
+ /**
10667
+ * @private
10668
+ * Flag to indicate if the input currently has value.
10669
+ */
10670
+ hasValue: {
10671
+ type: Boolean,
10672
+ reflect: false,
10673
+ attribute: false
10674
+ },
10675
+
10676
+ /**
10677
+ * @private
10678
+ * Flag to indicate if the input currently has focus.
10679
+ */
10680
+ hasFocus: {
10681
+ type: Boolean,
10682
+ reflect: false,
10683
+ attribute: false
10684
+ },
10685
+
10667
10686
  /**
10668
10687
  * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
10669
10688
  */
@@ -10966,7 +10985,6 @@ class BaseInput extends AuroElement$1 {
10966
10985
  this.ValidityMessageOverride = this.setCustomValidity;
10967
10986
  }
10968
10987
 
10969
- this.getPlaceholder();
10970
10988
  this.setCustomHelpTextMessage();
10971
10989
  this.configureAutoFormatting();
10972
10990
  }
@@ -11051,10 +11069,6 @@ class BaseInput extends AuroElement$1 {
11051
11069
  updated(changedProperties) {
11052
11070
  super.updated(changedProperties);
11053
11071
 
11054
- if (changedProperties.has('placeholder')) {
11055
- this.getPlaceholder();
11056
- }
11057
-
11058
11072
  if (changedProperties.has('format')) {
11059
11073
  this.configureAutoFormatting();
11060
11074
  }
@@ -11088,10 +11102,8 @@ class BaseInput extends AuroElement$1 {
11088
11102
  if (changedProperties.has('value')) {
11089
11103
  if (this.value && this.value.length > 0) {
11090
11104
  this.hasValue = true;
11091
- this.requestUpdate();
11092
11105
  } else {
11093
11106
  this.hasValue = false;
11094
- this.requestUpdate();
11095
11107
  }
11096
11108
 
11097
11109
  if (this.value !== this.inputElement.value) {
@@ -11277,8 +11289,6 @@ class BaseInput extends AuroElement$1 {
11277
11289
  handleFocusin() {
11278
11290
  this.hasFocus = true;
11279
11291
 
11280
- this.getPlaceholder();
11281
-
11282
11292
  this.touched = true;
11283
11293
  }
11284
11294
 
@@ -11289,7 +11299,6 @@ class BaseInput extends AuroElement$1 {
11289
11299
  */
11290
11300
  handleFocusout() {
11291
11301
  this.hasFocus = false;
11292
- this.getPlaceholder();
11293
11302
  }
11294
11303
 
11295
11304
  /**
@@ -11426,16 +11435,11 @@ class BaseInput extends AuroElement$1 {
11426
11435
  * @private
11427
11436
  * @returns {void}
11428
11437
  */
11429
- getPlaceholder() {
11430
- if (this.placeholder) {
11431
- this.placeholderStr = this.placeholder;
11432
- } else if (this.type === 'date') {
11433
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11438
+ get placeholderStr() {
11439
+ if (!this.placeholder && this.type === 'date') {
11440
+ return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11434
11441
  }
11435
-
11436
- this.requestUpdate();
11437
-
11438
- return this.placeholderStr;
11442
+ return this.placeholder || "";
11439
11443
  }
11440
11444
 
11441
11445
  /**
@@ -12017,7 +12021,7 @@ class AuroInput extends BaseInput {
12017
12021
  (
12018
12022
  (!this.value || this.value.length === 0) &&
12019
12023
  !this.hasFocus &&
12020
- (!this.placeholder || this.placeholder === '')
12024
+ (!this.placeholderStr || this.placeholderStr === '')
12021
12025
  );
12022
12026
  }
12023
12027
 
@@ -12062,11 +12066,11 @@ class AuroInput extends BaseInput {
12062
12066
  }
12063
12067
 
12064
12068
  if (this.layout === 'snowflake') {
12065
- return this.hasValue || this.hasFocus || this.placeholder ? 'body-xs' : 'body-lg';
12069
+ return this.hasValue || this.hasFocus || this.placeholderStr ? 'body-xs' : 'body-lg';
12066
12070
  }
12067
12071
 
12068
12072
  // classic layout (default)
12069
- return ((!this.value || this.value.length === 0) && !this.placeholder && !this.hasFocus) ? 'body-default' : 'body-xs';
12073
+ return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
12070
12074
  }
12071
12075
 
12072
12076
  /**
@@ -10379,7 +10379,6 @@ class BaseInput extends AuroElement$1 {
10379
10379
  this.validationCCLength = undefined;
10380
10380
  this.hasValue = false;
10381
10381
  this.label = 'Input label is undefined';
10382
- this.placeholderStr = '';
10383
10382
 
10384
10383
  this.allowedInputTypes = [
10385
10384
  "text",
@@ -10536,6 +10535,26 @@ class BaseInput extends AuroElement$1 {
10536
10535
  reflect: true
10537
10536
  },
10538
10537
 
10538
+ /**
10539
+ * @private
10540
+ * Flag to indicate if the input currently has value.
10541
+ */
10542
+ hasValue: {
10543
+ type: Boolean,
10544
+ reflect: false,
10545
+ attribute: false
10546
+ },
10547
+
10548
+ /**
10549
+ * @private
10550
+ * Flag to indicate if the input currently has focus.
10551
+ */
10552
+ hasFocus: {
10553
+ type: Boolean,
10554
+ reflect: false,
10555
+ attribute: false
10556
+ },
10557
+
10539
10558
  /**
10540
10559
  * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
10541
10560
  */
@@ -10838,7 +10857,6 @@ class BaseInput extends AuroElement$1 {
10838
10857
  this.ValidityMessageOverride = this.setCustomValidity;
10839
10858
  }
10840
10859
 
10841
- this.getPlaceholder();
10842
10860
  this.setCustomHelpTextMessage();
10843
10861
  this.configureAutoFormatting();
10844
10862
  }
@@ -10923,10 +10941,6 @@ class BaseInput extends AuroElement$1 {
10923
10941
  updated(changedProperties) {
10924
10942
  super.updated(changedProperties);
10925
10943
 
10926
- if (changedProperties.has('placeholder')) {
10927
- this.getPlaceholder();
10928
- }
10929
-
10930
10944
  if (changedProperties.has('format')) {
10931
10945
  this.configureAutoFormatting();
10932
10946
  }
@@ -10960,10 +10974,8 @@ class BaseInput extends AuroElement$1 {
10960
10974
  if (changedProperties.has('value')) {
10961
10975
  if (this.value && this.value.length > 0) {
10962
10976
  this.hasValue = true;
10963
- this.requestUpdate();
10964
10977
  } else {
10965
10978
  this.hasValue = false;
10966
- this.requestUpdate();
10967
10979
  }
10968
10980
 
10969
10981
  if (this.value !== this.inputElement.value) {
@@ -11149,8 +11161,6 @@ class BaseInput extends AuroElement$1 {
11149
11161
  handleFocusin() {
11150
11162
  this.hasFocus = true;
11151
11163
 
11152
- this.getPlaceholder();
11153
-
11154
11164
  this.touched = true;
11155
11165
  }
11156
11166
 
@@ -11161,7 +11171,6 @@ class BaseInput extends AuroElement$1 {
11161
11171
  */
11162
11172
  handleFocusout() {
11163
11173
  this.hasFocus = false;
11164
- this.getPlaceholder();
11165
11174
  }
11166
11175
 
11167
11176
  /**
@@ -11298,16 +11307,11 @@ class BaseInput extends AuroElement$1 {
11298
11307
  * @private
11299
11308
  * @returns {void}
11300
11309
  */
11301
- getPlaceholder() {
11302
- if (this.placeholder) {
11303
- this.placeholderStr = this.placeholder;
11304
- } else if (this.type === 'date') {
11305
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11310
+ get placeholderStr() {
11311
+ if (!this.placeholder && this.type === 'date') {
11312
+ return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11306
11313
  }
11307
-
11308
- this.requestUpdate();
11309
-
11310
- return this.placeholderStr;
11314
+ return this.placeholder || "";
11311
11315
  }
11312
11316
 
11313
11317
  /**
@@ -11889,7 +11893,7 @@ class AuroInput extends BaseInput {
11889
11893
  (
11890
11894
  (!this.value || this.value.length === 0) &&
11891
11895
  !this.hasFocus &&
11892
- (!this.placeholder || this.placeholder === '')
11896
+ (!this.placeholderStr || this.placeholderStr === '')
11893
11897
  );
11894
11898
  }
11895
11899
 
@@ -11934,11 +11938,11 @@ class AuroInput extends BaseInput {
11934
11938
  }
11935
11939
 
11936
11940
  if (this.layout === 'snowflake') {
11937
- return this.hasValue || this.hasFocus || this.placeholder ? 'body-xs' : 'body-lg';
11941
+ return this.hasValue || this.hasFocus || this.placeholderStr ? 'body-xs' : 'body-lg';
11938
11942
  }
11939
11943
 
11940
11944
  // classic layout (default)
11941
- return ((!this.value || this.value.length === 0) && !this.placeholder && !this.hasFocus) ? 'body-default' : 'body-xs';
11945
+ return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
11942
11946
  }
11943
11947
 
11944
11948
  /**
@@ -10286,7 +10286,6 @@ class BaseInput extends AuroElement$1 {
10286
10286
  this.validationCCLength = undefined;
10287
10287
  this.hasValue = false;
10288
10288
  this.label = 'Input label is undefined';
10289
- this.placeholderStr = '';
10290
10289
 
10291
10290
  this.allowedInputTypes = [
10292
10291
  "text",
@@ -10443,6 +10442,26 @@ class BaseInput extends AuroElement$1 {
10443
10442
  reflect: true
10444
10443
  },
10445
10444
 
10445
+ /**
10446
+ * @private
10447
+ * Flag to indicate if the input currently has value.
10448
+ */
10449
+ hasValue: {
10450
+ type: Boolean,
10451
+ reflect: false,
10452
+ attribute: false
10453
+ },
10454
+
10455
+ /**
10456
+ * @private
10457
+ * Flag to indicate if the input currently has focus.
10458
+ */
10459
+ hasFocus: {
10460
+ type: Boolean,
10461
+ reflect: false,
10462
+ attribute: false
10463
+ },
10464
+
10446
10465
  /**
10447
10466
  * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
10448
10467
  */
@@ -10745,7 +10764,6 @@ class BaseInput extends AuroElement$1 {
10745
10764
  this.ValidityMessageOverride = this.setCustomValidity;
10746
10765
  }
10747
10766
 
10748
- this.getPlaceholder();
10749
10767
  this.setCustomHelpTextMessage();
10750
10768
  this.configureAutoFormatting();
10751
10769
  }
@@ -10830,10 +10848,6 @@ class BaseInput extends AuroElement$1 {
10830
10848
  updated(changedProperties) {
10831
10849
  super.updated(changedProperties);
10832
10850
 
10833
- if (changedProperties.has('placeholder')) {
10834
- this.getPlaceholder();
10835
- }
10836
-
10837
10851
  if (changedProperties.has('format')) {
10838
10852
  this.configureAutoFormatting();
10839
10853
  }
@@ -10867,10 +10881,8 @@ class BaseInput extends AuroElement$1 {
10867
10881
  if (changedProperties.has('value')) {
10868
10882
  if (this.value && this.value.length > 0) {
10869
10883
  this.hasValue = true;
10870
- this.requestUpdate();
10871
10884
  } else {
10872
10885
  this.hasValue = false;
10873
- this.requestUpdate();
10874
10886
  }
10875
10887
 
10876
10888
  if (this.value !== this.inputElement.value) {
@@ -11056,8 +11068,6 @@ class BaseInput extends AuroElement$1 {
11056
11068
  handleFocusin() {
11057
11069
  this.hasFocus = true;
11058
11070
 
11059
- this.getPlaceholder();
11060
-
11061
11071
  this.touched = true;
11062
11072
  }
11063
11073
 
@@ -11068,7 +11078,6 @@ class BaseInput extends AuroElement$1 {
11068
11078
  */
11069
11079
  handleFocusout() {
11070
11080
  this.hasFocus = false;
11071
- this.getPlaceholder();
11072
11081
  }
11073
11082
 
11074
11083
  /**
@@ -11205,16 +11214,11 @@ class BaseInput extends AuroElement$1 {
11205
11214
  * @private
11206
11215
  * @returns {void}
11207
11216
  */
11208
- getPlaceholder() {
11209
- if (this.placeholder) {
11210
- this.placeholderStr = this.placeholder;
11211
- } else if (this.type === 'date') {
11212
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11217
+ get placeholderStr() {
11218
+ if (!this.placeholder && this.type === 'date') {
11219
+ return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11213
11220
  }
11214
-
11215
- this.requestUpdate();
11216
-
11217
- return this.placeholderStr;
11221
+ return this.placeholder || "";
11218
11222
  }
11219
11223
 
11220
11224
  /**
@@ -11796,7 +11800,7 @@ class AuroInput extends BaseInput {
11796
11800
  (
11797
11801
  (!this.value || this.value.length === 0) &&
11798
11802
  !this.hasFocus &&
11799
- (!this.placeholder || this.placeholder === '')
11803
+ (!this.placeholderStr || this.placeholderStr === '')
11800
11804
  );
11801
11805
  }
11802
11806
 
@@ -11841,11 +11845,11 @@ class AuroInput extends BaseInput {
11841
11845
  }
11842
11846
 
11843
11847
  if (this.layout === 'snowflake') {
11844
- return this.hasValue || this.hasFocus || this.placeholder ? 'body-xs' : 'body-lg';
11848
+ return this.hasValue || this.hasFocus || this.placeholderStr ? 'body-xs' : 'body-lg';
11845
11849
  }
11846
11850
 
11847
11851
  // classic layout (default)
11848
- return ((!this.value || this.value.length === 0) && !this.placeholder && !this.hasFocus) ? 'body-default' : 'body-xs';
11852
+ return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
11849
11853
  }
11850
11854
 
11851
11855
  /**
@@ -10286,7 +10286,6 @@ class BaseInput extends AuroElement$1 {
10286
10286
  this.validationCCLength = undefined;
10287
10287
  this.hasValue = false;
10288
10288
  this.label = 'Input label is undefined';
10289
- this.placeholderStr = '';
10290
10289
 
10291
10290
  this.allowedInputTypes = [
10292
10291
  "text",
@@ -10443,6 +10442,26 @@ class BaseInput extends AuroElement$1 {
10443
10442
  reflect: true
10444
10443
  },
10445
10444
 
10445
+ /**
10446
+ * @private
10447
+ * Flag to indicate if the input currently has value.
10448
+ */
10449
+ hasValue: {
10450
+ type: Boolean,
10451
+ reflect: false,
10452
+ attribute: false
10453
+ },
10454
+
10455
+ /**
10456
+ * @private
10457
+ * Flag to indicate if the input currently has focus.
10458
+ */
10459
+ hasFocus: {
10460
+ type: Boolean,
10461
+ reflect: false,
10462
+ attribute: false
10463
+ },
10464
+
10446
10465
  /**
10447
10466
  * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
10448
10467
  */
@@ -10745,7 +10764,6 @@ class BaseInput extends AuroElement$1 {
10745
10764
  this.ValidityMessageOverride = this.setCustomValidity;
10746
10765
  }
10747
10766
 
10748
- this.getPlaceholder();
10749
10767
  this.setCustomHelpTextMessage();
10750
10768
  this.configureAutoFormatting();
10751
10769
  }
@@ -10830,10 +10848,6 @@ class BaseInput extends AuroElement$1 {
10830
10848
  updated(changedProperties) {
10831
10849
  super.updated(changedProperties);
10832
10850
 
10833
- if (changedProperties.has('placeholder')) {
10834
- this.getPlaceholder();
10835
- }
10836
-
10837
10851
  if (changedProperties.has('format')) {
10838
10852
  this.configureAutoFormatting();
10839
10853
  }
@@ -10867,10 +10881,8 @@ class BaseInput extends AuroElement$1 {
10867
10881
  if (changedProperties.has('value')) {
10868
10882
  if (this.value && this.value.length > 0) {
10869
10883
  this.hasValue = true;
10870
- this.requestUpdate();
10871
10884
  } else {
10872
10885
  this.hasValue = false;
10873
- this.requestUpdate();
10874
10886
  }
10875
10887
 
10876
10888
  if (this.value !== this.inputElement.value) {
@@ -11056,8 +11068,6 @@ class BaseInput extends AuroElement$1 {
11056
11068
  handleFocusin() {
11057
11069
  this.hasFocus = true;
11058
11070
 
11059
- this.getPlaceholder();
11060
-
11061
11071
  this.touched = true;
11062
11072
  }
11063
11073
 
@@ -11068,7 +11078,6 @@ class BaseInput extends AuroElement$1 {
11068
11078
  */
11069
11079
  handleFocusout() {
11070
11080
  this.hasFocus = false;
11071
- this.getPlaceholder();
11072
11081
  }
11073
11082
 
11074
11083
  /**
@@ -11205,16 +11214,11 @@ class BaseInput extends AuroElement$1 {
11205
11214
  * @private
11206
11215
  * @returns {void}
11207
11216
  */
11208
- getPlaceholder() {
11209
- if (this.placeholder) {
11210
- this.placeholderStr = this.placeholder;
11211
- } else if (this.type === 'date') {
11212
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11217
+ get placeholderStr() {
11218
+ if (!this.placeholder && this.type === 'date') {
11219
+ return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
11213
11220
  }
11214
-
11215
- this.requestUpdate();
11216
-
11217
- return this.placeholderStr;
11221
+ return this.placeholder || "";
11218
11222
  }
11219
11223
 
11220
11224
  /**
@@ -11796,7 +11800,7 @@ class AuroInput extends BaseInput {
11796
11800
  (
11797
11801
  (!this.value || this.value.length === 0) &&
11798
11802
  !this.hasFocus &&
11799
- (!this.placeholder || this.placeholder === '')
11803
+ (!this.placeholderStr || this.placeholderStr === '')
11800
11804
  );
11801
11805
  }
11802
11806
 
@@ -11841,11 +11845,11 @@ class AuroInput extends BaseInput {
11841
11845
  }
11842
11846
 
11843
11847
  if (this.layout === 'snowflake') {
11844
- return this.hasValue || this.hasFocus || this.placeholder ? 'body-xs' : 'body-lg';
11848
+ return this.hasValue || this.hasFocus || this.placeholderStr ? 'body-xs' : 'body-lg';
11845
11849
  }
11846
11850
 
11847
11851
  // classic layout (default)
11848
- return ((!this.value || this.value.length === 0) && !this.placeholder && !this.hasFocus) ? 'body-default' : 'body-xs';
11852
+ return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
11849
11853
  }
11850
11854
 
11851
11855
  /**
@@ -21391,7 +21391,6 @@ class BaseInput extends AuroElement$1 {
21391
21391
  this.validationCCLength = undefined;
21392
21392
  this.hasValue = false;
21393
21393
  this.label = 'Input label is undefined';
21394
- this.placeholderStr = '';
21395
21394
 
21396
21395
  this.allowedInputTypes = [
21397
21396
  "text",
@@ -21548,6 +21547,26 @@ class BaseInput extends AuroElement$1 {
21548
21547
  reflect: true
21549
21548
  },
21550
21549
 
21550
+ /**
21551
+ * @private
21552
+ * Flag to indicate if the input currently has value.
21553
+ */
21554
+ hasValue: {
21555
+ type: Boolean,
21556
+ reflect: false,
21557
+ attribute: false
21558
+ },
21559
+
21560
+ /**
21561
+ * @private
21562
+ * Flag to indicate if the input currently has focus.
21563
+ */
21564
+ hasFocus: {
21565
+ type: Boolean,
21566
+ reflect: false,
21567
+ attribute: false
21568
+ },
21569
+
21551
21570
  /**
21552
21571
  * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
21553
21572
  */
@@ -21850,7 +21869,6 @@ class BaseInput extends AuroElement$1 {
21850
21869
  this.ValidityMessageOverride = this.setCustomValidity;
21851
21870
  }
21852
21871
 
21853
- this.getPlaceholder();
21854
21872
  this.setCustomHelpTextMessage();
21855
21873
  this.configureAutoFormatting();
21856
21874
  }
@@ -21935,10 +21953,6 @@ class BaseInput extends AuroElement$1 {
21935
21953
  updated(changedProperties) {
21936
21954
  super.updated(changedProperties);
21937
21955
 
21938
- if (changedProperties.has('placeholder')) {
21939
- this.getPlaceholder();
21940
- }
21941
-
21942
21956
  if (changedProperties.has('format')) {
21943
21957
  this.configureAutoFormatting();
21944
21958
  }
@@ -21972,10 +21986,8 @@ class BaseInput extends AuroElement$1 {
21972
21986
  if (changedProperties.has('value')) {
21973
21987
  if (this.value && this.value.length > 0) {
21974
21988
  this.hasValue = true;
21975
- this.requestUpdate();
21976
21989
  } else {
21977
21990
  this.hasValue = false;
21978
- this.requestUpdate();
21979
21991
  }
21980
21992
 
21981
21993
  if (this.value !== this.inputElement.value) {
@@ -22161,8 +22173,6 @@ class BaseInput extends AuroElement$1 {
22161
22173
  handleFocusin() {
22162
22174
  this.hasFocus = true;
22163
22175
 
22164
- this.getPlaceholder();
22165
-
22166
22176
  this.touched = true;
22167
22177
  }
22168
22178
 
@@ -22173,7 +22183,6 @@ class BaseInput extends AuroElement$1 {
22173
22183
  */
22174
22184
  handleFocusout() {
22175
22185
  this.hasFocus = false;
22176
- this.getPlaceholder();
22177
22186
  }
22178
22187
 
22179
22188
  /**
@@ -22310,16 +22319,11 @@ class BaseInput extends AuroElement$1 {
22310
22319
  * @private
22311
22320
  * @returns {void}
22312
22321
  */
22313
- getPlaceholder() {
22314
- if (this.placeholder) {
22315
- this.placeholderStr = this.placeholder;
22316
- } else if (this.type === 'date') {
22317
- this.placeholderStr = this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
22322
+ get placeholderStr() {
22323
+ if (!this.placeholder && this.type === 'date') {
22324
+ return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
22318
22325
  }
22319
-
22320
- this.requestUpdate();
22321
-
22322
- return this.placeholderStr;
22326
+ return this.placeholder || "";
22323
22327
  }
22324
22328
 
22325
22329
  /**
@@ -22901,7 +22905,7 @@ class AuroInput extends BaseInput {
22901
22905
  (
22902
22906
  (!this.value || this.value.length === 0) &&
22903
22907
  !this.hasFocus &&
22904
- (!this.placeholder || this.placeholder === '')
22908
+ (!this.placeholderStr || this.placeholderStr === '')
22905
22909
  );
22906
22910
  }
22907
22911
 
@@ -22946,11 +22950,11 @@ class AuroInput extends BaseInput {
22946
22950
  }
22947
22951
 
22948
22952
  if (this.layout === 'snowflake') {
22949
- return this.hasValue || this.hasFocus || this.placeholder ? 'body-xs' : 'body-lg';
22953
+ return this.hasValue || this.hasFocus || this.placeholderStr ? 'body-xs' : 'body-lg';
22950
22954
  }
22951
22955
 
22952
22956
  // classic layout (default)
22953
- return ((!this.value || this.value.length === 0) && !this.placeholder && !this.hasFocus) ? 'body-default' : 'body-xs';
22957
+ return ((!this.value || this.value.length === 0) && !this.placeholderStr && !this.hasFocus) ? 'body-default' : 'body-xs';
22954
22958
  }
22955
22959
 
22956
22960
  /**