@asd20/ui-next 2.7.1 → 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,9 @@
|
|
|
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
|
+
|
|
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)
|
|
6
|
+
|
|
3
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)
|
|
4
8
|
|
|
5
9
|
|
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@ $input-focus-color: var(--color__accent-t50);
|
|
|
91
91
|
margin: 0;
|
|
92
92
|
color: var(--website-card__reverse-background-color);
|
|
93
93
|
border: 2px solid var(--color__accent);
|
|
94
|
-
border-radius:
|
|
94
|
+
border-radius: var(--website-shape__radius-s);
|
|
95
95
|
font-family: var(--website-typography__font-family-body);
|
|
96
96
|
font-size: 1rem;
|
|
97
97
|
line-height: 1;
|
|
@@ -86,7 +86,7 @@ $input-focus-color: var(--color__accent-t50);
|
|
|
86
86
|
margin: 0;
|
|
87
87
|
color: var(--website-card__reverse-background-color);
|
|
88
88
|
border: 2px solid var(--color__accent);
|
|
89
|
-
border-radius:
|
|
89
|
+
border-radius: var(--website-shape__radius-s);
|
|
90
90
|
font-family: var(--website-typography__font-family-body);
|
|
91
91
|
font-size: 1rem;
|
|
92
92
|
line-height: 1;
|
|
@@ -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,12 +340,40 @@ 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;
|
|
344
|
-
|
|
375
|
+
height: 80vh;
|
|
376
|
+
max-width: 50vw;
|
|
345
377
|
}
|
|
346
378
|
}
|
|
347
379
|
}
|