@nebula.js/sn-tabbed-container 0.11.0 → 0.12.1
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.
- package/api-specification/spec.json +230 -38
- package/core/esm/index.js +6 -6
- package/dist/sn-tabbed-container.js +11 -11
- package/dist/sn-tabbed-container.systemjs.js +6 -6
- package/package.json +5 -4
- package/sn-tabbed-container-ext/dist/sn-tabbed-container.js +11 -11
- package/sn-tabbed-container-ext/sn-tabbed-container.qext +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-tabbed-container:properties",
|
|
5
5
|
"description": "Tabbed container generic object definition",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.12.1",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "experimental",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -102,10 +102,21 @@
|
|
|
102
102
|
"components": {
|
|
103
103
|
"description": "Styling components.",
|
|
104
104
|
"optional": true,
|
|
105
|
-
"kind": "
|
|
106
|
-
"items":
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
"kind": "union",
|
|
106
|
+
"items": [
|
|
107
|
+
{
|
|
108
|
+
"kind": "array",
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "#/definitions/GeneralStylingComponent"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"type": "#/definitions/TabsStylingComponent"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
]
|
|
109
120
|
},
|
|
110
121
|
"defaultTabId": {
|
|
111
122
|
"description": "Default tab childRefId to be selected when a new engine session starts.",
|
|
@@ -127,18 +138,21 @@
|
|
|
127
138
|
"value": "\"left\""
|
|
128
139
|
}
|
|
129
140
|
]
|
|
141
|
+
},
|
|
142
|
+
"fontsUsed": {
|
|
143
|
+
"description": "A list of font families used in the tabs.",
|
|
144
|
+
"optional": true,
|
|
145
|
+
"nullable": true,
|
|
146
|
+
"kind": "array",
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
130
150
|
}
|
|
131
151
|
}
|
|
132
152
|
}
|
|
133
153
|
},
|
|
134
154
|
"definitions": {
|
|
135
|
-
"
|
|
136
|
-
"kind": "alias",
|
|
137
|
-
"items": {
|
|
138
|
-
"type": "#/definitions/General"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"General": {
|
|
155
|
+
"GeneralStylingComponent": {
|
|
142
156
|
"kind": "object",
|
|
143
157
|
"entries": {
|
|
144
158
|
"key": {
|
|
@@ -152,7 +166,19 @@
|
|
|
152
166
|
"type": "#/definitions/BackgroundImageStyling"
|
|
153
167
|
},
|
|
154
168
|
"bgColor": {
|
|
155
|
-
"type": "#/definitions/
|
|
169
|
+
"type": "#/definitions/ColorStyling"
|
|
170
|
+
},
|
|
171
|
+
"borderColor": {
|
|
172
|
+
"type": "#/definitions/paletteColor"
|
|
173
|
+
},
|
|
174
|
+
"borderWidth": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
"borderRadius": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
},
|
|
180
|
+
"shadow": {
|
|
181
|
+
"type": "#/definitions/ShadowStyling"
|
|
156
182
|
}
|
|
157
183
|
}
|
|
158
184
|
},
|
|
@@ -190,17 +216,6 @@
|
|
|
190
216
|
}
|
|
191
217
|
}
|
|
192
218
|
},
|
|
193
|
-
"BackgroundColorStyling": {
|
|
194
|
-
"kind": "object",
|
|
195
|
-
"entries": {
|
|
196
|
-
"useColorExpression": {
|
|
197
|
-
"type": "boolean"
|
|
198
|
-
},
|
|
199
|
-
"colorExpression": {
|
|
200
|
-
"type": "EngineAPI.StringExpression"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
219
|
"FontStyling": {
|
|
205
220
|
"kind": "object",
|
|
206
221
|
"entries": {
|
|
@@ -221,25 +236,95 @@
|
|
|
221
236
|
}
|
|
222
237
|
}
|
|
223
238
|
},
|
|
224
|
-
"
|
|
225
|
-
"
|
|
239
|
+
"ShadowStyling": {
|
|
240
|
+
"kind": "object",
|
|
241
|
+
"entries": {
|
|
242
|
+
"boxShadowColor": {
|
|
243
|
+
"type": "#/definitions/paletteColor"
|
|
244
|
+
},
|
|
245
|
+
"boxShadow": {
|
|
246
|
+
"description": "This can have the same values as the box-shadow css property, for example it can be `\"10px 5px 5px black;\"` that described `\"<length> <length> <length> <color>\"` .",
|
|
247
|
+
"type": "#/definitions/paletteColor"
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"TabsStylingComponent": {
|
|
252
|
+
"kind": "object",
|
|
253
|
+
"entries": {
|
|
254
|
+
"key": {
|
|
255
|
+
"description": "This should be set to `\"tabs\"` (Determines which component the settings apply to).",
|
|
256
|
+
"type": "string"
|
|
257
|
+
},
|
|
258
|
+
"icon": {
|
|
259
|
+
"type": "#/definitions/TabsIconStyling"
|
|
260
|
+
},
|
|
261
|
+
"label": {
|
|
262
|
+
"type": "#/definitions/TabsLabelStyling"
|
|
263
|
+
},
|
|
264
|
+
"width": {
|
|
265
|
+
"type": "#/definitions/TabWidthStyling"
|
|
266
|
+
},
|
|
267
|
+
"indicator": {
|
|
268
|
+
"type": "#/definitions/TabsIndicatorStyling"
|
|
269
|
+
},
|
|
270
|
+
"background": {
|
|
271
|
+
"type": "#/definitions/TabsBackgroundStyling"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"TabsIconStyling": {
|
|
276
|
+
"kind": "object",
|
|
277
|
+
"entries": {
|
|
278
|
+
"position": {
|
|
279
|
+
"description": "This can be `\"start\"`, `\"end\"`, `\"top\"` or `\"bottom\"`.",
|
|
280
|
+
"type": "string"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"TabsLabelStyling": {
|
|
226
285
|
"kind": "object",
|
|
227
286
|
"entries": {
|
|
228
287
|
"color": {
|
|
229
|
-
"
|
|
288
|
+
"type": "#/definitions/paletteColor"
|
|
289
|
+
},
|
|
290
|
+
"fontFamily": {
|
|
230
291
|
"type": "string"
|
|
231
292
|
},
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
|
|
293
|
+
"fontSize": {
|
|
294
|
+
"type": "string"
|
|
295
|
+
},
|
|
296
|
+
"alignment": {
|
|
297
|
+
"description": "This can be `\"center\"`, `\"left\"` or `\"right\"`.",
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"show": {
|
|
301
|
+
"type": "boolean"
|
|
235
302
|
}
|
|
236
303
|
}
|
|
237
304
|
},
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
305
|
+
"TabsIndicatorStyling": {
|
|
306
|
+
"kind": "object",
|
|
307
|
+
"entries": {
|
|
308
|
+
"selected": {
|
|
309
|
+
"type": "#/definitions/ColorStyling"
|
|
310
|
+
},
|
|
311
|
+
"hover": {
|
|
312
|
+
"type": "#/definitions/ColorStyling"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"TabsBackgroundStyling": {
|
|
317
|
+
"kind": "object",
|
|
318
|
+
"entries": {
|
|
319
|
+
"selected": {
|
|
320
|
+
"type": "#/definitions/ColorStyling"
|
|
321
|
+
},
|
|
322
|
+
"unselected": {
|
|
323
|
+
"type": "#/definitions/ColorStyling"
|
|
324
|
+
},
|
|
325
|
+
"hover": {
|
|
326
|
+
"type": "#/definitions/ColorStyling"
|
|
327
|
+
}
|
|
243
328
|
}
|
|
244
329
|
},
|
|
245
330
|
"MediaLibraryRef": {
|
|
@@ -269,19 +354,126 @@
|
|
|
269
354
|
"kind": "object",
|
|
270
355
|
"entries": {
|
|
271
356
|
"childRefId": {
|
|
272
|
-
"description": "Internal reference id of container child",
|
|
357
|
+
"description": "Internal reference id of container child.",
|
|
273
358
|
"type": "string"
|
|
274
359
|
},
|
|
275
360
|
"label": {
|
|
276
|
-
"description": "Label of the child object, shows up in property panel and tab",
|
|
361
|
+
"description": "Label of the child object, shows up in property panel and tab.",
|
|
277
362
|
"type": "string"
|
|
278
363
|
},
|
|
279
364
|
"condition": {
|
|
280
|
-
"description": "Show condition",
|
|
365
|
+
"description": "Show Tab condition.",
|
|
281
366
|
"type": "ValueExpression"
|
|
367
|
+
},
|
|
368
|
+
"components": {
|
|
369
|
+
"description": "Tab Styling.",
|
|
370
|
+
"kind": "array",
|
|
371
|
+
"items": {
|
|
372
|
+
"type": "#/definitions/TabStylingComponent"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"TabStylingComponent": {
|
|
379
|
+
"kind": "object",
|
|
380
|
+
"entries": {
|
|
381
|
+
"key": {
|
|
382
|
+
"description": "This should be set to `\"tab\"` (Determines which component the settings apply to).",
|
|
383
|
+
"type": "string"
|
|
384
|
+
},
|
|
385
|
+
"icon": {
|
|
386
|
+
"type": "#/definitions/TabIconStyling"
|
|
387
|
+
},
|
|
388
|
+
"label": {
|
|
389
|
+
"type": "#/definitions/TabLabelStyling"
|
|
390
|
+
},
|
|
391
|
+
"width": {
|
|
392
|
+
"type": "#/definitions/TabWidthStyling"
|
|
393
|
+
},
|
|
394
|
+
"background": {
|
|
395
|
+
"type": "#/definitions/ColorStyling"
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"TabIconStyling": {
|
|
400
|
+
"kind": "object",
|
|
401
|
+
"entries": {
|
|
402
|
+
"show": {
|
|
403
|
+
"type": "boolean"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"TabLabelStyling": {
|
|
408
|
+
"kind": "object",
|
|
409
|
+
"entries": {
|
|
410
|
+
"color": {
|
|
411
|
+
"type": "#/definitions/paletteColor"
|
|
412
|
+
},
|
|
413
|
+
"fontFamily": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"fontSize": {
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
"show": {
|
|
420
|
+
"type": "boolean"
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"TabWidthStyling": {
|
|
425
|
+
"kind": "object",
|
|
426
|
+
"entries": {
|
|
427
|
+
"value": {
|
|
428
|
+
"description": "This has two values [<min>, <max>].",
|
|
429
|
+
"kind": "array",
|
|
430
|
+
"items": {
|
|
431
|
+
"type": "number"
|
|
282
432
|
}
|
|
433
|
+
},
|
|
434
|
+
"unit": {
|
|
435
|
+
"description": "This can be `\"px\"` or `\"%\"`.",
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"ColorStyling": {
|
|
441
|
+
"kind": "object",
|
|
442
|
+
"entries": {
|
|
443
|
+
"useColorExpression": {
|
|
444
|
+
"type": "boolean"
|
|
445
|
+
},
|
|
446
|
+
"color": {
|
|
447
|
+
"type": "#/definitions/paletteColor"
|
|
448
|
+
},
|
|
449
|
+
"colorExpression": {
|
|
450
|
+
"type": "EngineAPI.StringExpression"
|
|
283
451
|
}
|
|
284
452
|
}
|
|
453
|
+
},
|
|
454
|
+
"paletteColor": {
|
|
455
|
+
"description": "Color information structure. Holds the actual color, index and alpha in palette.",
|
|
456
|
+
"kind": "object",
|
|
457
|
+
"entries": {
|
|
458
|
+
"color": {
|
|
459
|
+
"description": "Color as hex string (mandatory if index: -1).",
|
|
460
|
+
"type": "string"
|
|
461
|
+
},
|
|
462
|
+
"index": {
|
|
463
|
+
"description": "Index in palette.",
|
|
464
|
+
"type": "number"
|
|
465
|
+
},
|
|
466
|
+
"alpha": {
|
|
467
|
+
"type": "number"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"FontStyle": {
|
|
472
|
+
"description": "This can be `\"italic\"`, `\"bold\"` or `\"underline\"`.",
|
|
473
|
+
"kind": "alias",
|
|
474
|
+
"items": {
|
|
475
|
+
"type": "string"
|
|
476
|
+
}
|
|
285
477
|
}
|
|
286
478
|
}
|
|
287
479
|
}
|