@akinon/akitable 1.3.9 → 1.3.11
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/cjs/components/datatable.css +1 -1
- package/dist/esm/components/datatable.css +1 -1
- package/package.json +16 -16
- package/dist/cjs/components/controls.css +0 -5
- package/dist/cjs/components/controls.d.ts +0 -4
- package/dist/cjs/components/controls.d.ts.map +0 -1
- package/dist/cjs/components/controls.js +0 -18
- package/dist/esm/components/controls.css +0 -5
- package/dist/esm/components/controls.d.ts +0 -4
- package/dist/esm/components/controls.d.ts.map +0 -1
- package/dist/esm/components/controls.js +0 -14
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
background-color: var(--color-red-425-10);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.akitable-wrapper .akinon-table-tbody tr:last-child td {
|
|
100
|
+
.akitable-wrapper .akinon-table-wrapper .akinon-table-tbody tr:last-child td {
|
|
101
101
|
border-bottom: 1px solid var(--color-neutral-350);
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
background-color: var(--color-red-425-10);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.akitable-wrapper .akinon-table-tbody tr:last-child td {
|
|
100
|
+
.akitable-wrapper .akinon-table-wrapper .akinon-table-tbody tr:last-child td {
|
|
101
101
|
border-bottom: 1px solid var(--color-neutral-350);
|
|
102
102
|
}
|
|
103
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/akitable",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
"clsx": "^2.1.1",
|
|
14
14
|
"react-error-boundary": "^6.0.0",
|
|
15
15
|
"@akinon/akiform": "1.1.9",
|
|
16
|
-
"@akinon/icons": "1.2.8",
|
|
17
16
|
"@akinon/akilocale": "1.2.8",
|
|
18
|
-
"@akinon/
|
|
19
|
-
"@akinon/ui-
|
|
20
|
-
"@akinon/ui-card": "1.2.
|
|
21
|
-
"@akinon/ui-
|
|
22
|
-
"@akinon/ui-
|
|
23
|
-
"@akinon/ui-
|
|
24
|
-
"@akinon/ui-
|
|
25
|
-
"@akinon/ui-
|
|
26
|
-
"@akinon/ui-select": "1.4.9",
|
|
17
|
+
"@akinon/icons": "1.3.0",
|
|
18
|
+
"@akinon/ui-button": "1.5.1",
|
|
19
|
+
"@akinon/ui-card": "1.2.9",
|
|
20
|
+
"@akinon/ui-input": "1.2.9",
|
|
21
|
+
"@akinon/ui-pagination": "1.4.11",
|
|
22
|
+
"@akinon/ui-progress": "1.2.9",
|
|
23
|
+
"@akinon/ui-result": "1.4.9",
|
|
24
|
+
"@akinon/ui-select": "1.4.11",
|
|
27
25
|
"@akinon/ui-skeleton": "1.1.8",
|
|
28
|
-
"@akinon/ui-
|
|
29
|
-
"@akinon/ui-
|
|
30
|
-
"@akinon/ui-
|
|
31
|
-
"@akinon/ui-table": "1.1.8"
|
|
26
|
+
"@akinon/ui-space": "1.4.9",
|
|
27
|
+
"@akinon/ui-spin": "1.4.9",
|
|
28
|
+
"@akinon/ui-steps": "1.3.1",
|
|
29
|
+
"@akinon/ui-table": "1.1.8",
|
|
30
|
+
"@akinon/ui-theme": "1.3.0",
|
|
31
|
+
"@akinon/ui-typography": "1.2.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"clean-package": "2.2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"rimraf": "^5.0.5",
|
|
37
37
|
"typescript": "*",
|
|
38
38
|
"@akinon/typescript-config": "1.1.8",
|
|
39
|
-
"@akinon/utils": "1.2.
|
|
39
|
+
"@akinon/utils": "1.2.10",
|
|
40
40
|
"@akinon/vitest-config": "1.1.8"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../src/components/controls.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,gBAAgB,gCAe5B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AkitableControls = void 0;
|
|
4
|
-
require("./controls.css");
|
|
5
|
-
const react_1 = require("react");
|
|
6
|
-
const akitable_context_1 = require("../akitable-context");
|
|
7
|
-
const actions_1 = require("./actions");
|
|
8
|
-
const pagination_1 = require("./pagination");
|
|
9
|
-
const AkitableControls = () => {
|
|
10
|
-
const { actions, pagination } = (0, akitable_context_1.useAkitableContext)();
|
|
11
|
-
if (!actions)
|
|
12
|
-
return null;
|
|
13
|
-
return (react_1.default.createElement("div", { "data-testid": "akitable-controls", className: "akitable-controls" },
|
|
14
|
-
actions && actions.length > 0 && react_1.default.createElement(actions_1.AkitableActions, null),
|
|
15
|
-
(pagination === null || pagination === void 0 ? void 0 : pagination.hasPagination) && (react_1.default.createElement("div", { "data-testid": "akitable-controls-pagination", className: "ml-auto" },
|
|
16
|
-
react_1.default.createElement(pagination_1.AkitablePagination, null)))));
|
|
17
|
-
};
|
|
18
|
-
exports.AkitableControls = AkitableControls;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../src/components/controls.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,gBAAgB,gCAe5B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import './controls.css';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { useAkitableContext } from '../akitable-context';
|
|
4
|
-
import { AkitableActions } from './actions';
|
|
5
|
-
import { AkitablePagination } from './pagination';
|
|
6
|
-
export const AkitableControls = () => {
|
|
7
|
-
const { actions, pagination } = useAkitableContext();
|
|
8
|
-
if (!actions)
|
|
9
|
-
return null;
|
|
10
|
-
return (React.createElement("div", { "data-testid": "akitable-controls", className: "akitable-controls" },
|
|
11
|
-
actions && actions.length > 0 && React.createElement(AkitableActions, null),
|
|
12
|
-
(pagination === null || pagination === void 0 ? void 0 : pagination.hasPagination) && (React.createElement("div", { "data-testid": "akitable-controls-pagination", className: "ml-auto" },
|
|
13
|
-
React.createElement(AkitablePagination, null)))));
|
|
14
|
-
};
|