diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a797e0b..f73aea00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## [1.2.2-next.2](https://github.com/warp-ds/vue/compare/v1.2.2-next.1...v1.2.2-next.2) (2023-11-30) + + +### Bug Fixes + +* **textfield:** use inline style when updating input's left padding ([#118](https://github.com/warp-ds/vue/issues/118)) ([db4ba9b](https://github.com/warp-ds/vue/commit/db4ba9b5889e4d669938b382c73d08fca1b824b6)) + +## [1.2.2-next.1](https://github.com/warp-ds/vue/compare/v1.2.1...v1.2.2-next.1) (2023-11-29) + + +### Bug Fixes + +* Reintroduce placeholder for TextField ([#119](https://github.com/warp-ds/vue/issues/119)) ([9783d3a](https://github.com/warp-ds/vue/commit/9783d3ab232eab5ab341132903e81364623a69f1)) + ## [1.2.1](https://github.com/warp-ds/vue/compare/v1.2.0...v1.2.1) (2023-11-29) diff --git a/components/forms/w-textfield.vue b/components/forms/w-textfield.vue index 45b1c1a4..c362a01a 100644 --- a/components/forms/w-textfield.vue +++ b/components/forms/w-textfield.vue @@ -32,6 +32,10 @@ const inputClasses = computed(() => ({ [ccInput.suffix]: slots.suffix, [ccInput.prefix]: slots.prefix, })); + +const inputWithPrefixStyle = computed(() => ( + slots.prefix ? 'padding-left: var(--w-prefix-width, 40px);' : undefined +)) - -