@knime/kds-table 0.1.0 → 0.2.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 (32) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +0 -2
  3. package/dist/{copy-DAYm6-mo-DAYm6-mo.js → copy-D43FaHi--D43FaHi-.js} +2 -2
  4. package/dist/copy-D43FaHi--D43FaHi-.js.map +1 -0
  5. package/dist/duplicate-Mtq886XD-Mtq886XD.js +23 -0
  6. package/dist/duplicate-Mtq886XD-Mtq886XD.js.map +1 -0
  7. package/dist/folder-move-6L5NfoIs-6L5NfoIs.js +23 -0
  8. package/dist/folder-move-6L5NfoIs-6L5NfoIs.js.map +1 -0
  9. package/dist/index.css +680 -291
  10. package/dist/index.js +6646 -599
  11. package/dist/index.js.map +1 -1
  12. package/dist/linked-component-BOb5aj87-BOb5aj87.js +23 -0
  13. package/dist/linked-component-BOb5aj87-BOb5aj87.js.map +1 -0
  14. package/dist/src/components/TableUI.vue.d.ts.map +1 -1
  15. package/dist/src/components/TableUIWithAutoSizeCalculation.vue.d.ts.map +1 -1
  16. package/dist/src/components/composables/useOverflowStyles.d.ts +2 -1
  17. package/dist/src/components/composables/useOverflowStyles.d.ts.map +1 -1
  18. package/dist/src/components/control/PageControls.vue.d.ts.map +1 -1
  19. package/dist/src/components/control/TableActionBar.vue.d.ts.map +1 -1
  20. package/dist/src/components/control/actionbar/SortControl.vue.d.ts.map +1 -1
  21. package/dist/src/components/layout/Cell.vue.d.ts +2 -2
  22. package/dist/src/components/layout/CellRenderer.vue.d.ts +2 -2
  23. package/dist/src/components/layout/CellRenderer.vue.d.ts.map +1 -1
  24. package/dist/src/components/layout/Header.vue.d.ts.map +1 -1
  25. package/dist/src/components/layout/Row.vue.d.ts.map +1 -1
  26. package/dist/src/components/ui/CellExpandButton.vue.d.ts.map +1 -1
  27. package/dist/src/index.d.ts +0 -1
  28. package/dist/src/index.d.ts.map +1 -1
  29. package/dist/src/util/constants.d.ts +2 -0
  30. package/dist/src/util/constants.d.ts.map +1 -1
  31. package/package.json +5 -5
  32. package/dist/copy-DAYm6-mo-DAYm6-mo.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @knime/kds-table
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 843450b: - Remove sonar link from table `README`
8
+ - Only show filtered column count in actionbar
9
+ - Make `KdsMenuButton` in the `Header` transparent
10
+ - Only use `scrollbar gutter: stable` for tables with a vertical scrollbar
11
+ - fix computation of auto sizes in new flex layout
12
+ - Breaking change: `MIN_COLUMN_SIZE` is no longer exported from the `@knime/kds-table` package entrypoint, but instead
13
+ via `constants.MIN_COLUMN_SIZE`.
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [843450b]
18
+ - @knime/kds-components@0.29.1
19
+ - @knime/kds-styles@0.29.1
20
+
21
+ ## 0.1.1
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [6d7510a]
26
+ - Updated dependencies [8ce48b8]
27
+ - @knime/kds-components@0.29.0
28
+ - @knime/kds-styles@0.29.0
29
+
3
30
  ## 0.1.0
4
31
 
5
32
  - Initial release. Port of [@knime/knime-ui-table](https://www.npmjs.com/package/@knime/knime-ui-table) into the KNIME Design System monorepo.
package/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # KNIME® Design System – Table Component
2
2
 
3
- [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=knime_knime-designsystem&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=knime_knime-designsystem)
4
-
5
3
  This is part of the [KNIME Design System](../README.md) maintained by the [UI Core Team](mailto:team-ui-core@knime.com).
6
4
 
7
5
  This package contains the table component used by e.g. the TableView of KNIME Analytics Platform and KNIME Hub. It is based on the [Vue] JavaScript framework and built on the KNIME Design System tokens.
@@ -12,7 +12,7 @@ const _hoisted_1 = {
12
12
  function render(_ctx, _cache) {
13
13
  return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
14
14
  createElementVNode("path", {
15
- d: "M7.125 3.75V2.5a1 1 0 0 0-1-1H2.5a1 1 0 0 0-1 1v4.75a1 1 0 0 0 1 1h2.375m1 2.25H9.5a1 1 0 0 0 1-1V4.75a1 1 0 0 0-1-1H5.875a1 1 0 0 0-1 1V9.5a1 1 0 0 0 1 1",
15
+ d: "M7.005 1.95a.45.45 0 0 0-.45-.45H2.45a.45.45 0 0 0-.45.45v6.1c0 .249.201.45.45.45h1.026m1.974-5h4.105a.45.45 0 0 1 .45.45v6.1a.45.45 0 0 1-.45.45H5.45a.45.45 0 0 1-.45-.45v-6.1a.45.45 0 0 1 .45-.45",
16
16
  "vector-effect": "non-scaling-stroke"
17
17
  }, null, -1)
18
18
  ]))]))
@@ -20,4 +20,4 @@ function render(_ctx, _cache) {
20
20
  const copy = { render: render };
21
21
 
22
22
  export { copy as default, render };
23
- //# sourceMappingURL=copy-DAYm6-mo-DAYm6-mo.js.map
23
+ //# sourceMappingURL=copy-D43FaHi--D43FaHi-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-D43FaHi--D43FaHi-.js","sources":["../../components/dist/copy-D43FaHi-.js"],"sourcesContent":["import { openBlock, createElementBlock, createElementVNode } from 'vue';\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n};\n\nfunction render(_ctx, _cache) {\n return (openBlock(), createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n createElementVNode(\"path\", {\n d: \"M7.005 1.95a.45.45 0 0 0-.45-.45H2.45a.45.45 0 0 0-.45.45v6.1c0 .249.201.45.45.45h1.026m1.974-5h4.105a.45.45 0 0 1 .45.45v6.1a.45.45 0 0 1-.45.45H5.45a.45.45 0 0 1-.45-.45v-6.1a.45.45 0 0 1 .45-.45\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nconst copy = { render: render };\n\nexport { copy as default, render };\n//# sourceMappingURL=copy-D43FaHi-.js.map\n"],"names":[],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX,CAAC;;AAED,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AAC9B,EAAE,QAAQ,SAAS,EAAE,EAAE,kBAAkB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC5F,IAAI,kBAAkB,CAAC,MAAM,EAAE;AAC/B,MAAM,CAAC,EAAE,uMAAuM;AAChN,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACK,MAAC,IAAI,GAAG,EAAE,MAAM,EAAE,MAAM;;;;"}
@@ -0,0 +1,23 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ fill: "none",
6
+ stroke: "currentColor",
7
+ "stroke-linecap": "round",
8
+ "stroke-linejoin": "round",
9
+ viewBox: "0 0 12 12"
10
+ };
11
+
12
+ function render(_ctx, _cache) {
13
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
14
+ createElementVNode("path", {
15
+ d: "m7 5.5 1.253 1.47L7 8.44m1.253-1.47H4m3.005-5.02a.45.45 0 0 0-.45-.45H2.45a.45.45 0 0 0-.45.45v6.1c0 .249.201.45.45.45h1.026M5 10.05c0 .248.201.45.45.45h4.105a.45.45 0 0 0 .45-.45v-6.1a.45.45 0 0 0-.45-.45H5.45a.45.45 0 0 0-.45.45M5 5.5v-.025m0 3.05V8.5",
16
+ "vector-effect": "non-scaling-stroke"
17
+ }, null, -1)
18
+ ]))]))
19
+ }
20
+ const duplicate = { render: render };
21
+
22
+ export { duplicate as default, render };
23
+ //# sourceMappingURL=duplicate-Mtq886XD-Mtq886XD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate-Mtq886XD-Mtq886XD.js","sources":["../../components/dist/duplicate-Mtq886XD.js"],"sourcesContent":["import { openBlock, createElementBlock, createElementVNode } from 'vue';\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n};\n\nfunction render(_ctx, _cache) {\n return (openBlock(), createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n createElementVNode(\"path\", {\n d: \"m7 5.5 1.253 1.47L7 8.44m1.253-1.47H4m3.005-5.02a.45.45 0 0 0-.45-.45H2.45a.45.45 0 0 0-.45.45v6.1c0 .249.201.45.45.45h1.026M5 10.05c0 .248.201.45.45.45h4.105a.45.45 0 0 0 .45-.45v-6.1a.45.45 0 0 0-.45-.45H5.45a.45.45 0 0 0-.45.45M5 5.5v-.025m0 3.05V8.5\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nconst duplicate = { render: render };\n\nexport { duplicate as default, render };\n//# sourceMappingURL=duplicate-Mtq886XD.js.map\n"],"names":[],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX,CAAC;;AAED,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AAC9B,EAAE,QAAQ,SAAS,EAAE,EAAE,kBAAkB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC5F,IAAI,kBAAkB,CAAC,MAAM,EAAE;AAC/B,MAAM,CAAC,EAAE,+PAA+P;AACxQ,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACK,MAAC,SAAS,GAAG,EAAE,MAAM,EAAE,MAAM;;;;"}
@@ -0,0 +1,23 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ fill: "none",
6
+ stroke: "currentColor",
7
+ "stroke-linecap": "round",
8
+ "stroke-linejoin": "round",
9
+ viewBox: "0 0 12 12"
10
+ };
11
+
12
+ function render(_ctx, _cache) {
13
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
14
+ createElementVNode("path", {
15
+ d: "M11 8.25H6.75M9.5 6.5 11 8.25 9.5 10m-6-.25H2A.75.75 0 0 1 1.25 9V2.75c0-.263.213-.5.476-.5H4.5l1 1.25h4.75a.5.5 0 0 1 .5.5",
16
+ "vector-effect": "non-scaling-stroke"
17
+ }, null, -1)
18
+ ]))]))
19
+ }
20
+ const folderMove = { render: render };
21
+
22
+ export { folderMove as default, render };
23
+ //# sourceMappingURL=folder-move-6L5NfoIs-6L5NfoIs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder-move-6L5NfoIs-6L5NfoIs.js","sources":["../../components/dist/folder-move-6L5NfoIs.js"],"sourcesContent":["import { openBlock, createElementBlock, createElementVNode } from 'vue';\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n};\n\nfunction render(_ctx, _cache) {\n return (openBlock(), createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n createElementVNode(\"path\", {\n d: \"M11 8.25H6.75M9.5 6.5 11 8.25 9.5 10m-6-.25H2A.75.75 0 0 1 1.25 9V2.75c0-.263.213-.5.476-.5H4.5l1 1.25h4.75a.5.5 0 0 1 .5.5\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nconst folderMove = { render: render };\n\nexport { folderMove as default, render };\n//# sourceMappingURL=folder-move-6L5NfoIs.js.map\n"],"names":[],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX,CAAC;;AAED,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AAC9B,EAAE,QAAQ,SAAS,EAAE,EAAE,kBAAkB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC5F,IAAI,kBAAkB,CAAC,MAAM,EAAE;AAC/B,MAAM,CAAC,EAAE,6HAA6H;AACtI,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACK,MAAC,UAAU,GAAG,EAAE,MAAM,EAAE,MAAM;;;;"}