@knime/kds-table 11.6.0 → 13.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @knime/kds-table
2
2
 
3
+ ## 13.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [d61ae48]
8
+ - @knime/kds-components@13.0.0
9
+ - @knime/kds-styles@13.0.0
10
+
11
+ ## 12.0.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [4020a7d]
16
+ - @knime/kds-components@12.0.0
17
+ - @knime/kds-styles@12.0.0
18
+
3
19
  ## 11.6.0
4
20
 
5
21
  ### Patch Changes
package/dist/index.css CHANGED
@@ -146,17 +146,17 @@ tr {
146
146
  }
147
147
  }
148
148
 
149
- .sort-popover[data-v-97a272c8] {
149
+ .sort-popover[data-v-9c79ff18] {
150
150
  position-try-order: most-inline-size;
151
151
  }
152
152
  .popover-container {
153
153
  .body {
154
- &[data-v-97a272c8] {
154
+ &[data-v-9c79ff18] {
155
155
  display: grid;
156
156
  grid-template-columns: 1fr 1fr;
157
157
  gap: var(--kds-spacing-container-0-5x);
158
158
  }
159
- &[data-v-97a272c8] > * {
159
+ &[data-v-9c79ff18] > * {
160
160
  min-width: 0;
161
161
  }
162
162
  }
package/dist/index.js CHANGED
@@ -1094,12 +1094,12 @@ var dimension = {
1094
1094
  }
1095
1095
  },
1096
1096
  icon: {
1097
- "0.56x": {
1098
- value: 9,
1097
+ "0.5x": {
1098
+ value: 8,
1099
1099
  unit: "px",
1100
1100
  css: {
1101
- value: "9px",
1102
- variable: "var(--kds-dimension-icon-0-56x)"
1101
+ value: "8px",
1102
+ variable: "var(--kds-dimension-icon-0-5x)"
1103
1103
  }
1104
1104
  },
1105
1105
  "0.75x": {
@@ -5519,6 +5519,7 @@ var SortControl_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
5519
5519
  const props = __props;
5520
5520
  const emit = __emit;
5521
5521
  const sortPopoverRef = useTemplateRef("sortPopoverRef");
5522
+ const sortButtonEl = useTemplateRef("sortButton");
5522
5523
  const selectedColumn = ref(props.colSortValues?.[0]?.id?.toString() ?? NONE_COLUMN_VALUE);
5523
5524
  watch(() => props.colSortValues?.[0]?.id, (val) => {
5524
5525
  if (val === void 0 && selectedColumn.value !== void 0) return;
@@ -5545,25 +5546,25 @@ var SortControl_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
5545
5546
  };
5546
5547
  return (_ctx, _cache) => {
5547
5548
  return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(KdsToggleButton), {
5549
+ ref: "sortButton",
5548
5550
  "model-value": unref(buttonIsActive),
5549
5551
  label: "Sorting",
5550
5552
  size: "small",
5551
5553
  variant: "transparent",
5552
5554
  "leading-icon": "sort-ascending",
5553
- style: normalizeStyle(sortPopoverRef.value?.anchorStyle),
5554
5555
  "aria-controls": sortPopoverRef.value?.popoverId,
5555
5556
  "aria-expanded": unref(showPopover),
5556
5557
  "aria-haspopup": "dialog",
5557
5558
  "onUpdate:modelValue": unref(onButtonClick)
5558
5559
  }, null, 8, [
5559
5560
  "model-value",
5560
- "style",
5561
5561
  "aria-controls",
5562
5562
  "aria-expanded",
5563
5563
  "onUpdate:modelValue"
5564
5564
  ]), createVNode(unref(KdsPopover), {
5565
5565
  ref_key: "sortPopoverRef",
5566
5566
  ref: sortPopoverRef,
5567
+ anchor: sortButtonEl.value?.$el,
5567
5568
  "model-value": unref(showPopover),
5568
5569
  "aria-label": "Sort",
5569
5570
  "popover-type": "auto",
@@ -5599,13 +5600,14 @@ var SortControl_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
5599
5600
  })]),
5600
5601
  _: 1
5601
5602
  }, 8, [
5603
+ "anchor",
5602
5604
  "model-value",
5603
5605
  "max-inline-size",
5604
5606
  "onUpdate:modelValue"
5605
5607
  ])], 64);
5606
5608
  };
5607
5609
  }
5608
- }), [["__scopeId", "data-v-97a272c8"]]);
5610
+ }), [["__scopeId", "data-v-9c79ff18"]]);
5609
5611
  //#endregion
5610
5612
  //#region src/components/control/TableActionBar.vue?vue&type=script&setup=true&lang.ts
5611
5613
  var _hoisted_1$5 = { class: "left" };