@gcforms/types 1.0.29 → 1.0.30
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 +4 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.30] - 2026-03-30
|
|
9
|
+
|
|
10
|
+
- Add ValidationInputType as sub-type of HTMLTextInputTypeAttribute
|
|
11
|
+
|
|
8
12
|
## [1.0.29] - 2026-03-25
|
|
9
13
|
|
|
10
14
|
- Add ignoreDeprecations
|
package/dist/index.d.mts
CHANGED
|
@@ -40,6 +40,7 @@ type NextActionRule = {
|
|
|
40
40
|
choiceId: string;
|
|
41
41
|
};
|
|
42
42
|
type HTMLTextInputTypeAttribute = "text" | "email" | "name" | "number" | "password" | "search" | "tel" | "url";
|
|
43
|
+
type ValidationInputType = HTMLTextInputTypeAttribute | "custom";
|
|
43
44
|
declare const FormElementTypes: {
|
|
44
45
|
readonly textField: "textField";
|
|
45
46
|
readonly textArea: "textArea";
|
|
@@ -71,7 +72,7 @@ type ConditionalRule = {
|
|
|
71
72
|
};
|
|
72
73
|
interface ValidationProperties {
|
|
73
74
|
required: boolean;
|
|
74
|
-
type?:
|
|
75
|
+
type?: ValidationInputType;
|
|
75
76
|
regex?: string;
|
|
76
77
|
maxLength?: number;
|
|
77
78
|
descriptionEN?: string;
|
|
@@ -310,4 +311,4 @@ interface AddressCompleteLabels {
|
|
|
310
311
|
country: string;
|
|
311
312
|
}
|
|
312
313
|
|
|
313
|
-
export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, BetaFormElementTypes, type BrandProperties, type ChoiceRule, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, type NextActionRule, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationProperties, type dynamicRowType };
|
|
314
|
+
export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, BetaFormElementTypes, type BrandProperties, type ChoiceRule, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, type NextActionRule, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationInputType, type ValidationProperties, type dynamicRowType };
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ type NextActionRule = {
|
|
|
40
40
|
choiceId: string;
|
|
41
41
|
};
|
|
42
42
|
type HTMLTextInputTypeAttribute = "text" | "email" | "name" | "number" | "password" | "search" | "tel" | "url";
|
|
43
|
+
type ValidationInputType = HTMLTextInputTypeAttribute | "custom";
|
|
43
44
|
declare const FormElementTypes: {
|
|
44
45
|
readonly textField: "textField";
|
|
45
46
|
readonly textArea: "textArea";
|
|
@@ -71,7 +72,7 @@ type ConditionalRule = {
|
|
|
71
72
|
};
|
|
72
73
|
interface ValidationProperties {
|
|
73
74
|
required: boolean;
|
|
74
|
-
type?:
|
|
75
|
+
type?: ValidationInputType;
|
|
75
76
|
regex?: string;
|
|
76
77
|
maxLength?: number;
|
|
77
78
|
descriptionEN?: string;
|
|
@@ -310,4 +311,4 @@ interface AddressCompleteLabels {
|
|
|
310
311
|
country: string;
|
|
311
312
|
}
|
|
312
313
|
|
|
313
|
-
export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, BetaFormElementTypes, type BrandProperties, type ChoiceRule, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, type NextActionRule, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationProperties, type dynamicRowType };
|
|
314
|
+
export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, BetaFormElementTypes, type BrandProperties, type ChoiceRule, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, type NextActionRule, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationInputType, type ValidationProperties, type dynamicRowType };
|