@asd20/ui-next 2.22.4 → 2.23.0
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,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [2.23.0](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.22.4...ui-next-v2.23.0) (2026-09-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add subject to directory email form ([e81778f](https://github.com/academydistrict20/asd20-ui-next/commit/e81778f1ff7ba90196e747799cd32b2028a06c8f))
|
|
9
|
+
|
|
3
10
|
## [2.22.4](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.22.3...ui-next-v2.22.4) (2026-08-31)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -25,6 +25,15 @@
|
|
|
25
25
|
aria-required="true"
|
|
26
26
|
@validated="validationErrors.senderEmail = $event"
|
|
27
27
|
/>
|
|
28
|
+
<asd20-text-input
|
|
29
|
+
id="subject"
|
|
30
|
+
v-model="emailMessage.subject"
|
|
31
|
+
label="Subject"
|
|
32
|
+
maxlength="200"
|
|
33
|
+
required
|
|
34
|
+
aria-required="true"
|
|
35
|
+
@validated="validationErrors.subject = $event"
|
|
36
|
+
/>
|
|
28
37
|
<asd20-text-area-input
|
|
29
38
|
id="messageBody"
|
|
30
39
|
v-model="emailMessage.messageBody"
|
|
@@ -97,6 +106,7 @@ export default {
|
|
|
97
106
|
validationErrors: {
|
|
98
107
|
senderName: [],
|
|
99
108
|
senderEmail: [],
|
|
109
|
+
subject: [],
|
|
100
110
|
messageBody: [],
|
|
101
111
|
},
|
|
102
112
|
composing: false,
|
|
@@ -106,6 +116,7 @@ export default {
|
|
|
106
116
|
emailMessage: {
|
|
107
117
|
senderName: '',
|
|
108
118
|
senderEmail: '',
|
|
119
|
+
subject: '',
|
|
109
120
|
messageBody: '',
|
|
110
121
|
},
|
|
111
122
|
}),
|
|
@@ -122,9 +133,11 @@ export default {
|
|
|
122
133
|
return (
|
|
123
134
|
Boolean(this.emailMessage.senderName) &&
|
|
124
135
|
Boolean(this.emailMessage.senderEmail) &&
|
|
136
|
+
Boolean(this.emailMessage.subject) &&
|
|
125
137
|
Boolean(this.emailMessage.messageBody) &&
|
|
126
138
|
this.validationErrors.senderName.length === 0 &&
|
|
127
139
|
this.validationErrors.senderEmail.length === 0 &&
|
|
140
|
+
this.validationErrors.subject.length === 0 &&
|
|
128
141
|
this.validationErrors.messageBody.length === 0
|
|
129
142
|
)
|
|
130
143
|
},
|
|
@@ -173,6 +186,7 @@ export default {
|
|
|
173
186
|
this.emailMessage = {
|
|
174
187
|
senderEmail: '',
|
|
175
188
|
senderName: '',
|
|
189
|
+
subject: '',
|
|
176
190
|
messageBody: '',
|
|
177
191
|
}
|
|
178
192
|
},
|