@warp-ds/elements 1.2.1-next.2 → 1.2.1-next.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/dist/index.js
CHANGED
|
@@ -3804,7 +3804,9 @@ var WarpTextField = class extends WarpElement12 {
|
|
|
3804
3804
|
[input.disabled]: this.disabled,
|
|
3805
3805
|
[input.readOnly]: this.readOnly,
|
|
3806
3806
|
[input.suffix]: this._hasSuffix,
|
|
3807
|
-
|
|
3807
|
+
// we style input with prefix here because we cannot use
|
|
3808
|
+
// arbitrary values with commas in UnoCSS like pl-[var(--w-prefix-width, 40px)]
|
|
3809
|
+
"warp-input-with-prefix": this._hasPrefix
|
|
3808
3810
|
});
|
|
3809
3811
|
}
|
|
3810
3812
|
get _helpTextStyles() {
|
|
@@ -3926,6 +3928,9 @@ __publicField(WarpTextField, "styles", [
|
|
|
3926
3928
|
::slotted(:last-child) {
|
|
3927
3929
|
margin-bottom: 0px !important;
|
|
3928
3930
|
}
|
|
3931
|
+
.warp-input-with-prefix {
|
|
3932
|
+
padding-left:var(--w-prefix-width, 40px);
|
|
3933
|
+
}
|
|
3929
3934
|
`
|
|
3930
3935
|
]);
|
|
3931
3936
|
if (!customElements.get("w-textfield")) {
|