fomantic-ui 2.9.3-beta.43 → 2.9.3-beta.45

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.
Files changed (186) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +1 -1
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/emoji.css +1 -1
  42. package/dist/components/emoji.min.css +1 -1
  43. package/dist/components/feed.css +1 -1
  44. package/dist/components/feed.min.css +1 -1
  45. package/dist/components/flag.css +1 -1
  46. package/dist/components/flag.min.css +1 -1
  47. package/dist/components/flyout.css +1 -1
  48. package/dist/components/flyout.js +1 -1
  49. package/dist/components/flyout.min.css +1 -1
  50. package/dist/components/flyout.min.js +1 -1
  51. package/dist/components/form.css +1 -1
  52. package/dist/components/form.js +1 -1
  53. package/dist/components/form.min.css +1 -1
  54. package/dist/components/form.min.js +1 -1
  55. package/dist/components/grid.css +1 -1
  56. package/dist/components/grid.min.css +1 -1
  57. package/dist/components/header.css +1 -1
  58. package/dist/components/header.min.css +1 -1
  59. package/dist/components/icon.css +1 -1
  60. package/dist/components/icon.min.css +1 -1
  61. package/dist/components/image.css +1 -1
  62. package/dist/components/image.min.css +1 -1
  63. package/dist/components/input.css +1 -1
  64. package/dist/components/input.min.css +1 -1
  65. package/dist/components/item.css +1 -1
  66. package/dist/components/item.min.css +1 -1
  67. package/dist/components/label.css +1 -1
  68. package/dist/components/label.min.css +1 -1
  69. package/dist/components/list.css +1 -1
  70. package/dist/components/list.min.css +1 -1
  71. package/dist/components/loader.css +1 -1
  72. package/dist/components/loader.min.css +1 -1
  73. package/dist/components/menu.css +1 -1
  74. package/dist/components/menu.min.css +1 -1
  75. package/dist/components/message.css +1 -1
  76. package/dist/components/message.min.css +1 -1
  77. package/dist/components/modal.css +1 -1
  78. package/dist/components/modal.js +1 -1
  79. package/dist/components/modal.min.css +1 -1
  80. package/dist/components/modal.min.js +1 -1
  81. package/dist/components/nag.css +1 -1
  82. package/dist/components/nag.js +1 -1
  83. package/dist/components/nag.min.css +1 -1
  84. package/dist/components/nag.min.js +1 -1
  85. package/dist/components/placeholder.css +1 -1
  86. package/dist/components/placeholder.min.css +1 -1
  87. package/dist/components/popup.css +1 -1
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +1 -1
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +1 -1
  92. package/dist/components/progress.js +1 -1
  93. package/dist/components/progress.min.css +1 -1
  94. package/dist/components/progress.min.js +1 -1
  95. package/dist/components/rail.css +1 -1
  96. package/dist/components/rail.min.css +1 -1
  97. package/dist/components/rating.css +1 -1
  98. package/dist/components/rating.js +1 -1
  99. package/dist/components/rating.min.css +1 -1
  100. package/dist/components/rating.min.js +1 -1
  101. package/dist/components/reset.css +1 -1
  102. package/dist/components/reset.min.css +1 -1
  103. package/dist/components/reveal.css +1 -1
  104. package/dist/components/reveal.min.css +1 -1
  105. package/dist/components/search.css +1 -1
  106. package/dist/components/search.js +1 -1
  107. package/dist/components/search.min.css +1 -1
  108. package/dist/components/search.min.js +1 -1
  109. package/dist/components/segment.css +1 -1
  110. package/dist/components/segment.min.css +1 -1
  111. package/dist/components/shape.css +1 -1
  112. package/dist/components/shape.js +1 -1
  113. package/dist/components/shape.min.css +1 -1
  114. package/dist/components/shape.min.js +1 -1
  115. package/dist/components/sidebar.css +1 -1
  116. package/dist/components/sidebar.js +1 -1
  117. package/dist/components/sidebar.min.css +1 -1
  118. package/dist/components/sidebar.min.js +1 -1
  119. package/dist/components/site.css +1 -1
  120. package/dist/components/site.js +1 -1
  121. package/dist/components/site.min.css +1 -1
  122. package/dist/components/site.min.js +1 -1
  123. package/dist/components/slider.css +1 -1
  124. package/dist/components/slider.js +1 -1
  125. package/dist/components/slider.min.css +1 -1
  126. package/dist/components/slider.min.js +1 -1
  127. package/dist/components/state.js +1 -1
  128. package/dist/components/state.min.js +1 -1
  129. package/dist/components/statistic.css +1 -1
  130. package/dist/components/statistic.min.css +1 -1
  131. package/dist/components/step.css +1 -1
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +1 -1
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +1 -1
  137. package/dist/components/tab.css +1 -1
  138. package/dist/components/tab.js +1 -1
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +1 -1
  141. package/dist/components/table.css +1 -1
  142. package/dist/components/table.min.css +1 -1
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +1 -1
  146. package/dist/components/toast.js +1 -1
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +1 -1
  149. package/dist/components/transition.css +1 -1
  150. package/dist/components/transition.js +1 -1
  151. package/dist/components/transition.min.css +1 -1
  152. package/dist/components/transition.min.js +1 -1
  153. package/dist/components/visibility.js +1 -1
  154. package/dist/components/visibility.min.js +1 -1
  155. package/dist/semantic.css +53 -53
  156. package/dist/semantic.js +26 -26
  157. package/dist/semantic.min.css +1 -1
  158. package/dist/semantic.min.js +1 -1
  159. package/package.json +3 -2
  160. package/types/fomantic-ui-accordion.d.ts +250 -0
  161. package/types/fomantic-ui-api.d.ts +607 -0
  162. package/types/fomantic-ui-calendar.d.ts +820 -0
  163. package/types/fomantic-ui-checkbox.d.ts +378 -0
  164. package/types/fomantic-ui-dimmer.d.ts +485 -0
  165. package/types/fomantic-ui-dropdown.d.ts +1402 -0
  166. package/types/fomantic-ui-embed.d.ts +372 -0
  167. package/types/fomantic-ui-flyout.d.ts +558 -0
  168. package/types/fomantic-ui-form.d.ts +780 -0
  169. package/types/fomantic-ui-modal.d.ts +553 -0
  170. package/types/fomantic-ui-nag.d.ts +319 -0
  171. package/types/fomantic-ui-popup.d.ts +619 -0
  172. package/types/fomantic-ui-progress.d.ts +533 -0
  173. package/types/fomantic-ui-rating.d.ts +218 -0
  174. package/types/fomantic-ui-search.d.ts +590 -0
  175. package/types/fomantic-ui-shape.d.ts +316 -0
  176. package/types/fomantic-ui-sidebar.d.ts +478 -0
  177. package/types/fomantic-ui-slider.d.ts +379 -0
  178. package/types/fomantic-ui-sticky.d.ts +261 -0
  179. package/types/fomantic-ui-tab.d.ts +427 -0
  180. package/types/fomantic-ui-tests.ts +23 -0
  181. package/types/fomantic-ui-toast.d.ts +620 -0
  182. package/types/fomantic-ui-transition.d.ts +405 -0
  183. package/types/fomantic-ui-visibility.d.ts +422 -0
  184. package/types/index.d.ts +64 -0
  185. package/types/tsconfig.json +23 -0
  186. package/types/tslint.json +1 -0
@@ -0,0 +1,422 @@
1
+ declare namespace FomanticUI {
2
+ interface Visibility {
3
+ settings: VisibilitySettings;
4
+
5
+ /**
6
+ * Disable callbacks temporarily.
7
+ * This is useful if you need to adjust scroll position and do not want to trigger callbacks during the position change.
8
+ */
9
+ (behavior: 'disable callbacks'): JQuery;
10
+
11
+ /**
12
+ * Re-enable callbacks.
13
+ */
14
+ (behavior: 'enable callbacks'): JQuery;
15
+
16
+ /**
17
+ * Returns whether element is on screen.
18
+ */
19
+ (behavior: 'is on screen'): boolean;
20
+
21
+ /**
22
+ * Returns whether element is off screen.
23
+ */
24
+ (behavior: 'is off screen'): boolean;
25
+
26
+ /**
27
+ * Returns number of pixels passed in current element from top of element.
28
+ */
29
+ (behavior: 'get pixels passed'): number;
30
+
31
+ /**
32
+ * Returns element calculations as object.
33
+ */
34
+ (behavior: 'get element calculations'): object;
35
+
36
+ /**
37
+ * Returns screen calculations as object.
38
+ */
39
+ (behavior: 'get screen calculations'): object;
40
+
41
+ /**
42
+ * Returns screen size as object.
43
+ */
44
+ (behavior: 'get screen size'): object;
45
+
46
+ (behavior: 'destroy'): JQuery;
47
+ <K extends keyof VisibilitySettings>(
48
+ behavior: 'setting',
49
+ name: K,
50
+ value?: undefined,
51
+ ): VisibilitySettings._Impl[K];
52
+ <K extends keyof VisibilitySettings>(behavior: 'setting', name: K, value: VisibilitySettings._Impl[K]): JQuery;
53
+ (behavior: 'setting', value: VisibilitySettings): JQuery;
54
+ (settings?: VisibilitySettings): JQuery;
55
+ }
56
+
57
+ /**
58
+ * @see {@link https://fomantic-ui.com/behaviors/visibility.html#/settings}
59
+ */
60
+ type VisibilitySettings = VisibilitySettings.Param;
61
+
62
+ namespace VisibilitySettings {
63
+ type Param = (
64
+ | Pick<_Impl, 'observeChanges'>
65
+ | Pick<_Impl, 'initialCheck'>
66
+ | Pick<_Impl, 'refreshOnLoad'>
67
+ | Pick<_Impl, 'refreshOnResize'>
68
+ | Pick<_Impl, 'checkOnRefresh'>
69
+ | Pick<_Impl, 'once'>
70
+ | Pick<_Impl, 'continuous'>
71
+ | Pick<_Impl, 'offset'>
72
+ | Pick<_Impl, 'includeMargin'>
73
+ | Pick<_Impl, 'context'>
74
+ | Pick<_Impl, 'throttle'>
75
+ | Pick<_Impl, 'type'>
76
+ | Pick<_Impl, 'zIndex'>
77
+ | Pick<_Impl, 'transition'>
78
+ | Pick<_Impl, 'duration'>
79
+ | Pick<_Impl, 'onOnScreen'>
80
+ | Pick<_Impl, 'onOffScreen'>
81
+ | Pick<_Impl, 'onPassing'>
82
+ | Pick<_Impl, 'onTopVisible'>
83
+ | Pick<_Impl, 'onBottomVisible'>
84
+ | Pick<_Impl, 'onTopPassed'>
85
+ | Pick<_Impl, 'onBottomPassed'>
86
+ | Pick<_Impl, 'onPassingReverse'>
87
+ | Pick<_Impl, 'onTopVisibleReverse'>
88
+ | Pick<_Impl, 'onBottomVisibleReverse'>
89
+ | Pick<_Impl, 'onTopPassedReverse'>
90
+ | Pick<_Impl, 'onBottomPassedReverse'>
91
+ | Pick<_Impl, 'onLoad'>
92
+ | Pick<_Impl, 'onAllLoaded'>
93
+ | Pick<_Impl, 'onFixed'>
94
+ | Pick<_Impl, 'onUnfixed'>
95
+ | Pick<_Impl, 'onUpdate'>
96
+ | Pick<_Impl, 'onRefresh'>
97
+ | Pick<_Impl, 'metadata'>
98
+ | Pick<_Impl, 'className'>
99
+ | Pick<_Impl, 'name'>
100
+ | Pick<_Impl, 'namespace'>
101
+ | Pick<_Impl, 'silent'>
102
+ | Pick<_Impl, 'debug'>
103
+ | Pick<_Impl, 'performance'>
104
+ | Pick<_Impl, 'verbose'>
105
+ | Pick<_Impl, 'error'>
106
+ ) &
107
+ Partial<Pick<_Impl, keyof _Impl>>;
108
+
109
+ interface _Impl {
110
+ // region Visibility Settings
111
+
112
+ /**
113
+ * When set to 'false' a callback will occur each time an element passes the threshold for a condition.
114
+ * @default true
115
+ */
116
+ once: boolean;
117
+
118
+ /**
119
+ * When set to 'true' a callback will occur anytime an element passes a condition not just immediately after the threshold is met.
120
+ * @default false
121
+ */
122
+ continuous: boolean;
123
+
124
+ /**
125
+ * Set to 'image' to load images when on screen. Set to 'fixed' to add class name 'fixed' when passed.
126
+ * @default false
127
+ */
128
+ type: false | 'image' | 'fixed';
129
+
130
+ /**
131
+ * Whether visibility conditions should be checked immediately on init.
132
+ * @default true
133
+ */
134
+ initialCheck: boolean;
135
+
136
+ /**
137
+ * The scroll context visibility should use.
138
+ * @default window
139
+ */
140
+ context: Window | string | JQuery;
141
+
142
+ /**
143
+ * Whether visibility conditions should be checked on window load.
144
+ * This ensures that after images load content positions will be updated correctly.
145
+ * @default true
146
+ */
147
+ refreshOnLoad: boolean;
148
+
149
+ /**
150
+ * Whether visibility conditions should be checked on window resize.
151
+ * Useful when content resizes causes continuous changes in position.
152
+ * @default true
153
+ */
154
+ refreshOnResize: boolean;
155
+
156
+ /**
157
+ * Whether visibility conditions should be checked on calls to refresh.
158
+ * These calls can be triggered from either resize, load or manually calling.
159
+ * @default true
160
+ */
161
+ checkOnRefresh: boolean;
162
+
163
+ /**
164
+ * Specify a z-index when using type: 'fixed'.
165
+ * @default 10
166
+ */
167
+ zIndex: number;
168
+
169
+ /**
170
+ * Value that context 'scrollTop' should be adjusted in pixels.
171
+ * Useful for making content appear below content fixed to the page.
172
+ * @default 0
173
+ */
174
+ offset: number;
175
+
176
+ /**
177
+ * Whether element calculations should include its margin.
178
+ * @default false
179
+ */
180
+ includeMargin: boolean;
181
+
182
+ /**
183
+ * When set to an 'integer', scroll position will be debounced using this ms value.
184
+ * 'false' will debounce with requestAnimationFrame.
185
+ * @default false
186
+ */
187
+ throttle: boolean | number;
188
+
189
+ /**
190
+ * Whether to automatically refresh content when changes are made to the element's DOM subtree.
191
+ * @default true
192
+ */
193
+ observeChanges: boolean;
194
+
195
+ /**
196
+ * When using type: image allows you to specify transition when showing a loaded image.
197
+ * @default false
198
+ */
199
+ transition: false | string;
200
+
201
+ /**
202
+ * When using type: image allows you to specify transition duration.
203
+ * @default 1000
204
+ */
205
+ duration: number;
206
+
207
+ // endregion
208
+
209
+ // region Callbacks
210
+
211
+ /**
212
+ * Any part of element is in current scroll viewport.
213
+ */
214
+ onOnScreen(this: JQuery): void;
215
+
216
+ /**
217
+ * No part of element is in current scroll viewport.
218
+ */
219
+ onOffScreen(this: JQuery): void;
220
+
221
+ /**
222
+ * No part of element is in current scroll viewport.
223
+ */
224
+ onOffScreen(this: JQuery): void;
225
+
226
+ /**
227
+ * Element's top edge has passed bottom of screen.
228
+ */
229
+ onTopVisible(this: JQuery): void;
230
+
231
+ /**
232
+ * Element's top edge has passed top of the screen.
233
+ */
234
+ onTopPassed(this: JQuery): void;
235
+
236
+ /**
237
+ * Element's bottom edge has passed bottom of screen.
238
+ */
239
+ onBottomVisible(this: JQuery): void;
240
+
241
+ /**
242
+ * Any part of an element is visible on screen.
243
+ */
244
+ onPassing(this: JQuery): void;
245
+
246
+ /**
247
+ * Element's bottom edge has passed top of screen.
248
+ */
249
+ onBottomPassed(this: JQuery): void;
250
+
251
+ /**
252
+ * Element's top edge has not passed bottom of screen.
253
+ */
254
+ onTopVisibleReverse(this: JQuery): void;
255
+
256
+ /**
257
+ * Element's top edge has not passed top of the screen.
258
+ */
259
+ onTopPassedReverse(this: JQuery): void;
260
+
261
+ /**
262
+ * Element's bottom edge has not passed bottom of screen.
263
+ */
264
+ onBottomVisibleReverse(this: JQuery): void;
265
+
266
+ /**
267
+ * Element's top has not passed top of screen but bottom has.
268
+ */
269
+ onPassingReverse(this: JQuery): void;
270
+
271
+ /**
272
+ * Element's bottom edge has not passed top of screen.
273
+ */
274
+ onBottomPassedReverse(this: JQuery): void;
275
+
276
+ /**
277
+ * Occurs after an image has completed loading.
278
+ */
279
+ onLoad(this: JQuery): void;
280
+
281
+ /**
282
+ * Occurs after all 'img' initialized at the same time have loaded.
283
+ */
284
+ onAllLoaded(this: JQuery): void;
285
+
286
+ /**
287
+ * Occurs after element has been assigned position fixed.
288
+ */
289
+ onFixed(this: JQuery): void;
290
+
291
+ /**
292
+ * Occurs after element has been removed from fixed position.
293
+ */
294
+ onUnfixed(this: JQuery): void;
295
+
296
+ /**
297
+ * Occurs each time an elements calculations are updated.
298
+ */
299
+ onUpdate(this: JQuery, calculations: object): void;
300
+
301
+ /**
302
+ * Occurs whenever element's visibility is refreshed.
303
+ */
304
+ onRefresh(this: JQuery, calculations: object): void;
305
+
306
+ // endregion
307
+
308
+ // region DOM Settings
309
+
310
+ /**
311
+ * Metadata used internally.
312
+ */
313
+ metadata: Visibility.MetadataSettings;
314
+
315
+ /**
316
+ * Class names used to determine element state.
317
+ */
318
+ className: Visibility.ClassNameSettings;
319
+
320
+ // endregion
321
+
322
+ // region Debug Settings
323
+
324
+ /**
325
+ * Name used in log statements
326
+ * @default 'Visibility'
327
+ */
328
+ name: string;
329
+
330
+ /**
331
+ * Event namespace. Makes sure module teardown does not effect other events attached to an element.
332
+ * @default 'visibility'
333
+ */
334
+ namespace: string;
335
+
336
+ /**
337
+ * Silences all console output including error messages, regardless of other debug settings.
338
+ * @default false
339
+ */
340
+ silent: boolean;
341
+
342
+ /**
343
+ * Debug output to console
344
+ * @default false
345
+ */
346
+ debug: boolean;
347
+
348
+ /**
349
+ * Show console.table output with performance metrics
350
+ * @default true
351
+ */
352
+ performance: boolean;
353
+
354
+ /**
355
+ * Debug output includes all internal behaviors
356
+ * @default false
357
+ */
358
+ verbose: boolean;
359
+
360
+ error: Visibility.ErrorSettings;
361
+
362
+ // endregion
363
+ }
364
+
365
+ namespace Visibility {
366
+ type MetadataSettings = MetadataSettings.Param;
367
+
368
+ namespace MetadataSettings {
369
+ type Param = Pick<_Impl, 'src'> & Partial<Pick<_Impl, keyof _Impl>>;
370
+
371
+ interface _Impl {
372
+ /**
373
+ * @default 'src'
374
+ */
375
+ src: string;
376
+ }
377
+ }
378
+
379
+ type ClassNameSettings = ClassNameSettings.Param;
380
+
381
+ namespace ClassNameSettings {
382
+ type Param = (Pick<_Impl, 'fixed'> | Pick<_Impl, 'placeholder'> | Pick<_Impl, 'visible'>) &
383
+ Partial<Pick<_Impl, keyof _Impl>>;
384
+
385
+ interface _Impl {
386
+ /**
387
+ * @default 'fixed'
388
+ */
389
+ fixed: string;
390
+
391
+ /**
392
+ * @default 'constraint'
393
+ */
394
+ placeholder: string;
395
+
396
+ /**
397
+ * @default 'visible'
398
+ */
399
+ visible: string;
400
+ }
401
+ }
402
+
403
+ type ErrorSettings = ErrorSettings.Param;
404
+
405
+ namespace ErrorSettings {
406
+ type Param = (Pick<_Impl, 'method'> | Pick<_Impl, 'visible'>) & Partial<Pick<_Impl, keyof _Impl>>;
407
+
408
+ interface _Impl {
409
+ /**
410
+ * @default 'The method you called is not defined.'
411
+ */
412
+ method: string;
413
+
414
+ /**
415
+ * @default 'Element is hidden, you must call refresh after element becomes visible'
416
+ */
417
+ visible: string;
418
+ }
419
+ }
420
+ }
421
+ }
422
+ }
@@ -0,0 +1,64 @@
1
+ // Type definitions for fomantic-ui 2.9
2
+ // Project: https://github.com/fomantic/Fomantic-UI
3
+ // Definitions by: Fomantic Team <https://github.com/fomantic>
4
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
+
6
+ /// <reference types="jquery" />
7
+
8
+ /// <reference path="fomantic-ui-accordion.d.ts" />
9
+ /// <reference path="fomantic-ui-api.d.ts" />
10
+ /// <reference path="fomantic-ui-calendar.d.ts" />
11
+ /// <reference path="fomantic-ui-checkbox.d.ts" />
12
+ /// <reference path="fomantic-ui-dimmer.d.ts" />
13
+ /// <reference path="fomantic-ui-dimmer.d.ts" />
14
+ /// <reference path="fomantic-ui-dropdown.d.ts" />
15
+ /// <reference path="fomantic-ui-embed.d.ts" />
16
+ /// <reference path="fomantic-ui-flyout.d.ts" />
17
+ /// <reference path="fomantic-ui-form.d.ts" />
18
+ /// <reference path="fomantic-ui-modal.d.ts" />
19
+ /// <reference path="fomantic-ui-nag.d.ts" />
20
+ /// <reference path="fomantic-ui-popup.d.ts" />
21
+ /// <reference path="fomantic-ui-progress.d.ts" />
22
+ /// <reference path="fomantic-ui-rating.d.ts" />
23
+ /// <reference path="fomantic-ui-search.d.ts" />
24
+ /// <reference path="fomantic-ui-shape.d.ts" />
25
+ /// <reference path="fomantic-ui-sidebar.d.ts" />
26
+ /// <reference path="fomantic-ui-slider.d.ts" />
27
+ /// <reference path="fomantic-ui-sticky.d.ts" />
28
+ /// <reference path="fomantic-ui-tab.d.ts" />
29
+ /// <reference path="fomantic-ui-toast.d.ts" />
30
+ /// <reference path="fomantic-ui-transition.d.ts" />
31
+ /// <reference path="fomantic-ui-visibility.d.ts" />
32
+
33
+ interface JQuery {
34
+ accordion: FomanticUI.Accordion;
35
+ api: FomanticUI.API;
36
+ calendar: FomanticUI.Calendar;
37
+ checkbox: FomanticUI.Checkbox;
38
+ dimmer: FomanticUI.Dimmer;
39
+ dropdown: FomanticUI.Dropdown;
40
+ embed: FomanticUI.Embed;
41
+ flyout: FomanticUI.Flyout;
42
+ form: FomanticUI.Form;
43
+ modal: FomanticUI.Modal;
44
+ nag: FomanticUI.Nag;
45
+ popup: FomanticUI.Popup;
46
+ progress: FomanticUI.Progress;
47
+ rating: FomanticUI.Rating;
48
+ search: FomanticUI.Search;
49
+ shape: FomanticUI.Shape;
50
+ sidebar: FomanticUI.Sidebar;
51
+ slider: FomanticUI.Slider;
52
+ sticky: FomanticUI.Sticky;
53
+ tab: FomanticUI.Tab;
54
+ toast: FomanticUI.Toast;
55
+ transition: FomanticUI.Transition;
56
+ visibility: FomanticUI.Visibility;
57
+ }
58
+
59
+ interface JQueryStatic {
60
+ api: FomanticUI.API;
61
+ flyout: FomanticUI.Flyout;
62
+ modal: FomanticUI.Modal;
63
+ toast: FomanticUI.Toast;
64
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "commonjs",
4
+ "lib": [
5
+ "ES5", "DOM"
6
+ ],
7
+ "noImplicitAny": true,
8
+ "noImplicitThis": true,
9
+ "strictFunctionTypes": true,
10
+ "strictNullChecks": true,
11
+ "baseUrl": "../",
12
+ "typeRoots": [
13
+ "../"
14
+ ],
15
+ "types": [],
16
+ "noEmit": true,
17
+ "forceConsistentCasingInFileNames": true
18
+ },
19
+ "files": [
20
+ "index.d.ts",
21
+ "fomantic-ui-tests.ts"
22
+ ]
23
+ }
@@ -0,0 +1 @@
1
+ { "extends": "@definitelytyped/dtslint/dt.json" }