From fcd1c98d8444550a0c9d457eeea696f762c144b1 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Tue, 2 Sep 2014 19:39:49 +0200 Subject: [PATCH 01/29] Selectmenu: Add documentation for _renderButtonItem() extension point Closes gh-226 --- entries/selectmenu.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/entries/selectmenu.xml b/entries/selectmenu.xml index 95f2903b..83b7b60f 100644 --- a/entries/selectmenu.xml +++ b/entries/selectmenu.xml @@ -203,6 +203,46 @@ _renderMenu: function( ul, items ) { _resizeMenu: function() { this.menu.outerWidth( 500 ); } +]]> + + + + +

Method that controls the creation of the generated button content. The method must create and return a new element.

+
+ + + Whether the item is disabled. + + + A reference to the item's original <option> element. + + + The numeric index of the item. + + + The string to display for the item. + + + If the item is within an <optgroup>, this is set to that <optgroup>'s label. + + + The value attribute of the item's original <option>. + + + + Style the button background color based on the value of the selected option. +
From 1a0b17d3a64bb5f9348e8c3b70c23a380c19660a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Mon, 12 Jan 2015 18:43:18 +0100 Subject: [PATCH 02/29] Tooltip: Document extended content option --- entries/tooltip.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entries/tooltip.xml b/entries/tooltip.xml index 50335b89..eeefa6c3 100644 --- a/entries/tooltip.xml +++ b/entries/tooltip.xml @@ -59,6 +59,12 @@ A string of HTML to use for the tooltip content. + + A DOM element to use for the tooltip content. + + + A jQuery object to use for the tooltip content. + From 733dc92f988ba9026714d8e82af9f4bafa8e4af0 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Fri, 7 Nov 2014 09:19:29 -0500 Subject: [PATCH 03/29] Menu: Document the new wrapper requirement Fixes gh-234 Closes gh-239 --- entries/menu.xml | 91 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 64 insertions(+), 27 deletions(-) diff --git a/entries/menu.xml b/entries/menu.xml index 681b7354..b1ecd4cc 100644 --- a/entries/menu.xml +++ b/entries/menu.xml @@ -5,23 +5,36 @@ Themeable menu with mouse and keyboard interactions for navigation. -

A menu can be created from any valid markup as long as the elements have a strict parent/child relationship. The most commonly used element is the unordered list (<ul>):

+

A menu can be created from any valid markup as long as the elements have a strict parent/child relationship. The most commonly used element is the unordered list (<ul>). Additionally, the contents of each menu item must be wrapped with a block-level DOM element. In the example below <div> elements are used as wrappers:

@@ -35,20 +48,26 @@

Menu automatically adds the necessary padding to items without icons.

Dividers

-

Divider elements can be created by including unlinked menu items that contain only spaces and/or dashes:

+

Divider elements can be created by including menu items that contain only spaces and/or dashes:

@@ -76,7 +95,12 @@
  • ui-menu-item: The container for individual menu items.
      -
    • ui-menu-icon: The submenu icons set via the icons option.
    • +
    • + ui-menu-item-wrapper: The wrapper element inside each individual menu item. +
        +
      • ui-menu-icon: The submenu icons set via the icons option.
      • +
      +
  • ui-menu-divider: Divider elements between menu items.
  • @@ -167,7 +191,7 @@ - Activates a particular menu item, begins opening any sub-menu if present and triggers the menu's focus event. + Activates the given menu item and triggers the menu's focus event. Opens the menu item's sub-menu, if one exists. What triggered the menu item to gain focus. @@ -318,19 +342,32 @@ $( "#menu" ).menu(); ]]> From 744117301e1f3d0a73ab19e8a264e33aec6c2edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 23 Feb 2015 20:06:13 -0500 Subject: [PATCH 04/29] Effects: Clean up queue wording since we don't support jQuery <1.7 Fixes gh-141 Closes gh-249 --- includes/animation-signature-options.xml | 2 +- includes/class-animation-argument-options.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/animation-signature-options.xml b/includes/animation-signature-options.xml index 88859783..90d54795 100644 --- a/includes/animation-signature-options.xml +++ b/includes/animation-signature-options.xml @@ -23,7 +23,7 @@ - A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. + A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. A string can also be provided, in which case the animation is added to the queue represented by that string. diff --git a/includes/class-animation-argument-options.xml b/includes/class-animation-argument-options.xml index ca0da0ee..a3cb3926 100644 --- a/includes/class-animation-argument-options.xml +++ b/includes/class-animation-argument-options.xml @@ -22,6 +22,6 @@ - A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. + A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. A string can also be provided, in which case the animation is added to the queue represented by that string. From 2ffda1eaea13f460541129d0925848386a6a3c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 23 Feb 2015 20:26:04 -0500 Subject: [PATCH 05/29] Interactions: distance and delay options are deprecated Fixes gh-238 Closes gh-250 --- entries/draggable.xml | 2 ++ entries/mouse.xml | 2 ++ entries/resizable.xml | 2 ++ entries/selectable.xml | 2 ++ entries/sortable.xml | 2 ++ 5 files changed, 10 insertions(+) diff --git a/entries/draggable.xml b/entries/draggable.xml index 445e6a12..324f82e4 100644 --- a/entries/draggable.xml +++ b/entries/draggable.xml @@ -66,10 +66,12 @@ Sets the offset of the dragging helper relative to the mouse cursor. Coordinates can be given as a hash using a combination of one or two keys: { top, left, right, bottom }. diff --git a/entries/resizable.xml b/entries/resizable.xml index 4c4f1662..e5f62565 100644 --- a/entries/resizable.xml +++ b/entries/resizable.xml @@ -64,10 +64,12 @@ + @@ -108,7 +122,11 @@ -