diff --git a/package-lock.json b/package-lock.json index 7a7283ca7..aeacb87fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@material-ui/lab": "^4.0.0-alpha.61", "@material-ui/styles": "^4.11.4", "@reach/auto-id": "^0.16.0", - "@saleor/macaw-ui": "0.8.0-pre.81", + "@saleor/macaw-ui": "0.8.0-pre.86", "@saleor/sdk": "0.6.0", "@sentry/react": "^6.0.0", "@types/faker": "^5.1.6", @@ -7950,9 +7950,9 @@ } }, "node_modules/@saleor/macaw-ui": { - "version": "0.8.0-pre.81", - "resolved": "https://registry.npmjs.org/@saleor/macaw-ui/-/macaw-ui-0.8.0-pre.81.tgz", - "integrity": "sha512-6s15zUyn82492DwMDNm0yI6uAzik8t/OlI+LrH23L3EgzcyzprbA7DYzwcV4C7vlCEiMxywLnfS/0b1RYnhM1w==", + "version": "0.8.0-pre.86", + "resolved": "https://registry.npmjs.org/@saleor/macaw-ui/-/macaw-ui-0.8.0-pre.86.tgz", + "integrity": "sha512-5mUmvfFgrKS3z+uuDtjmcPPE90fTUaxjw9QFa6naGbdqzxH8FDv8nm+7ktkuPkkNQdV1ydrIpWaW/yHY0U07BA==", "dependencies": { "@dessert-box/react": "^0.4.0", "@floating-ui/react-dom-interactions": "^0.5.0", @@ -41317,9 +41317,9 @@ } }, "@saleor/macaw-ui": { - "version": "0.8.0-pre.81", - "resolved": "https://registry.npmjs.org/@saleor/macaw-ui/-/macaw-ui-0.8.0-pre.81.tgz", - "integrity": "sha512-6s15zUyn82492DwMDNm0yI6uAzik8t/OlI+LrH23L3EgzcyzprbA7DYzwcV4C7vlCEiMxywLnfS/0b1RYnhM1w==", + "version": "0.8.0-pre.86", + "resolved": "https://registry.npmjs.org/@saleor/macaw-ui/-/macaw-ui-0.8.0-pre.86.tgz", + "integrity": "sha512-5mUmvfFgrKS3z+uuDtjmcPPE90fTUaxjw9QFa6naGbdqzxH8FDv8nm+7ktkuPkkNQdV1ydrIpWaW/yHY0U07BA==", "requires": { "@dessert-box/react": "^0.4.0", "@floating-ui/react-dom-interactions": "^0.5.0", diff --git a/package.json b/package.json index f0ac6ba74..724141a3f 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@material-ui/lab": "^4.0.0-alpha.61", "@material-ui/styles": "^4.11.4", "@reach/auto-id": "^0.16.0", - "@saleor/macaw-ui": "0.8.0-pre.81", + "@saleor/macaw-ui": "0.8.0-pre.86", "@saleor/sdk": "0.6.0", "@sentry/react": "^6.0.0", "@types/faker": "^5.1.6", diff --git a/src/apps/components/AllAppList/AllAppList.tsx b/src/apps/components/AllAppList/AllAppList.tsx index cbf7fcaf6..21f4775fd 100644 --- a/src/apps/components/AllAppList/AllAppList.tsx +++ b/src/apps/components/AllAppList/AllAppList.tsx @@ -27,7 +27,7 @@ const AllAppList: React.FC = ({ } return ( - + {appsPairs.map(appPair => ( = ({ if (!data) { return ( - +
@@ -39,7 +39,7 @@ const HeaderOptions: React.FC = ({ } return ( - +
= ({ return ( - + = ({ - + diff --git a/src/apps/components/AppListPage/AppListPage.tsx b/src/apps/components/AppListPage/AppListPage.tsx index c810ba865..6355153dc 100644 --- a/src/apps/components/AppListPage/AppListPage.tsx +++ b/src/apps/components/AppListPage/AppListPage.tsx @@ -80,15 +80,15 @@ export const AppListPage: React.FC = props => { display="flex" flexDirection="column" alignItems="center" - marginY={8} + marginY="s5" > - + {nothingInstalled && ( - + {intl.formatMessage(messages.installedApps)} - + {intl.formatMessage(messages.nothingInstalledPlaceholder)} @@ -97,7 +97,7 @@ export const AppListPage: React.FC = props => { )} {sectionsAvailability.installed && ( <> - + {intl.formatMessage(messages.installedApps)} @@ -113,7 +113,7 @@ export const AppListPage: React.FC = props => { )} {sectionsAvailability.all && !marketplaceError && ( - + = props => { )} {sectionsAvailability.comingSoon && !marketplaceError && ( - + = ({ {githubForkHandler && ( - - + + - + {permissions.map(permission => ( diff --git a/src/custom-apps/components/WebhookDetailsPage/WebhookDetailsPage.tsx b/src/custom-apps/components/WebhookDetailsPage/WebhookDetailsPage.tsx index 5e5825fd1..8b8dcef9c 100644 --- a/src/custom-apps/components/WebhookDetailsPage/WebhookDetailsPage.tsx +++ b/src/custom-apps/components/WebhookDetailsPage/WebhookDetailsPage.tsx @@ -117,7 +117,7 @@ const WebhookDetailsPage: React.FC = ({ - + diff --git a/src/giftCards/GiftCardSettings/GiftCardSettingsPage.tsx b/src/giftCards/GiftCardSettings/GiftCardSettingsPage.tsx index ec48c153b..2bd2da47a 100644 --- a/src/giftCards/GiftCardSettings/GiftCardSettingsPage.tsx +++ b/src/giftCards/GiftCardSettings/GiftCardSettingsPage.tsx @@ -68,7 +68,7 @@ const GiftCardSettingsPage: React.FC = () => {
{({ data: formData, submit, change }) => ( <> - +
diff --git a/src/giftCards/GiftCardUpdate/GiftCardHistory/styles.ts b/src/giftCards/GiftCardUpdate/GiftCardHistory/styles.ts index 2c0d7155c..e523cf0a2 100644 --- a/src/giftCards/GiftCardUpdate/GiftCardHistory/styles.ts +++ b/src/giftCards/GiftCardUpdate/GiftCardHistory/styles.ts @@ -5,12 +5,12 @@ const useStyles = makeStyles( { header: { fontWeight: 500, - marginBottom: vars.space[1], + marginBottom: vars.space.spx, }, root: { - marginTop: vars.space[4], - paddingLeft: vars.space[9], - paddingRight: vars.space[9], + marginTop: vars.space["s1.5"], + paddingLeft: vars.space.s6, + paddingRight: vars.space.s6, }, }, { name: "GiftCardHistory" }, diff --git a/src/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsx b/src/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsx index d97a24363..af5af5e77 100644 --- a/src/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsx +++ b/src/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsx @@ -17,12 +17,12 @@ const HomeAnalyticsCard: React.FC = props => { borderStyle="solid" borderColor="neutralPlain" borderRadius={3} - padding={8} + padding="s5" display="flex" justifyContent="space-between" data-test-id={testId} > - + {title} diff --git a/src/home/components/HomeNotificationTable/HomeNotificationTable.tsx b/src/home/components/HomeNotificationTable/HomeNotificationTable.tsx index 29f8a12b7..42d02adb3 100644 --- a/src/home/components/HomeNotificationTable/HomeNotificationTable.tsx +++ b/src/home/components/HomeNotificationTable/HomeNotificationTable.tsx @@ -35,8 +35,8 @@ const useStyles = makeStyles( cursor: "pointer", /* Table to be replaced with Box */ "& .MuiTableCell-root": { - paddingLeft: `${vars.space[8]} !important`, - paddingRight: `${vars.space[8]} !important`, + paddingLeft: `${vars.space.s5} !important`, + paddingRight: `${vars.space.s5} !important`, }, }, cardContent: { diff --git a/src/home/components/HomePage/HomePage.tsx b/src/home/components/HomePage/HomePage.tsx index db28c6f43..a353153ec 100644 --- a/src/home/components/HomePage/HomePage.tsx +++ b/src/home/components/HomePage/HomePage.tsx @@ -55,7 +55,7 @@ const HomePage: React.FC = props => { } /> - + = props => { = ({ {({ change, data, submit }) => ( - + {intl.formatMessage(sectionNames.navigation)} diff --git a/src/orders/components/OrderChangeWarehouseDialog/OrderChangeWarehouseDialog.tsx b/src/orders/components/OrderChangeWarehouseDialog/OrderChangeWarehouseDialog.tsx index 48f205533..ead32f316 100644 --- a/src/orders/components/OrderChangeWarehouseDialog/OrderChangeWarehouseDialog.tsx +++ b/src/orders/components/OrderChangeWarehouseDialog/OrderChangeWarehouseDialog.tsx @@ -150,7 +150,7 @@ export const OrderChangeWarehouseDialog: React.FC< - + {filteredWarehouses ? ( = props => { + {order?.number ? "#" + order?.number : undefined}
{order && order.created ? ( diff --git a/src/orders/components/OrderDraftPage/styles.ts b/src/orders/components/OrderDraftPage/styles.ts index 4ec884072..13a3b6e43 100644 --- a/src/orders/components/OrderDraftPage/styles.ts +++ b/src/orders/components/OrderDraftPage/styles.ts @@ -7,7 +7,7 @@ export const useAlertStyles = makeStyles( marginBottom: theme.spacing(3), "& .MuiCardContent-root": { backgroundColor: "unset", - paddingRight: vars.space[11], + paddingRight: vars.space.s8, }, }, }), diff --git a/src/orders/components/OrderFulfilledProductsCard/ExtraInfoLines.tsx b/src/orders/components/OrderFulfilledProductsCard/ExtraInfoLines.tsx index 662fcdf73..9fc287756 100644 --- a/src/orders/components/OrderFulfilledProductsCard/ExtraInfoLines.tsx +++ b/src/orders/components/OrderFulfilledProductsCard/ExtraInfoLines.tsx @@ -25,7 +25,7 @@ const ExtraInfoLines: React.FC = ({ fulfillment }) => { return ( = props => { onInvoiceGenerate && (