@nuasite/components 0.47.4 → 0.47.5

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nuasite/components",
3
3
  "description": "Nua Site astro components.",
4
4
  "license": "Apache-2.0",
5
- "version": "0.47.4",
5
+ "version": "0.47.5",
6
6
  "files": [
7
7
  "dist/**",
8
8
  "src/**",
@@ -15,6 +15,7 @@ const {
15
15
  tryAgainMessage = "Try again",
16
16
  fastSubmitMessage = "Please wait a moment before submitting.",
17
17
  submitAnywayLabel = "Send anyway",
18
+ class: className,
18
19
  ...rest
19
20
  } = Astro.props
20
21
 
@@ -41,7 +42,7 @@ const tokenId = `${tokenFieldName}_${formId}`
41
42
  <astro-form>
42
43
  <form
43
44
  action={action}
44
- class="astro-form"
45
+ class:list={['astro-form', className]}
45
46
  data-form-id={formId}
46
47
  data-token-field={tokenFieldName}
47
48
  data-success-message={successMessage}