@firestitch/style 18.0.66 → 18.0.68

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestitch/style",
3
- "version": "18.0.66",
3
+ "version": "18.0.68",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-style"
@@ -104,17 +104,34 @@
104
104
  }
105
105
  }
106
106
 
107
- .form-field-lineless:not(.mat-focused) {
107
+ // Lineless hides the border only at rest — hovering or focusing falls
108
+ // through to the native Material hover/focus styling. Adding
109
+ // form-field-lineless-active suspends the hiding so the line stays
110
+ // visible even without focus — toggle it on fields whose overlay panels
111
+ // steal focus mid-interaction (autocomplete chips in a drawer) so the
112
+ // line doesn't drop out while the panel is open.
113
+ .form-field-lineless:not(.mat-focused):not(.form-field-lineless-active):not(:hover) {
114
+ // !important: Material injects its component styles after this sheet,
115
+ // and its invalid/disabled border selectors out-rank anything
116
+ // reasonable here. At rest the lineless contract — no line — must
117
+ // always win.
108
118
  .mdc-text-field--outlined .mat-mdc-notch-piece {
109
- border-color: transparent;
119
+ border-color: transparent !important;
110
120
  }
111
121
 
112
- &.mat-form-field-appearance-fill:not(:hover) .mat-mdc-text-field-wrapper {
113
- border-color: transparent;
114
- }
122
+ // Fill renders its outline-style border on the wrapper (see the fill
123
+ // block above); hide it and the container tint while at rest
124
+ &.mat-form-field-appearance-fill {
125
+ --mdc-filled-text-field-container-color: transparent;
126
+ --mat-form-field-filled-container-color: transparent;
115
127
 
116
- input {
117
- text-overflow: ellipsis;
128
+ .mat-mdc-text-field-wrapper {
129
+ border-color: transparent !important;
130
+ }
118
131
  }
119
132
  }
133
+
134
+ .form-field-lineless input {
135
+ text-overflow: ellipsis;
136
+ }
120
137
  }