fomantic-ui 2.9.4-beta.47 → 2.9.4-beta.49
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 +2 -2
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +2 -2
- 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 -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 +32 -31
- 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 -4
- package/src/definitions/modules/dropdown.js +1 -1
- package/types/fomantic-ui-dropdown.d.ts +12 -0
- package/types/fomantic-ui-embed.d.ts +18 -1
- package/types/fomantic-ui-search.d.ts +82 -1
- package/types/fomantic-ui-toast.d.ts +7 -0
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.4-beta.
|
2
|
+
* # Fomantic UI - 2.9.4-beta.49+f0d7450
|
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.4-beta.
|
12
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Site
|
13
13
|
* https://github.com/fomantic/Fomantic-UI/
|
14
14
|
*
|
15
15
|
*
|
@@ -465,7 +465,7 @@
|
|
465
465
|
})(jQuery, window, document);
|
466
466
|
|
467
467
|
/*!
|
468
|
-
* # Fomantic-UI 2.9.4-beta.
|
468
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Form Validation
|
469
469
|
* https://github.com/fomantic/Fomantic-UI/
|
470
470
|
*
|
471
471
|
*
|
@@ -1816,12 +1816,13 @@
|
|
1816
1816
|
var
|
1817
1817
|
identifier = field.identifier || fieldName,
|
1818
1818
|
$field = module.get.field(identifier),
|
1819
|
+
$fieldGroup = $field.closest($group),
|
1819
1820
|
$dependsField = field.depends
|
1820
1821
|
? module.get.field(field.depends)
|
1821
1822
|
: false,
|
1822
1823
|
fieldValid = true,
|
1823
1824
|
fieldErrors = [],
|
1824
|
-
isDisabled = $field.filter(':not(:disabled)').length === 0,
|
1825
|
+
isDisabled = $field.filter(':not(:disabled)').length === 0 || $fieldGroup.hasClass(className.disabled) || $fieldGroup.parent().hasClass(className.disabled),
|
1825
1826
|
validationMessage = $field[0].validationMessage,
|
1826
1827
|
noNativeValidation = field.noNativeValidation || settings.noNativeValidation || $field.filter('[formnovalidate],[novalidate]').length > 0 || $module.filter('[novalidate]').length > 0,
|
1827
1828
|
errorLimit
|
@@ -1830,15 +1831,15 @@
|
|
1830
1831
|
module.debug('Using field name as identifier', identifier);
|
1831
1832
|
field.identifier = identifier;
|
1832
1833
|
}
|
1833
|
-
if (validationMessage && !noNativeValidation) {
|
1834
|
+
if (validationMessage && !noNativeValidation && !isDisabled) {
|
1834
1835
|
module.debug('Field is natively invalid', identifier);
|
1835
1836
|
fieldErrors.push(validationMessage);
|
1836
1837
|
fieldValid = false;
|
1837
1838
|
if (showErrors) {
|
1838
|
-
$
|
1839
|
+
$fieldGroup.addClass(className.error);
|
1839
1840
|
}
|
1840
1841
|
} else if (showErrors) {
|
1841
|
-
$
|
1842
|
+
$fieldGroup.removeClass(className.error);
|
1842
1843
|
}
|
1843
1844
|
if (isDisabled) {
|
1844
1845
|
module.debug('Field is disabled. Skipping', identifier);
|
@@ -2647,7 +2648,7 @@
|
|
2647
2648
|
})(jQuery, window, document);
|
2648
2649
|
|
2649
2650
|
/*!
|
2650
|
-
* # Fomantic-UI 2.9.4-beta.
|
2651
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Accordion
|
2651
2652
|
* https://github.com/fomantic/Fomantic-UI/
|
2652
2653
|
*
|
2653
2654
|
*
|
@@ -3243,7 +3244,7 @@
|
|
3243
3244
|
})(jQuery, window, document);
|
3244
3245
|
|
3245
3246
|
/*!
|
3246
|
-
* # Fomantic-UI 2.9.4-beta.
|
3247
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Calendar
|
3247
3248
|
* https://github.com/fomantic/Fomantic-UI/
|
3248
3249
|
*
|
3249
3250
|
*
|
@@ -5256,7 +5257,7 @@
|
|
5256
5257
|
})(jQuery, window, document);
|
5257
5258
|
|
5258
5259
|
/*!
|
5259
|
-
* # Fomantic-UI 2.9.4-beta.
|
5260
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Checkbox
|
5260
5261
|
* https://github.com/fomantic/Fomantic-UI/
|
5261
5262
|
*
|
5262
5263
|
*
|
@@ -6145,7 +6146,7 @@
|
|
6145
6146
|
})(jQuery, window, document);
|
6146
6147
|
|
6147
6148
|
/*!
|
6148
|
-
* # Fomantic-UI 2.9.4-beta.
|
6149
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Dimmer
|
6149
6150
|
* https://github.com/fomantic/Fomantic-UI/
|
6150
6151
|
*
|
6151
6152
|
*
|
@@ -6878,7 +6879,7 @@
|
|
6878
6879
|
})(jQuery, window, document);
|
6879
6880
|
|
6880
6881
|
/*!
|
6881
|
-
* # Fomantic-UI 2.9.4-beta.
|
6882
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Dropdown
|
6882
6883
|
* https://github.com/fomantic/Fomantic-UI/
|
6883
6884
|
*
|
6884
6885
|
*
|
@@ -9556,7 +9557,7 @@
|
|
9556
9557
|
module.set.scrollPosition($nextValue);
|
9557
9558
|
$selectedItem.removeClass(className.selected);
|
9558
9559
|
$nextValue.addClass(className.selected);
|
9559
|
-
if (settings.selectOnKeydown && module.is.single() && !$nextItem.hasClass(className.actionable)) {
|
9560
|
+
if (settings.selectOnKeydown && module.is.single() && (!$nextItem || !$nextItem.hasClass(className.actionable))) {
|
9560
9561
|
module.set.selectedItem($nextValue);
|
9561
9562
|
}
|
9562
9563
|
}
|
@@ -11305,7 +11306,7 @@
|
|
11305
11306
|
})(jQuery, window, document);
|
11306
11307
|
|
11307
11308
|
/*!
|
11308
|
-
* # Fomantic-UI 2.9.4-beta.
|
11309
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Embed
|
11309
11310
|
* https://github.com/fomantic/Fomantic-UI/
|
11310
11311
|
*
|
11311
11312
|
*
|
@@ -11994,7 +11995,7 @@
|
|
11994
11995
|
})(jQuery, window, document);
|
11995
11996
|
|
11996
11997
|
/*!
|
11997
|
-
* # Fomantic-UI 2.9.4-beta.
|
11998
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Flyout
|
11998
11999
|
* https://github.com/fomantic/Fomantic-UI/
|
11999
12000
|
*
|
12000
12001
|
*
|
@@ -13546,7 +13547,7 @@
|
|
13546
13547
|
})(jQuery, window, document);
|
13547
13548
|
|
13548
13549
|
/*!
|
13549
|
-
* # Fomantic-UI 2.9.4-beta.
|
13550
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Modal
|
13550
13551
|
* https://github.com/fomantic/Fomantic-UI/
|
13551
13552
|
*
|
13552
13553
|
*
|
@@ -15184,7 +15185,7 @@
|
|
15184
15185
|
})(jQuery, window, document);
|
15185
15186
|
|
15186
15187
|
/*!
|
15187
|
-
* # Fomantic-UI 2.9.4-beta.
|
15188
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Nag
|
15188
15189
|
* https://github.com/fomantic/Fomantic-UI/
|
15189
15190
|
*
|
15190
15191
|
*
|
@@ -15751,7 +15752,7 @@
|
|
15751
15752
|
})(jQuery, window, document);
|
15752
15753
|
|
15753
15754
|
/*!
|
15754
|
-
* # Fomantic-UI 2.9.4-beta.
|
15755
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Popup
|
15755
15756
|
* https://github.com/fomantic/Fomantic-UI/
|
15756
15757
|
*
|
15757
15758
|
*
|
@@ -17313,7 +17314,7 @@
|
|
17313
17314
|
})(jQuery, window, document);
|
17314
17315
|
|
17315
17316
|
/*!
|
17316
|
-
* # Fomantic-UI 2.9.4-beta.
|
17317
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Progress
|
17317
17318
|
* https://github.com/fomantic/Fomantic-UI/
|
17318
17319
|
*
|
17319
17320
|
*
|
@@ -18293,7 +18294,7 @@
|
|
18293
18294
|
})(jQuery, window, document);
|
18294
18295
|
|
18295
18296
|
/*!
|
18296
|
-
* # Fomantic-UI 2.9.4-beta.
|
18297
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Slider
|
18297
18298
|
* https://github.com/fomantic/Fomantic-UI/
|
18298
18299
|
*
|
18299
18300
|
*
|
@@ -19744,7 +19745,7 @@
|
|
19744
19745
|
})(jQuery, window, document);
|
19745
19746
|
|
19746
19747
|
/*!
|
19747
|
-
* # Fomantic-UI 2.9.4-beta.
|
19748
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Rating
|
19748
19749
|
* https://github.com/fomantic/Fomantic-UI/
|
19749
19750
|
*
|
19750
19751
|
*
|
@@ -20285,7 +20286,7 @@
|
|
20285
20286
|
})(jQuery, window, document);
|
20286
20287
|
|
20287
20288
|
/*!
|
20288
|
-
* # Fomantic-UI 2.9.4-beta.
|
20289
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Search
|
20289
20290
|
* https://github.com/fomantic/Fomantic-UI/
|
20290
20291
|
*
|
20291
20292
|
*
|
@@ -21916,7 +21917,7 @@
|
|
21916
21917
|
})(jQuery, window, document);
|
21917
21918
|
|
21918
21919
|
/*!
|
21919
|
-
* # Fomantic-UI 2.9.4-beta.
|
21920
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Shape
|
21920
21921
|
* https://github.com/fomantic/Fomantic-UI/
|
21921
21922
|
*
|
21922
21923
|
*
|
@@ -22714,7 +22715,7 @@
|
|
22714
22715
|
})(jQuery, window, document);
|
22715
22716
|
|
22716
22717
|
/*!
|
22717
|
-
* # Fomantic-UI 2.9.4-beta.
|
22718
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Sidebar
|
22718
22719
|
* https://github.com/fomantic/Fomantic-UI/
|
22719
22720
|
*
|
22720
22721
|
*
|
@@ -23769,7 +23770,7 @@
|
|
23769
23770
|
})(jQuery, window, document);
|
23770
23771
|
|
23771
23772
|
/*!
|
23772
|
-
* # Fomantic-UI 2.9.4-beta.
|
23773
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Sticky
|
23773
23774
|
* https://github.com/fomantic/Fomantic-UI/
|
23774
23775
|
*
|
23775
23776
|
*
|
@@ -24687,7 +24688,7 @@
|
|
24687
24688
|
})(jQuery, window, document);
|
24688
24689
|
|
24689
24690
|
/*!
|
24690
|
-
* # Fomantic-UI 2.9.4-beta.
|
24691
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Tab
|
24691
24692
|
* https://github.com/fomantic/Fomantic-UI/
|
24692
24693
|
*
|
24693
24694
|
*
|
@@ -25655,7 +25656,7 @@
|
|
25655
25656
|
})(jQuery, window, document);
|
25656
25657
|
|
25657
25658
|
/*!
|
25658
|
-
* # Fomantic-UI 2.9.4-beta.
|
25659
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Toast
|
25659
25660
|
* https://github.com/fomantic/Fomantic-UI/
|
25660
25661
|
*
|
25661
25662
|
*
|
@@ -26620,7 +26621,7 @@
|
|
26620
26621
|
})(jQuery, window, document);
|
26621
26622
|
|
26622
26623
|
/*!
|
26623
|
-
* # Fomantic-UI 2.9.4-beta.
|
26624
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Transition
|
26624
26625
|
* https://github.com/fomantic/Fomantic-UI/
|
26625
26626
|
*
|
26626
26627
|
*
|
@@ -27655,7 +27656,7 @@
|
|
27655
27656
|
})(jQuery, window, document);
|
27656
27657
|
|
27657
27658
|
/*!
|
27658
|
-
* # Fomantic-UI 2.9.4-beta.
|
27659
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - API
|
27659
27660
|
* https://github.com/fomantic/Fomantic-UI/
|
27660
27661
|
*
|
27661
27662
|
*
|
@@ -28881,7 +28882,7 @@
|
|
28881
28882
|
})(jQuery, window, document);
|
28882
28883
|
|
28883
28884
|
/*!
|
28884
|
-
* # Fomantic-UI 2.9.4-beta.
|
28885
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - State
|
28885
28886
|
* https://github.com/fomantic/Fomantic-UI/
|
28886
28887
|
*
|
28887
28888
|
*
|
@@ -29579,7 +29580,7 @@
|
|
29579
29580
|
})(jQuery, window, document);
|
29580
29581
|
|
29581
29582
|
/*!
|
29582
|
-
* # Fomantic-UI 2.9.4-beta.
|
29583
|
+
* # Fomantic-UI 2.9.4-beta.49+f0d7450 - Visibility
|
29583
29584
|
* https://github.com/fomantic/Fomantic-UI/
|
29584
29585
|
*
|
29585
29586
|
*
|
package/dist/semantic.min.css
CHANGED