Commit 28f2d60
Add height prop to TextArea component (#1076)
This change introduces a new `height` prop to the `TextArea` component,
allowing users to specify a starting (minimum) height for the input
field.
Key changes:
1. **TextArea.vue**: Added the `height` prop.
2. **BaseInput.vue**: Added the `height` prop and updated the
`inputMinHeight` computed property to apply the style to the textarea
element.
3. **Tests**: Added tests in `src/tests/Textarea.spec.js` and
`src/tests/BaseInput.spec.js` to ensure the prop is correctly passed and
applied.
4. **Documentation**: Updated `docs/components/forms/text-area.md` to
include the new prop in the playground.
5. **Version**: Updated `package.json` version to `3.155.3`.
6. **Metadata**: Updated `docs/.docgen/components-metadata.json` via
`npm run generate:docs`.
---
*PR created automatically by Jules for task
[13734789671786383417](https://jules.google.com/task/13734789671786383417)
started by @lucasn4s*
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: lucasn4s <17988272+lucasn4s@users.noreply.github.com>1 parent 664e00e commit 28f2d60
8 files changed
Lines changed: 84 additions & 5 deletions
File tree
- docs
- .docgen
- components/forms
- src
- components
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1155 | 1155 | | |
1156 | 1156 | | |
1157 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1158 | 1169 | | |
1159 | 1170 | | |
1160 | 1171 | | |
| |||
13279 | 13290 | | |
13280 | 13291 | | |
13281 | 13292 | | |
| 13293 | + | |
| 13294 | + | |
| 13295 | + | |
| 13296 | + | |
| 13297 | + | |
| 13298 | + | |
| 13299 | + | |
| 13300 | + | |
| 13301 | + | |
| 13302 | + | |
| 13303 | + | |
13282 | 13304 | | |
13283 | 13305 | | |
13284 | 13306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
387 | 394 | | |
388 | 395 | | |
389 | 396 | | |
| |||
429 | 436 | | |
430 | 437 | | |
431 | 438 | | |
432 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
433 | 447 | | |
434 | 448 | | |
435 | 449 | | |
| |||
648 | 662 | | |
649 | 663 | | |
650 | 664 | | |
651 | | - | |
| 665 | + | |
652 | 666 | | |
653 | 667 | | |
654 | 668 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
137 | 144 | | |
138 | 145 | | |
139 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
293 | 317 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
123 | 134 | | |
0 commit comments