From 7f859e4c7390e40c41f6789e085f2115d22ce44e Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 5 Jul 2012 20:11:52 -0400 Subject: Initial implementation for generating manifest files. --- build/tasks/build.js | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) (limited to 'build/tasks/build.js') diff --git a/build/tasks/build.js b/build/tasks/build.js index 06a4b98a2..aeacc232d 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -2,6 +2,80 @@ module.exports = function( grunt ) { var path = require( "path" ); +grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() { + var pkg = grunt.config( "pkg" ), + base = { + core: { + name: "ui.{plugin}", + title: "jQuery UI {Plugin}" + }, + widgets: { + name: "ui.{plugin}", + title: "jQuery UI {Plugin}", + dependencies: [ "core", "widget" ] + }, + effects: { + name: "ui.effect-{plugin}", + title: "jQuery UI {Plugin} Effect", + keywords: [ "effect", "show", "hide" ], + // TODO: Will we have individual pages for 1.9? + homepage: "http://jqueryui.com/effect/", + // TODO: Will we have individual pages for 1.9? + demo: "http://jqueryui.com/effect/", + docs: "http://api.jqueryui.com/{plugin}-effect/", + dependencies: [ "effect" ], + file: "ui.effect-{plugin}" + } + }; + + Object.keys( base ).forEach(function( type ) { + var baseManifest = base[ type ], + plugins = grunt.file.readJSON( "build/" + type + ".json" ); + + Object.keys( plugins ).forEach(function( plugin ) { + var manifest, + data = plugins[ plugin ], + name = plugin.charAt( 0 ).toUpperCase() + plugin.substr( 1 ); + + function replace( str ) { + return str.replace( "{plugin}", plugin ).replace( "{Plugin}", name ); + } + + manifest = { + name: replace( baseManifest.name ), + title: replace( baseManifest.title ), + description: data.description, + keywords: [ "ui", plugin ] + .concat( baseManifest.keywords || [] ) + .concat( data.keywords || [] ), + version: pkg.version, + author: pkg.author, + maintainers: pkg.maintainers, + bugs: pkg.bugs, + homepage: data.homepage || replace( baseManifest.homepage || + "http://jqueryui.com/{plugin}/" ), + demo: data.demo || replace( baseManifest.demo || + "http://jqueryui.com/{plugin}/" ), + docs: data.docs || replace( baseManifest.docs || + "http://api.jqueryui.com/{plugin}/" ), + download: "http://jqueryui.com/download/", + dependencies: { + jquery: ">=1.6" + } + }; + + (baseManifest.dependencies || []) + .concat(data.dependencies || []) + .forEach(function( dependency ) { + manifest.dependencies[ "ui." + dependency ] = pkg.version; + }); + + grunt.file.write( replace( baseManifest.file || "ui.{plugin}" ) + ".jquery.json", + JSON.stringify( manifest, null, "\t" ) ); + }); + }); +}); + grunt.registerMultiTask( "copy", "Copy files to destination folder and replace @VERSION with pkg.version", function() { function replaceVersion( source ) { return source.replace( /@VERSION/g, grunt.config( "pkg.version" ) ); -- cgit v1.2.3 From d369417f7eacbf4c7be68d138f3fd05a8adf0314 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 6 Jul 2012 12:39:17 -0400 Subject: Minor manifest updates. --- build/core.json | 11 +++++++++-- build/tasks/build.js | 9 ++++----- 2 files changed, 13 insertions(+), 7 deletions(-) (limited to 'build/tasks/build.js') diff --git a/build/core.json b/build/core.json index e50a57b42..366abf8e1 100644 --- a/build/core.json +++ b/build/core.json @@ -1,6 +1,9 @@ { "core": { - "description": "The core of jQuery UI, required for all interactions and widgets." + "description": "The core of jQuery UI, required for all interactions and widgets.", + "homepage": "http://jqueryui.com/", + "demo": "http://jqueryui.com/", + "docs": "http://api.jqueryui.com/category/ui-core" }, "datepicker": { "description": "A datepicker than can be toggled from a input or displayed inline.", @@ -13,6 +16,7 @@ ] }, "effect": { + "title": "jQuery UI Effects Core", "description": "Extends the internal jQuery effects, includes morphing, easing and is required by all other effects.", "keywords": [ "animation", @@ -22,7 +26,10 @@ "class", "transition", "easing" - ] + ], + "homepage": "http://jqueryui.com/", + "demo": "http://jqueryui.com/", + "docs": "http://api.jqueryui.com/category/effects-core" }, "position": { "description": "A utility plugin for positioning elements relative to other elements.", diff --git a/build/tasks/build.js b/build/tasks/build.js index aeacc232d..5f9d33fec 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -4,6 +4,7 @@ var path = require( "path" ); grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() { var pkg = grunt.config( "pkg" ), + // TODO: URLs for UI core and effects core base = { core: { name: "ui.{plugin}", @@ -18,10 +19,8 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( name: "ui.effect-{plugin}", title: "jQuery UI {Plugin} Effect", keywords: [ "effect", "show", "hide" ], - // TODO: Will we have individual pages for 1.9? - homepage: "http://jqueryui.com/effect/", - // TODO: Will we have individual pages for 1.9? - demo: "http://jqueryui.com/effect/", + homepage: "http://jqueryui.com/{plugin}-effect/", + demo: "http://jqueryui.com/{plugin}-effect/", docs: "http://api.jqueryui.com/{plugin}-effect/", dependencies: [ "effect" ], file: "ui.effect-{plugin}" @@ -43,7 +42,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( manifest = { name: replace( baseManifest.name ), - title: replace( baseManifest.title ), + title: data.title || replace( baseManifest.title ), description: data.description, keywords: [ "ui", plugin ] .concat( baseManifest.keywords || [] ) -- cgit v1.2.3 From 10984c012ff541c9bb70f01f366f0fde26fa0d83 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 6 Jul 2012 12:47:44 -0400 Subject: Accidentally removed licenses. --- build/tasks/build.js | 1 + 1 file changed, 1 insertion(+) (limited to 'build/tasks/build.js') diff --git a/build/tasks/build.js b/build/tasks/build.js index 5f9d33fec..dc1b5e5bb 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -50,6 +50,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( version: pkg.version, author: pkg.author, maintainers: pkg.maintainers, + licenses: pkg.licenses, bugs: pkg.bugs, homepage: data.homepage || replace( baseManifest.homepage || "http://jqueryui.com/{plugin}/" ), -- cgit v1.2.3 From 83ec5e2077cffdea1ed9ff1e68b519baf320d6f0 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 9 Jul 2012 10:19:17 -0400 Subject: Let's not pretend that manifest names are configurable... --- build/tasks/build.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build/tasks/build.js') diff --git a/build/tasks/build.js b/build/tasks/build.js index dc1b5e5bb..5dff38f6a 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -22,8 +22,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( homepage: "http://jqueryui.com/{plugin}-effect/", demo: "http://jqueryui.com/{plugin}-effect/", docs: "http://api.jqueryui.com/{plugin}-effect/", - dependencies: [ "effect" ], - file: "ui.effect-{plugin}" + dependencies: [ "effect" ] } }; @@ -70,7 +69,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( manifest.dependencies[ "ui." + dependency ] = pkg.version; }); - grunt.file.write( replace( baseManifest.file || "ui.{plugin}" ) + ".jquery.json", + grunt.file.write( manifest.name + ".jquery.json", JSON.stringify( manifest, null, "\t" ) ); }); }); -- cgit v1.2.3 From cd82b335a8d6029481383b3da3d920f0658acaf0 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Mon, 16 Jul 2012 14:08:10 +0200 Subject: Manifest: Add category field --- build/core.json | 4 +++- build/tasks/build.js | 10 +++++++--- build/widgets.json | 3 ++- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'build/tasks/build.js') diff --git a/build/core.json b/build/core.json index 5273ebf7a..aac41f7aa 100644 --- a/build/core.json +++ b/build/core.json @@ -13,7 +13,8 @@ "calendar", "date", "i18n" - ] + ], + "category": "widget" }, "effect": { "title": "jQuery UI Effects Core", @@ -27,6 +28,7 @@ "transition", "easing" ], + "category": "effect", "homepage": "http://jqueryui.com/", "demo": "http://jqueryui.com/", "docs": "http://api.jqueryui.com/category/effects-core" diff --git a/build/tasks/build.js b/build/tasks/build.js index 5dff38f6a..d1211f60b 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -8,12 +8,14 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( base = { core: { name: "ui.{plugin}", - title: "jQuery UI {Plugin}" + title: "jQuery UI {Plugin}", + category: "core" }, widgets: { name: "ui.{plugin}", title: "jQuery UI {Plugin}", - dependencies: [ "core", "widget" ] + dependencies: [ "core", "widget" ], + category: "widget" }, effects: { name: "ui.effect-{plugin}", @@ -22,7 +24,8 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( homepage: "http://jqueryui.com/{plugin}-effect/", demo: "http://jqueryui.com/{plugin}-effect/", docs: "http://api.jqueryui.com/{plugin}-effect/", - dependencies: [ "effect" ] + dependencies: [ "effect" ], + category: "effect" } }; @@ -46,6 +49,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( keywords: [ "ui", plugin ] .concat( baseManifest.keywords || [] ) .concat( data.keywords || [] ), + category: data.category || baseManifest.category, version: pkg.version, author: pkg.author, maintainers: pkg.maintainers, diff --git a/build/widgets.json b/build/widgets.json index b518e6d0b..9c70726ea 100644 --- a/build/widgets.json +++ b/build/widgets.json @@ -66,7 +66,8 @@ "description": "Abstracts mouse-based interactions to assist in creating certain widgets.", "keywords": [ "abstraction" - ] + ], + "category": "core" }, "progressbar": { "dependencies": [], -- cgit v1.2.3 From ac44afe4e864aec8e420d7f9ba806be45be1e833 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 16 Jul 2012 08:50:00 -0400 Subject: Manifest: Use existing data structure to infer categorization. --- build/effect.json | 41 ++++++++++++++++ build/effects.json | 41 ---------------- build/tasks/build.js | 18 +++---- build/widget.json | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++ build/widgets.json | 136 --------------------------------------------------- 5 files changed, 185 insertions(+), 187 deletions(-) create mode 100644 build/effect.json delete mode 100644 build/effects.json create mode 100644 build/widget.json delete mode 100644 build/widgets.json (limited to 'build/tasks/build.js') diff --git a/build/effect.json b/build/effect.json new file mode 100644 index 000000000..b35bbb371 --- /dev/null +++ b/build/effect.json @@ -0,0 +1,41 @@ +{ + "blind": { + "description": "Blinds the element." + }, + "bounce": { + "description": "Bounces an element horizontally or vertically n times." + }, + "clip": { + "description": "Clips the element on and off like an old TV." + }, + "drop": { + "description": "Moves an element in one direction and hides it at the same time." + }, + "explode": { + "description": "Explodes an element in all directions into n pieces. Implodes an element to its original wholeness." + }, + "fade": { + "description": "Fades an element." + }, + "fold": { + "description": "Folds an element first horizontally and then vertically." + }, + "highlight": { + "description": "Highlights the background of an element in a defined color for a custom duration." + }, + "pulsate": { + "description": "Pulsates an element n times by changing the opacity to zero and back." + }, + "scale": { + "description": "Grows or shrinks an element and its content. Restores an elemnt to its original size." + }, + "shake": { + "description": "Shakes an element horizontally or vertically n times." + }, + "slide": { + "description": "Slides an element in and out of the viewport." + }, + "transfer": { + "description": "Displays a transfer effect from one element to another." + } +} diff --git a/build/effects.json b/build/effects.json deleted file mode 100644 index b35bbb371..000000000 --- a/build/effects.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "blind": { - "description": "Blinds the element." - }, - "bounce": { - "description": "Bounces an element horizontally or vertically n times." - }, - "clip": { - "description": "Clips the element on and off like an old TV." - }, - "drop": { - "description": "Moves an element in one direction and hides it at the same time." - }, - "explode": { - "description": "Explodes an element in all directions into n pieces. Implodes an element to its original wholeness." - }, - "fade": { - "description": "Fades an element." - }, - "fold": { - "description": "Folds an element first horizontally and then vertically." - }, - "highlight": { - "description": "Highlights the background of an element in a defined color for a custom duration." - }, - "pulsate": { - "description": "Pulsates an element n times by changing the opacity to zero and back." - }, - "scale": { - "description": "Grows or shrinks an element and its content. Restores an elemnt to its original size." - }, - "shake": { - "description": "Shakes an element horizontally or vertically n times." - }, - "slide": { - "description": "Slides an element in and out of the viewport." - }, - "transfer": { - "description": "Displays a transfer effect from one element to another." - } -} diff --git a/build/tasks/build.js b/build/tasks/build.js index d1211f60b..1e1795230 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -8,24 +8,21 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( base = { core: { name: "ui.{plugin}", - title: "jQuery UI {Plugin}", - category: "core" + title: "jQuery UI {Plugin}" }, - widgets: { + widget: { name: "ui.{plugin}", title: "jQuery UI {Plugin}", - dependencies: [ "core", "widget" ], - category: "widget" + dependencies: [ "core", "widget" ] }, - effects: { + effect: { name: "ui.effect-{plugin}", title: "jQuery UI {Plugin} Effect", keywords: [ "effect", "show", "hide" ], homepage: "http://jqueryui.com/{plugin}-effect/", demo: "http://jqueryui.com/{plugin}-effect/", docs: "http://api.jqueryui.com/{plugin}-effect/", - dependencies: [ "effect" ], - category: "effect" + dependencies: [ "effect" ] } }; @@ -49,7 +46,6 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( keywords: [ "ui", plugin ] .concat( baseManifest.keywords || [] ) .concat( data.keywords || [] ), - category: data.category || baseManifest.category, version: pkg.version, author: pkg.author, maintainers: pkg.maintainers, @@ -64,7 +60,9 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( download: "http://jqueryui.com/download/", dependencies: { jquery: ">=1.6" - } + }, + // custom + category: data.category || type }; (baseManifest.dependencies || []) diff --git a/build/widget.json b/build/widget.json new file mode 100644 index 000000000..12993e828 --- /dev/null +++ b/build/widget.json @@ -0,0 +1,136 @@ +{ + "accordion": { + "dependencies": [], + "description": "Displays collapsible content panels for presenting information in a limited amount of space.", + "keywords": [ + "navigation", + "panel", + "collapse", + "expand" + ] + }, + "autocomplete": { + "dependencies": [ "menu", "position" ], + "description": "Lists suggested words as the user is typing.", + "keywords": [ + "form", + "word", + "predict", + "suggest" + ] + }, + "button": { + "dependencies": [], + "description": "Enhances a form with themable buttons.", + "keywords": [ + "form", + "radio", + "checkbox" + ] + }, + "dialog": { + "dependencies": [ "button", "draggable", "position", "resizable" ], + "description": "Displays customizable dialog windows.", + "keywords": [ + "modal", + "alert", + "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.", + "keywords": [ + "dropdown", + "flyout" + ] + }, + "mouse": { + "dependencies": [], + "description": "Abstracts mouse-based interactions to assist in creating certain widgets.", + "keywords": [ + "abstraction" + ], + "category": "core" + }, + "progressbar": { + "dependencies": [], + "description": "Displays a status indicator for loading state, standard percentage, and other progress indicators.", + "keywords": [ + "determinate", + "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.", + "keywords": [ + "form", + "number", + "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.", + "keywords": [ + "form", + "number", + "spinbutton", + "stepper" + ] + }, + "tabs": { + "dependencies": [], + "description": "Transforms a set of container elements into a tab structure.", + "keywords": [ + "navigation", + "panel", + "collapse", + "expand" + ] + }, + "tooltip": { + "dependencies": [ "position" ], + "description": "Shows additional information for any element on hover or focus.", + "keywords": [] + } +} diff --git a/build/widgets.json b/build/widgets.json deleted file mode 100644 index 12993e828..000000000 --- a/build/widgets.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "accordion": { - "dependencies": [], - "description": "Displays collapsible content panels for presenting information in a limited amount of space.", - "keywords": [ - "navigation", - "panel", - "collapse", - "expand" - ] - }, - "autocomplete": { - "dependencies": [ "menu", "position" ], - "description": "Lists suggested words as the user is typing.", - "keywords": [ - "form", - "word", - "predict", - "suggest" - ] - }, - "button": { - "dependencies": [], - "description": "Enhances a form with themable buttons.", - "keywords": [ - "form", - "radio", - "checkbox" - ] - }, - "dialog": { - "dependencies": [ "button", "draggable", "position", "resizable" ], - "description": "Displays customizable dialog windows.", - "keywords": [ - "modal", - "alert", - "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.", - "keywords": [ - "dropdown", - "flyout" - ] - }, - "mouse": { - "dependencies": [], - "description": "Abstracts mouse-based interactions to assist in creating certain widgets.", - "keywords": [ - "abstraction" - ], - "category": "core" - }, - "progressbar": { - "dependencies": [], - "description": "Displays a status indicator for loading state, standard percentage, and other progress indicators.", - "keywords": [ - "determinate", - "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.", - "keywords": [ - "form", - "number", - "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.", - "keywords": [ - "form", - "number", - "spinbutton", - "stepper" - ] - }, - "tabs": { - "dependencies": [], - "description": "Transforms a set of container elements into a tab structure.", - "keywords": [ - "navigation", - "panel", - "collapse", - "expand" - ] - }, - "tooltip": { - "dependencies": [ "position" ], - "description": "Shows additional information for any element on hover or focus.", - "keywords": [] - } -} -- cgit v1.2.3 From 58a199370ed33e71257e863897e29c36fc593316 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 16 Jul 2012 08:53:34 -0400 Subject: 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 (limited to 'build/tasks/build.js') 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.", -- cgit v1.2.3 From c484bc093bf69c23aed79cb951c8898aaec8331f Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 16 Jul 2012 15:14:42 -0400 Subject: Manifest: Move transfer effect to core.json since it's not like other effects (no show/hide). --- build/core.json | 13 +++++++++++++ build/effect.json | 3 --- build/tasks/build.js | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) (limited to 'build/tasks/build.js') diff --git a/build/core.json b/build/core.json index aac41f7aa..b0ccdfe7a 100644 --- a/build/core.json +++ b/build/core.json @@ -43,6 +43,19 @@ "collision" ] }, + "transfer": { + "name": "ui.effect-transfer", + "title": "jQuery UI Transfer Effect", + "description": "Displays a transfer effect from one element to another.", + "keywords": [ + "effect" + ], + "homepage": "http://jqueryui.com/transfer-effect/", + "demo": "http://jqueryui.com/transfer-effect/", + "docs": "http://api.jqueryui.com/transfer-effect/", + "dependencies": [ "effect" ], + "category": "effect" + }, "widget": { "description": "Provides a factory for creating stateful widgets with a common API.", "keywords": [ diff --git a/build/effect.json b/build/effect.json index b35bbb371..7119f85bc 100644 --- a/build/effect.json +++ b/build/effect.json @@ -34,8 +34,5 @@ }, "slide": { "description": "Slides an element in and out of the viewport." - }, - "transfer": { - "description": "Displays a transfer effect from one element to another." } } diff --git a/build/tasks/build.js b/build/tasks/build.js index cc663309b..9608bdfff 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -45,7 +45,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( } manifest = { - name: replace( baseManifest.name ), + name: data.name || replace( baseManifest.name ), title: data.title || replace( baseManifest.title ), description: data.description, keywords: [ "ui", plugin ] -- cgit v1.2.3 From 99c4dde13059ee8ba6cd4ea18ec121a631896496 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 16 Jul 2012 15:29:13 -0400 Subject: Manifests: Update URLs for core files. --- build/core.json | 6 +++--- build/tasks/build.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'build/tasks/build.js') diff --git a/build/core.json b/build/core.json index b0ccdfe7a..deeb2e118 100644 --- a/build/core.json +++ b/build/core.json @@ -3,7 +3,7 @@ "description": "The core of jQuery UI, required for all interactions and widgets.", "homepage": "http://jqueryui.com/", "demo": "http://jqueryui.com/", - "docs": "http://api.jqueryui.com/category/ui-core" + "docs": "http://api.jqueryui.com/category/ui-core/" }, "datepicker": { "description": "Displays a calendar from an input or inline for selecting dates.", @@ -30,8 +30,8 @@ ], "category": "effect", "homepage": "http://jqueryui.com/", - "demo": "http://jqueryui.com/", - "docs": "http://api.jqueryui.com/category/effects-core" + "demo": "http://jqueryui.com/effects/", + "docs": "http://api.jqueryui.com/category/effects-core/" }, "position": { "description": "Positions elements relative to other elements.", diff --git a/build/tasks/build.js b/build/tasks/build.js index 9608bdfff..b746ad712 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -4,7 +4,6 @@ var path = require( "path" ); grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() { var pkg = grunt.config( "pkg" ), - // TODO: URLs for UI core and effects core base = { core: { name: "ui.{plugin}", -- cgit v1.2.3