fomantic-ui 2.9.3-beta.45 → 2.9.3-beta.47
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/README.md +5 -2
- package/SECURITY.md +2 -1
- 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 +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- 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 +26 -26
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +1 -1
- package/package.json +1 -1
- package/types/fomantic-ui-accordion.d.ts +166 -172
- package/types/fomantic-ui-api.d.ts +418 -470
- package/types/fomantic-ui-calendar.d.ts +425 -479
- package/types/fomantic-ui-checkbox.d.ts +148 -194
- package/types/fomantic-ui-dimmer.d.ts +188 -265
- package/types/fomantic-ui-dropdown.d.ts +447 -666
- package/types/fomantic-ui-embed.d.ts +243 -289
- package/types/fomantic-ui-flyout.d.ts +259 -292
- package/types/fomantic-ui-form.d.ts +478 -607
- package/types/fomantic-ui-modal.d.ts +389 -471
- package/types/fomantic-ui-nag.d.ts +228 -277
- package/types/fomantic-ui-popup.d.ts +438 -534
- package/types/fomantic-ui-progress.d.ts +278 -352
- package/types/fomantic-ui-rating.d.ts +137 -168
- package/types/fomantic-ui-search.d.ts +359 -453
- package/types/fomantic-ui-shape.d.ts +152 -194
- package/types/fomantic-ui-sidebar.d.ts +315 -391
- package/types/fomantic-ui-slider.d.ts +259 -322
- package/types/fomantic-ui-sticky.d.ts +198 -244
- package/types/fomantic-ui-tab.d.ts +284 -350
- package/types/fomantic-ui-tests.ts +4 -2
- package/types/fomantic-ui-toast.d.ts +318 -424
- package/types/fomantic-ui-transition.d.ts +223 -273
- package/types/fomantic-ui-visibility.d.ts +286 -353
- package/types/index.d.ts +0 -1
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.47+40a7aee
|
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.47+40a7aee - 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.47+40a7aee - Form Validation
|
467
467
|
* https://github.com/fomantic/Fomantic-UI/
|
468
468
|
*
|
469
469
|
*
|
@@ -2618,7 +2618,7 @@
|
|
2618
2618
|
})(jQuery, window, document);
|
2619
2619
|
|
2620
2620
|
/*!
|
2621
|
-
* # Fomantic-UI 2.9.3-beta.
|
2621
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Accordion
|
2622
2622
|
* https://github.com/fomantic/Fomantic-UI/
|
2623
2623
|
*
|
2624
2624
|
*
|
@@ -3212,7 +3212,7 @@
|
|
3212
3212
|
})(jQuery, window, document);
|
3213
3213
|
|
3214
3214
|
/*!
|
3215
|
-
* # Fomantic-UI 2.9.3-beta.
|
3215
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Calendar
|
3216
3216
|
* https://github.com/fomantic/Fomantic-UI/
|
3217
3217
|
*
|
3218
3218
|
*
|
@@ -5223,7 +5223,7 @@
|
|
5223
5223
|
})(jQuery, window, document);
|
5224
5224
|
|
5225
5225
|
/*!
|
5226
|
-
* # Fomantic-UI 2.9.3-beta.
|
5226
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Checkbox
|
5227
5227
|
* https://github.com/fomantic/Fomantic-UI/
|
5228
5228
|
*
|
5229
5229
|
*
|
@@ -6106,7 +6106,7 @@
|
|
6106
6106
|
})(jQuery, window, document);
|
6107
6107
|
|
6108
6108
|
/*!
|
6109
|
-
* # Fomantic-UI 2.9.3-beta.
|
6109
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Dimmer
|
6110
6110
|
* https://github.com/fomantic/Fomantic-UI/
|
6111
6111
|
*
|
6112
6112
|
*
|
@@ -6837,7 +6837,7 @@
|
|
6837
6837
|
})(jQuery, window, document);
|
6838
6838
|
|
6839
6839
|
/*!
|
6840
|
-
* # Fomantic-UI 2.9.3-beta.
|
6840
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Dropdown
|
6841
6841
|
* https://github.com/fomantic/Fomantic-UI/
|
6842
6842
|
*
|
6843
6843
|
*
|
@@ -11195,7 +11195,7 @@
|
|
11195
11195
|
})(jQuery, window, document);
|
11196
11196
|
|
11197
11197
|
/*!
|
11198
|
-
* # Fomantic-UI 2.9.3-beta.
|
11198
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Embed
|
11199
11199
|
* https://github.com/fomantic/Fomantic-UI/
|
11200
11200
|
*
|
11201
11201
|
*
|
@@ -11874,7 +11874,7 @@
|
|
11874
11874
|
})(jQuery, window, document);
|
11875
11875
|
|
11876
11876
|
/*!
|
11877
|
-
* # Fomantic-UI 2.9.3-beta.
|
11877
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Flyout
|
11878
11878
|
* https://github.com/fomantic/Fomantic-UI/
|
11879
11879
|
*
|
11880
11880
|
*
|
@@ -13455,7 +13455,7 @@
|
|
13455
13455
|
})(jQuery, window, document);
|
13456
13456
|
|
13457
13457
|
/*!
|
13458
|
-
* # Fomantic-UI 2.9.3-beta.
|
13458
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Modal
|
13459
13459
|
* https://github.com/fomantic/Fomantic-UI/
|
13460
13460
|
*
|
13461
13461
|
*
|
@@ -15089,7 +15089,7 @@
|
|
15089
15089
|
})(jQuery, window, document);
|
15090
15090
|
|
15091
15091
|
/*!
|
15092
|
-
* # Fomantic-UI 2.9.3-beta.
|
15092
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Nag
|
15093
15093
|
* https://github.com/fomantic/Fomantic-UI/
|
15094
15094
|
*
|
15095
15095
|
*
|
@@ -15650,7 +15650,7 @@
|
|
15650
15650
|
})(jQuery, window, document);
|
15651
15651
|
|
15652
15652
|
/*!
|
15653
|
-
* # Fomantic-UI 2.9.3-beta.
|
15653
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Popup
|
15654
15654
|
* https://github.com/fomantic/Fomantic-UI/
|
15655
15655
|
*
|
15656
15656
|
*
|
@@ -17206,7 +17206,7 @@
|
|
17206
17206
|
})(jQuery, window, document);
|
17207
17207
|
|
17208
17208
|
/*!
|
17209
|
-
* # Fomantic-UI 2.9.3-beta.
|
17209
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Progress
|
17210
17210
|
* https://github.com/fomantic/Fomantic-UI/
|
17211
17211
|
*
|
17212
17212
|
*
|
@@ -18184,7 +18184,7 @@
|
|
18184
18184
|
})(jQuery, window, document);
|
18185
18185
|
|
18186
18186
|
/*!
|
18187
|
-
* # Fomantic-UI 2.9.3-beta.
|
18187
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Slider
|
18188
18188
|
* https://github.com/fomantic/Fomantic-UI/
|
18189
18189
|
*
|
18190
18190
|
*
|
@@ -19628,7 +19628,7 @@
|
|
19628
19628
|
})(jQuery, window, document);
|
19629
19629
|
|
19630
19630
|
/*!
|
19631
|
-
* # Fomantic-UI 2.9.3-beta.
|
19631
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Rating
|
19632
19632
|
* https://github.com/fomantic/Fomantic-UI/
|
19633
19633
|
*
|
19634
19634
|
*
|
@@ -20167,7 +20167,7 @@
|
|
20167
20167
|
})(jQuery, window, document);
|
20168
20168
|
|
20169
20169
|
/*!
|
20170
|
-
* # Fomantic-UI 2.9.3-beta.
|
20170
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Search
|
20171
20171
|
* https://github.com/fomantic/Fomantic-UI/
|
20172
20172
|
*
|
20173
20173
|
*
|
@@ -21745,7 +21745,7 @@
|
|
21745
21745
|
})(jQuery, window, document);
|
21746
21746
|
|
21747
21747
|
/*!
|
21748
|
-
* # Fomantic-UI 2.9.3-beta.
|
21748
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Shape
|
21749
21749
|
* https://github.com/fomantic/Fomantic-UI/
|
21750
21750
|
*
|
21751
21751
|
*
|
@@ -22541,7 +22541,7 @@
|
|
22541
22541
|
})(jQuery, window, document);
|
22542
22542
|
|
22543
22543
|
/*!
|
22544
|
-
* # Fomantic-UI 2.9.3-beta.
|
22544
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Sidebar
|
22545
22545
|
* https://github.com/fomantic/Fomantic-UI/
|
22546
22546
|
*
|
22547
22547
|
*
|
@@ -23624,7 +23624,7 @@
|
|
23624
23624
|
})(jQuery, window, document);
|
23625
23625
|
|
23626
23626
|
/*!
|
23627
|
-
* # Fomantic-UI 2.9.3-beta.
|
23627
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Sticky
|
23628
23628
|
* https://github.com/fomantic/Fomantic-UI/
|
23629
23629
|
*
|
23630
23630
|
*
|
@@ -24540,7 +24540,7 @@
|
|
24540
24540
|
})(jQuery, window, document);
|
24541
24541
|
|
24542
24542
|
/*!
|
24543
|
-
* # Fomantic-UI 2.9.3-beta.
|
24543
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Tab
|
24544
24544
|
* https://github.com/fomantic/Fomantic-UI/
|
24545
24545
|
*
|
24546
24546
|
*
|
@@ -25506,7 +25506,7 @@
|
|
25506
25506
|
})(jQuery, window, document);
|
25507
25507
|
|
25508
25508
|
/*!
|
25509
|
-
* # Fomantic-UI 2.9.3-beta.
|
25509
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Toast
|
25510
25510
|
* https://github.com/fomantic/Fomantic-UI/
|
25511
25511
|
*
|
25512
25512
|
*
|
@@ -26467,7 +26467,7 @@
|
|
26467
26467
|
})(jQuery, window, document);
|
26468
26468
|
|
26469
26469
|
/*!
|
26470
|
-
* # Fomantic-UI 2.9.3-beta.
|
26470
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Transition
|
26471
26471
|
* https://github.com/fomantic/Fomantic-UI/
|
26472
26472
|
*
|
26473
26473
|
*
|
@@ -27498,7 +27498,7 @@
|
|
27498
27498
|
})(jQuery, window, document);
|
27499
27499
|
|
27500
27500
|
/*!
|
27501
|
-
* # Fomantic-UI 2.9.3-beta.
|
27501
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - API
|
27502
27502
|
* https://github.com/fomantic/Fomantic-UI/
|
27503
27503
|
*
|
27504
27504
|
*
|
@@ -28719,7 +28719,7 @@
|
|
28719
28719
|
})(jQuery, window, document);
|
28720
28720
|
|
28721
28721
|
/*!
|
28722
|
-
* # Fomantic-UI 2.9.3-beta.
|
28722
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - State
|
28723
28723
|
* https://github.com/fomantic/Fomantic-UI/
|
28724
28724
|
*
|
28725
28725
|
*
|
@@ -29415,7 +29415,7 @@
|
|
29415
29415
|
})(jQuery, window, document);
|
29416
29416
|
|
29417
29417
|
/*!
|
29418
|
-
* # Fomantic-UI 2.9.3-beta.
|
29418
|
+
* # Fomantic-UI 2.9.3-beta.47+40a7aee - Visibility
|
29419
29419
|
* https://github.com/fomantic/Fomantic-UI/
|
29420
29420
|
*
|
29421
29421
|
*
|
package/dist/semantic.min.css
CHANGED
package/dist/semantic.min.js
CHANGED
package/package.json
CHANGED
@@ -28,172 +28,168 @@ declare namespace FomanticUI {
|
|
28
28
|
(behavior: 'toggle', index: number): JQuery;
|
29
29
|
|
30
30
|
(behavior: 'destroy'): JQuery;
|
31
|
-
<K extends keyof AccordionSettings>(
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
): AccordionSettings._Impl[K];
|
36
|
-
<K extends keyof AccordionSettings>(behavior: 'setting', name: K, value: AccordionSettings._Impl[K]): JQuery;
|
37
|
-
(behavior: 'setting', value: AccordionSettings): JQuery;
|
38
|
-
(settings?: AccordionSettings): JQuery;
|
31
|
+
<K extends keyof AccordionSettings>(behavior: 'setting', name: K, value?: undefined, ): Partial<Pick<AccordionSettings, keyof AccordionSettings>>;
|
32
|
+
<K extends keyof AccordionSettings>(behavior: 'setting', name: K, value: AccordionSettings[K]): JQuery;
|
33
|
+
(behavior: 'setting', value: Partial<Pick<AccordionSettings, keyof AccordionSettings>>): JQuery;
|
34
|
+
(settings?: Partial<Pick<AccordionSettings, keyof AccordionSettings>>): JQuery;
|
39
35
|
}
|
40
36
|
|
41
37
|
/**
|
42
38
|
* @see {@link https://fomantic-ui.com/modules/accordion.html#/settings}
|
43
39
|
*/
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
40
|
+
interface AccordionSettings {
|
41
|
+
// region Accordion Settings
|
42
|
+
|
43
|
+
/**
|
44
|
+
* Only allow one section open at a time.
|
45
|
+
* @default true
|
46
|
+
*/
|
47
|
+
exclusive?: boolean | undefined;
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Event on 'title' that will cause accordion to open.
|
51
|
+
* @default 'click'
|
52
|
+
*/
|
53
|
+
on: string;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Whether child content opacity should be animated (may cause performance issues with many child elements).
|
57
|
+
* @default true
|
58
|
+
*/
|
59
|
+
animateChildren: boolean;
|
60
|
+
|
61
|
+
/**
|
62
|
+
* Close open nested accordion content when an element closes.
|
63
|
+
* @default false
|
64
|
+
*/
|
65
|
+
closeNested: boolean;
|
66
|
+
|
67
|
+
/**
|
68
|
+
* Allow active sections to collapse.
|
69
|
+
* @default true
|
70
|
+
*/
|
71
|
+
collapsible: boolean;
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Duration in ms of opening animation.
|
75
|
+
* @default 350
|
76
|
+
*/
|
77
|
+
duration: number;
|
78
|
+
|
79
|
+
/**
|
80
|
+
* Easing of opening animation. EaseInOutQuint is included with accordion, for additional options you must include easing equations.
|
81
|
+
* @see {@link http://gsgd.co.uk/sandbox/jquery/easing/}
|
82
|
+
* @default 'easeOutQuad'
|
83
|
+
*/
|
84
|
+
easing: string;
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Whether accordion should automatically refresh on DOM insertion
|
88
|
+
* @default true
|
89
|
+
*/
|
90
|
+
observeChanges: boolean;
|
91
|
+
|
92
|
+
// endregion
|
93
|
+
|
94
|
+
// region Callbacks
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Callback before element opens.
|
98
|
+
*/
|
99
|
+
onOpening(this: JQuery): void;
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Callback after element is open.
|
103
|
+
*/
|
104
|
+
onOpen(this: JQuery): void;
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Callback before element closes.
|
108
|
+
*/
|
109
|
+
onClosing(this: JQuery): void;
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Callback after element is closed.
|
113
|
+
*/
|
114
|
+
onClose(this: JQuery): void;
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Callback before element opens or closes.
|
118
|
+
*/
|
119
|
+
onChanging(this: JQuery): void;
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Callback before element opens or closes.
|
123
|
+
*/
|
124
|
+
onChange(this: JQuery): void;
|
125
|
+
|
126
|
+
// endregion
|
127
|
+
|
128
|
+
// region DOM Settings
|
129
|
+
|
130
|
+
/**
|
131
|
+
* DOM Selectors used internally.
|
132
|
+
* Selectors used to find parts of a module.
|
133
|
+
*/
|
134
|
+
selector: Accordion.SelectorSettings;
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Class names used to determine element state.
|
138
|
+
*/
|
139
|
+
className: Accordion.ClassNameSettings;
|
140
|
+
|
141
|
+
// endregion
|
142
|
+
|
143
|
+
// region Debug Settings
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Name used in log statements
|
147
|
+
* @default 'Accordion'
|
148
|
+
*/
|
149
|
+
name: string;
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Event namespace. Makes sure module teardown does not effect other events attached to an element.
|
153
|
+
* @default 'accordion'
|
154
|
+
*/
|
155
|
+
namespace: string;
|
156
|
+
|
157
|
+
/**
|
158
|
+
* Silences all console output including error messages, regardless of other debug settings.
|
159
|
+
* @default false
|
160
|
+
*/
|
161
|
+
silent: boolean;
|
162
|
+
|
163
|
+
/**
|
164
|
+
* Debug output to console
|
165
|
+
* @default false
|
166
|
+
*/
|
167
|
+
debug: boolean;
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Show console.table output with performance metrics
|
171
|
+
* @default true
|
172
|
+
*/
|
173
|
+
performance: boolean;
|
174
|
+
|
175
|
+
/**
|
176
|
+
* Debug output includes all internal behaviors
|
177
|
+
* @default false
|
178
|
+
*/
|
179
|
+
verbose: boolean;
|
180
|
+
|
181
|
+
error: Accordion.ErrorSettings;
|
182
|
+
|
183
|
+
// endregion
|
182
184
|
}
|
183
185
|
|
184
186
|
namespace Accordion {
|
185
|
-
type SelectorSettings =
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
| Pick<_Impl, 'trigger'>
|
192
|
-
| Pick<_Impl, 'content'>
|
193
|
-
) &
|
194
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
195
|
-
|
196
|
-
interface _Impl {
|
187
|
+
type SelectorSettings = Partial<Pick<Settings.Selectors, keyof Settings.Selectors>>;
|
188
|
+
type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
|
189
|
+
type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
|
190
|
+
|
191
|
+
namespace Settings {
|
192
|
+
interface Selectors {
|
197
193
|
/**
|
198
194
|
* @default '.accordion'
|
199
195
|
*/
|
@@ -209,19 +205,18 @@ declare namespace FomanticUI {
|
|
209
205
|
*/
|
210
206
|
trigger: string;
|
211
207
|
|
208
|
+
/**
|
209
|
+
* @default '.ui.dropdown'
|
210
|
+
*/
|
211
|
+
ignore: string;
|
212
|
+
|
212
213
|
/**
|
213
214
|
* @default '.content'
|
214
215
|
*/
|
215
216
|
content: string;
|
216
217
|
}
|
217
|
-
}
|
218
218
|
|
219
|
-
|
220
|
-
|
221
|
-
namespace ClassNameSettings {
|
222
|
-
type Param = (Pick<_Impl, 'active'> | Pick<_Impl, 'animating'>) & Partial<Pick<_Impl, keyof _Impl>>;
|
223
|
-
|
224
|
-
interface _Impl {
|
219
|
+
interface ClassNames {
|
225
220
|
/**
|
226
221
|
* @default 'active'
|
227
222
|
*/
|
@@ -231,15 +226,14 @@ declare namespace FomanticUI {
|
|
231
226
|
* @default 'animating'
|
232
227
|
*/
|
233
228
|
animating: string;
|
234
|
-
}
|
235
|
-
}
|
236
|
-
|
237
|
-
type ErrorSettings = ErrorSettings.Param;
|
238
229
|
|
239
|
-
|
240
|
-
|
230
|
+
/**
|
231
|
+
* @default 'transition'
|
232
|
+
*/
|
233
|
+
transition: string;
|
234
|
+
}
|
241
235
|
|
242
|
-
interface
|
236
|
+
interface Errors {
|
243
237
|
/**
|
244
238
|
* @default 'The method you called is not defined.'
|
245
239
|
*/
|