fomantic-ui-sass 2.9.1 → 2.9.2
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/CHANGELOG.md +8 -0
- data/app/assets/fonts/semantic-ui/Lato-Bold.woff +0 -0
- data/app/assets/fonts/semantic-ui/Lato-Bold.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/Lato-BoldItalic.woff +0 -0
- data/app/assets/fonts/semantic-ui/Lato-BoldItalic.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/Lato-Italic.woff +0 -0
- data/app/assets/fonts/semantic-ui/Lato-Italic.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/Lato-Regular.woff +0 -0
- data/app/assets/fonts/semantic-ui/Lato-Regular.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-Bold.woff +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-Bold.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-BoldItalic.woff +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-BoldItalic.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-Italic.woff +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-Italic.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-Regular.woff +0 -0
- data/app/assets/fonts/semantic-ui/LatoLatin-Regular.woff2 +0 -0
- data/app/assets/javascripts/semantic-ui/accordion.js +3 -3
- data/app/assets/javascripts/semantic-ui/dimmer.js +2 -2
- data/app/assets/javascripts/semantic-ui/dropdown.js +2 -2
- data/app/assets/javascripts/semantic-ui/embed.js +1 -1
- data/app/assets/javascripts/semantic-ui/flyout.js +17 -29
- data/app/assets/javascripts/semantic-ui/form.js +116 -106
- data/app/assets/javascripts/semantic-ui/modal.js +14 -7
- data/app/assets/javascripts/semantic-ui/popup.js +19 -7
- data/app/assets/javascripts/semantic-ui/progress.js +2 -28
- data/app/assets/javascripts/semantic-ui/search.js +1 -1
- data/app/assets/javascripts/semantic-ui/shape.js +14 -36
- data/app/assets/javascripts/semantic-ui/sidebar.js +6 -26
- data/app/assets/javascripts/semantic-ui/toast.js +2 -2
- data/app/assets/javascripts/semantic-ui/transition.js +9 -60
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +66 -37
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +7 -1
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +31 -7
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_emoji.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +59 -25
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +26 -4
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +4 -4
- data/app/assets/stylesheets/semantic-ui/elements/_text.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +1 -10
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +40 -40
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +8 -6
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/modules/_flyout.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +148 -3
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +9 -6
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_ad.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +1 -1
- data/lib/fomantic/ui/sass/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9caad3170202a6bfd657e19d60e505e15e0c96d8ca2f85404d352d78ffa13a09
|
|
4
|
+
data.tar.gz: 252679afdbcb408e17a273f2bb2ce8c89a2c53d8ab0d190d956b620e9732d2b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1b71b6b9d3bbabe3e73c2467c31598b311cf5755aeda0f8168de7454aa0ee9e341bdc5151a6988137f02a14aa58bdece6b4ec49d30723cafbdd2c5dd273885c
|
|
7
|
+
data.tar.gz: 89f84b4356be1d3e7beb34030e443e998bf17768aa2152ca23625b8bbefa77dbde3bbcc4636a7adf76e58946a5591aaed1a19e6fc127e7fac4ddb46719b24fd8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 2.9.2
|
|
2
|
+
|
|
3
|
+
Update Fomantic UI to [2.9.2](https://github.com/fomantic/Fomantic-UI/releases/tag/2.9.2)
|
|
4
|
+
|
|
5
|
+
## 2.9.1
|
|
6
|
+
|
|
7
|
+
Update Fomantic UI to [2.9.1](https://github.com/fomantic/Fomantic-UI/releases/tag/2.9.1)
|
|
8
|
+
|
|
1
9
|
## 2.9.0
|
|
2
10
|
|
|
3
11
|
Update Fomantic UI to [2.9.0](https://github.com/fomantic/Fomantic-UI/releases/tag/2.9.0)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
.addClass(className.animating)
|
|
176
176
|
;
|
|
177
177
|
if (settings.animateChildren) {
|
|
178
|
-
if ($.fn.transition !== undefined
|
|
178
|
+
if ($.fn.transition !== undefined) {
|
|
179
179
|
$activeContent
|
|
180
180
|
.children()
|
|
181
181
|
.transition({
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
.addClass(className.animating)
|
|
240
240
|
;
|
|
241
241
|
if (settings.animateChildren) {
|
|
242
|
-
if ($.fn.transition !== undefined
|
|
242
|
+
if ($.fn.transition !== undefined) {
|
|
243
243
|
$activeContent
|
|
244
244
|
.children()
|
|
245
245
|
.transition({
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
.stop(true, true)
|
|
309
309
|
;
|
|
310
310
|
if (settings.animateChildren) {
|
|
311
|
-
if ($.fn.transition !== undefined
|
|
311
|
+
if ($.fn.transition !== undefined) {
|
|
312
312
|
$openContents
|
|
313
313
|
.children()
|
|
314
314
|
.transition({
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
callback = isFunction(callback)
|
|
230
230
|
? callback
|
|
231
231
|
: function () {};
|
|
232
|
-
if (settings.useCSS && $.fn.transition !== undefined
|
|
232
|
+
if (settings.useCSS && $.fn.transition !== undefined) {
|
|
233
233
|
if (settings.useFlex) {
|
|
234
234
|
module.debug('Using flex dimmer');
|
|
235
235
|
module.remove.legacy();
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
callback = isFunction(callback)
|
|
289
289
|
? callback
|
|
290
290
|
: function () {};
|
|
291
|
-
if (settings.useCSS && $.fn.transition !== undefined
|
|
291
|
+
if (settings.useCSS && $.fn.transition !== undefined) {
|
|
292
292
|
module.verbose('Hiding dimmer with css');
|
|
293
293
|
$dimmer
|
|
294
294
|
.transition({
|
|
@@ -3637,7 +3637,7 @@
|
|
|
3637
3637
|
displayType: module.get.displayType(),
|
|
3638
3638
|
}).transition('show');
|
|
3639
3639
|
callback.call(element);
|
|
3640
|
-
} else if (module.can.useElement('transition')
|
|
3640
|
+
} else if (module.can.useElement('transition')) {
|
|
3641
3641
|
$currentMenu
|
|
3642
3642
|
.transition({
|
|
3643
3643
|
animation: transition + ' in',
|
|
@@ -3679,7 +3679,7 @@
|
|
|
3679
3679
|
displayType: module.get.displayType(),
|
|
3680
3680
|
}).transition('hide');
|
|
3681
3681
|
callback.call(element);
|
|
3682
|
-
} else if ($.fn.transition !== undefined
|
|
3682
|
+
} else if ($.fn.transition !== undefined) {
|
|
3683
3683
|
$currentMenu
|
|
3684
3684
|
.transition({
|
|
3685
3685
|
animation: transition + ' out',
|
|
@@ -655,7 +655,7 @@
|
|
|
655
655
|
return ''
|
|
656
656
|
+ '<iframe src="' + deQuote(src) + '"'
|
|
657
657
|
+ ' width="100%" height="100%"'
|
|
658
|
-
+ '
|
|
658
|
+
+ ' msallowFullScreen allowFullScreen></iframe>';
|
|
659
659
|
},
|
|
660
660
|
placeholder: function (image, icon) {
|
|
661
661
|
var
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
elementNamespace,
|
|
81
81
|
id,
|
|
82
82
|
observer,
|
|
83
|
+
observeAttributes = false,
|
|
83
84
|
currentScroll,
|
|
84
|
-
transitionEvent,
|
|
85
85
|
|
|
86
86
|
module
|
|
87
87
|
;
|
|
@@ -145,8 +145,6 @@
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
transitionEvent = module.get.transitionEvent();
|
|
149
|
-
|
|
150
148
|
// avoids locking rendering if initialized in onReady
|
|
151
149
|
if (settings.delaySetup) {
|
|
152
150
|
requestAnimationFrame(module.setup.layout);
|
|
@@ -498,7 +496,7 @@
|
|
|
498
496
|
;
|
|
499
497
|
mutations.every(function (mutation) {
|
|
500
498
|
if (mutation.type === 'attributes') {
|
|
501
|
-
if (mutation.attributeName === 'disabled' || $(mutation.target).find(':input').addBack(':input')) {
|
|
499
|
+
if (observeAttributes && (mutation.attributeName === 'disabled' || $(mutation.target).find(':input').addBack(':input').length > 0)) {
|
|
502
500
|
shouldRefreshInputs = true;
|
|
503
501
|
}
|
|
504
502
|
} else {
|
|
@@ -549,13 +547,14 @@
|
|
|
549
547
|
if (!settings.dimPage) {
|
|
550
548
|
return;
|
|
551
549
|
}
|
|
552
|
-
$inputs = $module.find('[tabindex], :input:enabled').filter(':visible').filter(function () {
|
|
550
|
+
$inputs = $module.find('a[href], [tabindex], :input:enabled').filter(':visible').filter(function () {
|
|
553
551
|
return $(this).closest('.disabled').length === 0;
|
|
554
552
|
});
|
|
555
|
-
$module.removeAttr('tabindex');
|
|
556
553
|
if ($inputs.length === 0) {
|
|
557
554
|
$inputs = $module;
|
|
558
555
|
$module.attr('tabindex', -1);
|
|
556
|
+
} else {
|
|
557
|
+
$module.removeAttr('tabindex');
|
|
559
558
|
}
|
|
560
559
|
$inputs.first()
|
|
561
560
|
.on('keydown' + elementNamespace, module.event.inputKeyDown.first)
|
|
@@ -652,6 +651,7 @@
|
|
|
652
651
|
}
|
|
653
652
|
}
|
|
654
653
|
module.set.dimmerStyles();
|
|
654
|
+
module.set.observeAttributes(false);
|
|
655
655
|
module.pushPage(function () {
|
|
656
656
|
callback.call(element);
|
|
657
657
|
settings.onVisible.call(element);
|
|
@@ -660,6 +660,7 @@
|
|
|
660
660
|
}
|
|
661
661
|
module.save.focus();
|
|
662
662
|
module.refreshInputs();
|
|
663
|
+
requestAnimationFrame(module.set.observeAttributes);
|
|
663
664
|
});
|
|
664
665
|
settings.onChange.call(element);
|
|
665
666
|
} else {
|
|
@@ -680,6 +681,7 @@
|
|
|
680
681
|
if (module.is.visible() || module.is.animating()) {
|
|
681
682
|
module.debug('Hiding flyout', callback);
|
|
682
683
|
module.refreshFlyouts();
|
|
684
|
+
module.set.observeAttributes(false);
|
|
683
685
|
module.pullPage(function () {
|
|
684
686
|
callback.call(element);
|
|
685
687
|
if (isFunction(settings.onHidden)) {
|
|
@@ -752,13 +754,13 @@
|
|
|
752
754
|
};
|
|
753
755
|
transitionEnd = function (event) {
|
|
754
756
|
if (event.target === $module[0]) {
|
|
755
|
-
$module.off(
|
|
757
|
+
$module.off('transitionend' + elementNamespace, transitionEnd);
|
|
756
758
|
module.remove.animating();
|
|
757
759
|
callback.call(element);
|
|
758
760
|
}
|
|
759
761
|
};
|
|
760
|
-
$module.off(
|
|
761
|
-
$module.on(
|
|
762
|
+
$module.off('transitionend' + elementNamespace);
|
|
763
|
+
$module.on('transitionend' + elementNamespace, transitionEnd);
|
|
762
764
|
requestAnimationFrame(animate);
|
|
763
765
|
if (settings.dimPage && !module.othersVisible()) {
|
|
764
766
|
requestAnimationFrame(dim);
|
|
@@ -793,7 +795,7 @@
|
|
|
793
795
|
};
|
|
794
796
|
transitionEnd = function (event) {
|
|
795
797
|
if (event.target === $module[0]) {
|
|
796
|
-
$module.off(
|
|
798
|
+
$module.off('transitionend' + elementNamespace, transitionEnd);
|
|
797
799
|
module.remove.animating();
|
|
798
800
|
module.remove.closing();
|
|
799
801
|
module.remove.overlay();
|
|
@@ -807,8 +809,8 @@
|
|
|
807
809
|
callback.call(element);
|
|
808
810
|
}
|
|
809
811
|
};
|
|
810
|
-
$module.off(
|
|
811
|
-
$module.on(
|
|
812
|
+
$module.off('transitionend' + elementNamespace);
|
|
813
|
+
$module.on('transitionend' + elementNamespace, transitionEnd);
|
|
812
814
|
requestAnimationFrame(animate);
|
|
813
815
|
},
|
|
814
816
|
|
|
@@ -831,6 +833,9 @@
|
|
|
831
833
|
},
|
|
832
834
|
|
|
833
835
|
set: {
|
|
836
|
+
observeAttributes: function (state) {
|
|
837
|
+
observeAttributes = state !== false;
|
|
838
|
+
},
|
|
834
839
|
autofocus: function () {
|
|
835
840
|
var
|
|
836
841
|
$autofocus = $inputs.filter('[autofocus]'),
|
|
@@ -973,23 +978,6 @@
|
|
|
973
978
|
|
|
974
979
|
return className.left;
|
|
975
980
|
},
|
|
976
|
-
transitionEvent: function () {
|
|
977
|
-
var
|
|
978
|
-
element = document.createElement('element'),
|
|
979
|
-
transitions = {
|
|
980
|
-
transition: 'transitionend',
|
|
981
|
-
OTransition: 'oTransitionEnd',
|
|
982
|
-
MozTransition: 'transitionend',
|
|
983
|
-
WebkitTransition: 'webkitTransitionEnd',
|
|
984
|
-
},
|
|
985
|
-
transition
|
|
986
|
-
;
|
|
987
|
-
for (transition in transitions) {
|
|
988
|
-
if (element.style[transition] !== undefined) {
|
|
989
|
-
return transitions[transition];
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
},
|
|
993
981
|
id: function () {
|
|
994
982
|
return id;
|
|
995
983
|
},
|