@graphcommerce/magento-product 9.0.4-canary.0 → 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 -14
- package/components/AddProductsToCart/AddProductsToCartForm.tsx +3 -9
- package/components/AddProductsToCart/AddProductsToCartQuantity.tsx +1 -1
- package/components/AddProductsToCart/AddProductsToCartSnackbarMessage.tsx +1 -1
- package/components/AddProductsToCart/useAddProductsToCartAction.ts +1 -1
- package/components/ProductCustomizable/CustomizableCheckboxOption.tsx +1 -1
- package/components/ProductCustomizable/CustomizableDropDownOption.tsx +1 -1
- package/components/ProductCustomizable/CustomizableMultipleOption.tsx +1 -1
- package/components/ProductCustomizable/CustomizableRadioOption.tsx +1 -1
- package/components/ProductCustomizable/ProductCustomizable.tsx +1 -1
- package/components/ProductFiltersPro/ProductFilterEqualChip.tsx +1 -1
- package/components/ProductFiltersPro/ProductFilterEqualSection.tsx +1 -1
- package/components/ProductFiltersPro/ProductFilterRangeChip.tsx +1 -1
- package/components/ProductFiltersPro/ProductFilterRangeSection.tsx +1 -1
- package/components/ProductFiltersPro/ProductFiltersPro.tsx +1 -3
- package/components/ProductFiltersPro/ProductFiltersProAggregations.tsx +2 -2
- package/components/ProductFiltersPro/ProductFiltersProAllFiltersChip.tsx +2 -2
- package/components/ProductFiltersPro/ProductFiltersProSortDirectionArrow.tsx +1 -1
- package/components/ProductFiltersPro/useProductFiltersProHasFiltersApplied.ts +1 -1
- package/components/ProductListFilters/FilterCheckboxType.tsx +1 -1
- package/components/ProductListFiltersContainer/ProductListFiltersContainer.tsx +1 -1
- package/components/ProductListItem/ProductListItem.tsx +2 -1
- package/components/ProductListSuggestions/ProductListSuggestions.tsx +1 -1
- package/components/ProductPageDescription/ProductPageDescription.tsx +2 -2
- package/components/ProductPageGallery/ProductPageGallery.tsx +1 -1
- package/components/ProductPagePrice/useCustomizableOptionPrice.ts +1 -1
- package/components/ProductSidebarDelivery/ProductSidebarDelivery.tsx +1 -1
- package/components/ProductSpecs/ProductSpecs.tsx +1 -1
- package/components/ProductSpecs/ProductSpecsCustomAttributes.tsx +1 -1
- package/hooks/useProductList.ts +2 -2
- package/hooks/useProductListLinkReplace.ts +1 -3
- package/package.json +13 -13
- package/test/productURL.fixture.ts +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,14 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## 9.0.4-canary.
|
4
|
-
|
5
|
-
## 9.0.3
|
6
|
-
|
7
|
-
## 9.0.3-canary.0
|
3
|
+
## 9.0.4-canary.1
|
8
4
|
|
9
|
-
## 9.0.
|
10
|
-
|
11
|
-
## 9.0.2-canary.0
|
5
|
+
## 9.0.4-canary.0
|
12
6
|
|
13
7
|
## 9.0.1
|
14
8
|
|
@@ -16,12 +10,6 @@
|
|
16
10
|
|
17
11
|
- [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`c83aad6`](https://github.com/graphcommerce-org/graphcommerce/commit/c83aad64869ee4192aa4216cc41f8106642c38f9) - Prevent forwarding the isBack prop to the DOM element ([@paales](https://github.com/paales))
|
18
12
|
|
19
|
-
## 9.0.1-canary.1
|
20
|
-
|
21
|
-
### Patch Changes
|
22
|
-
|
23
|
-
- [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`c83aad6`](https://github.com/graphcommerce-org/graphcommerce/commit/c83aad64869ee4192aa4216cc41f8106642c38f9) - Prevent forwarding the isBack prop to the DOM element ([@paales](https://github.com/paales))
|
24
|
-
|
25
13
|
## 9.0.0
|
26
14
|
|
27
15
|
### Major Changes
|
@@ -23,17 +23,11 @@ export type AddProductsToCartFormProps = {
|
|
23
23
|
redirect?: RedirectType
|
24
24
|
snackbarProps?: AddProductsToCartSnackbarProps
|
25
25
|
|
26
|
-
/**
|
27
|
-
* @deprecated use snackbarProps.errorSnackbar instead
|
28
|
-
*/
|
26
|
+
/** @deprecated Use snackbarProps.errorSnackbar instead */
|
29
27
|
errorSnackbar?: Omit<ErrorSnackbarProps, 'open'>
|
30
|
-
/**
|
31
|
-
* @deprecated use snackbarProps.successSnackbar instead
|
32
|
-
*/
|
28
|
+
/** @deprecated Use snackbarProps.successSnackbar instead */
|
33
29
|
successSnackbar?: Omit<MessageSnackbarProps, 'open' | 'action'>
|
34
|
-
/**
|
35
|
-
* @deprecated use snackbarProps.disableSuccessSnackbar instead
|
36
|
-
*/
|
30
|
+
/** @deprecated Use snackbarProps.disableSuccessSnackbar instead */
|
37
31
|
disableSuccessSnackbar?: boolean
|
38
32
|
} & UseFormGraphQlOptions<AddProductsToCartMutation, AddProductsToCartFields>
|
39
33
|
|
@@ -7,7 +7,7 @@ import { useFormAddProductsToCart } from './useFormAddProductsToCart'
|
|
7
7
|
|
8
8
|
export type AddToCartQuantityProps = Omit<
|
9
9
|
NumberFieldElementProps<AddProductsToCartMutationVariables>,
|
10
|
-
'error' | 'required' | 'inputProps' | 'helperText' | 'name' | 'control'
|
10
|
+
'error' | 'required' | 'inputProps' | 'helperText' | 'name' | 'control' | 'rules'
|
11
11
|
> &
|
12
12
|
AddToCartItemSelector
|
13
13
|
|
@@ -5,10 +5,10 @@ import type { ErrorSnackbarProps, MessageSnackbarProps } from '@graphcommerce/ne
|
|
5
5
|
import {
|
6
6
|
Button,
|
7
7
|
ErrorSnackbar,
|
8
|
+
iconChevronRight,
|
8
9
|
IconSvg,
|
9
10
|
ListFormat,
|
10
11
|
MessageSnackbar,
|
11
|
-
iconChevronRight,
|
12
12
|
} from '@graphcommerce/next-ui'
|
13
13
|
import { Plural, Trans } from '@lingui/macro'
|
14
14
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { useFormState } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import { useEventCallback } from '@mui/material'
|
3
3
|
import { startTransition, useEffect, useState } from 'react'
|
4
|
-
import type { UseAddProductsToCartActionFragment } from './UseAddProductsToCartAction.gql'
|
5
4
|
import { toUserErrors } from './toUserErrors'
|
5
|
+
import type { UseAddProductsToCartActionFragment } from './UseAddProductsToCartAction.gql'
|
6
6
|
import type { AddToCartItemSelector } from './useFormAddProductsToCart'
|
7
7
|
import { useFormAddProductsToCart } from './useFormAddProductsToCart'
|
8
8
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import { Money } from '@graphcommerce/magento-store'
|
3
3
|
import type { ActionCardProps } from '@graphcommerce/next-ui'
|
4
|
-
import { ActionCard,
|
4
|
+
import { ActionCard, filterNonNullableKeys, SectionHeader } from '@graphcommerce/next-ui'
|
5
5
|
import { i18n } from '@lingui/core'
|
6
6
|
import { Box, Checkbox } from '@mui/material'
|
7
7
|
import { useFormAddProductsToCart } from '../AddProductsToCart'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useController } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import { Money } from '@graphcommerce/magento-store'
|
3
|
-
import {
|
3
|
+
import { filterNonNullableKeys, SectionHeader } from '@graphcommerce/next-ui'
|
4
4
|
import { Box, MenuItem, TextField } from '@mui/material'
|
5
5
|
import { useFormAddProductsToCart } from '../AddProductsToCart'
|
6
6
|
import type { OptionTypeRenderer } from './CustomizableAreaOption'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import { Money } from '@graphcommerce/magento-store'
|
3
3
|
import type { ActionCardProps } from '@graphcommerce/next-ui'
|
4
|
-
import { ActionCard,
|
4
|
+
import { ActionCard, filterNonNullableKeys, SectionHeader } from '@graphcommerce/next-ui'
|
5
5
|
import { i18n } from '@lingui/core'
|
6
6
|
import { Box } from '@mui/material'
|
7
7
|
import { useFormAddProductsToCart } from '../AddProductsToCart'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import { Money } from '@graphcommerce/magento-store'
|
3
3
|
import type { ActionCardProps } from '@graphcommerce/next-ui'
|
4
|
-
import { ActionCard,
|
4
|
+
import { ActionCard, filterNonNullableKeys, SectionHeader } from '@graphcommerce/next-ui'
|
5
5
|
import { i18n } from '@lingui/core'
|
6
6
|
import { Box } from '@mui/material'
|
7
7
|
import { useFormAddProductsToCart } from '../AddProductsToCart'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { filterNonNullableKeys, RenderType } from '@graphcommerce/next-ui'
|
2
2
|
import type { AddToCartItemSelector } from '../AddProductsToCart'
|
3
3
|
import type { ProductPagePriceFragment } from '../ProductPagePrice'
|
4
4
|
import type { OptionTypeRenderer } from './CustomizableAreaOption'
|
@@ -3,9 +3,9 @@ import type { ProductAttributeFilterInput } from '@graphcommerce/graphql-mesh'
|
|
3
3
|
import {
|
4
4
|
ActionCard,
|
5
5
|
ChipOverlayOrPopper,
|
6
|
-
IconSvg,
|
7
6
|
filterNonNullableKeys,
|
8
7
|
iconCirle,
|
8
|
+
IconSvg,
|
9
9
|
} from '@graphcommerce/next-ui'
|
10
10
|
import { Box } from '@mui/material'
|
11
11
|
import { useMemo } from 'react'
|
@@ -3,7 +3,7 @@ import type { ProductAttributeFilterInput } from '@graphcommerce/graphql-mesh'
|
|
3
3
|
import { Money } from '@graphcommerce/magento-store'
|
4
4
|
import { ChipOverlayOrPopper, extendableComponent } from '@graphcommerce/next-ui'
|
5
5
|
import { isFilterTypeRange } from '../ProductListItems/filterTypes'
|
6
|
-
import {
|
6
|
+
import { getMinMaxFromOptions, PriceSlider } from './PriceSlider'
|
7
7
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
8
8
|
import type { FilterProps } from './ProductFiltersProAggregations'
|
9
9
|
|
@@ -3,7 +3,7 @@ import type { ProductAttributeFilterInput } from '@graphcommerce/graphql-mesh'
|
|
3
3
|
import { ActionCardAccordion, Button } from '@graphcommerce/next-ui'
|
4
4
|
import { Trans } from '@lingui/react'
|
5
5
|
import { isFilterTypeRange } from '../ProductListItems/filterTypes'
|
6
|
-
import {
|
6
|
+
import { getMinMaxFromOptions, PriceSlider } from './PriceSlider'
|
7
7
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
8
8
|
import type { FilterProps } from './ProductFiltersProAggregations'
|
9
9
|
|
@@ -67,9 +67,7 @@ export type FilterFormProviderProps = Omit<
|
|
67
67
|
> & {
|
68
68
|
children: React.ReactNode
|
69
69
|
params: ProductListParams
|
70
|
-
/**
|
71
|
-
* Whether the filter should scroll to the products list and whether to submit the form on change.
|
72
|
-
*/
|
70
|
+
/** Whether the filter should scroll to the products list and whether to submit the form on change. */
|
73
71
|
autoSubmitMd?: boolean
|
74
72
|
|
75
73
|
handleSubmit?: (
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { AttributeFrontendInputEnum } from '@graphcommerce/graphql-mesh'
|
2
2
|
import type { ProductListFiltersFragment } from '../ProductListFilters/ProductListFilters.gql'
|
3
|
+
import { excludeCategory } from './activeAggregations'
|
4
|
+
import { applyAggregationCount } from './applyAggregationCount'
|
3
5
|
import { ProductFilterEqualChip } from './ProductFilterEqualChip'
|
4
6
|
import { ProductFilterEqualSection } from './ProductFilterEqualSection'
|
5
7
|
import { ProductFilterRangeChip } from './ProductFilterRangeChip'
|
6
8
|
import { ProductFilterRangeSection } from './ProductFilterRangeSection'
|
7
9
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
8
|
-
import { excludeCategory } from './activeAggregations'
|
9
|
-
import { applyAggregationCount } from './applyAggregationCount'
|
10
10
|
|
11
11
|
export type FilterProps = {
|
12
12
|
aggregation: NonNullable<NonNullable<ProductListFiltersFragment['aggregations']>[number]>
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import type { ChipOverlayOrPopperProps } from '@graphcommerce/next-ui'
|
2
2
|
import { ChipOverlayOrPopper } from '@graphcommerce/next-ui'
|
3
3
|
import { Trans } from '@lingui/react'
|
4
|
+
import { activeAggregations } from './activeAggregations'
|
5
|
+
import { applyAggregationCount } from './applyAggregationCount'
|
4
6
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
5
7
|
import type { ProductFiltersProAggregationsProps } from './ProductFiltersProAggregations'
|
6
8
|
import {
|
@@ -10,8 +12,6 @@ import {
|
|
10
12
|
import { ProductFiltersProLimitSection } from './ProductFiltersProLimitSection'
|
11
13
|
import type { ProductFiltersProSortSectionProps } from './ProductFiltersProSortSection'
|
12
14
|
import { ProductFiltersProSortSection } from './ProductFiltersProSortSection'
|
13
|
-
import { activeAggregations } from './activeAggregations'
|
14
|
-
import { applyAggregationCount } from './applyAggregationCount'
|
15
15
|
import { useProductFiltersProClearAllAction } from './useProductFiltersProClearAllAction'
|
16
16
|
|
17
17
|
export type ProductFiltersProAllFiltersChipProps = ProductFiltersProAggregationsProps &
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { SortEnum } from '@graphcommerce/graphql-mesh'
|
2
|
-
import {
|
2
|
+
import { iconArrowDown, iconArrowUp, IconSvg } from '@graphcommerce/next-ui'
|
3
3
|
|
4
4
|
export type ProductFiltersProSortDirectionArrowProps = {
|
5
5
|
sortDirection: SortEnum | null
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { useMemo } from 'react'
|
2
|
-
import { useProductFiltersPro } from './ProductFiltersPro'
|
3
2
|
import { activeAggregations } from './activeAggregations'
|
4
3
|
import { applyAggregationCount } from './applyAggregationCount'
|
4
|
+
import { useProductFiltersPro } from './ProductFiltersPro'
|
5
5
|
|
6
6
|
export function useProductFilterProHasFiltersApplied() {
|
7
7
|
const { params, aggregations, appliedAggregations } = useProductFiltersPro()
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { cloneDeep } from '@graphcommerce/graphql'
|
2
|
-
import {
|
2
|
+
import { iconCancelAlt, IconSvg } from '@graphcommerce/next-ui'
|
3
3
|
import type { ChipProps, SxProps, Theme } from '@mui/material'
|
4
4
|
import { Chip } from '@mui/material'
|
5
5
|
import { useProductListLinkReplace } from '../../hooks/useProductListLinkReplace'
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { Scroller, ScrollerButton, ScrollerProvider } from '@graphcommerce/framer-scroller'
|
2
2
|
import {
|
3
|
-
IconSvg,
|
4
3
|
extendableComponent,
|
5
4
|
iconChevronLeft,
|
6
5
|
iconChevronRight,
|
6
|
+
IconSvg,
|
7
7
|
useScrollY,
|
8
8
|
} from '@graphcommerce/next-ui'
|
9
9
|
import type { SxProps, Theme } from '@mui/material'
|
@@ -14,7 +14,8 @@ import type {
|
|
14
14
|
ProductListsItemImageAreaProps,
|
15
15
|
} from './ProductListItemImageContainer'
|
16
16
|
import { ProductImageContainer, ProductListItemImageAreas } from './ProductListItemImageContainer'
|
17
|
-
import {
|
17
|
+
import type { ProductListItemLinkOrDivProps } from './ProductListItemLinkOrDiv'
|
18
|
+
import { ProductListItemLinkOrDiv } from './ProductListItemLinkOrDiv'
|
18
19
|
import type { ProductListItemTitleAndPriceProps } from './ProductListItemTitleAndPrice'
|
19
20
|
import { ProductListItemTitleAndPrice } from './ProductListItemTitleAndPrice'
|
20
21
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { filterNonNullableKeys, ListFormat } from '@graphcommerce/next-ui'
|
2
2
|
import { Trans } from '@lingui/macro'
|
3
3
|
import { Box, Link } from '@mui/material'
|
4
4
|
import { productListLinkFromFilter } from '../../hooks/useProductListLink'
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { ColumnTwoWithTopProps } from '@graphcommerce/next-ui'
|
2
2
|
import {
|
3
|
-
ColumnTwoWithTop,
|
4
|
-
LazyHydrate,
|
5
3
|
breakpointVal,
|
4
|
+
ColumnTwoWithTop,
|
6
5
|
extendableComponent,
|
6
|
+
LazyHydrate,
|
7
7
|
} from '@graphcommerce/next-ui'
|
8
8
|
import type { SxProps, Theme } from '@mui/material'
|
9
9
|
import { Box, Typography } from '@mui/material'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { SidebarGalleryProps, TypeRenderer } from '@graphcommerce/next-ui'
|
2
|
-
import {
|
2
|
+
import { nonNullable, SidebarGallery } from '@graphcommerce/next-ui'
|
3
3
|
import type { ProductPageGalleryFragment } from './ProductPageGallery.gql'
|
4
4
|
|
5
5
|
export type ProductPageGalleryRenderers = TypeRenderer<
|
@@ -10,8 +10,8 @@ import type {
|
|
10
10
|
SelectorsProp,
|
11
11
|
} from '../ProductCustomizable/productCustomizableSelectors'
|
12
12
|
import { productCustomizableSelectors } from '../ProductCustomizable/productCustomizableSelectors'
|
13
|
-
import type { ProductPagePriceFragment } from './ProductPagePrice.gql'
|
14
13
|
import { getProductTierPrice } from './getProductTierPrice'
|
14
|
+
import type { ProductPagePriceFragment } from './ProductPagePrice.gql'
|
15
15
|
|
16
16
|
export type UseCustomizableOptionPriceProps = {
|
17
17
|
product: ProductPagePriceFragment
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { breakpointVal, iconOrderBefore, IconSvg } from '@graphcommerce/next-ui'
|
2
2
|
import { Trans } from '@lingui/react'
|
3
3
|
import { Box, darken, lighten } from '@mui/material'
|
4
4
|
import type { UseAddProductsToCartActionFragment } from '../AddProductsToCart/UseAddProductsToCartAction.gql'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { extendableComponent, responsiveVal, Row, SectionContainer } from '@graphcommerce/next-ui'
|
2
2
|
import type { SxProps, Theme } from '@mui/material'
|
3
3
|
import { Box } from '@mui/material'
|
4
4
|
import type { ProductSpecsFragment } from './ProductSpecs.gql'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useQuery } from '@graphcommerce/graphql'
|
2
|
-
import {
|
2
|
+
import { extendableComponent, ListFormat } from '@graphcommerce/next-ui'
|
3
3
|
import { Box } from '@mui/material'
|
4
4
|
import type { ProductSpecsFragment } from './ProductSpecs.gql'
|
5
5
|
import { ProductSpecsTypesDocument } from './ProductSpecsTypes.gql'
|
package/hooks/useProductList.ts
CHANGED
@@ -16,16 +16,16 @@ import type {
|
|
16
16
|
} from '../components/ProductList/ProductList.gql'
|
17
17
|
import { ProductListDocument } from '../components/ProductList/ProductList.gql'
|
18
18
|
import type { CategoryDefaultFragment } from '../components/ProductListItems/CategoryDefault.gql'
|
19
|
+
import { useRouterFilterParams } from '../components/ProductListItems/filteredProductList'
|
19
20
|
import type { ProductListParams } from '../components/ProductListItems/filterTypes'
|
20
21
|
import { toProductListParams } from '../components/ProductListItems/filterTypes'
|
21
|
-
import { useRouterFilterParams } from '../components/ProductListItems/filteredProductList'
|
22
22
|
import {
|
23
23
|
categoryDefaultsToProductListFilters,
|
24
24
|
productListApplyCategoryDefaults,
|
25
25
|
useProductListApplyCategoryDefaults,
|
26
26
|
} from '../components/ProductListItems/productListApplyCategoryDefaults'
|
27
27
|
|
28
|
-
const productListQueries: Array<Promise<
|
28
|
+
const productListQueries: Array<Promise<unknown>> = []
|
29
29
|
|
30
30
|
type Next = Parameters<NonNullable<FilterFormProviderProps['handleSubmit']>>[1]
|
31
31
|
|
@@ -9,9 +9,7 @@ type UseProductLinkPushProps = {
|
|
9
9
|
scroll?: boolean
|
10
10
|
}
|
11
11
|
|
12
|
-
/**
|
13
|
-
* @deprecated replaced by custom function inside ProductFiltersPro
|
14
|
-
*/
|
12
|
+
/** @deprecated Replaced by custom function inside ProductFiltersPro */
|
15
13
|
export function useProductListLinkReplace(props?: UseProductLinkPushProps) {
|
16
14
|
const { setParams } = useProductListParamsContext()
|
17
15
|
const router = useRouter()
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.0.4-canary.
|
5
|
+
"version": "9.0.4-canary.1",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -18,18 +18,18 @@
|
|
18
18
|
"typescript": "5.7.2"
|
19
19
|
},
|
20
20
|
"peerDependencies": {
|
21
|
-
"@graphcommerce/ecommerce-ui": "^9.0.4-canary.
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.
|
23
|
-
"@graphcommerce/framer-next-pages": "^9.0.4-canary.
|
24
|
-
"@graphcommerce/framer-scroller": "^9.0.4-canary.
|
25
|
-
"@graphcommerce/graphql": "^9.0.4-canary.
|
26
|
-
"@graphcommerce/graphql-mesh": "^9.0.4-canary.
|
27
|
-
"@graphcommerce/image": "^9.0.4-canary.
|
28
|
-
"@graphcommerce/magento-cart": "^9.0.4-canary.
|
29
|
-
"@graphcommerce/magento-store": "^9.0.4-canary.
|
30
|
-
"@graphcommerce/next-ui": "^9.0.4-canary.
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.
|
21
|
+
"@graphcommerce/ecommerce-ui": "^9.0.4-canary.1",
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.1",
|
23
|
+
"@graphcommerce/framer-next-pages": "^9.0.4-canary.1",
|
24
|
+
"@graphcommerce/framer-scroller": "^9.0.4-canary.1",
|
25
|
+
"@graphcommerce/graphql": "^9.0.4-canary.1",
|
26
|
+
"@graphcommerce/graphql-mesh": "^9.0.4-canary.1",
|
27
|
+
"@graphcommerce/image": "^9.0.4-canary.1",
|
28
|
+
"@graphcommerce/magento-cart": "^9.0.4-canary.1",
|
29
|
+
"@graphcommerce/magento-store": "^9.0.4-canary.1",
|
30
|
+
"@graphcommerce/next-ui": "^9.0.4-canary.1",
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.1",
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.1",
|
33
33
|
"@lingui/core": "^4.2.1",
|
34
34
|
"@lingui/macro": "^4.2.1",
|
35
35
|
"@lingui/react": "^4.2.1",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
2
2
|
import { test as base } from '@graphcommerce/magento-store/test/apolloClientStore.fixture'
|
3
|
-
import { ProductStaticPathsDocument } from '../components/ProductStaticPaths/ProductStaticPaths.gql'
|
4
3
|
import type { ProductTypenames } from '../components/ProductStaticPaths/getProductStaticPaths'
|
4
|
+
import { ProductStaticPathsDocument } from '../components/ProductStaticPaths/ProductStaticPaths.gql'
|
5
5
|
import { productLink } from '../hooks/useProductLink'
|
6
6
|
|
7
7
|
type ProductUrls = {
|