fomantic-ui 2.9.0-beta.184 → 2.9.0-beta.188
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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +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 +2 -2
- 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/form.css +1 -1
- package/dist/components/form.js +1 -1
- 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/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +24 -14
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +50 -50
- package/dist/semantic.js +49 -39
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +3 -3
- package/package.json +1 -1
- package/src/definitions/modules/modal.js +23 -13
package/dist/semantic.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.0-beta.
|
2
|
+
* # Fomantic UI - 2.9.0-beta.188
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* http://fomantic-ui.com/
|
5
5
|
*
|
6
|
-
* Copyright
|
6
|
+
* Copyright 2022 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
/*!
|
12
|
-
* # Fomantic-UI 2.9.0-beta.
|
12
|
+
* # Fomantic-UI 2.9.0-beta.188 - Site
|
13
13
|
* http://github.com/fomantic/Fomantic-UI/
|
14
14
|
*
|
15
15
|
*
|
@@ -503,7 +503,7 @@ $.extend($.expr[ ":" ], {
|
|
503
503
|
})( jQuery, window, document );
|
504
504
|
|
505
505
|
/*!
|
506
|
-
* # Fomantic-UI 2.9.0-beta.
|
506
|
+
* # Fomantic-UI 2.9.0-beta.188 - Form Validation
|
507
507
|
* http://github.com/fomantic/Fomantic-UI/
|
508
508
|
*
|
509
509
|
*
|
@@ -2577,7 +2577,7 @@ $.fn.form.settings = {
|
|
2577
2577
|
})( jQuery, window, document );
|
2578
2578
|
|
2579
2579
|
/*!
|
2580
|
-
* # Fomantic-UI 2.9.0-beta.
|
2580
|
+
* # Fomantic-UI 2.9.0-beta.188 - Accordion
|
2581
2581
|
* http://github.com/fomantic/Fomantic-UI/
|
2582
2582
|
*
|
2583
2583
|
*
|
@@ -3196,7 +3196,7 @@ $.extend( $.easing, {
|
|
3196
3196
|
|
3197
3197
|
|
3198
3198
|
/*!
|
3199
|
-
* # Fomantic-UI 2.9.0-beta.
|
3199
|
+
* # Fomantic-UI 2.9.0-beta.188 - Calendar
|
3200
3200
|
* http://github.com/fomantic/Fomantic-UI/
|
3201
3201
|
*
|
3202
3202
|
*
|
@@ -5068,7 +5068,7 @@ $.fn.calendar.settings = {
|
|
5068
5068
|
})(jQuery, window, document);
|
5069
5069
|
|
5070
5070
|
/*!
|
5071
|
-
* # Fomantic-UI 2.9.0-beta.
|
5071
|
+
* # Fomantic-UI 2.9.0-beta.188 - Checkbox
|
5072
5072
|
* http://github.com/fomantic/Fomantic-UI/
|
5073
5073
|
*
|
5074
5074
|
*
|
@@ -5951,7 +5951,7 @@ $.fn.checkbox.settings = {
|
|
5951
5951
|
})( jQuery, window, document );
|
5952
5952
|
|
5953
5953
|
/*!
|
5954
|
-
* # Fomantic-UI 2.9.0-beta.
|
5954
|
+
* # Fomantic-UI 2.9.0-beta.188 - Dimmer
|
5955
5955
|
* http://github.com/fomantic/Fomantic-UI/
|
5956
5956
|
*
|
5957
5957
|
*
|
@@ -6708,7 +6708,7 @@ $.fn.dimmer.settings = {
|
|
6708
6708
|
})( jQuery, window, document );
|
6709
6709
|
|
6710
6710
|
/*!
|
6711
|
-
* # Fomantic-UI 2.9.0-beta.
|
6711
|
+
* # Fomantic-UI 2.9.0-beta.188 - Dropdown
|
6712
6712
|
* http://github.com/fomantic/Fomantic-UI/
|
6713
6713
|
*
|
6714
6714
|
*
|
@@ -11064,7 +11064,7 @@ $.fn.dropdown.settings.templates = {
|
|
11064
11064
|
})( jQuery, window, document );
|
11065
11065
|
|
11066
11066
|
/*!
|
11067
|
-
* # Fomantic-UI 2.9.0-beta.
|
11067
|
+
* # Fomantic-UI 2.9.0-beta.188 - Embed
|
11068
11068
|
* http://github.com/fomantic/Fomantic-UI/
|
11069
11069
|
*
|
11070
11070
|
*
|
@@ -11774,7 +11774,7 @@ $.fn.embed.settings = {
|
|
11774
11774
|
})( jQuery, window, document );
|
11775
11775
|
|
11776
11776
|
/*!
|
11777
|
-
* # Fomantic-UI 2.9.0-beta.
|
11777
|
+
* # Fomantic-UI 2.9.0-beta.188 - Modal
|
11778
11778
|
* http://github.com/fomantic/Fomantic-UI/
|
11779
11779
|
*
|
11780
11780
|
*
|
@@ -13228,33 +13228,39 @@ $.fn.modal.settings.templates = {
|
|
13228
13228
|
},
|
13229
13229
|
alert: function () {
|
13230
13230
|
var settings = this.get.settings(),
|
13231
|
-
args = settings.templates.getArguments(arguments)
|
13231
|
+
args = settings.templates.getArguments(arguments),
|
13232
|
+
approveFn = args.handler
|
13232
13233
|
;
|
13233
13234
|
return {
|
13234
13235
|
title : args.title,
|
13235
13236
|
content: args.content,
|
13237
|
+
onApprove: approveFn,
|
13236
13238
|
actions: [{
|
13237
13239
|
text : settings.text.ok,
|
13238
13240
|
class: settings.className.ok,
|
13239
|
-
click:
|
13241
|
+
click: approveFn
|
13240
13242
|
}]
|
13241
13243
|
}
|
13242
13244
|
},
|
13243
13245
|
confirm: function () {
|
13244
13246
|
var settings = this.get.settings(),
|
13245
|
-
args = settings.templates.getArguments(arguments)
|
13247
|
+
args = settings.templates.getArguments(arguments),
|
13248
|
+
approveFn = function(){args.handler(true)},
|
13249
|
+
denyFn = function(){args.handler(false)}
|
13246
13250
|
;
|
13247
13251
|
return {
|
13248
13252
|
title : args.title,
|
13249
13253
|
content: args.content,
|
13254
|
+
onApprove: approveFn,
|
13255
|
+
onDeny: denyFn,
|
13250
13256
|
actions: [{
|
13251
13257
|
text : settings.text.ok,
|
13252
13258
|
class: settings.className.ok,
|
13253
|
-
click:
|
13259
|
+
click: approveFn
|
13254
13260
|
},{
|
13255
13261
|
text: settings.text.cancel,
|
13256
13262
|
class: settings.className.cancel,
|
13257
|
-
click:
|
13263
|
+
click: denyFn
|
13258
13264
|
}]
|
13259
13265
|
}
|
13260
13266
|
},
|
@@ -13262,7 +13268,14 @@ $.fn.modal.settings.templates = {
|
|
13262
13268
|
var $this = this,
|
13263
13269
|
settings = this.get.settings(),
|
13264
13270
|
args = settings.templates.getArguments(arguments),
|
13265
|
-
input = $($.parseHTML(args.content)).filter('.ui.input')
|
13271
|
+
input = $($.parseHTML(args.content)).filter('.ui.input'),
|
13272
|
+
approveFn = function(){
|
13273
|
+
var settings = $this.get.settings(),
|
13274
|
+
inputField = $this.get.element().find(settings.selector.prompt)[0]
|
13275
|
+
;
|
13276
|
+
args.handler($(inputField).val());
|
13277
|
+
},
|
13278
|
+
denyFn = function(){args.handler(null)}
|
13266
13279
|
;
|
13267
13280
|
if (input.length === 0) {
|
13268
13281
|
args.content += '<p><div class="'+settings.className.prompt+'"><input placeholder="'+this.helpers.deQuote(args.placeholder || '')+'" type="text" value="'+this.helpers.deQuote(args.defaultValue || '')+'"></div></p>';
|
@@ -13270,19 +13283,16 @@ $.fn.modal.settings.templates = {
|
|
13270
13283
|
return {
|
13271
13284
|
title : args.title,
|
13272
13285
|
content: args.content,
|
13286
|
+
onApprove: approveFn,
|
13287
|
+
onDeny: denyFn,
|
13273
13288
|
actions: [{
|
13274
13289
|
text: settings.text.ok,
|
13275
13290
|
class: settings.className.ok,
|
13276
|
-
click:
|
13277
|
-
var settings = $this.get.settings(),
|
13278
|
-
inputField = $this.get.element().find(settings.selector.prompt)[0]
|
13279
|
-
;
|
13280
|
-
args.handler($(inputField).val());
|
13281
|
-
}
|
13291
|
+
click: approveFn
|
13282
13292
|
},{
|
13283
13293
|
text: settings.text.cancel,
|
13284
13294
|
class: settings.className.cancel,
|
13285
|
-
click:
|
13295
|
+
click: denyFn
|
13286
13296
|
}]
|
13287
13297
|
}
|
13288
13298
|
}
|
@@ -13291,7 +13301,7 @@ $.fn.modal.settings.templates = {
|
|
13291
13301
|
})( jQuery, window, document );
|
13292
13302
|
|
13293
13303
|
/*!
|
13294
|
-
* # Fomantic-UI 2.9.0-beta.
|
13304
|
+
* # Fomantic-UI 2.9.0-beta.188 - Nag
|
13295
13305
|
* http://github.com/fomantic/Fomantic-UI/
|
13296
13306
|
*
|
13297
13307
|
*
|
@@ -13850,7 +13860,7 @@ $.extend( $.easing, {
|
|
13850
13860
|
})( jQuery, window, document );
|
13851
13861
|
|
13852
13862
|
/*!
|
13853
|
-
* # Fomantic-UI 2.9.0-beta.
|
13863
|
+
* # Fomantic-UI 2.9.0-beta.188 - Popup
|
13854
13864
|
* http://github.com/fomantic/Fomantic-UI/
|
13855
13865
|
*
|
13856
13866
|
*
|
@@ -15392,7 +15402,7 @@ $.fn.popup.settings = {
|
|
15392
15402
|
})( jQuery, window, document );
|
15393
15403
|
|
15394
15404
|
/*!
|
15395
|
-
* # Fomantic-UI 2.9.0-beta.
|
15405
|
+
* # Fomantic-UI 2.9.0-beta.188 - Progress
|
15396
15406
|
* http://github.com/fomantic/Fomantic-UI/
|
15397
15407
|
*
|
15398
15408
|
*
|
@@ -16429,7 +16439,7 @@ $.fn.progress.settings = {
|
|
16429
16439
|
})( jQuery, window, document );
|
16430
16440
|
|
16431
16441
|
/*!
|
16432
|
-
* # Fomantic-UI 2.9.0-beta.
|
16442
|
+
* # Fomantic-UI 2.9.0-beta.188 - Slider
|
16433
16443
|
* http://github.com/fomantic/Fomantic-UI/
|
16434
16444
|
*
|
16435
16445
|
*
|
@@ -17768,7 +17778,7 @@ $.fn.slider.settings = {
|
|
17768
17778
|
})( jQuery, window, document );
|
17769
17779
|
|
17770
17780
|
/*!
|
17771
|
-
* # Fomantic-UI 2.9.0-beta.
|
17781
|
+
* # Fomantic-UI 2.9.0-beta.188 - Rating
|
17772
17782
|
* http://github.com/fomantic/Fomantic-UI/
|
17773
17783
|
*
|
17774
17784
|
*
|
@@ -18323,7 +18333,7 @@ $.fn.rating.settings = {
|
|
18323
18333
|
})( jQuery, window, document );
|
18324
18334
|
|
18325
18335
|
/*!
|
18326
|
-
* # Fomantic-UI 2.9.0-beta.
|
18336
|
+
* # Fomantic-UI 2.9.0-beta.188 - Search
|
18327
18337
|
* http://github.com/fomantic/Fomantic-UI/
|
18328
18338
|
*
|
18329
18339
|
*
|
@@ -19891,7 +19901,7 @@ $.fn.search.settings = {
|
|
19891
19901
|
})( jQuery, window, document );
|
19892
19902
|
|
19893
19903
|
/*!
|
19894
|
-
* # Fomantic-UI 2.9.0-beta.
|
19904
|
+
* # Fomantic-UI 2.9.0-beta.188 - Shape
|
19895
19905
|
* http://github.com/fomantic/Fomantic-UI/
|
19896
19906
|
*
|
19897
19907
|
*
|
@@ -20740,7 +20750,7 @@ $.fn.shape.settings = {
|
|
20740
20750
|
})( jQuery, window, document );
|
20741
20751
|
|
20742
20752
|
/*!
|
20743
|
-
* # Fomantic-UI 2.9.0-beta.
|
20753
|
+
* # Fomantic-UI 2.9.0-beta.188 - Sidebar
|
20744
20754
|
* http://github.com/fomantic/Fomantic-UI/
|
20745
20755
|
*
|
20746
20756
|
*
|
@@ -21777,7 +21787,7 @@ $.fn.sidebar.settings = {
|
|
21777
21787
|
})( jQuery, window, document );
|
21778
21788
|
|
21779
21789
|
/*!
|
21780
|
-
* # Fomantic-UI 2.9.0-beta.
|
21790
|
+
* # Fomantic-UI 2.9.0-beta.188 - Sticky
|
21781
21791
|
* http://github.com/fomantic/Fomantic-UI/
|
21782
21792
|
*
|
21783
21793
|
*
|
@@ -22735,7 +22745,7 @@ $.fn.sticky.settings = {
|
|
22735
22745
|
})( jQuery, window, document );
|
22736
22746
|
|
22737
22747
|
/*!
|
22738
|
-
* # Fomantic-UI 2.9.0-beta.
|
22748
|
+
* # Fomantic-UI 2.9.0-beta.188 - Tab
|
22739
22749
|
* http://github.com/fomantic/Fomantic-UI/
|
22740
22750
|
*
|
22741
22751
|
*
|
@@ -23755,7 +23765,7 @@ $.fn.tab.settings = {
|
|
23755
23765
|
})( jQuery, window, document );
|
23756
23766
|
|
23757
23767
|
/*!
|
23758
|
-
* # Fomantic-UI 2.9.0-beta.
|
23768
|
+
* # Fomantic-UI 2.9.0-beta.188 - Toast
|
23759
23769
|
* http://github.com/fomantic/Fomantic-UI/
|
23760
23770
|
*
|
23761
23771
|
*
|
@@ -24675,7 +24685,7 @@ $.extend( $.easing, {
|
|
24675
24685
|
})( jQuery, window, document );
|
24676
24686
|
|
24677
24687
|
/*!
|
24678
|
-
* # Fomantic-UI 2.9.0-beta.
|
24688
|
+
* # Fomantic-UI 2.9.0-beta.188 - Transition
|
24679
24689
|
* http://github.com/fomantic/Fomantic-UI/
|
24680
24690
|
*
|
24681
24691
|
*
|
@@ -25785,7 +25795,7 @@ $.fn.transition.settings = {
|
|
25785
25795
|
})( jQuery, window, document );
|
25786
25796
|
|
25787
25797
|
/*!
|
25788
|
-
* # Fomantic-UI 2.9.0-beta.
|
25798
|
+
* # Fomantic-UI 2.9.0-beta.188 - API
|
25789
25799
|
* http://github.com/fomantic/Fomantic-UI/
|
25790
25800
|
*
|
25791
25801
|
*
|
@@ -26967,7 +26977,7 @@ $.api.settings = {
|
|
26967
26977
|
})( jQuery, window, document );
|
26968
26978
|
|
26969
26979
|
/*!
|
26970
|
-
* # Fomantic-UI 2.9.0-beta.
|
26980
|
+
* # Fomantic-UI 2.9.0-beta.188 - State
|
26971
26981
|
* http://github.com/fomantic/Fomantic-UI/
|
26972
26982
|
*
|
26973
26983
|
*
|
@@ -27679,7 +27689,7 @@ $.fn.state.settings = {
|
|
27679
27689
|
})( jQuery, window, document );
|
27680
27690
|
|
27681
27691
|
/*!
|
27682
|
-
* # Fomantic-UI 2.9.0-beta.
|
27692
|
+
* # Fomantic-UI 2.9.0-beta.188 - Visibility
|
27683
27693
|
* http://github.com/fomantic/Fomantic-UI/
|
27684
27694
|
*
|
27685
27695
|
*
|
package/dist/semantic.min.css
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.0-beta.
|
2
|
+
* # Fomantic UI - 2.9.0-beta.188
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* http://fomantic-ui.com/
|
5
5
|
*
|
6
|
-
* Copyright
|
6
|
+
* Copyright 2022 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|