angular-ui-select-rails 0.12.1.1 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * ui-select
3
3
  * http://github.com/angular-ui/ui-select
4
- * Version: 0.12.1 - 2015-07-28T03:50:59.080Z
4
+ * Version: 0.18.1 - 2016-07-10T00:18:11.107Z
5
5
  * License: MIT
6
6
  */
7
7
 
@@ -25,6 +25,11 @@
25
25
  top: 0px !important;
26
26
  }
27
27
 
28
+
29
+ .ui-select-choices-row:hover {
30
+ background-color: #f5f5f5;
31
+ }
32
+
28
33
  /* Select2 theme */
29
34
 
30
35
  /* Mark invalid Select2 */
@@ -49,12 +54,14 @@ body > .select2-container.open {
49
54
  }
50
55
 
51
56
  /* Handle up direction Select2 */
52
- .ui-select-container[theme="select2"].direction-up .ui-select-match {
57
+ .ui-select-container[theme="select2"].direction-up .ui-select-match,
58
+ .ui-select-container.select2.direction-up .ui-select-match {
53
59
  border-radius: 4px; /* FIXME hardcoded value :-/ */
54
60
  border-top-left-radius: 0;
55
61
  border-top-right-radius: 0;
56
62
  }
57
- .ui-select-container[theme="select2"].direction-up .ui-select-dropdown {
63
+ .ui-select-container[theme="select2"].direction-up .ui-select-dropdown,
64
+ .ui-select-container.select2.direction-up .ui-select-dropdown {
58
65
  border-radius: 4px; /* FIXME hardcoded value :-/ */
59
66
  border-bottom-left-radius: 0;
60
67
  border-bottom-right-radius: 0;
@@ -66,10 +73,12 @@ body > .select2-container.open {
66
73
 
67
74
  margin-top: -4px; /* FIXME hardcoded value :-/ */
68
75
  }
69
- .ui-select-container[theme="select2"].direction-up .ui-select-dropdown .select2-search {
76
+ .ui-select-container[theme="select2"].direction-up .ui-select-dropdown .select2-search,
77
+ .ui-select-container.select2.direction-up .ui-select-dropdown .select2-search {
70
78
  margin-top: 4px; /* FIXME hardcoded value :-/ */
71
79
  }
72
- .ui-select-container[theme="select2"].direction-up.select2-dropdown-open .ui-select-match {
80
+ .ui-select-container[theme="select2"].direction-up.select2-dropdown-open .ui-select-match,
81
+ .ui-select-container.select2.direction-up.select2-dropdown-open .ui-select-match {
73
82
  border-bottom-color: #5897fb;
74
83
  }
75
84
 
@@ -156,7 +165,7 @@ body > .select2-container.open {
156
165
  }
157
166
 
158
167
  /* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
159
- .ui-select-bootstrap > .ui-select-choices {
168
+ .ui-select-bootstrap > .ui-select-choices ,.ui-select-bootstrap > .ui-select-no-choice {
160
169
  width: 100%;
161
170
  height: auto;
162
171
  max-height: 200px;
@@ -195,7 +204,11 @@ body > .ui-select-bootstrap.open {
195
204
  position: relative;
196
205
  }
197
206
 
198
- .ui-select-multiple .ui-select-match-item.dropping-before:before {
207
+ .ui-select-multiple .ui-select-match-item.dropping .ui-select-match-close {
208
+ pointer-events: none;
209
+ }
210
+
211
+ .ui-select-multiple:hover .ui-select-match-item.dropping-before:before {
199
212
  content: "";
200
213
  position: absolute;
201
214
  top: 0;
@@ -205,7 +218,7 @@ body > .ui-select-bootstrap.open {
205
218
  border-left: 1px solid #428bca;
206
219
  }
207
220
 
208
- .ui-select-multiple .ui-select-match-item.dropping-after:after {
221
+ .ui-select-multiple:hover .ui-select-match-item.dropping-after:after {
209
222
  content: "";
210
223
  position: absolute;
211
224
  top: 0;
@@ -1,13 +1,10 @@
1
1
  /*
2
- Version: 3.5.2 Timestamp: Sat Nov 1 14:43:36 EDT 2014
2
+ Version: 3.5.4 Timestamp: Sun Aug 30 13:30:32 EDT 2015
3
3
  */
4
4
  .select2-container {
5
5
  margin: 0;
6
6
  position: relative;
7
7
  display: inline-block;
8
- /* inline-block for ie7 */
9
- zoom: 1;
10
- *display: inline;
11
8
  vertical-align: middle;
12
9
  }
13
10
 
@@ -180,10 +177,6 @@ html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
180
177
  width: auto;
181
178
  }
182
179
 
183
- .select2-drop-auto-width .select2-search {
184
- padding-top: 4px;
185
- }
186
-
187
180
  .select2-container .select2-choice .select2-arrow {
188
181
  display: inline-block;
189
182
  width: 18px;
@@ -230,8 +223,7 @@ html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
230
223
  width: 100%;
231
224
  min-height: 26px;
232
225
  margin: 0;
233
- padding-left: 4px;
234
- padding-right: 4px;
226
+ padding: 4px 4px 0 4px;
235
227
 
236
228
  position: relative;
237
229
  z-index: 10000;
@@ -273,10 +265,6 @@ html[dir="rtl"] .select2-search input {
273
265
  background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
274
266
  }
275
267
 
276
- .select2-drop.select2-drop-above .select2-search input {
277
- margin-top: 4px;
278
- }
279
-
280
268
  .select2-search input.select2-active {
281
269
  background: #fff url('select2-spinner.gif') no-repeat 100%;
282
270
  background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular-ui-select-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1.1
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Ellis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-11 00:00:00.000000000 Z
11
+ date: 2017-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.4.5
77
+ rubygems_version: 2.5.1
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Packaged version of AngularJS ui-select.