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.
Files changed (186) hide show
  1. package/README.md +5 -2
  2. package/SECURITY.md +2 -1
  3. package/dist/components/accordion.css +1 -1
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +1 -1
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +1 -1
  10. package/dist/components/api.min.js +1 -1
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +1 -1
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +1 -1
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +1 -1
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +1 -1
  22. package/dist/components/checkbox.js +1 -1
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +1 -1
  25. package/dist/components/comment.css +1 -1
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +1 -1
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +1 -1
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +1 -1
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +1 -1
  36. package/dist/components/dropdown.js +1 -1
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +1 -1
  39. package/dist/components/embed.css +1 -1
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/emoji.css +1 -1
  44. package/dist/components/emoji.min.css +1 -1
  45. package/dist/components/feed.css +1 -1
  46. package/dist/components/feed.min.css +1 -1
  47. package/dist/components/flag.css +1 -1
  48. package/dist/components/flag.min.css +1 -1
  49. package/dist/components/flyout.css +1 -1
  50. package/dist/components/flyout.js +1 -1
  51. package/dist/components/flyout.min.css +1 -1
  52. package/dist/components/flyout.min.js +1 -1
  53. package/dist/components/form.css +1 -1
  54. package/dist/components/form.js +1 -1
  55. package/dist/components/form.min.css +1 -1
  56. package/dist/components/form.min.js +1 -1
  57. package/dist/components/grid.css +1 -1
  58. package/dist/components/grid.min.css +1 -1
  59. package/dist/components/header.css +1 -1
  60. package/dist/components/header.min.css +1 -1
  61. package/dist/components/icon.css +1 -1
  62. package/dist/components/icon.min.css +1 -1
  63. package/dist/components/image.css +1 -1
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +1 -1
  66. package/dist/components/input.min.css +1 -1
  67. package/dist/components/item.css +1 -1
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +1 -1
  70. package/dist/components/label.min.css +1 -1
  71. package/dist/components/list.css +1 -1
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +1 -1
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +1 -1
  76. package/dist/components/menu.min.css +1 -1
  77. package/dist/components/message.css +1 -1
  78. package/dist/components/message.min.css +1 -1
  79. package/dist/components/modal.css +1 -1
  80. package/dist/components/modal.js +1 -1
  81. package/dist/components/modal.min.css +1 -1
  82. package/dist/components/modal.min.js +1 -1
  83. package/dist/components/nag.css +1 -1
  84. package/dist/components/nag.js +1 -1
  85. package/dist/components/nag.min.css +1 -1
  86. package/dist/components/nag.min.js +1 -1
  87. package/dist/components/placeholder.css +1 -1
  88. package/dist/components/placeholder.min.css +1 -1
  89. package/dist/components/popup.css +1 -1
  90. package/dist/components/popup.js +1 -1
  91. package/dist/components/popup.min.css +1 -1
  92. package/dist/components/popup.min.js +1 -1
  93. package/dist/components/progress.css +1 -1
  94. package/dist/components/progress.js +1 -1
  95. package/dist/components/progress.min.css +1 -1
  96. package/dist/components/progress.min.js +1 -1
  97. package/dist/components/rail.css +1 -1
  98. package/dist/components/rail.min.css +1 -1
  99. package/dist/components/rating.css +1 -1
  100. package/dist/components/rating.js +1 -1
  101. package/dist/components/rating.min.css +1 -1
  102. package/dist/components/rating.min.js +1 -1
  103. package/dist/components/reset.css +1 -1
  104. package/dist/components/reset.min.css +1 -1
  105. package/dist/components/reveal.css +1 -1
  106. package/dist/components/reveal.min.css +1 -1
  107. package/dist/components/search.css +1 -1
  108. package/dist/components/search.js +1 -1
  109. package/dist/components/search.min.css +1 -1
  110. package/dist/components/search.min.js +1 -1
  111. package/dist/components/segment.css +1 -1
  112. package/dist/components/segment.min.css +1 -1
  113. package/dist/components/shape.css +1 -1
  114. package/dist/components/shape.js +1 -1
  115. package/dist/components/shape.min.css +1 -1
  116. package/dist/components/shape.min.js +1 -1
  117. package/dist/components/sidebar.css +1 -1
  118. package/dist/components/sidebar.js +1 -1
  119. package/dist/components/sidebar.min.css +1 -1
  120. package/dist/components/sidebar.min.js +1 -1
  121. package/dist/components/site.css +1 -1
  122. package/dist/components/site.js +1 -1
  123. package/dist/components/site.min.css +1 -1
  124. package/dist/components/site.min.js +1 -1
  125. package/dist/components/slider.css +1 -1
  126. package/dist/components/slider.js +1 -1
  127. package/dist/components/slider.min.css +1 -1
  128. package/dist/components/slider.min.js +1 -1
  129. package/dist/components/state.js +1 -1
  130. package/dist/components/state.min.js +1 -1
  131. package/dist/components/statistic.css +1 -1
  132. package/dist/components/statistic.min.css +1 -1
  133. package/dist/components/step.css +1 -1
  134. package/dist/components/step.min.css +1 -1
  135. package/dist/components/sticky.css +1 -1
  136. package/dist/components/sticky.js +1 -1
  137. package/dist/components/sticky.min.css +1 -1
  138. package/dist/components/sticky.min.js +1 -1
  139. package/dist/components/tab.css +1 -1
  140. package/dist/components/tab.js +1 -1
  141. package/dist/components/tab.min.css +1 -1
  142. package/dist/components/tab.min.js +1 -1
  143. package/dist/components/table.css +1 -1
  144. package/dist/components/table.min.css +1 -1
  145. package/dist/components/text.css +1 -1
  146. package/dist/components/text.min.css +1 -1
  147. package/dist/components/toast.css +1 -1
  148. package/dist/components/toast.js +1 -1
  149. package/dist/components/toast.min.css +1 -1
  150. package/dist/components/toast.min.js +1 -1
  151. package/dist/components/transition.css +1 -1
  152. package/dist/components/transition.js +1 -1
  153. package/dist/components/transition.min.css +1 -1
  154. package/dist/components/transition.min.js +1 -1
  155. package/dist/components/visibility.js +1 -1
  156. package/dist/components/visibility.min.js +1 -1
  157. package/dist/semantic.css +53 -53
  158. package/dist/semantic.js +26 -26
  159. package/dist/semantic.min.css +1 -1
  160. package/dist/semantic.min.js +1 -1
  161. package/package.json +1 -1
  162. package/types/fomantic-ui-accordion.d.ts +166 -172
  163. package/types/fomantic-ui-api.d.ts +418 -470
  164. package/types/fomantic-ui-calendar.d.ts +425 -479
  165. package/types/fomantic-ui-checkbox.d.ts +148 -194
  166. package/types/fomantic-ui-dimmer.d.ts +188 -265
  167. package/types/fomantic-ui-dropdown.d.ts +447 -666
  168. package/types/fomantic-ui-embed.d.ts +243 -289
  169. package/types/fomantic-ui-flyout.d.ts +259 -292
  170. package/types/fomantic-ui-form.d.ts +478 -607
  171. package/types/fomantic-ui-modal.d.ts +389 -471
  172. package/types/fomantic-ui-nag.d.ts +228 -277
  173. package/types/fomantic-ui-popup.d.ts +438 -534
  174. package/types/fomantic-ui-progress.d.ts +278 -352
  175. package/types/fomantic-ui-rating.d.ts +137 -168
  176. package/types/fomantic-ui-search.d.ts +359 -453
  177. package/types/fomantic-ui-shape.d.ts +152 -194
  178. package/types/fomantic-ui-sidebar.d.ts +315 -391
  179. package/types/fomantic-ui-slider.d.ts +259 -322
  180. package/types/fomantic-ui-sticky.d.ts +198 -244
  181. package/types/fomantic-ui-tab.d.ts +284 -350
  182. package/types/fomantic-ui-tests.ts +4 -2
  183. package/types/fomantic-ui-toast.d.ts +318 -424
  184. package/types/fomantic-ui-transition.d.ts +223 -273
  185. package/types/fomantic-ui-visibility.d.ts +286 -353
  186. package/types/index.d.ts +0 -1
@@ -113,221 +113,196 @@ declare namespace FomanticUI {
113
113
  (behavior: 'set disabled'): JQuery;
114
114
 
115
115
  (behavior: 'destroy'): JQuery;
116
- <K extends keyof DimmerSettings>(behavior: 'setting', name: K, value?: undefined): DimmerSettings._Impl[K];
117
- <K extends keyof DimmerSettings>(behavior: 'setting', name: K, value: DimmerSettings._Impl[K]): JQuery;
118
- (behavior: 'setting', value: DimmerSettings): JQuery;
119
- (settings?: DimmerSettings): JQuery;
116
+ <K extends keyof DimmerSettings>(behavior: 'setting', name: K, value?: undefined, ): Partial<Pick<DimmerSettings, keyof DimmerSettings>>;
117
+ <K extends keyof DimmerSettings>(behavior: 'setting', name: K, value: DimmerSettings[K]): JQuery;
118
+ (behavior: 'setting', value: Partial<Pick<DimmerSettings, keyof DimmerSettings>>): JQuery;
119
+ (settings?: Partial<Pick<DimmerSettings, keyof DimmerSettings>>): JQuery;
120
120
  }
121
121
 
122
122
  /**
123
123
  * @see {@link https://fomantic-ui.com/modules/dimmer.html#/settings}
124
124
  */
125
- type DimmerSettings = DimmerSettings.Param;
126
-
127
- namespace DimmerSettings {
128
- type Param = (
129
- | Pick<_Impl, 'useFlex'>
130
- | Pick<_Impl, 'dimmerName'>
131
- | Pick<_Impl, 'variation'>
132
- | Pick<_Impl, 'closable'>
133
- | Pick<_Impl, 'useCSS'>
134
- | Pick<_Impl, 'transition'>
135
- | Pick<_Impl, 'on'>
136
- | Pick<_Impl, 'opacity'>
137
- | Pick<_Impl, 'duration'>
138
- | Pick<_Impl, 'displayLoader'>
139
- | Pick<_Impl, 'loaderText'>
140
- | Pick<_Impl, 'loaderVariation'>
141
- | Pick<_Impl, 'onChange'>
142
- | Pick<_Impl, 'onShow'>
143
- | Pick<_Impl, 'onHide'>
144
- | Pick<_Impl, 'onVisible'>
145
- | Pick<_Impl, 'onHidden'>
146
- | Pick<_Impl, 'selector'>
147
- | Pick<_Impl, 'className'>
148
- | Pick<_Impl, 'template'>
149
- | Pick<_Impl, 'name'>
150
- | Pick<_Impl, 'namespace'>
151
- | Pick<_Impl, 'silent'>
152
- | Pick<_Impl, 'debug'>
153
- | Pick<_Impl, 'performance'>
154
- | Pick<_Impl, 'verbose'>
155
- | Pick<_Impl, 'error'>
156
- ) &
157
- Partial<Pick<_Impl, keyof _Impl>>;
158
-
159
- interface _Impl {
160
- // region Dimmer Settings
161
-
162
- /**
163
- * Whether dimmers should use flex or legacy positioning.
164
- * @default true
165
- */
166
- useFlex: boolean;
167
-
168
- /**
169
- * If initializing a dimmer on a 'dimmable' context, you can use 'dimmerName' to distinguish between multiple dimmers in that context.
170
- * @default false
171
- */
172
- dimmerName: string | boolean;
173
-
174
- /**
175
- * Specify a variation to add when generating dimmer, like 'inverted'.
176
- * @default false
177
- */
178
- variation: string | boolean;
179
-
180
- /**
181
- * Whether clicking on the dimmer should hide the dimmer (Defaults to 'auto', closable only when 'settings.on' is not 'hover').
182
- * @default 'auto'
183
- */
184
- closable: 'auto' | boolean;
185
-
186
- /**
187
- * Whether to dim dimmers using CSS transitions.
188
- * @default true
189
- */
190
- useCSS: boolean;
191
-
192
- /**
193
- * Named transition to use when animating menu in and out. Fade and slide down are available without including ui transitions.
194
- * Alternatively you can provide an object to set individual values for hide/show transitions as well as hide/show duration
195
- * @default 'fade'
196
- */
197
- transition: string | Dimmer.TransitionSettings;
198
-
199
- /**
200
- * Can be set to 'hover' or 'click' to show/hide dimmer on dimmable event.
201
- * @default false
202
- */
203
- on: false | 'hover' | 'click';
204
-
205
- /**
206
- * Override the default opacity of the dimmer.
207
- * @default 'auto'
208
- */
209
- opacity: 'auto' | number;
210
-
211
- /**
212
- * Animation duration of dimming. If an integer is used, that value will apply to both show and hide animations.
213
- * Will be ignored completely when individual hide/show duration values are provided via the 'transition' setting.
214
- */
215
- duration: number | Dimmer.DurationSettings;
216
-
217
- /**
218
- * Whether a custom loader should be generated inside the dimmer.
219
- * @default false
220
- */
221
- displayLoader: boolean;
222
-
223
- /**
224
- * Additional css classes to style the loader.
225
- * @see {@link https://fomantic-ui.com/elements/loader.html}
226
- * @default ''
227
- */
228
- loaderVariation: string;
229
-
230
- /**
231
- * If a string is given, it will be shown underneath the loader animation icon.
232
- * @default false
233
- */
234
- loaderText: false | string;
235
-
236
- // endregion
237
-
238
- // region Callbacks
239
-
240
- /**
241
- * Callback on element show or hide.
242
- */
243
- onChange(this: JQuery): void;
244
-
245
- /**
246
- * Callback on element show.
247
- */
248
- onShow(this: JQuery): void;
249
-
250
- /**
251
- * Callback on element hide.
252
- */
253
- onHide(this: JQuery): void;
254
-
255
- /**
256
- * Callback after element is visible.
257
- */
258
- onVisible(this: JQuery): void;
259
-
260
- /**
261
- * Callback after element is hidden.
262
- */
263
- onHidden(this: JQuery): void;
264
-
265
- // endregion
266
-
267
- // region DOM Settings
268
-
269
- /**
270
- * Selectors used to find parts of a module.
271
- */
272
- selector: Dimmer.SelectorSettings;
273
-
274
- /**
275
- * Class names used to determine element state.
276
- */
277
- className: Dimmer.ClassNameSettings;
278
-
279
- /**
280
- * Templates used to generate dimmer content.
281
- */
282
- template: Dimmer.TemplateSettings;
283
-
284
- // endregion
285
-
286
- // region Debug Settings
287
-
288
- /**
289
- * Name used in log statements
290
- */
291
- name: string;
292
-
293
- /**
294
- * Event namespace. Makes sure module teardown does not effect other events attached to an element.
295
- */
296
- namespace: string;
297
-
298
- /**
299
- * Silences all console output including error messages, regardless of other debug settings.
300
- */
301
- silent: boolean;
302
-
303
- /**
304
- * Debug output to console
305
- */
306
- debug: boolean;
307
-
308
- /**
309
- * Show console.table output with performance metrics
310
- */
311
- performance: boolean;
312
-
313
- /**
314
- * Debug output includes all internal behaviors
315
- */
316
- verbose: boolean;
317
-
318
- error: Dimmer.ErrorSettings;
319
-
320
- // endregion
321
- }
322
- }
323
125
 
324
- namespace Dimmer {
325
- type DurationSettings = DurationSettings.Param;
126
+ interface DimmerSettings {
127
+ // region Dimmer Settings
128
+
129
+ /**
130
+ * Whether dimmers should use flex or legacy positioning.
131
+ * @default true
132
+ */
133
+ useFlex: boolean;
134
+
135
+ /**
136
+ * If initializing a dimmer on a 'dimmable' context, you can use 'dimmerName' to distinguish between multiple dimmers in that context.
137
+ * @default false
138
+ */
139
+ dimmerName: string | boolean;
140
+
141
+ /**
142
+ * Specify a variation to add when generating dimmer, like 'inverted'.
143
+ * @default false
144
+ */
145
+ variation: string | boolean;
146
+
147
+ /**
148
+ * Whether clicking on the dimmer should hide the dimmer (Defaults to 'auto', closable only when 'settings.on' is not 'hover').
149
+ * @default 'auto'
150
+ */
151
+ closable: 'auto' | boolean;
152
+
153
+ /**
154
+ * Whether to dim dimmers using CSS transitions.
155
+ * @default true
156
+ */
157
+ useCSS: boolean;
158
+
159
+ /**
160
+ * Named transition to use when animating menu in and out. Fade and slide down are available without including ui transitions.
161
+ * Alternatively you can provide an object to set individual values for hide/show transitions as well as hide/show duration
162
+ * @default 'fade'
163
+ */
164
+ transition: string | Dimmer.TransitionSettings;
165
+
166
+ /**
167
+ * Can be set to 'hover' or 'click' to show/hide dimmer on dimmable event.
168
+ * @default false
169
+ */
170
+ on: false | 'hover' | 'click';
171
+
172
+ /**
173
+ * Override the default opacity of the dimmer.
174
+ * @default 'auto'
175
+ */
176
+ opacity: 'auto' | number;
326
177
 
327
- namespace DurationSettings {
328
- type Param = (Pick<_Impl, 'show'> | Pick<_Impl, 'hide'>) & Partial<Pick<_Impl, keyof _Impl>>;
178
+ /**
179
+ * Animation duration of dimming. If an integer is used, that value will apply to both show and hide animations.
180
+ * Will be ignored completely when individual hide/show duration values are provided via the 'transition' setting.
181
+ */
182
+ duration: number | Dimmer.DurationSettings;
183
+
184
+ /**
185
+ * Whether a custom loader should be generated inside the dimmer.
186
+ * @default false
187
+ */
188
+ displayLoader: boolean;
189
+
190
+ /**
191
+ * Additional css classes to style the loader.
192
+ * @see {@link https://fomantic-ui.com/elements/loader.html}
193
+ * @default ''
194
+ */
195
+ loaderVariation: string;
196
+
197
+ /**
198
+ * If a string is given, it will be shown underneath the loader animation icon.
199
+ * @default false
200
+ */
201
+ loaderText: false | string;
329
202
 
330
- interface _Impl {
203
+ // endregion
204
+
205
+ // region Callbacks
206
+
207
+ /**
208
+ * Callback on element show or hide.
209
+ */
210
+ onChange(this: JQuery): void;
211
+
212
+ /**
213
+ * Callback on element show.
214
+ */
215
+ onShow(this: JQuery): void;
216
+
217
+ /**
218
+ * Callback on element hide.
219
+ */
220
+ onHide(this: JQuery): void;
221
+
222
+ /**
223
+ * Callback after element is visible.
224
+ */
225
+ onVisible(this: JQuery): void;
226
+
227
+ /**
228
+ * Callback after element is hidden.
229
+ */
230
+ onHidden(this: JQuery): void;
231
+
232
+ // endregion
233
+
234
+ // region DOM Settings
235
+
236
+ /**
237
+ * Selectors used to find parts of a module.
238
+ */
239
+ selector: Dimmer.SelectorSettings;
240
+
241
+ /**
242
+ * Class names used to determine element state.
243
+ */
244
+ className: Dimmer.ClassNameSettings;
245
+
246
+ /**
247
+ * Templates used to generate dimmer content.
248
+ */
249
+ template: Dimmer.TemplateSettings;
250
+
251
+ // endregion
252
+
253
+ // region Debug Settings
254
+
255
+ /**
256
+ * Name used in log statements
257
+ * @default 'Dimmer'
258
+ */
259
+ name: string;
260
+
261
+ /**
262
+ * Event namespace. Makes sure module teardown does not effect other events attached to an element.
263
+ * @default 'dimmer'
264
+ */
265
+ namespace: string;
266
+
267
+ /**
268
+ * Silences all console output including error messages, regardless of other debug settings.
269
+ * @default false
270
+ */
271
+ silent: boolean;
272
+
273
+ /**
274
+ * Debug output to console
275
+ * @default false
276
+ */
277
+ debug: boolean;
278
+
279
+ /**
280
+ * Show console.table output with performance metrics
281
+ * @default true
282
+ */
283
+ performance: boolean;
284
+
285
+ /**
286
+ * Debug output includes all internal behaviors
287
+ * @default false
288
+ */
289
+ verbose: boolean;
290
+
291
+ error: Dimmer.ErrorSettings;
292
+
293
+ // endregion
294
+ }
295
+
296
+ namespace Dimmer {
297
+ type DurationSettings = Partial<Pick<Settings.Durations, keyof Settings.Durations>>;
298
+ type TransitionSettings = Partial<Pick<Settings.Transition, keyof Settings.Transition>>;
299
+ type SelectorSettings = Partial<Pick<Settings.Selectors, keyof Settings.Selectors>>;
300
+ type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
301
+ type TemplateSettings = Partial<Pick<Settings.Templates, keyof Settings.Templates>>;
302
+ type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
303
+
304
+ namespace Settings {
305
+ interface Durations {
331
306
  /**
332
307
  * @default 500
333
308
  */
@@ -338,20 +313,8 @@ declare namespace FomanticUI {
338
313
  */
339
314
  hide: number;
340
315
  }
341
- }
342
316
 
343
- type TransitionSettings = TransitionSettings.Param;
344
-
345
- namespace TransitionSettings {
346
- type Param = (
347
- | Pick<_Impl, 'showMethod'>
348
- | Pick<_Impl, 'showDuration'>
349
- | Pick<_Impl, 'hideMethod'>
350
- | Pick<_Impl, 'hideDuration'>
351
- ) &
352
- Partial<Pick<_Impl, keyof _Impl>>;
353
-
354
- interface _Impl {
317
+ interface Transition {
355
318
  /**
356
319
  * @default 'fade'
357
320
  */
@@ -372,22 +335,10 @@ declare namespace FomanticUI {
372
335
  */
373
336
  hideDuration: number;
374
337
  }
375
- }
376
338
 
377
- type SelectorSettings = SelectorSettings.Param;
378
-
379
- namespace SelectorSettings {
380
- type Param = (Pick<_Impl, 'dimmable'> | Pick<_Impl, 'dimmer'> | Pick<_Impl, 'content'>) &
381
- Partial<Pick<_Impl, keyof _Impl>>;
382
-
383
- interface _Impl {
339
+ interface Selectors {
384
340
  /**
385
- * @default '.dimmable'
386
- */
387
- dimmable: string;
388
-
389
- /**
390
- * @default '.ui.dimmer'
341
+ * @default '> .ui.dimmer'
391
342
  */
392
343
  dimmer: string;
393
344
 
@@ -396,24 +347,8 @@ declare namespace FomanticUI {
396
347
  */
397
348
  content: string;
398
349
  }
399
- }
400
350
 
401
- type ClassNameSettings = ClassNameSettings.Param;
402
-
403
- namespace ClassNameSettings {
404
- type Param = (
405
- | Pick<_Impl, 'active'>
406
- | Pick<_Impl, 'dimmable'>
407
- | Pick<_Impl, 'dimmed'>
408
- | Pick<_Impl, 'disabled'>
409
- | Pick<_Impl, 'pageDimmer'>
410
- | Pick<_Impl, 'hide'>
411
- | Pick<_Impl, 'show'>
412
- | Pick<_Impl, 'transition'>
413
- ) &
414
- Partial<Pick<_Impl, keyof _Impl>>;
415
-
416
- interface _Impl {
351
+ interface ClassNames {
417
352
  /**
418
353
  * @default 'active'
419
354
  */
@@ -454,27 +389,15 @@ declare namespace FomanticUI {
454
389
  */
455
390
  transition: string;
456
391
  }
457
- }
458
-
459
- type TemplateSettings = TemplateSettings.Param;
460
-
461
- namespace TemplateSettings {
462
- type Param = Pick<_Impl, 'dimmer'> & Partial<Pick<_Impl, keyof _Impl>>;
463
392
 
464
- interface _Impl {
393
+ interface Templates {
465
394
  /**
466
395
  * Used to generate dimmer content.
467
396
  */
468
397
  dimmer: JQuery;
469
398
  }
470
- }
471
-
472
- type ErrorSettings = ErrorSettings.Param;
473
-
474
- namespace ErrorSettings {
475
- type Param = Pick<_Impl, 'method'> & Partial<Pick<_Impl, keyof _Impl>>;
476
399
 
477
- interface _Impl {
400
+ interface Errors {
478
401
  /**
479
402
  * @default 'The method you called is not defined.'
480
403
  */