New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@accurat/react-components

Package Overview
Dependencies
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accurat/react-components - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

44

lib/react-components.d.ts

@@ -6,11 +6,7 @@ /// <reference types="react" />

children?: React.ReactNode;
disabled?: boolean;
transparent?: boolean;
reset?: boolean;
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
className?: string;
style?: object;
type?: 'submit' | 'reset' | 'button';
}
export function Button({ children, disabled, transparent, reset, className, style, onClick, type, ...props }: ButtonProps): JSX.Element;
export function Button({ children, className, style, onClick, ...props }: ButtonProps): JSX.Element;
}

@@ -45,6 +41,6 @@ declare module "src/commons/interfaces" {

export interface CheckBoxArguments extends InputPropsTypes, ChangelessInputProps {
propSvg?: React.SFC<SVGProps>;
customSvg?: React.SFC<SVGProps>;
onChange?: BooleanChangeFnType;
}
export function Checkbox({ children, propSvg, className, inputClassName, style, disabled, checked, onChange, reset, ...props }: CheckBoxArguments): JSX.Element;
export function Checkbox({ children, customSvg, className, inputClassName, style, checked, onChange, ...props }: CheckBoxArguments): JSX.Element;
}

@@ -72,3 +68,3 @@ declare module "src/components/FlexView/index" {

}
export function Radio({ children, className, inputClassName, style, disabled, checked, onChange, reset, ...props }: RadioProps): JSX.Element;
export function Radio({ children, className, inputClassName, style, checked, onChange, reset, ...props }: RadioProps): JSX.Element;
}

@@ -92,3 +88,2 @@ declare module "src/components/Select/index" {

onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
reset?: boolean;
}

@@ -100,2 +95,4 @@ export class Select extends React.Component<SelectProps> {

autoclose: boolean;
childrenClassName: string;
scrollable: boolean;
};

@@ -117,10 +114,7 @@ state: {

import { InputPropsTypes, InputChangeFnType } from "src/commons/interfaces";
export interface TextInputpropsType extends InputPropsTypes, React.InputHTMLAttributes<HTMLInputElement> {
export interface TextInputPropsType extends InputPropsTypes, React.InputHTMLAttributes<HTMLInputElement> {
onChange?: InputChangeFnType;
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'time' | 'date' | 'datetime-local';
value?: string | number;
defaultValue?: string;
checkValidity?: (cond: boolean) => void;
}
export function TextInput({ value, defaultValue, className, style, type, onChange, checkValidity, reset, disabled, ...props }: TextInputpropsType): JSX.Element;
export function TextInput({ className, style, type, onChange, checkValidity, disabled, ...props }: TextInputPropsType): JSX.Element;
}

@@ -132,3 +126,3 @@ declare module "src/components/Toggle/index" {

}
export function Toggle({ children, className, inputClassName, style, disabled, checked, onChange, reset, }: ToggleProps): JSX.Element;
export function Toggle({ children, className, inputClassName, style, disabled, checked, onChange, }: ToggleProps): JSX.Element;
}

@@ -150,3 +144,3 @@ declare module "@accurat/react-components" {

dragging: boolean;
hovered: boolean;
dropping: boolean;
variable: string;

@@ -156,4 +150,4 @@ }

children: string;
draggingClasses: string;
hoveredClasses: string;
draggingClassName: string;
dropClassName: string;
onDragStart?: OnDrag;

@@ -177,3 +171,3 @@ onDragEnd?: OnDrag;

dragging: boolean;
hovered: boolean;
dropping: boolean;
variable: string;

@@ -184,10 +178,10 @@ id: string;

dragComponentId: string;
onDragStart: (event: React.DragEvent<HTMLDivElement>) => void;
onDragEnd: (event: React.DragEvent<HTMLDivElement>) => void;
onDragOver: (event: React.DragEvent<HTMLDivElement>) => void;
onDragEnter: (event: React.DragEvent<HTMLDivElement>) => void;
onDragExit: (event: React.DragEvent<HTMLDivElement>) => void;
onDrop: (event: React.DragEvent<HTMLDivElement>) => void;
onDragStart: (event: HTMLDragEvt) => void;
onDragEnd: (event: HTMLDragEvt) => void;
onDragOver: (event: HTMLDragEvt) => void;
onDragEnter: (event: HTMLDragEvt) => void;
onDragExit: (event: HTMLDragEvt) => void;
onDrop: (event: HTMLDragEvt) => void;
render(): JSX.Element;
}
}
{
"name": "@accurat/react-components",
"version": "0.5.0",
"version": "0.6.0",
"description": "Collection of React components used for Accurat projects.",

@@ -44,23 +44,23 @@ "main": "lib/react-components.js",

"devDependencies": {
"@types/classnames": "^2.2.7",
"@types/lodash": "^4.14.132",
"@types/react": "^16.8.18",
"@types/react-custom-scrollbars": "^4.0.5",
"accurapp-scripts": "^4.1.7",
"babel-preset-accurapp": "^4.1.3",
"eslint-config-accurapp": "^4.2.7",
"react": "^16.8.6",
"react-docgen-typescript": "^1.12.4",
"react-dom": "^16.8.6",
"react-styleguidist": "^8.0.6",
"replace-in-file": "^4.1.0",
"@types/classnames": "^2.2.9",
"@types/lodash": "^4.14.149",
"@types/react": "^16.9.13",
"@types/react-custom-scrollbars": "^4.0.6",
"accurapp-scripts": "^4.1.8",
"babel-preset-accurapp": "^4.1.5",
"eslint-config-accurapp": "^4.2.8",
"react": "^16.12.0",
"react-docgen-typescript": "^1.15.1",
"react-dom": "^16.12.0",
"react-styleguidist": "^10.2.1",
"replace-in-file": "^4.2.0",
"tachyons": "^4.11.1",
"tachyons-extra": "^1.1.3",
"tslint": "^5.12.0",
"typescript": "^3.4.5",
"webpack-preset-accurapp": "^4.2.10"
"tslint": "^5.20.1",
"typescript": "^3.7.2",
"webpack-preset-accurapp": "^4.2.15"
},
"dependencies": {
"classnames": "^2.2.6",
"lodash": "^4.17.11",
"lodash": "^4.17.15",
"react-custom-scrollbars": "^4.2.1"

@@ -67,0 +67,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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