semantic-ui-rails 0.10.3 → 0.11.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 (24) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/semantic-ui/modules/accordion.js +10 -10
  3. data/app/assets/javascripts/semantic-ui/modules/behavior/api.js +11 -11
  4. data/app/assets/javascripts/semantic-ui/modules/behavior/form.js +10 -10
  5. data/app/assets/javascripts/semantic-ui/modules/behavior/state.js +10 -10
  6. data/app/assets/javascripts/semantic-ui/modules/checkbox.js +10 -10
  7. data/app/assets/javascripts/semantic-ui/modules/dimmer.js +11 -11
  8. data/app/assets/javascripts/semantic-ui/modules/dropdown.js +10 -10
  9. data/app/assets/javascripts/semantic-ui/modules/modal.js +56 -48
  10. data/app/assets/javascripts/semantic-ui/modules/nag.js +10 -10
  11. data/app/assets/javascripts/semantic-ui/modules/popup.js +30 -20
  12. data/app/assets/javascripts/semantic-ui/modules/rating.js +10 -10
  13. data/app/assets/javascripts/semantic-ui/modules/search.js +10 -10
  14. data/app/assets/javascripts/semantic-ui/modules/shape.js +10 -10
  15. data/app/assets/javascripts/semantic-ui/modules/sidebar.js +10 -10
  16. data/app/assets/javascripts/semantic-ui/modules/tab.js +11 -11
  17. data/app/assets/javascripts/semantic-ui/modules/transition.js +233 -110
  18. data/app/assets/javascripts/semantic-ui/modules/video.js +10 -10
  19. data/app/assets/stylesheets/semantic-ui/modules/accordion.less +0 -1
  20. data/app/assets/stylesheets/semantic-ui/modules/dimmer.less +1 -11
  21. data/app/assets/stylesheets/semantic-ui/modules/popup.less +1 -0
  22. data/app/assets/stylesheets/semantic-ui/modules/transition.less +5 -4
  23. data/lib/semantic/ui/rails/version.rb +1 -1
  24. metadata +2 -2
@@ -334,13 +334,14 @@ $.fn.video = function(parameters) {
334
334
  },
335
335
  invoke: function(query, passedArguments, context) {
336
336
  var
337
+ object = instance,
337
338
  maxDepth,
338
339
  found,
339
340
  response
340
341
  ;
341
342
  passedArguments = passedArguments || queryArguments;
342
343
  context = element || context;
343
- if(typeof query == 'string' && instance !== undefined) {
344
+ if(typeof query == 'string' && object !== undefined) {
344
345
  query = query.split(/[\. ]/);
345
346
  maxDepth = query.length - 1;
346
347
  $.each(query, function(depth, value) {
@@ -348,22 +349,21 @@ $.fn.video = function(parameters) {
348
349
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
349
350
  : query
350
351
  ;
351
- if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
352
- instance = instance[camelCaseValue];
352
+ if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {
353
+ object = object[camelCaseValue];
353
354
  }
354
- else if( instance[camelCaseValue] !== undefined ) {
355
- found = instance[camelCaseValue];
355
+ else if( object[camelCaseValue] !== undefined ) {
356
+ found = object[camelCaseValue];
356
357
  return false;
357
358
  }
358
- else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
359
- instance = instance[value];
359
+ else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {
360
+ object = object[value];
360
361
  }
361
- else if( instance[value] !== undefined ) {
362
- found = instance[value];
362
+ else if( object[value] !== undefined ) {
363
+ found = object[value];
363
364
  return false;
364
365
  }
365
366
  else {
366
- module.error(error.method, query);
367
367
  return false;
368
368
  }
369
369
  });
@@ -17,7 +17,6 @@
17
17
  .ui.accordion .accordion {
18
18
  width: 600px;
19
19
  max-width: 100%;
20
- overflow: hidden;
21
20
 
22
21
  font-size: 1rem;
23
22
  border-radius: 0.3125em;
@@ -113,6 +113,7 @@
113
113
  overflow: hidden;
114
114
  }
115
115
 
116
+ .ui.dimmed.dimmable > .ui.animating.dimmer,
116
117
  .ui.dimmed.dimmable > .ui.visible.dimmer,
117
118
  .ui.active.dimmer {
118
119
  display: block;
@@ -137,19 +138,8 @@
137
138
  .ui.page.dimmer {
138
139
  position: fixed;
139
140
 
140
- -webkit-transform-style: preserve-3d;
141
- -moz-transform-style: preserve-3d;
142
- -ms-transform-style: preserve-3d;
143
141
  transform-style: preserve-3d;
144
-
145
- -webkit-perspective: 2000px;
146
- -moz-perspective: 2000px;
147
142
  perspective: 2000px;
148
-
149
- -webkit-transform-origin: center center;
150
- -moz-transform-origin: center center;
151
- -o-transform-origin: center center;
152
- -ms-transform-origin: center center;
153
143
  transform-origin: center center;
154
144
  }
155
145
 
@@ -208,6 +208,7 @@
208
208
  visibility: hidden;
209
209
  }
210
210
 
211
+ .ui.animating.popup,
211
212
  .ui.visible.popup {
212
213
  display: block;
213
214
  }
@@ -26,6 +26,7 @@
26
26
  *******************************/
27
27
 
28
28
  .ui.animating.transition {
29
+ display: block;
29
30
  backface-visibility: hidden;
30
31
  transform: translateZ(0);
31
32
  }
@@ -149,7 +150,7 @@
149
150
 
150
151
 
151
152
  /*--------------
152
- Slide
153
+ Slide
153
154
  ---------------*/
154
155
 
155
156
  .ui.slide.down.transition.in {
@@ -198,7 +199,7 @@
198
199
  *******************************/
199
200
 
200
201
  /*--------------
201
- Emphasis
202
+ Emphasis
202
203
  ---------------*/
203
204
 
204
205
  /* Flash */
@@ -293,11 +294,11 @@
293
294
  @keyframes horizontalFlipOut {
294
295
  0% {
295
296
  transform: rotateY(0deg);
296
- opacity: 0;
297
+ opacity: 1;
297
298
  }
298
299
  100% {
299
300
  transform: rotateY(90deg);
300
- opacity: 1;
301
+ opacity: 0;
301
302
  }
302
303
  }
303
304
 
@@ -1,7 +1,7 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "0.10.3"
4
+ VERSION = "0.11.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-ui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nd0ut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-23 00:00:00.000000000 Z
11
+ date: 2013-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails