jquery-ui-rails 7.0.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +1 -1
  3. data/History.md +4 -0
  4. data/VERSIONS.md +1 -0
  5. data/app/assets/javascripts/jquery-ui/data.js +10 -16
  6. data/app/assets/javascripts/jquery-ui/disable-selection.js +5 -5
  7. data/app/assets/javascripts/jquery-ui/effect.js +17 -38
  8. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +6 -6
  9. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +6 -6
  10. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +6 -6
  11. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +6 -6
  12. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +6 -6
  13. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +6 -6
  14. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +6 -6
  15. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +6 -6
  16. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +6 -6
  17. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +6 -6
  18. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +6 -6
  19. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +6 -6
  20. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +6 -6
  21. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +6 -6
  22. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +7 -7
  23. data/app/assets/javascripts/jquery-ui/focusable.js +7 -17
  24. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +6 -8
  25. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +2 -2
  26. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +2 -2
  27. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +2 -2
  28. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +2 -2
  29. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +3 -3
  30. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +2 -2
  31. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +2 -2
  32. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +2 -2
  33. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +2 -2
  34. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +2 -2
  35. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +1 -1
  36. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +2 -2
  37. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +2 -2
  38. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +2 -2
  39. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +2 -2
  40. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +2 -2
  41. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +2 -2
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +2 -2
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +2 -2
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +2 -2
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +2 -2
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +2 -2
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +6 -5
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +2 -2
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +2 -2
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +2 -2
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +2 -2
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +2 -2
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +2 -2
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +2 -2
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +2 -2
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +2 -2
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +2 -2
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +2 -2
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +2 -2
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +3 -3
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +2 -2
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +2 -2
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +2 -2
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +2 -2
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +2 -2
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +2 -2
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +2 -2
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +2 -2
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +2 -2
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +2 -2
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +2 -2
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +2 -2
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +2 -2
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +2 -2
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +2 -2
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +2 -2
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +2 -2
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +2 -2
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +2 -2
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +2 -2
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +2 -2
  82. data/app/assets/javascripts/jquery-ui/jquery-patch.js +8 -41
  83. data/app/assets/javascripts/jquery-ui/keycode.js +5 -5
  84. data/app/assets/javascripts/jquery-ui/labels.js +8 -9
  85. data/app/assets/javascripts/jquery-ui/position.js +7 -7
  86. data/app/assets/javascripts/jquery-ui/scroll-parent.js +5 -5
  87. data/app/assets/javascripts/jquery-ui/tabbable.js +5 -5
  88. data/app/assets/javascripts/jquery-ui/unique-id.js +5 -5
  89. data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +19 -50
  90. data/app/assets/javascripts/jquery-ui/version.js +1 -1
  91. data/app/assets/javascripts/jquery-ui/widget.js +17 -10
  92. data/app/assets/javascripts/jquery-ui/widgets/accordion.js +18 -18
  93. data/app/assets/javascripts/jquery-ui/widgets/autocomplete.js +21 -55
  94. data/app/assets/javascripts/jquery-ui/widgets/button.js +11 -11
  95. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +22 -17
  96. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +7 -7
  97. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +12 -15
  98. data/app/assets/javascripts/jquery-ui/widgets/dialog.js +25 -36
  99. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +10 -14
  100. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +8 -8
  101. data/app/assets/javascripts/jquery-ui/widgets/menu.js +9 -11
  102. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +20 -35
  103. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +7 -7
  104. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +82 -26
  105. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +7 -7
  106. data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +22 -49
  107. data/app/assets/javascripts/jquery-ui/widgets/slider.js +7 -7
  108. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +76 -85
  109. data/app/assets/javascripts/jquery-ui/widgets/spinner.js +11 -35
  110. data/app/assets/javascripts/jquery-ui/widgets/tabs.js +22 -56
  111. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +25 -27
  112. data/app/assets/javascripts/jquery-ui.js +0 -5
  113. data/app/assets/stylesheets/jquery-ui/accordion.css +5 -5
  114. data/app/assets/stylesheets/jquery-ui/all.css +5 -5
  115. data/app/assets/stylesheets/jquery-ui/autocomplete.css +5 -5
  116. data/app/assets/stylesheets/jquery-ui/base.css +5 -5
  117. data/app/assets/stylesheets/jquery-ui/button.css +6 -11
  118. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +5 -5
  119. data/app/assets/stylesheets/jquery-ui/controlgroup.css +5 -8
  120. data/app/assets/stylesheets/jquery-ui/core.css +5 -9
  121. data/app/assets/stylesheets/jquery-ui/datepicker.css +5 -5
  122. data/app/assets/stylesheets/jquery-ui/dialog.css +5 -5
  123. data/app/assets/stylesheets/jquery-ui/draggable.css +4 -5
  124. data/app/assets/stylesheets/jquery-ui/menu.css +5 -7
  125. data/app/assets/stylesheets/jquery-ui/progressbar.css +5 -6
  126. data/app/assets/stylesheets/jquery-ui/resizable.css +4 -5
  127. data/app/assets/stylesheets/jquery-ui/selectable.css +4 -5
  128. data/app/assets/stylesheets/jquery-ui/selectmenu.css +5 -5
  129. data/app/assets/stylesheets/jquery-ui/slider.css +5 -12
  130. data/app/assets/stylesheets/jquery-ui/sortable.css +4 -5
  131. data/app/assets/stylesheets/jquery-ui/spinner.css +5 -5
  132. data/app/assets/stylesheets/jquery-ui/tabs.css +5 -5
  133. data/app/assets/stylesheets/jquery-ui/theme.css.erb +6 -13
  134. data/app/assets/stylesheets/jquery-ui/tooltip.css +5 -5
  135. data/lib/jquery/ui/rails/version.rb +2 -2
  136. metadata +6 -11
  137. data/app/assets/javascripts/jquery-ui/core.js +0 -15
  138. data/app/assets/javascripts/jquery-ui/form.js +0 -25
  139. data/app/assets/javascripts/jquery-ui/ie.js +0 -20
  140. data/app/assets/javascripts/jquery-ui/safe-active-element.js +0 -46
  141. data/app/assets/javascripts/jquery-ui/safe-blur.js +0 -27
@@ -5,27 +5,25 @@
5
5
  //= require jquery-ui/focusable
6
6
  //= require jquery-ui/keycode
7
7
  //= require jquery-ui/position
8
- //= require jquery-ui/safe-active-element
9
- //= require jquery-ui/safe-blur
10
8
  //= require jquery-ui/tabbable
11
9
  //= require jquery-ui/unique-id
12
10
  //= require jquery-ui/version
13
11
  //= require jquery-ui/widget
14
12
 
15
13
  /*!
16
- * jQuery UI Dialog 1.13.0
17
- * http://jqueryui.com
14
+ * jQuery UI Dialog 1.14.1
15
+ * https://jqueryui.com
18
16
  *
19
- * Copyright jQuery Foundation and other contributors
17
+ * Copyright OpenJS Foundation and other contributors
20
18
  * Released under the MIT license.
21
- * http://jquery.org/license
19
+ * https://jquery.org/license
22
20
  */
23
21
 
24
22
  //>>label: Dialog
25
23
  //>>group: Widgets
26
24
  //>>description: Displays customizable dialog windows.
27
- //>>docs: http://api.jqueryui.com/dialog/
28
- //>>demos: http://jqueryui.com/dialog/
25
+ //>>docs: https://api.jqueryui.com/dialog/
26
+ //>>demos: https://jqueryui.com/dialog/
29
27
  //>>css.structure: ../../themes/base/core.css
30
28
  //>>css.structure: ../../themes/base/dialog.css
31
29
  //>>css.theme: ../../themes/base/theme.css
@@ -45,8 +43,6 @@
45
43
  "../focusable",
46
44
  "../keycode",
47
45
  "../position",
48
- "../safe-active-element",
49
- "../safe-blur",
50
46
  "../tabbable",
51
47
  "../unique-id",
52
48
  "../version",
@@ -61,7 +57,7 @@
61
57
  "use strict";
62
58
 
63
59
  $.widget( "ui.dialog", {
64
- version: "1.13.0",
60
+ version: "1.14.1",
65
61
  options: {
66
62
  appendTo: "body",
67
63
  autoOpen: true,
@@ -97,6 +93,7 @@ $.widget( "ui.dialog", {
97
93
  resizable: true,
98
94
  show: null,
99
95
  title: null,
96
+ uiDialogTitleHeadingLevel: 0,
100
97
  width: 300,
101
98
 
102
99
  // Callbacks
@@ -243,7 +240,7 @@ $.widget( "ui.dialog", {
243
240
  // Hiding a focused element doesn't trigger blur in WebKit
244
241
  // so in case we have nothing to focus on, explicitly blur the active element
245
242
  // https://bugs.webkit.org/show_bug.cgi?id=47182
246
- $.ui.safeBlur( $.ui.safeActiveElement( this.document[ 0 ] ) );
243
+ $( this.document[ 0 ].activeElement ).trigger( "blur" );
247
244
  }
248
245
 
249
246
  this._hide( this.uiDialog, this.options.hide, function() {
@@ -287,7 +284,7 @@ $.widget( "ui.dialog", {
287
284
  }
288
285
 
289
286
  this._isOpen = true;
290
- this.opener = $( $.ui.safeActiveElement( this.document[ 0 ] ) );
287
+ this.opener = $( this.document[ 0 ].activeElement );
291
288
 
292
289
  this._size();
293
290
  this._position();
@@ -343,7 +340,7 @@ $.widget( "ui.dialog", {
343
340
  },
344
341
 
345
342
  _restoreTabbableFocus: function() {
346
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
343
+ var activeElement = this.document[ 0 ].activeElement,
347
344
  isActive = this.uiDialog[ 0 ] === activeElement ||
348
345
  $.contains( this.uiDialog[ 0 ], activeElement );
349
346
  if ( !isActive ) {
@@ -354,11 +351,6 @@ $.widget( "ui.dialog", {
354
351
  _keepFocus: function( event ) {
355
352
  event.preventDefault();
356
353
  this._restoreTabbableFocus();
357
-
358
- // support: IE
359
- // IE <= 8 doesn't prevent moving focus even with event.preventDefault()
360
- // so we check again later
361
- this._delay( this._restoreTabbableFocus );
362
354
  },
363
355
 
364
356
  _createWrapper: function() {
@@ -368,7 +360,8 @@ $.widget( "ui.dialog", {
368
360
 
369
361
  // Setting tabIndex makes the div focusable
370
362
  tabIndex: -1,
371
- role: "dialog"
363
+ role: "dialog",
364
+ "aria-modal": this.options.modal ? "true" : null
372
365
  } )
373
366
  .appendTo( this._appendTo() );
374
367
 
@@ -441,9 +434,6 @@ $.widget( "ui.dialog", {
441
434
  }
442
435
  } );
443
436
 
444
- // Support: IE
445
- // Use type="button" to prevent enter keypresses in textboxes from closing the
446
- // dialog in IE (#9312)
447
437
  this.uiDialogTitlebarClose = $( "<button type='button'></button>" )
448
438
  .button( {
449
439
  label: $( "<a>" ).text( this.options.closeText ).html(),
@@ -460,7 +450,13 @@ $.widget( "ui.dialog", {
460
450
  }
461
451
  } );
462
452
 
463
- uiDialogTitle = $( "<span>" ).uniqueId().prependTo( this.uiDialogTitlebar );
453
+ var uiDialogHeadingLevel = Number.isInteger( this.options.uiDialogTitleHeadingLevel ) &&
454
+ this.options.uiDialogTitleHeadingLevel > 0 &&
455
+ this.options.uiDialogTitleHeadingLevel <= 6 ?
456
+ "h" + this.options.uiDialogTitleHeadingLevel : "span";
457
+
458
+ uiDialogTitle = $( "<" + uiDialogHeadingLevel + ">" )
459
+ .uniqueId().prependTo( this.uiDialogTitlebar );
464
460
  this._addClass( uiDialogTitle, "ui-dialog-title" );
465
461
  this._title( uiDialogTitle );
466
462
 
@@ -786,6 +782,10 @@ $.widget( "ui.dialog", {
786
782
  if ( key === "title" ) {
787
783
  this._title( this.uiDialogTitlebar.find( ".ui-dialog-title" ) );
788
784
  }
785
+
786
+ if ( key === "modal" ) {
787
+ uiDialog.attr( "aria-modal", value ? "true" : null );
788
+ }
789
789
  },
790
790
 
791
791
  _size: function() {
@@ -871,8 +871,6 @@ $.widget( "ui.dialog", {
871
871
  return;
872
872
  }
873
873
 
874
- var jqMinor = $.fn.jquery.substring( 0, 4 );
875
-
876
874
  // We use a delay in case the overlay is created from an
877
875
  // event that we're going to be cancelling (#2804)
878
876
  var isOpening = true;
@@ -894,15 +892,6 @@ $.widget( "ui.dialog", {
894
892
  if ( !instance._allowInteraction( event ) ) {
895
893
  event.preventDefault();
896
894
  instance._focusTabbable();
897
-
898
- // Support: jQuery >=3.4 <3.6 only
899
- // Focus re-triggering in jQuery 3.4/3.5 makes the original element
900
- // have its focus event propagated last, breaking the re-targeting.
901
- // Trigger focus in a delay in addition if needed to avoid the issue
902
- // See https://github.com/jquery/jquery/issues/4382
903
- if ( jqMinor === "3.4." || jqMinor === "3.5." ) {
904
- instance._delay( instance._restoreTabbableFocus );
905
- }
906
895
  }
907
896
  }.bind( this ) );
908
897
  }
@@ -941,7 +930,7 @@ $.widget( "ui.dialog", {
941
930
 
942
931
  // DEPRECATED
943
932
  // TODO: switch return back to widget declaration at top of file when this is removed
944
- if ( $.uiBackCompat !== false ) {
933
+ if ( $.uiBackCompat === true ) {
945
934
 
946
935
  // Backcompat for dialogClass option
947
936
  $.widget( "ui.dialog", $.ui.dialog, {
@@ -1,26 +1,24 @@
1
1
  //= require jquery-ui/widgets/mouse
2
2
  //= require jquery-ui/data
3
3
  //= require jquery-ui/plugin
4
- //= require jquery-ui/safe-active-element
5
- //= require jquery-ui/safe-blur
6
4
  //= require jquery-ui/scroll-parent
7
5
  //= require jquery-ui/version
8
6
  //= require jquery-ui/widget
9
7
 
10
8
  /*!
11
- * jQuery UI Draggable 1.13.0
12
- * http://jqueryui.com
9
+ * jQuery UI Draggable 1.14.1
10
+ * https://jqueryui.com
13
11
  *
14
- * Copyright jQuery Foundation and other contributors
12
+ * Copyright OpenJS Foundation and other contributors
15
13
  * Released under the MIT license.
16
- * http://jquery.org/license
14
+ * https://jquery.org/license
17
15
  */
18
16
 
19
17
  //>>label: Draggable
20
18
  //>>group: Interactions
21
19
  //>>description: Enables dragging functionality for any element.
22
- //>>docs: http://api.jqueryui.com/draggable/
23
- //>>demos: http://jqueryui.com/draggable/
20
+ //>>docs: https://api.jqueryui.com/draggable/
21
+ //>>demos: https://jqueryui.com/draggable/
24
22
  //>>css.structure: ../../themes/base/draggable.css
25
23
 
26
24
  ( function( factory ) {
@@ -34,8 +32,6 @@
34
32
  "./mouse",
35
33
  "../data",
36
34
  "../plugin",
37
- "../safe-active-element",
38
- "../safe-blur",
39
35
  "../scroll-parent",
40
36
  "../version",
41
37
  "../widget"
@@ -49,7 +45,7 @@
49
45
  "use strict";
50
46
 
51
47
  $.widget( "ui.draggable", $.ui.mouse, {
52
- version: "1.13.0",
48
+ version: "1.14.1",
53
49
  widgetEventPrefix: "drag",
54
50
  options: {
55
51
  addClasses: true,
@@ -156,7 +152,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
156
152
  },
157
153
 
158
154
  _blurActiveElement: function( event ) {
159
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
155
+ var activeElement = this.document[ 0 ].activeElement,
160
156
  target = $( event.target );
161
157
 
162
158
  // Don't blur if the event occurred on an element that is within
@@ -167,7 +163,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
167
163
  }
168
164
 
169
165
  // Blur any element that currently has focus, see #4261
170
- $.ui.safeBlur( activeElement );
166
+ $( activeElement ).trigger( "blur" );
171
167
  },
172
168
 
173
169
  _mouseStart: function( event ) {
@@ -395,7 +391,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
395
391
  o.appendTo ) );
396
392
  }
397
393
 
398
- // Http://bugs.jqueryui.com/ticket/9446
394
+ // https://bugs.jqueryui.com/ticket/9446
399
395
  // a helper function can return the original element
400
396
  // which wouldn't have been set to relative in _create
401
397
  if ( helperIsFunction && helper[ 0 ] === this.element[ 0 ] ) {
@@ -4,19 +4,19 @@
4
4
  //= require jquery-ui/widget
5
5
 
6
6
  /*!
7
- * jQuery UI Droppable 1.13.0
8
- * http://jqueryui.com
7
+ * jQuery UI Droppable 1.14.1
8
+ * https://jqueryui.com
9
9
  *
10
- * Copyright jQuery Foundation and other contributors
10
+ * Copyright OpenJS Foundation and other contributors
11
11
  * Released under the MIT license.
12
- * http://jquery.org/license
12
+ * https://jquery.org/license
13
13
  */
14
14
 
15
15
  //>>label: Droppable
16
16
  //>>group: Interactions
17
17
  //>>description: Enables drop targets for draggable elements.
18
- //>>docs: http://api.jqueryui.com/droppable/
19
- //>>demos: http://jqueryui.com/droppable/
18
+ //>>docs: https://api.jqueryui.com/droppable/
19
+ //>>demos: https://jqueryui.com/droppable/
20
20
 
21
21
  ( function( factory ) {
22
22
  "use strict";
@@ -40,7 +40,7 @@
40
40
  "use strict";
41
41
 
42
42
  $.widget( "ui.droppable", {
43
- version: "1.13.0",
43
+ version: "1.14.1",
44
44
  widgetEventPrefix: "drop",
45
45
  options: {
46
46
  accept: "*",
@@ -468,7 +468,7 @@ $.ui.ddmanager = {
468
468
 
469
469
  // DEPRECATED
470
470
  // TODO: switch return back to widget declaration at top of file when this is removed
471
- if ( $.uiBackCompat !== false ) {
471
+ if ( $.uiBackCompat === true ) {
472
472
 
473
473
  // Backcompat for activeClass and hoverClass options
474
474
  $.widget( "ui.droppable", $.ui.droppable, {
@@ -1,24 +1,23 @@
1
1
  //= require jquery-ui/keycode
2
2
  //= require jquery-ui/position
3
- //= require jquery-ui/safe-active-element
4
3
  //= require jquery-ui/unique-id
5
4
  //= require jquery-ui/version
6
5
  //= require jquery-ui/widget
7
6
 
8
7
  /*!
9
- * jQuery UI Menu 1.13.0
10
- * http://jqueryui.com
8
+ * jQuery UI Menu 1.14.1
9
+ * https://jqueryui.com
11
10
  *
12
- * Copyright jQuery Foundation and other contributors
11
+ * Copyright OpenJS Foundation and other contributors
13
12
  * Released under the MIT license.
14
- * http://jquery.org/license
13
+ * https://jquery.org/license
15
14
  */
16
15
 
17
16
  //>>label: Menu
18
17
  //>>group: Widgets
19
18
  //>>description: Creates nestable menus.
20
- //>>docs: http://api.jqueryui.com/menu/
21
- //>>demos: http://jqueryui.com/menu/
19
+ //>>docs: https://api.jqueryui.com/menu/
20
+ //>>demos: https://jqueryui.com/menu/
22
21
  //>>css.structure: ../../themes/base/core.css
23
22
  //>>css.structure: ../../themes/base/menu.css
24
23
  //>>css.theme: ../../themes/base/theme.css
@@ -33,7 +32,6 @@
33
32
  "jquery",
34
33
  "../keycode",
35
34
  "../position",
36
- "../safe-active-element",
37
35
  "../unique-id",
38
36
  "../version",
39
37
  "../widget"
@@ -47,7 +45,7 @@
47
45
  "use strict";
48
46
 
49
47
  return $.widget( "ui.menu", {
50
- version: "1.13.0",
48
+ version: "1.14.1",
51
49
  defaultElement: "<ul>",
52
50
  delay: 300,
53
51
  options: {
@@ -94,7 +92,7 @@ return $.widget( "ui.menu", {
94
92
  },
95
93
  "click .ui-menu-item": function( event ) {
96
94
  var target = $( event.target );
97
- var active = $( $.ui.safeActiveElement( this.document[ 0 ] ) );
95
+ var active = $( this.document[ 0 ].activeElement );
98
96
  if ( !this.mouseHandled && target.not( ".ui-state-disabled" ).length ) {
99
97
  this.select( event );
100
98
 
@@ -138,7 +136,7 @@ return $.widget( "ui.menu", {
138
136
  this._delay( function() {
139
137
  var notContained = !$.contains(
140
138
  this.element[ 0 ],
141
- $.ui.safeActiveElement( this.document[ 0 ] )
139
+ this.document[ 0 ].activeElement
142
140
  );
143
141
  if ( notContained ) {
144
142
  this.collapseAll( event );
@@ -1,20 +1,19 @@
1
- //= require jquery-ui/ie
2
1
  //= require jquery-ui/version
3
2
  //= require jquery-ui/widget
4
3
 
5
4
  /*!
6
- * jQuery UI Mouse 1.13.0
7
- * http://jqueryui.com
5
+ * jQuery UI Mouse 1.14.1
6
+ * https://jqueryui.com
8
7
  *
9
- * Copyright jQuery Foundation and other contributors
8
+ * Copyright OpenJS Foundation and other contributors
10
9
  * Released under the MIT license.
11
- * http://jquery.org/license
10
+ * https://jquery.org/license
12
11
  */
13
12
 
14
13
  //>>label: Mouse
15
14
  //>>group: Widgets
16
15
  //>>description: Abstracts mouse-based interactions to assist in creating certain widgets.
17
- //>>docs: http://api.jqueryui.com/mouse/
16
+ //>>docs: https://api.jqueryui.com/mouse/
18
17
 
19
18
  ( function( factory ) {
20
19
  "use strict";
@@ -24,7 +23,6 @@
24
23
  // AMD. Register as an anonymous module.
25
24
  define( [
26
25
  "jquery",
27
- "../ie",
28
26
  "../version",
29
27
  "../widget"
30
28
  ], factory );
@@ -42,7 +40,7 @@ $( document ).on( "mouseup", function() {
42
40
  } );
43
41
 
44
42
  return $.widget( "ui.mouse", {
45
- version: "1.13.0",
43
+ version: "1.14.1",
46
44
  options: {
47
45
  cancel: "input, textarea, button, select, option",
48
46
  distance: 1,
@@ -94,12 +92,10 @@ return $.widget( "ui.mouse", {
94
92
  this._mouseDownEvent = event;
95
93
 
96
94
  var that = this,
97
- btnIsLeft = ( event.which === 1 ),
98
-
99
- // event.target.nodeName works around a bug in IE 8 with
100
- // disabled inputs (#7620)
101
- elIsCancel = ( typeof this.options.cancel === "string" && event.target.nodeName ?
102
- $( event.target ).closest( this.options.cancel ).length : false );
95
+ btnIsLeft = event.which === 1,
96
+ elIsCancel = typeof this.options.cancel === "string" ?
97
+ $( event.target ).closest( this.options.cancel ).length :
98
+ false;
103
99
  if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
104
100
  return true;
105
101
  }
@@ -145,28 +141,17 @@ return $.widget( "ui.mouse", {
145
141
  _mouseMove: function( event ) {
146
142
 
147
143
  // Only check for mouseups outside the document if you've moved inside the document
148
- // at least once. This prevents the firing of mouseup in the case of IE<9, which will
149
- // fire a mousemove event if content is placed under the cursor. See #7778
150
- // Support: IE <9
151
- if ( this._mouseMoved ) {
152
-
153
- // IE mouseup check - mouseup happened when mouse was out of window
154
- if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) &&
155
- !event.button ) {
144
+ // at least once.
145
+ if ( this._mouseMoved && !event.which ) {
146
+
147
+ // Support: Safari <=8 - 9
148
+ // Safari sets which to 0 if you press any of the following keys
149
+ // during a drag (#14461)
150
+ if ( event.originalEvent.altKey || event.originalEvent.ctrlKey ||
151
+ event.originalEvent.metaKey || event.originalEvent.shiftKey ) {
152
+ this.ignoreMissingWhich = true;
153
+ } else if ( !this.ignoreMissingWhich ) {
156
154
  return this._mouseUp( event );
157
-
158
- // Iframe mouseup check - mouseup occurred in another document
159
- } else if ( !event.which ) {
160
-
161
- // Support: Safari <=8 - 9
162
- // Safari sets which to 0 if you press any of the following keys
163
- // during a drag (#14461)
164
- if ( event.originalEvent.altKey || event.originalEvent.ctrlKey ||
165
- event.originalEvent.metaKey || event.originalEvent.shiftKey ) {
166
- this.ignoreMissingWhich = true;
167
- } else if ( !this.ignoreMissingWhich ) {
168
- return this._mouseUp( event );
169
- }
170
155
  }
171
156
  }
172
157
 
@@ -2,12 +2,12 @@
2
2
  //= require jquery-ui/widget
3
3
 
4
4
  /*!
5
- * jQuery UI Progressbar 1.13.0
6
- * http://jqueryui.com
5
+ * jQuery UI Progressbar 1.14.1
6
+ * https://jqueryui.com
7
7
  *
8
- * Copyright jQuery Foundation and other contributors
8
+ * Copyright OpenJS Foundation and other contributors
9
9
  * Released under the MIT license.
10
- * http://jquery.org/license
10
+ * https://jquery.org/license
11
11
  */
12
12
 
13
13
  //>>label: Progressbar
@@ -15,8 +15,8 @@
15
15
  /* eslint-disable max-len */
16
16
  //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators.
17
17
  /* eslint-enable max-len */
18
- //>>docs: http://api.jqueryui.com/progressbar/
19
- //>>demos: http://jqueryui.com/progressbar/
18
+ //>>docs: https://api.jqueryui.com/progressbar/
19
+ //>>demos: https://jqueryui.com/progressbar/
20
20
  //>>css.structure: ../../themes/base/core.css
21
21
  //>>css.structure: ../../themes/base/progressbar.css
22
22
  //>>css.theme: ../../themes/base/theme.css
@@ -41,7 +41,7 @@
41
41
  "use strict";
42
42
 
43
43
  return $.widget( "ui.progressbar", {
44
- version: "1.13.0",
44
+ version: "1.14.1",
45
45
  options: {
46
46
  classes: {
47
47
  "ui-progressbar": "ui-corner-all",