@sme.up/ketchup 4.0.0 → 4.1.0

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 (186) hide show
  1. package/dist/cjs/{cell-utils-1f89a299.js → cell-utils-841a7769.js} +2 -2
  2. package/dist/cjs/{f-chip-2d58c8f7.js → f-chip-b9f489ff.js} +7 -5
  3. package/dist/cjs/{f-image-5f4f29ca.js → f-image-0c3e6aa7.js} +3 -4
  4. package/dist/cjs/{index-3c471303.js → index-0416afab.js} +73 -64
  5. package/dist/cjs/ketchup.cjs.js +3 -3
  6. package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
  7. package/dist/cjs/kup-autocomplete_29.cjs.entry.js +1014 -1103
  8. package/dist/cjs/kup-calendar.cjs.entry.js +8 -8
  9. package/dist/cjs/kup-dash-list.cjs.entry.js +6 -6
  10. package/dist/cjs/kup-dash_2.cjs.entry.js +106 -62
  11. package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
  12. package/dist/cjs/kup-field.cjs.entry.js +3 -3
  13. package/dist/cjs/kup-iframe.cjs.entry.js +4 -4
  14. package/dist/cjs/kup-lazy.cjs.entry.js +4 -4
  15. package/dist/cjs/kup-magic-box.cjs.entry.js +21 -30
  16. package/dist/cjs/{kup-manager-59ad8bdc.js → kup-manager-828bd598.js} +599 -519
  17. package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -4
  18. package/dist/cjs/{kup-objects-59ea949c.js → kup-objects-89f38d6a.js} +7 -29
  19. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  20. package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
  21. package/dist/cjs/loader.cjs.js +3 -3
  22. package/dist/cjs/{utils-2af73538.js → utils-5192ee20.js} +1 -1
  23. package/dist/collection/assets/data-table.js +1 -0
  24. package/dist/collection/collection-manifest.json +2 -3
  25. package/dist/collection/components/kup-accordion/kup-accordion.js +14 -14
  26. package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +9 -0
  27. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +20 -23
  28. package/dist/collection/components/kup-badge/kup-badge.js +12 -12
  29. package/dist/collection/components/kup-box/kup-box.css +30 -30
  30. package/dist/collection/components/kup-box/kup-box.js +181 -171
  31. package/dist/collection/components/kup-button/kup-button.css +8 -5
  32. package/dist/collection/components/kup-button/kup-button.js +26 -26
  33. package/dist/collection/components/kup-button-list/kup-button-list.css +8 -5
  34. package/dist/collection/components/kup-button-list/kup-button-list.js +18 -18
  35. package/dist/collection/components/kup-calendar/kup-calendar.css +8 -6
  36. package/dist/collection/components/kup-calendar/kup-calendar.js +30 -30
  37. package/dist/collection/components/kup-card/kup-card-helper.js +2 -1
  38. package/dist/collection/components/kup-card/kup-card.css +20 -1
  39. package/dist/collection/components/kup-card/kup-card.js +26 -26
  40. package/dist/collection/components/kup-chart/kup-chart.js +40 -40
  41. package/dist/collection/components/kup-checkbox/kup-checkbox.js +18 -18
  42. package/dist/collection/components/kup-chip/kup-chip.css +0 -1
  43. package/dist/collection/components/kup-chip/kup-chip.js +14 -14
  44. package/dist/collection/components/kup-color-picker/kup-color-picker.css +6 -9
  45. package/dist/collection/components/kup-color-picker/kup-color-picker.js +32 -40
  46. package/dist/collection/components/kup-combobox/kup-combobox.css +9 -0
  47. package/dist/collection/components/kup-combobox/kup-combobox.js +20 -23
  48. package/dist/collection/components/kup-dash-list/kup-dash-list.js +2 -2
  49. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
  50. package/dist/collection/components/kup-data-table/kup-data-table-helper.js +25 -46
  51. package/dist/collection/components/kup-data-table/kup-data-table.css +83 -87
  52. package/dist/collection/components/kup-data-table/kup-data-table.js +364 -531
  53. package/dist/collection/components/kup-date-picker/kup-date-picker.css +2373 -5
  54. package/dist/collection/components/kup-date-picker/kup-date-picker.js +72 -104
  55. package/dist/collection/components/kup-drawer/kup-drawer.js +8 -8
  56. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +13 -5
  57. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +38 -43
  58. package/dist/collection/components/kup-field/kup-field.js +20 -20
  59. package/dist/collection/components/kup-gauge/kup-gauge.js +16 -16
  60. package/dist/collection/components/kup-grid/kup-grid.css +2 -1
  61. package/dist/collection/components/kup-grid/kup-grid.js +12 -12
  62. package/dist/collection/components/kup-iframe/kup-iframe.js +4 -4
  63. package/dist/collection/components/kup-image/kup-image.js +24 -24
  64. package/dist/collection/components/kup-lazy/kup-lazy.js +16 -16
  65. package/dist/collection/components/kup-list/kup-list-declarations.js +1 -1
  66. package/dist/collection/components/kup-list/kup-list.css +4 -0
  67. package/dist/collection/components/kup-list/kup-list.js +38 -47
  68. package/dist/collection/components/kup-magic-box/kup-magic-box.css +11 -6
  69. package/dist/collection/components/kup-magic-box/kup-magic-box.js +27 -36
  70. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +10 -10
  71. package/dist/collection/components/kup-paginator/kup-paginator.css +8 -5
  72. package/dist/collection/components/kup-probe/kup-probe.js +8 -8
  73. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +20 -20
  74. package/dist/collection/components/kup-radio/kup-radio.js +16 -16
  75. package/dist/collection/components/kup-rating/kup-rating.js +14 -14
  76. package/dist/collection/components/kup-spinner/kup-spinner.js +22 -22
  77. package/dist/collection/components/kup-switch/kup-switch.js +16 -16
  78. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +12 -12
  79. package/dist/collection/components/kup-text-field/kup-text-field.js +48 -48
  80. package/dist/collection/components/kup-time-picker/kup-time-picker.css +2376 -0
  81. package/dist/collection/components/kup-time-picker/kup-time-picker.js +50 -83
  82. package/dist/collection/components/kup-tooltip/kup-tooltip.js +18 -12
  83. package/dist/collection/components/kup-tree/kup-tree.css +10 -10
  84. package/dist/collection/components/kup-tree/kup-tree.js +96 -66
  85. package/dist/collection/f-components/f-button/f-button.js +4 -2
  86. package/dist/collection/f-components/f-image/f-image.js +1 -2
  87. package/dist/collection/f-components/f-text-field/f-text-field.js +8 -6
  88. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +11 -3
  89. package/dist/collection/utils/kup-debug/kup-debug.js +25 -27
  90. package/dist/collection/utils/kup-dynamic-position/kup-dynamic-position.js +3 -5
  91. package/dist/collection/utils/kup-interact/kup-interact-declarations.js +48 -0
  92. package/dist/collection/utils/kup-interact/kup-interact.js +362 -0
  93. package/dist/collection/utils/kup-manager/kup-manager.js +18 -6
  94. package/dist/collection/utils/kup-objects/kup-objects.js +7 -29
  95. package/dist/collection/utils/kup-scroll-on-hover/kup-scroll-on-hover.js +60 -62
  96. package/dist/collection/utils/kup-toolbar/kup-toolbar.js +16 -18
  97. package/dist/esm/{cell-utils-cb612463.js → cell-utils-de384721.js} +2 -2
  98. package/dist/esm/{f-chip-125d5dd6.js → f-chip-d585b63e.js} +7 -5
  99. package/dist/esm/{f-image-68b34fab.js → f-image-23548d00.js} +3 -4
  100. package/dist/esm/{index-bf2824a6.js → index-51694018.js} +73 -64
  101. package/dist/esm/ketchup.js +3 -3
  102. package/dist/esm/kup-accordion.entry.js +5 -5
  103. package/dist/esm/kup-autocomplete_29.entry.js +818 -907
  104. package/dist/esm/kup-calendar.entry.js +8 -8
  105. package/dist/esm/kup-dash-list.entry.js +6 -6
  106. package/dist/esm/kup-dash_2.entry.js +106 -62
  107. package/dist/esm/kup-drawer.entry.js +4 -4
  108. package/dist/esm/kup-field.entry.js +3 -3
  109. package/dist/esm/kup-iframe.entry.js +4 -4
  110. package/dist/esm/kup-lazy.entry.js +4 -4
  111. package/dist/esm/kup-magic-box.entry.js +21 -30
  112. package/dist/esm/{kup-manager-e7d7b353.js → kup-manager-583f2815.js} +595 -520
  113. package/dist/esm/kup-nav-bar.entry.js +4 -4
  114. package/dist/esm/{kup-objects-d38d2fa2.js → kup-objects-5968aefd.js} +7 -29
  115. package/dist/esm/kup-probe.entry.js +3 -3
  116. package/dist/esm/kup-qlik.entry.js +3 -3
  117. package/dist/esm/loader.js +3 -3
  118. package/dist/esm/{utils-13dd007a.js → utils-a1dd14c3.js} +1 -1
  119. package/dist/ketchup/ketchup.esm.js +1 -1
  120. package/dist/ketchup/{p-64ea7e37.entry.js → p-0e91c9c9.entry.js} +1 -1
  121. package/dist/ketchup/{p-0320e24e.entry.js → p-0f2b6a24.entry.js} +1 -1
  122. package/dist/ketchup/{p-a5424073.js → p-361d9431.js} +1 -1
  123. package/dist/ketchup/p-565785ce.js +1 -0
  124. package/dist/ketchup/{p-7896031c.entry.js → p-57eb45ac.entry.js} +1 -1
  125. package/dist/ketchup/{p-08c7a092.js → p-6f5d8830.js} +1 -1
  126. package/dist/ketchup/{p-9c858a38.entry.js → p-802d8906.entry.js} +1 -1
  127. package/dist/ketchup/p-850b9e67.entry.js +1 -0
  128. package/dist/ketchup/{p-a12a5690.entry.js → p-88a5787a.entry.js} +1 -1
  129. package/dist/ketchup/p-8ed2b7bf.entry.js +1 -0
  130. package/dist/ketchup/{p-ee89966f.entry.js → p-90a0c2b7.entry.js} +2 -2
  131. package/dist/ketchup/{p-876da4c2.entry.js → p-94c0dd8c.entry.js} +1 -1
  132. package/dist/ketchup/p-9ec3c377.entry.js +45 -0
  133. package/dist/ketchup/p-b30f34d8.js +1 -0
  134. package/dist/ketchup/p-b6a47512.entry.js +1 -0
  135. package/dist/ketchup/p-bfaf8a82.js +1 -0
  136. package/dist/ketchup/{p-940ab57a.entry.js → p-ca0ebdcc.entry.js} +1 -1
  137. package/dist/ketchup/p-d5a3a4ed.js +1 -0
  138. package/dist/ketchup/{p-c7ee1fbc.js → p-ee7b190c.js} +1 -1
  139. package/dist/ketchup/{p-b0724035.entry.js → p-f6b54fa1.entry.js} +1 -1
  140. package/dist/types/components/kup-box/kup-box-declarations.d.ts +11 -2
  141. package/dist/types/components/kup-box/kup-box.d.ts +8 -4
  142. package/dist/types/components/kup-color-picker/kup-color-picker.d.ts +0 -1
  143. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +12 -4
  144. package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +0 -2
  145. package/dist/types/components/kup-data-table/kup-data-table.d.ts +16 -49
  146. package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +11 -14
  147. package/dist/types/components/kup-dropdown-button/kup-dropdown-button.d.ts +0 -4
  148. package/dist/types/components/kup-list/kup-list-declarations.d.ts +1 -1
  149. package/dist/types/components/kup-list/kup-list.d.ts +2 -3
  150. package/dist/types/components/kup-magic-box/kup-magic-box.d.ts +1 -0
  151. package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +7 -11
  152. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +4 -4
  153. package/dist/types/components/kup-tree/kup-tree.d.ts +3 -0
  154. package/dist/types/components.d.ts +84 -121
  155. package/dist/types/utils/kup-dynamic-position/kup-dynamic-position.d.ts +2 -2
  156. package/dist/types/utils/kup-interact/kup-interact-declarations.d.ts +127 -0
  157. package/dist/types/utils/kup-interact/kup-interact.d.ts +93 -0
  158. package/dist/types/utils/kup-manager/kup-manager-declarations.d.ts +21 -4
  159. package/dist/types/utils/kup-manager/kup-manager.d.ts +2 -2
  160. package/dist/types/utils/kup-objects/kup-objects.d.ts +1 -7
  161. package/package.json +3 -3
  162. package/dist/cjs/drag-and-drop-4787ff6f.js +0 -281
  163. package/dist/cjs/kup-grid.cjs.entry.js +0 -130
  164. package/dist/collection/assets/images/drag-multiple.js +0 -1
  165. package/dist/collection/components/kup-layout/kup-layout.css +0 -53
  166. package/dist/collection/components/kup-layout/kup-layout.js +0 -156
  167. package/dist/collection/utils/drag-and-drop.js +0 -109
  168. package/dist/collection/utils/kup-dialog/kup-dialog-declarations.js +0 -36
  169. package/dist/collection/utils/kup-dialog/kup-dialog.js +0 -310
  170. package/dist/esm/drag-and-drop-321cb4ca.js +0 -265
  171. package/dist/esm/kup-grid.entry.js +0 -126
  172. package/dist/ketchup/p-00fe1e3e.js +0 -1
  173. package/dist/ketchup/p-1165f4ea.entry.js +0 -1
  174. package/dist/ketchup/p-170d3cba.js +0 -1
  175. package/dist/ketchup/p-18cb3ba3.js +0 -1
  176. package/dist/ketchup/p-23541a97.entry.js +0 -45
  177. package/dist/ketchup/p-8fb9d9b2.entry.js +0 -1
  178. package/dist/ketchup/p-b14e77f0.js +0 -1
  179. package/dist/ketchup/p-d24cfdea.entry.js +0 -1
  180. package/dist/ketchup/p-fcd2fd8f.js +0 -1
  181. package/dist/ketchup/p-fce3b9d8.entry.js +0 -1
  182. package/dist/types/assets/images/drag-multiple.d.ts +0 -1
  183. package/dist/types/components/kup-layout/kup-layout.d.ts +0 -25
  184. package/dist/types/utils/drag-and-drop.d.ts +0 -53
  185. package/dist/types/utils/kup-dialog/kup-dialog-declarations.d.ts +0 -43
  186. package/dist/types/utils/kup-dialog/kup-dialog.d.ts +0 -50
@@ -2,7 +2,6 @@ import { Component, Element, Event, forceUpdate, h, Host, Listen, Method, Prop,
2
2
  import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
3
3
  import { ItemsDisplayMode } from '../kup-list/kup-list-declarations';
4
4
  import { consistencyCheck } from '../kup-list/kup-list-helper';
5
- import { kupDynamicPositionAttribute, } from '../../utils/kup-dynamic-position/kup-dynamic-position-declarations';
6
5
  import { KupDropdownButtonProps, } from './kup-dropdown-button-declarations';
7
6
  import { FButtonStyling, } from '../../f-components/f-button/f-button-declarations';
8
7
  import { FButton } from '../../f-components/f-button/f-button';
@@ -92,10 +91,6 @@ export class KupDropdownButton {
92
91
  * List element (dropdown menu).
93
92
  */
94
93
  this.listEl = null;
95
- /**
96
- * List anchor point.
97
- */
98
- this.wrapperEl = null;
99
94
  }
100
95
  /**
101
96
  * Handles the navigation of the dropdown menu with the keyboard.
@@ -249,10 +244,16 @@ export class KupDropdownButton {
249
244
  (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.classList.add('toggled');
250
245
  this.dropdownEl.classList.add('toggled');
251
246
  this.listEl.menuVisible = true;
252
- this.kupManager.dynamicPosition.start(this.listEl);
253
247
  let elStyle = this.listEl.style;
254
248
  elStyle.height = 'auto';
255
249
  elStyle.minWidth = buttonWidth + 'px';
250
+ this.kupManager.utilities.pointerDownCallbacks.add({
251
+ cb: () => {
252
+ this.closeList();
253
+ },
254
+ onlyOnce: true,
255
+ el: this.listEl,
256
+ });
256
257
  }
257
258
  /**
258
259
  * Closes the dropdown menu.
@@ -262,7 +263,6 @@ export class KupDropdownButton {
262
263
  (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.classList.remove('toggled');
263
264
  this.dropdownEl.classList.remove('toggled');
264
265
  this.listEl.menuVisible = false;
265
- this.kupManager.dynamicPosition.stop(this.listEl);
266
266
  }
267
267
  /**
268
268
  * Checks the consistency of the list.
@@ -297,7 +297,6 @@ export class KupDropdownButton {
297
297
  this.buttonEl = root.querySelector('.dropdown-button__primary-action');
298
298
  this.dropdownEl = root.querySelector('.dropdown-button__dropdown-action');
299
299
  }
300
- this.kupManager.dynamicPosition.register(this.listEl, this.wrapperEl);
301
300
  this.kupManager.debug.logRender(this, true);
302
301
  }
303
302
  renderButtons() {
@@ -326,18 +325,14 @@ export class KupDropdownButton {
326
325
  }
327
326
  render() {
328
327
  const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
329
- return (h(Host, { onBlur: () => this.onKupBlur() },
328
+ return (h(Host, null,
330
329
  customStyle ? h("style", null, customStyle) : null,
331
- h("div", { id: componentWrapperId, ref: (el) => (this.wrapperEl = el) },
330
+ h("div", { id: componentWrapperId },
332
331
  h("div", { class: "dropdown-button--wrapper" }, this.renderButtons()),
333
- h("kup-list", Object.assign({}, this.data['kup-list'], { displayMode: this.displayMode, isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el), tabindex: -1 })))));
332
+ h("kup-list", Object.assign({}, this.data['kup-list'], { displayMode: this.displayMode, isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el) })))));
334
333
  }
335
334
  disconnectedCallback() {
336
335
  this.kupManager.theme.unregister(this);
337
- const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupDynamicPositionAttribute + ']');
338
- if (dynamicPositionElements.length > 0) {
339
- this.kupManager.dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
340
- }
341
336
  }
342
337
  static get is() { return "kup-dropdown-button"; }
343
338
  static get encapsulation() { return "shadow"; }
@@ -360,11 +355,11 @@ export class KupDropdownButton {
360
355
  "optional": false,
361
356
  "docs": {
362
357
  "tags": [{
363
- "text": "\"\"",
364
- "name": "default"
358
+ "name": "default",
359
+ "text": "\"\""
365
360
  }, {
366
- "text": "https ://ketchup.smeup.com/ketchup-showcase/#/customization",
367
- "name": "see"
361
+ "name": "see",
362
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
368
363
  }],
369
364
  "text": "Custom style of the component."
370
365
  },
@@ -388,8 +383,8 @@ export class KupDropdownButton {
388
383
  "optional": false,
389
384
  "docs": {
390
385
  "tags": [{
391
- "text": "null",
392
- "name": "default"
386
+ "name": "default",
387
+ "text": "null"
393
388
  }],
394
389
  "text": "Props of the sub-components."
395
390
  },
@@ -407,8 +402,8 @@ export class KupDropdownButton {
407
402
  "optional": false,
408
403
  "docs": {
409
404
  "tags": [{
410
- "text": "false",
411
- "name": "default"
405
+ "name": "default",
406
+ "text": "false"
412
407
  }],
413
408
  "text": "Defaults at false. When set to true, the component is disabled."
414
409
  },
@@ -433,8 +428,8 @@ export class KupDropdownButton {
433
428
  "optional": false,
434
429
  "docs": {
435
430
  "tags": [{
436
- "text": "ItemsDisplayMode.DESCRIPTION",
437
- "name": "default"
431
+ "name": "default",
432
+ "text": "ItemsDisplayMode.DESCRIPTION"
438
433
  }],
439
434
  "text": "Sets how to show the selected item value. Suported values: \"code\", \"description\", \"both\"."
440
435
  },
@@ -454,8 +449,8 @@ export class KupDropdownButton {
454
449
  "optional": false,
455
450
  "docs": {
456
451
  "tags": [{
457
- "text": "false",
458
- "name": "default"
452
+ "name": "default",
453
+ "text": "false"
459
454
  }],
460
455
  "text": "Default value is false. When set to true, the arrow dropdown button is the only button displayed."
461
456
  },
@@ -475,8 +470,8 @@ export class KupDropdownButton {
475
470
  "optional": false,
476
471
  "docs": {
477
472
  "tags": [{
478
- "text": "icon",
479
- "name": "default"
473
+ "name": "default",
474
+ "text": "icon"
480
475
  }],
481
476
  "text": "Defaults at null. When set, the button will show this icon."
482
477
  },
@@ -496,8 +491,8 @@ export class KupDropdownButton {
496
491
  "optional": false,
497
492
  "docs": {
498
493
  "tags": [{
499
- "text": "\"\"",
500
- "name": "default"
494
+ "name": "default",
495
+ "text": "\"\""
501
496
  }],
502
497
  "text": "Sets the initial value of the component."
503
498
  },
@@ -517,8 +512,8 @@ export class KupDropdownButton {
517
512
  "optional": false,
518
513
  "docs": {
519
514
  "tags": [{
520
- "text": "\"\"",
521
- "name": "default"
515
+ "name": "default",
516
+ "text": "\"\""
522
517
  }],
523
518
  "text": "Defaults at null. When set, the button will show this text."
524
519
  },
@@ -543,8 +538,8 @@ export class KupDropdownButton {
543
538
  "optional": false,
544
539
  "docs": {
545
540
  "tags": [{
546
- "text": "ItemsDisplayMode.CODE",
547
- "name": "default"
541
+ "name": "default",
542
+ "text": "ItemsDisplayMode.CODE"
548
543
  }],
549
544
  "text": "Sets how to return the selected item value. Suported values: \"code\", \"description\", \"both\"."
550
545
  },
@@ -569,8 +564,8 @@ export class KupDropdownButton {
569
564
  "optional": false,
570
565
  "docs": {
571
566
  "tags": [{
572
- "text": "FButtonStyling.RAISED",
573
- "name": "default"
567
+ "name": "default",
568
+ "text": "FButtonStyling.RAISED"
574
569
  }],
575
570
  "text": "Defines the style of the button. Styles available: \"flat\", \"outlined\" and \"raised\" which is also the default."
576
571
  },
@@ -590,8 +585,8 @@ export class KupDropdownButton {
590
585
  "optional": false,
591
586
  "docs": {
592
587
  "tags": [{
593
- "text": "false",
594
- "name": "default"
588
+ "name": "default",
589
+ "text": "false"
595
590
  }],
596
591
  "text": "Defaults at null. When set, the icon will be shown after the text."
597
592
  },
@@ -710,8 +705,8 @@ export class KupDropdownButton {
710
705
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
711
706
  "parameters": [{
712
707
  "tags": [{
713
- "text": "descriptions - When provided and true, the result will be the list of props with their description.",
714
- "name": "param"
708
+ "name": "param",
709
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
715
710
  }],
716
711
  "text": "- When provided and true, the result will be the list of props with their description."
717
712
  }],
@@ -774,8 +769,8 @@ export class KupDropdownButton {
774
769
  "signature": "(props: GenericObject) => Promise<void>",
775
770
  "parameters": [{
776
771
  "tags": [{
777
- "text": "props - Object containing props that will be set to the component.",
778
- "name": "param"
772
+ "name": "param",
773
+ "text": "props - Object containing props that will be set to the component."
779
774
  }],
780
775
  "text": "- Object containing props that will be set to the component."
781
776
  }],
@@ -236,11 +236,11 @@ export class KupField {
236
236
  "optional": false,
237
237
  "docs": {
238
238
  "tags": [{
239
- "text": "\"\"",
240
- "name": "default"
239
+ "name": "default",
240
+ "text": "\"\""
241
241
  }, {
242
- "text": "https ://ketchup.smeup.com/ketchup-showcase/#/customization",
243
- "name": "see"
242
+ "name": "see",
243
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
244
244
  }],
245
245
  "text": "Custom style of the component."
246
246
  },
@@ -264,8 +264,8 @@ export class KupField {
264
264
  "optional": false,
265
265
  "docs": {
266
266
  "tags": [{
267
- "text": "{}",
268
- "name": "default"
267
+ "name": "default",
268
+ "text": "{}"
269
269
  }],
270
270
  "text": "Effective data to pass to the component."
271
271
  },
@@ -283,8 +283,8 @@ export class KupField {
283
283
  "optional": false,
284
284
  "docs": {
285
285
  "tags": [{
286
- "text": "\"\"",
287
- "name": "default"
286
+ "name": "default",
287
+ "text": "\"\""
288
288
  }],
289
289
  "text": "The text of the label. If set to empty or has only white space chars, the label will be removed."
290
290
  },
@@ -304,8 +304,8 @@ export class KupField {
304
304
  "optional": false,
305
305
  "docs": {
306
306
  "tags": [{
307
- "text": "\"left\"",
308
- "name": "default"
307
+ "name": "default",
308
+ "text": "\"left\""
309
309
  }],
310
310
  "text": "Sets the label's position, left right or top."
311
311
  },
@@ -325,8 +325,8 @@ export class KupField {
325
325
  "optional": false,
326
326
  "docs": {
327
327
  "tags": [{
328
- "text": "false",
329
- "name": "default"
328
+ "name": "default",
329
+ "text": "false"
330
330
  }],
331
331
  "text": "Sets whether the submit button must be displayed or not."
332
332
  },
@@ -346,8 +346,8 @@ export class KupField {
346
346
  "optional": false,
347
347
  "docs": {
348
348
  "tags": [{
349
- "text": "\"\"",
350
- "name": "default"
349
+ "name": "default",
350
+ "text": "\"\""
351
351
  }],
352
352
  "text": "Sets the submit button's label."
353
353
  },
@@ -367,8 +367,8 @@ export class KupField {
367
367
  "optional": false,
368
368
  "docs": {
369
369
  "tags": [{
370
- "text": "\"right\"",
371
- "name": "default"
370
+ "name": "default",
371
+ "text": "\"right\""
372
372
  }],
373
373
  "text": "Sets the submit button's position, top right bottom or left."
374
374
  },
@@ -388,8 +388,8 @@ export class KupField {
388
388
  "optional": false,
389
389
  "docs": {
390
390
  "tags": [{
391
- "text": "undefined",
392
- "name": "default"
391
+ "name": "default",
392
+ "text": "undefined"
393
393
  }],
394
394
  "text": "The type of the FLD"
395
395
  },
@@ -467,8 +467,8 @@ export class KupField {
467
467
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
468
468
  "parameters": [{
469
469
  "tags": [{
470
- "text": "descriptions - When provided and true, the result will be the list of props with their description.",
471
- "name": "param"
470
+ "name": "param",
471
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
472
472
  }],
473
473
  "text": "- When provided and true, the result will be the list of props with their description."
474
474
  }],
@@ -398,11 +398,11 @@ export class KupGauge {
398
398
  "optional": false,
399
399
  "docs": {
400
400
  "tags": [{
401
- "text": "kup-gauge.arcThickness",
402
- "name": "namespace"
401
+ "name": "namespace",
402
+ "text": "kup-gauge.arcThickness"
403
403
  }, {
404
- "text": "kup-gauge.size",
405
- "name": "see"
404
+ "name": "see",
405
+ "text": "kup-gauge.size"
406
406
  }],
407
407
  "text": "Sets how much the arc of the gauge should be thick."
408
408
  },
@@ -438,11 +438,11 @@ export class KupGauge {
438
438
  "optional": false,
439
439
  "docs": {
440
440
  "tags": [{
441
- "text": "\"\"",
442
- "name": "default"
441
+ "name": "default",
442
+ "text": "\"\""
443
443
  }, {
444
- "text": "https ://ketchup.smeup.com/ketchup-showcase/#/customization",
445
- "name": "see"
444
+ "name": "see",
445
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
446
446
  }],
447
447
  "text": "Custom style of the component."
448
448
  },
@@ -676,11 +676,11 @@ export class KupGauge {
676
676
  "optional": false,
677
677
  "docs": {
678
678
  "tags": [{
679
- "text": "kup-gauge.size",
680
- "name": "namespace"
679
+ "name": "namespace",
680
+ "text": "kup-gauge.size"
681
681
  }, {
682
- "text": "kup-gauge.arcThickness",
683
- "name": "see"
682
+ "name": "see",
683
+ "text": "kup-gauge.arcThickness"
684
684
  }],
685
685
  "text": "Con be used change the viewbox of the SVG.\nBy manipulating this value, some customizations of the aspect of the gauge is achievable."
686
686
  },
@@ -749,8 +749,8 @@ export class KupGauge {
749
749
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
750
750
  "parameters": [{
751
751
  "tags": [{
752
- "text": "descriptions - When provided and true, the result will be the list of props with their description.",
753
- "name": "param"
752
+ "name": "param",
753
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
754
754
  }],
755
755
  "text": "- When provided and true, the result will be the list of props with their description."
756
756
  }],
@@ -797,8 +797,8 @@ export class KupGauge {
797
797
  "signature": "(props: GenericObject) => Promise<void>",
798
798
  "parameters": [{
799
799
  "tags": [{
800
- "text": "props - Object containing props that will be set to the component.",
801
- "name": "param"
800
+ "name": "param",
801
+ "text": "props - Object containing props that will be set to the component."
802
802
  }],
803
803
  "text": "- Object containing props that will be set to the component."
804
804
  }],
@@ -31,10 +31,11 @@
31
31
  grid-template-columns: repeat(var(--kup_grid_columns, 12), minmax(0px, 1fr));
32
32
  }
33
33
  .layout-grid .layout-grid__inner .layout-grid__cell {
34
+ box-sizing: border-box;
34
35
  display: flex;
36
+ justify-content: center;
35
37
  margin: 0px;
36
38
  width: auto;
37
- box-sizing: border-box;
38
39
  }
39
40
  .layout-grid__cell--span-1 {
40
41
  grid-column-end: span 1;
@@ -131,8 +131,8 @@ export class KupGrid {
131
131
  "optional": false,
132
132
  "docs": {
133
133
  "tags": [{
134
- "text": "12",
135
- "name": "default"
134
+ "name": "default",
135
+ "text": "12"
136
136
  }],
137
137
  "text": "The number of columns displayed by the grid, the default behavior is 12."
138
138
  },
@@ -152,11 +152,11 @@ export class KupGrid {
152
152
  "optional": false,
153
153
  "docs": {
154
154
  "tags": [{
155
- "text": "\"\"",
156
- "name": "default"
155
+ "name": "default",
156
+ "text": "\"\""
157
157
  }, {
158
- "text": "https ://ketchup.smeup.com/ketchup-showcase/#/customization",
159
- "name": "see"
158
+ "name": "see",
159
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
160
160
  }],
161
161
  "text": "Custom style of the component."
162
162
  },
@@ -176,8 +176,8 @@ export class KupGrid {
176
176
  "optional": false,
177
177
  "docs": {
178
178
  "tags": [{
179
- "text": "false",
180
- "name": "default"
179
+ "name": "default",
180
+ "text": "false"
181
181
  }],
182
182
  "text": "When set to true, forces the content on a single line."
183
183
  },
@@ -192,8 +192,8 @@ export class KupGrid {
192
192
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
193
193
  "parameters": [{
194
194
  "tags": [{
195
- "text": "descriptions - When provided and true, the result will be the list of props with their description.",
196
- "name": "param"
195
+ "name": "param",
196
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
197
197
  }],
198
198
  "text": "- When provided and true, the result will be the list of props with their description."
199
199
  }],
@@ -240,8 +240,8 @@ export class KupGrid {
240
240
  "signature": "(props: GenericObject) => Promise<void>",
241
241
  "parameters": [{
242
242
  "tags": [{
243
- "text": "props - Object containing props that will be set to the component.",
244
- "name": "param"
243
+ "name": "param",
244
+ "text": "props - Object containing props that will be set to the component."
245
245
  }],
246
246
  "text": "- Object containing props that will be set to the component."
247
247
  }],
@@ -208,8 +208,8 @@ export class KupIframe {
208
208
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
209
209
  "parameters": [{
210
210
  "tags": [{
211
- "text": "descriptions - When provided and true, the result will be the list of props with their description.",
212
- "name": "param"
211
+ "name": "param",
212
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
213
213
  }],
214
214
  "text": "- When provided and true, the result will be the list of props with their description."
215
215
  }],
@@ -256,8 +256,8 @@ export class KupIframe {
256
256
  "signature": "(props: GenericObject) => Promise<void>",
257
257
  "parameters": [{
258
258
  "tags": [{
259
- "text": "props - Object containing props that will be set to the component.",
260
- "name": "param"
259
+ "name": "param",
260
+ "text": "props - Object containing props that will be set to the component."
261
261
  }],
262
262
  "text": "- Object containing props that will be set to the component."
263
263
  }],
@@ -213,8 +213,8 @@ export class KupImage {
213
213
  "optional": false,
214
214
  "docs": {
215
215
  "tags": [{
216
- "text": "null",
217
- "name": "default"
216
+ "name": "default",
217
+ "text": "null"
218
218
  }],
219
219
  "text": "Sets the data of badges."
220
220
  },
@@ -232,8 +232,8 @@ export class KupImage {
232
232
  "optional": false,
233
233
  "docs": {
234
234
  "tags": [{
235
- "text": "KupThemeColorValues.ICON",
236
- "name": "default"
235
+ "name": "default",
236
+ "text": "KupThemeColorValues.ICON"
237
237
  }],
238
238
  "text": "The color of the icon, defaults to the CSS variable KupThemeColorValues.ICON."
239
239
  },
@@ -253,11 +253,11 @@ export class KupImage {
253
253
  "optional": false,
254
254
  "docs": {
255
255
  "tags": [{
256
- "text": "\"\"",
257
- "name": "default"
256
+ "name": "default",
257
+ "text": "\"\""
258
258
  }, {
259
- "text": "https ://ketchup.smeup.com/ketchup-showcase/#/customization",
260
- "name": "see"
259
+ "name": "see",
260
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
261
261
  }],
262
262
  "text": "Custom style of the component."
263
263
  },
@@ -282,8 +282,8 @@ export class KupImage {
282
282
  "optional": false,
283
283
  "docs": {
284
284
  "tags": [{
285
- "text": "null",
286
- "name": "default"
285
+ "name": "default",
286
+ "text": "null"
287
287
  }],
288
288
  "text": "When present, the component will be drawn using CSS. Check the 'Drawing with CSS' section of the image showcase for more information."
289
289
  },
@@ -301,8 +301,8 @@ export class KupImage {
301
301
  "optional": false,
302
302
  "docs": {
303
303
  "tags": [{
304
- "text": "false",
305
- "name": "default"
304
+ "name": "default",
305
+ "text": "false"
306
306
  }],
307
307
  "text": "When set to true, a spinner will be displayed until the image finished loading. Not compatible with SVGs."
308
308
  },
@@ -322,8 +322,8 @@ export class KupImage {
322
322
  "optional": false,
323
323
  "docs": {
324
324
  "tags": [{
325
- "text": "false",
326
- "name": "default"
325
+ "name": "default",
326
+ "text": "false"
327
327
  }],
328
328
  "text": "The image component will create a canvas element on which it's possible to draw. It's a temporary feature that will be fully replaced by CSS drawing in the future."
329
329
  },
@@ -343,8 +343,8 @@ export class KupImage {
343
343
  "optional": false,
344
344
  "docs": {
345
345
  "tags": [{
346
- "text": "null",
347
- "name": "default"
346
+ "name": "default",
347
+ "text": "null"
348
348
  }],
349
349
  "text": "The resource used to fetch the image."
350
350
  },
@@ -364,8 +364,8 @@ export class KupImage {
364
364
  "optional": false,
365
365
  "docs": {
366
366
  "tags": [{
367
- "text": "'100%'",
368
- "name": "default"
367
+ "name": "default",
368
+ "text": "'100%'"
369
369
  }],
370
370
  "text": "The width of the icon, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
371
371
  },
@@ -385,8 +385,8 @@ export class KupImage {
385
385
  "optional": false,
386
386
  "docs": {
387
387
  "tags": [{
388
- "text": "'100%'",
389
- "name": "default"
388
+ "name": "default",
389
+ "text": "'100%'"
390
390
  }],
391
391
  "text": "The height of the icon, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
392
392
  },
@@ -422,8 +422,8 @@ export class KupImage {
422
422
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
423
423
  "parameters": [{
424
424
  "tags": [{
425
- "text": "descriptions - When provided and true, the result will be the list of props with their description.",
426
- "name": "param"
425
+ "name": "param",
426
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
427
427
  }],
428
428
  "text": "- When provided and true, the result will be the list of props with their description."
429
429
  }],
@@ -470,8 +470,8 @@ export class KupImage {
470
470
  "signature": "(props: GenericObject) => Promise<void>",
471
471
  "parameters": [{
472
472
  "tags": [{
473
- "text": "props - Object containing props that will be set to the component.",
474
- "name": "param"
473
+ "name": "param",
474
+ "text": "props - Object containing props that will be set to the component."
475
475
  }],
476
476
  "text": "- Object containing props that will be set to the component."
477
477
  }],