diff --git a/CHANGELOG.md b/CHANGELOG.md index 819f1c7e..d083e829 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [6.6.0] - 2024-09-25 - ### Added - support for invisible ReCAPTCHA +## [6.6.0] - 2024-09-25 + ### Added - support for WCAG 1.3.1 - Info and Relationships diff --git a/package-lock.json b/package-lock.json index a2be47ed..a76dc055 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7395,7 +7395,7 @@ }, "node_modules/@oneblink/types": { "version": "1.0.0", - "resolved": "git+ssh://git@github.com/oneblink/types.git#6d6e8137fafc190040bfc142601260fefb6d789a", + "resolved": "git+ssh://git@github.com/oneblink/types.git#4e0b1c7bd3c076efd2ba29ac4980ad4a08fd32c8", "dev": true, "license": "GPL-3.0-only", "dependencies": { diff --git a/src/types/form.ts b/src/types/form.ts index 997898ef..c45d8ff6 100644 --- a/src/types/form.ts +++ b/src/types/form.ts @@ -1,4 +1,4 @@ -import { FormTypes, SubmissionTypes } from '@oneblink/types' +import { FormTypes, SubmissionTypes, IntegrationTypes } from '@oneblink/types' export { FormElementConditionallyShownElement, @@ -89,6 +89,6 @@ export type IsDirtyProps = { setIsDirty: () => void } -//TODO get from types -// export type captchaType = IntegrationTypes.IntegrationRecaptcha['configuration']['domains'][number]['type'] -export type CaptchaType = 'INVISIBLE' | 'CHECKBOX' +export type CaptchaType = NonNullable< + IntegrationTypes.IntegrationRecaptcha['configuration']['domains'][number]['type'] +>