@asd20/ui-next 2.7.2 → 2.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.7.3](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.7.2...ui-next-v2.7.3) (2026-05-05)
4
+
3
5
  ## [2.7.2](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.7.1...ui-next-v2.7.2) (2026-05-05)
4
6
 
5
7
  ## [2.7.1](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.7.0...ui-next-v2.7.1) (2026-05-05)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asd20/ui-next",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "private": false,
5
5
  "description": "ASD20 UI component library for Vue 3.",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  id="senderName"
15
15
  v-model="emailMessage.senderName"
16
16
  label="Your Full Name"
17
- required
17
+ aria-required="true"
18
18
  @validated="validationErrors.senderName = $event"
19
19
  />
20
20
  <asd20-text-input
@@ -23,14 +23,15 @@
23
23
  type="email"
24
24
  :validator="validateEmailAddress"
25
25
  label="Your Email Address"
26
- required
26
+ aria-required="true"
27
27
  @validated="validationErrors.senderEmail = $event"
28
28
  />
29
29
  <asd20-text-area-input
30
30
  id="messageBody"
31
31
  v-model="emailMessage.messageBody"
32
32
  label="Message"
33
- required
33
+ help-text="All fields are required."
34
+ aria-required="true"
34
35
  @validated="validationErrors.messageBody = $event"
35
36
  />
36
37
  <div
@@ -146,6 +147,9 @@ export default {
146
147
  },
147
148
  isValid() {
148
149
  return (
150
+ Boolean(this.emailMessage.senderName) &&
151
+ Boolean(this.emailMessage.senderEmail) &&
152
+ Boolean(this.emailMessage.messageBody) &&
149
153
  this.validationErrors.senderName.length === 0 &&
150
154
  this.validationErrors.senderEmail.length === 0 &&
151
155
  this.validationErrors.messageBody.length === 0
@@ -336,8 +340,35 @@ export default {
336
340
  @media (min-width: 1024px) {
337
341
  .asd20-compose-email-modal {
338
342
  & :deep(.asd20-modal__content .asd20-viewport) {
343
+ display: flex;
344
+ flex-direction: column;
345
+ min-height: 0;
339
346
  padding: space(1);
340
347
  }
348
+
349
+ & :deep(.asd20-text-area-input) {
350
+ align-items: stretch;
351
+ display: flex;
352
+ flex: 1 1 auto;
353
+ flex-direction: column;
354
+ min-height: 0;
355
+ }
356
+
357
+ & :deep(.asd20-text-area-input .input-wrapper) {
358
+ flex: 1 1 auto;
359
+ min-height: 0;
360
+ }
361
+
362
+ & :deep(.asd20-text-area-input textarea) {
363
+ height: 100%;
364
+ min-height: 0;
365
+ }
366
+
367
+ & :deep(.asd20-text-area-input__help-text) {
368
+ align-self: flex-start;
369
+ text-align: left;
370
+ }
371
+
341
372
  & :deep(.asd20-modal) {
342
373
  margin-top: auto;
343
374
  margin-bottom: auto;