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.
- package/dist/asma-ui-core.css +1 -1
- package/dist/components/custom/pathfinder-card/PathfinderCard.js +16 -16
- package/dist/index.js +66 -63
- package/dist/src/table/components/table-header/SortIndicator.d.ts +12 -0
- package/dist/src/table/custom-features/order-columns/columnLayout.d.ts +24 -0
- package/dist/src/table/custom-features/order-columns/columnLayout.test.d.ts +1 -0
- package/dist/src/table/custom-features/order-columns/types.d.ts +8 -0
- package/dist/src/table/custom-features/order-columns/usePersistColumnOrder.d.ts +5 -0
- package/dist/src/table/helpers/columnIds.d.ts +27 -0
- package/dist/src/table/helpers/columnIds.test.d.ts +1 -0
- package/dist/src/table/helpers/tableStorage.d.ts +12 -0
- package/dist/src/table/helpers/tableStorage.test.d.ts +1 -0
- package/dist/src/table/hooks/useColumnSizingPersistence.d.ts +16 -3
- package/dist/src/table/hooks/useColumnSizingPersistence.test.d.ts +1 -0
- package/dist/src/table/hooks/usePersistedSorting.d.ts +54 -0
- package/dist/src/table/hooks/usePersistedSorting.test.d.ts +1 -0
- package/dist/src/table/hooks/usePersistedStateWriter.d.ts +30 -0
- package/dist/src/table/hooks/useTranslations.d.ts +6 -4
- package/dist/src/table/index.d.ts +1 -0
- package/dist/src/table/types.d.ts +9 -2
- package/dist/table/components/StyledTable.module.js +59 -56
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +61 -54
- package/dist/table/components/columns/action-column/components/TableActions.module.js +4 -4
- package/dist/table/components/table-header/SortIndicator.js +23 -0
- package/dist/table/components/table-header/TableHeader.js +30 -30
- package/dist/table/components/table-header/TableHeaderCell.js +30 -31
- package/dist/table/custom-features/order-columns/OrderColumnsFeature.js +7 -8
- package/dist/table/custom-features/order-columns/columnLayout.js +9 -0
- package/dist/table/custom-features/order-columns/usePersistColumnOrder.js +12 -11
- package/dist/table/custom-features/order-columns/usePersistedColumnOrder.js +7 -12
- package/dist/table/helpers/columnIds.js +28 -0
- package/dist/table/helpers/tableStorage.js +33 -0
- package/dist/table/hooks/useColumnSizingPersistence.js +16 -34
- package/dist/table/hooks/usePersistedPageSize.js +11 -16
- package/dist/table/hooks/usePersistedSorting.js +58 -0
- package/dist/table/hooks/usePersistedStateWriter.js +36 -0
- package/dist/table/hooks/useStyledTable.js +90 -60
- package/dist/table/hooks/useTranslations.js +13 -11
- package/dist/table/index.js +3 -2
- package/dist/table/shared-components/DropDownIcon.js +4 -2
- package/dist/table/shared-components/DropUpIcon.js +5 -3
- package/package.json +1 -1
package/dist/table/index.js
CHANGED
|
@@ -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
|
|
5
|
+
import { createColumnHelper as S } from "@tanstack/react-table";
|
|
5
6
|
export {
|
|
6
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
19
|
+
l as DropUpIcon
|
|
18
20
|
};
|