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

@types/react-widgets

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-widgets - npm Package Compare versions

Comparing version 4.4.3 to 4.4.4

14

react-widgets/index.d.ts

@@ -17,8 +17,8 @@ // Type definitions for react-widgets 4.4

export import Calendar = require('./lib/Calendar');
export import Combobox = require('./lib/Combobox');
export import DateTimePicker = require('./lib/DateTimePicker');
export import DropdownList = require('./lib/DropdownList');
export import Multiselect = require('./lib/Multiselect');
export import NumberPicker = require('./lib/NumberPicker');
export import SelectList = require('./lib/SelectList');
export import Calendar = require("./lib/Calendar");
export import Combobox = require("./lib/Combobox");
export import DateTimePicker = require("./lib/DateTimePicker");
export import DropdownList = require("./lib/DropdownList");
export import Multiselect = require("./lib/Multiselect");
export import NumberPicker = require("./lib/NumberPicker");
export import SelectList = require("./lib/SelectList");

@@ -1,6 +0,6 @@

import { ComponentClass } from 'react';
import { ReactWidgetsCommonProps, AutoFocus } from './CommonProps';
import { ComponentClass } from "react";
import { ReactWidgetsCommonProps, AutoFocus } from "./CommonProps";
declare namespace Calendar {
type CalendarView = 'month' | 'year' | 'decade' | 'century';
type CalendarView = "month" | "year" | "decade" | "century";

@@ -7,0 +7,0 @@ interface CalendarProps extends ReactWidgetsCommonProps, AutoFocus {

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

import { ComponentClass } from 'react';
import { ReactWidgetsCommonDropdownProps, AutoFocus } from './CommonProps';
import { ComponentClass } from "react";
import { ReactWidgetsCommonDropdownProps, AutoFocus } from "./CommonProps";

@@ -4,0 +4,0 @@ declare namespace Combobox {

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

import { ComponentClass, KeyboardEvent, ReactElement, ReactType } from 'react';
import { ReactWidgetsCommonDropdownProps, AutoFocus } from './CommonProps';
import { ComponentClass, KeyboardEvent, ReactElement, ReactType } from "react";
import { ReactWidgetsCommonDropdownProps, AutoFocus } from "./CommonProps";

@@ -91,3 +91,3 @@ declare namespace DateTimePicker {

*/
parse?: ((str: string) => Date) | string[] | string;
parse?: ((str: string) => Date | undefined) | string[] | string;
/**

@@ -94,0 +94,0 @@ * The starting and lowest level view the calendar can navigate down to.

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

import { ComponentClass } from 'react';
import { ReactWidgetsCommonDropdownProps, AutoFocus } from './CommonProps';
import { ComponentClass } from "react";
import { ReactWidgetsCommonDropdownProps, AutoFocus } from "./CommonProps";

@@ -9,3 +9,3 @@ declare namespace DropdownList {

*/
allowCreate?: boolean | 'onFilter';
allowCreate?: boolean | "onFilter";
/**

@@ -211,4 +211,4 @@ * The current value of the DropdownList. This can be an object (such as a member of the

interface DropdownListClass extends ComponentClass<DropdownList.DropdownListProps> { }
interface DropdownListClass extends ComponentClass<DropdownList.DropdownListProps> {}
declare var DropdownList: DropdownListClass;
export = DropdownList;

@@ -1,8 +0,6 @@

import { ComponentClass } from 'react';
import { ComponentClass } from "react";
import { ReactWidgetsCommonDropdownProps, AutoFocus } from "./CommonProps";
declare namespace Multiselect {
interface MultiselectProps
extends ReactWidgetsCommonDropdownProps,
AutoFocus {
interface MultiselectProps extends ReactWidgetsCommonDropdownProps, AutoFocus {
/**

@@ -34,3 +32,3 @@ * Enables the list option creation UI. onFilter will only the UI when actively filtering for a list item.

searchTerm?: string;
}
},
) => void;

@@ -45,3 +43,3 @@ /**

originalEvent: any;
}
},
) => void;

@@ -120,3 +118,3 @@ /**

originalEvent?: any;
}
},
) => void;

@@ -142,8 +140,3 @@ /**

*/
filter?:
| false
| "startsWith"
| "endsWith"
| "contains"
| ((dataItem: any, searchTerm: string) => boolean);
filter?: false | "startsWith" | "endsWith" | "contains" | ((dataItem: any, searchTerm: string) => boolean);
/**

@@ -150,0 +143,0 @@ * Use in conjunction with the filter prop. Filter the list without regard for case. This

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

import { ComponentClass } from 'react';
import { ReactWidgetsCommonProps, AutoFocus } from './CommonProps';
import { ComponentClass } from "react";
import { ReactWidgetsCommonProps, AutoFocus } from "./CommonProps";

@@ -4,0 +4,0 @@ declare namespace NumberPicker {

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

import { ComponentClass } from 'react';
import { ReactWidgetsCommonProps, AutoFocus } from './CommonProps';
import { ComponentClass } from "react";
import { ReactWidgetsCommonProps, AutoFocus } from "./CommonProps";

@@ -4,0 +4,0 @@ declare namespace SelectList {

{
"name": "@types/react-widgets",
"version": "4.4.3",
"version": "4.4.4",
"description": "TypeScript definitions for react-widgets",

@@ -74,4 +74,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "d5d3e89359a1d49a49f28ed3c2804766feda0774d55494c545e4c629cce049aa",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "6e5035452080f24e6b6303fbc54c94d046b14f6025fbd9d30f27c0ce01c0b97a",
"typeScriptVersion": "3.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 17 Sep 2020 18:22:27 GMT
* Last updated: Thu, 25 Mar 2021 02:21:14 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: none

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