@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,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
+ }