@kmkf-fe-packages/basic-components 0.24.1-alpha.4 → 0.24.1-alpha.5

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/index.esm.js CHANGED
@@ -8941,7 +8941,7 @@ var ChooseBaby = function ChooseBaby(props) {
8941
8941
  }));
8942
8942
  };
8943
8943
 
8944
- var css_248z$6 = ".goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n.goodsBox.single-row .goodBox-Img.rich-item.with-pic,\n.goodsBox.single-row .goodBox-Img.rich-item.with-attr,\n.goodsBox.single-row .goodBox-Img.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n.goodsBox.single-row .goodBox-Img.rich-item .right-context {\n flex-grow: 1;\n flex-shrink: 1;\n}\n.goodsBox.single-row .goodBox-Img.rich-item .right-context .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n.goodsBox.single-row .goodBox-Img.rich-item .right-context .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n.goodBox-Img.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: wrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n.goodBox-Img.rich-item.with-pic {\n flex-basis: 90px;\n}\n.goodBox-Img.rich-item.with-attr {\n flex-basis: 150px;\n}\n.goodBox-Img.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n.goodBox-Img.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n.goodBox-Img.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n.goodBox-Img.rich-item .goods-imgBox {\n margin-bottom: 0;\n}\n.goodBox-Img.rich-item .right-context div {\n display: flex;\n}\n.goodBox-Img.rich-item .right-context div:not(:first-child) {\n margin-top: 4px;\n}\n";
8944
+ var css_248z$6 = ".goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-box.rich-item.with-pic,\n.goodsBox.single-row .good-box.rich-item.with-attr,\n.goodsBox.single-row .good-box.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-box.rich-item .right-context {\n flex-grow: 1;\n flex-shrink: 1;\n}\n.goodsBox.single-row .good-box.rich-item .right-context .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n.goodsBox.single-row .good-box.rich-item .right-context .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n.good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n.good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n.good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n.good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n.good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n.good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n.good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n.good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n.good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.good-item.rich-item .good-attrs div {\n display: flex;\n}\n.good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
8945
8945
  styleInject(css_248z$6);
8946
8946
 
8947
8947
  var GoodItem = function GoodItem(props) {
@@ -9176,7 +9176,7 @@ var GoodItem = function GoodItem(props) {
9176
9176
  }];
9177
9177
  var hasPic = headerList.includes('picUrl');
9178
9178
  var hasAttr = hasPic ? headerList.length > 1 : headerList.length > 0;
9179
- return /*#__PURE__*/React.createElement(React.Fragment, null, imgList.length === 0 ? /*#__PURE__*/React.createElement("p", {
9179
+ return /*#__PURE__*/React.createElement("div", null, imgList.length === 0 ? /*#__PURE__*/React.createElement("p", {
9180
9180
  className: "goods-title"
9181
9181
  }, "\u6700\u591A\u6DFB\u52A0", maxLength, "\u4E2A\u5B9D\u8D1D") : /*#__PURE__*/React.createElement("p", {
9182
9182
  className: "goods-uploaded-state"
@@ -9188,7 +9188,7 @@ var GoodItem = function GoodItem(props) {
9188
9188
  }, imgList === null || imgList === void 0 ? void 0 : imgList.map(function (img, index) {
9189
9189
  return /*#__PURE__*/React.createElement("div", {
9190
9190
  key: index,
9191
- className: "goodBox-Img rich-item".concat(hasPic ? ' with-pic' : '').concat(hasAttr ? ' with-attr' : '')
9191
+ className: "good-item rich-item".concat(hasPic ? ' with-pic' : '').concat(hasAttr ? ' with-attr' : '')
9192
9192
  }, !disabled && /*#__PURE__*/React.createElement("img", {
9193
9193
  src: iconDelete,
9194
9194
  alt: "",
@@ -9197,7 +9197,7 @@ var GoodItem = function GoodItem(props) {
9197
9197
  handleDelete(index);
9198
9198
  }
9199
9199
  }), hasPic && /*#__PURE__*/React.createElement("div", {
9200
- className: "goods-imgBox",
9200
+ className: "good-img",
9201
9201
  key: "".concat(img.picUrl, "-").concat(index, "-goods")
9202
9202
  }, img.platform !== 'taobao' ? /*#__PURE__*/React.createElement("img", {
9203
9203
  src: img.picUrl || defaultImg,
@@ -9211,7 +9211,7 @@ var GoodItem = function GoodItem(props) {
9211
9211
  className: "img",
9212
9212
  alt: ""
9213
9213
  }))), /*#__PURE__*/React.createElement("div", {
9214
- className: "right-context",
9214
+ className: "good-attrs",
9215
9215
  key: "".concat(img.picUrl, "-").concat(index, "-context")
9216
9216
  }, goodItemAttrs.map(function (item) {
9217
9217
  return item.isShow && /*#__PURE__*/React.createElement("div", {
package/dist/index.js CHANGED
@@ -8952,7 +8952,7 @@ var ChooseBaby = function ChooseBaby(props) {
8952
8952
  }));
8953
8953
  };
8954
8954
 
8955
- var css_248z$6 = ".goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n.goodsBox.single-row .goodBox-Img.rich-item.with-pic,\n.goodsBox.single-row .goodBox-Img.rich-item.with-attr,\n.goodsBox.single-row .goodBox-Img.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n.goodsBox.single-row .goodBox-Img.rich-item .right-context {\n flex-grow: 1;\n flex-shrink: 1;\n}\n.goodsBox.single-row .goodBox-Img.rich-item .right-context .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n.goodsBox.single-row .goodBox-Img.rich-item .right-context .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n.goodBox-Img.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: wrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n.goodBox-Img.rich-item.with-pic {\n flex-basis: 90px;\n}\n.goodBox-Img.rich-item.with-attr {\n flex-basis: 150px;\n}\n.goodBox-Img.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n.goodBox-Img.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n.goodBox-Img.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n.goodBox-Img.rich-item .goods-imgBox {\n margin-bottom: 0;\n}\n.goodBox-Img.rich-item .right-context div {\n display: flex;\n}\n.goodBox-Img.rich-item .right-context div:not(:first-child) {\n margin-top: 4px;\n}\n";
8955
+ var css_248z$6 = ".goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-box.rich-item.with-pic,\n.goodsBox.single-row .good-box.rich-item.with-attr,\n.goodsBox.single-row .good-box.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-box.rich-item .right-context {\n flex-grow: 1;\n flex-shrink: 1;\n}\n.goodsBox.single-row .good-box.rich-item .right-context .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n.goodsBox.single-row .good-box.rich-item .right-context .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n.good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n.good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n.good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n.good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n.good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n.good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n.good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n.good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n.good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.good-item.rich-item .good-attrs div {\n display: flex;\n}\n.good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
8956
8956
  styleInject(css_248z$6);
8957
8957
 
8958
8958
  var GoodItem = function GoodItem(props) {
@@ -9187,7 +9187,7 @@ var GoodItem = function GoodItem(props) {
9187
9187
  }];
9188
9188
  var hasPic = headerList.includes('picUrl');
9189
9189
  var hasAttr = hasPic ? headerList.length > 1 : headerList.length > 0;
9190
- return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, imgList.length === 0 ? /*#__PURE__*/React__default['default'].createElement("p", {
9190
+ return /*#__PURE__*/React__default['default'].createElement("div", null, imgList.length === 0 ? /*#__PURE__*/React__default['default'].createElement("p", {
9191
9191
  className: "goods-title"
9192
9192
  }, "\u6700\u591A\u6DFB\u52A0", maxLength, "\u4E2A\u5B9D\u8D1D") : /*#__PURE__*/React__default['default'].createElement("p", {
9193
9193
  className: "goods-uploaded-state"
@@ -9199,7 +9199,7 @@ var GoodItem = function GoodItem(props) {
9199
9199
  }, imgList === null || imgList === void 0 ? void 0 : imgList.map(function (img, index) {
9200
9200
  return /*#__PURE__*/React__default['default'].createElement("div", {
9201
9201
  key: index,
9202
- className: "goodBox-Img rich-item".concat(hasPic ? ' with-pic' : '').concat(hasAttr ? ' with-attr' : '')
9202
+ className: "good-item rich-item".concat(hasPic ? ' with-pic' : '').concat(hasAttr ? ' with-attr' : '')
9203
9203
  }, !disabled && /*#__PURE__*/React__default['default'].createElement("img", {
9204
9204
  src: iconDelete,
9205
9205
  alt: "",
@@ -9208,7 +9208,7 @@ var GoodItem = function GoodItem(props) {
9208
9208
  handleDelete(index);
9209
9209
  }
9210
9210
  }), hasPic && /*#__PURE__*/React__default['default'].createElement("div", {
9211
- className: "goods-imgBox",
9211
+ className: "good-img",
9212
9212
  key: "".concat(img.picUrl, "-").concat(index, "-goods")
9213
9213
  }, img.platform !== 'taobao' ? /*#__PURE__*/React__default['default'].createElement("img", {
9214
9214
  src: img.picUrl || defaultImg,
@@ -9222,7 +9222,7 @@ var GoodItem = function GoodItem(props) {
9222
9222
  className: "img",
9223
9223
  alt: ""
9224
9224
  }))), /*#__PURE__*/React__default['default'].createElement("div", {
9225
- className: "right-context",
9225
+ className: "good-attrs",
9226
9226
  key: "".concat(img.picUrl, "-").concat(index, "-context")
9227
9227
  }, goodItemAttrs.map(function (item) {
9228
9228
  return item.isShow && /*#__PURE__*/React__default['default'].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.24.1-alpha.4",
3
+ "version": "0.24.1-alpha.5",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "8b1fad185651cc39d945fa3a0a869f843d4c392b"
67
+ "gitHead": "80ad0e620b472074e6d56b101f9f1a77ec630c61"
68
68
  }