fomantic-ui 2.9.1-beta.27 → 2.9.1-beta.29
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.
- package/.eslintrc.js +0 -1
- package/.github/workflows/ci.yml +6 -0
- package/.prettierrc.js +12 -0
- package/.stylelintrc.js +13 -7
- package/README.md +1 -1
- package/dist/components/accordion.css +9 -21
- package/dist/components/accordion.js +3 -3
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +2 -3
- package/dist/components/ad.min.css +2 -2
- package/dist/components/api.js +3 -3
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +336 -713
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +5 -10
- package/dist/components/calendar.js +3 -3
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +88 -201
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +35 -86
- package/dist/components/checkbox.js +3 -3
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +4 -8
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +20 -129
- package/dist/components/dimmer.js +3 -3
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +3 -6
- package/dist/components/divider.min.css +2 -2
- package/dist/components/dropdown.css +51 -149
- package/dist/components/dropdown.js +13 -7
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +2 -7
- package/dist/components/embed.js +3 -3
- package/dist/components/embed.min.css +2 -2
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +1 -2
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +7 -21
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +30 -71
- package/dist/components/flyout.js +3 -16
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +32 -101
- package/dist/components/form.js +3 -3
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +72 -182
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +5 -11
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +37 -74
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +8 -21
- package/dist/components/image.min.css +2 -2
- package/dist/components/input.css +15 -50
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -38
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +18 -45
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +1 -7
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +21 -103
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +49 -145
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +50 -114
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +20 -54
- package/dist/components/modal.js +3 -11
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +2 -5
- package/dist/components/nag.js +3 -3
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +7 -25
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +68 -139
- package/dist/components/popup.js +16 -7
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +25 -120
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +2 -39
- package/dist/components/rating.js +3 -3
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +6 -11
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +26 -58
- package/dist/components/reveal.min.css +2 -2
- package/dist/components/search.css +8 -22
- package/dist/components/search.js +3 -3
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +32 -89
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +4 -16
- package/dist/components/shape.js +3 -15
- package/dist/components/shape.min.css +2 -2
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +59 -147
- package/dist/components/sidebar.js +3 -16
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -14
- package/dist/components/site.js +11 -38
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +8 -26
- package/dist/components/slider.js +3 -3
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +3 -3
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +11 -43
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +26 -89
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -5
- package/dist/components/sticky.js +3 -11
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +3 -5
- package/dist/components/tab.js +3 -3
- package/dist/components/tab.min.css +2 -2
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +202 -409
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +32 -108
- package/dist/components/toast.js +3 -3
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +264 -1312
- package/dist/components/transition.js +3 -3
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +3 -11
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +51 -3547
- package/dist/semantic.js +107 -181
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/examples/fixed.html +1 -1
- package/examples/grid.html +1 -1
- package/package.json +2 -2
- package/src/definitions/behaviors/api.js +2 -2
- package/src/definitions/behaviors/form.js +2 -2
- package/src/definitions/behaviors/state.js +2 -2
- package/src/definitions/behaviors/visibility.js +2 -10
- package/src/definitions/collections/table.less +4 -0
- package/src/definitions/elements/button.less +7 -2
- package/src/definitions/elements/icon.less +19 -27
- package/src/definitions/elements/image.less +0 -4
- package/src/definitions/elements/loader.less +2 -0
- package/src/definitions/elements/segment.less +3 -1
- package/src/definitions/globals/site.js +10 -37
- package/src/definitions/modules/accordion.js +2 -2
- package/src/definitions/modules/calendar.js +2 -2
- package/src/definitions/modules/checkbox.js +2 -2
- package/src/definitions/modules/dimmer.js +2 -2
- package/src/definitions/modules/dimmer.less +2 -10
- package/src/definitions/modules/dropdown.js +12 -6
- package/src/definitions/modules/dropdown.less +1 -4
- package/src/definitions/modules/embed.js +2 -2
- package/src/definitions/modules/flyout.js +2 -15
- package/src/definitions/modules/flyout.less +0 -1
- package/src/definitions/modules/modal.js +2 -10
- package/src/definitions/modules/modal.less +0 -2
- package/src/definitions/modules/nag.js +2 -2
- package/src/definitions/modules/popup.js +15 -6
- package/src/definitions/modules/popup.less +2 -0
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/rating.js +2 -2
- package/src/definitions/modules/rating.less +2 -4
- package/src/definitions/modules/search.js +2 -2
- package/src/definitions/modules/search.less +0 -1
- package/src/definitions/modules/shape.js +2 -14
- package/src/definitions/modules/sidebar.js +2 -15
- package/src/definitions/modules/sidebar.less +0 -1
- package/src/definitions/modules/slider.js +2 -2
- package/src/definitions/modules/sticky.js +2 -10
- package/src/definitions/modules/sticky.less +0 -7
- package/src/definitions/modules/tab.js +2 -2
- package/src/definitions/modules/toast.js +2 -2
- package/src/definitions/modules/toast.less +3 -1
- package/src/definitions/modules/transition.js +2 -2
- package/src/definitions/views/card.less +4 -15
- package/src/semantic.less +6 -6
- package/src/themes/amazon/elements/button.variables +4 -9
- package/src/themes/bootstrap3/elements/button.variables +3 -7
- package/src/themes/classic/elements/button.variables +6 -12
- package/src/themes/classic/views/card.overrides +2 -4
- package/src/themes/colored/modules/checkbox.variables +1 -3
- package/src/themes/default/collections/form.variables +1 -2
- package/src/themes/default/collections/menu.variables +2 -4
- package/src/themes/default/collections/message.variables +38 -76
- package/src/themes/default/collections/table.variables +2 -4
- package/src/themes/default/elements/button.variables +6 -12
- package/src/themes/default/elements/flag.variables +3 -3
- package/src/themes/default/elements/icon.variables +9 -11
- package/src/themes/default/elements/input.variables +1 -2
- package/src/themes/default/elements/list.variables +3 -7
- package/src/themes/default/elements/placeholder.variables +12 -8
- package/src/themes/default/elements/segment.variables +5 -6
- package/src/themes/default/elements/step.variables +1 -2
- package/src/themes/default/globals/site.variables +41 -83
- package/src/themes/default/modules/accordion.variables +4 -8
- package/src/themes/default/modules/checkbox.variables +4 -8
- package/src/themes/default/modules/dimmer.variables +1 -3
- package/src/themes/default/modules/dropdown.variables +1 -2
- package/src/themes/default/modules/embed.variables +2 -5
- package/src/themes/default/modules/modal.variables +3 -6
- package/src/themes/default/modules/progress.variables +1 -2
- package/src/themes/default/modules/rating.variables +1 -2
- package/src/themes/default/modules/search.variables +3 -6
- package/src/themes/default/modules/shape.variables +1 -2
- package/src/themes/default/modules/slider.variables +3 -1
- package/src/themes/default/views/card.variables +8 -18
- package/src/themes/github/collections/form.variables +1 -2
- package/src/themes/github/collections/menu.variables +1 -2
- package/src/themes/github/collections/message.variables +2 -4
- package/src/themes/github/elements/button.variables +4 -8
- package/src/themes/github/elements/input.variables +1 -2
- package/src/themes/github/modules/dropdown.variables +1 -3
- package/src/themes/material/elements/button.variables +2 -4
- package/src/themes/material/elements/icon.variables +1 -2
- package/src/themes/pulsar/elements/loader.overrides +0 -38
- package/src/themes/raised/elements/button.variables +1 -2
- package/src/themes/round/elements/button.variables +1 -3
- package/src/themes/striped/modules/progress.overrides +11 -11
- package/tasks/README.md +2 -2
- package/tasks/admin/components/create.js +2 -2
- package/tasks/build/assets.js +1 -1
- package/tasks/build/css.js +1 -1
- package/tasks/build/javascript.js +1 -1
- package/tasks/build.js +2 -2
- package/tasks/collections/docs.js +1 -1
- package/tasks/collections/install.js +2 -2
- package/tasks/collections/various.js +1 -1
- package/tasks/config/admin/release.js +5 -5
- package/tasks/config/admin/templates/README.md +8 -8
- package/tasks/config/admin/templates/bower.json +3 -2
- package/tasks/config/admin/templates/component-package.js +3 -3
- package/tasks/config/admin/templates/package.json +5 -5
- package/tasks/config/tasks.js +15 -11
- package/tasks/docs/build.js +2 -2
- package/tasks/install.js +2 -3
- package/tasks/watch.js +1 -1
package/examples/fixed.html
CHANGED
@@ -75,7 +75,7 @@
|
|
75
75
|
</div>
|
76
76
|
|
77
77
|
<div class="ui main text container">
|
78
|
-
<h1 class="ui header">
|
78
|
+
<h1 class="ui header">Fomantic UI Fixed Template</h1>
|
79
79
|
<p>This is a basic fixed menu template using fixed size containers.</p>
|
80
80
|
<p>A text container is used for the main container, which is useful for single column layouts</p>
|
81
81
|
<img class="wireframe" src="assets/images/wireframe/media-paragraph.png">
|
package/examples/grid.html
CHANGED
@@ -197,7 +197,7 @@
|
|
197
197
|
</div>
|
198
198
|
|
199
199
|
<h3>Floating Rows</h3>
|
200
|
-
<p>Since
|
200
|
+
<p>Since Fomantic UI's grid is based on flex box, a <code>left floated</code> item should come first, and a <code>right floated</code> item last in its row.</p>
|
201
201
|
|
202
202
|
<div class="ui grid">
|
203
203
|
<div class="left floated six wide column">
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "fomantic-ui",
|
3
|
-
"version": "2.9.1-beta.
|
3
|
+
"version": "2.9.1-beta.29+70adac5",
|
4
4
|
"description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
|
5
5
|
"keywords": [
|
6
6
|
"fomantic-ui",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"@octokit/core": "^3.6.0",
|
35
35
|
"@octokit/rest": "^16.16.0",
|
36
36
|
"better-console": "^1.0.1",
|
37
|
-
"browserslist": "^4.
|
37
|
+
"browserslist": "^4.21.4",
|
38
38
|
"del": "^6.1.1",
|
39
39
|
"extend": "^3.0.2",
|
40
40
|
"gulp": "^4.0.0",
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isWindow(obj) {
|
@@ -977,7 +977,7 @@
|
|
977
977
|
if (moduleSelector) {
|
978
978
|
title += ' \'' + moduleSelector + '\'';
|
979
979
|
}
|
980
|
-
if (
|
980
|
+
if (performance.length > 0) {
|
981
981
|
console.groupCollapsed(title);
|
982
982
|
if (console.table) {
|
983
983
|
console.table(performance);
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -1426,7 +1426,7 @@
|
|
1426
1426
|
if ($allModules.length > 1) {
|
1427
1427
|
title += ' (' + $allModules.length + ')';
|
1428
1428
|
}
|
1429
|
-
if (
|
1429
|
+
if (performance.length > 0) {
|
1430
1430
|
console.groupCollapsed(title);
|
1431
1431
|
if (console.table) {
|
1432
1432
|
console.table(performance);
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -492,7 +492,7 @@
|
|
492
492
|
if (moduleSelector) {
|
493
493
|
title += ' \'' + moduleSelector + '\'';
|
494
494
|
}
|
495
|
-
if (
|
495
|
+
if (performance.length > 0) {
|
496
496
|
console.groupCollapsed(title);
|
497
497
|
if (console.table) {
|
498
498
|
console.table(performance);
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -59,14 +59,6 @@
|
|
59
59
|
|
60
60
|
instance = $module.data(moduleNamespace),
|
61
61
|
|
62
|
-
requestAnimationFrame = window.requestAnimationFrame
|
63
|
-
|| window.mozRequestAnimationFrame
|
64
|
-
|| window.webkitRequestAnimationFrame
|
65
|
-
|| window.msRequestAnimationFrame
|
66
|
-
|| function (callback) {
|
67
|
-
setTimeout(callback, 0);
|
68
|
-
},
|
69
|
-
|
70
62
|
element = this,
|
71
63
|
disabled = false,
|
72
64
|
|
@@ -1100,7 +1092,7 @@
|
|
1100
1092
|
if (moduleSelector) {
|
1101
1093
|
title += ' \'' + moduleSelector + '\'';
|
1102
1094
|
}
|
1103
|
-
if (
|
1095
|
+
if (performance.length > 0) {
|
1104
1096
|
console.groupCollapsed(title);
|
1105
1097
|
if (console.table) {
|
1106
1098
|
console.table(performance);
|
@@ -641,6 +641,8 @@
|
|
641
641
|
font-weight: @definitionHeaderFontWeight;
|
642
642
|
color: @definitionHeaderColor;
|
643
643
|
box-shadow: -@coloredBorderSizeCover -@coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
|
644
|
+
// https://github.com/fomantic/Fomantic-UI/pull/884
|
645
|
+
// stylelint-disable-next-line property-no-vendor-prefix
|
644
646
|
-moz-transform: scale(1);
|
645
647
|
}
|
646
648
|
|
@@ -654,6 +656,8 @@
|
|
654
656
|
font-weight: @definitionFooterFontWeight;
|
655
657
|
color: @definitionFooterColor;
|
656
658
|
box-shadow: -@coloredBorderSizeCover @coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
|
659
|
+
// https://github.com/fomantic/Fomantic-UI/pull/884
|
660
|
+
// stylelint-disable-next-line property-no-vendor-prefix
|
657
661
|
-moz-transform: scale(1);
|
658
662
|
}
|
659
663
|
|
@@ -256,7 +256,9 @@
|
|
256
256
|
/* Vertical */
|
257
257
|
.ui.vertical.animated.button .visible.content,
|
258
258
|
.ui.vertical.animated.button .hidden.content {
|
259
|
-
transition:
|
259
|
+
transition:
|
260
|
+
top @animationDuration @animationEasing,
|
261
|
+
transform @animationDuration @animationEasing;
|
260
262
|
}
|
261
263
|
.ui.vertical.animated.button .visible.content {
|
262
264
|
transform: translateY(0);
|
@@ -282,7 +284,9 @@
|
|
282
284
|
/* Fade */
|
283
285
|
.ui.fade.animated.button .visible.content,
|
284
286
|
.ui.fade.animated.button .hidden.content {
|
285
|
-
transition:
|
287
|
+
transition:
|
288
|
+
opacity @animationDuration @animationEasing,
|
289
|
+
transform @animationDuration @animationEasing;
|
286
290
|
}
|
287
291
|
.ui.fade.animated.button .visible.content {
|
288
292
|
left: auto;
|
@@ -897,6 +901,7 @@
|
|
897
901
|
.ui.tertiary.button {
|
898
902
|
transition: color @defaultDuration @defaultEasing !important;
|
899
903
|
border-radius: 0;
|
904
|
+
// prettier-ignore
|
900
905
|
margin:
|
901
906
|
(@verticalPadding - @tertiaryVerticalPadding)
|
902
907
|
(@horizontalMargin)
|
@@ -443,8 +443,7 @@ i.icons {
|
|
443
443
|
}
|
444
444
|
}
|
445
445
|
|
446
|
-
& when ((@variationIconGroups) or (@variationIconCorner))
|
447
|
-
and ((@variationIconBordered) or (@variationIconCircular)) {
|
446
|
+
& when ((@variationIconGroups) or (@variationIconCorner)) and ((@variationIconBordered) or (@variationIconCircular)) {
|
448
447
|
/*************************************************
|
449
448
|
Bordered/circular with corner or group icons
|
450
449
|
*************************************************/
|
@@ -513,32 +512,25 @@ and ((@variationIconBordered) or (@variationIconCircular)) {
|
|
513
512
|
}
|
514
513
|
}
|
515
514
|
|
516
|
-
.generateIcons(@map, @fontFamily) {
|
515
|
+
.generateIcons(@map, @fontFamily: false, @pseudo: before) {
|
517
516
|
each(@map, {
|
518
517
|
@escapedKey: replace(@key, "^([0-9])", "\3$1 ");
|
519
|
-
@normalizedKey: replace(@escapedKey, "_",
|
520
|
-
|
518
|
+
@normalizedKey: replace(@escapedKey, "_", @iconClassSeparator, "g");
|
519
|
+
@unorderedKey: e(%(".%s::%s",@normalizedKey, @pseudo));
|
520
|
+
@orderedKey: e(%('[%s*="%s"]::%s', @iconForcedAttribute, @normalizedKey, @pseudo));
|
521
|
+
@selectorKey: if(@iconForcedOrder or @iconClassSeparator = " ", @orderedKey, @unorderedKey);
|
522
|
+
i.icon@{selectorKey} {
|
521
523
|
content: "@{value}";
|
522
524
|
& when not (@fontFamily = false) {
|
523
525
|
font-family: @fontFamily;
|
524
526
|
}
|
525
527
|
}
|
526
528
|
});
|
527
|
-
}
|
528
|
-
|
529
|
-
.generateSecondaryIcons(@map) {
|
530
|
-
each(@map, {
|
531
|
-
@escapedKey: replace(@key, "^([0-9])", "\3$1 ");
|
532
|
-
@normalizedKey: replace(@escapedKey, "_", ".", "g");
|
533
|
-
i.icon.@{normalizedKey}::after {
|
534
|
-
content: "@{value}";
|
535
|
-
}
|
536
|
-
});
|
537
|
-
};
|
529
|
+
}
|
538
530
|
|
539
531
|
& when (@variationIconDeprecated) {
|
540
532
|
/* Deprecated *In/Out Naming Conflict) */
|
541
|
-
.generateIcons(@icon-deprecated-map
|
533
|
+
.generateIcons(@icon-deprecated-map);
|
542
534
|
}
|
543
535
|
|
544
536
|
& when (@variationIconSolid) {
|
@@ -547,10 +539,10 @@ and ((@variationIconBordered) or (@variationIconCircular)) {
|
|
547
539
|
*******************************/
|
548
540
|
|
549
541
|
/* Icons */
|
550
|
-
.generateIcons(@icon-map
|
542
|
+
.generateIcons(@icon-map);
|
551
543
|
& when (@variationIconAliases) {
|
552
544
|
/* Aliases */
|
553
|
-
.generateIcons(@icon-aliases-map
|
545
|
+
.generateIcons(@icon-aliases-map);
|
554
546
|
}
|
555
547
|
}
|
556
548
|
|
@@ -564,10 +556,10 @@ and ((@variationIconBordered) or (@variationIconCircular)) {
|
|
564
556
|
}
|
565
557
|
|
566
558
|
/* Icons */
|
567
|
-
.generateIcons(@icon-outline-map
|
559
|
+
.generateIcons(@icon-outline-map);
|
568
560
|
& when (@variationIconAliases) {
|
569
561
|
/* Aliases */
|
570
|
-
.generateIcons(@icon-outline-aliases-map
|
562
|
+
.generateIcons(@icon-outline-aliases-map);
|
571
563
|
}
|
572
564
|
}
|
573
565
|
|
@@ -580,10 +572,10 @@ and ((@variationIconBordered) or (@variationIconCircular)) {
|
|
580
572
|
i.icon.thin {
|
581
573
|
font-family: @thinFontName;
|
582
574
|
}
|
583
|
-
.generateIcons(@icon-thin-map
|
575
|
+
.generateIcons(@icon-thin-map);
|
584
576
|
& when (@variationIconAliases) {
|
585
577
|
/* Aliases */
|
586
|
-
.generateIcons(@icon-thin-aliases-map
|
578
|
+
.generateIcons(@icon-thin-aliases-map);
|
587
579
|
}
|
588
580
|
}
|
589
581
|
|
@@ -630,13 +622,13 @@ and ((@variationIconBordered) or (@variationIconCircular)) {
|
|
630
622
|
opacity: @duotoneSecondaryOpacity;
|
631
623
|
}
|
632
624
|
|
633
|
-
.generateIcons(@icon-duotone-map
|
634
|
-
.
|
625
|
+
.generateIcons(@icon-duotone-map);
|
626
|
+
.generateIcons(@icon-duotone-secondary-map, false, after);
|
635
627
|
|
636
628
|
& when (@variationIconAliases) {
|
637
629
|
/* Aliases */
|
638
|
-
.generateIcons(@icon-duotone-aliases-map
|
639
|
-
.
|
630
|
+
.generateIcons(@icon-duotone-aliases-map);
|
631
|
+
.generateIcons(@icon-duotone-secondary-aliases-map, false, after);
|
640
632
|
}
|
641
633
|
|
642
634
|
/*
|
@@ -161,8 +161,6 @@ img.ui.image {
|
|
161
161
|
.ui.circular.image,
|
162
162
|
.ui.circular.images .image > *,
|
163
163
|
.ui.circular.image > * {
|
164
|
-
-webkit-border-radius: @circularRadius;
|
165
|
-
-moz-border-radius: @circularRadius;
|
166
164
|
border-radius: @circularRadius;
|
167
165
|
}
|
168
166
|
}
|
@@ -199,8 +197,6 @@ img.ui.image {
|
|
199
197
|
display: inline-block;
|
200
198
|
width: @avatarSize;
|
201
199
|
height: @avatarSize;
|
202
|
-
-webkit-border-radius: @circularRadius;
|
203
|
-
-moz-border-radius: @circularRadius;
|
204
200
|
border-radius: @circularRadius;
|
205
201
|
}
|
206
202
|
}
|
@@ -328,6 +328,8 @@
|
|
328
328
|
.ui.elastic.loading.loading.loading > i.icon::before,
|
329
329
|
.ui.elastic.loader.loader::before {
|
330
330
|
animation: elastic-loader 1s infinite cubic-bezier(0.27, 1.05, 0.92, 0.61);
|
331
|
+
// https://github.com/fomantic/Fomantic-UI/pull/363
|
332
|
+
// stylelint-disable-next-line property-no-vendor-prefix
|
331
333
|
-moz-animation: currentcolor-elastic-loader 1s infinite cubic-bezier(0.27, 1.05, 0.92, 0.61);
|
332
334
|
border-right-color: transparent;
|
333
335
|
}
|
@@ -455,7 +455,9 @@
|
|
455
455
|
.ui.horizontal.segments:not(.compact) > .segment:not(.compact) {
|
456
456
|
flex: 1 1 auto;
|
457
457
|
& when (@supportIE) {
|
458
|
-
-
|
458
|
+
// https://github.com/Semantic-Org/Semantic-UI/issues/2550
|
459
|
+
// stylelint-disable-next-line property-no-vendor-prefix
|
460
|
+
-ms-flex: 1 1 0;
|
459
461
|
}
|
460
462
|
}
|
461
463
|
.ui.horizontal.segments > .segment {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -60,45 +60,16 @@
|
|
60
60
|
},
|
61
61
|
|
62
62
|
normalize: function () {
|
63
|
-
|
64
|
-
|
63
|
+
// keep the function for backward compatibility
|
64
|
+
// eslint-disable-next-line no-useless-return
|
65
|
+
return;
|
65
66
|
},
|
66
67
|
|
67
68
|
fix: {
|
68
|
-
console: function () {
|
69
|
-
module.debug('Normalizing window.console');
|
70
|
-
if (console === undefined || console.log === undefined) {
|
71
|
-
module.verbose('Console not available, normalizing events');
|
72
|
-
module.disable.console();
|
73
|
-
}
|
74
|
-
if (console.group === undefined || console.groupEnd === undefined || console.groupCollapsed === undefined) {
|
75
|
-
module.verbose('Console group not available, normalizing events');
|
76
|
-
window.console.group = function () {};
|
77
|
-
window.console.groupEnd = function () {};
|
78
|
-
window.console.groupCollapsed = function () {};
|
79
|
-
}
|
80
|
-
if (console.markTimeline === undefined) {
|
81
|
-
module.verbose('Mark timeline not available, normalizing events');
|
82
|
-
window.console.markTimeline = function () {};
|
83
|
-
}
|
84
|
-
},
|
85
69
|
consoleClear: function () {
|
86
70
|
module.debug('Disabling programmatic console clearing');
|
87
71
|
window.console.clear = function () {};
|
88
72
|
},
|
89
|
-
requestAnimationFrame: function () {
|
90
|
-
module.debug('Normalizing requestAnimationFrame');
|
91
|
-
if (window.requestAnimationFrame === undefined) {
|
92
|
-
module.debug('RequestAnimationFrame not available, normalizing event');
|
93
|
-
window.requestAnimationFrame = window.requestAnimationFrame
|
94
|
-
|| window.mozRequestAnimationFrame
|
95
|
-
|| window.webkitRequestAnimationFrame
|
96
|
-
|| window.msRequestAnimationFrame
|
97
|
-
|| function (callback) {
|
98
|
-
setTimeout(callback, 0);
|
99
|
-
};
|
100
|
-
}
|
101
|
-
},
|
102
73
|
},
|
103
74
|
|
104
75
|
moduleExists: function (name) {
|
@@ -244,7 +215,7 @@
|
|
244
215
|
groupEnd: function () {},
|
245
216
|
info: function () {},
|
246
217
|
log: function () {},
|
247
|
-
|
218
|
+
table: function () {},
|
248
219
|
warn: function () {},
|
249
220
|
};
|
250
221
|
}
|
@@ -334,7 +305,7 @@
|
|
334
305
|
totalTime += data['Execution Time'];
|
335
306
|
});
|
336
307
|
title += ' ' + totalTime + 'ms';
|
337
|
-
if (
|
308
|
+
if (performance.length > 0) {
|
338
309
|
console.groupCollapsed(title);
|
339
310
|
if (console.table) {
|
340
311
|
console.table(performance);
|
@@ -441,21 +412,23 @@
|
|
441
412
|
'dimmer',
|
442
413
|
'dropdown',
|
443
414
|
'embed',
|
415
|
+
'flyout',
|
444
416
|
'form',
|
445
417
|
'modal',
|
446
418
|
'nag',
|
447
419
|
'popup',
|
448
|
-
'
|
420
|
+
'progress',
|
449
421
|
'rating',
|
422
|
+
'search',
|
450
423
|
'shape',
|
451
424
|
'sidebar',
|
425
|
+
'slider',
|
452
426
|
'state',
|
453
427
|
'sticky',
|
454
428
|
'tab',
|
455
429
|
'toast',
|
456
430
|
'transition',
|
457
431
|
'visibility',
|
458
|
-
'visit',
|
459
432
|
],
|
460
433
|
|
461
434
|
siteNamespace: 'site',
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -455,7 +455,7 @@
|
|
455
455
|
if (moduleSelector) {
|
456
456
|
title += ' \'' + moduleSelector + '\'';
|
457
457
|
}
|
458
|
-
if (
|
458
|
+
if (performance.length > 0) {
|
459
459
|
console.groupCollapsed(title);
|
460
460
|
if (console.table) {
|
461
461
|
console.table(performance);
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -1497,7 +1497,7 @@
|
|
1497
1497
|
if (moduleSelector) {
|
1498
1498
|
title += ' \'' + moduleSelector + '\'';
|
1499
1499
|
}
|
1500
|
-
if (
|
1500
|
+
if (performance.length > 0) {
|
1501
1501
|
console.groupCollapsed(title);
|
1502
1502
|
if (console.table) {
|
1503
1503
|
console.table(performance);
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -740,7 +740,7 @@
|
|
740
740
|
if (moduleSelector) {
|
741
741
|
title += ' \'' + moduleSelector + '\'';
|
742
742
|
}
|
743
|
-
if (
|
743
|
+
if (performance.length > 0) {
|
744
744
|
console.groupCollapsed(title);
|
745
745
|
if (console.table) {
|
746
746
|
console.table(performance);
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -548,7 +548,7 @@
|
|
548
548
|
if ($allModules.length > 1) {
|
549
549
|
title += ' (' + $allModules.length + ')';
|
550
550
|
}
|
551
|
-
if (
|
551
|
+
if (performance.length > 0) {
|
552
552
|
console.groupCollapsed(title);
|
553
553
|
if (console.table) {
|
554
554
|
console.table(performance);
|
@@ -155,6 +155,8 @@
|
|
155
155
|
perspective: @perspective;
|
156
156
|
transform-origin: center center;
|
157
157
|
&.modals {
|
158
|
+
// https://github.com/fomantic/Fomantic-UI/pull/1491
|
159
|
+
// stylelint-disable-next-line property-no-vendor-prefix
|
158
160
|
-moz-perspective: none;
|
159
161
|
}
|
160
162
|
}
|
@@ -302,7 +304,6 @@ body.dimmable > .dimmer {
|
|
302
304
|
.ui[class*="center dimmer"] {
|
303
305
|
top: 50%;
|
304
306
|
transform: translateY(-50%);
|
305
|
-
-webkit-transform: translateY(calc(-50% - 0.5px));
|
306
307
|
}
|
307
308
|
|
308
309
|
.ui.segment > .ui.ui[class*="top dimmer"] {
|
@@ -336,48 +337,40 @@ body.dimmable > .dimmer {
|
|
336
337
|
0% {
|
337
338
|
opacity: 0;
|
338
339
|
transform: translateY(-40%);
|
339
|
-
-webkit-transform: translateY(calc(-40% - 0.5px));
|
340
340
|
}
|
341
341
|
100% {
|
342
342
|
opacity: 1;
|
343
343
|
transform: translateY(-50%);
|
344
|
-
-webkit-transform: translateY(calc(-50% - 0.5px));
|
345
344
|
}
|
346
345
|
}
|
347
346
|
@keyframes fadeInDownCenter {
|
348
347
|
0% {
|
349
348
|
opacity: 0;
|
350
349
|
transform: translateY(-60%);
|
351
|
-
-webkit-transform: translateY(calc(-60% - 0.5px));
|
352
350
|
}
|
353
351
|
100% {
|
354
352
|
opacity: 1;
|
355
353
|
transform: translateY(-50%);
|
356
|
-
-webkit-transform: translateY(calc(-50% - 0.5px));
|
357
354
|
}
|
358
355
|
}
|
359
356
|
@keyframes fadeOutUpCenter {
|
360
357
|
0% {
|
361
358
|
opacity: 1;
|
362
359
|
transform: translateY(-50%);
|
363
|
-
-webkit-transform: translateY(calc(-50% - 0.5px));
|
364
360
|
}
|
365
361
|
100% {
|
366
362
|
opacity: 0;
|
367
363
|
transform: translateY(-45%);
|
368
|
-
-webkit-transform: translateY(calc(-45% - 0.5px));
|
369
364
|
}
|
370
365
|
}
|
371
366
|
@keyframes fadeOutDownCenter {
|
372
367
|
0% {
|
373
368
|
opacity: 1;
|
374
369
|
transform: translateY(-50%);
|
375
|
-
-webkit-transform: translateY(calc(-50% - 0.5px));
|
376
370
|
}
|
377
371
|
100% {
|
378
372
|
opacity: 0;
|
379
373
|
transform: translateY(-55%);
|
380
|
-
-webkit-transform: translateY(calc(-55% - 0.5px));
|
381
374
|
}
|
382
375
|
}
|
383
376
|
@keyframes bounceCenter {
|
@@ -387,7 +380,6 @@ body.dimmable > .dimmer {
|
|
387
380
|
80%,
|
388
381
|
100% {
|
389
382
|
transform: translateY(-50%);
|
390
|
-
-webkit-transform: translateY(calc(-50% - 0.5px));
|
391
383
|
}
|
392
384
|
40% {
|
393
385
|
transform: translateY(calc(-50% - 30px));
|
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
(function ($, window, document
|
11
|
+
(function ($, window, document) {
|
12
12
|
'use strict';
|
13
13
|
|
14
14
|
function isFunction(obj) {
|
@@ -3582,6 +3582,14 @@
|
|
3582
3582
|
useAPI: function () {
|
3583
3583
|
return $.fn.api !== undefined;
|
3584
3584
|
},
|
3585
|
+
useElement: function (element) {
|
3586
|
+
if ($.fn[element] !== undefined) {
|
3587
|
+
return true;
|
3588
|
+
}
|
3589
|
+
module.error(error.noElement.replace('{element}', element));
|
3590
|
+
|
3591
|
+
return false;
|
3592
|
+
},
|
3585
3593
|
},
|
3586
3594
|
|
3587
3595
|
animate: {
|
@@ -3613,7 +3621,7 @@
|
|
3613
3621
|
displayType: module.get.displayType(),
|
3614
3622
|
}).transition('show');
|
3615
3623
|
callback.call(element);
|
3616
|
-
} else if (
|
3624
|
+
} else if (module.can.useElement('transition') && $module.transition('is supported')) {
|
3617
3625
|
$currentMenu
|
3618
3626
|
.transition({
|
3619
3627
|
animation: transition + ' in',
|
@@ -3629,8 +3637,6 @@
|
|
3629
3637
|
},
|
3630
3638
|
})
|
3631
3639
|
;
|
3632
|
-
} else {
|
3633
|
-
module.error(error.noTransition, transition);
|
3634
3640
|
}
|
3635
3641
|
}
|
3636
3642
|
},
|
@@ -3845,7 +3851,7 @@
|
|
3845
3851
|
if (moduleSelector) {
|
3846
3852
|
title += ' \'' + moduleSelector + '\'';
|
3847
3853
|
}
|
3848
|
-
if (
|
3854
|
+
if (performance.length > 0) {
|
3849
3855
|
console.groupCollapsed(title);
|
3850
3856
|
if (console.table) {
|
3851
3857
|
console.table(performance);
|
@@ -4048,7 +4054,7 @@
|
|
4048
4054
|
method: 'The method you called is not defined.',
|
4049
4055
|
noAPI: 'The API module is required to load resources remotely',
|
4050
4056
|
noStorage: 'Saving remote data requires session storage',
|
4051
|
-
|
4057
|
+
noElement: 'This module requires ui {element}',
|
4052
4058
|
noNormalize: '"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.',
|
4053
4059
|
},
|
4054
4060
|
|
@@ -434,7 +434,6 @@ select.ui.dropdown {
|
|
434
434
|
overflow-y: auto;
|
435
435
|
overscroll-behavior: @overscrollBehavior;
|
436
436
|
backface-visibility: hidden;
|
437
|
-
-webkit-overflow-scrolling: touch;
|
438
437
|
border-top-width: 0 !important;
|
439
438
|
width: auto;
|
440
439
|
outline: none;
|
@@ -634,7 +633,7 @@ select.ui.dropdown {
|
|
634
633
|
}
|
635
634
|
& when (@variationDropdownScrollhint) {
|
636
635
|
/* CSS specific to iOS devices or firefox mobile only */
|
637
|
-
@supports (-webkit-touch-callout: none) or (-
|
636
|
+
@supports (-webkit-touch-callout: none) or (-moz-appearance: none) {
|
638
637
|
@media (-moz-touch-enabled), (pointer: coarse) {
|
639
638
|
.ui.dropdown .scrollhint.menu:not(.hidden)::before {
|
640
639
|
animation: scrollhint @scrollhintDuration @scrollhintEasing @scrollhintIteration;
|
@@ -751,7 +750,6 @@ select.ui.dropdown {
|
|
751
750
|
overflow-y: auto;
|
752
751
|
overscroll-behavior: @overscrollBehavior;
|
753
752
|
backface-visibility: hidden;
|
754
|
-
-webkit-overflow-scrolling: touch;
|
755
753
|
}
|
756
754
|
@media only screen and (max-width: @largestMobileScreen) {
|
757
755
|
.ui.search.dropdown .menu {
|
@@ -1295,7 +1293,6 @@ select.ui.dropdown {
|
|
1295
1293
|
overflow-y: auto;
|
1296
1294
|
overscroll-behavior: @overscrollBehavior;
|
1297
1295
|
backface-visibility: hidden;
|
1298
|
-
-webkit-overflow-scrolling: touch;
|
1299
1296
|
min-width: 100% !important;
|
1300
1297
|
width: auto !important;
|
1301
1298
|
}
|