@weareconceptstudio/account 0.3.6 → 0.3.7
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/components/TotalCheckout/CommentComp/index.d.ts +3 -1
- package/dist/components/TotalCheckout/CommentComp/index.js +1 -1
- package/dist/modules/address/ShippingBillingInfo/index.js +1 -1
- package/dist/modules/cart/SimpleItems/index.js +2 -2
- package/dist/modules/payment/PaymentMethods/index.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { CollapseContainer, CollapseItem, Text } from '@weareconceptstudio/core';
|
|
3
3
|
import { Input } from '@weareconceptstudio/form';
|
|
4
4
|
import CommentCompStyle from './style';
|
|
5
|
-
const CommentComp = () => {
|
|
5
|
+
const CommentComp = ({ fillCheckoutData }) => {
|
|
6
6
|
return (React.createElement(CommentCompStyle, { className: 'collapse-distance' },
|
|
7
7
|
React.createElement(CollapseContainer, null,
|
|
8
8
|
React.createElement(CollapseItem, { status: 'open', title: React.createElement(React.Fragment, null,
|
|
@@ -11,6 +11,6 @@ const ShippingBillingInfo = memo(({ className, shipping_address, billing_address
|
|
|
11
11
|
React.createElement("div", { className: `info-space-line` }),
|
|
12
12
|
React.createElement("div", { className: `info-wrap shipped` },
|
|
13
13
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1 value`, text: `shippedTo` }),
|
|
14
|
-
shipping_address.map((item) => (React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 nowrap`, text: item }))))));
|
|
14
|
+
shipping_address.map((item, index) => (React.createElement(Text, { key: index, className: `account-p account-p3 account-font-regular account-primary-color1 nowrap`, text: item }))))));
|
|
15
15
|
});
|
|
16
16
|
export default ShippingBillingInfo;
|
|
@@ -11,7 +11,7 @@ const CartItems = memo(({ data, className, title, smallFontSize, additionalParam
|
|
|
11
11
|
const { winWidth } = useUi();
|
|
12
12
|
const { maxQty, currency } = useAccountContext();
|
|
13
13
|
//! Store
|
|
14
|
-
const
|
|
14
|
+
const itemsStore = useMemo(() => {
|
|
15
15
|
return winWidth >= 768 ? (React.createElement("div", { className: `order-items-table-wrap` },
|
|
16
16
|
React.createElement("div", { className: `titles-wrap` },
|
|
17
17
|
React.createElement("div", { className: `title-wrap tl-col-1` },
|
|
@@ -37,6 +37,6 @@ const CartItems = memo(({ data, className, title, smallFontSize, additionalParam
|
|
|
37
37
|
React.createElement(Text, { className: `account-p ${smallFontSize ? 'account-p2' : 'account-p1'} account-font-bold account-primary-color1 cart-items-title2-version`, text: title }),
|
|
38
38
|
React.createElement(AccountButton, { url: '/cart/', text: `editCart`, btnType: `green-small-text`, className: 'cart-items-edit-btn' }))) : (React.createElement(Text, { className: `account-p ${smallFontSize ? 'account-p2' : 'account-p1'} account-font-bold account-primary-color1 cart-items-title1-version`, text: title })),
|
|
39
39
|
additionalParameters.horizontalLine ? React.createElement("div", { className: `order-items-line` }) : null,
|
|
40
|
-
|
|
40
|
+
itemsStore));
|
|
41
41
|
});
|
|
42
42
|
export default CartItems;
|