twbs_sass_rails 4.3.1 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/twbs_sass_rails/version.rb +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/affix.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/alert.js +4 -4
- data/vendor/assets/javascripts/twbs/bootstrap/button.js +13 -8
- data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +4 -3
- data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/modal.js +6 -4
- data/vendor/assets/javascripts/twbs/bootstrap/popover.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/tab.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +13 -7
- data/vendor/assets/javascripts/twbs/bootstrap/transition.js +2 -2
- data/vendor/assets/stylesheets/twbs/_bootstrap.scss +2 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_button-groups.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_forms.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_input-groups.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_panels.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_scaffolding.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_theme.scss +2 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_variables.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_tab-focus.scss +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 09cb67611494ba92fa24b0734dabe17adf14dceb
|
4
|
+
data.tar.gz: 35496bf27c238e1accbfc2c5ca08a468d4968d29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 637ddda504e7a62acb5be231b0fcd112b97ed0f77dc61608a098fadaf7d6d1fc57fca58c7cb4eba96698807243056f508f239baf11ac955b05eb7b4c04f4ecf7
|
7
|
+
data.tar.gz: 5d8ee6c0b96554e1fbe8a44ba73788187ca79ec16c0ddd39e84cfad3ea55b9a53ee2ac020e8bf4bc792cd90042135c520a73b6079dcf3b0ce2c9c3ceb4c82f7d
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
//= require ./bootstrap/
|
1
|
+
//= require ./bootstrap/transition
|
2
2
|
//= require ./bootstrap/alert
|
3
3
|
//= require ./bootstrap/button
|
4
4
|
//= require ./bootstrap/carousel
|
5
5
|
//= require ./bootstrap/collapse
|
6
6
|
//= require ./bootstrap/dropdown
|
7
7
|
//= require ./bootstrap/modal
|
8
|
-
//= require ./bootstrap/scrollspy
|
9
8
|
//= require ./bootstrap/tab
|
10
|
-
//= require ./bootstrap/
|
9
|
+
//= require ./bootstrap/affix
|
10
|
+
//= require ./bootstrap/scrollspy
|
11
11
|
//= require ./bootstrap/tooltip
|
12
12
|
//= require ./bootstrap/popover
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: affix.js v3.3.
|
2
|
+
* Bootstrap: affix.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#affix
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
this.checkPosition()
|
29
29
|
}
|
30
30
|
|
31
|
-
Affix.VERSION = '3.3.
|
31
|
+
Affix.VERSION = '3.3.7'
|
32
32
|
|
33
33
|
Affix.RESET = 'affix affix-top affix-bottom'
|
34
34
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: alert.js v3.3.
|
2
|
+
* Bootstrap: alert.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#alerts
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
$(el).on('click', dismiss, this.close)
|
19
19
|
}
|
20
20
|
|
21
|
-
Alert.VERSION = '3.3.
|
21
|
+
Alert.VERSION = '3.3.7'
|
22
22
|
|
23
23
|
Alert.TRANSITION_DURATION = 150
|
24
24
|
|
@@ -31,7 +31,7 @@
|
|
31
31
|
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
32
32
|
}
|
33
33
|
|
34
|
-
var $parent = $(selector)
|
34
|
+
var $parent = $(selector === '#' ? [] : selector)
|
35
35
|
|
36
36
|
if (e) e.preventDefault()
|
37
37
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: button.js v3.3.
|
2
|
+
* Bootstrap: button.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#buttons
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
this.isLoading = false
|
20
20
|
}
|
21
21
|
|
22
|
-
Button.VERSION = '3.3.
|
22
|
+
Button.VERSION = '3.3.7'
|
23
23
|
|
24
24
|
Button.DEFAULTS = {
|
25
25
|
loadingText: 'loading...'
|
@@ -41,10 +41,10 @@
|
|
41
41
|
|
42
42
|
if (state == 'loadingText') {
|
43
43
|
this.isLoading = true
|
44
|
-
$el.addClass(d).attr(d, d)
|
44
|
+
$el.addClass(d).attr(d, d).prop(d, true)
|
45
45
|
} else if (this.isLoading) {
|
46
46
|
this.isLoading = false
|
47
|
-
$el.removeClass(d).removeAttr(d)
|
47
|
+
$el.removeClass(d).removeAttr(d).prop(d, false)
|
48
48
|
}
|
49
49
|
}, this), 0)
|
50
50
|
}
|
@@ -108,10 +108,15 @@
|
|
108
108
|
|
109
109
|
$(document)
|
110
110
|
.on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
111
|
-
var $btn = $(e.target)
|
112
|
-
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
|
111
|
+
var $btn = $(e.target).closest('.btn')
|
113
112
|
Plugin.call($btn, 'toggle')
|
114
|
-
if (!($(e.target).is('input[type="radio"]
|
113
|
+
if (!($(e.target).is('input[type="radio"], input[type="checkbox"]'))) {
|
114
|
+
// Prevent double click on radios, and the double selections (so cancellation) on checkboxes
|
115
|
+
e.preventDefault()
|
116
|
+
// The target component still receive the focus
|
117
|
+
if ($btn.is('input,button')) $btn.trigger('focus')
|
118
|
+
else $btn.find('input:visible,button:visible').first().trigger('focus')
|
119
|
+
}
|
115
120
|
})
|
116
121
|
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
117
122
|
$(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: carousel.js v3.3.
|
2
|
+
* Bootstrap: carousel.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#carousel
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
|
31
31
|
}
|
32
32
|
|
33
|
-
Carousel.VERSION = '3.3.
|
33
|
+
Carousel.VERSION = '3.3.7'
|
34
34
|
|
35
35
|
Carousel.TRANSITION_DURATION = 600
|
36
36
|
|
@@ -1,11 +1,12 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: collapse.js v3.3.
|
2
|
+
* Bootstrap: collapse.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#collapse
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
9
|
+
/* jshint latedef: false */
|
9
10
|
|
10
11
|
+function ($) {
|
11
12
|
'use strict';
|
@@ -29,7 +30,7 @@
|
|
29
30
|
if (this.options.toggle) this.toggle()
|
30
31
|
}
|
31
32
|
|
32
|
-
Collapse.VERSION = '3.3.
|
33
|
+
Collapse.VERSION = '3.3.7'
|
33
34
|
|
34
35
|
Collapse.TRANSITION_DURATION = 350
|
35
36
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: dropdown.js v3.3.
|
2
|
+
* Bootstrap: dropdown.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#dropdowns
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
$(element).on('click.bs.dropdown', this.toggle)
|
20
20
|
}
|
21
21
|
|
22
|
-
Dropdown.VERSION = '3.3.
|
22
|
+
Dropdown.VERSION = '3.3.7'
|
23
23
|
|
24
24
|
function getParent($this) {
|
25
25
|
var selector = $this.attr('data-target')
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: modal.js v3.3.
|
2
|
+
* Bootstrap: modal.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#modals
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -33,7 +33,7 @@
|
|
33
33
|
}
|
34
34
|
}
|
35
35
|
|
36
|
-
Modal.VERSION = '3.3.
|
36
|
+
Modal.VERSION = '3.3.7'
|
37
37
|
|
38
38
|
Modal.TRANSITION_DURATION = 300
|
39
39
|
Modal.BACKDROP_TRANSITION_DURATION = 150
|
@@ -140,7 +140,9 @@
|
|
140
140
|
$(document)
|
141
141
|
.off('focusin.bs.modal') // guard against infinite focus loop
|
142
142
|
.on('focusin.bs.modal', $.proxy(function (e) {
|
143
|
-
if (
|
143
|
+
if (document !== e.target &&
|
144
|
+
this.$element[0] !== e.target &&
|
145
|
+
!this.$element.has(e.target).length) {
|
144
146
|
this.$element.trigger('focus')
|
145
147
|
}
|
146
148
|
}, this))
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: popover.js v3.3.
|
2
|
+
* Bootstrap: popover.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#popovers
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
|
21
21
|
|
22
|
-
Popover.VERSION = '3.3.
|
22
|
+
Popover.VERSION = '3.3.7'
|
23
23
|
|
24
24
|
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
|
25
25
|
placement: 'right',
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: scrollspy.js v3.3.
|
2
|
+
* Bootstrap: scrollspy.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#scrollspy
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
this.process()
|
29
29
|
}
|
30
30
|
|
31
|
-
ScrollSpy.VERSION = '3.3.
|
31
|
+
ScrollSpy.VERSION = '3.3.7'
|
32
32
|
|
33
33
|
ScrollSpy.DEFAULTS = {
|
34
34
|
offset: 10
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tab.js v3.3.
|
2
|
+
* Bootstrap: tab.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#tabs
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
// jscs:enable requireDollarBeforejQueryAssignment
|
20
20
|
}
|
21
21
|
|
22
|
-
Tab.VERSION = '3.3.
|
22
|
+
Tab.VERSION = '3.3.7'
|
23
23
|
|
24
24
|
Tab.TRANSITION_DURATION = 150
|
25
25
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: tooltip.js v3.3.
|
2
|
+
* Bootstrap: tooltip.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#tooltip
|
4
4
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
5
5
|
* ========================================================================
|
6
|
-
* Copyright 2011-
|
6
|
+
* Copyright 2011-2016 Twitter, Inc.
|
7
7
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
8
8
|
* ======================================================================== */
|
9
9
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
this.init('tooltip', element, options)
|
27
27
|
}
|
28
28
|
|
29
|
-
Tooltip.VERSION = '3.3.
|
29
|
+
Tooltip.VERSION = '3.3.7'
|
30
30
|
|
31
31
|
Tooltip.TRANSITION_DURATION = 150
|
32
32
|
|
@@ -317,9 +317,11 @@
|
|
317
317
|
|
318
318
|
function complete() {
|
319
319
|
if (that.hoverState != 'in') $tip.detach()
|
320
|
-
that.$element
|
321
|
-
|
322
|
-
|
320
|
+
if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.
|
321
|
+
that.$element
|
322
|
+
.removeAttr('aria-describedby')
|
323
|
+
.trigger('hidden.bs.' + that.type)
|
324
|
+
}
|
323
325
|
callback && callback()
|
324
326
|
}
|
325
327
|
|
@@ -362,7 +364,10 @@
|
|
362
364
|
// width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
|
363
365
|
elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
|
364
366
|
}
|
365
|
-
var
|
367
|
+
var isSvg = window.SVGElement && el instanceof window.SVGElement
|
368
|
+
// Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.
|
369
|
+
// See https://github.com/twbs/bootstrap/issues/20280
|
370
|
+
var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())
|
366
371
|
var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
|
367
372
|
var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
|
368
373
|
|
@@ -478,6 +483,7 @@
|
|
478
483
|
that.$tip = null
|
479
484
|
that.$arrow = null
|
480
485
|
that.$viewport = null
|
486
|
+
that.$element = null
|
481
487
|
})
|
482
488
|
}
|
483
489
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* ========================================================================
|
2
|
-
* Bootstrap: transition.js v3.3.
|
2
|
+
* Bootstrap: transition.js v3.3.7
|
3
3
|
* http://getbootstrap.com/javascript/#transitions
|
4
4
|
* ========================================================================
|
5
|
-
* Copyright 2011-
|
5
|
+
* Copyright 2011-2016 Twitter, Inc.
|
6
6
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
7
|
* ======================================================================== */
|
8
8
|
|
@@ -59,7 +59,7 @@
|
|
59
59
|
@include border-right-radius(0);
|
60
60
|
}
|
61
61
|
}
|
62
|
-
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
62
|
+
// Need .dropdown-toggle since :last-child doesn't apply, given that a .dropdown-menu is used immediately after it
|
63
63
|
.btn-group > .btn:last-child:not(:first-child),
|
64
64
|
.btn-group > .dropdown-toggle:not(:first-child) {
|
65
65
|
@include border-left-radius(0);
|
@@ -183,7 +183,7 @@ input[type="search"] {
|
|
183
183
|
// set a pixel line-height that matches the given height of the input, but only
|
184
184
|
// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
|
185
185
|
//
|
186
|
-
// Note that as of
|
186
|
+
// Note that as of 9.3, iOS doesn't support `week`.
|
187
187
|
|
188
188
|
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
189
189
|
input[type="date"],
|
@@ -116,7 +116,7 @@ $component-active-color: #fff !default;
|
|
116
116
|
//** Global background color for active items (e.g., navs or dropdowns).
|
117
117
|
$component-active-bg: $brand-primary !default;
|
118
118
|
|
119
|
-
//** Width of the `border` for generating carets that
|
119
|
+
//** Width of the `border` for generating carets that indicate dropdowns.
|
120
120
|
$caret-width-base: 4px !default;
|
121
121
|
//** Carets increase slightly in size for larger components.
|
122
122
|
$caret-width-large: 5px !default;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
// WebKit-style focus
|
2
2
|
|
3
3
|
@mixin tab-focus() {
|
4
|
-
//
|
5
|
-
outline:
|
6
|
-
//
|
4
|
+
// WebKit-specific. Other browsers will keep their default outline style.
|
5
|
+
// (Initially tried to also force default via `outline: initial`,
|
6
|
+
// but that seems to erroneously remove the outline in Firefox altogether.)
|
7
7
|
outline: 5px auto -webkit-focus-ring-color;
|
8
8
|
outline-offset: -2px;
|
9
9
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twbs_sass_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- diowa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|
@@ -146,14 +146,14 @@ dependencies:
|
|
146
146
|
requirements:
|
147
147
|
- - "~>"
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0.
|
149
|
+
version: 0.42.0
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
154
|
- - "~>"
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: 0.
|
156
|
+
version: 0.42.0
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: scss_lint
|
159
159
|
requirement: !ruby/object:Gem::Requirement
|