Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@form-extendable/lib

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@form-extendable/lib - npm Package Compare versions

Comparing version 0.1.48 to 0.1.49

dist/IErrors.d.ts

11

dist/IField.d.ts
/// <reference types="react" />
import { IFormFieldValidationError } from './IErrors';
import { THeading } from './IHeading';

@@ -6,3 +7,5 @@ export interface IFieldProps<V, H extends THeading<V> = THeading<V>> {

value: V;
error?: IFormFieldValidationError;
onChange: (v: V | null) => void;
onBlur: () => void;
additionalData: any;

@@ -15,2 +18,3 @@ disableAutoFill?: boolean;

onChange: (v: V | null) => void;
onBlur: () => void;
additionalData?: any;

@@ -23,1 +27,8 @@ inputTypeOverride?: '';

export declare type TFieldReactComponent<V, H extends THeading<V>> = React.FC<IFieldComponentProps<V, H>>;
export interface IFieldStatus {
isValid: boolean;
isDirty: boolean;
isTouched: boolean;
isRequired: boolean;
isDisabled: boolean;
}

1

dist/index.d.ts

@@ -8,1 +8,2 @@ export * from './IField';

export * from './IPopupProps';
export { EFormValidationError, IFormFieldValidationError } from './IErrors';

@@ -17,2 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.EFormValidationError = void 0;
__exportStar(require("./IField"), exports);

@@ -25,2 +26,4 @@ __exportStar(require("./IHeading"), exports);

__exportStar(require("./IPopupProps"), exports);
var IErrors_1 = require("./IErrors");
Object.defineProperty(exports, "EFormValidationError", { enumerable: true, get: function () { return IErrors_1.EFormValidationError; } });
//# sourceMappingURL=index.js.map

@@ -0,1 +1,2 @@

import { IFormFieldValidationError } from './IErrors';
import { THeading } from './IHeading';

@@ -6,3 +7,5 @@

value: V;
error?: IFormFieldValidationError;
onChange: (v: V | null) => void;
onBlur: () => void;
additionalData: any;

@@ -16,2 +19,3 @@ disableAutoFill?: boolean;

onChange: (v: V | null) => void;
onBlur: () => void;
additionalData?: any;

@@ -23,3 +27,6 @@ inputTypeOverride?: '';

export type IFieldComponentProps <V, H extends THeading<V>> = IFieldComponentPropsBase<V> & H;
export type IFieldComponentProps<
V,
H extends THeading<V>
> = IFieldComponentPropsBase<V> & H;

@@ -29,1 +36,9 @@ export type TFieldReactComponent<V, H extends THeading<V>> = React.FC<

>;
export interface IFieldStatus {
isValid: boolean;
isDirty: boolean;
isTouched: boolean;
isRequired: boolean;
isDisabled: boolean;
}

@@ -8,1 +8,2 @@ export * from './IField';

export * from './IPopupProps';
export { EFormValidationError, IFormFieldValidationError } from './IErrors';

4

package.json
{
"name": "@form-extendable/lib",
"version": "0.1.48",
"version": "0.1.49",
"homepage": "https://bit.cloud/samnbuk/form-extendable/lib",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "lib",
"version": "0.1.48"
"version": "0.1.49"
},

@@ -12,0 +12,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc