jquery-ui-rails 5.0.4 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitmodules +1 -1
- data/.travis.yml +1 -1
- data/History.md +23 -2
- data/README.md +67 -50
- data/Rakefile +58 -29
- data/VERSIONS.md +4 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui/core.js +15 -304
- data/app/assets/javascripts/jquery-ui/data.js +45 -0
- data/app/assets/javascripts/jquery-ui/disable-selection.js +51 -0
- data/app/assets/javascripts/jquery-ui/effect.all.js +15 -16
- data/app/assets/javascripts/jquery-ui/effect.js +565 -891
- data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +76 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +116 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +71 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +75 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +117 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +53 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +95 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +63 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +49 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +70 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +63 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +80 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-size.js +199 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +82 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +46 -0
- data/app/assets/javascripts/jquery-ui/focusable.js +89 -0
- data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +83 -0
- data/app/assets/javascripts/jquery-ui/form.js +25 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +76 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +51 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +52 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +52 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +53 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +47 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +64 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +43 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +56 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +40 -0
- data/app/assets/javascripts/jquery-ui/ie.js +20 -0
- data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
- data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
- data/app/assets/javascripts/jquery-ui/keycode.js +51 -0
- data/app/assets/javascripts/jquery-ui/labels.js +71 -0
- data/app/assets/javascripts/jquery-ui/plugin.js +49 -0
- data/app/assets/javascripts/jquery-ui/position.js +107 -111
- data/app/assets/javascripts/jquery-ui/safe-active-element.js +46 -0
- data/app/assets/javascripts/jquery-ui/safe-blur.js +27 -0
- data/app/assets/javascripts/jquery-ui/scroll-parent.js +50 -0
- data/app/assets/javascripts/jquery-ui/tabbable.js +41 -0
- data/app/assets/javascripts/jquery-ui/unique-id.js +54 -0
- data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
- data/app/assets/javascripts/jquery-ui/version.js +20 -0
- data/app/assets/javascripts/jquery-ui/widget.js +359 -163
- data/app/assets/javascripts/jquery-ui/{accordion.js → widgets/accordion.js} +200 -163
- data/app/assets/javascripts/jquery-ui/{autocomplete.js → widgets/autocomplete.js} +153 -106
- data/app/assets/javascripts/jquery-ui/widgets/button.js +454 -0
- data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +289 -0
- data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +304 -0
- data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2243 -0
- data/app/assets/javascripts/jquery-ui/{dialog.js → widgets/dialog.js} +267 -181
- data/app/assets/javascripts/jquery-ui/{draggable.js → widgets/draggable.js} +430 -294
- data/app/assets/javascripts/jquery-ui/{droppable.js → widgets/droppable.js} +174 -84
- data/app/assets/javascripts/jquery-ui/{menu.js → widgets/menu.js} +228 -158
- data/app/assets/javascripts/jquery-ui/widgets/mouse.js +241 -0
- data/app/assets/javascripts/jquery-ui/{progressbar.js → widgets/progressbar.js} +63 -41
- data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1225 -0
- data/app/assets/javascripts/jquery-ui/widgets/selectable.js +321 -0
- data/app/assets/javascripts/jquery-ui/{selectmenu.js → widgets/selectmenu.js} +259 -177
- data/app/assets/javascripts/jquery-ui/{slider.js → widgets/slider.js} +199 -160
- data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1623 -0
- data/app/assets/javascripts/jquery-ui/{spinner.js → widgets/spinner.js} +184 -114
- data/app/assets/javascripts/jquery-ui/{tabs.js → widgets/tabs.js} +258 -211
- data/app/assets/javascripts/jquery-ui/{tooltip.js → widgets/tooltip.js} +165 -100
- data/app/assets/javascripts/jquery-ui.js +53 -33
- data/app/assets/stylesheets/jquery-ui/accordion.css +1 -15
- data/app/assets/stylesheets/jquery-ui/all.css +1 -1
- data/app/assets/stylesheets/jquery-ui/autocomplete.css +1 -3
- data/app/assets/stylesheets/jquery-ui/base.css +3 -1
- data/app/assets/stylesheets/jquery-ui/button.css +35 -68
- data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
- data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
- data/app/assets/stylesheets/jquery-ui/core.css +12 -8
- data/app/assets/stylesheets/jquery-ui/datepicker.css +11 -2
- data/app/assets/stylesheets/jquery-ui/dialog.css +38 -11
- data/app/assets/stylesheets/jquery-ui/draggable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/menu.css +7 -7
- data/app/assets/stylesheets/jquery-ui/progressbar.css +2 -3
- data/app/assets/stylesheets/jquery-ui/resizable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/selectable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/selectmenu.css +11 -22
- data/app/assets/stylesheets/jquery-ui/slider.css +2 -3
- data/app/assets/stylesheets/jquery-ui/sortable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/spinner.css +7 -22
- data/app/assets/stylesheets/jquery-ui/tabs.css +1 -2
- data/app/assets/stylesheets/jquery-ui/theme.css.erb +121 -92
- data/app/assets/stylesheets/jquery-ui/tooltip.css +1 -4
- data/lib/jquery/ui/rails/version.rb +2 -2
- metadata +153 -146
- data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui/button.js +0 -414
- data/app/assets/javascripts/jquery-ui/datepicker-af.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ar-DZ.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ar.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-az.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-be.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-bg.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-bs.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ca.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-cs.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-cy-GB.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-da.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-de.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-el.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-AU.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-GB.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-NZ.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-eo.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-es.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-et.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-eu.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-fa.js +0 -73
- data/app/assets/javascripts/jquery-ui/datepicker-fi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fo.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CA.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CH.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr.js +0 -39
- data/app/assets/javascripts/jquery-ui/datepicker-gl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-he.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hu.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-hy.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-id.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-is.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-it-CH.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-it.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ja.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ka.js +0 -35
- data/app/assets/javascripts/jquery-ui/datepicker-kk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-km.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ko.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ky.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-lb.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-lt.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-lv.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-mk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ml.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ms.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nb.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-nl-BE.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nn.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-no.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pt-BR.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pt.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-rm.js +0 -35
- data/app/assets/javascripts/jquery-ui/datepicker-ro.js +0 -40
- data/app/assets/javascripts/jquery-ui/datepicker-ru.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sl.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-sq.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sr-SR.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sv.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ta.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-th.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-tj.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-tr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-uk.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-vi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-CN.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-HK.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-TW.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker.js +0 -2086
- data/app/assets/javascripts/jquery-ui/effect-blind.js +0 -92
- data/app/assets/javascripts/jquery-ui/effect-bounce.js +0 -125
- data/app/assets/javascripts/jquery-ui/effect-clip.js +0 -79
- data/app/assets/javascripts/jquery-ui/effect-drop.js +0 -77
- data/app/assets/javascripts/jquery-ui/effect-explode.js +0 -109
- data/app/assets/javascripts/jquery-ui/effect-fade.js +0 -42
- data/app/assets/javascripts/jquery-ui/effect-fold.js +0 -88
- data/app/assets/javascripts/jquery-ui/effect-highlight.js +0 -62
- data/app/assets/javascripts/jquery-ui/effect-puff.js +0 -63
- data/app/assets/javascripts/jquery-ui/effect-pulsate.js +0 -75
- data/app/assets/javascripts/jquery-ui/effect-scale.js +0 -92
- data/app/assets/javascripts/jquery-ui/effect-shake.js +0 -86
- data/app/assets/javascripts/jquery-ui/effect-size.js +0 -235
- data/app/assets/javascripts/jquery-ui/effect-slide.js +0 -76
- data/app/assets/javascripts/jquery-ui/effect-transfer.js +0 -59
- data/app/assets/javascripts/jquery-ui/mouse.js +0 -202
- data/app/assets/javascripts/jquery-ui/resizable.js +0 -1183
- data/app/assets/javascripts/jquery-ui/selectable.js +0 -291
- data/app/assets/javascripts/jquery-ui/sortable.js +0 -1308
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 933bd109d892bed13f8668dccc787543384d3acbdb1a8402cd6488b85fa86617
|
4
|
+
data.tar.gz: 7425bccaba329f6051041644966ab6c3b296876b5d77500e7a63e706f5bf2837
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: add74c84e4c4b224af4d796d32d4819e26d31b29a6c7a176cd5f9480e19e467aa310bfe1d0c57281d549fc1ee4bb1d7cc3cde1b45e43bde110886e8728a59c6b
|
7
|
+
data.tar.gz: 0a4c0abf3ee331cf5530fdea0fa0de101449565582097178430933f0e2c25a4ab7bb9f6512f28495d2d8159e1fdb999f2c50b9bfeb55d7c2528e03dfbccf150c
|
data/.gitmodules
CHANGED
data/.travis.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
rvm:
|
2
|
-
-
|
2
|
+
- 2.2.2
|
data/History.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# master
|
2
2
|
|
3
|
+
# 7.0.0
|
4
|
+
|
5
|
+
* Update to jQuery UI 1.13.0
|
6
|
+
|
7
|
+
# 6.0.1
|
8
|
+
|
9
|
+
* Fix "define is not defined" issue in `core.js`
|
10
|
+
|
11
|
+
# 6.0.0
|
12
|
+
|
13
|
+
* Update to jQuery UI 1.12.1
|
14
|
+
* The widget files moved. Change e.g. `require jquery-ui/sortable` to `require jquery-ui/widgets/sortable`
|
15
|
+
|
16
|
+
# 5.0.5
|
17
|
+
|
18
|
+
* Update to jQuery UI 1.11.4
|
19
|
+
|
20
|
+
# 5.0.4
|
21
|
+
|
22
|
+
* Update to jQuery UI 1.11.3
|
23
|
+
|
3
24
|
# 5.0.3
|
4
25
|
|
5
26
|
* Speed up: Only use .erb extension if `<%= %>` tags are used
|
@@ -67,8 +88,8 @@
|
|
67
88
|
* Upgrade to jQuery UI 1.10.0
|
68
89
|
|
69
90
|
* No more automatic `//= require jquery`
|
70
|
-
([#30](https://github.com/
|
71
|
-
discussion at [#17](https://github.com/
|
91
|
+
([#30](https://github.com/jquery-ui-rails/jquery-ui-rails/pull/30), original
|
92
|
+
discussion at [#17](https://github.com/jquery-ui-rails/jquery-ui-rails/pull/17)).
|
72
93
|
This means that you have to add `//= require jquery` to your application.js
|
73
94
|
file before you require any of the jQuery UI JavaScript modules.
|
74
95
|
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# jquery-ui-rails
|
2
2
|
|
3
|
-
[![Build Status](https://
|
4
|
-
[![Dependency Status](https://gemnasium.com/
|
3
|
+
[![Build Status](https://travis-ci.org/jquery-ui-rails/jquery-ui-rails.svg?branch=master)](https://travis-ci.org/jquery-ui-rails/jquery-ui-rails)
|
4
|
+
[![Dependency Status](https://gemnasium.com/jquery-ui-rails/jquery-ui-rails.svg)](https://gemnasium.com/jquery-ui-rails/jquery-ui-rails)
|
5
5
|
|
6
6
|
This gem packages the jQuery UI assets (JavaScripts, stylesheets, and
|
7
7
|
images) for the Rails [asset
|
@@ -12,10 +12,6 @@ interface](http://jqueryui.com/download) again.
|
|
12
12
|
See [VERSIONS.md](VERSIONS.md) to see which versions of jquery-ui-rails bundle
|
13
13
|
which versions of jQuery UI.
|
14
14
|
|
15
|
-
Also check out the
|
16
|
-
[jquery-ui-sass-rails](https://github.com/jhilden/jquery-ui-sass-rails) gem,
|
17
|
-
which allows you to override theme variables with Sass.
|
18
|
-
|
19
15
|
Warning: This gem is incompatible with the `jquery-rails` gem before version
|
20
16
|
3.0.0! Strange things will happen if you use an earlier `jquery-rails`
|
21
17
|
version. Run `bundle list` to ensure that you either aren't using
|
@@ -45,9 +41,12 @@ Also add the jQuery UI CSS to your application.css:
|
|
45
41
|
*/
|
46
42
|
```
|
47
43
|
|
48
|
-
Warning:
|
49
|
-
|
50
|
-
|
44
|
+
### Warning:
|
45
|
+
Due to directory structure changes between jQuery UI 1.10, 1.11, and 1.12,
|
46
|
+
if you use version is lower than 6.0, you will have to use a different naming
|
47
|
+
for the files to require, please check following links for more information:
|
48
|
+
[for 5.0 users](https://github.com/jquery-ui-rails/jquery-ui-rails/blob/v5.0.5/README.md),
|
49
|
+
[for 4.2 users](https://github.com/jquery-ui-rails/jquery-ui-rails/blob/v4.2.1/README.md).
|
51
50
|
|
52
51
|
All images required by jQuery UI are automatically served through the asset
|
53
52
|
pipeline, so you are good to go! For example, this code will add a
|
@@ -70,10 +69,11 @@ For example, if you only need the datepicker module, add this to your
|
|
70
69
|
application.js:
|
71
70
|
|
72
71
|
```javascript
|
73
|
-
//= require jquery-ui/datepicker
|
72
|
+
//= require jquery-ui/widgets/datepicker
|
74
73
|
```
|
75
74
|
|
76
|
-
In your application.css, require the corresponding CSS module
|
75
|
+
In your application.css, require the corresponding CSS module (notice
|
76
|
+
no `widgets/` subdirectory here):
|
77
77
|
|
78
78
|
```css
|
79
79
|
/*
|
@@ -88,7 +88,6 @@ In your application.css, require the corresponding CSS module:
|
|
88
88
|
```javascript
|
89
89
|
//= require jquery-ui/core
|
90
90
|
//= require jquery-ui/widget
|
91
|
-
//= require jquery-ui/mouse
|
92
91
|
//= require jquery-ui/position
|
93
92
|
```
|
94
93
|
|
@@ -98,31 +97,32 @@ other JavaScript modules as needed.
|
|
98
97
|
### Interactions
|
99
98
|
|
100
99
|
```javascript
|
101
|
-
//= require jquery-ui/
|
102
|
-
//= require jquery-ui/
|
103
|
-
//= require jquery-ui/
|
104
|
-
//= require jquery-ui/
|
105
|
-
//= require jquery-ui/
|
100
|
+
//= require jquery-ui/widgets/mouse
|
101
|
+
//= require jquery-ui/widgets/draggable
|
102
|
+
//= require jquery-ui/widgets/droppable
|
103
|
+
//= require jquery-ui/widgets/resizable
|
104
|
+
//= require jquery-ui/widgets/selectable
|
105
|
+
//= require jquery-ui/widgets/sortable
|
106
106
|
```
|
107
107
|
|
108
|
-
For all but `jquery-ui/droppable`, remember to `require` their matching CSS
|
108
|
+
For all but `jquery-ui/mouse` and `jquery-ui/droppable`, remember to `require` their matching CSS
|
109
109
|
files in your application.css as well.
|
110
110
|
|
111
111
|
### Widgets
|
112
112
|
|
113
113
|
```javascript
|
114
|
-
//= require jquery-ui/accordion
|
115
|
-
//= require jquery-ui/autocomplete
|
116
|
-
//= require jquery-ui/button
|
117
|
-
//= require jquery-ui/datepicker
|
118
|
-
//= require jquery-ui/dialog
|
119
|
-
//= require jquery-ui/menu
|
120
|
-
//= require jquery-ui/progressbar
|
121
|
-
//= require jquery-ui/selectmenu
|
122
|
-
//= require jquery-ui/slider
|
123
|
-
//= require jquery-ui/spinner
|
124
|
-
//= require jquery-ui/tabs
|
125
|
-
//= require jquery-ui/tooltip
|
114
|
+
//= require jquery-ui/widgets/accordion
|
115
|
+
//= require jquery-ui/widgets/autocomplete
|
116
|
+
//= require jquery-ui/widgets/button
|
117
|
+
//= require jquery-ui/widgets/datepicker
|
118
|
+
//= require jquery-ui/widgets/dialog
|
119
|
+
//= require jquery-ui/widgets/menu
|
120
|
+
//= require jquery-ui/widgets/progressbar
|
121
|
+
//= require jquery-ui/widgets/selectmenu
|
122
|
+
//= require jquery-ui/widgets/slider
|
123
|
+
//= require jquery-ui/widgets/spinner
|
124
|
+
//= require jquery-ui/widgets/tabs
|
125
|
+
//= require jquery-ui/widgets/tooltip
|
126
126
|
```
|
127
127
|
|
128
128
|
For all of these, remember to `require` their matching CSS files in your
|
@@ -132,38 +132,43 @@ application.css as well.
|
|
132
132
|
|
133
133
|
Datepicker has optional i18n modules for non-US locales, named
|
134
134
|
`jquery-ui/datepicker-xx[-YY]`
|
135
|
-
([list](https://github.com/
|
135
|
+
([list](https://github.com/jquery-ui-rails/jquery-ui-rails/tree/master/app/assets/javascripts)),
|
136
136
|
for example:
|
137
137
|
|
138
138
|
```javascript
|
139
|
-
//= require jquery-ui/datepicker
|
140
|
-
//= require jquery-ui/datepicker-pt-BR
|
139
|
+
//= require jquery-ui/widgets/datepicker
|
140
|
+
//= require jquery-ui/i18n/datepicker-pt-BR
|
141
141
|
```
|
142
142
|
|
143
143
|
Note that you still need to include the main datepicker module. It is not
|
144
144
|
required automatically [for performance
|
145
|
-
reasons](https://github.com/
|
145
|
+
reasons](https://github.com/jquery-ui-rails/jquery-ui-rails/issues/9#issuecomment-6524987).
|
146
146
|
|
147
147
|
### Effects
|
148
148
|
|
149
149
|
```javascript
|
150
150
|
//= require jquery-ui/effect.all
|
151
|
+
```
|
152
|
+
|
153
|
+
OR
|
154
|
+
|
155
|
+
```javascript
|
151
156
|
//= require jquery-ui/effect
|
152
|
-
//= require jquery-ui/effect-blind
|
153
|
-
//= require jquery-ui/effect-bounce
|
154
|
-
//= require jquery-ui/effect-clip
|
155
|
-
//= require jquery-ui/effect-drop
|
156
|
-
//= require jquery-ui/effect-explode
|
157
|
-
//= require jquery-ui/effect-fade
|
158
|
-
//= require jquery-ui/effect-fold
|
159
|
-
//= require jquery-ui/effect-highlight
|
160
|
-
//= require jquery-ui/effect-puff
|
161
|
-
//= require jquery-ui/effect-pulsate
|
162
|
-
//= require jquery-ui/effect-scale
|
163
|
-
//= require jquery-ui/effect-shake
|
164
|
-
//= require jquery-ui/effect-size
|
165
|
-
//= require jquery-ui/effect-slide
|
166
|
-
//= require jquery-ui/effect-transfer
|
157
|
+
//= require jquery-ui/effects/effect-blind
|
158
|
+
//= require jquery-ui/effects/effect-bounce
|
159
|
+
//= require jquery-ui/effects/effect-clip
|
160
|
+
//= require jquery-ui/effects/effect-drop
|
161
|
+
//= require jquery-ui/effects/effect-explode
|
162
|
+
//= require jquery-ui/effects/effect-fade
|
163
|
+
//= require jquery-ui/effects/effect-fold
|
164
|
+
//= require jquery-ui/effects/effect-highlight
|
165
|
+
//= require jquery-ui/effects/effect-puff
|
166
|
+
//= require jquery-ui/effects/effect-pulsate
|
167
|
+
//= require jquery-ui/effects/effect-scale
|
168
|
+
//= require jquery-ui/effects/effect-shake
|
169
|
+
//= require jquery-ui/effects/effect-size
|
170
|
+
//= require jquery-ui/effects/effect-slide
|
171
|
+
//= require jquery-ui/effects/effect-transfer
|
167
172
|
```
|
168
173
|
|
169
174
|
## Stylesheet Assets
|
@@ -226,7 +231,7 @@ The `jquery-ui-rails` gem should work in Ruby 1.8.7 apps. To run the rake
|
|
226
231
|
tasks, you need Ruby 1.9 however.
|
227
232
|
|
228
233
|
```bash
|
229
|
-
git clone git://github.com/
|
234
|
+
git clone git://github.com/jquery-ui-rails/jquery-ui-rails.git
|
230
235
|
cd jquery-ui-rails
|
231
236
|
git submodule update --init
|
232
237
|
bundle install
|
@@ -274,6 +279,18 @@ rails server
|
|
274
279
|
|
275
280
|
Now point your browser at [http://localhost:3000/](http://localhost:3000/).
|
276
281
|
|
282
|
+
### Releasing
|
283
|
+
|
284
|
+
Be sure that `VERSIONS.md`, `History.md` and `lib/jquery/ui/rails/version.rb`
|
285
|
+
are up-to-date. Then build and push like so:
|
286
|
+
|
287
|
+
```bash
|
288
|
+
rake build
|
289
|
+
gem push pkg/jquery-ui-rails-X.Y.Z.gem
|
290
|
+
git tag vX.Y.Z
|
291
|
+
git push --tags
|
292
|
+
```
|
293
|
+
|
277
294
|
## Limitations
|
278
295
|
|
279
296
|
* Only the base theme (Smoothness) is included. Once it becomes possible to
|
data/Rakefile
CHANGED
@@ -2,12 +2,6 @@ Encoding.default_external = "UTF-8" if defined?(Encoding)
|
|
2
2
|
require 'json'
|
3
3
|
require 'bundler/gem_tasks'
|
4
4
|
|
5
|
-
# returns the source filename for a given JSON build file
|
6
|
-
# (e.g., "ui.core.jquery.json" returns "core.js")
|
7
|
-
def source_file_for_build_file(build_file)
|
8
|
-
"#{build_file.sub('ui.', '').sub('.jquery.json', '')}.js"
|
9
|
-
end
|
10
|
-
|
11
5
|
# returns the source filename for a named file in the 'dependencies'
|
12
6
|
# array of a JSON build file
|
13
7
|
# (e.g., if the JSON build file contains
|
@@ -22,10 +16,10 @@ end
|
|
22
16
|
#
|
23
17
|
# The only exception is "jquery", which doesn't follow the
|
24
18
|
# same naming conventions so it's a special case.
|
25
|
-
def source_file_for_dependency_entry(dep_entry)
|
26
|
-
|
27
|
-
|
28
|
-
|
19
|
+
def source_file_for_dependency_entry(caller, dep_entry)
|
20
|
+
p = Pathname.new caller
|
21
|
+
parent_path = p.parent
|
22
|
+
parent_path.join(dep_entry + '.js').to_s
|
29
23
|
end
|
30
24
|
|
31
25
|
# return a Hash of dependency info, whose keys are jquery-ui
|
@@ -33,19 +27,33 @@ end
|
|
33
27
|
# they depend on
|
34
28
|
def map_dependencies
|
35
29
|
dependencies = {}
|
36
|
-
Dir.glob("jquery-ui
|
37
|
-
|
38
|
-
|
30
|
+
Dir.glob("jquery-ui/ui/**/*.js").each do |path|
|
31
|
+
basename = File.basename path
|
32
|
+
file = File.read path
|
33
|
+
|
34
|
+
matchdata = file.match(/define\(\s*\[\s*([\"\.\/\,\w\s\-\:]+)\]/m)
|
35
|
+
|
36
|
+
next if matchdata.nil?
|
37
|
+
|
38
|
+
deps = matchdata[1]
|
39
39
|
|
40
|
-
|
40
|
+
# remove lines with comments
|
41
|
+
deps = deps.gsub(/\/\/.+\s/, "")
|
42
|
+
|
43
|
+
# remove all non-path symbols
|
44
|
+
deps = deps.gsub(/[\r\n\t\"\[\]\s]/, "")
|
45
|
+
|
46
|
+
deps_paths = deps.split(',')
|
47
|
+
|
48
|
+
deps_paths.map!(&method(:remove_js_extension))
|
41
49
|
|
42
50
|
# None of jquery.ui files should depend on jquery.js,
|
43
51
|
# so we remove 'jquery' from the list of dependencies for all files
|
44
|
-
|
52
|
+
deps_paths.reject! {|d| d == "jquery" }
|
45
53
|
|
46
|
-
|
54
|
+
deps_paths.map! {|d| source_file_for_dependency_entry path, d }
|
47
55
|
|
48
|
-
dependencies[
|
56
|
+
dependencies[basename] = deps_paths
|
49
57
|
end
|
50
58
|
dependencies
|
51
59
|
end
|
@@ -70,7 +78,7 @@ def get_js_dependencies(basename)
|
|
70
78
|
end
|
71
79
|
# Make sure we do not package assets with broken dependencies
|
72
80
|
dependencies.each do |dep|
|
73
|
-
unless File.exist?("
|
81
|
+
unless File.exist?("#{dep}")
|
74
82
|
fail "#{basename}: missing #{dep}"
|
75
83
|
end
|
76
84
|
end
|
@@ -107,14 +115,23 @@ task :javascripts => :submodule do
|
|
107
115
|
target_dir = "app/assets/javascripts"
|
108
116
|
target_ui_dir = "#{target_dir}/jquery-ui"
|
109
117
|
mkdir_p target_ui_dir
|
118
|
+
mkdir_p target_ui_dir + '/effects'
|
119
|
+
mkdir_p target_ui_dir + '/widgets'
|
120
|
+
mkdir_p target_ui_dir + '/i18n'
|
121
|
+
mkdir_p target_ui_dir + '/vendor/jquery-color'
|
110
122
|
|
111
|
-
Dir.glob("jquery-ui/ui
|
123
|
+
Dir.glob("jquery-ui/ui/**/*.js").each do |path|
|
112
124
|
basename = File.basename(path)
|
125
|
+
clean_path = path.gsub('/ui', '')
|
113
126
|
dep_modules = get_js_dependencies(basename).map(&method(:remove_js_extension))
|
114
|
-
File.open("#{
|
127
|
+
File.open("#{target_dir}/#{clean_path}", "w") do |out|
|
115
128
|
dep_modules.each do |mod|
|
116
|
-
|
129
|
+
mod.gsub!('/ui', '')
|
130
|
+
out.write("//= require #{mod}\n")
|
117
131
|
end
|
132
|
+
# core.js is deprecated and uses define function which is usually unavailable
|
133
|
+
# so we need only dependency loading there with no file contents
|
134
|
+
next if clean_path == 'jquery-ui/core.js'
|
118
135
|
out.write("\n") unless dep_modules.empty?
|
119
136
|
source_code = File.read(path)
|
120
137
|
source_code.gsub!('@VERSION', version)
|
@@ -124,10 +141,10 @@ task :javascripts => :submodule do
|
|
124
141
|
end
|
125
142
|
|
126
143
|
# process the i18n files separately for performance, since they will not have dependencies
|
127
|
-
# https://github.com/
|
144
|
+
# https://github.com/jquery-ui-rails/jquery-ui-rails/issues/9
|
128
145
|
Dir.glob("jquery-ui/ui/i18n/*.js").each do |path|
|
129
146
|
basename = File.basename(path)
|
130
|
-
File.open("#{target_ui_dir}/#{basename}", "w") do |out|
|
147
|
+
File.open("#{target_ui_dir}/i18n/#{basename}", "w") do |out|
|
131
148
|
source_code = File.read(path)
|
132
149
|
source_code.gsub!('@VERSION', version)
|
133
150
|
protect_copyright_notice(source_code)
|
@@ -136,15 +153,27 @@ task :javascripts => :submodule do
|
|
136
153
|
end
|
137
154
|
|
138
155
|
File.open("#{target_ui_dir}/effect.all.js", "w") do |out|
|
139
|
-
Dir.glob("jquery-ui/ui/
|
140
|
-
|
141
|
-
out.write("//= require
|
156
|
+
Dir.glob("jquery-ui/ui/effects/*.js").sort.each do |path|
|
157
|
+
clean_path = remove_js_extension(path).gsub('/ui', '')
|
158
|
+
out.write("//= require #{clean_path}\n")
|
142
159
|
end
|
143
160
|
end
|
144
161
|
File.open("#{target_dir}/jquery-ui.js", "w") do |out|
|
145
162
|
Dir.glob("jquery-ui/ui/*.js").sort.each do |path|
|
146
|
-
|
147
|
-
out.write("//= require
|
163
|
+
clean_path = remove_js_extension(path).gsub('/ui', '')
|
164
|
+
out.write("//= require #{clean_path}\n")
|
165
|
+
end
|
166
|
+
Dir.glob("jquery-ui/ui/effects/*.js").sort.each do |path|
|
167
|
+
clean_path = remove_js_extension(path).gsub('/ui', '')
|
168
|
+
out.write("//= require #{clean_path}\n")
|
169
|
+
end
|
170
|
+
Dir.glob("jquery-ui/ui/widgets/*.js").sort.each do |path|
|
171
|
+
clean_path = remove_js_extension(path).gsub('/ui', '')
|
172
|
+
out.write("//= require #{clean_path}\n")
|
173
|
+
end
|
174
|
+
Dir.glob("jquery-ui/ui/vendor/jquery-color/*.js").sort.each do |path|
|
175
|
+
clean_path = remove_js_extension(path).gsub('/ui', '')
|
176
|
+
out.write("//= require #{clean_path}\n")
|
148
177
|
end
|
149
178
|
end
|
150
179
|
end
|
@@ -174,7 +203,7 @@ task :stylesheets => :submodule do
|
|
174
203
|
dependencies.each do |dependency|
|
175
204
|
dependency = dependency.sub(/\.js$/, '')
|
176
205
|
dependent_stylesheet = "#{dependency}.css"
|
177
|
-
extra_dependencies << dependency if File.
|
206
|
+
extra_dependencies << dependency if File.exist?("#{css_dir}/#{dependent_stylesheet}")
|
178
207
|
end
|
179
208
|
extra_dependencies << 'theme'
|
180
209
|
end
|
data/VERSIONS.md
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|