jquery-ui-rails 6.0.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +5 -5
  2. data/.gitmodules +1 -1
  3. data/History.md +7 -2
  4. data/README.md +12 -12
  5. data/Rakefile +8 -3
  6. data/VERSIONS.md +1 -0
  7. data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
  8. data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
  9. data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
  10. data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
  11. data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
  12. data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
  13. data/app/assets/javascripts/jquery-ui/core.js +1 -1
  14. data/app/assets/javascripts/jquery-ui/data.js +8 -4
  15. data/app/assets/javascripts/jquery-ui/disable-selection.js +6 -3
  16. data/app/assets/javascripts/jquery-ui/effect.js +55 -717
  17. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +6 -3
  18. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +6 -3
  19. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +6 -3
  20. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +6 -3
  21. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +8 -5
  22. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +6 -3
  23. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +6 -3
  24. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +6 -3
  25. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +6 -3
  26. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +6 -3
  27. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +6 -3
  28. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +6 -3
  29. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +8 -3
  30. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +6 -3
  31. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +6 -3
  32. data/app/assets/javascripts/jquery-ui/focusable.js +8 -5
  33. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +7 -4
  34. data/app/assets/javascripts/jquery-ui/form.js +6 -3
  35. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +8 -5
  36. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +6 -3
  37. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +5 -2
  38. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +12 -9
  39. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +12 -9
  40. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +12 -9
  41. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +12 -9
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +12 -9
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +10 -7
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +8 -5
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +13 -10
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +12 -9
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +12 -9
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +8 -5
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +8 -5
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +8 -5
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +12 -9
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +12 -9
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +8 -5
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +12 -9
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +6 -3
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +12 -9
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +11 -8
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +5 -2
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +5 -2
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +6 -3
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +12 -9
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +12 -9
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +7 -4
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +12 -9
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +9 -6
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +12 -9
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +12 -9
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +11 -8
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +12 -9
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +12 -9
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +12 -9
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +9 -6
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +12 -9
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +9 -6
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +12 -9
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +10 -7
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +8 -5
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +11 -8
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +11 -8
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +12 -9
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +8 -5
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +12 -9
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +9 -6
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +5 -2
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +5 -2
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +9 -6
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +9 -6
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +12 -9
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +11 -8
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +12 -9
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +8 -5
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +8 -5
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +12 -9
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +12 -9
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +12 -9
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +12 -9
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +12 -9
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +12 -9
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +12 -9
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +10 -7
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +12 -9
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +12 -9
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +12 -9
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +12 -9
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +5 -2
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +12 -9
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +12 -9
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +15 -12
  110. data/app/assets/javascripts/jquery-ui/ie.js +5 -2
  111. data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
  112. data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
  113. data/app/assets/javascripts/jquery-ui/keycode.js +7 -3
  114. data/app/assets/javascripts/jquery-ui/labels.js +12 -6
  115. data/app/assets/javascripts/jquery-ui/plugin.js +5 -2
  116. data/app/assets/javascripts/jquery-ui/position.js +24 -11
  117. data/app/assets/javascripts/jquery-ui/safe-active-element.js +6 -2
  118. data/app/assets/javascripts/jquery-ui/safe-blur.js +6 -2
  119. data/app/assets/javascripts/jquery-ui/scroll-parent.js +6 -3
  120. data/app/assets/javascripts/jquery-ui/tabbable.js +7 -4
  121. data/app/assets/javascripts/jquery-ui/unique-id.js +6 -3
  122. data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
  123. data/app/assets/javascripts/jquery-ui/version.js +6 -3
  124. data/app/assets/javascripts/jquery-ui/widget.js +43 -24
  125. data/app/assets/javascripts/jquery-ui/widgets/accordion.js +17 -8
  126. data/app/assets/javascripts/jquery-ui/widgets/autocomplete.js +23 -32
  127. data/app/assets/javascripts/jquery-ui/widgets/button.js +82 -19
  128. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +9 -11
  129. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +10 -6
  130. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +176 -56
  131. data/app/assets/javascripts/jquery-ui/widgets/dialog.js +45 -31
  132. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +22 -13
  133. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +19 -13
  134. data/app/assets/javascripts/jquery-ui/widgets/menu.js +83 -43
  135. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +18 -7
  136. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +9 -6
  137. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +36 -18
  138. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +13 -6
  139. data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +15 -10
  140. data/app/assets/javascripts/jquery-ui/widgets/slider.js +10 -7
  141. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +221 -159
  142. data/app/assets/javascripts/jquery-ui/widgets/spinner.js +20 -13
  143. data/app/assets/javascripts/jquery-ui/widgets/tabs.js +13 -13
  144. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +15 -11
  145. data/app/assets/javascripts/jquery-ui.js +3 -2
  146. data/app/assets/stylesheets/jquery-ui/accordion.css +1 -1
  147. data/app/assets/stylesheets/jquery-ui/all.css +1 -1
  148. data/app/assets/stylesheets/jquery-ui/autocomplete.css +1 -1
  149. data/app/assets/stylesheets/jquery-ui/base.css +1 -1
  150. data/app/assets/stylesheets/jquery-ui/button.css +1 -1
  151. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +1 -1
  152. data/app/assets/stylesheets/jquery-ui/controlgroup.css +1 -1
  153. data/app/assets/stylesheets/jquery-ui/core.css +2 -2
  154. data/app/assets/stylesheets/jquery-ui/datepicker.css +1 -1
  155. data/app/assets/stylesheets/jquery-ui/dialog.css +1 -1
  156. data/app/assets/stylesheets/jquery-ui/draggable.css +1 -1
  157. data/app/assets/stylesheets/jquery-ui/menu.css +1 -1
  158. data/app/assets/stylesheets/jquery-ui/progressbar.css +2 -2
  159. data/app/assets/stylesheets/jquery-ui/resizable.css +1 -1
  160. data/app/assets/stylesheets/jquery-ui/selectable.css +1 -1
  161. data/app/assets/stylesheets/jquery-ui/selectmenu.css +1 -1
  162. data/app/assets/stylesheets/jquery-ui/slider.css +2 -2
  163. data/app/assets/stylesheets/jquery-ui/sortable.css +1 -1
  164. data/app/assets/stylesheets/jquery-ui/spinner.css +1 -1
  165. data/app/assets/stylesheets/jquery-ui/tabs.css +1 -1
  166. data/app/assets/stylesheets/jquery-ui/theme.css.erb +9 -6
  167. data/app/assets/stylesheets/jquery-ui/tooltip.css +1 -1
  168. data/lib/jquery/ui/rails/version.rb +2 -2
  169. metadata +8 -7
  170. data/app/assets/javascripts/jquery-ui/escape-selector.js +0 -23
  171. data/app/assets/javascripts/jquery-ui/jquery-1-7.js +0 -91
@@ -5,7 +5,7 @@
5
5
  //= require jquery-ui/widget
6
6
 
7
7
  /*!
8
- * jQuery UI Spinner 1.12.1
8
+ * jQuery UI Spinner 1.13.0
9
9
  * http://jqueryui.com
10
10
  *
11
11
  * Copyright jQuery Foundation and other contributors
@@ -23,6 +23,8 @@
23
23
  //>>css.theme: ../../themes/base/theme.css
24
24
 
25
25
  ( function( factory ) {
26
+ "use strict";
27
+
26
28
  if ( typeof define === "function" && define.amd ) {
27
29
 
28
30
  // AMD. Register as an anonymous module.
@@ -39,9 +41,10 @@
39
41
  // Browser globals
40
42
  factory( jQuery );
41
43
  }
42
- }( function( $ ) {
44
+ } )( function( $ ) {
45
+ "use strict";
43
46
 
44
- function spinnerModifer( fn ) {
47
+ function spinnerModifier( fn ) {
45
48
  return function() {
46
49
  var previous = this.element.val();
47
50
  fn.apply( this, arguments );
@@ -53,7 +56,7 @@ function spinnerModifer( fn ) {
53
56
  }
54
57
 
55
58
  $.widget( "ui.spinner", {
56
- version: "1.12.1",
59
+ version: "1.13.0",
57
60
  defaultElement: "<input>",
58
61
  widgetEventPrefix: "spin",
59
62
  options: {
@@ -146,9 +149,13 @@ $.widget( "ui.spinner", {
146
149
  }
147
150
  },
148
151
  mousewheel: function( event, delta ) {
149
- if ( !delta ) {
152
+ var activeElement = $.ui.safeActiveElement( this.document[ 0 ] );
153
+ var isActive = this.element[ 0 ] === activeElement;
154
+
155
+ if ( !isActive || !delta ) {
150
156
  return;
151
157
  }
158
+
152
159
  if ( !this.spinning && !this._start( event ) ) {
153
160
  return false;
154
161
  }
@@ -346,7 +353,7 @@ $.widget( "ui.spinner", {
346
353
  var incremental = this.options.incremental;
347
354
 
348
355
  if ( incremental ) {
349
- return $.isFunction( incremental ) ?
356
+ return typeof incremental === "function" ?
350
357
  incremental( i ) :
351
358
  Math.floor( i * i * i / 50000 - i * i / 500 + 17 * i / 200 + 1 );
352
359
  }
@@ -444,7 +451,7 @@ $.widget( "ui.spinner", {
444
451
  this.buttons.button( value ? "disable" : "enable" );
445
452
  },
446
453
 
447
- _setOptions: spinnerModifer( function( options ) {
454
+ _setOptions: spinnerModifier( function( options ) {
448
455
  this._super( options );
449
456
  } ),
450
457
 
@@ -511,7 +518,7 @@ $.widget( "ui.spinner", {
511
518
  this.uiSpinner.replaceWith( this.element );
512
519
  },
513
520
 
514
- stepUp: spinnerModifer( function( steps ) {
521
+ stepUp: spinnerModifier( function( steps ) {
515
522
  this._stepUp( steps );
516
523
  } ),
517
524
  _stepUp: function( steps ) {
@@ -521,7 +528,7 @@ $.widget( "ui.spinner", {
521
528
  }
522
529
  },
523
530
 
524
- stepDown: spinnerModifer( function( steps ) {
531
+ stepDown: spinnerModifier( function( steps ) {
525
532
  this._stepDown( steps );
526
533
  } ),
527
534
  _stepDown: function( steps ) {
@@ -531,11 +538,11 @@ $.widget( "ui.spinner", {
531
538
  }
532
539
  },
533
540
 
534
- pageUp: spinnerModifer( function( pages ) {
541
+ pageUp: spinnerModifier( function( pages ) {
535
542
  this._stepUp( ( pages || 1 ) * this.options.page );
536
543
  } ),
537
544
 
538
- pageDown: spinnerModifer( function( pages ) {
545
+ pageDown: spinnerModifier( function( pages ) {
539
546
  this._stepDown( ( pages || 1 ) * this.options.page );
540
547
  } ),
541
548
 
@@ -543,7 +550,7 @@ $.widget( "ui.spinner", {
543
550
  if ( !arguments.length ) {
544
551
  return this._parse( this.element.val() );
545
552
  }
546
- spinnerModifer( this._value ).call( this, newVal );
553
+ spinnerModifier( this._value ).call( this, newVal );
547
554
  },
548
555
 
549
556
  widget: function() {
@@ -578,4 +585,4 @@ if ( $.uiBackCompat !== false ) {
578
585
 
579
586
  return $.ui.spinner;
580
587
 
581
- } ) );
588
+ } );
@@ -1,4 +1,3 @@
1
- //= require jquery-ui/escape-selector
2
1
  //= require jquery-ui/keycode
3
2
  //= require jquery-ui/safe-active-element
4
3
  //= require jquery-ui/unique-id
@@ -6,7 +5,7 @@
6
5
  //= require jquery-ui/widget
7
6
 
8
7
  /*!
9
- * jQuery UI Tabs 1.12.1
8
+ * jQuery UI Tabs 1.13.0
10
9
  * http://jqueryui.com
11
10
  *
12
11
  * Copyright jQuery Foundation and other contributors
@@ -24,12 +23,13 @@
24
23
  //>>css.theme: ../../themes/base/theme.css
25
24
 
26
25
  ( function( factory ) {
26
+ "use strict";
27
+
27
28
  if ( typeof define === "function" && define.amd ) {
28
29
 
29
30
  // AMD. Register as an anonymous module.
30
31
  define( [
31
32
  "jquery",
32
- "../escape-selector",
33
33
  "../keycode",
34
34
  "../safe-active-element",
35
35
  "../unique-id",
@@ -41,10 +41,11 @@
41
41
  // Browser globals
42
42
  factory( jQuery );
43
43
  }
44
- }( function( $ ) {
44
+ } )( function( $ ) {
45
+ "use strict";
45
46
 
46
47
  $.widget( "ui.tabs", {
47
- version: "1.12.1",
48
+ version: "1.13.0",
48
49
  delay: 300,
49
50
  options: {
50
51
  active: null,
@@ -102,8 +103,8 @@ $.widget( "ui.tabs", {
102
103
 
103
104
  // Take disabling tabs via class attribute from HTML
104
105
  // into account and update option properly.
105
- if ( $.isArray( options.disabled ) ) {
106
- options.disabled = $.unique( options.disabled.concat(
106
+ if ( Array.isArray( options.disabled ) ) {
107
+ options.disabled = $.uniqueSort( options.disabled.concat(
107
108
  $.map( this.tabs.filter( ".ui-state-disabled" ), function( li ) {
108
109
  return that.tabs.index( li );
109
110
  } )
@@ -438,7 +439,6 @@ $.widget( "ui.tabs", {
438
439
  return $( "a", this )[ 0 ];
439
440
  } )
440
441
  .attr( {
441
- role: "presentation",
442
442
  tabIndex: -1
443
443
  } );
444
444
  this._addClass( this.anchors, "ui-tabs-anchor" );
@@ -510,7 +510,7 @@ $.widget( "ui.tabs", {
510
510
  _setOptionDisabled: function( disabled ) {
511
511
  var currentItem, li, i;
512
512
 
513
- if ( $.isArray( disabled ) ) {
513
+ if ( Array.isArray( disabled ) ) {
514
514
  if ( !disabled.length ) {
515
515
  disabled = false;
516
516
  } else if ( disabled.length === this.anchors.length ) {
@@ -741,7 +741,7 @@ $.widget( "ui.tabs", {
741
741
  // meta-function to give users option to provide a href string instead of a numerical index.
742
742
  if ( typeof index === "string" ) {
743
743
  index = this.anchors.index( this.anchors.filter( "[href$='" +
744
- $.ui.escapeSelector( index ) + "']" ) );
744
+ $.escapeSelector( index ) + "']" ) );
745
745
  }
746
746
 
747
747
  return index;
@@ -798,7 +798,7 @@ $.widget( "ui.tabs", {
798
798
  disabled = false;
799
799
  } else {
800
800
  index = this._getIndex( index );
801
- if ( $.isArray( disabled ) ) {
801
+ if ( Array.isArray( disabled ) ) {
802
802
  disabled = $.map( disabled, function( num ) {
803
803
  return num !== index ? num : null;
804
804
  } );
@@ -824,7 +824,7 @@ $.widget( "ui.tabs", {
824
824
  if ( $.inArray( index, disabled ) !== -1 ) {
825
825
  return;
826
826
  }
827
- if ( $.isArray( disabled ) ) {
827
+ if ( Array.isArray( disabled ) ) {
828
828
  disabled = $.merge( [ index ], disabled ).sort();
829
829
  } else {
830
830
  disabled = [ index ];
@@ -928,4 +928,4 @@ if ( $.uiBackCompat !== false ) {
928
928
 
929
929
  return $.ui.tabs;
930
930
 
931
- } ) );
931
+ } );
@@ -5,7 +5,7 @@
5
5
  //= require jquery-ui/widget
6
6
 
7
7
  /*!
8
- * jQuery UI Tooltip 1.12.1
8
+ * jQuery UI Tooltip 1.13.0
9
9
  * http://jqueryui.com
10
10
  *
11
11
  * Copyright jQuery Foundation and other contributors
@@ -23,6 +23,8 @@
23
23
  //>>css.theme: ../../themes/base/theme.css
24
24
 
25
25
  ( function( factory ) {
26
+ "use strict";
27
+
26
28
  if ( typeof define === "function" && define.amd ) {
27
29
 
28
30
  // AMD. Register as an anonymous module.
@@ -39,19 +41,17 @@
39
41
  // Browser globals
40
42
  factory( jQuery );
41
43
  }
42
- }( function( $ ) {
44
+ } )( function( $ ) {
45
+ "use strict";
43
46
 
44
47
  $.widget( "ui.tooltip", {
45
- version: "1.12.1",
48
+ version: "1.13.0",
46
49
  options: {
47
50
  classes: {
48
51
  "ui-tooltip": "ui-corner-all ui-widget-shadow"
49
52
  },
50
53
  content: function() {
51
-
52
- // support: IE<9, Opera in jQuery <1.7
53
- // .text() can't accept undefined, so coerce to a string
54
- var title = $( this ).attr( "title" ) || "";
54
+ var title = $( this ).attr( "title" );
55
55
 
56
56
  // Escape title, since we're going from an attribute to raw HTML
57
57
  return $( "<a>" ).text( title ).html();
@@ -78,7 +78,7 @@ $.widget( "ui.tooltip", {
78
78
  describedby.push( id );
79
79
  elem
80
80
  .data( "ui-tooltip-id", id )
81
- .attr( "aria-describedby", $.trim( describedby.join( " " ) ) );
81
+ .attr( "aria-describedby", String.prototype.trim.call( describedby.join( " " ) ) );
82
82
  },
83
83
 
84
84
  _removeDescribedBy: function( elem ) {
@@ -91,7 +91,7 @@ $.widget( "ui.tooltip", {
91
91
  }
92
92
 
93
93
  elem.removeData( "ui-tooltip-id" );
94
- describedby = $.trim( describedby.join( " " ) );
94
+ describedby = String.prototype.trim.call( describedby.join( " " ) );
95
95
  if ( describedby ) {
96
96
  elem.attr( "aria-describedby", describedby );
97
97
  } else {
@@ -337,7 +337,7 @@ $.widget( "ui.tooltip", {
337
337
  position( positionOption.of );
338
338
  clearInterval( delayedShow );
339
339
  }
340
- }, $.fx.interval );
340
+ }, 13 );
341
341
  }
342
342
 
343
343
  this._trigger( "open", event, { tooltip: tooltip } );
@@ -458,6 +458,10 @@ $.widget( "ui.tooltip", {
458
458
  },
459
459
 
460
460
  _removeTooltip: function( tooltip ) {
461
+
462
+ // Clear the interval for delayed tracking tooltips
463
+ clearInterval( this.delayedShow );
464
+
461
465
  tooltip.remove();
462
466
  delete this.tooltips[ tooltip.attr( "id" ) ];
463
467
  },
@@ -523,4 +527,4 @@ if ( $.uiBackCompat !== false ) {
523
527
 
524
528
  return $.ui.tooltip;
525
529
 
526
- } ) );
530
+ } );
@@ -2,12 +2,12 @@
2
2
  //= require jquery-ui/data
3
3
  //= require jquery-ui/disable-selection
4
4
  //= require jquery-ui/effect
5
- //= require jquery-ui/escape-selector
6
5
  //= require jquery-ui/focusable
7
6
  //= require jquery-ui/form-reset-mixin
8
7
  //= require jquery-ui/form
9
8
  //= require jquery-ui/ie
10
- //= require jquery-ui/jquery-1-7
9
+ //= require jquery-ui/jquery-patch
10
+ //= require jquery-ui/jquery-var-for-color
11
11
  //= require jquery-ui/keycode
12
12
  //= require jquery-ui/labels
13
13
  //= require jquery-ui/plugin
@@ -54,3 +54,4 @@
54
54
  //= require jquery-ui/widgets/spinner
55
55
  //= require jquery-ui/widgets/tabs
56
56
  //= require jquery-ui/widgets/tooltip
57
+ //= require jquery-ui/vendor/jquery-color/jquery.color
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Accordion 1.12.1
2
+ * jQuery UI Accordion 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.12.1
2
+ * jQuery UI CSS Framework 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Autocomplete 1.12.1
2
+ * jQuery UI Autocomplete 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.12.1
2
+ * jQuery UI CSS Framework 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Button 1.12.1
2
+ * jQuery UI Button 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Checkboxradio 1.12.1
2
+ * jQuery UI Checkboxradio 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Controlgroup 1.12.1
2
+ * jQuery UI Controlgroup 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.12.1
2
+ * jQuery UI CSS Framework 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -53,7 +53,7 @@
53
53
  left: 0;
54
54
  position: absolute;
55
55
  opacity: 0;
56
- filter:Alpha(Opacity=0); /* support: IE8 */
56
+ -ms-filter: "alpha(opacity=0)"; /* support: IE8 */
57
57
  }
58
58
 
59
59
  .ui-front {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Datepicker 1.12.1
2
+ * jQuery UI Datepicker 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Dialog 1.12.1
2
+ * jQuery UI Dialog 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Draggable 1.12.1
2
+ * jQuery UI Draggable 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Menu 1.12.1
2
+ * jQuery UI Menu 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Progressbar 1.12.1
2
+ * jQuery UI Progressbar 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -23,7 +23,7 @@
23
23
  .ui-progressbar .ui-progressbar-overlay {
24
24
  background: url("data:image/gif;base64,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");
25
25
  height: 100%;
26
- filter: alpha(opacity=25); /* support: IE8 */
26
+ -ms-filter: "alpha(opacity=25)"; /* support: IE8 */
27
27
  opacity: 0.25;
28
28
  }
29
29
  .ui-progressbar-indeterminate .ui-progressbar-value {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Resizable 1.12.1
2
+ * jQuery UI Resizable 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Selectable 1.12.1
2
+ * jQuery UI Selectable 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Selectmenu 1.12.1
2
+ * jQuery UI Selectmenu 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Slider 1.12.1
2
+ * jQuery UI Slider 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -20,7 +20,7 @@
20
20
  z-index: 2;
21
21
  width: 1.2em;
22
22
  height: 1.2em;
23
- cursor: default;
23
+ cursor: pointer;
24
24
  -ms-touch-action: none;
25
25
  touch-action: none;
26
26
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Sortable 1.12.1
2
+ * jQuery UI Sortable 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Spinner 1.12.1
2
+ * jQuery UI Spinner 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Tabs 1.12.1
2
+ * jQuery UI Tabs 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.12.1
2
+ * jQuery UI CSS Framework 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -182,18 +182,18 @@ a.ui-button:active,
182
182
  .ui-widget-content .ui-priority-secondary,
183
183
  .ui-widget-header .ui-priority-secondary {
184
184
  opacity: .7;
185
- filter:Alpha(Opacity=70); /* support: IE8 */
185
+ -ms-filter: "alpha(opacity=70)"; /* support: IE8 */
186
186
  font-weight: normal;
187
187
  }
188
188
  .ui-state-disabled,
189
189
  .ui-widget-content .ui-state-disabled,
190
190
  .ui-widget-header .ui-state-disabled {
191
191
  opacity: .35;
192
- filter:Alpha(Opacity=35); /* support: IE8 */
192
+ -ms-filter: "alpha(opacity=35)"; /* support: IE8 */
193
193
  background-image: none;
194
194
  }
195
195
  .ui-state-disabled .ui-icon {
196
- filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
196
+ -ms-filter: "alpha(opacity=35)"; /* support: IE8 - See #6059 */
197
197
  }
198
198
 
199
199
  /* Icons
@@ -234,7 +234,10 @@ a.ui-button:active,
234
234
  }
235
235
 
236
236
  /* positioning */
237
- .ui-icon-blank { background-position: 16px 16px; }
237
+ /* Three classes needed to override `.ui-button:hover .ui-icon` */
238
+ .ui-icon-blank.ui-icon-blank.ui-icon-blank {
239
+ background-image: none;
240
+ }
238
241
  .ui-icon-caret-1-n { background-position: 0 0; }
239
242
  .ui-icon-caret-1-ne { background-position: -16px 0; }
240
243
  .ui-icon-caret-1-e { background-position: -32px 0; }
@@ -445,7 +448,7 @@ a.ui-button:active,
445
448
  .ui-widget-overlay {
446
449
  background: #aaaaaa/*{bgColorOverlay}*/ /*{bgImgUrlOverlay}*/ /*{bgOverlayXPos}*/ /*{bgOverlayYPos}*/ /*{bgOverlayRepeat}*/;
447
450
  opacity: .3/*{opacityOverlay}*/;
448
- filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */
451
+ -ms-filter: "alpha(opacity=30)"/*{opacityFilterOverlay}*/; /* support: IE8 */
449
452
  }
450
453
  .ui-widget-shadow {
451
454
  -webkit-box-shadow: 0/*{offsetLeftShadow}*/ 0/*{offsetTopShadow}*/ 5px/*{thicknessShadow}*/ #666666/*{bgColorShadow}*/;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Tooltip 1.12.1
2
+ * jQuery UI Tooltip 1.13.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright jQuery Foundation and other contributors
@@ -1,8 +1,8 @@
1
1
  module Jquery
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "6.0.1"
5
- JQUERY_UI_VERSION = "1.12.1"
4
+ VERSION = "7.0.0"
5
+ JQUERY_UI_VERSION = "1.13.0"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-ui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Liss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-01 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -83,7 +83,6 @@ files:
83
83
  - app/assets/javascripts/jquery-ui/effects/effect-size.js
84
84
  - app/assets/javascripts/jquery-ui/effects/effect-slide.js
85
85
  - app/assets/javascripts/jquery-ui/effects/effect-transfer.js
86
- - app/assets/javascripts/jquery-ui/escape-selector.js
87
86
  - app/assets/javascripts/jquery-ui/focusable.js
88
87
  - app/assets/javascripts/jquery-ui/form-reset-mixin.js
89
88
  - app/assets/javascripts/jquery-ui/form.js
@@ -98,6 +97,7 @@ files:
98
97
  - app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js
99
98
  - app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js
100
99
  - app/assets/javascripts/jquery-ui/i18n/datepicker-da.js
100
+ - app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js
101
101
  - app/assets/javascripts/jquery-ui/i18n/datepicker-de.js
102
102
  - app/assets/javascripts/jquery-ui/i18n/datepicker-el.js
103
103
  - app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js
@@ -162,7 +162,8 @@ files:
162
162
  - app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js
163
163
  - app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js
164
164
  - app/assets/javascripts/jquery-ui/ie.js
165
- - app/assets/javascripts/jquery-ui/jquery-1-7.js
165
+ - app/assets/javascripts/jquery-ui/jquery-patch.js
166
+ - app/assets/javascripts/jquery-ui/jquery-var-for-color.js
166
167
  - app/assets/javascripts/jquery-ui/keycode.js
167
168
  - app/assets/javascripts/jquery-ui/labels.js
168
169
  - app/assets/javascripts/jquery-ui/plugin.js
@@ -172,6 +173,7 @@ files:
172
173
  - app/assets/javascripts/jquery-ui/scroll-parent.js
173
174
  - app/assets/javascripts/jquery-ui/tabbable.js
174
175
  - app/assets/javascripts/jquery-ui/unique-id.js
176
+ - app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js
175
177
  - app/assets/javascripts/jquery-ui/version.js
176
178
  - app/assets/javascripts/jquery-ui/widget.js
177
179
  - app/assets/javascripts/jquery-ui/widgets/accordion.js
@@ -221,7 +223,7 @@ files:
221
223
  - lib/jquery/ui/rails.rb
222
224
  - lib/jquery/ui/rails/engine.rb
223
225
  - lib/jquery/ui/rails/version.rb
224
- homepage: https://github.com/joliss/jquery-ui-rails
226
+ homepage: https://github.com/jquery-ui-rails/jquery-ui-rails
225
227
  licenses:
226
228
  - MIT
227
229
  metadata: {}
@@ -240,8 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
242
  - !ruby/object:Gem::Version
241
243
  version: 1.3.6
242
244
  requirements: []
243
- rubyforge_project:
244
- rubygems_version: 2.5.1
245
+ rubygems_version: 3.0.3.1
245
246
  signing_key:
246
247
  specification_version: 4
247
248
  summary: jQuery UI packaged for the Rails asset pipeline