@firestitch/style 18.0.67 → 18.0.69

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.67",
3
+ "version": "18.0.69",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-style"
@@ -104,17 +104,23 @@
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-always 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-always):not(:hover) {
108
114
  // !important: Material injects its component styles after this sheet,
109
- // and its hover/invalid border selectors out-rank anything reasonable
110
- // here. The lineless contract — no line until focused — must always win;
111
- // focus still shows the border because of the :not(.mat-focused) above.
115
+ // and its invalid/disabled border selectors out-rank anything
116
+ // reasonable here. At rest the lineless contract — no line — must
117
+ // always win.
112
118
  .mdc-text-field--outlined .mat-mdc-notch-piece {
113
119
  border-color: transparent !important;
114
120
  }
115
121
 
116
122
  // Fill renders its outline-style border on the wrapper (see the fill
117
- // block above); hide it and the container tint until focus
123
+ // block above); hide it and the container tint while at rest
118
124
  &.mat-form-field-appearance-fill {
119
125
  --mdc-filled-text-field-container-color: transparent;
120
126
  --mat-form-field-filled-container-color: transparent;
@@ -123,9 +129,9 @@
123
129
  border-color: transparent !important;
124
130
  }
125
131
  }
132
+ }
126
133
 
127
- input {
128
- text-overflow: ellipsis;
129
- }
134
+ .form-field-lineless input {
135
+ text-overflow: ellipsis;
130
136
  }
131
137
  }