bootstrap-bookingsync-sass 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -4
- data/assets/javascripts/bookingsync/form.js +9 -9
- data/lib/bootstrap/bookingsync/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: 79d31ffdf77934799d29a0cacfcfe76818ff1fef
|
4
|
+
data.tar.gz: 22d0fe6a3ed435c0fbeb1b0f3bc8b5268837e456
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6c1562ae01e16e38b10a97c1d40d9625a476010b7734e0a7b24c2468945fd9b1b385fa50d718689381d2fc22d42f63f4f42632dcabb7312cc1526ec2bb939a6
|
7
|
+
data.tar.gz: 889ba7ee1723ab4b49fdf3f860c70251e80229916b750b2a8bbf57c89b9e655f1b3559d61d2feaa7b381d418e23edb64f901bb45a0b9199bb7c010510bb974fb
|
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,21 @@
|
|
1
1
|
### master
|
2
2
|
|
3
|
+
### 1.0.4 - 2017-06-14
|
4
|
+
|
5
|
+
* bug fixes
|
6
|
+
* fix label mixed with value for `select` input
|
7
|
+
|
3
8
|
### 1.0.3 - 2017-04-28
|
4
9
|
|
5
10
|
* bug fixes
|
6
11
|
* remove fonts from broccoli pipeline
|
7
|
-
|
12
|
+
|
8
13
|
### 1.0.2 - 2017-04-14
|
9
14
|
|
10
15
|
* bug fixes
|
11
16
|
* Ember Add-on: add 'filled' class-name to input, textarea with value.
|
12
17
|
* `form.js` to use more correct `DOMContentLoaded` event instead of `ready`.
|
13
|
-
|
18
|
+
|
14
19
|
* improvements
|
15
20
|
* fix power select shifting the bottom content on focus.
|
16
21
|
* add icons `icon-trash` and `icon-clone`
|
@@ -22,7 +27,7 @@
|
|
22
27
|
* fix menu and navigation on tablet (768px width) devices.
|
23
28
|
* fix menu z-index.
|
24
29
|
* fix tabs styling when active tab is also focused.
|
25
|
-
|
30
|
+
|
26
31
|
* improvements
|
27
32
|
* add `.text-nowrap` util class
|
28
33
|
|
@@ -140,7 +145,7 @@
|
|
140
145
|
* Add styling for Ember Power Select
|
141
146
|
* Improve Buttons styling
|
142
147
|
* Add Buttons loading animation
|
143
|
-
* Add `list-group` support with nesting and icons support
|
148
|
+
* Add `list-group` support with nesting and icons support
|
144
149
|
* Add `.sided-content` to use with `menu`
|
145
150
|
* Add `.navbar-breadcrumb`
|
146
151
|
|
@@ -5,14 +5,16 @@
|
|
5
5
|
* Licensed under MIT (https://github.com/BookingSync/styleguide/blob/master/LICENSE)
|
6
6
|
* ======================================================================== */
|
7
7
|
|
8
|
+
var setInputFilledValue = function(elt) {
|
9
|
+
$(elt).parents('.form-group').toggleClass('filled', !!$(elt).val());
|
10
|
+
};
|
11
|
+
|
8
12
|
+function ($, document) {
|
9
13
|
'use strict';
|
10
14
|
|
11
15
|
$(document).on('DOMContentLoaded', function() {
|
12
16
|
$('.form-group .form-control').each(function (index, e) {
|
13
|
-
|
14
|
-
$(e).parents('.form-group').addClass('filled');
|
15
|
-
}
|
17
|
+
setInputFilledValue(e)
|
16
18
|
});
|
17
19
|
$('.checkbox input[type="checkbox"][disabled]').each(function (index, e) {
|
18
20
|
$(e).parents('.checkbox').addClass('disabled');
|
@@ -39,12 +41,10 @@
|
|
39
41
|
});
|
40
42
|
$(document).on('blur', '.form-group .form-control', function (e) {
|
41
43
|
$(e.target).parents('.form-group').removeClass('focused');
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
$(e.target).parents('.form-group').addClass('filled');
|
47
|
-
}
|
44
|
+
setInputFilledValue(e.target)
|
45
|
+
});
|
46
|
+
$(document).on('change', '.select .form-group .form-control', function (e) {
|
47
|
+
setInputFilledValue(e.target)
|
48
48
|
});
|
49
49
|
});
|
50
50
|
}(jQuery, document);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-bookingsync-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien Grosjean
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-sass
|