fomantic-ui 2.9.3-beta.36 → 2.9.3-beta.38
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/.all-contributorsrc +2 -2
- package/.github/FUNDING.yml +1 -1
- package/.github/auto_assign.yml +1 -1
- package/CONTRIBUTORS.md +1 -1
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +20 -5
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +1 -1
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +53 -53
- package/dist/semantic.js +45 -30
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/behaviors/form.js +19 -4
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.3-beta.
|
2
|
+
* # Fomantic UI - 2.9.3-beta.38+1c42354
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* https://fomantic-ui.com/
|
5
5
|
*
|
@@ -9,7 +9,7 @@
|
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
/*!
|
12
|
-
* # Fomantic-UI 2.9.3-beta.
|
12
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Site
|
13
13
|
* https://github.com/fomantic/Fomantic-UI/
|
14
14
|
*
|
15
15
|
*
|
@@ -463,7 +463,7 @@
|
|
463
463
|
})(jQuery, window, document);
|
464
464
|
|
465
465
|
/*!
|
466
|
-
* # Fomantic-UI 2.9.3-beta.
|
466
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Form Validation
|
467
467
|
* https://github.com/fomantic/Fomantic-UI/
|
468
468
|
*
|
469
469
|
*
|
@@ -1375,7 +1375,8 @@
|
|
1375
1375
|
$field = module.get.field(identifier),
|
1376
1376
|
$fieldGroup = $field.closest($group),
|
1377
1377
|
$prompt = $fieldGroup.children(selector.prompt),
|
1378
|
-
promptExists = $prompt.length > 0
|
1378
|
+
promptExists = $prompt.length > 0,
|
1379
|
+
canTransition = settings.transition && module.can.useElement('transition')
|
1379
1380
|
;
|
1380
1381
|
module.verbose('Adding field error state', identifier);
|
1381
1382
|
if (!internal) {
|
@@ -1384,8 +1385,22 @@
|
|
1384
1385
|
;
|
1385
1386
|
}
|
1386
1387
|
if (settings.inline) {
|
1388
|
+
if (promptExists) {
|
1389
|
+
if (canTransition) {
|
1390
|
+
if ($prompt.transition('is animating')) {
|
1391
|
+
$prompt.transition('stop all');
|
1392
|
+
}
|
1393
|
+
} else if ($prompt.is(':animated')) {
|
1394
|
+
$prompt.stop(true, true);
|
1395
|
+
}
|
1396
|
+
$prompt = $fieldGroup.children(selector.prompt);
|
1397
|
+
promptExists = $prompt.length > 0;
|
1398
|
+
}
|
1387
1399
|
if (!promptExists) {
|
1388
1400
|
$prompt = $('<div/>').addClass(className.label);
|
1401
|
+
if (!canTransition) {
|
1402
|
+
$prompt.css('display', 'none');
|
1403
|
+
}
|
1389
1404
|
$prompt
|
1390
1405
|
.appendTo($fieldGroup)
|
1391
1406
|
;
|
@@ -1394,7 +1409,7 @@
|
|
1394
1409
|
.html(settings.templates.prompt(errors))
|
1395
1410
|
;
|
1396
1411
|
if (!promptExists) {
|
1397
|
-
if (
|
1412
|
+
if (canTransition) {
|
1398
1413
|
module.verbose('Displaying error with css transition', settings.transition);
|
1399
1414
|
$prompt.transition(settings.transition + ' in', settings.duration);
|
1400
1415
|
} else {
|
@@ -1403,9 +1418,9 @@
|
|
1403
1418
|
.fadeIn(settings.duration)
|
1404
1419
|
;
|
1405
1420
|
}
|
1406
|
-
} else {
|
1407
|
-
module.verbose('Inline errors are disabled, no inline error added', identifier);
|
1408
1421
|
}
|
1422
|
+
} else {
|
1423
|
+
module.verbose('Inline errors are disabled, no inline error added', identifier);
|
1409
1424
|
}
|
1410
1425
|
},
|
1411
1426
|
errors: function (errors) {
|
@@ -2603,7 +2618,7 @@
|
|
2603
2618
|
})(jQuery, window, document);
|
2604
2619
|
|
2605
2620
|
/*!
|
2606
|
-
* # Fomantic-UI 2.9.3-beta.
|
2621
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Accordion
|
2607
2622
|
* https://github.com/fomantic/Fomantic-UI/
|
2608
2623
|
*
|
2609
2624
|
*
|
@@ -3197,7 +3212,7 @@
|
|
3197
3212
|
})(jQuery, window, document);
|
3198
3213
|
|
3199
3214
|
/*!
|
3200
|
-
* # Fomantic-UI 2.9.3-beta.
|
3215
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Calendar
|
3201
3216
|
* https://github.com/fomantic/Fomantic-UI/
|
3202
3217
|
*
|
3203
3218
|
*
|
@@ -5208,7 +5223,7 @@
|
|
5208
5223
|
})(jQuery, window, document);
|
5209
5224
|
|
5210
5225
|
/*!
|
5211
|
-
* # Fomantic-UI 2.9.3-beta.
|
5226
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Checkbox
|
5212
5227
|
* https://github.com/fomantic/Fomantic-UI/
|
5213
5228
|
*
|
5214
5229
|
*
|
@@ -6089,7 +6104,7 @@
|
|
6089
6104
|
})(jQuery, window, document);
|
6090
6105
|
|
6091
6106
|
/*!
|
6092
|
-
* # Fomantic-UI 2.9.3-beta.
|
6107
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Dimmer
|
6093
6108
|
* https://github.com/fomantic/Fomantic-UI/
|
6094
6109
|
*
|
6095
6110
|
*
|
@@ -6820,7 +6835,7 @@
|
|
6820
6835
|
})(jQuery, window, document);
|
6821
6836
|
|
6822
6837
|
/*!
|
6823
|
-
* # Fomantic-UI 2.9.3-beta.
|
6838
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Dropdown
|
6824
6839
|
* https://github.com/fomantic/Fomantic-UI/
|
6825
6840
|
*
|
6826
6841
|
*
|
@@ -11175,7 +11190,7 @@
|
|
11175
11190
|
})(jQuery, window, document);
|
11176
11191
|
|
11177
11192
|
/*!
|
11178
|
-
* # Fomantic-UI 2.9.3-beta.
|
11193
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Embed
|
11179
11194
|
* https://github.com/fomantic/Fomantic-UI/
|
11180
11195
|
*
|
11181
11196
|
*
|
@@ -11854,7 +11869,7 @@
|
|
11854
11869
|
})(jQuery, window, document);
|
11855
11870
|
|
11856
11871
|
/*!
|
11857
|
-
* # Fomantic-UI 2.9.3-beta.
|
11872
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Flyout
|
11858
11873
|
* https://github.com/fomantic/Fomantic-UI/
|
11859
11874
|
*
|
11860
11875
|
*
|
@@ -13435,7 +13450,7 @@
|
|
13435
13450
|
})(jQuery, window, document);
|
13436
13451
|
|
13437
13452
|
/*!
|
13438
|
-
* # Fomantic-UI 2.9.3-beta.
|
13453
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Modal
|
13439
13454
|
* https://github.com/fomantic/Fomantic-UI/
|
13440
13455
|
*
|
13441
13456
|
*
|
@@ -15069,7 +15084,7 @@
|
|
15069
15084
|
})(jQuery, window, document);
|
15070
15085
|
|
15071
15086
|
/*!
|
15072
|
-
* # Fomantic-UI 2.9.3-beta.
|
15087
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Nag
|
15073
15088
|
* https://github.com/fomantic/Fomantic-UI/
|
15074
15089
|
*
|
15075
15090
|
*
|
@@ -15630,7 +15645,7 @@
|
|
15630
15645
|
})(jQuery, window, document);
|
15631
15646
|
|
15632
15647
|
/*!
|
15633
|
-
* # Fomantic-UI 2.9.3-beta.
|
15648
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Popup
|
15634
15649
|
* https://github.com/fomantic/Fomantic-UI/
|
15635
15650
|
*
|
15636
15651
|
*
|
@@ -17186,7 +17201,7 @@
|
|
17186
17201
|
})(jQuery, window, document);
|
17187
17202
|
|
17188
17203
|
/*!
|
17189
|
-
* # Fomantic-UI 2.9.3-beta.
|
17204
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Progress
|
17190
17205
|
* https://github.com/fomantic/Fomantic-UI/
|
17191
17206
|
*
|
17192
17207
|
*
|
@@ -18164,7 +18179,7 @@
|
|
18164
18179
|
})(jQuery, window, document);
|
18165
18180
|
|
18166
18181
|
/*!
|
18167
|
-
* # Fomantic-UI 2.9.3-beta.
|
18182
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Slider
|
18168
18183
|
* https://github.com/fomantic/Fomantic-UI/
|
18169
18184
|
*
|
18170
18185
|
*
|
@@ -19608,7 +19623,7 @@
|
|
19608
19623
|
})(jQuery, window, document);
|
19609
19624
|
|
19610
19625
|
/*!
|
19611
|
-
* # Fomantic-UI 2.9.3-beta.
|
19626
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Rating
|
19612
19627
|
* https://github.com/fomantic/Fomantic-UI/
|
19613
19628
|
*
|
19614
19629
|
*
|
@@ -20147,7 +20162,7 @@
|
|
20147
20162
|
})(jQuery, window, document);
|
20148
20163
|
|
20149
20164
|
/*!
|
20150
|
-
* # Fomantic-UI 2.9.3-beta.
|
20165
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Search
|
20151
20166
|
* https://github.com/fomantic/Fomantic-UI/
|
20152
20167
|
*
|
20153
20168
|
*
|
@@ -21725,7 +21740,7 @@
|
|
21725
21740
|
})(jQuery, window, document);
|
21726
21741
|
|
21727
21742
|
/*!
|
21728
|
-
* # Fomantic-UI 2.9.3-beta.
|
21743
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Shape
|
21729
21744
|
* https://github.com/fomantic/Fomantic-UI/
|
21730
21745
|
*
|
21731
21746
|
*
|
@@ -22521,7 +22536,7 @@
|
|
22521
22536
|
})(jQuery, window, document);
|
22522
22537
|
|
22523
22538
|
/*!
|
22524
|
-
* # Fomantic-UI 2.9.3-beta.
|
22539
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Sidebar
|
22525
22540
|
* https://github.com/fomantic/Fomantic-UI/
|
22526
22541
|
*
|
22527
22542
|
*
|
@@ -23604,7 +23619,7 @@
|
|
23604
23619
|
})(jQuery, window, document);
|
23605
23620
|
|
23606
23621
|
/*!
|
23607
|
-
* # Fomantic-UI 2.9.3-beta.
|
23622
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Sticky
|
23608
23623
|
* https://github.com/fomantic/Fomantic-UI/
|
23609
23624
|
*
|
23610
23625
|
*
|
@@ -24520,7 +24535,7 @@
|
|
24520
24535
|
})(jQuery, window, document);
|
24521
24536
|
|
24522
24537
|
/*!
|
24523
|
-
* # Fomantic-UI 2.9.3-beta.
|
24538
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Tab
|
24524
24539
|
* https://github.com/fomantic/Fomantic-UI/
|
24525
24540
|
*
|
24526
24541
|
*
|
@@ -25486,7 +25501,7 @@
|
|
25486
25501
|
})(jQuery, window, document);
|
25487
25502
|
|
25488
25503
|
/*!
|
25489
|
-
* # Fomantic-UI 2.9.3-beta.
|
25504
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Toast
|
25490
25505
|
* https://github.com/fomantic/Fomantic-UI/
|
25491
25506
|
*
|
25492
25507
|
*
|
@@ -26447,7 +26462,7 @@
|
|
26447
26462
|
})(jQuery, window, document);
|
26448
26463
|
|
26449
26464
|
/*!
|
26450
|
-
* # Fomantic-UI 2.9.3-beta.
|
26465
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Transition
|
26451
26466
|
* https://github.com/fomantic/Fomantic-UI/
|
26452
26467
|
*
|
26453
26468
|
*
|
@@ -27478,7 +27493,7 @@
|
|
27478
27493
|
})(jQuery, window, document);
|
27479
27494
|
|
27480
27495
|
/*!
|
27481
|
-
* # Fomantic-UI 2.9.3-beta.
|
27496
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - API
|
27482
27497
|
* https://github.com/fomantic/Fomantic-UI/
|
27483
27498
|
*
|
27484
27499
|
*
|
@@ -28699,7 +28714,7 @@
|
|
28699
28714
|
})(jQuery, window, document);
|
28700
28715
|
|
28701
28716
|
/*!
|
28702
|
-
* # Fomantic-UI 2.9.3-beta.
|
28717
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - State
|
28703
28718
|
* https://github.com/fomantic/Fomantic-UI/
|
28704
28719
|
*
|
28705
28720
|
*
|
@@ -29395,7 +29410,7 @@
|
|
29395
29410
|
})(jQuery, window, document);
|
29396
29411
|
|
29397
29412
|
/*!
|
29398
|
-
* # Fomantic-UI 2.9.3-beta.
|
29413
|
+
* # Fomantic-UI 2.9.3-beta.38+1c42354 - Visibility
|
29399
29414
|
* https://github.com/fomantic/Fomantic-UI/
|
29400
29415
|
*
|
29401
29416
|
*
|
package/dist/semantic.min.css
CHANGED