@knime/kds-table 11.6.0 → 12.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
package/dist/index.css
CHANGED
|
@@ -146,17 +146,17 @@ tr {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.sort-popover[data-v-
|
|
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-
|
|
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-
|
|
159
|
+
&[data-v-9c79ff18] > * {
|
|
160
160
|
min-width: 0;
|
|
161
161
|
}
|
|
162
162
|
}
|
package/dist/index.js
CHANGED
|
@@ -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-
|
|
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" };
|