@pisell/materials 1.0.18 → 1.0.19

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.
@@ -16,7 +16,6 @@
16
16
  margin-right: auto;
17
17
  color: var(--gray-500, #667085);
18
18
  /* Text sm/Medium */
19
- font-family: Inter;
20
19
  font-size: 14px;
21
20
  font-style: normal;
22
21
  font-weight: 500;
@@ -63,12 +63,12 @@ var BasicTable = function BasicTable(props) {
63
63
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Table, _extends({}, other, {
64
64
  pagination: false,
65
65
  dataSource: _dataSource === null || _dataSource === void 0 ? void 0 : _dataSource.list
66
- })), /*#__PURE__*/React.createElement(Pagination, _extends({}, pagination, {
66
+ })), total > pageSize ? /*#__PURE__*/React.createElement(Pagination, _extends({}, pagination, {
67
67
  current: currentPage,
68
68
  pageSize: pageSize,
69
69
  onShowSizeChange: onPaginationChange,
70
70
  onChange: onPaginationChange,
71
71
  total: total
72
- })));
72
+ })) : null);
73
73
  };
74
74
  export default BasicTable;
@@ -93,7 +93,7 @@ var CellProvider = function CellProvider(props) {
93
93
  ,
94
94
  onBlur: save,
95
95
  style: {
96
- height: '100%'
96
+ height: "100%"
97
97
  },
98
98
  bordered: false
99
99
  });
@@ -8,7 +8,7 @@
8
8
  justify-content: center;
9
9
  border-radius: 4px;
10
10
  padding: 12px;
11
- cursor: pointer;
11
+ // cursor: pointer;
12
12
 
13
13
  &.focus {
14
14
  box-shadow: var(--theme-color) 0px 0px 0px 1px !important;
@@ -16,7 +16,6 @@
16
16
  margin-right: auto;
17
17
  color: var(--gray-500, #667085);
18
18
  /* Text sm/Medium */
19
- font-family: Inter;
20
19
  font-size: 14px;
21
20
  font-style: normal;
22
21
  font-weight: 500;
@@ -62,7 +62,7 @@ var BasicTable = (props) => {
62
62
  setCurrentPage(page);
63
63
  setPageSize(pageSize2);
64
64
  };
65
- return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(import_antd.Table, { ...other, pagination: false, dataSource: _dataSource == null ? void 0 : _dataSource.list }), /* @__PURE__ */ import_react.default.createElement(
65
+ return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(import_antd.Table, { ...other, pagination: false, dataSource: _dataSource == null ? void 0 : _dataSource.list }), total > pageSize ? /* @__PURE__ */ import_react.default.createElement(
66
66
  import_Pagination.default,
67
67
  {
68
68
  ...pagination,
@@ -72,6 +72,6 @@ var BasicTable = (props) => {
72
72
  onChange: onPaginationChange,
73
73
  total
74
74
  }
75
- ));
75
+ ) : null);
76
76
  };
77
77
  var BasicTable_default = BasicTable;
@@ -8,7 +8,7 @@
8
8
  justify-content: center;
9
9
  border-radius: 4px;
10
10
  padding: 12px;
11
- cursor: pointer;
11
+ // cursor: pointer;
12
12
 
13
13
  &.focus {
14
14
  box-shadow: var(--theme-color) 0px 0px 0px 1px !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "lodash": "^4.17.21",
14
14
  "react": "^18.0.0",
15
15
  "react-dom": "^18.0.0",
16
- "@alib/build-scripts": "^0.1.32",
16
+ "build-scripts": "^1.0.0",
17
17
  "@pisell/build-plugin-lowcode": "^1.0.8",
18
18
  "@types/react": "^18.0.0",
19
19
  "@types/react-dom": "^18.0.0",
@@ -24,7 +24,10 @@
24
24
  "@alilc/lowcode-types": "1.1.7",
25
25
  "@svgr/webpack": "^5.5.0",
26
26
  "url-loader": "^4.1.1",
27
- "@alilc/build-plugin-alt": "^1.3.3"
27
+ "@alilc/build-plugin-alt": "^1.3.3",
28
+ "webpack": "^4.27.1",
29
+ "webpack-dev-server": "^4.0.0",
30
+ "build-plugin-component": "^1.6.5"
28
31
  },
29
32
  "publishConfig": {
30
33
  "access": "public"