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

@brighthr/component-input

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brighthr/component-input - npm Package Compare versions

Comparing version 3.0.5 to 3.0.7

20

dist/index.d.ts

@@ -13,3 +13,3 @@ import React from 'react';

/** The unit to be shown on the right side of the input */
unit?: 'days' | 'hrs' | 'mins';
unit?: 'days' | 'hrs' | 'mins' | '%';
/** Function to execute on click of the button */

@@ -27,19 +27,19 @@ onClickButton?: () => void;

/** If true, shows red error state */
error?: boolean;
error?: boolean | undefined;
/** Sets the size of the input */
inputSize?: 'base' | 'xl';
inputSize?: "base" | "xl" | undefined;
/** The icon to be shown on the left side of the input */
leftIcon?: React.ComponentType<React.SVGAttributes<SVGElement>>;
leftIcon?: React.ComponentType<React.SVGAttributes<SVGElement>> | undefined;
/** The icon to be shown on the right side of the input */
rightIcon?: React.ComponentType<React.SVGAttributes<SVGElement>>;
rightIcon?: React.ComponentType<React.SVGAttributes<SVGElement>> | undefined;
/** The unit to be shown on the right side of the input */
unit?: 'days' | 'hrs' | 'mins';
unit?: "days" | "hrs" | "mins" | "%" | undefined;
/** Function to execute on click of the button */
onClickButton?: () => void;
onClickButton?: (() => void) | undefined;
/** Sets the Aria label for the button if `hasOverlay` and `hasButton` are `true` */
buttonAriaLabel?: string;
buttonAriaLabel?: string | undefined;
/** Sets the label to display above the input */
label?: string;
label?: string | undefined;
/** If true, sets the input to be required and adds red 'required' flag */
required?: boolean;
required?: boolean | undefined;
children?: React.ReactNode;

@@ -46,0 +46,0 @@ } & React.RefAttributes<HTMLInputElement>>;

{
"name": "@brighthr/component-input",
"version": "3.0.5",
"version": "3.0.7",
"license": "MIT",

@@ -26,3 +26,3 @@ "type": "module",

},
"gitHead": "352b0e3d2846cedb4f28aab3bf959052e7b6b38f"
"gitHead": "4df190ef89fa6cda834f948475322a0c635473cb"
}

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 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