fomantic-ui 2.9.3-beta.46 → 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 (184) 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 +1 -1
  160. package/types/fomantic-ui-accordion.d.ts +166 -172
  161. package/types/fomantic-ui-api.d.ts +418 -470
  162. package/types/fomantic-ui-calendar.d.ts +425 -479
  163. package/types/fomantic-ui-checkbox.d.ts +148 -194
  164. package/types/fomantic-ui-dimmer.d.ts +188 -265
  165. package/types/fomantic-ui-dropdown.d.ts +447 -666
  166. package/types/fomantic-ui-embed.d.ts +243 -289
  167. package/types/fomantic-ui-flyout.d.ts +259 -292
  168. package/types/fomantic-ui-form.d.ts +478 -607
  169. package/types/fomantic-ui-modal.d.ts +389 -471
  170. package/types/fomantic-ui-nag.d.ts +228 -277
  171. package/types/fomantic-ui-popup.d.ts +438 -534
  172. package/types/fomantic-ui-progress.d.ts +278 -352
  173. package/types/fomantic-ui-rating.d.ts +137 -168
  174. package/types/fomantic-ui-search.d.ts +359 -453
  175. package/types/fomantic-ui-shape.d.ts +152 -194
  176. package/types/fomantic-ui-sidebar.d.ts +315 -391
  177. package/types/fomantic-ui-slider.d.ts +259 -322
  178. package/types/fomantic-ui-sticky.d.ts +198 -244
  179. package/types/fomantic-ui-tab.d.ts +284 -350
  180. package/types/fomantic-ui-tests.ts +4 -2
  181. package/types/fomantic-ui-toast.d.ts +318 -424
  182. package/types/fomantic-ui-transition.d.ts +223 -273
  183. package/types/fomantic-ui-visibility.d.ts +286 -353
  184. package/types/index.d.ts +0 -1
@@ -49,254 +49,271 @@ declare namespace FomanticUI {
49
49
  (behavior: 'get settings'): FlyoutSettings;
50
50
 
51
51
  (behavior: 'destroy'): JQuery;
52
- <K extends keyof FlyoutSettings>(behavior: 'setting', name: K, value?: undefined): FlyoutSettings._Impl[K];
53
- <K extends keyof FlyoutSettings>(behavior: 'setting', name: K, value: FlyoutSettings._Impl[K]): JQuery;
54
- (behavior: 'setting', value: FlyoutSettings): JQuery;
55
- (settings?: FlyoutSettings): JQuery;
52
+ <K extends keyof FlyoutSettings>(behavior: 'setting', name: K, value?: undefined, ): Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>;
53
+ <K extends keyof FlyoutSettings>(behavior: 'setting', name: K, value: FlyoutSettings[K]): JQuery;
54
+ (behavior: 'setting', value: Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>): JQuery;
55
+ (settings?: Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>): JQuery;
56
56
  }
57
57
 
58
58
  /**
59
59
  * @see {@link https://fomantic-ui.com/modules/flyout.html#/settings}
60
60
  */
61
- type FlyoutSettings = FlyoutSettings.Param;
62
-
63
- namespace FlyoutSettings {
64
- type Param = (
65
- | Pick<_Impl, 'context'>
66
- | Pick<_Impl, 'exclusive'>
67
- | Pick<_Impl, 'closable'>
68
- | Pick<_Impl, 'dimPage'>
69
- | Pick<_Impl, 'blurring'>
70
- | Pick<_Impl, 'autofocus'>
71
- | Pick<_Impl, 'restoreFocus'>
72
- | Pick<_Impl, 'keyboardShortcuts'>
73
- | Pick<_Impl, 'scrollLock'>
74
- | Pick<_Impl, 'returnScroll'>
75
- | Pick<_Impl, 'delaySetup'>
76
- | Pick<_Impl, 'autoShow'>
77
- | Pick<_Impl, 'onChange'>
78
- | Pick<_Impl, 'onShow'>
79
- | Pick<_Impl, 'onHide'>
80
- | Pick<_Impl, 'onVisible'>
81
- | Pick<_Impl, 'onHidden'>
82
- | Pick<_Impl, 'onApprove'>
83
- | Pick<_Impl, 'onDeny'>
84
- | Pick<_Impl, 'selector'>
85
- | Pick<_Impl, 'className'>
86
- | Pick<_Impl, 'regExp'>
87
- | Pick<_Impl, 'name'>
88
- | Pick<_Impl, 'namespace'>
89
- | Pick<_Impl, 'silent'>
90
- | Pick<_Impl, 'debug'>
91
- | Pick<_Impl, 'performance'>
92
- | Pick<_Impl, 'verbose'>
93
- | Pick<_Impl, 'error'>
94
- ) &
95
- Partial<Pick<_Impl, keyof _Impl>>;
96
-
97
- interface _Impl {
98
- // region Accordion Settings
99
-
100
- /**
101
- * Selector or jquery object specifying the area to dim.
102
- * @default 'body'
103
- */
104
- context: string | JQuery;
105
-
106
- /**
107
- * Opening another flyout will dismiss the one displayed.
108
- * Set to 'true' to allow multiple flyout at the same time.
109
- * @default false
110
- */
111
- exclusive: boolean;
112
-
113
- /**
114
- * Setting to 'false' will not allow you to close the flyout by clicking on the dimmer.
115
- * @default true
116
- */
117
- closable: boolean;
118
-
119
- /**
120
- * Whether to dim 'context' contents when flyout is visible.
121
- * @default true
122
- */
123
- dimPage: boolean;
124
-
125
- /**
126
- * If dimmer should blur background.
127
- * @default false
128
- */
129
- blurring: boolean;
130
-
131
- /**
132
- * When 'true', the first form input inside the flyout will receive focus when shown.
133
- * Set this to 'false' to prevent this behavior.
134
- * @default true
135
- */
136
- autofocus: boolean;
137
-
138
- /**
139
- * When 'false', the last focused element, before the flyout was shown, will not get refocused again when the flyout hides.
140
- * This could prevent unwanted scrolling behaviors after closing a flyout.
141
- * @default true
142
- */
143
- keyboardShortcuts: boolean;
144
-
145
- /**
146
- * Whether to automatically bind keyboard shortcuts.
147
- * This will close the flyout when the 'ESC-key' is pressed.
148
- * @default true
149
- */
150
- restoreFocus: boolean;
151
-
152
- /**
153
- * Whether to lock page scroll when flyout is visible.
154
- * @default false
155
- */
156
- scrollLock: boolean;
157
-
158
- /**
159
- * Whether to return to original scroll position when flyout is hidden.
160
- * @default false
161
- */
162
- returnScroll: boolean;
163
-
164
- /**
165
- * When flyout is initialized without the proper HTML, using this option will defer creation of DOM to use 'requestAnimationFrame'.
166
- * @default false
167
- */
168
- delaySetup: boolean;
169
-
170
- /**
171
- * When 'true', immediately shows the flyout at instantiation time.
172
- * @default false
173
- */
174
- autoShow: boolean;
175
-
176
- // endregion
177
-
178
- // region Callbacks
179
-
180
- /**
181
- * Is called when a flyout is either shown or hidden.
182
- */
183
- onChange(this: JQuery): void;
184
-
185
- /**
186
- * Is called when a flyout starts to show.
187
- */
188
- onShow(this: JQuery): void;
189
-
190
- /**
191
- * Is called after a flyout starts to hide.
192
- */
193
- onHide(this: JQuery): void;
194
-
195
- /**
196
- * Is called after a flyout has finished showing animating.
197
- */
198
- onVisible(this: JQuery): void;
199
-
200
- /**
201
- * Is called after a flyout has finished hiding animation.
202
- */
203
- onHidden(this: JQuery): void;
204
-
205
- /**
206
- * Is called after a positive, approve or ok button is pressed.
207
- * If the function returns 'false', the flyout will not hide.
208
- */
209
- onApprove(this: JQuery): void;
210
-
211
- /**
212
- * Is called after a negative, deny or cancel button is pressed.
213
- * If the function 'returns' false, the flyout will not hide.
214
- */
215
- onDeny(this: JQuery): void;
216
-
217
- // endregion
218
-
219
- // region DOM Settings
220
-
221
- /**
222
- * DOM Selectors used internally.
223
- * Selectors used to find parts of a module.
224
- */
225
- selector: Flyout.SelectorSettings;
226
-
227
- /**
228
- * Class names used to determine element state.
229
- */
230
- className: Flyout.ClassNameSettings;
231
-
232
- /**
233
- *
234
- */
235
- regExp: Flyout.RegExpSettings;
236
-
237
- // endregion
238
-
239
- // region Config Template Settings
240
-
241
- // endregion
242
-
243
- // region Debug Settings
244
-
245
- /**
246
- * Name used in log statements
247
- */
248
- name: string;
249
-
250
- /**
251
- * Event namespace. Makes sure module teardown does not effect other events attached to an element.
252
- */
253
- namespace: string;
254
-
255
- /**
256
- * Silences all console output including error messages, regardless of other debug settings.
257
- */
258
- silent: boolean;
259
-
260
- /**
261
- * Debug output to console
262
- */
263
- debug: boolean;
264
-
265
- /**
266
- * Show console.table output with performance metrics
267
- */
268
- performance: boolean;
61
+ interface FlyoutSettings {
62
+ // region Accordion Settings
269
63
 
270
- /**
271
- * Debug output includes all internal behaviors
272
- */
273
- verbose: boolean;
64
+ /**
65
+ * Selector or jquery object specifying the area to dim.
66
+ * @default 'body'
67
+ */
68
+ context: string | JQuery;
274
69
 
275
- error: Flyout.ErrorSettings;
70
+ /**
71
+ * Opening another flyout will dismiss the one displayed.
72
+ * Set to 'true' to allow multiple flyout at the same time.
73
+ * @default false
74
+ */
75
+ exclusive: boolean;
276
76
 
277
- // endregion
278
- }
77
+ /**
78
+ * Setting to 'false' will not allow you to close the flyout by clicking on the dimmer.
79
+ * @default true
80
+ */
81
+ closable: boolean;
82
+
83
+ /**
84
+ * Whether to dim 'context' contents when flyout is visible.
85
+ * @default true
86
+ */
87
+ dimPage: boolean;
88
+
89
+ /**
90
+ * If dimmer should blur background.
91
+ * @default false
92
+ */
93
+ blurring: boolean;
94
+
95
+ /**
96
+ * When 'true', the first form input inside the flyout will receive focus when shown.
97
+ * Set this to 'false' to prevent this behavior.
98
+ * @default true
99
+ */
100
+ autofocus: boolean;
101
+
102
+ /**
103
+ * When 'false', the last focused element, before the flyout was shown, will not get refocused again when the flyout hides.
104
+ * This could prevent unwanted scrolling behaviors after closing a flyout.
105
+ * @default true
106
+ */
107
+ keyboardShortcuts: boolean;
108
+
109
+ /**
110
+ * Whether to automatically bind keyboard shortcuts.
111
+ * This will close the flyout when the 'ESC-key' is pressed.
112
+ * @default true
113
+ */
114
+ restoreFocus: boolean;
115
+
116
+ /**
117
+ * Whether to lock page scroll when flyout is visible.
118
+ * @default false
119
+ */
120
+ scrollLock: boolean;
121
+
122
+ /**
123
+ * Whether to return to original scroll position when flyout is hidden.
124
+ * @default false
125
+ */
126
+ returnScroll: boolean;
127
+
128
+ /**
129
+ * When flyout is initialized without the proper HTML, using this option will defer creation of DOM to use 'requestAnimationFrame'.
130
+ * @default false
131
+ */
132
+ delaySetup: boolean;
133
+
134
+ /**
135
+ * When 'true', immediately shows the flyout at instantiation time.
136
+ * @default false
137
+ */
138
+ autoShow: boolean;
139
+
140
+ // endregion
141
+
142
+ // region Config Template Settings
143
+
144
+ /**
145
+ * Content of the flyout header.
146
+ * @default ''
147
+ */
148
+ title: boolean;
149
+
150
+ /**
151
+ * Content of the flyout content.
152
+ * @default ''
153
+ */
154
+ content: boolean;
155
+
156
+ /**
157
+ * Can hold a string to be added to the flyout class to control its appearance.
158
+ * @default ''
159
+ */
160
+ class: boolean;
161
+
162
+ /**
163
+ * Can hold a string to be added to the title class to control its appearance.
164
+ * @default ''
165
+ */
166
+ classTitle: boolean;
167
+
168
+ /**
169
+ * Can hold a string to be added to the content class to control its appearance.
170
+ * @default ''
171
+ */
172
+ classContent: boolean;
173
+
174
+ /**
175
+ * Can hold a string to be added to the actions class to control its appearance.
176
+ * @default ''
177
+ */
178
+ classActions: boolean;
179
+
180
+ /**
181
+ * Can hold a string to be added to the actions class to control its appearance.
182
+ * @default false
183
+ */
184
+ closeIcon: boolean;
185
+
186
+ /**
187
+ * An array of objects. Each object defines an action with properties `text`, `class`, `icon` and `click`.
188
+ * @default false
189
+ */
190
+ actions: false | object[];
191
+
192
+ /**
193
+ * Whether HTML included in given title, content or actions should be preserved.
194
+ * Set to `false` in case you work with untrusted 3rd party content.
195
+ * @default true
196
+ */
197
+ preserveHTML: boolean;
198
+
199
+ // endregion
200
+
201
+ // region Callbacks
202
+
203
+ /**
204
+ * Is called when a flyout is either shown or hidden.
205
+ */
206
+ onChange(this: JQuery): void;
207
+
208
+ /**
209
+ * Is called when a flyout starts to show.
210
+ */
211
+ onShow(this: JQuery): void;
212
+
213
+ /**
214
+ * Is called after a flyout starts to hide.
215
+ */
216
+ onHide(this: JQuery): void;
217
+
218
+ /**
219
+ * Is called after a flyout has finished showing animating.
220
+ */
221
+ onVisible(this: JQuery): void;
222
+
223
+ /**
224
+ * Is called after a flyout has finished hiding animation.
225
+ */
226
+ onHidden(this: JQuery): void;
227
+
228
+ /**
229
+ * Is called after a positive, approve or ok button is pressed.
230
+ * If the function returns 'false', the flyout will not hide.
231
+ */
232
+ onApprove(this: JQuery): void;
233
+
234
+ /**
235
+ * Is called after a negative, deny or cancel button is pressed.
236
+ * If the function 'returns' false, the flyout will not hide.
237
+ */
238
+ onDeny(this: JQuery): void;
239
+
240
+ // endregion
241
+
242
+ // region DOM Settings
243
+
244
+ /**
245
+ * DOM Selectors used internally.
246
+ * Selectors used to find parts of a module.
247
+ */
248
+ selector: Flyout.SelectorSettings;
249
+
250
+ /**
251
+ * Class names used to determine element state.
252
+ */
253
+ className: Flyout.ClassNameSettings;
254
+
255
+ /**
256
+ *
257
+ */
258
+ regExp: Flyout.RegExpSettings;
259
+
260
+ // endregion
261
+
262
+ // region Config Template Settings
263
+
264
+ // endregion
265
+
266
+ // region Debug Settings
267
+
268
+ /**
269
+ * Name used in log statements
270
+ * @default 'Flyout'
271
+ */
272
+ name: string;
273
+
274
+ /**
275
+ * Event namespace. Makes sure module teardown does not effect other events attached to an element.
276
+ * @default 'flyout'
277
+ */
278
+ namespace: string;
279
+
280
+ /**
281
+ * Silences all console output including error messages, regardless of other debug settings.
282
+ * @default false
283
+ */
284
+ silent: boolean;
285
+
286
+ /**
287
+ * Debug output to console
288
+ * @default false
289
+ */
290
+ debug: boolean;
291
+
292
+ /**
293
+ * Show console.table output with performance metrics
294
+ * @default true
295
+ */
296
+ performance: boolean;
297
+
298
+ /**
299
+ * Debug output includes all internal behaviors
300
+ * @default false
301
+ */
302
+ verbose: boolean;
303
+
304
+ error: Flyout.ErrorSettings;
305
+
306
+ // endregion
279
307
  }
280
308
 
281
309
  namespace Flyout {
282
- type SelectorSettings = SelectorSettings.Param;
283
-
284
- namespace SelectorSettings {
285
- type Param = (
286
- | Pick<_Impl, 'fixed'>
287
- | Pick<_Impl, 'omitted'>
288
- | Pick<_Impl, 'pusher'>
289
- | Pick<_Impl, 'flyout'>
290
- | Pick<_Impl, 'header'>
291
- | Pick<_Impl, 'content'>
292
- | Pick<_Impl, 'actions'>
293
- | Pick<_Impl, 'close'>
294
- | Pick<_Impl, 'approve'>
295
- | Pick<_Impl, 'deny'>
296
- ) &
297
- Partial<Pick<_Impl, keyof _Impl>>;
298
-
299
- interface _Impl {
310
+ type SelectorSettings = Partial<Pick<Settings.Selectors, keyof Settings.Selectors>>;
311
+ type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
312
+ type RegExpSettings = Partial<Pick<Settings.RegExps, keyof Settings.RegExps>>;
313
+ type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
314
+
315
+ namespace Settings {
316
+ interface Selectors {
300
317
  /**
301
318
  * @default '.fixed'
302
319
  */
@@ -347,39 +364,8 @@ declare namespace FomanticUI {
347
364
  */
348
365
  deny: string;
349
366
  }
350
- }
351
-
352
- type ClassNameSettings = ClassNameSettings.Param;
353
-
354
- namespace ClassNameSettings {
355
- type Param = (
356
- | Pick<_Impl, 'flyout'>
357
- | Pick<_Impl, 'close'>
358
- | Pick<_Impl, 'header'>
359
- | Pick<_Impl, 'content'>
360
- | Pick<_Impl, 'actions'>
361
- | Pick<_Impl, 'active'>
362
- | Pick<_Impl, 'animating'>
363
- | Pick<_Impl, 'dimmed'>
364
- | Pick<_Impl, 'ios'>
365
- | Pick<_Impl, 'pushable'>
366
- | Pick<_Impl, 'pushed'>
367
- | Pick<_Impl, 'right'>
368
- | Pick<_Impl, 'top'>
369
- | Pick<_Impl, 'left'>
370
- | Pick<_Impl, 'bottom'>
371
- | Pick<_Impl, 'visible'>
372
- | Pick<_Impl, 'overlay'>
373
- | Pick<_Impl, 'fullscreen'>
374
- | Pick<_Impl, 'template'>
375
- | Pick<_Impl, 'button'>
376
- | Pick<_Impl, 'ok'>
377
- | Pick<_Impl, 'cancel'>
378
- | Pick<_Impl, 'prompt'>
379
- ) &
380
- Partial<Pick<_Impl, keyof _Impl>>;
381
-
382
- interface _Impl {
367
+
368
+ interface ClassNames {
383
369
  /**
384
370
  * @default 'ui flyout'
385
371
  */
@@ -495,15 +481,8 @@ declare namespace FomanticUI {
495
481
  */
496
482
  prompt: string;
497
483
  }
498
- }
499
-
500
- type RegExpSettings = RegExpSettings.Param;
501
-
502
- namespace RegExpSettings {
503
- type Param = (Pick<_Impl, 'ios'> | Pick<_Impl, 'mobileChrome'> | Pick<_Impl, 'mobile'>) &
504
- Partial<Pick<_Impl, keyof _Impl>>;
505
-
506
- interface _Impl {
484
+
485
+ interface RegExps {
507
486
  /**
508
487
  * @default /(iPad|iPhone|iPod)/g
509
488
  */
@@ -519,20 +498,8 @@ declare namespace FomanticUI {
519
498
  */
520
499
  mobile: RegExp;
521
500
  }
522
- }
523
-
524
- type ErrorSettings = ErrorSettings.Param;
525
-
526
- namespace ErrorSettings {
527
- type Param = (
528
- | Pick<_Impl, 'method'>
529
- | Pick<_Impl, 'pusher'>
530
- | Pick<_Impl, 'movedFlyout'>
531
- | Pick<_Impl, 'notFound'>
532
- ) &
533
- Partial<Pick<_Impl, keyof _Impl>>;
534
501
 
535
- interface _Impl {
502
+ interface Errors {
536
503
  /**
537
504
  * @default 'The method you called is not defined.'
538
505
  */