@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/custom-elements.json +3 -3
- package/dist/lib.js +8 -8
- package/dist/lib.js.map +3 -3
- package/esm/core/utils/utils.d.ts +7 -0
- package/esm/core/utils/utils.js +9 -0
- package/esm/dialog/dialog-adapter.d.ts +3 -4
- package/esm/dialog/dialog-adapter.js +15 -15
- package/esm/dialog/dialog-core.d.ts +2 -0
- package/esm/dialog/dialog-core.js +19 -22
- package/esm/dialog/dialog.d.ts +1 -1
- package/esm/dialog/dialog.js +3 -3
- package/esm/field/field.js +1 -1
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/text-field/text-field-core.d.ts +4 -0
- package/esm/text-field/text-field-core.js +17 -7
- package/package.json +1 -1
- package/sass/field/_core.slotted.scss +5 -0
- package/sass/field/field.scss +8 -7
package/package.json
CHANGED
package/sass/field/field.scss
CHANGED
|
@@ -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 */
|