fomantic-ui 2.9.4-beta.93 → 2.9.4-beta.95
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 +31 -9
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +3 -3
- 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/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 +2 -2
- 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/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 +2 -2
- 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.css +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +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 +54 -54
- package/dist/semantic.js +57 -35
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +3 -3
- package/package.json +1 -1
- package/semantic.json.example +1 -1
- package/src/definitions/modules/calendar.js +30 -8
- package/tasks/config/defaults.js +2 -0
- package/tasks/config/tasks.js +6 -6
- package/types/fomantic-ui-calendar.d.ts +4 -4
package/dist/semantic.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.4-beta.
|
2
|
+
* # Fomantic UI - 2.9.4-beta.95+16949e8
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* https://fomantic-ui.com/
|
5
5
|
*
|
6
|
-
* Copyright
|
6
|
+
* Copyright 2025 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* https://opensource.org/licenses/MIT
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
/*!
|
12
|
-
* # Fomantic-UI 2.9.4-beta.
|
12
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - 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.95+16949e8 - Form Validation
|
469
469
|
* https://github.com/fomantic/Fomantic-UI/
|
470
470
|
*
|
471
471
|
*
|
@@ -2665,7 +2665,7 @@
|
|
2665
2665
|
})(jQuery, window, document);
|
2666
2666
|
|
2667
2667
|
/*!
|
2668
|
-
* # Fomantic-UI 2.9.4-beta.
|
2668
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Accordion
|
2669
2669
|
* https://github.com/fomantic/Fomantic-UI/
|
2670
2670
|
*
|
2671
2671
|
*
|
@@ -3261,7 +3261,7 @@
|
|
3261
3261
|
})(jQuery, window, document);
|
3262
3262
|
|
3263
3263
|
/*!
|
3264
|
-
* # Fomantic-UI 2.9.4-beta.
|
3264
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Calendar
|
3265
3265
|
* https://github.com/fomantic/Fomantic-UI/
|
3266
3266
|
*
|
3267
3267
|
*
|
@@ -4064,24 +4064,32 @@
|
|
4064
4064
|
formattedDate: function (format, date) {
|
4065
4065
|
return module.helper.dateFormat(format || formatter[settings.type], date || module.get.date());
|
4066
4066
|
},
|
4067
|
-
date: function () {
|
4068
|
-
return module.helper.
|
4067
|
+
date: function (format) {
|
4068
|
+
return module.helper.dateObjectOrFormatted(format, $module.data(metadata.date));
|
4069
4069
|
},
|
4070
4070
|
inputDate: function () {
|
4071
4071
|
return $input.val();
|
4072
4072
|
},
|
4073
|
-
focusDate: function () {
|
4074
|
-
return $module.data(metadata.focusDate)
|
4073
|
+
focusDate: function (format) {
|
4074
|
+
return module.helper.dateObjectOrFormatted(format, $module.data(metadata.focusDate));
|
4075
4075
|
},
|
4076
|
-
startDate: function () {
|
4076
|
+
startDate: function (format) {
|
4077
4077
|
var startModule = module.get.calendarModule(settings.startCalendar);
|
4078
4078
|
|
4079
|
-
|
4079
|
+
if (startModule) {
|
4080
|
+
return startModule.get.date(format);
|
4081
|
+
}
|
4082
|
+
|
4083
|
+
return module.helper.dateObjectOrFormatted(format, $module.data(metadata.startDate));
|
4080
4084
|
},
|
4081
|
-
endDate: function () {
|
4085
|
+
endDate: function (format) {
|
4082
4086
|
var endModule = module.get.calendarModule(settings.endCalendar);
|
4083
4087
|
|
4084
|
-
|
4088
|
+
if (endModule) {
|
4089
|
+
return endModule.get.date(format);
|
4090
|
+
}
|
4091
|
+
|
4092
|
+
return module.helper.dateObjectOrFormatted(format, $module.data(metadata.endDate));
|
4085
4093
|
},
|
4086
4094
|
minDate: function () {
|
4087
4095
|
return $module.data(metadata.minDate) || null;
|
@@ -4397,6 +4405,20 @@
|
|
4397
4405
|
return match.slice(1, -1);
|
4398
4406
|
});
|
4399
4407
|
},
|
4408
|
+
dateObjectOrFormatted: function (format, date) {
|
4409
|
+
format = format || '';
|
4410
|
+
date = module.helper.sanitiseDate(date) || null;
|
4411
|
+
|
4412
|
+
if (!date) {
|
4413
|
+
return null;
|
4414
|
+
}
|
4415
|
+
|
4416
|
+
if (format === '') {
|
4417
|
+
return date;
|
4418
|
+
}
|
4419
|
+
|
4420
|
+
return module.helper.dateFormat(format, date);
|
4421
|
+
},
|
4400
4422
|
isDisabled: function (date, mode) {
|
4401
4423
|
return (mode === 'day' || mode === 'month' || mode === 'year' || mode === 'hour') && (((mode === 'day' && settings.disabledDaysOfWeek.indexOf(date.getDay()) !== -1) || settings.disabledDates.some(function (d) {
|
4402
4424
|
var blocked = false;
|
@@ -5285,7 +5307,7 @@
|
|
5285
5307
|
})(jQuery, window, document);
|
5286
5308
|
|
5287
5309
|
/*!
|
5288
|
-
* # Fomantic-UI 2.9.4-beta.
|
5310
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Checkbox
|
5289
5311
|
* https://github.com/fomantic/Fomantic-UI/
|
5290
5312
|
*
|
5291
5313
|
*
|
@@ -6174,7 +6196,7 @@
|
|
6174
6196
|
})(jQuery, window, document);
|
6175
6197
|
|
6176
6198
|
/*!
|
6177
|
-
* # Fomantic-UI 2.9.4-beta.
|
6199
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Dimmer
|
6178
6200
|
* https://github.com/fomantic/Fomantic-UI/
|
6179
6201
|
*
|
6180
6202
|
*
|
@@ -6907,7 +6929,7 @@
|
|
6907
6929
|
})(jQuery, window, document);
|
6908
6930
|
|
6909
6931
|
/*!
|
6910
|
-
* # Fomantic-UI 2.9.4-beta.
|
6932
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Dropdown
|
6911
6933
|
* https://github.com/fomantic/Fomantic-UI/
|
6912
6934
|
*
|
6913
6935
|
*
|
@@ -11340,7 +11362,7 @@
|
|
11340
11362
|
})(jQuery, window, document);
|
11341
11363
|
|
11342
11364
|
/*!
|
11343
|
-
* # Fomantic-UI 2.9.4-beta.
|
11365
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Embed
|
11344
11366
|
* https://github.com/fomantic/Fomantic-UI/
|
11345
11367
|
*
|
11346
11368
|
*
|
@@ -12029,7 +12051,7 @@
|
|
12029
12051
|
})(jQuery, window, document);
|
12030
12052
|
|
12031
12053
|
/*!
|
12032
|
-
* # Fomantic-UI 2.9.4-beta.
|
12054
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Flyout
|
12033
12055
|
* https://github.com/fomantic/Fomantic-UI/
|
12034
12056
|
*
|
12035
12057
|
*
|
@@ -13581,7 +13603,7 @@
|
|
13581
13603
|
})(jQuery, window, document);
|
13582
13604
|
|
13583
13605
|
/*!
|
13584
|
-
* # Fomantic-UI 2.9.4-beta.
|
13606
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Modal
|
13585
13607
|
* https://github.com/fomantic/Fomantic-UI/
|
13586
13608
|
*
|
13587
13609
|
*
|
@@ -15219,7 +15241,7 @@
|
|
15219
15241
|
})(jQuery, window, document);
|
15220
15242
|
|
15221
15243
|
/*!
|
15222
|
-
* # Fomantic-UI 2.9.4-beta.
|
15244
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Nag
|
15223
15245
|
* https://github.com/fomantic/Fomantic-UI/
|
15224
15246
|
*
|
15225
15247
|
*
|
@@ -15786,7 +15808,7 @@
|
|
15786
15808
|
})(jQuery, window, document);
|
15787
15809
|
|
15788
15810
|
/*!
|
15789
|
-
* # Fomantic-UI 2.9.4-beta.
|
15811
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Popup
|
15790
15812
|
* https://github.com/fomantic/Fomantic-UI/
|
15791
15813
|
*
|
15792
15814
|
*
|
@@ -17348,7 +17370,7 @@
|
|
17348
17370
|
})(jQuery, window, document);
|
17349
17371
|
|
17350
17372
|
/*!
|
17351
|
-
* # Fomantic-UI 2.9.4-beta.
|
17373
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Progress
|
17352
17374
|
* https://github.com/fomantic/Fomantic-UI/
|
17353
17375
|
*
|
17354
17376
|
*
|
@@ -18328,7 +18350,7 @@
|
|
18328
18350
|
})(jQuery, window, document);
|
18329
18351
|
|
18330
18352
|
/*!
|
18331
|
-
* # Fomantic-UI 2.9.4-beta.
|
18353
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Slider
|
18332
18354
|
* https://github.com/fomantic/Fomantic-UI/
|
18333
18355
|
*
|
18334
18356
|
*
|
@@ -19875,7 +19897,7 @@
|
|
19875
19897
|
})(jQuery, window, document);
|
19876
19898
|
|
19877
19899
|
/*!
|
19878
|
-
* # Fomantic-UI 2.9.4-beta.
|
19900
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Rating
|
19879
19901
|
* https://github.com/fomantic/Fomantic-UI/
|
19880
19902
|
*
|
19881
19903
|
*
|
@@ -20416,7 +20438,7 @@
|
|
20416
20438
|
})(jQuery, window, document);
|
20417
20439
|
|
20418
20440
|
/*!
|
20419
|
-
* # Fomantic-UI 2.9.4-beta.
|
20441
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Search
|
20420
20442
|
* https://github.com/fomantic/Fomantic-UI/
|
20421
20443
|
*
|
20422
20444
|
*
|
@@ -22058,7 +22080,7 @@
|
|
22058
22080
|
})(jQuery, window, document);
|
22059
22081
|
|
22060
22082
|
/*!
|
22061
|
-
* # Fomantic-UI 2.9.4-beta.
|
22083
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Shape
|
22062
22084
|
* https://github.com/fomantic/Fomantic-UI/
|
22063
22085
|
*
|
22064
22086
|
*
|
@@ -22856,7 +22878,7 @@
|
|
22856
22878
|
})(jQuery, window, document);
|
22857
22879
|
|
22858
22880
|
/*!
|
22859
|
-
* # Fomantic-UI 2.9.4-beta.
|
22881
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Sidebar
|
22860
22882
|
* https://github.com/fomantic/Fomantic-UI/
|
22861
22883
|
*
|
22862
22884
|
*
|
@@ -23911,7 +23933,7 @@
|
|
23911
23933
|
})(jQuery, window, document);
|
23912
23934
|
|
23913
23935
|
/*!
|
23914
|
-
* # Fomantic-UI 2.9.4-beta.
|
23936
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Sticky
|
23915
23937
|
* https://github.com/fomantic/Fomantic-UI/
|
23916
23938
|
*
|
23917
23939
|
*
|
@@ -24829,7 +24851,7 @@
|
|
24829
24851
|
})(jQuery, window, document);
|
24830
24852
|
|
24831
24853
|
/*!
|
24832
|
-
* # Fomantic-UI 2.9.4-beta.
|
24854
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Tab
|
24833
24855
|
* https://github.com/fomantic/Fomantic-UI/
|
24834
24856
|
*
|
24835
24857
|
*
|
@@ -25797,7 +25819,7 @@
|
|
25797
25819
|
})(jQuery, window, document);
|
25798
25820
|
|
25799
25821
|
/*!
|
25800
|
-
* # Fomantic-UI 2.9.4-beta.
|
25822
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Toast
|
25801
25823
|
* https://github.com/fomantic/Fomantic-UI/
|
25802
25824
|
*
|
25803
25825
|
*
|
@@ -26762,7 +26784,7 @@
|
|
26762
26784
|
})(jQuery, window, document);
|
26763
26785
|
|
26764
26786
|
/*!
|
26765
|
-
* # Fomantic-UI 2.9.4-beta.
|
26787
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Transition
|
26766
26788
|
* https://github.com/fomantic/Fomantic-UI/
|
26767
26789
|
*
|
26768
26790
|
*
|
@@ -27797,7 +27819,7 @@
|
|
27797
27819
|
})(jQuery, window, document);
|
27798
27820
|
|
27799
27821
|
/*!
|
27800
|
-
* # Fomantic-UI 2.9.4-beta.
|
27822
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - API
|
27801
27823
|
* https://github.com/fomantic/Fomantic-UI/
|
27802
27824
|
*
|
27803
27825
|
*
|
@@ -29023,7 +29045,7 @@
|
|
29023
29045
|
})(jQuery, window, document);
|
29024
29046
|
|
29025
29047
|
/*!
|
29026
|
-
* # Fomantic-UI 2.9.4-beta.
|
29048
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - State
|
29027
29049
|
* https://github.com/fomantic/Fomantic-UI/
|
29028
29050
|
*
|
29029
29051
|
*
|
@@ -29721,7 +29743,7 @@
|
|
29721
29743
|
})(jQuery, window, document);
|
29722
29744
|
|
29723
29745
|
/*!
|
29724
|
-
* # Fomantic-UI 2.9.4-beta.
|
29746
|
+
* # Fomantic-UI 2.9.4-beta.95+16949e8 - Visibility
|
29725
29747
|
* https://github.com/fomantic/Fomantic-UI/
|
29726
29748
|
*
|
29727
29749
|
*
|
package/dist/semantic.min.css
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.4-beta.
|
2
|
+
* # Fomantic UI - 2.9.4-beta.95+16949e8
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* https://fomantic-ui.com/
|
5
5
|
*
|
6
|
-
* Copyright
|
6
|
+
* Copyright 2025 Contributors
|
7
7
|
* Released under the MIT license
|
8
8
|
* https://opensource.org/licenses/MIT
|
9
9
|
*
|