@hcaptcha/react-hcaptcha
Advanced tools
Comparing version 1.9.3 to 1.9.4
{ | ||
"name": "@hcaptcha/react-hcaptcha", | ||
"version": "1.9.3", | ||
"version": "1.9.4", | ||
"types": "types/index.d.ts", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -129,3 +129,3 @@ # React hCaptcha Component Library | ||
|`size`|String (normal, compact, invisible)|No|`normal`|This specifies the "size" of the component. hCaptcha allows you to decide how big the component will appear on render, this always defaults to normal.| | ||
|`theme`|String (light, dark)|No|`light`|hCaptcha supports both a light and dark theme. If no theme is inherently set, the captcha will always default to light.| | ||
|`theme`|String (light, dark, contrast) or Object|No|`light`|hCaptcha supports both a light and dark theme. Defaults to light. Takes Object if custom theme is used.| | ||
|`tabindex`|Integer|No|`0`|Set the tabindex of the widget and popup. When appropriate, this can make navigation of your site more intuitive.| | ||
@@ -143,3 +143,3 @@ |`languageOverride`|String (ISO 639-2 code)|No|`auto`|hCaptcha auto-detects language via the user's browser. This overrides that to set a default UI language. See [language codes](https://hcaptcha.com/docs/languages).| | ||
| `cleanup` | Boolean | No | `true` | Remove script tag after setup.| | ||
|`custom`|Boolean|No|`-`|See enterprise docs.| | ||
|`custom`|Boolean|No|`-`|Custom theme: see enterprise docs.| | ||
|`loadAsync`|Boolean|No|`true`|Set if the script should be loaded asynchronously.| | ||
@@ -146,0 +146,0 @@ |`scriptLocation`|Element|No|`document.head`| Location of where to append the script tag. Make sure to add it to an area that will persist to prevent loading multiple times in the same document view. Note: If `null` is provided, the `document.head` will be used.| |
@@ -27,3 +27,3 @@ // Type definitions for @hcaptcha/react-hcaptcha 0.1 | ||
size?: "normal" | "compact" | "invisible"; | ||
theme?: "light" | "dark"; | ||
theme?: "light" | "dark" | "contrast" | Object; | ||
tabIndex?: number; | ||
@@ -30,0 +30,0 @@ id?: string; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51482