@graphcommerce/magento-cart 9.0.0-canary.103 → 9.0.0-canary.104

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.104
4
+
3
5
  ## 9.0.0-canary.103
4
6
 
5
7
  ### Patch Changes
@@ -845,8 +847,8 @@
845
847
  Needs to be replaced with:
846
848
 
847
849
  ```tsx
848
- import { Trans } from '@lingui/react'
849
850
  import { i18n } from '@lingui/core'
851
+ import { Trans } from '@lingui/react'
850
852
 
851
853
  function MyComponent() {
852
854
  const foo = 'bar'
@@ -1,6 +1,6 @@
1
1
  import type { ApolloCustomerErrorFullPageProps } from '@graphcommerce/magento-customer'
2
2
  import { ApolloCustomerErrorFullPage } from '@graphcommerce/magento-customer'
3
- import { iconShoppingBag, IconSvg } from '@graphcommerce/next-ui'
3
+ import { IconSvg, iconShoppingBag } 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 { extendableComponent, FormDiv } from '@graphcommerce/next-ui'
3
+ import { FormDiv, extendableComponent } 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'
@@ -1,15 +1,15 @@
1
1
  import { WaitForQueries } from '@graphcommerce/ecommerce-ui'
2
2
  import {
3
- extendableComponent,
4
- iconShoppingBag,
5
3
  DesktopHeaderBadge,
6
4
  IconSvg,
7
- useScrollY,
5
+ extendableComponent,
6
+ iconShoppingBag,
8
7
  useFabSize,
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 { alpha, Fab, styled, useTheme, Box } from '@mui/material'
12
+ import { Box, Fab, alpha, 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'
@@ -2,11 +2,11 @@ import type { CartItemActionCardProps } from '@graphcommerce/magento-cart-items'
2
2
  import { CartItemActionCard } from '@graphcommerce/magento-cart-items'
3
3
  import type { ActionCardLayoutProps } from '@graphcommerce/next-ui'
4
4
  import {
5
+ ActionCardLayout,
5
6
  SectionContainer,
6
- extendableComponent,
7
7
  breakpointVal,
8
+ extendableComponent,
8
9
  nonNullable,
9
- ActionCardLayout,
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 { iconChevronRight, IconSvg, extendableComponent } from '@graphcommerce/next-ui'
2
+ import { IconSvg, extendableComponent, iconChevronRight } 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 { iconChevronRight, IconSvg, LinkOrButton } from '@graphcommerce/next-ui'
2
+ import { IconSvg, LinkOrButton, iconChevronRight } 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,5 +1,5 @@
1
1
  import { useHistoryLink } from '@graphcommerce/framer-next-pages'
2
- import { SectionContainer, extendableComponent, breakpointVal } from '@graphcommerce/next-ui'
2
+ import { SectionContainer, breakpointVal, extendableComponent } from '@graphcommerce/next-ui'
3
3
  import { Trans } from '@lingui/react'
4
4
  import type { SxProps, Theme } from '@mui/material'
5
5
  import { Box, Link, Typography, lighten } from '@mui/material'
@@ -1,5 +1,5 @@
1
1
  import { Money } from '@graphcommerce/magento-store'
2
- import { extendableComponent, breakpointVal } from '@graphcommerce/next-ui'
2
+ import { breakpointVal, extendableComponent } from '@graphcommerce/next-ui'
3
3
  import { Trans } from '@lingui/react'
4
4
  import type { SxProps, Theme } from '@mui/material'
5
5
  import { Box, Divider, lighten } from '@mui/material'
@@ -1,9 +1,9 @@
1
1
  import {
2
- SignUpFormInline,
3
2
  IsEmailAvailableDocument,
3
+ SignUpFormInline,
4
+ useCustomerAccountCanSignIn,
4
5
  useCustomerSession,
5
6
  useGuestQuery,
6
- useCustomerAccountCanSignIn,
7
7
  } from '@graphcommerce/magento-customer'
8
8
  import { Button, FormRow, extendableComponent } from '@graphcommerce/next-ui'
9
9
  import { Trans } from '@lingui/react'
@@ -1,5 +1,5 @@
1
- import type { TypedDocumentNode, QueryHookOptions } from '@graphcommerce/graphql'
2
- import { useQuery, ApolloError } from '@graphcommerce/graphql'
1
+ import type { QueryHookOptions, TypedDocumentNode } from '@graphcommerce/graphql'
2
+ import { ApolloError, useQuery } from '@graphcommerce/graphql'
3
3
  import { GraphQLError } from 'graphql'
4
4
  import { useRouter } from 'next/router'
5
5
  import { useCartShouldLoginToContinue } from './useCartPermissions'
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.0-canary.103",
5
+ "version": "9.0.0-canary.104",
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.0-canary.103",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.103",
17
- "@graphcommerce/framer-next-pages": "^9.0.0-canary.103",
18
- "@graphcommerce/framer-scroller": "^9.0.0-canary.103",
19
- "@graphcommerce/framer-utils": "^9.0.0-canary.103",
20
- "@graphcommerce/graphql": "^9.0.0-canary.103",
21
- "@graphcommerce/image": "^9.0.0-canary.103",
22
- "@graphcommerce/magento-customer": "^9.0.0-canary.103",
23
- "@graphcommerce/magento-graphql": "^9.0.0-canary.103",
24
- "@graphcommerce/magento-store": "^9.0.0-canary.103",
25
- "@graphcommerce/next-ui": "^9.0.0-canary.103",
26
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.103",
27
- "@graphcommerce/react-hook-form": "^9.0.0-canary.103",
28
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.103",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.104",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.104",
17
+ "@graphcommerce/framer-next-pages": "^9.0.0-canary.104",
18
+ "@graphcommerce/framer-scroller": "^9.0.0-canary.104",
19
+ "@graphcommerce/framer-utils": "^9.0.0-canary.104",
20
+ "@graphcommerce/graphql": "^9.0.0-canary.104",
21
+ "@graphcommerce/image": "^9.0.0-canary.104",
22
+ "@graphcommerce/magento-customer": "^9.0.0-canary.104",
23
+ "@graphcommerce/magento-graphql": "^9.0.0-canary.104",
24
+ "@graphcommerce/magento-store": "^9.0.0-canary.104",
25
+ "@graphcommerce/next-ui": "^9.0.0-canary.104",
26
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.104",
27
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.104",
28
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.104",
29
29
  "@lingui/core": "^4.2.1",
30
30
  "@lingui/macro": "^4.2.1",
31
31
  "@lingui/react": "^4.2.1",