Manifest: Move interactions to their own file.

This commit is contained in:
Scott González 2012-07-16 08:53:34 -04:00
parent ac44afe4e8
commit 58a199370e
3 changed files with 41 additions and 38 deletions

36
build/interaction.json Normal file
View File

@ -0,0 +1,36 @@
{
"draggable": {
"description": "Enables dragging functionality for any element.",
"keywords": [
"drag",
"drop"
]
},
"droppable": {
"dependencies": [ "draggable" ],
"description": "Enables drop targets for draggable elements.",
"keywords": [
"drag",
"drop"
]
},
"resizable": {
"description": "Enables resize functionality for any element.",
"keywords": [
"resize"
]
},
"selectable": {
"description": "Allows groups of elements to be selected with the mouse.",
"keywords": [
"selection"
]
},
"sortable": {
"description": "Enables items in a list to be sorted using the mouse.",
"keywords": [
"sort",
"list"
]
}
}

View File

@ -15,6 +15,11 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
title: "jQuery UI {Plugin}",
dependencies: [ "core", "widget" ]
},
interaction: {
name: "ui.{plugin}",
title: "jQuery UI {Plugin}",
dependencies: [ "core", "widget", "mouse" ]
},
effect: {
name: "ui.effect-{plugin}",
title: "jQuery UI {Plugin} Effect",

View File

@ -37,22 +37,6 @@
"popup"
]
},
"draggable": {
"dependencies": [ "mouse" ],
"description": "Enables dragging functionality for any element.",
"keywords": [
"drag",
"drop"
]
},
"droppable": {
"dependencies": [ "draggable", "mouse" ],
"description": "Enables drop targets for draggable elements.",
"keywords": [
"drag",
"drop"
]
},
"menu": {
"dependencies": [ "position" ],
"description": "Creates nestable menus.",
@ -77,20 +61,6 @@
"status"
]
},
"resizable": {
"dependencies": [ "mouse" ],
"description": "Enables resize functionality for any element.",
"keywords": [
"resize"
]
},
"selectable": {
"dependencies": [ "mouse" ],
"description": "Allows groups of elements to be selected with the mouse.",
"keywords": [
"selection"
]
},
"slider": {
"dependencies": [ "mouse" ],
"description": "Displays a flexible slider with ranges and accessibility via keyboard.",
@ -100,14 +70,6 @@
"range"
]
},
"sortable": {
"dependencies": [ "mouse" ],
"description": "Enables items in a list to be sorted using the mouse.",
"keywords": [
"sort",
"list"
]
},
"spinner": {
"dependencies": [ "button" ],
"description": "Displays buttons to easily input numbers via the keyboard or mouse.",