@asd20/ui-next 2.4.3 → 2.5.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.5.0](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.4.3...ui-next-v2.5.0) (2026-05-04)
4
+
5
+
6
+ ### Features
7
+
8
+ * Add public directory email abuse controls ([9ae4256](https://github.com/academydistrict20/asd20-ui-next/commit/9ae4256f3461a205b82ea0a6c46a4d3190aeff87))
9
+
3
10
  ## [2.4.3](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.4.2...ui-next-v2.4.3) (2026-05-04)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asd20/ui-next",
3
- "version": "2.4.3",
3
+ "version": "2.5.0",
4
4
  "private": false,
5
5
  "description": "ASD20 UI component library for Vue 3.",
6
6
  "license": "MIT",
@@ -147,9 +147,9 @@ export default {
147
147
  this.validInputs += errors.length === 0 ? -1 : 1
148
148
  },
149
149
  captchaVerified(response) {
150
- if (response) this.sendEmail()
150
+ if (response) this.sendEmail(response)
151
151
  },
152
- async sendEmail() {
152
+ async sendEmail(captchaToken = '') {
153
153
  if (!this.isValid) return
154
154
 
155
155
  const endpoint = this.resolveSendEmailEndpoint()
@@ -172,6 +172,7 @@ export default {
172
172
  await sendEmailClient(
173
173
  Object.assign({}, this.emailMessage, {
174
174
  recipientId: this.recipientId,
175
+ captchaToken,
175
176
  })
176
177
  )
177
178
  this.$emit('dismiss')