semantic-ui-rails 0.9.3 → 0.9.5
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/behavior/form.js +1 -1
 - data/app/assets/javascripts/semantic-ui/modules/dropdown.js +1 -1
 - data/app/assets/javascripts/semantic-ui/modules/modal.js +2 -1
 - data/app/assets/javascripts/semantic-ui/modules/sidebar.js +2 -2
 - data/app/assets/javascripts/semantic-ui/modules/transition.js +1 -1
 - data/app/assets/stylesheets/semantic-ui/collections/form.less +10 -2
 - data/app/assets/stylesheets/semantic-ui/modules/modal.less +1 -1
 - data/app/assets/stylesheets/semantic-ui/modules/nag.less +1 -1
 - data/app/assets/stylesheets/semantic-ui/modules/sidebar.less +13 -2
 - data/lib/semantic/ui/rails/version.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a3a4fb64c5af5df81b1706a00f8fb56c0f54d243
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 975a4427e3d69096d59f9b9fc8fabcd30fb22aa1
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: d2a455088c4680322c04a276b478c59e2efe95d1363213cfc1432bfab5c28beb35afb29587b77496f8e697fcb4c4a095420134691e7eef35be0ed111d51025bd
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 1bfcd1137e380f3784eb534788d5de8698a42190416898e1af54af9d1c5171cef651d4813545552a8e492d0274efaefa4e9ec6c49a4c6f6b4f9674696850598b
         
     | 
| 
         @@ -638,7 +638,7 @@ $.fn.form.settings = { 
     | 
|
| 
       638 
638 
     | 
    
         
             
                },
         
     | 
| 
       639 
639 
     | 
    
         
             
                email: function(value){
         
     | 
| 
       640 
640 
     | 
    
         
             
                  var
         
     | 
| 
       641 
     | 
    
         
            -
                    emailRegExp = new RegExp("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?")
         
     | 
| 
      
 641 
     | 
    
         
            +
                    emailRegExp = new RegExp("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", "i")
         
     | 
| 
       642 
642 
     | 
    
         
             
                  ;
         
     | 
| 
       643 
643 
     | 
    
         
             
                  return emailRegExp.test(value);
         
     | 
| 
       644 
644 
     | 
    
         
             
                },
         
     | 
| 
         @@ -226,7 +226,6 @@ $.fn.modal = function(parameters) { 
     | 
|
| 
       226 
226 
     | 
    
         
             
                        : function(){}
         
     | 
| 
       227 
227 
     | 
    
         
             
                      ;
         
     | 
| 
       228 
228 
     | 
    
         
             
                      if( !module.is.active() ) {
         
     | 
| 
       229 
     | 
    
         
            -
                        module.debug('Showing modal');
         
     | 
| 
       230 
229 
     | 
    
         
             
                        module.cacheSizes();
         
     | 
| 
       231 
230 
     | 
    
         
             
                        module.set.position();
         
     | 
| 
       232 
231 
     | 
    
         
             
                        module.set.type();
         
     | 
| 
         @@ -237,6 +236,7 @@ $.fn.modal = function(parameters) { 
     | 
|
| 
       237 
236 
     | 
    
         
             
                        }
         
     | 
| 
       238 
237 
     | 
    
         
             
                        else {
         
     | 
| 
       239 
238 
     | 
    
         
             
                          if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
         
     | 
| 
      
 239 
     | 
    
         
            +
                            module.debug('Showing modal with css animations');
         
     | 
| 
       240 
240 
     | 
    
         
             
                            $module
         
     | 
| 
       241 
241 
     | 
    
         
             
                              .transition(settings.transition + ' in', settings.duration, function() {
         
     | 
| 
       242 
242 
     | 
    
         
             
                                module.set.active();
         
     | 
| 
         @@ -245,6 +245,7 @@ $.fn.modal = function(parameters) { 
     | 
|
| 
       245 
245 
     | 
    
         
             
                            ;
         
     | 
| 
       246 
246 
     | 
    
         
             
                          }
         
     | 
| 
       247 
247 
     | 
    
         
             
                          else {
         
     | 
| 
      
 248 
     | 
    
         
            +
                            module.debug('Showing modal with javascript');
         
     | 
| 
       248 
249 
     | 
    
         
             
                            $module
         
     | 
| 
       249 
250 
     | 
    
         
             
                              .fadeIn(settings.duration, settings.easing, function() {
         
     | 
| 
       250 
251 
     | 
    
         
             
                                module.set.active();
         
     | 
| 
         @@ -124,7 +124,7 @@ $.fn.transition = function() { 
     | 
|
| 
       124 
124 
     | 
    
         
             
                      if(!module.has.direction() && module.can.transition()) {
         
     | 
| 
       125 
125 
     | 
    
         
             
                        module.set.direction();
         
     | 
| 
       126 
126 
     | 
    
         
             
                      }
         
     | 
| 
       127 
     | 
    
         
            -
                      if(!module.has.transitionAvailable) {
         
     | 
| 
      
 127 
     | 
    
         
            +
                      if( !module.has.transitionAvailable() ) {
         
     | 
| 
       128 
128 
     | 
    
         
             
                        module.restore.conditions();
         
     | 
| 
       129 
129 
     | 
    
         
             
                        module.error(error.noAnimation);
         
     | 
| 
       130 
130 
     | 
    
         
             
                        return false;
         
     | 
| 
         @@ -69,6 +69,7 @@ 
     | 
|
| 
       69 
69 
     | 
    
         
             
            .ui.form input[type="date"],
         
     | 
| 
       70 
70 
     | 
    
         
             
            .ui.form input[type="password"],
         
     | 
| 
       71 
71 
     | 
    
         
             
            .ui.form input[type="number"],
         
     | 
| 
      
 72 
     | 
    
         
            +
            .ui.form input[type="url"],
         
     | 
| 
       72 
73 
     | 
    
         
             
            .ui.form input[type="tel"],
         
     | 
| 
       73 
74 
     | 
    
         
             
            .ui.form .ui.input {
         
     | 
| 
       74 
75 
     | 
    
         
             
              width: 100%;
         
     | 
| 
         @@ -80,7 +81,8 @@ 
     | 
|
| 
       80 
81 
     | 
    
         
             
            .ui.form input[type="date"],
         
     | 
| 
       81 
82 
     | 
    
         
             
            .ui.form input[type="password"],
         
     | 
| 
       82 
83 
     | 
    
         
             
            .ui.form input[type="number"],
         
     | 
| 
       83 
     | 
    
         
            -
            .ui.form input[type=" 
     | 
| 
      
 84 
     | 
    
         
            +
            .ui.form input[type="url"],
         
     | 
| 
      
 85 
     | 
    
         
            +
            .ui.form input[type="tel"] {
         
     | 
| 
       84 
86 
     | 
    
         | 
| 
       85 
87 
     | 
    
         
             
              margin: 0em;
         
     | 
| 
       86 
88 
     | 
    
         
             
              padding: 0.85em 1.2em;
         
     | 
| 
         @@ -209,6 +211,7 @@ 
     | 
|
| 
       209 
211 
     | 
    
         
             
            .ui.form input[type="date"]:focus,
         
     | 
| 
       210 
212 
     | 
    
         
             
            .ui.form input[type="password"]:focus,
         
     | 
| 
       211 
213 
     | 
    
         
             
            .ui.form input[type="number"]:focus,
         
     | 
| 
      
 214 
     | 
    
         
            +
            .ui.form input[type="url"]:focus,
         
     | 
| 
       212 
215 
     | 
    
         
             
            .ui.form input[type="tel"]:focus,
         
     | 
| 
       213 
216 
     | 
    
         
             
            .ui.form textarea:focus{
         
     | 
| 
       214 
217 
     | 
    
         
             
              color: rgba(0, 0, 0, 0.85);
         
     | 
| 
         @@ -261,6 +264,7 @@ 
     | 
|
| 
       261 
264 
     | 
    
         
             
            .ui.form .fields.error .field input[type="date"],
         
     | 
| 
       262 
265 
     | 
    
         
             
            .ui.form .fields.error .field input[type="password"],
         
     | 
| 
       263 
266 
     | 
    
         
             
            .ui.form .fields.error .field input[type="number"],
         
     | 
| 
      
 267 
     | 
    
         
            +
            .ui.form .fields.error .field input[type="url"],
         
     | 
| 
       264 
268 
     | 
    
         
             
            .ui.form .fields.error .field input[type="tel"],
         
     | 
| 
       265 
269 
     | 
    
         
             
            .ui.form .field.error textarea,
         
     | 
| 
       266 
270 
     | 
    
         
             
            .ui.form .field.error input[type="text"],
         
     | 
| 
         @@ -268,7 +272,8 @@ 
     | 
|
| 
       268 
272 
     | 
    
         
             
            .ui.form .field.error input[type="date"],
         
     | 
| 
       269 
273 
     | 
    
         
             
            .ui.form .field.error input[type="password"],
         
     | 
| 
       270 
274 
     | 
    
         
             
            .ui.form .field.error input[type="number"],
         
     | 
| 
       271 
     | 
    
         
            -
            .ui.form .field.error input[type=" 
     | 
| 
      
 275 
     | 
    
         
            +
            .ui.form .field.error input[type="url"],
         
     | 
| 
      
 276 
     | 
    
         
            +
            .ui.form .field.error input[type="tel"] {
         
     | 
| 
       272 
277 
     | 
    
         
             
              background-color: #FFFAFA;
         
     | 
| 
       273 
278 
     | 
    
         
             
              border-color: #E7BEBE;
         
     | 
| 
       274 
279 
     | 
    
         
             
              border-left: none;
         
     | 
| 
         @@ -289,6 +294,7 @@ 
     | 
|
| 
       289 
294 
     | 
    
         
             
            .ui.form .field.error input[type="date"]:focus,
         
     | 
| 
       290 
295 
     | 
    
         
             
            .ui.form .field.error input[type="password"]:focus,
         
     | 
| 
       291 
296 
     | 
    
         
             
            .ui.form .field.error input[type="number"]:focus,
         
     | 
| 
      
 297 
     | 
    
         
            +
            .ui.form .field.error input[type="url"]:focus,
         
     | 
| 
       292 
298 
     | 
    
         
             
            .ui.form .field.error input[type="tel"]:focus{
         
     | 
| 
       293 
299 
     | 
    
         
             
              border-color: rgba(255, 80, 80, 1);
         
     | 
| 
       294 
300 
     | 
    
         
             
              color: rgba(255, 80, 80, 1);
         
     | 
| 
         @@ -425,6 +431,7 @@ 
     | 
|
| 
       425 
431 
     | 
    
         
             
            .ui.inverted.form .field.error input[type="date"],
         
     | 
| 
       426 
432 
     | 
    
         
             
            .ui.inverted.form .field.error input[type="password"],
         
     | 
| 
       427 
433 
     | 
    
         
             
            .ui.inverted.form .field.error input[type="number"],
         
     | 
| 
      
 434 
     | 
    
         
            +
            .ui.inverted.form .field.error input[type="url"],
         
     | 
| 
       428 
435 
     | 
    
         
             
            .ui.inverted.form .field.error input[type="tel"]{
         
     | 
| 
       429 
436 
     | 
    
         
             
              background-color: #FFCCCC;
         
     | 
| 
       430 
437 
     | 
    
         
             
            }
         
     | 
| 
         @@ -561,6 +568,7 @@ 
     | 
|
| 
       561 
568 
     | 
    
         
             
            .ui.small.form input[type="date"],
         
     | 
| 
       562 
569 
     | 
    
         
             
            .ui.small.form input[type="password"],
         
     | 
| 
       563 
570 
     | 
    
         
             
            .ui.small.form input[type="number"],
         
     | 
| 
      
 571 
     | 
    
         
            +
            .ui.small.form input[type="url"],
         
     | 
| 
       564 
572 
     | 
    
         
             
            .ui.small.form input[type="tel"],
         
     | 
| 
       565 
573 
     | 
    
         
             
            .ui.small.form label{
         
     | 
| 
       566 
574 
     | 
    
         
             
              font-size: 1em;
         
     | 
| 
         @@ -79,6 +79,14 @@ body { 
     | 
|
| 
       79 
79 
     | 
    
         
             
              ;
         
     | 
| 
       80 
80 
     | 
    
         
             
            }
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
      
 82 
     | 
    
         
            +
            /*-------------------
         
     | 
| 
      
 83 
     | 
    
         
            +
                  Coupling
         
     | 
| 
      
 84 
     | 
    
         
            +
            --------------------*/
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            body.pushed.scrolling.ui.dimmable {
         
     | 
| 
      
 87 
     | 
    
         
            +
              position: static;
         
     | 
| 
      
 88 
     | 
    
         
            +
            }
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
       82 
90 
     | 
    
         | 
| 
       83 
91 
     | 
    
         
             
            /*******************************
         
     | 
| 
       84 
92 
     | 
    
         
             
                         Types
         
     | 
| 
         @@ -88,8 +96,11 @@ body { 
     | 
|
| 
       88 
96 
     | 
    
         
             
                   Direction
         
     | 
| 
       89 
97 
     | 
    
         
             
            --------------------*/
         
     | 
| 
       90 
98 
     | 
    
         | 
| 
       91 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
            .ui.right.sidebar 
     | 
| 
      
 99 
     | 
    
         
            +
            .ui.right.very.thin.sidebar,
         
     | 
| 
      
 100 
     | 
    
         
            +
            .ui.right.thin.sidebar,
         
     | 
| 
      
 101 
     | 
    
         
            +
            .ui.right.sidebar,
         
     | 
| 
      
 102 
     | 
    
         
            +
            .ui.right.wide.sidebar,
         
     | 
| 
      
 103 
     | 
    
         
            +
            .ui.right.very.wide.sidebar {
         
     | 
| 
       93 
104 
     | 
    
         
             
              left: 100%;
         
     | 
| 
       94 
105 
     | 
    
         
             
              margin: 0px !important;
         
     | 
| 
       95 
106 
     | 
    
         
             
            }
         
     | 
    
        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.9. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.9.5
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - nd0ut
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2013-11- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2013-11-25 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: less-rails
         
     |