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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/semantic-ui/modules/accordion.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/behavior/api.js +11 -11
- data/app/assets/javascripts/semantic-ui/modules/behavior/form.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/behavior/state.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/checkbox.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/dimmer.js +11 -11
- data/app/assets/javascripts/semantic-ui/modules/dropdown.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/modal.js +56 -48
- data/app/assets/javascripts/semantic-ui/modules/nag.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/popup.js +30 -20
- data/app/assets/javascripts/semantic-ui/modules/rating.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/search.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/shape.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/sidebar.js +10 -10
- data/app/assets/javascripts/semantic-ui/modules/tab.js +11 -11
- data/app/assets/javascripts/semantic-ui/modules/transition.js +233 -110
- data/app/assets/javascripts/semantic-ui/modules/video.js +10 -10
- data/app/assets/stylesheets/semantic-ui/modules/accordion.less +0 -1
- data/app/assets/stylesheets/semantic-ui/modules/dimmer.less +1 -11
- data/app/assets/stylesheets/semantic-ui/modules/popup.less +1 -0
- data/app/assets/stylesheets/semantic-ui/modules/transition.less +5 -4
- data/lib/semantic/ui/rails/version.rb +1 -1
- 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' &&
|
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(
|
352
|
-
|
352
|
+
if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {
|
353
|
+
object = object[camelCaseValue];
|
353
354
|
}
|
354
|
-
else if(
|
355
|
-
found =
|
355
|
+
else if( object[camelCaseValue] !== undefined ) {
|
356
|
+
found = object[camelCaseValue];
|
356
357
|
return false;
|
357
358
|
}
|
358
|
-
else if( $.isPlainObject(
|
359
|
-
|
359
|
+
else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {
|
360
|
+
object = object[value];
|
360
361
|
}
|
361
|
-
else if(
|
362
|
-
found =
|
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
|
});
|
@@ -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
|
|
@@ -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
|
-
|
153
|
+
Slide
|
153
154
|
---------------*/
|
154
155
|
|
155
156
|
.ui.slide.down.transition.in {
|
@@ -198,7 +199,7 @@
|
|
198
199
|
*******************************/
|
199
200
|
|
200
201
|
/*--------------
|
201
|
-
|
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:
|
297
|
+
opacity: 1;
|
297
298
|
}
|
298
299
|
100% {
|
299
300
|
transform: rotateY(90deg);
|
300
|
-
opacity:
|
301
|
+
opacity: 0;
|
301
302
|
}
|
302
303
|
}
|
303
304
|
|
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.
|
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-
|
11
|
+
date: 2013-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails
|