@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
@@ -297,7 +297,6 @@
297
297
  border-width: 0;
298
298
  outline: none;
299
299
  cursor: pointer;
300
- will-change: transform, opacity;
301
300
  margin: var(--kup_chip_margin);
302
301
  }
303
302
  .f-chip--wrapper .chip-set .chip .chip__icon--leading {
@@ -2798,6 +2797,7 @@
2798
2797
  * @prop --kup-datatable-font-family-monospace: Sets monospace font family of the component (for numbers).
2799
2798
  * @prop --kup-datatable-font-size: Sets font size of the component.
2800
2799
  * @prop --kup-datatable-th-border: Sets border of the th elements.
2800
+ * @prop --kup-datatable-th-resize-handle-width: Sets the width of the handle used to resize columns.
2801
2801
  */
2802
2802
  :host {
2803
2803
  --kup_datatable_background_color: var(
@@ -2825,6 +2825,10 @@
2825
2825
  --kup-datatable-th-border,
2826
2826
  1px solid var(--kup-border-color)
2827
2827
  );
2828
+ --kup_datatable_th_resize_handle_width: var(
2829
+ --kup-datatable-th-resize-handle-width,
2830
+ 3px
2831
+ );
2828
2832
  display: block;
2829
2833
  font-family: var(--kup_datatable_font_family);
2830
2834
  font-size: var(--kup_datatable_font_size);
@@ -2856,10 +2860,10 @@ table.auto-width {
2856
2860
  min-width: auto;
2857
2861
  width: 0;
2858
2862
  }
2859
- table > tbody > tr.focus td:first-of-type {
2863
+ table > tbody > tr.focus td:first-of-type, table > tbody > tr[kup-drag-over] td:first-of-type {
2860
2864
  box-shadow: inset 4px 0px 0px 0px var(--kup-secondary-color);
2861
2865
  }
2862
- table > tbody > tr > td:first-of-type {
2866
+ table > tbody > tr > td:first-of-type, table > tbody > tr > td.placeholder ~ td:not(.placeholder) {
2863
2867
  border-left: var(--kup_datatable_border);
2864
2868
  }
2865
2869
  table > tbody > tr > td:last-of-type {
@@ -2910,7 +2914,7 @@ table tfoot td:first-of-type {
2910
2914
  width: 1.25em;
2911
2915
  }
2912
2916
  .kup-icon:not(.f-image--wrapper).kup-ascending-icon, .kup-icon:not(.f-image--wrapper).kup-descending-icon, .kup-icon:not(.f-image--wrapper).kup-key-icon, .kup-icon:not(.f-image--wrapper).kup-filter-remove-icon {
2913
- float: right;
2917
+ height: auto;
2914
2918
  }
2915
2919
  .kup-icon:not(.f-image--wrapper).kup-collapsed-icon, .kup-icon:not(.f-image--wrapper).kup-expanded-icon {
2916
2920
  float: left;
@@ -2935,6 +2939,7 @@ table tfoot td:first-of-type {
2935
2939
  }
2936
2940
 
2937
2941
  .below-wrapper {
2942
+ backface-visibility: hidden;
2938
2943
  height: auto;
2939
2944
  overflow: auto;
2940
2945
  }
@@ -2977,44 +2982,61 @@ table tfoot td:first-of-type {
2977
2982
  font-size: calc(var(--kup_datatable_font_size) * 1.5) !important;
2978
2983
  }
2979
2984
 
2980
- thead th {
2985
+ th {
2981
2986
  background-color: var(--kup-title-background-color);
2982
- color: var(--kup-title-color);
2983
2987
  border: var(--kup_datatable_th_border);
2984
2988
  border-left: 0 none;
2985
2989
  border-bottom-width: 2px;
2986
2990
  box-sizing: border-box;
2987
- padding: 0.5em 0.3125em;
2988
- text-overflow: ellipsis;
2989
2991
  top: 0;
2990
- vertical-align: middle;
2991
- white-space: nowrap;
2992
+ touch-action: none;
2992
2993
  transition: background-color 0.25s ease;
2994
+ user-select: none;
2993
2995
  }
2994
- thead th:first-of-type {
2996
+ th:first-of-type {
2995
2997
  border-left: var(--kup_datatable_th_border);
2996
2998
  }
2997
- thead th .column-title {
2998
- display: inline-block;
2999
+
3000
+ .header-cell__content {
3001
+ color: var(--kup-title-color);
3002
+ display: flex;
3003
+ justify-content: space-between;
3004
+ padding: 0.5em 0.3125em;
3005
+ text-overflow: ellipsis;
3006
+ white-space: nowrap;
3007
+ }
3008
+ .header-cell--centered .header-cell__content {
3009
+ justify-content: center;
3010
+ }
3011
+ .header-cell--is-number .header-cell__content {
3012
+ justify-content: flex-end;
3013
+ }
3014
+ .header-cell__title {
2999
3015
  overflow: hidden;
3000
3016
  text-overflow: ellipsis;
3001
- vertical-align: bottom;
3017
+ user-select: none;
3002
3018
  }
3003
- thead th.icon {
3004
- width: 30px;
3019
+ .header-cell__icons {
3020
+ display: flex;
3005
3021
  }
3006
- thead th.number {
3007
- text-align: right;
3022
+ .header-cell__drag-handler {
3023
+ background: rgba(var(--kup-title-color-rgb), 0.25);
3024
+ height: 100%;
3025
+ position: absolute;
3026
+ right: 0;
3027
+ top: 0;
3028
+ touch-action: none;
3029
+ user-select: none;
3030
+ width: var(--kup_datatable_th_resize_handle_width);
3008
3031
  }
3009
- thead th.centered {
3010
- text-align: center;
3032
+ .header-cell__drag-handler:hover {
3033
+ background: rgba(var(--kup-title-color-rgb), 0.5);
3011
3034
  }
3012
- thead th.header-cell--sortable {
3035
+ .header-cell--sortable {
3013
3036
  cursor: pointer;
3014
3037
  }
3015
- thead th .column-sort {
3016
- float: left;
3017
- margin: 0 0.5em;
3038
+ .header-cell--is-icon {
3039
+ width: 30px;
3018
3040
  }
3019
3041
 
3020
3042
  tbody {
@@ -3065,6 +3087,7 @@ tbody tr.group > td.total.negative-number {
3065
3087
  }
3066
3088
  tbody tr > td {
3067
3089
  box-sizing: border-box;
3090
+ overflow: hidden;
3068
3091
  padding: 0.5em 0.3125em;
3069
3092
  word-break: break-all;
3070
3093
  word-wrap: break-word;
@@ -3266,12 +3289,14 @@ th.obj:hover span:not(.overlay-action) {
3266
3289
  }
3267
3290
 
3268
3291
  [kup-dialog] {
3292
+ animation: fade-in 0.25s ease-out;
3269
3293
  background-color: var(--kup_datatable_background_color);
3270
3294
  margin: 0;
3271
3295
  position: fixed;
3272
3296
  transition: none;
3273
- max-height: 95vh;
3274
- max-width: 95vw;
3297
+ -ms-touch-action: none;
3298
+ touch-action: none;
3299
+ will-change: transform;
3275
3300
  }
3276
3301
  [kup-dialog].kup-resizable {
3277
3302
  border: 3px outset var(--kup-title-background-color);
@@ -3392,24 +3417,10 @@ sticky-header {
3392
3417
  .persistent-header ~ sticky-header th-sticky {
3393
3418
  box-sizing: border-box;
3394
3419
  display: inline-flex;
3395
- padding: 0.5em 0.3125em;
3396
- }
3397
- .persistent-header ~ sticky-header th-sticky.icon {
3398
- width: 30px;
3399
- }
3400
- .persistent-header ~ sticky-header th-sticky.number {
3401
- text-align: right;
3420
+ padding: 0 0.3125em;
3402
3421
  }
3403
- .persistent-header ~ sticky-header th-sticky.centered {
3404
- text-align: center;
3405
- }
3406
- .persistent-header ~ sticky-header .column-title {
3422
+ .persistent-header ~ sticky-header th-sticky .header-cell__content {
3407
3423
  width: 100%;
3408
- font-weight: bold;
3409
- margin: auto;
3410
- white-space: nowrap;
3411
- overflow: hidden;
3412
- text-overflow: ellipsis;
3413
3424
  }
3414
3425
 
3415
3426
  .fixed-column, .fixed-row {
@@ -3467,79 +3478,64 @@ tfoot tr.hover:not(.group):not(.selected) .fixed-column {
3467
3478
  background-color: var(--kup_datatable_background_color);
3468
3479
  }
3469
3480
 
3470
- [columns-dragging] [drag-over] {
3471
- background-color: rgba(var(--kup-success-color-rgb), 0.25);
3481
+ :host([drag-enabled]) tr {
3482
+ touch-action: none;
3472
3483
  }
3473
- [columns-dragging] [drag-over] > * {
3474
- pointer-events: none;
3484
+
3485
+ th[kup-drag-over] {
3486
+ background-color: rgba(var(--kup-success-color-rgb), 0.25);
3475
3487
  }
3476
- [columns-dragging] [drag-over][drag-starter] {
3477
- background-color: rgba(var(--kup-danger-color-rgb), 0.25);
3488
+
3489
+ th[kup-draggable] {
3490
+ cursor: grabbing !important;
3491
+ opacity: 0.5;
3478
3492
  }
3479
3493
 
3480
- #group-column-area {
3494
+ .droparea {
3495
+ animation: fade-in 0.25s ease-out;
3481
3496
  background: var(--kup_datatable_background_color);
3482
- border: 2px dashed var(--kup-danger-color);
3497
+ border-radius: 8px;
3483
3498
  box-shadow: var(--kup-box-shadow);
3484
3499
  display: none;
3485
- height: 50px;
3486
- opacity: 0.5;
3487
- width: 50px;
3488
- transition: opacity 0.25s;
3500
+ padding: 1em 0.5em;
3489
3501
  }
3490
- #group-column-area.visible {
3491
- display: block;
3492
- }
3493
- #group-column-area .f-image--wrapper {
3494
- width: 100%;
3495
- position: absolute;
3496
- }
3497
- #group-column-area .f-image--wrapper:first-of-type {
3498
- opacity: 1;
3499
- }
3500
- #group-column-area .f-image--wrapper:last-of-type {
3501
- opacity: 0;
3502
- }
3503
- #group-column-area[drag-over] {
3504
- opacity: 1;
3502
+ .droparea--visible {
3503
+ display: flex;
3505
3504
  }
3506
- #group-column-area[drag-over] .f-image--wrapper:first-of-type {
3507
- opacity: 0;
3505
+ .droparea__groups {
3506
+ border: 2px dashed var(--kup-text-color);
3508
3507
  }
3509
- #group-column-area[drag-over] .f-image--wrapper:last-of-type {
3510
- opacity: 1;
3508
+ .droparea__remove {
3509
+ border: 2px dashed var(--kup-danger-color);
3511
3510
  }
3512
-
3513
- #remove-column-area {
3511
+ .droparea__groups, .droparea__remove {
3514
3512
  background: var(--kup_datatable_background_color);
3515
- border: 2px dashed var(--kup-danger-color);
3516
3513
  box-shadow: var(--kup-box-shadow);
3517
- display: none;
3514
+ display: block;
3518
3515
  height: 50px;
3516
+ margin: 0 0.5em;
3519
3517
  opacity: 0.5;
3520
- width: 50px;
3518
+ position: relative;
3521
3519
  transition: opacity 0.25s;
3520
+ width: 50px;
3522
3521
  }
3523
- #remove-column-area.visible {
3524
- display: block;
3525
- }
3526
- #remove-column-area .f-image--wrapper {
3522
+ .droparea__groups .f-image--wrapper, .droparea__remove .f-image--wrapper {
3527
3523
  width: 100%;
3528
3524
  position: absolute;
3529
3525
  }
3530
- #remove-column-area .f-image--wrapper:first-of-type {
3526
+ .droparea__groups .f-image--wrapper:first-of-type, .droparea__remove .f-image--wrapper:first-of-type {
3531
3527
  opacity: 1;
3532
3528
  }
3533
- #remove-column-area .f-image--wrapper:last-of-type {
3529
+ .droparea__groups .f-image--wrapper:last-of-type, .droparea__remove .f-image--wrapper:last-of-type {
3534
3530
  opacity: 0;
3535
3531
  }
3536
- #remove-column-area[drag-over] {
3532
+ .droparea__groups[kup-drag-over], .droparea__remove[kup-drag-over] {
3537
3533
  opacity: 1;
3538
3534
  }
3539
- #remove-column-area[drag-over] .f-image--wrapper:first-of-type {
3535
+ .droparea__groups[kup-drag-over] .f-image--wrapper:first-of-type, .droparea__remove[kup-drag-over] .f-image--wrapper:first-of-type {
3540
3536
  opacity: 0;
3541
3537
  }
3542
- #remove-column-area[drag-over] .f-image--wrapper:last-of-type {
3538
+ .droparea__groups[kup-drag-over] .f-image--wrapper:last-of-type, .droparea__remove[kup-drag-over] .f-image--wrapper:last-of-type {
3543
3539
  opacity: 1;
3544
3540
  }
3545
3541