@northdata/fomantic-ui 2.9.400 → 2.9.402

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 (72) hide show
  1. package/lib/semantic-ui/dist/components/button.css +15 -15
  2. package/lib/semantic-ui/dist/components/button.min.css +1 -1
  3. package/lib/semantic-ui/dist/components/card.css +2 -2
  4. package/lib/semantic-ui/dist/components/card.min.css +1 -1
  5. package/lib/semantic-ui/dist/components/dropdown.css +4 -4
  6. package/lib/semantic-ui/dist/components/dropdown.min.css +1 -1
  7. package/lib/semantic-ui/dist/components/form.css +4 -4
  8. package/lib/semantic-ui/dist/components/form.min.css +1 -1
  9. package/lib/semantic-ui/dist/components/grid.css +1 -1
  10. package/lib/semantic-ui/dist/components/grid.min.css +1 -1
  11. package/lib/semantic-ui/dist/components/header.css +18 -18
  12. package/lib/semantic-ui/dist/components/header.min.css +1 -1
  13. package/lib/semantic-ui/dist/components/icon.css +12 -12
  14. package/lib/semantic-ui/dist/components/icon.min.css +1 -1
  15. package/lib/semantic-ui/dist/components/input.css +11 -11
  16. package/lib/semantic-ui/dist/components/input.min.css +1 -1
  17. package/lib/semantic-ui/dist/components/label.css +54 -54
  18. package/lib/semantic-ui/dist/components/label.min.css +1 -1
  19. package/lib/semantic-ui/dist/components/loader.css +3 -3
  20. package/lib/semantic-ui/dist/components/loader.min.css +1 -1
  21. package/lib/semantic-ui/dist/components/menu.css +1 -1
  22. package/lib/semantic-ui/dist/components/menu.min.css +1 -1
  23. package/lib/semantic-ui/dist/components/message.css +2 -2
  24. package/lib/semantic-ui/dist/components/message.min.css +1 -1
  25. package/lib/semantic-ui/dist/components/popup.css +3 -3
  26. package/lib/semantic-ui/dist/components/popup.min.css +1 -1
  27. package/lib/semantic-ui/dist/components/search.css +2 -2
  28. package/lib/semantic-ui/dist/components/search.min.css +1 -1
  29. package/lib/semantic-ui/dist/components/segment.css +14 -14
  30. package/lib/semantic-ui/dist/components/segment.min.css +1 -1
  31. package/lib/semantic-ui/dist/components/tab.css +1 -1
  32. package/lib/semantic-ui/dist/components/tab.min.css +1 -1
  33. package/lib/semantic-ui/dist/components/table.css +1 -1
  34. package/lib/semantic-ui/dist/components/table.min.css +1 -1
  35. package/lib/semantic-ui/dist/less/colors.less +623 -0
  36. package/lib/semantic-ui/dist/less/default/reset.variables +3 -0
  37. package/lib/semantic-ui/dist/less/default/site.variables +1547 -0
  38. package/lib/semantic-ui/dist/less/default/variation.variables +796 -0
  39. package/lib/semantic-ui/dist/less/site/reset.variables +3 -0
  40. package/lib/semantic-ui/dist/less/site/site.variables +68 -0
  41. package/lib/semantic-ui/dist/less/site/variation.variables +792 -0
  42. package/lib/semantic-ui/dist/less/theme.less +22 -0
  43. package/lib/semantic-ui/dist/semantic-packed.css +149 -156
  44. package/lib/semantic-ui/dist/semantic.css +148 -148
  45. package/lib/semantic-ui/dist/semantic.full.css +505 -505
  46. package/lib/semantic-ui/dist/semantic.full.min.css +1 -1
  47. package/lib/semantic-ui/dist/semantic.min.css +17 -17
  48. package/lib/semantic-ui/types/fomantic-ui-accordion.d.ts +244 -0
  49. package/lib/semantic-ui/types/fomantic-ui-api.d.ts +561 -0
  50. package/lib/semantic-ui/types/fomantic-ui-calendar.d.ts +867 -0
  51. package/lib/semantic-ui/types/fomantic-ui-checkbox.d.ts +342 -0
  52. package/lib/semantic-ui/types/fomantic-ui-dimmer.d.ts +408 -0
  53. package/lib/semantic-ui/types/fomantic-ui-dropdown.d.ts +1221 -0
  54. package/lib/semantic-ui/types/fomantic-ui-embed.d.ts +343 -0
  55. package/lib/semantic-ui/types/fomantic-ui-flyout.d.ts +539 -0
  56. package/lib/semantic-ui/types/fomantic-ui-form.d.ts +759 -0
  57. package/lib/semantic-ui/types/fomantic-ui-modal.d.ts +567 -0
  58. package/lib/semantic-ui/types/fomantic-ui-nag.d.ts +270 -0
  59. package/lib/semantic-ui/types/fomantic-ui-popup.d.ts +549 -0
  60. package/lib/semantic-ui/types/fomantic-ui-progress.d.ts +465 -0
  61. package/lib/semantic-ui/types/fomantic-ui-rating.d.ts +187 -0
  62. package/lib/semantic-ui/types/fomantic-ui-search.d.ts +612 -0
  63. package/lib/semantic-ui/types/fomantic-ui-shape.d.ts +274 -0
  64. package/lib/semantic-ui/types/fomantic-ui-sidebar.d.ts +402 -0
  65. package/lib/semantic-ui/types/fomantic-ui-slider.d.ts +368 -0
  66. package/lib/semantic-ui/types/fomantic-ui-sticky.d.ts +215 -0
  67. package/lib/semantic-ui/types/fomantic-ui-tab.d.ts +361 -0
  68. package/lib/semantic-ui/types/fomantic-ui-toast.d.ts +526 -0
  69. package/lib/semantic-ui/types/fomantic-ui-transition.d.ts +389 -0
  70. package/lib/semantic-ui/types/fomantic-ui-visibility.d.ts +355 -0
  71. package/lib/semantic-ui/types/index.d.ts +63 -0
  72. package/package.json +4 -3
@@ -0,0 +1,539 @@
1
+ declare namespace FomanticUI {
2
+ interface Flyout {
3
+ settings: FlyoutSettings;
4
+
5
+ /**
6
+ * Attaches flyout action to given selector.
7
+ * Default event if none specified is toggle.
8
+ */
9
+ (behavior: 'attach events', selector: JQuery, event?: string): JQuery;
10
+
11
+ /**
12
+ * Shows the flyout.
13
+ */
14
+ (behavior: 'show'): JQuery;
15
+
16
+ /**
17
+ * Hides the flyout.
18
+ */
19
+ (behavior: 'hide'): JQuery;
20
+
21
+ /**
22
+ * Toggles the flyout.
23
+ */
24
+ (behavior: 'toggle'): JQuery;
25
+
26
+ /**
27
+ * Hides all other displayed flyouts.
28
+ */
29
+ (behavior: 'hide others'): JQuery;
30
+
31
+ /**
32
+ * Returns whether the flyout is visible.
33
+ */
34
+ (behavior: 'is visible'): boolean;
35
+
36
+ /**
37
+ * Returns whether the flyout is hidden.
38
+ */
39
+ (behavior: 'is hidden'): boolean;
40
+
41
+ /**
42
+ * Returns direction of current flyout.
43
+ */
44
+ (behavior: 'get direction'): string;
45
+
46
+ /**
47
+ * Returns current flyout's settings.
48
+ */
49
+ (behavior: 'get settings'): FlyoutSettings;
50
+
51
+ /**
52
+ * Templates handling
53
+ */
54
+ (behavior: keyof Flyout.TemplatesSettings, ...args: any): Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>;
55
+
56
+ (behavior: 'destroy'): JQuery;
57
+ <K extends keyof FlyoutSettings>(behavior: 'setting', name: K, value?: undefined,): Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>;
58
+ <K extends keyof FlyoutSettings>(behavior: 'setting', name: K, value: FlyoutSettings[K]): JQuery;
59
+ (behavior: 'setting', value: Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>): JQuery;
60
+ (settings?: Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>): JQuery;
61
+ }
62
+
63
+ /**
64
+ * @see {@link https://fomantic-ui.com/modules/flyout.html#/settings}
65
+ */
66
+ interface FlyoutSettings {
67
+ // region Accordion Settings
68
+
69
+ /**
70
+ * Selector or jquery object specifying the area to dim.
71
+ * @default 'body'
72
+ */
73
+ context: string | JQuery;
74
+
75
+ /**
76
+ * Opening another flyout will dismiss the one displayed.
77
+ * Set to 'true' to allow multiple flyout at the same time.
78
+ * @default false
79
+ */
80
+ exclusive: boolean;
81
+
82
+ /**
83
+ * Setting to 'false' will not allow you to close the flyout by clicking on the dimmer.
84
+ * @default true
85
+ */
86
+ closable: boolean;
87
+
88
+ /**
89
+ * Whether to dim 'context' contents when flyout is visible.
90
+ * @default true
91
+ */
92
+ dimPage: boolean;
93
+
94
+ /**
95
+ * If dimmer should blur background.
96
+ * @default false
97
+ */
98
+ blurring: boolean;
99
+
100
+ /**
101
+ * When 'true', the first form input inside the flyout will receive focus when shown.
102
+ * Set this to 'false' to prevent this behavior.
103
+ * @default true
104
+ */
105
+ autofocus: boolean;
106
+
107
+ /**
108
+ * When 'false', the last focused element, before the flyout was shown, will not get refocused again when the flyout hides.
109
+ * This could prevent unwanted scrolling behaviors after closing a flyout.
110
+ * @default true
111
+ */
112
+ keyboardShortcuts: boolean;
113
+
114
+ /**
115
+ * Whether to automatically bind keyboard shortcuts.
116
+ * This will close the flyout when the 'ESC-key' is pressed.
117
+ * @default true
118
+ */
119
+ restoreFocus: boolean;
120
+
121
+ /**
122
+ * Whether to lock page scroll when flyout is visible.
123
+ * @default false
124
+ */
125
+ scrollLock: boolean;
126
+
127
+ /**
128
+ * Whether to return to original scroll position when flyout is hidden.
129
+ * @default false
130
+ */
131
+ returnScroll: boolean;
132
+
133
+ /**
134
+ * When flyout is initialized without the proper HTML, using this option will defer creation of DOM to use 'requestAnimationFrame'.
135
+ * @default false
136
+ */
137
+ delaySetup: boolean;
138
+
139
+ /**
140
+ * When 'true', immediately shows the flyout at instantiation time.
141
+ * @default false
142
+ */
143
+ autoShow: boolean;
144
+
145
+ // endregion
146
+
147
+ // region Config Template Settings
148
+
149
+ /**
150
+ * Content of the flyout header.
151
+ * @default ''
152
+ */
153
+ title: string;
154
+
155
+ /**
156
+ * Content of the flyout content.
157
+ * @default ''
158
+ */
159
+ content: string;
160
+
161
+ /**
162
+ * Can hold a string to be added to the flyout class to control its appearance.
163
+ * @default ''
164
+ */
165
+ class: string;
166
+
167
+ /**
168
+ * Can hold a string to be added to the title class to control its appearance.
169
+ * @default ''
170
+ */
171
+ classTitle: string;
172
+
173
+ /**
174
+ * Can hold a string to be added to the content class to control its appearance.
175
+ * @default ''
176
+ */
177
+ classContent: string;
178
+
179
+ /**
180
+ * Can hold a string to be added to the actions class to control its appearance.
181
+ * @default ''
182
+ */
183
+ classActions: string;
184
+
185
+ /**
186
+ * Can hold a string to be added to the actions class to control its appearance.
187
+ * @default false
188
+ */
189
+ closeIcon: boolean | string;
190
+
191
+ /**
192
+ * An array of objects. Each object defines an action with properties `text`, `class`, `icon` and `click`.
193
+ * @default false
194
+ */
195
+ actions: false | object[];
196
+
197
+ /**
198
+ * Whether HTML included in given title, content or actions should be preserved.
199
+ * Set to `false` in case you work with untrusted 3rd party content.
200
+ * @default true
201
+ */
202
+ preserveHTML: boolean;
203
+
204
+ // endregion
205
+
206
+ // region Callbacks
207
+
208
+ /**
209
+ * Is called when a flyout is either shown or hidden.
210
+ */
211
+ onChange(this: JQuery): void;
212
+
213
+ /**
214
+ * Is called when a flyout starts to show.
215
+ */
216
+ onShow(this: JQuery): void;
217
+
218
+ /**
219
+ * Is called after a flyout starts to hide.
220
+ */
221
+ onHide(this: JQuery): void;
222
+
223
+ /**
224
+ * Is called after a flyout has finished showing animating.
225
+ */
226
+ onVisible(this: JQuery): void;
227
+
228
+ /**
229
+ * Is called after a flyout has finished hiding animation.
230
+ */
231
+ onHidden(this: JQuery): void;
232
+
233
+ /**
234
+ * Is called after a positive, approve or ok button is pressed.
235
+ * If the function returns 'false', the flyout will not hide.
236
+ */
237
+ onApprove(this: JQuery): void;
238
+
239
+ /**
240
+ * Is called after a negative, deny or cancel button is pressed.
241
+ * If the function 'returns' false, the flyout will not hide.
242
+ */
243
+ onDeny(this: JQuery): void;
244
+
245
+ // endregion
246
+
247
+ // region DOM Settings
248
+
249
+ /**
250
+ * DOM Selectors used internally.
251
+ * Selectors used to find parts of a module.
252
+ */
253
+ selector: Flyout.SelectorSettings;
254
+
255
+ /**
256
+ * Class names used to determine element state.
257
+ */
258
+ className: Flyout.ClassNameSettings;
259
+
260
+ /**
261
+ *
262
+ */
263
+ regExp: Flyout.RegExpSettings;
264
+
265
+ // endregion
266
+
267
+ // region Config Template Settings
268
+
269
+ templates: Flyout.TemplatesSettings;
270
+
271
+ // endregion
272
+
273
+ // region Debug Settings
274
+
275
+ /**
276
+ * Name used in log statements
277
+ * @default 'Flyout'
278
+ */
279
+ name: string;
280
+
281
+ /**
282
+ * Event namespace. Makes sure module teardown does not effect other events attached to an element.
283
+ * @default 'flyout'
284
+ */
285
+ namespace: string;
286
+
287
+ /**
288
+ * Silences all console output including error messages, regardless of other debug settings.
289
+ * @default false
290
+ */
291
+ silent: boolean;
292
+
293
+ /**
294
+ * Debug output to console
295
+ * @default false
296
+ */
297
+ debug: boolean;
298
+
299
+ /**
300
+ * Show console.table output with performance metrics
301
+ * @default true
302
+ */
303
+ performance: boolean;
304
+
305
+ /**
306
+ * Debug output includes all internal behaviors
307
+ * @default false
308
+ */
309
+ verbose: boolean;
310
+
311
+ error: Flyout.ErrorSettings;
312
+
313
+ // endregion
314
+ }
315
+
316
+ namespace Flyout {
317
+ type SelectorSettings = Partial<Pick<Settings.Selectors, keyof Settings.Selectors>>;
318
+ type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
319
+ type RegExpSettings = Partial<Pick<Settings.RegExps, keyof Settings.RegExps>>;
320
+ type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
321
+ type TemplatesSettings = Partial<Pick<Settings.Templates, keyof Settings.Templates>> & {[key: string]: (...args: any) => Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>};
322
+
323
+ namespace Settings {
324
+ interface Selectors {
325
+ /**
326
+ * @default '.fixed'
327
+ */
328
+ fixed: string;
329
+
330
+ /**
331
+ * @default 'script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed'
332
+ */
333
+ omitted: string;
334
+
335
+ /**
336
+ * @default '.pusher'
337
+ */
338
+ pusher: string;
339
+
340
+ /**
341
+ * @default '.ui.flyout'
342
+ */
343
+ flyout: string;
344
+
345
+ /**
346
+ * @default '.ui.header'
347
+ */
348
+ header: string;
349
+
350
+ /**
351
+ * @default '.content'
352
+ */
353
+ content: string;
354
+
355
+ /**
356
+ * @default '.actions'
357
+ */
358
+ actions: string;
359
+
360
+ /**
361
+ * @default '.close'
362
+ */
363
+ close: string;
364
+
365
+ /**
366
+ * @default '.actions .positive, .actions .approve, .actions .ok'
367
+ */
368
+ approve: string;
369
+
370
+ /**
371
+ * @default '.actions .negative, .actions .deny, .actions .cancel'
372
+ */
373
+ deny: string;
374
+ }
375
+
376
+ interface ClassNames {
377
+ /**
378
+ * @default 'ui flyout'
379
+ */
380
+ flyout: string;
381
+
382
+ /**
383
+ * @default 'close icon'
384
+ */
385
+ close: string;
386
+
387
+ /**
388
+ * @default 'ui header'
389
+ */
390
+ header: string;
391
+
392
+ /**
393
+ * @default 'content'
394
+ */
395
+ content: string;
396
+
397
+ /**
398
+ * @default 'actions'
399
+ */
400
+ actions: string;
401
+
402
+ /**
403
+ * @default 'active'
404
+ */
405
+ active: string;
406
+
407
+ /**
408
+ * @default 'animating'
409
+ */
410
+ animating: string;
411
+
412
+ /**
413
+ * @default 'dimmed'
414
+ */
415
+ dimmed: string;
416
+
417
+ /**
418
+ * @default 'ios'
419
+ */
420
+ ios: string;
421
+
422
+ /**
423
+ * @default 'pushable'
424
+ */
425
+ pushable: string;
426
+
427
+ /**
428
+ * @default 'pushed'
429
+ */
430
+ pushed: string;
431
+
432
+ /**
433
+ * @default 'right'
434
+ */
435
+ right: string;
436
+
437
+ /**
438
+ * @default 'top'
439
+ */
440
+ top: string;
441
+
442
+ /**
443
+ * @default 'left'
444
+ */
445
+ left: string;
446
+
447
+ /**
448
+ * @default 'bottom'
449
+ */
450
+ bottom: string;
451
+
452
+ /**
453
+ * @default 'visible'
454
+ */
455
+ visible: string;
456
+
457
+ /**
458
+ * @default 'overlay'
459
+ */
460
+ overlay: string;
461
+
462
+ /**
463
+ * @default 'fullscreen'
464
+ */
465
+ fullscreen: string;
466
+
467
+ /**
468
+ * @default 'ui flyout'
469
+ */
470
+ template: string;
471
+
472
+ /**
473
+ * @default 'ui button'
474
+ */
475
+ button: string;
476
+
477
+ /**
478
+ * @default 'positive'
479
+ */
480
+ ok: string;
481
+
482
+ /**
483
+ * @default 'negative'
484
+ */
485
+ cancel: string;
486
+
487
+ /**
488
+ * @default 'ui fluid input'
489
+ */
490
+ prompt: string;
491
+ }
492
+
493
+ interface RegExps {
494
+ /**
495
+ * @default /(iPad|iPhone|iPod)/g
496
+ */
497
+ ios: RegExp;
498
+
499
+ /**
500
+ * @default /(CriOS)/g
501
+ */
502
+ mobileChrome: RegExp;
503
+
504
+ /**
505
+ * @default /Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g
506
+ */
507
+ mobile: RegExp;
508
+ }
509
+
510
+ interface Errors {
511
+ /**
512
+ * @default 'The method you called is not defined.'
513
+ */
514
+ method: string;
515
+
516
+ /**
517
+ * @default 'Had to add pusher element. For optimal performance make sure body content is inside a pusher element'
518
+ */
519
+ pusher: string;
520
+
521
+ /**
522
+ * @default 'Had to move flyout. For optimal performance make sure flyout and pusher are direct children of your body tag'
523
+ */
524
+ movedFlyout: string;
525
+
526
+ /**
527
+ * @default 'There were no elements that matched the specified selector'
528
+ */
529
+ notFound: string;
530
+ }
531
+
532
+ interface Templates {
533
+ alert(): Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>;
534
+ confirm(): Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>;
535
+ prompt(): Partial<Pick<FlyoutSettings, keyof FlyoutSettings>>;
536
+ }
537
+ }
538
+ }
539
+ }