fomantic-ui 2.9.4-beta.1 → 2.9.4-beta.11
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 -3
- package/dist/components/dropdown.js +2 -2
- package/dist/components/dropdown.min.css +2 -2
- 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 +14 -5
- package/dist/components/form.js +9 -7
- package/dist/components/form.min.css +2 -2
- 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 +4 -1
- package/dist/components/header.min.css +2 -2
- 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 +30 -10
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -2
- package/dist/components/label.min.css +2 -2
- 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 -2
- package/dist/components/menu.min.css +2 -2
- 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 -2
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +2 -2
- 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 +100 -71
- package/dist/semantic.js +35 -33
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/behaviors/form.js +8 -6
- package/src/definitions/collections/form.less +13 -4
- package/src/definitions/elements/header.less +5 -0
- package/src/definitions/elements/input.less +14 -6
- package/src/definitions/modules/dropdown.js +1 -1
- package/src/themes/default/collections/form.variables +1 -0
- package/src/themes/default/globals/variation.variables +1 -0
- package/types/fomantic-ui-api.d.ts +8 -2
- package/types/fomantic-ui-calendar.d.ts +93 -8
- package/types/fomantic-ui-checkbox.d.ts +14 -4
- package/types/fomantic-ui-dropdown.d.ts +12 -17
- package/types/fomantic-ui-flyout.d.ts +21 -7
- package/types/fomantic-ui-form.d.ts +112 -17
- package/types/fomantic-ui-modal.d.ts +74 -4
- package/types/fomantic-ui-nag.d.ts +1 -1
- package/types/fomantic-ui-popup.d.ts +8 -8
- package/types/fomantic-ui-progress.d.ts +6 -0
- package/types/fomantic-ui-search.d.ts +30 -12
- package/types/fomantic-ui-tab.d.ts +1 -1
- package/types/fomantic-ui-tests.ts +162 -0
- package/types/fomantic-ui-toast.d.ts +6 -1
- package/types/fomantic-ui-transition.d.ts +28 -0
- package/types/fomantic-ui-visibility.d.ts +2 -2
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.11+a03991c
|
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.11+a03991c - 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.4-beta.
|
466
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Form Validation
|
467
467
|
* https://github.com/fomantic/Fomantic-UI/
|
468
468
|
*
|
469
469
|
*
|
@@ -1083,7 +1083,7 @@
|
|
1083
1083
|
// refresh selector cache
|
1084
1084
|
(instance || module).refresh();
|
1085
1085
|
},
|
1086
|
-
field: function (identifier, strict) {
|
1086
|
+
field: function (identifier, strict, ignoreMissing) {
|
1087
1087
|
module.verbose('Finding field with identifier', identifier);
|
1088
1088
|
identifier = module.escape.string(identifier);
|
1089
1089
|
var t;
|
@@ -1103,7 +1103,9 @@
|
|
1103
1103
|
if (t.length > 0) {
|
1104
1104
|
return t;
|
1105
1105
|
}
|
1106
|
-
|
1106
|
+
if (!ignoreMissing) {
|
1107
|
+
module.error(error.noField.replace('{identifier}', identifier));
|
1108
|
+
}
|
1107
1109
|
|
1108
1110
|
return strict ? $() : $('<input/>');
|
1109
1111
|
},
|
@@ -1281,10 +1283,10 @@
|
|
1281
1283
|
|
1282
1284
|
has: {
|
1283
1285
|
|
1284
|
-
field: function (identifier) {
|
1286
|
+
field: function (identifier, ignoreMissing) {
|
1285
1287
|
module.verbose('Checking for existence of a field with identifier', identifier);
|
1286
1288
|
|
1287
|
-
return module.get.field(identifier, true).length > 0;
|
1289
|
+
return module.get.field(identifier, true, ignoreMissing).length > 0;
|
1288
1290
|
},
|
1289
1291
|
|
1290
1292
|
},
|
@@ -1484,7 +1486,7 @@
|
|
1484
1486
|
}
|
1485
1487
|
if (rule === undefined) {
|
1486
1488
|
module.debug('Removed all rules');
|
1487
|
-
if (module.has.field(field)) {
|
1489
|
+
if (module.has.field(field, true)) {
|
1488
1490
|
validation[field].rules = [];
|
1489
1491
|
} else {
|
1490
1492
|
delete validation[field];
|
@@ -1685,7 +1687,7 @@
|
|
1685
1687
|
module.debug('Enabling auto check on required fields');
|
1686
1688
|
if (validation) {
|
1687
1689
|
$.each(validation, function (fieldName) {
|
1688
|
-
if (!module.has.field(fieldName)) {
|
1690
|
+
if (!module.has.field(fieldName, true)) {
|
1689
1691
|
module.verbose('Field not found, removing from validation', fieldName);
|
1690
1692
|
module.remove.field(fieldName);
|
1691
1693
|
}
|
@@ -2618,7 +2620,7 @@
|
|
2618
2620
|
})(jQuery, window, document);
|
2619
2621
|
|
2620
2622
|
/*!
|
2621
|
-
* # Fomantic-UI 2.9.4-beta.
|
2623
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Accordion
|
2622
2624
|
* https://github.com/fomantic/Fomantic-UI/
|
2623
2625
|
*
|
2624
2626
|
*
|
@@ -3212,7 +3214,7 @@
|
|
3212
3214
|
})(jQuery, window, document);
|
3213
3215
|
|
3214
3216
|
/*!
|
3215
|
-
* # Fomantic-UI 2.9.4-beta.
|
3217
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Calendar
|
3216
3218
|
* https://github.com/fomantic/Fomantic-UI/
|
3217
3219
|
*
|
3218
3220
|
*
|
@@ -5223,7 +5225,7 @@
|
|
5223
5225
|
})(jQuery, window, document);
|
5224
5226
|
|
5225
5227
|
/*!
|
5226
|
-
* # Fomantic-UI 2.9.4-beta.
|
5228
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Checkbox
|
5227
5229
|
* https://github.com/fomantic/Fomantic-UI/
|
5228
5230
|
*
|
5229
5231
|
*
|
@@ -6106,7 +6108,7 @@
|
|
6106
6108
|
})(jQuery, window, document);
|
6107
6109
|
|
6108
6110
|
/*!
|
6109
|
-
* # Fomantic-UI 2.9.4-beta.
|
6111
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Dimmer
|
6110
6112
|
* https://github.com/fomantic/Fomantic-UI/
|
6111
6113
|
*
|
6112
6114
|
*
|
@@ -6837,7 +6839,7 @@
|
|
6837
6839
|
})(jQuery, window, document);
|
6838
6840
|
|
6839
6841
|
/*!
|
6840
|
-
* # Fomantic-UI 2.9.4-beta.
|
6842
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Dropdown
|
6841
6843
|
* https://github.com/fomantic/Fomantic-UI/
|
6842
6844
|
*
|
6843
6845
|
*
|
@@ -9644,8 +9646,8 @@
|
|
9644
9646
|
module.save.remoteData(selectedText, selectedValue);
|
9645
9647
|
}
|
9646
9648
|
if (settings.useLabels) {
|
9647
|
-
module.add.value(selectedValue, selectedText, $selected, preventChangeTrigger);
|
9648
9649
|
module.add.label(selectedValue, selectedText, shouldAnimate);
|
9650
|
+
module.add.value(selectedValue, selectedText, $selected, preventChangeTrigger);
|
9649
9651
|
module.set.activeItem($selected);
|
9650
9652
|
module.filterActive();
|
9651
9653
|
module.select.nextAvailable($selectedItem);
|
@@ -11195,7 +11197,7 @@
|
|
11195
11197
|
})(jQuery, window, document);
|
11196
11198
|
|
11197
11199
|
/*!
|
11198
|
-
* # Fomantic-UI 2.9.4-beta.
|
11200
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Embed
|
11199
11201
|
* https://github.com/fomantic/Fomantic-UI/
|
11200
11202
|
*
|
11201
11203
|
*
|
@@ -11874,7 +11876,7 @@
|
|
11874
11876
|
})(jQuery, window, document);
|
11875
11877
|
|
11876
11878
|
/*!
|
11877
|
-
* # Fomantic-UI 2.9.4-beta.
|
11879
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Flyout
|
11878
11880
|
* https://github.com/fomantic/Fomantic-UI/
|
11879
11881
|
*
|
11880
11882
|
*
|
@@ -13424,7 +13426,7 @@
|
|
13424
13426
|
})(jQuery, window, document);
|
13425
13427
|
|
13426
13428
|
/*!
|
13427
|
-
* # Fomantic-UI 2.9.4-beta.
|
13429
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Modal
|
13428
13430
|
* https://github.com/fomantic/Fomantic-UI/
|
13429
13431
|
*
|
13430
13432
|
*
|
@@ -15058,7 +15060,7 @@
|
|
15058
15060
|
})(jQuery, window, document);
|
15059
15061
|
|
15060
15062
|
/*!
|
15061
|
-
* # Fomantic-UI 2.9.4-beta.
|
15063
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Nag
|
15062
15064
|
* https://github.com/fomantic/Fomantic-UI/
|
15063
15065
|
*
|
15064
15066
|
*
|
@@ -15619,7 +15621,7 @@
|
|
15619
15621
|
})(jQuery, window, document);
|
15620
15622
|
|
15621
15623
|
/*!
|
15622
|
-
* # Fomantic-UI 2.9.4-beta.
|
15624
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Popup
|
15623
15625
|
* https://github.com/fomantic/Fomantic-UI/
|
15624
15626
|
*
|
15625
15627
|
*
|
@@ -17175,7 +17177,7 @@
|
|
17175
17177
|
})(jQuery, window, document);
|
17176
17178
|
|
17177
17179
|
/*!
|
17178
|
-
* # Fomantic-UI 2.9.4-beta.
|
17180
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Progress
|
17179
17181
|
* https://github.com/fomantic/Fomantic-UI/
|
17180
17182
|
*
|
17181
17183
|
*
|
@@ -18153,7 +18155,7 @@
|
|
18153
18155
|
})(jQuery, window, document);
|
18154
18156
|
|
18155
18157
|
/*!
|
18156
|
-
* # Fomantic-UI 2.9.4-beta.
|
18158
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Slider
|
18157
18159
|
* https://github.com/fomantic/Fomantic-UI/
|
18158
18160
|
*
|
18159
18161
|
*
|
@@ -19602,7 +19604,7 @@
|
|
19602
19604
|
})(jQuery, window, document);
|
19603
19605
|
|
19604
19606
|
/*!
|
19605
|
-
* # Fomantic-UI 2.9.4-beta.
|
19607
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Rating
|
19606
19608
|
* https://github.com/fomantic/Fomantic-UI/
|
19607
19609
|
*
|
19608
19610
|
*
|
@@ -20141,7 +20143,7 @@
|
|
20141
20143
|
})(jQuery, window, document);
|
20142
20144
|
|
20143
20145
|
/*!
|
20144
|
-
* # Fomantic-UI 2.9.4-beta.
|
20146
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Search
|
20145
20147
|
* https://github.com/fomantic/Fomantic-UI/
|
20146
20148
|
*
|
20147
20149
|
*
|
@@ -21719,7 +21721,7 @@
|
|
21719
21721
|
})(jQuery, window, document);
|
21720
21722
|
|
21721
21723
|
/*!
|
21722
|
-
* # Fomantic-UI 2.9.4-beta.
|
21724
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Shape
|
21723
21725
|
* https://github.com/fomantic/Fomantic-UI/
|
21724
21726
|
*
|
21725
21727
|
*
|
@@ -22515,7 +22517,7 @@
|
|
22515
22517
|
})(jQuery, window, document);
|
22516
22518
|
|
22517
22519
|
/*!
|
22518
|
-
* # Fomantic-UI 2.9.4-beta.
|
22520
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Sidebar
|
22519
22521
|
* https://github.com/fomantic/Fomantic-UI/
|
22520
22522
|
*
|
22521
22523
|
*
|
@@ -23568,7 +23570,7 @@
|
|
23568
23570
|
})(jQuery, window, document);
|
23569
23571
|
|
23570
23572
|
/*!
|
23571
|
-
* # Fomantic-UI 2.9.4-beta.
|
23573
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Sticky
|
23572
23574
|
* https://github.com/fomantic/Fomantic-UI/
|
23573
23575
|
*
|
23574
23576
|
*
|
@@ -24484,7 +24486,7 @@
|
|
24484
24486
|
})(jQuery, window, document);
|
24485
24487
|
|
24486
24488
|
/*!
|
24487
|
-
* # Fomantic-UI 2.9.4-beta.
|
24489
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Tab
|
24488
24490
|
* https://github.com/fomantic/Fomantic-UI/
|
24489
24491
|
*
|
24490
24492
|
*
|
@@ -25450,7 +25452,7 @@
|
|
25450
25452
|
})(jQuery, window, document);
|
25451
25453
|
|
25452
25454
|
/*!
|
25453
|
-
* # Fomantic-UI 2.9.4-beta.
|
25455
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Toast
|
25454
25456
|
* https://github.com/fomantic/Fomantic-UI/
|
25455
25457
|
*
|
25456
25458
|
*
|
@@ -26411,7 +26413,7 @@
|
|
26411
26413
|
})(jQuery, window, document);
|
26412
26414
|
|
26413
26415
|
/*!
|
26414
|
-
* # Fomantic-UI 2.9.4-beta.
|
26416
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Transition
|
26415
26417
|
* https://github.com/fomantic/Fomantic-UI/
|
26416
26418
|
*
|
26417
26419
|
*
|
@@ -27442,7 +27444,7 @@
|
|
27442
27444
|
})(jQuery, window, document);
|
27443
27445
|
|
27444
27446
|
/*!
|
27445
|
-
* # Fomantic-UI 2.9.4-beta.
|
27447
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - API
|
27446
27448
|
* https://github.com/fomantic/Fomantic-UI/
|
27447
27449
|
*
|
27448
27450
|
*
|
@@ -28664,7 +28666,7 @@
|
|
28664
28666
|
})(jQuery, window, document);
|
28665
28667
|
|
28666
28668
|
/*!
|
28667
|
-
* # Fomantic-UI 2.9.4-beta.
|
28669
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - State
|
28668
28670
|
* https://github.com/fomantic/Fomantic-UI/
|
28669
28671
|
*
|
28670
28672
|
*
|
@@ -29360,7 +29362,7 @@
|
|
29360
29362
|
})(jQuery, window, document);
|
29361
29363
|
|
29362
29364
|
/*!
|
29363
|
-
* # Fomantic-UI 2.9.4-beta.
|
29365
|
+
* # Fomantic-UI 2.9.4-beta.11+a03991c - Visibility
|
29364
29366
|
* https://github.com/fomantic/Fomantic-UI/
|
29365
29367
|
*
|
29366
29368
|
*
|