@northdata/fomantic-ui 2.8.722 → 2.9.401

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 (157) hide show
  1. package/lib/semantic-ui/dist/components/accordion.css +62 -69
  2. package/lib/semantic-ui/dist/components/accordion.js +595 -618
  3. package/lib/semantic-ui/dist/components/accordion.min.css +4 -4
  4. package/lib/semantic-ui/dist/components/accordion.min.js +6 -6
  5. package/lib/semantic-ui/dist/components/api.js +1225 -1177
  6. package/lib/semantic-ui/dist/components/api.min.js +6 -6
  7. package/lib/semantic-ui/dist/components/button.css +291 -634
  8. package/lib/semantic-ui/dist/components/button.min.css +4 -4
  9. package/lib/semantic-ui/dist/components/calendar.css +149 -33
  10. package/lib/semantic-ui/dist/components/calendar.js +2045 -1774
  11. package/lib/semantic-ui/dist/components/calendar.min.css +4 -4
  12. package/lib/semantic-ui/dist/components/calendar.min.js +6 -6
  13. package/lib/semantic-ui/dist/components/card.css +147 -537
  14. package/lib/semantic-ui/dist/components/card.min.css +4 -4
  15. package/lib/semantic-ui/dist/components/checkbox.css +215 -405
  16. package/lib/semantic-ui/dist/components/checkbox.js +888 -876
  17. package/lib/semantic-ui/dist/components/checkbox.min.css +4 -4
  18. package/lib/semantic-ui/dist/components/checkbox.min.js +6 -6
  19. package/lib/semantic-ui/dist/components/container.css +20 -21
  20. package/lib/semantic-ui/dist/components/container.min.css +4 -4
  21. package/lib/semantic-ui/dist/components/dimmer.css +76 -184
  22. package/lib/semantic-ui/dist/components/dimmer.js +732 -753
  23. package/lib/semantic-ui/dist/components/dimmer.min.css +4 -4
  24. package/lib/semantic-ui/dist/components/dimmer.min.js +6 -6
  25. package/lib/semantic-ui/dist/components/divider.css +81 -88
  26. package/lib/semantic-ui/dist/components/divider.min.css +4 -4
  27. package/lib/semantic-ui/dist/components/dropdown.css +431 -450
  28. package/lib/semantic-ui/dist/components/dropdown.js +4432 -4238
  29. package/lib/semantic-ui/dist/components/dropdown.min.css +4 -4
  30. package/lib/semantic-ui/dist/components/dropdown.min.js +6 -6
  31. package/lib/semantic-ui/dist/components/feed.css +130 -87
  32. package/lib/semantic-ui/dist/components/feed.min.css +4 -4
  33. package/lib/semantic-ui/dist/components/flag.css +541 -511
  34. package/lib/semantic-ui/dist/components/flag.min.css +4 -4
  35. package/lib/semantic-ui/dist/components/form.css +437 -476
  36. package/lib/semantic-ui/dist/components/form.js +2199 -2033
  37. package/lib/semantic-ui/dist/components/form.min.css +4 -4
  38. package/lib/semantic-ui/dist/components/form.min.js +6 -6
  39. package/lib/semantic-ui/dist/components/grid.css +151 -306
  40. package/lib/semantic-ui/dist/components/grid.min.css +4 -4
  41. package/lib/semantic-ui/dist/components/header.css +82 -99
  42. package/lib/semantic-ui/dist/components/header.min.css +4 -4
  43. package/lib/semantic-ui/dist/components/icon.css +2744 -2706
  44. package/lib/semantic-ui/dist/components/icon.min.css +4 -4
  45. package/lib/semantic-ui/dist/components/image.css +38 -73
  46. package/lib/semantic-ui/dist/components/image.min.css +4 -4
  47. package/lib/semantic-ui/dist/components/input.css +344 -254
  48. package/lib/semantic-ui/dist/components/input.min.css +4 -4
  49. package/lib/semantic-ui/dist/components/item.css +91 -139
  50. package/lib/semantic-ui/dist/components/item.min.css +4 -4
  51. package/lib/semantic-ui/dist/components/label.css +244 -267
  52. package/lib/semantic-ui/dist/components/label.min.css +4 -4
  53. package/lib/semantic-ui/dist/components/list.css +75 -113
  54. package/lib/semantic-ui/dist/components/list.min.css +4 -4
  55. package/lib/semantic-ui/dist/components/loader.css +142 -601
  56. package/lib/semantic-ui/dist/components/loader.min.css +4 -4
  57. package/lib/semantic-ui/dist/components/menu.css +398 -638
  58. package/lib/semantic-ui/dist/components/menu.min.css +9 -1
  59. package/lib/semantic-ui/dist/components/message.css +116 -332
  60. package/lib/semantic-ui/dist/components/message.min.css +4 -4
  61. package/lib/semantic-ui/dist/components/modal.css +149 -138
  62. package/lib/semantic-ui/dist/components/modal.js +1637 -1209
  63. package/lib/semantic-ui/dist/components/modal.min.css +4 -4
  64. package/lib/semantic-ui/dist/components/modal.min.js +6 -6
  65. package/lib/semantic-ui/dist/components/popup.css +284 -277
  66. package/lib/semantic-ui/dist/components/popup.js +1561 -1541
  67. package/lib/semantic-ui/dist/components/popup.min.css +4 -4
  68. package/lib/semantic-ui/dist/components/popup.min.js +6 -6
  69. package/lib/semantic-ui/dist/components/reset.css +12 -17
  70. package/lib/semantic-ui/dist/components/reset.min.css +4 -4
  71. package/lib/semantic-ui/dist/components/search.css +99 -137
  72. package/lib/semantic-ui/dist/components/search.js +1641 -1565
  73. package/lib/semantic-ui/dist/components/search.min.css +4 -4
  74. package/lib/semantic-ui/dist/components/search.min.js +6 -6
  75. package/lib/semantic-ui/dist/components/segment.css +149 -275
  76. package/lib/semantic-ui/dist/components/segment.min.css +4 -4
  77. package/lib/semantic-ui/dist/components/site.css +40 -48
  78. package/lib/semantic-ui/dist/components/site.js +455 -493
  79. package/lib/semantic-ui/dist/components/site.min.css +4 -4
  80. package/lib/semantic-ui/dist/components/site.min.js +6 -6
  81. package/lib/semantic-ui/dist/components/tab.css +16 -20
  82. package/lib/semantic-ui/dist/components/tab.js +967 -1001
  83. package/lib/semantic-ui/dist/components/tab.min.css +4 -4
  84. package/lib/semantic-ui/dist/components/tab.min.js +6 -6
  85. package/lib/semantic-ui/dist/components/table.css +465 -424
  86. package/lib/semantic-ui/dist/components/table.min.css +4 -4
  87. package/lib/semantic-ui/dist/components/transition.css +264 -1282
  88. package/lib/semantic-ui/dist/components/transition.js +1034 -1109
  89. package/lib/semantic-ui/dist/components/transition.min.css +4 -4
  90. package/lib/semantic-ui/dist/components/transition.min.js +6 -6
  91. package/lib/semantic-ui/dist/semantic-packed.css +5610 -6590
  92. package/lib/semantic-ui/dist/semantic.css +8547 -11697
  93. package/lib/semantic-ui/dist/semantic.full.css +14698 -11227
  94. package/lib/semantic-ui/dist/semantic.full.min.css +6 -262
  95. package/lib/semantic-ui/dist/semantic.js +19428 -19253
  96. package/lib/semantic-ui/dist/semantic.min.css +128 -128
  97. package/lib/semantic-ui/dist/semantic.min.js +6 -6
  98. package/lib/semantic-ui/dist/themes/basic/assets/fonts/LICENSE.txt +91 -0
  99. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  100. package/lib/semantic-ui/dist/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
  101. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  102. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  103. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.woff +0 -0
  104. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  105. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  106. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  107. package/lib/semantic-ui/types/fomantic-ui-accordion.d.ts +244 -0
  108. package/lib/semantic-ui/types/fomantic-ui-api.d.ts +561 -0
  109. package/lib/semantic-ui/types/fomantic-ui-calendar.d.ts +867 -0
  110. package/lib/semantic-ui/types/fomantic-ui-checkbox.d.ts +342 -0
  111. package/lib/semantic-ui/types/fomantic-ui-dimmer.d.ts +408 -0
  112. package/lib/semantic-ui/types/fomantic-ui-dropdown.d.ts +1221 -0
  113. package/lib/semantic-ui/types/fomantic-ui-embed.d.ts +343 -0
  114. package/lib/semantic-ui/types/fomantic-ui-flyout.d.ts +539 -0
  115. package/lib/semantic-ui/types/fomantic-ui-form.d.ts +759 -0
  116. package/lib/semantic-ui/types/fomantic-ui-modal.d.ts +567 -0
  117. package/lib/semantic-ui/types/fomantic-ui-nag.d.ts +270 -0
  118. package/lib/semantic-ui/types/fomantic-ui-popup.d.ts +549 -0
  119. package/lib/semantic-ui/types/fomantic-ui-progress.d.ts +465 -0
  120. package/lib/semantic-ui/types/fomantic-ui-rating.d.ts +187 -0
  121. package/lib/semantic-ui/types/fomantic-ui-search.d.ts +612 -0
  122. package/lib/semantic-ui/types/fomantic-ui-shape.d.ts +274 -0
  123. package/lib/semantic-ui/types/fomantic-ui-sidebar.d.ts +402 -0
  124. package/lib/semantic-ui/types/fomantic-ui-slider.d.ts +368 -0
  125. package/lib/semantic-ui/types/fomantic-ui-sticky.d.ts +215 -0
  126. package/lib/semantic-ui/types/fomantic-ui-tab.d.ts +361 -0
  127. package/lib/semantic-ui/types/fomantic-ui-toast.d.ts +526 -0
  128. package/lib/semantic-ui/types/fomantic-ui-transition.d.ts +389 -0
  129. package/lib/semantic-ui/types/fomantic-ui-visibility.d.ts +355 -0
  130. package/lib/semantic-ui/types/index.d.ts +63 -0
  131. package/package.json +19 -8
  132. package/lib/semantic-ui/dist/components/shape.css +0 -160
  133. package/lib/semantic-ui/dist/components/shape.js +0 -848
  134. package/lib/semantic-ui/dist/components/shape.min.css +0 -9
  135. package/lib/semantic-ui/dist/components/shape.min.js +0 -11
  136. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.eot +0 -0
  137. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.svg +0 -450
  138. package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.ttf +0 -0
  139. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  140. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.svg +0 -3570
  141. package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  142. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.eot +0 -0
  143. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.svg +0 -4938
  144. package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.ttf +0 -0
  145. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  146. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.svg +0 -803
  147. package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  148. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons-local.ttf +0 -0
  149. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.svg +0 -200
  150. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.ttf +0 -0
  151. package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.woff +0 -0
  152. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.eot +0 -0
  153. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.svg +0 -2373
  154. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.ttf +0 -0
  155. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.woff +0 -0
  156. package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.woff2 +0 -0
  157. /package/lib/semantic-ui/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
@@ -0,0 +1,343 @@
1
+ declare namespace FomanticUI {
2
+ interface Embed {
3
+ settings: EmbedSettings;
4
+
5
+ /**
6
+ * Changes iframe to a new content source.
7
+ */
8
+ (behavior: 'change', source: string, id: string, url: string): JQuery;
9
+
10
+ /**
11
+ * Removes embed and shows placeholder content if available.
12
+ */
13
+ (behavior: 'reset'): JQuery;
14
+
15
+ /**
16
+ * Shows embed content.
17
+ */
18
+ (behavior: 'show'): JQuery;
19
+
20
+ /**
21
+ * Hides embed content and shows placeholder content.
22
+ */
23
+ (behavior: 'hide'): JQuery;
24
+
25
+ /**
26
+ * Returns current content id.
27
+ */
28
+ (behavior: 'get id'): string;
29
+
30
+ /**
31
+ * Returns placeholder image url.
32
+ */
33
+ (behavior: 'get placeholder'): string;
34
+
35
+ /**
36
+ * Returns source name.
37
+ */
38
+ (behavior: 'get sources'): string;
39
+
40
+ /**
41
+ * Returns source type.
42
+ */
43
+ (behavior: 'get sources'): string;
44
+
45
+ /**
46
+ * Returns URL with all parameters added.
47
+ */
48
+ (behavior: 'get url'): string;
49
+
50
+ /**
51
+ * Returns whether embed content has placeholder.
52
+ */
53
+ (behavior: 'has placeholder'): boolean;
54
+
55
+ /**
56
+ * Destroys instance and removes all events.
57
+ */
58
+ (behavior: 'destroy'): JQuery;
59
+
60
+ <K extends keyof EmbedSettings>(behavior: 'setting', name: K, value?: undefined,): Partial<Pick<EmbedSettings, keyof EmbedSettings>>;
61
+ <K extends keyof EmbedSettings>(behavior: 'setting', name: K, value: EmbedSettings[K]): JQuery;
62
+ (behavior: 'setting', value: Partial<Pick<EmbedSettings, keyof EmbedSettings>>): JQuery;
63
+ (settings?: Partial<Pick<EmbedSettings, keyof EmbedSettings>>): JQuery;
64
+ }
65
+
66
+ /**
67
+ * @see {@link https://fomantic-ui.com/modules/embed.html#/settings}
68
+ */
69
+ interface EmbedSettings {
70
+ // region Embed Settings
71
+
72
+ /**
73
+ * Specifies an icon to use with placeholder content.
74
+ * @default false
75
+ */
76
+ icon: false | string;
77
+
78
+ /**
79
+ * Specifies a source to use, if no source is provided it will be determined from the domain of a specified url.
80
+ * @default false
81
+ */
82
+ source: false | string;
83
+
84
+ /**
85
+ * Specifies a url to use for embed.
86
+ * @default false
87
+ */
88
+ url: false | string;
89
+
90
+ /**
91
+ * Specifies an id value to replace with the '{id}' value found in templated urls.
92
+ * @default false
93
+ */
94
+ id: false | string;
95
+
96
+ /**
97
+ * Specifies a path for a placeholder image.
98
+ * @default false
99
+ */
100
+ placeholder: false | string;
101
+
102
+ /**
103
+ * Specifies an alt text for a given placeholder image.
104
+ * @default false
105
+ */
106
+ alt: false | string;
107
+
108
+ /**
109
+ * Specify an object containing key/value pairs to add to the iframes GET parameters.
110
+ * @default false
111
+ */
112
+ parameters: false | object;
113
+
114
+ // endregion
115
+
116
+ // region Video Settings
117
+
118
+ /**
119
+ * Default setting 'auto' will only autoplay content when a placeholder is specified.
120
+ * Setting to 'true' or 'false' will force autoplay.
121
+ * @default 'auto'
122
+ */
123
+ autoplay: 'auto' | boolean;
124
+
125
+ /**
126
+ * Default setting 'auto' will only autoplay content when a placeholder is specified.
127
+ * Setting to 'true' or 'false' will force autoplay.
128
+ * @default '#444'
129
+ */
130
+ color: string;
131
+
132
+ /**
133
+ * Whether to prefer HD content.
134
+ * @default true
135
+ */
136
+ hd: boolean;
137
+
138
+ /**
139
+ * Whether to show networks branded UI like title cards, or after video calls to action.
140
+ * @default false
141
+ */
142
+ brandedUI: boolean;
143
+
144
+ // endregion
145
+
146
+ // region Callbacks
147
+
148
+ /**
149
+ * Callback when iframe is generated.
150
+ */
151
+ onCreate(this: JQuery, url: string): void;
152
+
153
+ /**
154
+ * Whenever an iframe contents is shown.
155
+ */
156
+ onDisplay(this: JQuery): void;
157
+
158
+ /**
159
+ * Whenever the module is cleared.
160
+ */
161
+ onReset(this: JQuery): void;
162
+
163
+ /**
164
+ * Callback immediately before Embed is removed from DOM.
165
+ */
166
+ onPlaceholderDisplay(this: JQuery): void;
167
+
168
+ /**
169
+ * Callback when module parameters are determined.
170
+ * Allows you to adjust parameters at run time by returning a new parameters object.
171
+ */
172
+ onEmbed(this: JQuery, parameters: object): void;
173
+
174
+ // endregion
175
+
176
+ // region DOM Settings
177
+
178
+ /**
179
+ * DOM Selectors used internally.
180
+ * Selectors used to find parts of a module.
181
+ */
182
+ selector: Embed.SelectorSettings;
183
+
184
+ /**
185
+ * HTML Data attributes used to store data.
186
+ */
187
+ metadata: Embed.MetadataSettings;
188
+
189
+ /**
190
+ * Class names used to determine element state.
191
+ */
192
+ className: Embed.ClassNameSettings;
193
+
194
+ /**
195
+ *
196
+ */
197
+ templates: Embed.TemplateSettings;
198
+
199
+ // endregion
200
+
201
+ // region Debug Settings
202
+
203
+ /**
204
+ * Name used in log statements
205
+ * @default 'Embed''
206
+ */
207
+ name: string;
208
+
209
+ /**
210
+ * Event namespace. Makes sure module teardown does not effect other events attached to an element.
211
+ * @default 'embed''
212
+ */
213
+ namespace: string;
214
+
215
+ /**
216
+ * Silences all console output including error messages, regardless of other debug settings.
217
+ * @default false
218
+ */
219
+ silent: boolean;
220
+
221
+ /**
222
+ * Debug output to console
223
+ * @default false
224
+ */
225
+ debug: boolean;
226
+
227
+ /**
228
+ * Show console.table output with performance metrics
229
+ * @default true
230
+ */
231
+ performance: boolean;
232
+
233
+ /**
234
+ * Debug output includes all internal behaviors
235
+ * @default false
236
+ */
237
+ verbose: boolean;
238
+
239
+ error: Embed.ErrorSettings;
240
+
241
+ // endregion
242
+ }
243
+
244
+ namespace Embed {
245
+ type SelectorSettings = Partial<Pick<Settings.Selectors, keyof Settings.Selectors>>;
246
+ type MetadataSettings = Partial<Pick<Settings.Metadatas, keyof Settings.Metadatas>>;
247
+ type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
248
+ type TemplateSettings = Partial<Pick<Settings.Templates, keyof Settings.Templates>>;
249
+ type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
250
+
251
+ namespace Settings {
252
+ interface Selectors {
253
+ /**
254
+ * @default '.embed'
255
+ */
256
+ embed: string;
257
+
258
+ /**
259
+ * @default '.placeholder'
260
+ */
261
+ placeholder: string;
262
+
263
+ /**
264
+ * @default '.icon'
265
+ */
266
+ icon: string;
267
+ }
268
+
269
+ interface Metadatas {
270
+ /**
271
+ * @default 'id'
272
+ */
273
+ id: string;
274
+
275
+ /**
276
+ * @default 'icon'
277
+ */
278
+ icon: string;
279
+
280
+ /**
281
+ * @default 'placeholder'
282
+ */
283
+ placeholder: string;
284
+
285
+ /**
286
+ * @default 'alt'
287
+ */
288
+ alt: string;
289
+
290
+ /**
291
+ * @default 'source'
292
+ */
293
+ source: string;
294
+
295
+ /**
296
+ * @default 'url'
297
+ */
298
+ url: string;
299
+ }
300
+
301
+ interface ClassNames {
302
+ /**
303
+ * @default 'active'
304
+ */
305
+ active: string;
306
+
307
+ /**
308
+ * @default 'embed'
309
+ */
310
+ embed: string;
311
+ }
312
+
313
+ interface Templates {
314
+ /**
315
+ * @default function
316
+ */
317
+ deQuote(string: string, encode: boolean): string;
318
+
319
+ /**
320
+ * @default function
321
+ */
322
+ iframe(url: string, parameters: any): string;
323
+
324
+ /**
325
+ * @default function
326
+ */
327
+ placeholder(image: string, icon: string, alt: string | false | undefined): string;
328
+ }
329
+
330
+ interface Errors {
331
+ /**
332
+ * @default 'No URL specified'
333
+ */
334
+ noURL: string;
335
+
336
+ /**
337
+ * @default 'The method you called is not defined'
338
+ */
339
+ method: string;
340
+ }
341
+ }
342
+ }
343
+ }