@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.48 → 0.0.0-pr624.49

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.
@@ -13302,7 +13302,7 @@ class AuroInput extends BaseInput {
13302
13302
  */
13303
13303
  get commonInputClasses() {
13304
13304
  return {
13305
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
13305
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
13306
13306
  };
13307
13307
  }
13308
13308
 
@@ -13160,7 +13160,7 @@ class AuroInput extends BaseInput {
13160
13160
  */
13161
13161
  get commonInputClasses() {
13162
13162
  return {
13163
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
13163
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
13164
13164
  };
13165
13165
  }
13166
13166
 
@@ -13078,7 +13078,7 @@ class AuroInput extends BaseInput {
13078
13078
  */
13079
13079
  get commonInputClasses() {
13080
13080
  return {
13081
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
13081
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
13082
13082
  };
13083
13083
  }
13084
13084
 
@@ -13078,7 +13078,7 @@ class AuroInput extends BaseInput {
13078
13078
  */
13079
13079
  get commonInputClasses() {
13080
13080
  return {
13081
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
13081
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
13082
13082
  };
13083
13083
  }
13084
13084
 
@@ -26619,7 +26619,7 @@ class AuroInput extends BaseInput {
26619
26619
  */
26620
26620
  get commonInputClasses() {
26621
26621
  return {
26622
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
26622
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
26623
26623
  };
26624
26624
  }
26625
26625
 
@@ -26360,7 +26360,7 @@ class AuroInput extends BaseInput {
26360
26360
  */
26361
26361
  get commonInputClasses() {
26362
26362
  return {
26363
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
26363
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
26364
26364
  };
26365
26365
  }
26366
26366
 
@@ -26296,7 +26296,7 @@ class AuroInput extends BaseInput {
26296
26296
  */
26297
26297
  get commonInputClasses() {
26298
26298
  return {
26299
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
26299
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
26300
26300
  };
26301
26301
  }
26302
26302
 
@@ -26296,7 +26296,7 @@ class AuroInput extends BaseInput {
26296
26296
  */
26297
26297
  get commonInputClasses() {
26298
26298
  return {
26299
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
26299
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
26300
26300
  };
26301
26301
  }
26302
26302
 
@@ -7917,7 +7917,7 @@ class AuroInput extends BaseInput {
7917
7917
  */
7918
7918
  get commonInputClasses() {
7919
7919
  return {
7920
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7920
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
7921
7921
  };
7922
7922
  }
7923
7923
 
@@ -7842,7 +7842,7 @@ class AuroInput extends BaseInput {
7842
7842
  */
7843
7843
  get commonInputClasses() {
7844
7844
  return {
7845
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7845
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
7846
7846
  };
7847
7847
  }
7848
7848
 
@@ -7766,7 +7766,7 @@ class AuroInput extends BaseInput {
7766
7766
  */
7767
7767
  get commonInputClasses() {
7768
7768
  return {
7769
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7769
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
7770
7770
  };
7771
7771
  }
7772
7772
 
@@ -7766,7 +7766,7 @@ class AuroInput extends BaseInput {
7766
7766
  */
7767
7767
  get commonInputClasses() {
7768
7768
  return {
7769
- 'util_displayHiddenVisually': this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0
7769
+ 'util_displayHiddenVisually': (this.hasDisplayValueContent && !this.hasFocus && this.value && this.value.length > 0) || ((!this.value || this.value.length === 0) && !this.hasFocus && (!this.placeholder || this.placeholder === '')),
7770
7770
  };
7771
7771
  }
7772
7772
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr624.48",
3
+ "version": "0.0.0-pr624.49",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {