@graphcommerce/magento-cart 9.0.3 → 9.0.4-canary.1
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/CHANGELOG.md +2 -10
- package/components/ApolloCartError/ApolloCartErrorFullPage.tsx +1 -1
- package/components/CartAgreementsForm/CartAgreementsForm.tsx +2 -1
- package/components/CartFab/CartFab.tsx +2 -2
- package/components/CartItemSummary/CartItemSummary.tsx +1 -1
- package/components/CartStartCheckout/CartStartCheckout.tsx +1 -1
- package/components/CartStartCheckout/CartStartCheckoutLinkOrButton.tsx +1 -1
- package/components/CartSummary/CartSummary.tsx +2 -2
- package/components/EmptyCart/EmptyCart.tsx +1 -1
- package/components/InlineAccount/InlineAccount.tsx +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ApolloCustomerErrorFullPageProps } from '@graphcommerce/magento-customer'
|
|
2
2
|
import { ApolloCustomerErrorFullPage } from '@graphcommerce/magento-customer'
|
|
3
|
-
import {
|
|
3
|
+
import { iconShoppingBag, IconSvg } from '@graphcommerce/next-ui'
|
|
4
4
|
|
|
5
5
|
export type ApolloCartErrorFullPageProps = Omit<ApolloCustomerErrorFullPageProps, 'icon'>
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CheckboxElement } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
|
3
|
-
import {
|
|
3
|
+
import { extendableComponent, FormDiv } from '@graphcommerce/next-ui'
|
|
4
4
|
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
5
5
|
import { FormPersist, useForm, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
6
6
|
import { i18n } from '@lingui/core'
|
|
@@ -17,6 +17,7 @@ const { classes } = extendableComponent(componentName, parts)
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Checks if a string contains an anchor tag (<a> ... </a>).
|
|
20
|
+
*
|
|
20
21
|
* @param {string} str - The string to check.
|
|
21
22
|
* @returns {boolean} - True if the string contains an anchor tag, otherwise false.
|
|
22
23
|
*/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { WaitForQueries } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import {
|
|
3
3
|
DesktopHeaderBadge,
|
|
4
|
-
IconSvg,
|
|
5
4
|
extendableComponent,
|
|
6
5
|
iconShoppingBag,
|
|
6
|
+
IconSvg,
|
|
7
7
|
useFabSize,
|
|
8
8
|
useScrollY,
|
|
9
9
|
} from '@graphcommerce/next-ui'
|
|
10
10
|
import { i18n } from '@lingui/core'
|
|
11
11
|
import type { BadgeProps, FabProps, SxProps, Theme } from '@mui/material'
|
|
12
|
-
import { Box, Fab,
|
|
12
|
+
import { alpha, Box, Fab, styled, useTheme } from '@mui/material'
|
|
13
13
|
import { m, useTransform } from 'framer-motion'
|
|
14
14
|
import React from 'react'
|
|
15
15
|
import { useCartEnabled, useCartShouldLoginToContinue } from '../../hooks'
|
|
@@ -3,10 +3,10 @@ import { CartItemActionCard } from '@graphcommerce/magento-cart-items'
|
|
|
3
3
|
import type { ActionCardLayoutProps } from '@graphcommerce/next-ui'
|
|
4
4
|
import {
|
|
5
5
|
ActionCardLayout,
|
|
6
|
-
SectionContainer,
|
|
7
6
|
breakpointVal,
|
|
8
7
|
extendableComponent,
|
|
9
8
|
nonNullable,
|
|
9
|
+
SectionContainer,
|
|
10
10
|
} from '@graphcommerce/next-ui'
|
|
11
11
|
import { Trans } from '@lingui/react'
|
|
12
12
|
import type { SxProps, Theme } from '@mui/material'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Money } from '@graphcommerce/magento-store'
|
|
2
|
-
import {
|
|
2
|
+
import { extendableComponent, iconChevronRight, IconSvg } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Trans } from '@lingui/macro'
|
|
4
4
|
import type { ButtonProps, SxProps, Theme } from '@mui/material'
|
|
5
5
|
import { Box, Button, Link } from '@mui/material'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
2
|
-
import { IconSvg, LinkOrButton
|
|
2
|
+
import { iconChevronRight, IconSvg, LinkOrButton } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Trans } from '@lingui/react'
|
|
4
4
|
import type { SxProps, Theme } from '@mui/material'
|
|
5
5
|
import React from 'react'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useHistoryLink } from '@graphcommerce/framer-next-pages'
|
|
2
|
-
import {
|
|
2
|
+
import { breakpointVal, extendableComponent, SectionContainer } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Trans } from '@lingui/react'
|
|
4
4
|
import type { SxProps, Theme } from '@mui/material'
|
|
5
|
-
import { Box, Link, Typography
|
|
5
|
+
import { Box, lighten, Link, Typography } from '@mui/material'
|
|
6
6
|
import React from 'react'
|
|
7
7
|
import { useCartQuery } from '../../hooks'
|
|
8
8
|
import { CartAddressMultiLine } from '../CartAddressMultiLine/CartAddressMultiLine'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FullPageMessageProps } from '@graphcommerce/next-ui'
|
|
2
|
-
import { FullPageMessage,
|
|
2
|
+
import { FullPageMessage, iconShoppingBag, IconSvg } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Trans } from '@lingui/react'
|
|
4
4
|
import type { SxProps, Theme } from '@mui/material'
|
|
5
5
|
import { Button } from '@mui/material'
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
useCustomerSession,
|
|
6
6
|
useGuestQuery,
|
|
7
7
|
} from '@graphcommerce/magento-customer'
|
|
8
|
-
import { Button,
|
|
8
|
+
import { Button, extendableComponent, FormRow } from '@graphcommerce/next-ui'
|
|
9
9
|
import { Trans } from '@lingui/react'
|
|
10
10
|
import type { SxProps, Theme } from '@mui/material'
|
|
11
11
|
import { Box, TextField, Typography } from '@mui/material'
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.
|
|
5
|
+
"version": "9.0.4-canary.1",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.
|
|
17
|
-
"@graphcommerce/framer-next-pages": "^9.0.
|
|
18
|
-
"@graphcommerce/framer-scroller": "^9.0.
|
|
19
|
-
"@graphcommerce/framer-utils": "^9.0.
|
|
20
|
-
"@graphcommerce/graphql": "^9.0.
|
|
21
|
-
"@graphcommerce/image": "^9.0.
|
|
22
|
-
"@graphcommerce/magento-customer": "^9.0.
|
|
23
|
-
"@graphcommerce/magento-graphql": "^9.0.
|
|
24
|
-
"@graphcommerce/magento-store": "^9.0.
|
|
25
|
-
"@graphcommerce/next-ui": "^9.0.
|
|
26
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.
|
|
27
|
-
"@graphcommerce/react-hook-form": "^9.0.
|
|
28
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.4-canary.1",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.1",
|
|
17
|
+
"@graphcommerce/framer-next-pages": "^9.0.4-canary.1",
|
|
18
|
+
"@graphcommerce/framer-scroller": "^9.0.4-canary.1",
|
|
19
|
+
"@graphcommerce/framer-utils": "^9.0.4-canary.1",
|
|
20
|
+
"@graphcommerce/graphql": "^9.0.4-canary.1",
|
|
21
|
+
"@graphcommerce/image": "^9.0.4-canary.1",
|
|
22
|
+
"@graphcommerce/magento-customer": "^9.0.4-canary.1",
|
|
23
|
+
"@graphcommerce/magento-graphql": "^9.0.4-canary.1",
|
|
24
|
+
"@graphcommerce/magento-store": "^9.0.4-canary.1",
|
|
25
|
+
"@graphcommerce/next-ui": "^9.0.4-canary.1",
|
|
26
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.1",
|
|
27
|
+
"@graphcommerce/react-hook-form": "^9.0.4-canary.1",
|
|
28
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.1",
|
|
29
29
|
"@lingui/core": "^4.2.1",
|
|
30
30
|
"@lingui/macro": "^4.2.1",
|
|
31
31
|
"@lingui/react": "^4.2.1",
|