From 58a199370ed33e71257e863897e29c36fc593316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 16 Jul 2012 08:53:34 -0400 Subject: [PATCH] Manifest: Move interactions to their own file. --- build/interaction.json | 36 ++++++++++++++++++++++++++++++++++++ build/tasks/build.js | 5 +++++ build/widget.json | 38 -------------------------------------- 3 files changed, 41 insertions(+), 38 deletions(-) create mode 100644 build/interaction.json diff --git a/build/interaction.json b/build/interaction.json new file mode 100644 index 000000000..d964c4ac3 --- /dev/null +++ b/build/interaction.json @@ -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" + ] + } +} \ No newline at end of file diff --git a/build/tasks/build.js b/build/tasks/build.js index 1e1795230..cc663309b 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -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", diff --git a/build/widget.json b/build/widget.json index 12993e828..6adddb121 100644 --- a/build/widget.json +++ b/build/widget.json @@ -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.",