@tylertech/forge 3.6.1 → 3.6.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@tylertech/forge",
3
3
  "description": "Tyler Forge™ Web Components library",
4
- "version": "3.6.1",
4
+ "version": "3.6.3",
5
5
  "author": "Tyler Technologies, Inc.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -59,3 +59,8 @@
59
59
  @mixin slotted-placeholder {
60
60
  color: #{token(placeholder-color)};
61
61
  }
62
+
63
+ @mixin slotted-support-text {
64
+ display: block;
65
+ min-height: 0.875rem;
66
+ }
@@ -13,7 +13,6 @@
13
13
  @use './token-utils' as *;
14
14
 
15
15
  $focus: ':not([disabled]):focus-within';
16
- $hover: ':not([disabled]):hover';
17
16
  $invalid: ':not([disabled])[invalid]';
18
17
 
19
18
  $first-slotted-element: '::slotted(:is([data-forge-field-input], *:first-of-type:is(input, textarea)))';
@@ -163,12 +162,6 @@ $variants: (
163
162
  // State
164
163
  //
165
164
 
166
- :host(#{$hover}) {
167
- .forge-field {
168
- @include core.hover;
169
- }
170
- }
171
-
172
165
  :host([disabled]) {
173
166
  .forge-field {
174
167
  @include core.disabled;
@@ -187,6 +180,10 @@ $variants: (
187
180
  }
188
181
 
189
182
  :host(:not([disabled])) {
183
+ .forge-field:has(.container:hover) {
184
+ @include core.hover;
185
+ }
186
+
190
187
  .forge-field:has(.input:focus-within) {
191
188
  @include core.focus;
192
189
  }
@@ -602,6 +599,10 @@ $variants: (
602
599
  @include core.item-padding(end, inner);
603
600
  }
604
601
  }
602
+
603
+ ::slotted(:where([slot='support-text'], [slot='helper-text'])) {
604
+ @include core.slotted-support-text;
605
+ }
605
606
  }
606
607
 
607
608
  /* Add padding between the end and accessory elements in the plain variant */