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
8
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.3.5 to 0.3.6

6

lib/lib/src/commons/interfaces.d.ts

@@ -9,3 +9,3 @@ /// <reference types="react" />

inputClassName?: string;
style?: object;
style?: React.CSSProperties;
disabled?: boolean;

@@ -17,2 +17,6 @@ checked?: boolean;

export declare const InputDefaultProps: object;
declare type WeakenType<T, K extends keyof T> = {
[P in keyof T]: P extends K ? unknown : T[P];
};
export declare type ChangelessInputProps = WeakenType<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
export {};

4

lib/lib/src/components/Checkbox/index.d.ts
import * as React from 'react';
import { InputPropsTypes, BooleanChangeFnType } from '../../commons/interfaces';
import { InputPropsTypes, BooleanChangeFnType, ChangelessInputProps } from '../../commons/interfaces';
interface SVGProps {

@@ -7,3 +7,3 @@ className?: string;

}
export interface CheckBoxArguments extends InputPropsTypes {
export interface CheckBoxArguments extends InputPropsTypes, ChangelessInputProps {
propSvg?: React.SFC<SVGProps>;

@@ -10,0 +10,0 @@ onChange?: BooleanChangeFnType;

@@ -1,5 +0,5 @@

import { InputPropsTypes, BooleanChangeFnType } from '../../commons/interfaces';
export interface RadioProps extends InputPropsTypes {
import { InputPropsTypes, BooleanChangeFnType, ChangelessInputProps } from '../../commons/interfaces';
export interface RadioProps extends InputPropsTypes, ChangelessInputProps {
onChange?: BooleanChangeFnType;
}
export default function Radio({ children, className, inputClassName, style, disabled, checked, onChange, reset, ...props }: RadioProps): JSX.Element;

@@ -1,3 +0,4 @@

import { InputPropsTypes, InputChangeFnType } from '../../commons/interfaces';
export interface TextInputpropsType extends InputPropsTypes {
import * as React from 'react';
import { InputPropsTypes, InputChangeFnType } from 'src/commons/interfaces';
export interface TextInputpropsType extends InputPropsTypes, React.InputHTMLAttributes<HTMLInputElement> {
onChange?: InputChangeFnType;

@@ -4,0 +5,0 @@ type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'time' | 'date' | 'datetime-local';

@@ -1,3 +0,3 @@

import { InputPropsTypes, BooleanChangeFnType } from '../../commons/interfaces';
interface ToggleProps extends InputPropsTypes {
import { InputPropsTypes, BooleanChangeFnType, ChangelessInputProps } from '../../commons/interfaces';
interface ToggleProps extends InputPropsTypes, ChangelessInputProps {
onChange?: BooleanChangeFnType;

@@ -4,0 +4,0 @@ }

{
"name": "@accurat/react-components",
"version": "0.3.5",
"version": "0.3.6",
"description": "Collection of React components used for Accurat projects.",

@@ -36,3 +36,3 @@ "main": "lib/react-components.js",

"build:styleguide": "rm -rf docs && styleguidist build",
"publish": "npm publish --access public",
"pub": "npm publish --access public",
"prepublishOnly": "npm run build"

@@ -39,0 +39,0 @@ },

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