@jobber/components 6.106.1 → 6.106.2-FIXfix-au-8f3c3ae.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 (2) hide show
  1. package/dist/styles.css +28 -0
  2. package/package.json +2 -2
package/dist/styles.css CHANGED
@@ -939,6 +939,15 @@
939
939
  -webkit-text-fill-color: var(--field--value-color);
940
940
  }
941
941
 
942
+ /* Apply miniLabel styles when input has autofill (CSS-only solution) */
943
+
944
+ /* Supports both -webkit-autofill (Chrome/Safari) and :autofill (Firefox) */
945
+
946
+ ._8lhbGTQ-hhg-:has(.vtSDcuzNr9Q-:-webkit-autofill)._9tjyT9QUtP8-:not(._0pmqVa2zSE4-),
947
+ ._8lhbGTQ-hhg-:has(.vtSDcuzNr9Q-:autofill)._9tjyT9QUtP8-:not(._0pmqVa2zSE4-) {
948
+ --field--padding-top: calc(var(--space-large) + var(--space-smaller));
949
+ }
950
+
942
951
  .hGr6YW4AeLM-:not(:has(.Dgk00tzlODA-)) .vtSDcuzNr9Q- {
943
952
  padding-top: var(--field--padding-top);
944
953
  }
@@ -1026,6 +1035,15 @@
1026
1035
  font-size: var(--typography--fontSize-small);
1027
1036
  }
1028
1037
 
1038
+ /* Apply miniLabel label styles when input has autofill */
1039
+
1040
+ /* Supports both -webkit-autofill (Chrome/Safari) and :autofill (Firefox) */
1041
+
1042
+ ._8lhbGTQ-hhg-:has(.vtSDcuzNr9Q-:-webkit-autofill).hGr6YW4AeLM- .Dgk00tzlODA-,
1043
+ ._8lhbGTQ-hhg-:has(.vtSDcuzNr9Q-:autofill).hGr6YW4AeLM- .Dgk00tzlODA- {
1044
+ background-color: var(--field--background-color);
1045
+ }
1046
+
1029
1047
  ._0pmqVa2zSE4-.Sw5O4I0lMJg-.F1t76G6bDKo-:focus-within:not(.Tz9LK9ABKMk-) .Dgk00tzlODA- {
1030
1048
  display: none;
1031
1049
  }
@@ -1099,6 +1117,16 @@
1099
1117
  padding-bottom: var(--field--padding-bottom);
1100
1118
  }
1101
1119
 
1120
+ /* Apply affix label styles when input has autofill */
1121
+
1122
+ /* Supports both -webkit-autofill (Chrome/Safari) and :autofill (Firefox) */
1123
+
1124
+ ._8lhbGTQ-hhg-:has(.vtSDcuzNr9Q-:-webkit-autofill):not(.Sw5O4I0lMJg-) .-Wzcb0pBh5I-,
1125
+ ._8lhbGTQ-hhg-:has(.vtSDcuzNr9Q-:autofill):not(.Sw5O4I0lMJg-) .-Wzcb0pBh5I- {
1126
+ padding-top: var(--field--padding-top);
1127
+ padding-bottom: var(--field--padding-bottom);
1128
+ }
1129
+
1102
1130
  .DHX5ijY3xIw- {
1103
1131
  margin-top: 4px;
1104
1132
  margin-top: var(--space-smaller);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.106.1",
3
+ "version": "6.106.2-FIXfix-au-8f3c3ae.0+8f3c3ae07",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -538,5 +538,5 @@
538
538
  "> 1%",
539
539
  "IE 10"
540
540
  ],
541
- "gitHead": "0343791f65e5c1080b89658c61eb456170da0866"
541
+ "gitHead": "8f3c3ae074c7353aac7919e1a139091f599bb142"
542
542
  }