@knime/kds-table 6.12.1 → 6.12.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @knime/kds-table
2
2
 
3
+ ## 6.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6e9b531: Hide the action bar in case it's empty due to hiding the sort button
8
+ - @knime/kds-components@6.12.2
9
+ - @knime/kds-styles@6.12.2
10
+
3
11
  ## 6.12.1
4
12
 
5
13
  ### Patch Changes
package/dist/index.css CHANGED
@@ -215,7 +215,7 @@ tr {
215
215
  }
216
216
 
217
217
  .kds-table-action-bar {
218
- &[data-v-206732ac] {
218
+ &[data-v-b0b2c849] {
219
219
  display: grid;
220
220
  grid-template-columns: 1fr 1fr 1fr;
221
221
  min-height: var(--kds-dimension-component-height-2-5x);
@@ -223,42 +223,42 @@ tr {
223
223
  padding-left: var(--kds-spacing-container-0-5x);
224
224
  border-bottom: var(--kds-border-base-subtle);
225
225
  }
226
- &.temporary-view[data-v-206732ac] {
226
+ &.temporary-view[data-v-b0b2c849] {
227
227
  background-color: var(--kds-color-background-static-info-muted);
228
228
  }
229
- & .dimension[data-v-206732ac] {
229
+ & .dimension[data-v-b0b2c849] {
230
230
  font: var(--kds-font-base-title-small);
231
231
  color: var(--kds-color-text-and-icon-muted);
232
232
  white-space: pre;
233
233
  }
234
234
  & .preview {
235
- &[data-v-206732ac] {
235
+ &[data-v-b0b2c849] {
236
236
  display: flex;
237
237
  gap: var(--kds-spacing-container-0-12x);
238
238
  align-items: center;
239
239
  }
240
- & .preview-label[data-v-206732ac] {
240
+ & .preview-label[data-v-b0b2c849] {
241
241
  font: var(--kds-font-base-title-small-strong);
242
242
  color: var(--kds-color-text-and-icon-neutral);
243
243
  }
244
244
  }
245
- & .left[data-v-206732ac],
246
- & .center[data-v-206732ac],
247
- & .right[data-v-206732ac] {
245
+ & .left[data-v-b0b2c849],
246
+ & .center[data-v-b0b2c849],
247
+ & .right[data-v-b0b2c849] {
248
248
  display: flex;
249
249
  flex: 1;
250
250
  align-items: center;
251
251
  min-width: 0;
252
252
  padding: var(--kds-spacing-container-0-12x) 0;
253
253
  }
254
- & .left[data-v-206732ac],
255
- & .center[data-v-206732ac] {
254
+ & .left[data-v-b0b2c849],
255
+ & .center[data-v-b0b2c849] {
256
256
  gap: var(--kds-spacing-container-0-5x);
257
257
  }
258
- & .center[data-v-206732ac] {
258
+ & .center[data-v-b0b2c849] {
259
259
  justify-content: center;
260
260
  }
261
- & .right[data-v-206732ac] {
261
+ & .right[data-v-b0b2c849] {
262
262
  gap: var(--kds-spacing-container-0-25x);
263
263
  justify-content: flex-end;
264
264
  }
package/dist/index.js CHANGED
@@ -5684,7 +5684,7 @@ var TableActionBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
5684
5684
  const isTemporaryView = computed(() => viewType.value === "TEMP_VIEW" || viewType.value === "PREVIEW");
5685
5685
  const isPreview = computed(() => viewType.value === "PREVIEW");
5686
5686
  const showResetButton = computed(() => viewType.value === "TEMP_VIEW");
5687
- const hasContent = computed(() => isTemporaryView.value || __props.showTableSize || __props.actionConfig.enableSearch || __props.actionConfig.enableSorting || __props.actionConfig.forceShow || Boolean(slots["action-bar-left"]));
5687
+ const hasContent = computed(() => isTemporaryView.value || __props.showTableSize || __props.actionConfig.enableSorting && !__props.actionConfig.hideSortingButton || __props.actionConfig.enableSearch || __props.actionConfig.forceShow || Boolean(slots["action-bar-left"]));
5688
5688
  /**
5689
5689
  * Renders "total" by default, and "current of total" only when `current` is
5690
5690
  * given and strictly below `total`. The `current >= total` guard prevents an
@@ -5745,7 +5745,7 @@ var TableActionBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
5745
5745
  ], 2)) : createCommentVNode("", true);
5746
5746
  };
5747
5747
  }
5748
- }), [["__scopeId", "data-v-206732ac"]]);
5748
+ }), [["__scopeId", "data-v-b0b2c849"]]);
5749
5749
  //#endregion
5750
5750
  //#region src/utils/columnHeaderActionButtons.ts
5751
5751
  /**