@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,389 @@
1
+ declare namespace FomanticUI {
2
+ interface Transition {
3
+ settings: TransitionSettings;
4
+
5
+ /**
6
+ * Stop current animation and preserve queue.
7
+ */
8
+ (behavior: 'stop'): JQuery;
9
+
10
+ /**
11
+ * Stop current animation and queued animations.
12
+ */
13
+ (behavior: 'stop all'): JQuery;
14
+
15
+ /**
16
+ * Clears all queued animations.
17
+ */
18
+ (behavior: 'clear queue'): JQuery;
19
+
20
+ /**
21
+ * Stop current animation and show element.
22
+ */
23
+ (behavior: 'show'): JQuery;
24
+
25
+ /**
26
+ * Stop current animation and hide element.
27
+ */
28
+ (behavior: 'hide'): JQuery;
29
+
30
+ /**
31
+ * Toggles between hide and show.
32
+ */
33
+ (behavior: 'toggle'): JQuery;
34
+
35
+ /**
36
+ * Forces reflow using a more expensive but stable method.
37
+ */
38
+ (behavior: 'force repaint'): JQuery;
39
+
40
+ /**
41
+ * Triggers reflow on element.
42
+ */
43
+ (behavior: 'repaint'): JQuery;
44
+
45
+ /**
46
+ * Resets all conditions changes during transition.
47
+ */
48
+ (behavior: 'reset'): JQuery;
49
+
50
+ /**
51
+ * Enables animation looping.
52
+ */
53
+ (behavior: 'set looping'): JQuery;
54
+
55
+ /**
56
+ * Removes looping state from element.
57
+ */
58
+ (behavior: 'remove looping'): JQuery;
59
+
60
+ /**
61
+ * Adds disabled state (stops ability to animate).
62
+ */
63
+ (behavior: 'disable'): JQuery;
64
+
65
+ /**
66
+ * Removes disabled state.
67
+ */
68
+ (behavior: 'enable'): JQuery;
69
+
70
+ /**
71
+ * Modifies element animation duration.
72
+ */
73
+ (behavior: 'set duration', duration: number): JQuery;
74
+
75
+ /**
76
+ * Saves all class names and styles to cache to be retrieved after animation.
77
+ */
78
+ (behavior: 'save conditions'): JQuery;
79
+
80
+ /**
81
+ * Adds back cached names and styles to element.
82
+ */
83
+ (behavior: 'restore conditions'): JQuery;
84
+
85
+ /**
86
+ * Returns vendor prefixed animation property for animationname.
87
+ */
88
+ (behavior: 'get animation name'): string;
89
+
90
+ /**
91
+ * Returns vendor prefixed animation property for animationend.
92
+ */
93
+ (behavior: 'get animation event'): string;
94
+
95
+ /**
96
+ * Returns whether element is currently visible.
97
+ */
98
+ (behavior: 'is visible'): boolean;
99
+
100
+ /**
101
+ * Returns whether transition is currently occurring.
102
+ */
103
+ (behavior: 'is animating'): boolean;
104
+
105
+ /**
106
+ * Returns whether animation looping is set.
107
+ */
108
+ (behavior: 'is looping'): boolean;
109
+
110
+ /**
111
+ * Returns whether animations are supported.
112
+ */
113
+ (behavior: 'is supported'): boolean;
114
+
115
+ (behavior: 'scale', duration?: any, onComplete?: () => any): JQuery;
116
+
117
+ (behavior: 'zoom', duration?: any, onComplete?: () => any): JQuery;
118
+
119
+ (behavior: 'fade' | 'fade up' | 'fade down' | 'fade left' | 'fade right', duration?: any, onComplete?: () => any): JQuery;
120
+
121
+ (behavior: 'horizontal flip' | 'vertical flip', duration?: any, onComplete?: () => any): JQuery;
122
+
123
+ (behavior: 'drop', duration?: any, onComplete?: () => any): JQuery;
124
+
125
+ (behavior: 'fly up' | 'fly down' | 'fly left' | 'fly right', duration?: any, onComplete?: () => any): JQuery;
126
+
127
+ (behavior: 'swing up' | 'swing down' | 'swing left' | 'swing right', duration?: any, onComplete?: () => any): JQuery;
128
+
129
+ (behavior: 'browse' | 'browse up' | 'browse down' | 'browse left' | 'browse right', duration?: any, onComplete?: () => any): JQuery;
130
+
131
+ (behavior: 'slide up' | 'slide down' | 'slide left' | 'slide right', duration?: any, onComplete?: () => any): JQuery;
132
+
133
+ // Static animations
134
+ (behavior: 'pulsating', duration?: any, onComplete?: () => any): JQuery;
135
+ (behavior: 'jiggle', duration?: any, onComplete?: () => any): JQuery;
136
+ (behavior: 'flash', duration?: any, onComplete?: () => any): JQuery;
137
+ (behavior: 'shake', duration?: any, onComplete?: () => any): JQuery;
138
+ (behavior: 'pulse', duration?: any, onComplete?: () => any): JQuery;
139
+ (behavior: 'tada', duration?: any, onComplete?: () => any): JQuery;
140
+ (behavior: 'bounce', duration?: any, onComplete?: () => any): JQuery;
141
+ (behavior: 'glow', duration?: any, onComplete?: () => any): JQuery;
142
+
143
+ /**
144
+ * Destroys instance and removes all events.
145
+ */
146
+ (behavior: 'destroy'): JQuery;
147
+ <K extends keyof TransitionSettings>(behavior: 'setting', name: K, value?: undefined,): Partial<Pick<TransitionSettings, keyof TransitionSettings>>;
148
+ <K extends keyof TransitionSettings>(behavior: 'setting', name: K, value: TransitionSettings[K]): JQuery;
149
+ (behavior: 'setting', value: Partial<Pick<TransitionSettings, keyof TransitionSettings>>): JQuery;
150
+ (settings?: Partial<Pick<TransitionSettings, keyof TransitionSettings>>): JQuery;
151
+ }
152
+
153
+ /**
154
+ * @see {@link https://fomantic-ui.com/modules/transition.html#/settings}
155
+ */
156
+ interface TransitionSettings {
157
+ // region Transition Settings
158
+
159
+ /**
160
+ * Named animation event to used.
161
+ * Must be defined in CSS.
162
+ * @default 'fade'
163
+ */
164
+ animation: string;
165
+
166
+ /**
167
+ * Interval in MS between each elements transition.
168
+ * @default 0
169
+ */
170
+ interval: number;
171
+
172
+ /**
173
+ * When an interval is specified, sets order of animations. 'auto' reverses only animations that are hiding.
174
+ * @default 'auto'
175
+ */
176
+ reverse: string | boolean;
177
+
178
+ /**
179
+ * Specify the final display type (block, inline-block etc) so that it doesn't have to be calculated.
180
+ * @default false
181
+ */
182
+ displayType: false | string;
183
+
184
+ /**
185
+ * Duration of the CSS transition animation
186
+ * @default false
187
+ */
188
+ duration: string | number | false;
189
+
190
+ /**
191
+ * If enabled a 'timeout' will be added to ensure 'animationend' callback occurs even if element is hidden.
192
+ * @default true
193
+ */
194
+ useFailSafe: boolean;
195
+
196
+ /**
197
+ * Delay in ms for fail safe
198
+ * @default 100
199
+ */
200
+ failSafeDelay: number;
201
+
202
+ /**
203
+ * If enabled will allow same animation to be queued while it is already occurring.
204
+ * @default false
205
+ */
206
+ allowRepeats: boolean;
207
+
208
+ /**
209
+ * Whether to automatically queue animation if another is occurring.
210
+ * @default true
211
+ */
212
+ queue: boolean;
213
+
214
+ /**
215
+ * Whether initially inline hidden objects should be skipped for transition.
216
+ * Useful, if you do the transition for child objects also, but want to have inline hidden children (defined by style="display:none;") still kept hidden while the parent gets animated.
217
+ * Accordion uses this.
218
+ * @default false
219
+ */
220
+ skipInlineHidden: boolean;
221
+
222
+ // endregion
223
+
224
+ // region Callbacks
225
+
226
+ /**
227
+ * Callback on each transition that changes visibility to shown.
228
+ * Returning 'false' from this callback will cancel the transition from showing.
229
+ */
230
+ onShow(this: JQuery): boolean;
231
+
232
+ /**
233
+ * Callback right before the show transition should start.
234
+ * The 'showFunction' parameter has to be called inside the callback to trigger the transition show
235
+ */
236
+ onBeforeShow(this: JQuery, showFunction: () => void): void;
237
+
238
+ /**
239
+ * Callback once the show transition has finished.
240
+ */
241
+ onVisible(this: JQuery): void;
242
+
243
+ /**
244
+ * Callback on each transition that changes visibility to hidden.
245
+ * Returning 'false' from this callback will cancel the transition from hiding.
246
+ */
247
+ onHide(this: JQuery): boolean;
248
+
249
+ /**
250
+ * Callback right before the hide transition should start.
251
+ * The 'hideFunction' parameter has to be called inside the callback to trigger the transition hide.
252
+ */
253
+ onBeforeHide(this: JQuery, hideFunction: () => void): void;
254
+
255
+ /**
256
+ * Callback once the transition hide has finished.
257
+ */
258
+ onHidden(this: JQuery): void;
259
+
260
+ /**
261
+ * Callback on animation start, useful for queued animations.
262
+ */
263
+ onStart(this: JQuery): void;
264
+
265
+ /**
266
+ * Callback on each transition complete.
267
+ */
268
+ onComplete(this: JQuery): void;
269
+
270
+ // endregion
271
+
272
+ // region DOM Settings
273
+
274
+ /**
275
+ * Class names used to determine element state.
276
+ */
277
+ className: Transition.ClassNameSettings;
278
+
279
+ // endregion
280
+
281
+ // region Debug Settings
282
+
283
+ /**
284
+ * Name used in log statements
285
+ * @default 'Transition'
286
+ */
287
+ name: string;
288
+
289
+ /**
290
+ * Event namespace. Makes sure module teardown does not effect other events attached to an element.
291
+ * @default 'transition'
292
+ */
293
+ namespace: string;
294
+
295
+ /**
296
+ * Silences all console output including error messages, regardless of other debug settings.
297
+ * @default false
298
+ */
299
+ silent: boolean;
300
+
301
+ /**
302
+ * Debug output to console
303
+ * @default false
304
+ */
305
+ debug: boolean;
306
+
307
+ /**
308
+ * Show console.table output with performance metrics
309
+ * @default true
310
+ */
311
+ performance: boolean;
312
+
313
+ /**
314
+ * Debug output includes all internal behaviors
315
+ * @default false
316
+ */
317
+ verbose: boolean;
318
+
319
+ errors: Transition.ErrorSettings;
320
+
321
+ // endregion
322
+ }
323
+
324
+ namespace Transition {
325
+ type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
326
+ type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
327
+
328
+ namespace Settings {
329
+ interface ClassNames {
330
+ /**
331
+ * @default 'animating'
332
+ */
333
+ animating: string;
334
+
335
+ /**
336
+ * @default 'disabled'
337
+ */
338
+ disabled: string;
339
+
340
+ /**
341
+ * @default 'hidden'
342
+ */
343
+ hidden: string;
344
+
345
+ /**
346
+ * @default 'in'
347
+ */
348
+ inward: string;
349
+
350
+ /**
351
+ * @default 'loading'
352
+ */
353
+ loading: string;
354
+
355
+ /**
356
+ * @default 'looping'
357
+ */
358
+ looping: string;
359
+
360
+ /**
361
+ * @default 'out'
362
+ */
363
+ outward: string;
364
+
365
+ /**
366
+ * @default 'transition'
367
+ */
368
+ transition: string;
369
+
370
+ /**
371
+ * @default 'visible'
372
+ */
373
+ visible: string;
374
+ }
375
+
376
+ interface Errors {
377
+ /**
378
+ * @default 'You called a rating action that was not defined'
379
+ */
380
+ noAnimation: string;
381
+
382
+ /**
383
+ * @default 'The method you called is not defined'
384
+ */
385
+ method: string;
386
+ }
387
+ }
388
+ }
389
+ }