vanilla-jui 1.5.9 → 1.5.11

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/dist/index.d.ts CHANGED
@@ -794,15 +794,18 @@ interface ValidatorRule extends Record<string, unknown> {
794
794
  interface ValidatorProps extends Record<string, unknown> {
795
795
  rules?: Record<string, ValidatorRule>;
796
796
  messages?: ValidatorMessageMap;
797
+ vanilla?: boolean;
797
798
  onSubmit?: ((validator: ValidatorInstance) => void) | null;
798
799
  }
799
800
  interface ResolvedValidatorProps extends Record<string, unknown> {
800
801
  rules: Record<string, ValidatorRule>;
801
802
  messages: ValidatorMessageMap;
803
+ vanilla: boolean;
802
804
  onSubmit: ((validator: ValidatorInstance) => void) | null;
803
805
  }
804
806
  interface ValidatorRuntime {
805
807
  valid: boolean;
808
+ error: boolean;
806
809
  message: string;
807
810
  destroyed: boolean;
808
811
  }
@@ -1076,6 +1079,7 @@ interface FormButton {
1076
1079
  interface FormValidatorConfig {
1077
1080
  rules?: Record<string, Record<string, unknown>>;
1078
1081
  messages?: Record<string, Record<string, string>>;
1082
+ vanilla?: boolean;
1079
1083
  onSubmit?: (() => void) | null;
1080
1084
  [key: string]: unknown;
1081
1085
  }
@@ -1219,7 +1223,6 @@ interface FlowState extends Record<string, unknown> {
1219
1223
  }
1220
1224
  interface FlowGoToOptions {
1221
1225
  direction?: FlowDirection;
1222
- internal?: boolean;
1223
1226
  }
1224
1227
  interface FlowContext {
1225
1228
  flow: Flow;