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

@brighthr/component-file-selector

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-file-selector - npm Package Compare versions

Comparing version 0.3.1 to 1.0.0

dist/index.d.cts

11

dist/index.d.ts
import React from 'react';
import { DropzoneOptions } from 'react-dropzone';
export declare type FileSelectorProps = React.HTMLAttributes<HTMLDivElement> & {
declare type FileSelectorProps = React.HTMLAttributes<HTMLDivElement> & {
onFilesSelected: (files: File[]) => void;

@@ -8,3 +9,3 @@ dropZoneOptions?: DropzoneOptions;

};
export declare type FileInformationProps = React.HTMLAttributes<HTMLDivElement> & {
declare type FileInformationProps = React.HTMLAttributes<HTMLDivElement> & {
fileProblemDescription?: string;

@@ -17,3 +18,5 @@ fileDescription?: string;

};
export declare const FileInformation: ({ fileProblemDescription, uploadProgressPercentage, fileDescription, fileName, spinner, onRemoveFile, }: FileInformationProps) => JSX.Element;
export declare const FileSelector: ({ onFilesSelected, dropZoneOptions, text, ...props }: FileSelectorProps) => React.ReactElement;
declare const FileInformation: ({ fileProblemDescription, uploadProgressPercentage, fileDescription, fileName, spinner, onRemoveFile, }: FileInformationProps) => JSX.Element;
declare const FileSelector: ({ onFilesSelected, dropZoneOptions, text, ...props }: FileSelectorProps) => React.ReactElement;
export { FileInformation, FileInformationProps, FileSelector, FileSelectorProps };
{
"name": "@brighthr/component-file-selector",
"version": "0.3.1",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"source": "src/index.tsx",
"exports": "./dist/index.modern.js",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"types": "./dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {

@@ -15,4 +16,4 @@ "access": "public"

"scripts": {
"start": "microbundle watch --jsx React.createElement --jsxFragment React.Fragment",
"build": "microbundle --jsx React.createElement --jsxFragment React.Fragment"
"start": "tsup --watch",
"build": "tsup"
},

@@ -38,9 +39,9 @@ "eslintConfig": {

"dependencies": {
"@brighthr/component-button": "^1.6.1",
"@brighthr/component-icon": "^1.1.26",
"@brighthr/component-spinner": "^0.0.4",
"@brighthr/component-button": "^2.0.0",
"@brighthr/component-icon": "^2.0.0",
"@brighthr/component-spinner": "^1.0.0",
"classnames": "^2.3.1",
"react-dropzone": "^14.2.2"
},
"gitHead": "30b0a4ad05e17e5f811ee29a47e5ed6fc4ef8338"
"gitHead": "1b82cedd964ef0ee483494eba535cdd0e48716ea"
}

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