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

@types/uikit

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/uikit - npm Package Compare versions

Comparing version 2.27.1 to 2.27.2

84

uikit/index.d.ts

@@ -9,2 +9,85 @@ // Type definitions for uikit 2.27

declare namespace UIkit {
interface DropdownElement {
/**
* Show the dropdown
*/
show(): void;
/**
* Hide the dropdown
* @param {boolean} force
*/
hide(force?: boolean): void;
}
type DropdownPosition =
'bottom-left' |
'bottom-center' |
'bottom-right' |
'top-left' |
'top-center' |
'top-right' |
'left-top' |
'left-center' |
'left-bottom' |
'right-top' |
'right-center' |
'right-bottom';
interface DropdownOptions {
/**
* Dropdown position
* @default 'bottom-left'
*/
pos?: DropdownPosition;
/**
* Dropdown trigger behaviour
* @default 'hover'
*/
mode?: 'hover'|'click';
/**
* Remain time before auto closing dropdown in hover mode
* @default 800
*/
remaintime?: number;
/**
* Stretch dropdown width to a specified element
* @default false
*/
justify?: string|JQuery|false;
/**
* Referenced element to keep dropdowns visibilty
* @default window
*/
boundary?: string|JQuery|Window;
/**
* Delay time in hover mode before a dropdown is shown in ms
* @default 0
*/
delay?: number;
/**
* Dropdown selector
* @default '.uk-dropdown,.uk-dropdown-blank'
*/
dropdownSelector?: string|JQuery;
/**
* Is added to the delay time when hovering from one active dropdown to another dropdown (in ms)
* @default 250
*/
hoverDelayIdle?: number;
/**
* Prevent automatic dropdown flip
* Possible values: 'x', 'y', true, false
* @default false
*/
preventflip?: 'x'|'y'|boolean;
}
/**
* Create a toggleable dropdown with different styles
* Documentation: {@link http://getuikit.org/docs/dropdown.html}
*
* Events:
* Name Description
* show.uk.dropdown Triggered on dropdown show
* hide.uk.dropdown Triggered on dropdown hide
* stack.uk.dropdown Triggered when a dropdown stacks to fit into screen
*/
type Dropdown = (selector: string|JQuery, options?: DropdownOptions) => DropdownElement;
interface ModalElement {

@@ -1351,2 +1434,3 @@ /**

type Upload = (element: string|JQuery, options: UploadOptions) => any;
var dropdown: Dropdown;
var modal: Modal;

@@ -1353,0 +1437,0 @@ var lightbox: LightBox;

4

uikit/package.json
{
"name": "@types/uikit",
"version": "2.27.1",
"version": "2.27.2",
"description": "TypeScript definitions for uikit",

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

"peerDependencies": {},
"typesPublisherContentHash": "001984a0bc5e9b6e045e1d80d348814c8bfe4a63c6cdb4300e88c0fac8ba2f50",
"typesPublisherContentHash": "c58c0e991e2c9fc5c2856c7e362073d7b2128147a1b035e1cd7fc7d0b5fc3c6e",
"typeScriptVersion": "2.0"
}

@@ -11,5 +11,4 @@ # Installation

Additional Details
* Last updated: Wed, 28 Dec 2016 01:16:53 GMT
* Library Dependencies: jquery
* Module Dependencies: none
* Last updated: Fri, 20 Jan 2017 04:54:08 GMT
* Dependencies: jquery
* Global values: UIkit

@@ -16,0 +15,0 @@

{
"authors": "Giovanni Silva <https://github.com/giovannicandido>, Ivo Senner <https://github.com/s0x>",
"libraryDependencies": [
"jquery"
],
"moduleDependencies": [],
"libraryMajorVersion": 2,
"libraryMinorVersion": 27,
"typeScriptVersion": "2.0",
"name": "uikit",
"libraryName": "uikit",
"typingsPackageName": "uikit",
"projectName": "http://getuikit.org",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "master",
"globals": [
"UIkit"
],
"declaredModules": [],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "001984a0bc5e9b6e045e1d80d348814c8bfe4a63c6cdb4300e88c0fac8ba2f50"
"data": {
"authors": "Giovanni Silva <https://github.com/giovannicandido>, Ivo Senner <https://github.com/s0x>",
"dependencies": {
"jquery": "*"
},
"pathMappings": {},
"libraryMajorVersion": 2,
"libraryMinorVersion": 27,
"typeScriptVersion": "2.0",
"libraryName": "uikit",
"typingsPackageName": "uikit",
"projectName": "http://getuikit.org",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"globals": [
"UIkit"
],
"declaredModules": [],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "c58c0e991e2c9fc5c2856c7e362073d7b2128147a1b035e1cd7fc7d0b5fc3c6e"
},
"isLatest": true
}
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