@pisell/materials 2.2.46 → 2.2.48
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/build/lowcode/assets-daily.json +11 -15
- package/build/lowcode/assets-dev.json +2 -6
- package/build/lowcode/assets-prod.json +11 -15
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +142 -142
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +16 -16
- package/es/components/pisellDropdown/index.less +8 -8
- package/es/components/productCard/index.js +4 -3
- package/es/components/productCard/index.less +2 -2
- package/lib/components/pisellDropdown/index.less +8 -8
- package/lib/components/productCard/index.js +1 -8
- package/lib/components/productCard/index.less +2 -2
- package/package.json +3 -3
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.ant-dropdown-menu-item {
|
|
37
|
-
|
|
36
|
+
// .ant-dropdown-menu-item {
|
|
37
|
+
// padding: 0 !important;
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
39
|
+
// &:hover {
|
|
40
|
+
// .pisell-dropdown-item {
|
|
41
|
+
// background-color: #f5f5f5;
|
|
42
|
+
// }
|
|
43
|
+
// }
|
|
44
|
+
// }
|
|
@@ -88,11 +88,12 @@ var ProductCard = function ProductCard(props) {
|
|
|
88
88
|
return /*#__PURE__*/React.createElement("div", {
|
|
89
89
|
className: classNames('pisell-lowcode-product-card-wrap', _defineProperty({}, 'pisell-lowcode-product-card-disabled', dataSource === null || dataSource === void 0 ? void 0 : dataSource.disabled))
|
|
90
90
|
}, (dataSource === null || dataSource === void 0 ? void 0 : dataSource.disabled) && /*#__PURE__*/React.createElement("div", {
|
|
91
|
-
className: "delete-btn-wrapper"
|
|
92
|
-
|
|
91
|
+
className: "delete-btn-wrapper"
|
|
92
|
+
}, /*#__PURE__*/React.createElement(DeleteButton, {
|
|
93
|
+
onDelete: function onDelete() {
|
|
93
94
|
return _onDelete === null || _onDelete === void 0 ? void 0 : _onDelete(dataSource);
|
|
94
95
|
}
|
|
95
|
-
}
|
|
96
|
+
})), /*#__PURE__*/React.createElement(CardPro, {
|
|
96
97
|
className: classNames('pisell-lowcode-product-card', (_classNames2 = {}, _defineProperty(_classNames2, 'pisell-lowcode-product-card-image', !showImage), _defineProperty(_classNames2, 'pisell-lowcode-normal-product-card', !showImage && isNormalProduct), _classNames2)),
|
|
97
98
|
key: _id
|
|
98
99
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.ant-dropdown-menu-item {
|
|
37
|
-
|
|
36
|
+
// .ant-dropdown-menu-item {
|
|
37
|
+
// padding: 0 !important;
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
39
|
+
// &:hover {
|
|
40
|
+
// .pisell-dropdown-item {
|
|
41
|
+
// background-color: #f5f5f5;
|
|
42
|
+
// }
|
|
43
|
+
// }
|
|
44
|
+
// }
|
|
@@ -96,14 +96,7 @@ var ProductCard = (props) => {
|
|
|
96
96
|
["pisell-lowcode-product-card-disabled"]: dataSource == null ? void 0 : dataSource.disabled
|
|
97
97
|
})
|
|
98
98
|
},
|
|
99
|
-
(dataSource == null ? void 0 : dataSource.disabled) && /* @__PURE__ */ import_react.default.createElement(
|
|
100
|
-
"div",
|
|
101
|
-
{
|
|
102
|
-
className: "delete-btn-wrapper",
|
|
103
|
-
onClick: () => onDelete == null ? void 0 : onDelete(dataSource)
|
|
104
|
-
},
|
|
105
|
-
/* @__PURE__ */ import_react.default.createElement(import_DeleteButton.default, null)
|
|
106
|
-
),
|
|
99
|
+
(dataSource == null ? void 0 : dataSource.disabled) && /* @__PURE__ */ import_react.default.createElement("div", { className: "delete-btn-wrapper" }, /* @__PURE__ */ import_react.default.createElement(import_DeleteButton.default, { onDelete: () => onDelete == null ? void 0 : onDelete(dataSource) })),
|
|
107
100
|
/* @__PURE__ */ import_react.default.createElement(
|
|
108
101
|
import_cardPro.default,
|
|
109
102
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.48",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@zxing/library": "0.21.2",
|
|
66
66
|
"swiper": "^8.4.7",
|
|
67
67
|
"@pisell/utils": "2.0.1",
|
|
68
|
-
"@pisell/
|
|
69
|
-
"@pisell/
|
|
68
|
+
"@pisell/date-picker": "1.0.101",
|
|
69
|
+
"@pisell/icon": "0.0.11"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"react": "^18.0.0",
|