@pisell/materials 1.0.17 → 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.
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.707 4.293a1 1 0 0 1 0 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l5.293 5.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-5.293-5.293a1 1 0 0 1 0-1.414Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm11.258-3.976a2 2 0 0 0-2.225 1.308 1 1 0 1 1-1.886-.664 4 4 0 0 1 7.773 1.333c0 1.53-1.135 2.54-1.945 3.081a8.044 8.044 0 0 1-1.686.848l-.035.013-.011.003-.004.002h-.002L11.92 13l.316.949a1 1 0 0 1-.633-1.897l.016-.006.074-.027a6.051 6.051 0 0 0 1.172-.6c.69-.46 1.055-.95 1.055-1.419v-.001a2 2 0 0 0-1.662-1.975ZM11 17a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.293 3.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L8 6.414V20a1 1 0 1 1-2 0V6.414L3.707 8.707a1 1 0 0 1-1.414-1.414l4-4ZM16 17.586V4a1 1 0 1 1 2 0v13.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L16 17.586Z"/></svg>
@@ -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;
package/es/index.d.ts CHANGED
@@ -43,7 +43,6 @@ export { default as Checkbox } from './components/checkbox';
43
43
  export { default as Button } from './components/button';
44
44
  export { default as Radio } from './components/radio';
45
45
  export { default as Upload } from './components/upload';
46
- export { default as Icon } from './components/icon';
47
46
  export { default as Form } from './components/form';
48
47
  export { default as Dropdown } from './components/dropdown';
49
48
  export { default as Calendar } from './components/calendar';
package/es/index.js CHANGED
@@ -68,7 +68,9 @@ export { default as Checkbox } from "./components/checkbox";
68
68
  export { default as Button } from "./components/button";
69
69
  export { default as Radio } from "./components/radio";
70
70
  export { default as Upload } from "./components/upload";
71
- export { default as Icon } from "./components/icon";
71
+
72
+ // export { default as Icon } from './components/icon';
73
+
72
74
  export { default as Form } from "./components/form";
73
75
  export { default as Dropdown } from "./components/dropdown";
74
76
  export { default as Calendar } from "./components/calendar";
@@ -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/lib/index.d.ts CHANGED
@@ -43,7 +43,6 @@ export { default as Checkbox } from './components/checkbox';
43
43
  export { default as Button } from './components/button';
44
44
  export { default as Radio } from './components/radio';
45
45
  export { default as Upload } from './components/upload';
46
- export { default as Icon } from './components/icon';
47
46
  export { default as Form } from './components/form';
48
47
  export { default as Dropdown } from './components/dropdown';
49
48
  export { default as Calendar } from './components/calendar';
package/lib/index.js CHANGED
@@ -54,7 +54,6 @@ __export(src_exports, {
54
54
  Empty: () => import_antd13.Empty,
55
55
  Form: () => import_form.default,
56
56
  Grid: () => import_antd14.Grid,
57
- Icon: () => import_icon.default,
58
57
  Image: () => import_antd15.Image,
59
58
  Input: () => import_input.default,
60
59
  InputNumber: () => import_antd16.InputNumber,
@@ -140,7 +139,6 @@ var import_checkbox = __toESM(require("./components/checkbox"));
140
139
  var import_button = __toESM(require("./components/button"));
141
140
  var import_radio = __toESM(require("./components/radio"));
142
141
  var import_upload = __toESM(require("./components/upload"));
143
- var import_icon = __toESM(require("./components/icon"));
144
142
  var import_form = __toESM(require("./components/form"));
145
143
  var import_dropdown = __toESM(require("./components/dropdown"));
146
144
  var import_calendar = __toESM(require("./components/calendar"));
@@ -186,7 +184,6 @@ var import_page = __toESM(require("./components/page"));
186
184
  Empty,
187
185
  Form,
188
186
  Grid,
189
- Icon,
190
187
  Image,
191
188
  Input,
192
189
  InputNumber,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.17",
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,8 +13,8 @@
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",
17
- "@pisell/build-plugin-lowcode": "1.0.3",
16
+ "build-scripts": "^1.0.0",
17
+ "@pisell/build-plugin-lowcode": "^1.0.8",
18
18
  "@types/react": "^18.0.0",
19
19
  "@types/react-dom": "^18.0.0",
20
20
  "@alilc/lowcode-utils": "1.1.6",
@@ -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"
@@ -35,7 +38,8 @@
35
38
  "package.json",
36
39
  "README.md",
37
40
  "build",
38
- "lowcode"
41
+ "lowcode",
42
+ "dist"
39
43
  ],
40
44
  "dependencies": {
41
45
  "antd": "^5.6.3",
@@ -61,7 +65,7 @@
61
65
  },
62
66
  "scripts": {
63
67
  "dev": "father dev",
64
- "build": "father build && build-scripts build --config ./build.lowcode.js",
68
+ "build": "ANALYZE=1 father build",
65
69
  "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
66
70
  "lowcode:build": " build-scripts build --config ./build.lowcode.js"
67
71
  }