asma-ui-core 3.122.0 → 3.123.1

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 (42) hide show
  1. package/dist/asma-ui-core.css +1 -1
  2. package/dist/components/custom/pathfinder-card/PathfinderCard.js +16 -16
  3. package/dist/index.js +66 -63
  4. package/dist/src/table/components/table-header/SortIndicator.d.ts +12 -0
  5. package/dist/src/table/custom-features/order-columns/columnLayout.d.ts +24 -0
  6. package/dist/src/table/custom-features/order-columns/columnLayout.test.d.ts +1 -0
  7. package/dist/src/table/custom-features/order-columns/types.d.ts +8 -0
  8. package/dist/src/table/custom-features/order-columns/usePersistColumnOrder.d.ts +5 -0
  9. package/dist/src/table/helpers/columnIds.d.ts +27 -0
  10. package/dist/src/table/helpers/columnIds.test.d.ts +1 -0
  11. package/dist/src/table/helpers/tableStorage.d.ts +12 -0
  12. package/dist/src/table/helpers/tableStorage.test.d.ts +1 -0
  13. package/dist/src/table/hooks/useColumnSizingPersistence.d.ts +16 -3
  14. package/dist/src/table/hooks/useColumnSizingPersistence.test.d.ts +1 -0
  15. package/dist/src/table/hooks/usePersistedSorting.d.ts +54 -0
  16. package/dist/src/table/hooks/usePersistedSorting.test.d.ts +1 -0
  17. package/dist/src/table/hooks/usePersistedStateWriter.d.ts +30 -0
  18. package/dist/src/table/hooks/useTranslations.d.ts +6 -4
  19. package/dist/src/table/index.d.ts +1 -0
  20. package/dist/src/table/types.d.ts +9 -2
  21. package/dist/table/components/StyledTable.module.js +59 -56
  22. package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +61 -54
  23. package/dist/table/components/columns/action-column/components/TableActions.module.js +4 -4
  24. package/dist/table/components/table-header/SortIndicator.js +23 -0
  25. package/dist/table/components/table-header/TableHeader.js +30 -30
  26. package/dist/table/components/table-header/TableHeaderCell.js +30 -31
  27. package/dist/table/custom-features/order-columns/OrderColumnsFeature.js +7 -8
  28. package/dist/table/custom-features/order-columns/columnLayout.js +9 -0
  29. package/dist/table/custom-features/order-columns/usePersistColumnOrder.js +12 -11
  30. package/dist/table/custom-features/order-columns/usePersistedColumnOrder.js +7 -12
  31. package/dist/table/helpers/columnIds.js +28 -0
  32. package/dist/table/helpers/tableStorage.js +33 -0
  33. package/dist/table/hooks/useColumnSizingPersistence.js +16 -34
  34. package/dist/table/hooks/usePersistedPageSize.js +11 -16
  35. package/dist/table/hooks/usePersistedSorting.js +58 -0
  36. package/dist/table/hooks/usePersistedStateWriter.js +36 -0
  37. package/dist/table/hooks/useStyledTable.js +90 -60
  38. package/dist/table/hooks/useTranslations.js +13 -11
  39. package/dist/table/index.js +3 -2
  40. package/dist/table/shared-components/DropDownIcon.js +4 -2
  41. package/dist/table/shared-components/DropUpIcon.js +5 -3
  42. package/package.json +1 -1
@@ -1,7 +1,8 @@
1
1
  import "./types.js";
2
+ import "./hooks/usePersistedSorting.js";
2
3
  import "./components/columns/dndHandleColumn.js";
3
4
  import "./components/StyledTableIndex.js";
4
- import { createColumnHelper as i } from "@tanstack/react-table";
5
+ import { createColumnHelper as S } from "@tanstack/react-table";
5
6
  export {
6
- i as createColumnHelper
7
+ S as createColumnHelper
7
8
  };
@@ -1,11 +1,13 @@
1
1
  import "react";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- function m(o) {
3
+ function l(o) {
4
4
  return /* @__PURE__ */ r("svg", {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  width: "1rem",
7
7
  height: "1rem",
8
8
  viewBox: "0 0 24 24",
9
+ "aria-hidden": "true",
10
+ focusable: "false",
9
11
  ...o,
10
12
  children: /* @__PURE__ */ r("path", {
11
13
  fill: "currentColor",
@@ -14,5 +16,5 @@ function m(o) {
14
16
  });
15
17
  }
16
18
  export {
17
- m as DropDownIcon
19
+ l as DropDownIcon
18
20
  };
@@ -1,12 +1,14 @@
1
1
  import "react";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- function m(o) {
3
+ function l(e) {
4
4
  return /* @__PURE__ */ r("svg", {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  width: "1rem",
7
7
  height: "1rem",
8
8
  viewBox: "0 0 24 24",
9
- ...o,
9
+ "aria-hidden": "true",
10
+ focusable: "false",
11
+ ...e,
10
12
  children: /* @__PURE__ */ r("path", {
11
13
  fill: "currentColor",
12
14
  d: "m7 14l5-5l5 5z"
@@ -14,5 +16,5 @@ function m(o) {
14
16
  });
15
17
  }
16
18
  export {
17
- m as DropUpIcon
19
+ l as DropUpIcon
18
20
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.122.0",
6
+ "version": "3.123.1",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",