fomantic-ui 2.9.3-beta.20 → 2.9.3-beta.21
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/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 +6 -3
- 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 +31 -28
- 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 +5 -2
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.21+491b07a
|
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.21+491b07a - 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.21+491b07a - Form Validation
|
467
467
|
* https://github.com/fomantic/Fomantic-UI/
|
468
468
|
*
|
469
469
|
*
|
@@ -1795,7 +1795,8 @@
|
|
1795
1795
|
fieldValid = true,
|
1796
1796
|
fieldErrors = [],
|
1797
1797
|
isDisabled = $field.filter(':not(:disabled)').length === 0,
|
1798
|
-
validationMessage = $field[0].validationMessage
|
1798
|
+
validationMessage = $field[0].validationMessage,
|
1799
|
+
errorLimit
|
1799
1800
|
;
|
1800
1801
|
if (!field.identifier) {
|
1801
1802
|
module.debug('Using field name as identifier', identifier);
|
@@ -1818,8 +1819,9 @@
|
|
1818
1819
|
} else if (field.depends && module.is.empty($dependsField)) {
|
1819
1820
|
module.debug('Field depends on another value that is not present or empty. Skipping', $dependsField);
|
1820
1821
|
} else if (field.rules !== undefined) {
|
1822
|
+
errorLimit = field.errorLimit || settings.errorLimit;
|
1821
1823
|
$.each(field.rules, function (index, rule) {
|
1822
|
-
if (module.has.field(identifier)) {
|
1824
|
+
if (module.has.field(identifier) && (!errorLimit || fieldErrors.length < errorLimit)) {
|
1823
1825
|
var invalidFields = module.validate.rule(field, rule, true) || [];
|
1824
1826
|
if (invalidFields.length > 0) {
|
1825
1827
|
module.debug('Field is invalid', identifier, rule.type);
|
@@ -2071,6 +2073,7 @@
|
|
2071
2073
|
preventLeaving: false,
|
2072
2074
|
errorFocus: true,
|
2073
2075
|
dateHandling: 'date', // 'date', 'input', 'formatter'
|
2076
|
+
errorLimit: 0,
|
2074
2077
|
|
2075
2078
|
onValid: function () {},
|
2076
2079
|
onInvalid: function () {},
|
@@ -2600,7 +2603,7 @@
|
|
2600
2603
|
})(jQuery, window, document);
|
2601
2604
|
|
2602
2605
|
/*!
|
2603
|
-
* # Fomantic-UI 2.9.3-beta.
|
2606
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Accordion
|
2604
2607
|
* https://github.com/fomantic/Fomantic-UI/
|
2605
2608
|
*
|
2606
2609
|
*
|
@@ -3194,7 +3197,7 @@
|
|
3194
3197
|
})(jQuery, window, document);
|
3195
3198
|
|
3196
3199
|
/*!
|
3197
|
-
* # Fomantic-UI 2.9.3-beta.
|
3200
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Calendar
|
3198
3201
|
* https://github.com/fomantic/Fomantic-UI/
|
3199
3202
|
*
|
3200
3203
|
*
|
@@ -5205,7 +5208,7 @@
|
|
5205
5208
|
})(jQuery, window, document);
|
5206
5209
|
|
5207
5210
|
/*!
|
5208
|
-
* # Fomantic-UI 2.9.3-beta.
|
5211
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Checkbox
|
5209
5212
|
* https://github.com/fomantic/Fomantic-UI/
|
5210
5213
|
*
|
5211
5214
|
*
|
@@ -6086,7 +6089,7 @@
|
|
6086
6089
|
})(jQuery, window, document);
|
6087
6090
|
|
6088
6091
|
/*!
|
6089
|
-
* # Fomantic-UI 2.9.3-beta.
|
6092
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Dimmer
|
6090
6093
|
* https://github.com/fomantic/Fomantic-UI/
|
6091
6094
|
*
|
6092
6095
|
*
|
@@ -6817,7 +6820,7 @@
|
|
6817
6820
|
})(jQuery, window, document);
|
6818
6821
|
|
6819
6822
|
/*!
|
6820
|
-
* # Fomantic-UI 2.9.3-beta.
|
6823
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Dropdown
|
6821
6824
|
* https://github.com/fomantic/Fomantic-UI/
|
6822
6825
|
*
|
6823
6826
|
*
|
@@ -11170,7 +11173,7 @@
|
|
11170
11173
|
})(jQuery, window, document);
|
11171
11174
|
|
11172
11175
|
/*!
|
11173
|
-
* # Fomantic-UI 2.9.3-beta.
|
11176
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Embed
|
11174
11177
|
* https://github.com/fomantic/Fomantic-UI/
|
11175
11178
|
*
|
11176
11179
|
*
|
@@ -11849,7 +11852,7 @@
|
|
11849
11852
|
})(jQuery, window, document);
|
11850
11853
|
|
11851
11854
|
/*!
|
11852
|
-
* # Fomantic-UI 2.9.3-beta.
|
11855
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Flyout
|
11853
11856
|
* https://github.com/fomantic/Fomantic-UI/
|
11854
11857
|
*
|
11855
11858
|
*
|
@@ -13430,7 +13433,7 @@
|
|
13430
13433
|
})(jQuery, window, document);
|
13431
13434
|
|
13432
13435
|
/*!
|
13433
|
-
* # Fomantic-UI 2.9.3-beta.
|
13436
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Modal
|
13434
13437
|
* https://github.com/fomantic/Fomantic-UI/
|
13435
13438
|
*
|
13436
13439
|
*
|
@@ -15064,7 +15067,7 @@
|
|
15064
15067
|
})(jQuery, window, document);
|
15065
15068
|
|
15066
15069
|
/*!
|
15067
|
-
* # Fomantic-UI 2.9.3-beta.
|
15070
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Nag
|
15068
15071
|
* https://github.com/fomantic/Fomantic-UI/
|
15069
15072
|
*
|
15070
15073
|
*
|
@@ -15625,7 +15628,7 @@
|
|
15625
15628
|
})(jQuery, window, document);
|
15626
15629
|
|
15627
15630
|
/*!
|
15628
|
-
* # Fomantic-UI 2.9.3-beta.
|
15631
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Popup
|
15629
15632
|
* https://github.com/fomantic/Fomantic-UI/
|
15630
15633
|
*
|
15631
15634
|
*
|
@@ -17181,7 +17184,7 @@
|
|
17181
17184
|
})(jQuery, window, document);
|
17182
17185
|
|
17183
17186
|
/*!
|
17184
|
-
* # Fomantic-UI 2.9.3-beta.
|
17187
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Progress
|
17185
17188
|
* https://github.com/fomantic/Fomantic-UI/
|
17186
17189
|
*
|
17187
17190
|
*
|
@@ -18159,7 +18162,7 @@
|
|
18159
18162
|
})(jQuery, window, document);
|
18160
18163
|
|
18161
18164
|
/*!
|
18162
|
-
* # Fomantic-UI 2.9.3-beta.
|
18165
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Slider
|
18163
18166
|
* https://github.com/fomantic/Fomantic-UI/
|
18164
18167
|
*
|
18165
18168
|
*
|
@@ -19603,7 +19606,7 @@
|
|
19603
19606
|
})(jQuery, window, document);
|
19604
19607
|
|
19605
19608
|
/*!
|
19606
|
-
* # Fomantic-UI 2.9.3-beta.
|
19609
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Rating
|
19607
19610
|
* https://github.com/fomantic/Fomantic-UI/
|
19608
19611
|
*
|
19609
19612
|
*
|
@@ -20142,7 +20145,7 @@
|
|
20142
20145
|
})(jQuery, window, document);
|
20143
20146
|
|
20144
20147
|
/*!
|
20145
|
-
* # Fomantic-UI 2.9.3-beta.
|
20148
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Search
|
20146
20149
|
* https://github.com/fomantic/Fomantic-UI/
|
20147
20150
|
*
|
20148
20151
|
*
|
@@ -21720,7 +21723,7 @@
|
|
21720
21723
|
})(jQuery, window, document);
|
21721
21724
|
|
21722
21725
|
/*!
|
21723
|
-
* # Fomantic-UI 2.9.3-beta.
|
21726
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Shape
|
21724
21727
|
* https://github.com/fomantic/Fomantic-UI/
|
21725
21728
|
*
|
21726
21729
|
*
|
@@ -22516,7 +22519,7 @@
|
|
22516
22519
|
})(jQuery, window, document);
|
22517
22520
|
|
22518
22521
|
/*!
|
22519
|
-
* # Fomantic-UI 2.9.3-beta.
|
22522
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Sidebar
|
22520
22523
|
* https://github.com/fomantic/Fomantic-UI/
|
22521
22524
|
*
|
22522
22525
|
*
|
@@ -23599,7 +23602,7 @@
|
|
23599
23602
|
})(jQuery, window, document);
|
23600
23603
|
|
23601
23604
|
/*!
|
23602
|
-
* # Fomantic-UI 2.9.3-beta.
|
23605
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Sticky
|
23603
23606
|
* https://github.com/fomantic/Fomantic-UI/
|
23604
23607
|
*
|
23605
23608
|
*
|
@@ -24515,7 +24518,7 @@
|
|
24515
24518
|
})(jQuery, window, document);
|
24516
24519
|
|
24517
24520
|
/*!
|
24518
|
-
* # Fomantic-UI 2.9.3-beta.
|
24521
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Tab
|
24519
24522
|
* https://github.com/fomantic/Fomantic-UI/
|
24520
24523
|
*
|
24521
24524
|
*
|
@@ -25479,7 +25482,7 @@
|
|
25479
25482
|
})(jQuery, window, document);
|
25480
25483
|
|
25481
25484
|
/*!
|
25482
|
-
* # Fomantic-UI 2.9.3-beta.
|
25485
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Toast
|
25483
25486
|
* https://github.com/fomantic/Fomantic-UI/
|
25484
25487
|
*
|
25485
25488
|
*
|
@@ -26440,7 +26443,7 @@
|
|
26440
26443
|
})(jQuery, window, document);
|
26441
26444
|
|
26442
26445
|
/*!
|
26443
|
-
* # Fomantic-UI 2.9.3-beta.
|
26446
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Transition
|
26444
26447
|
* https://github.com/fomantic/Fomantic-UI/
|
26445
26448
|
*
|
26446
26449
|
*
|
@@ -27471,7 +27474,7 @@
|
|
27471
27474
|
})(jQuery, window, document);
|
27472
27475
|
|
27473
27476
|
/*!
|
27474
|
-
* # Fomantic-UI 2.9.3-beta.
|
27477
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - API
|
27475
27478
|
* https://github.com/fomantic/Fomantic-UI/
|
27476
27479
|
*
|
27477
27480
|
*
|
@@ -28692,7 +28695,7 @@
|
|
28692
28695
|
})(jQuery, window, document);
|
28693
28696
|
|
28694
28697
|
/*!
|
28695
|
-
* # Fomantic-UI 2.9.3-beta.
|
28698
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - State
|
28696
28699
|
* https://github.com/fomantic/Fomantic-UI/
|
28697
28700
|
*
|
28698
28701
|
*
|
@@ -29388,7 +29391,7 @@
|
|
29388
29391
|
})(jQuery, window, document);
|
29389
29392
|
|
29390
29393
|
/*!
|
29391
|
-
* # Fomantic-UI 2.9.3-beta.
|
29394
|
+
* # Fomantic-UI 2.9.3-beta.21+491b07a - Visibility
|
29392
29395
|
* https://github.com/fomantic/Fomantic-UI/
|
29393
29396
|
*
|
29394
29397
|
*
|
package/dist/semantic.min.css
CHANGED