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

@progress/kendo-react-upload

Package Overview
Dependencies
Maintainers
1
Versions
1104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-upload - npm Package Compare versions

Comparing version 2.9.0-dev.201904031330 to 2.9.0-dev.201904120809

10

dist/es/Upload.d.ts

@@ -60,7 +60,7 @@ import * as React from 'react';

/**
* The The new updated state candidate.
* The new updated state candidate.
*/
newState: Array<UploadFileInfo>;
/**
* The The list of affected files.
* The list of affected files.
*/

@@ -74,11 +74,11 @@ affectedFiles: Array<UploadFileInfo>;

/**
* The The new updated state candidate.
* The new updated state candidate.
*/
newState: Array<UploadFileInfo>;
/**
* The The list of affected files.
* The list of affected files.
*/
affectedFiles: Array<UploadFileInfo>;
/**
* The The server response, if available.
* The server response, if available.
*/

@@ -85,0 +85,0 @@ response?: UploadResponse;

@@ -6,17 +6,2 @@ import * as React from 'react';

*/
export declare enum Keys {
'esc' = 27,
'tab' = 9,
'enter' = 13,
'space' = 32,
'shift' = 16,
'delete' = 46,
'left' = 37,
'up' = 38,
'right' = 39,
'down' = 40
}
/**
* @hidden
*/
export declare class UploadNavigation extends React.Component<UploadUIProps, {}> {

@@ -23,0 +8,0 @@ private _uploadUI;

@@ -29,2 +29,3 @@ var __extends = (this && this.__extends) || (function () {

import * as React from 'react';
import { Keys } from '@progress/kendo-react-common';
import { UploadUI } from './UploadUI';

@@ -34,18 +35,2 @@ /**

*/
export var Keys;
(function (Keys) {
Keys[Keys["esc"] = 27] = "esc";
Keys[Keys["tab"] = 9] = "tab";
Keys[Keys["enter"] = 13] = "enter";
Keys[Keys["space"] = 32] = "space";
Keys[Keys["shift"] = 16] = "shift";
Keys[Keys["delete"] = 46] = "delete";
Keys[Keys["left"] = 37] = "left";
Keys[Keys["up"] = 38] = "up";
Keys[Keys["right"] = 39] = "right";
Keys[Keys["down"] = 40] = "down";
})(Keys || (Keys = {}));
/**
* @hidden
*/
var NOT_FOCUSED_INDEX = -2;

@@ -64,3 +49,2 @@ /**

_this.onKeyDown = function (event, isRtl) {
var key = Keys[event.keyCode];
var navIndex = _this.navIndex;

@@ -74,4 +58,4 @@ var groupKeys = Object.keys(_this.props.groupedFiles);

var nextIndex = navIndex;
switch (key) {
case 'up':
switch (event.keyCode) {
case Keys.up:
if (navIndex > -1) {

@@ -81,3 +65,3 @@ nextIndex = prevIndex - 1;

break;
case 'down':
case Keys.down:
if (navIndex < maxNavIndex) {

@@ -87,3 +71,3 @@ nextIndex = prevIndex + 1;

break;
case 'left':
case Keys.left:
if (isRtl) {

@@ -100,3 +84,3 @@ if (navIndex === cancelButtonIndex) {

break;
case 'right':
case Keys.right:
if (isRtl) {

@@ -113,3 +97,3 @@ if (navIndex === uploadButtonIndex) {

break;
case 'enter':
case Keys.enter:
if (navIndex === DEFAULT_INDEX || navIndex === NOT_FOCUSED_INDEX) {

@@ -127,3 +111,3 @@ if (_this._uploadUI) {

break;
case 'space':
case Keys.space:
if (navIndex === DEFAULT_INDEX || navIndex === NOT_FOCUSED_INDEX) {

@@ -138,6 +122,6 @@ if (_this._uploadUI) {

break;
case 'tab':
case Keys.tab:
nextIndex = NOT_FOCUSED_INDEX;
break;
case 'delete':
case Keys.delete:
if (navIndex >= 0 && navIndex <= maxFileIndex) {

@@ -148,3 +132,3 @@ nextIndex = prevIndex - 1;

break;
case 'esc':
case Keys.esc:
if (navIndex >= 0 && navIndex <= maxFileIndex) {

@@ -151,0 +135,0 @@ nextIndex = prevIndex - 1;

@@ -60,7 +60,7 @@ import * as React from 'react';

/**
* The The new updated state candidate.
* The new updated state candidate.
*/
newState: Array<UploadFileInfo>;
/**
* The The list of affected files.
* The list of affected files.
*/

@@ -74,11 +74,11 @@ affectedFiles: Array<UploadFileInfo>;

/**
* The The new updated state candidate.
* The new updated state candidate.
*/
newState: Array<UploadFileInfo>;
/**
* The The list of affected files.
* The list of affected files.
*/
affectedFiles: Array<UploadFileInfo>;
/**
* The The server response, if available.
* The server response, if available.
*/

@@ -85,0 +85,0 @@ response?: UploadResponse;

@@ -6,17 +6,2 @@ import * as React from 'react';

*/
export declare enum Keys {
'esc' = 27,
'tab' = 9,
'enter' = 13,
'space' = 32,
'shift' = 16,
'delete' = 46,
'left' = 37,
'up' = 38,
'right' = 39,
'down' = 40
}
/**
* @hidden
*/
export declare class UploadNavigation extends React.Component<UploadUIProps, {}> {

@@ -23,0 +8,0 @@ private _uploadUI;

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

var React = require("react");
var kendo_react_common_1 = require("@progress/kendo-react-common");
var UploadUI_1 = require("./UploadUI");

@@ -36,18 +37,2 @@ /**

*/
var Keys;
(function (Keys) {
Keys[Keys["esc"] = 27] = "esc";
Keys[Keys["tab"] = 9] = "tab";
Keys[Keys["enter"] = 13] = "enter";
Keys[Keys["space"] = 32] = "space";
Keys[Keys["shift"] = 16] = "shift";
Keys[Keys["delete"] = 46] = "delete";
Keys[Keys["left"] = 37] = "left";
Keys[Keys["up"] = 38] = "up";
Keys[Keys["right"] = 39] = "right";
Keys[Keys["down"] = 40] = "down";
})(Keys = exports.Keys || (exports.Keys = {}));
/**
* @hidden
*/
var NOT_FOCUSED_INDEX = -2;

@@ -66,3 +51,2 @@ /**

_this.onKeyDown = function (event, isRtl) {
var key = Keys[event.keyCode];
var navIndex = _this.navIndex;

@@ -76,4 +60,4 @@ var groupKeys = Object.keys(_this.props.groupedFiles);

var nextIndex = navIndex;
switch (key) {
case 'up':
switch (event.keyCode) {
case kendo_react_common_1.Keys.up:
if (navIndex > -1) {

@@ -83,3 +67,3 @@ nextIndex = prevIndex - 1;

break;
case 'down':
case kendo_react_common_1.Keys.down:
if (navIndex < maxNavIndex) {

@@ -89,3 +73,3 @@ nextIndex = prevIndex + 1;

break;
case 'left':
case kendo_react_common_1.Keys.left:
if (isRtl) {

@@ -102,3 +86,3 @@ if (navIndex === cancelButtonIndex) {

break;
case 'right':
case kendo_react_common_1.Keys.right:
if (isRtl) {

@@ -115,3 +99,3 @@ if (navIndex === uploadButtonIndex) {

break;
case 'enter':
case kendo_react_common_1.Keys.enter:
if (navIndex === DEFAULT_INDEX || navIndex === NOT_FOCUSED_INDEX) {

@@ -129,3 +113,3 @@ if (_this._uploadUI) {

break;
case 'space':
case kendo_react_common_1.Keys.space:
if (navIndex === DEFAULT_INDEX || navIndex === NOT_FOCUSED_INDEX) {

@@ -140,6 +124,6 @@ if (_this._uploadUI) {

break;
case 'tab':
case kendo_react_common_1.Keys.tab:
nextIndex = NOT_FOCUSED_INDEX;
break;
case 'delete':
case kendo_react_common_1.Keys.delete:
if (navIndex >= 0 && navIndex <= maxFileIndex) {

@@ -150,3 +134,3 @@ nextIndex = prevIndex - 1;

break;
case 'esc':
case kendo_react_common_1.Keys.esc:
if (navIndex >= 0 && navIndex <= maxFileIndex) {

@@ -153,0 +137,0 @@ nextIndex = prevIndex - 1;

{
"name": "@progress/kendo-react-upload",
"version": "2.9.0-dev.201904031330",
"version": "2.9.0-dev.201904120809",
"description": "KendoReact Upload package",

@@ -30,3 +30,3 @@ "repository": {

"dependencies": {
"@progress/kendo-react-common": "2.9.0-dev.201904031330",
"@progress/kendo-react-common": "2.9.0-dev.201904120809",
"axios": "0.18.0",

@@ -33,0 +33,0 @@ "prop-types": "^15.6.0"

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

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