diff --git a/notNeededPackages.json b/notNeededPackages.json index c1aafaf89f..90fd62d1b3 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -3186,6 +3186,12 @@ "sourceRepoURL": "https://github.com/tomkp/react-split-pane", "asOfVersion": "0.1.67" }, + { + "libraryName": "react-sticky-box", + "typingsPackageName": "react-sticky-box", + "sourceRepoURL": "https://github.com/codecks-io/react-sticky-box", + "asOfVersion": "0.8.0" + }, { "libraryName": "react-svg", "typingsPackageName": "react-svg", diff --git a/types/react-sticky-box/index.d.ts b/types/react-sticky-box/index.d.ts deleted file mode 100644 index f538b6e454..0000000000 --- a/types/react-sticky-box/index.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -// Type definitions for react-sticky-box 0.7 -// Project: https://github.com/codecks-io/react-sticky-box, https://github.com/danielberndt/react-sticky-box -// Definitions by: Konstantin Lebedev -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.8 - -import * as React from "react"; - -declare namespace ReactStickyBox { - type StickyBoxMode = 'relative' | 'stickyBottom' | 'stickyTop'; - - interface StickyBoxProps { - bottom?: boolean; - offsetTop?: number; - offsetBottom?: number; - onChangeMode?: (oldMode: StickyBoxMode, newMode: StickyBoxMode) => void; - } -} - -declare const ReactStickyBox: React.ComponentClass; - -export = ReactStickyBox; diff --git a/types/react-sticky-box/react-sticky-box-tests.tsx b/types/react-sticky-box/react-sticky-box-tests.tsx deleted file mode 100644 index a2aa8fd2aa..0000000000 --- a/types/react-sticky-box/react-sticky-box-tests.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import ReactStickyBox, { StickyBoxMode } from "react-sticky-box"; -import * as React from "react"; - -const ReactStickyBoxRequiredOptions: JSX.Element = ( - -); - -const changeHandler = (oldMode: StickyBoxMode, newMode: StickyBoxMode) => { - console.log(`Changing from ${oldMode} to ${newMode}`); -}; - -const ReactStickyBoxAllOptions: JSX.Element = ( - -); diff --git a/types/react-sticky-box/tsconfig.json b/types/react-sticky-box/tsconfig.json deleted file mode 100644 index ca9381b1af..0000000000 --- a/types/react-sticky-box/tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react", - "esModuleInterop": true - }, - "files": [ - "index.d.ts", - "react-sticky-box-tests.tsx" - ] -} diff --git a/types/react-sticky-box/tslint.json b/types/react-sticky-box/tslint.json deleted file mode 100644 index 3db14f85ea..0000000000 --- a/types/react-sticky-box/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "dtslint/dt.json" }