@graphcommerce/magento-category 9.0.4-canary.8 → 9.0.4

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,28 +1,24 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.4-canary.8
3
+ ## 9.0.4
4
4
 
5
- ## 9.0.4-canary.7
5
+ ## 9.0.3
6
6
 
7
- ## 9.0.4-canary.6
7
+ ## 9.0.3-canary.0
8
8
 
9
- ### Patch Changes
10
-
11
- - [#2478](https://github.com/graphcommerce-org/graphcommerce/pull/2478) [`590f064`](https://github.com/graphcommerce-org/graphcommerce/commit/590f06460955aa6435a3a16569805f38d4b7d6d6) - Move the category fragment to the category prop ([@paales](https://github.com/paales))
9
+ ## 9.0.2
12
10
 
13
- ## 9.0.4-canary.5
11
+ ## 9.0.2-canary.0
14
12
 
15
- ## 9.0.4-canary.4
16
-
17
- ## 9.0.4-canary.3
13
+ ## 9.0.1
18
14
 
19
- ## 9.0.4-canary.2
15
+ ### Patch Changes
20
16
 
21
- ## 9.0.4-canary.1
17
+ - [#2462](https://github.com/graphcommerce-org/graphcommerce/pull/2462) [`6031bba`](https://github.com/graphcommerce-org/graphcommerce/commit/6031bbae3d01d14bd1e470cc861e36094073b56f) - fix issue where CategoryChildren would cause layout to break on mobile ([@FrankHarland](https://github.com/FrankHarland))
22
18
 
23
- ## 9.0.4-canary.0
19
+ - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`ff0009b`](https://github.com/graphcommerce-org/graphcommerce/commit/ff0009b46476791eefa86b460b892a6da1bde8bc) - Solve an issue where CategoryChildren wouldn't be rendered on mobile when using the ProductListLayoutSidebar component. ([@paales](https://github.com/paales))
24
20
 
25
- ## 9.0.1
21
+ ## 9.0.1-canary.1
26
22
 
27
23
  ### Patch Changes
28
24
 
@@ -14,14 +14,19 @@ const { withState } = extendableComponent<StateProps, typeof componentName, type
14
14
  parts,
15
15
  )
16
16
 
17
- export type CategoryDescriptionProps = StateProps & {
18
- sx?: SxProps<Theme>
19
- category: Omit<CategoryDescriptionFragment, 'uid'>
20
- }
17
+ export type CategoryDescriptionProps = Omit<CategoryDescriptionFragment, 'uid'> &
18
+ StateProps & { sx?: SxProps<Theme> }
21
19
 
22
20
  export function CategoryDescription(props: CategoryDescriptionProps) {
23
- const { category, sx = [], textAlignSm = 'center', textAlignMd = 'center', ...divProps } = props
24
- const { description } = category
21
+ const {
22
+ name,
23
+ description,
24
+ display_mode,
25
+ sx = [],
26
+ textAlignSm = 'center',
27
+ textAlignMd = 'center',
28
+ ...divProps
29
+ } = props
25
30
 
26
31
  const classes = withState({ textAlignSm, textAlignMd })
27
32
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-category",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.4-canary.8",
5
+ "version": "9.0.4",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,14 +12,14 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.8",
16
- "@graphcommerce/framer-scroller": "^9.0.4-canary.8",
17
- "@graphcommerce/graphql": "^9.0.4-canary.8",
18
- "@graphcommerce/image": "^9.0.4-canary.8",
19
- "@graphcommerce/magento-store": "^9.0.4-canary.8",
20
- "@graphcommerce/next-ui": "^9.0.4-canary.8",
21
- "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.8",
22
- "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.8",
15
+ "@graphcommerce/eslint-config-pwa": "^9.0.4",
16
+ "@graphcommerce/framer-scroller": "^9.0.4",
17
+ "@graphcommerce/graphql": "^9.0.4",
18
+ "@graphcommerce/image": "^9.0.4",
19
+ "@graphcommerce/magento-store": "^9.0.4",
20
+ "@graphcommerce/next-ui": "^9.0.4",
21
+ "@graphcommerce/prettier-config-pwa": "^9.0.4",
22
+ "@graphcommerce/typescript-config-pwa": "^9.0.4",
23
23
  "@lingui/core": "^4.2.1",
24
24
  "@lingui/macro": "^4.2.1",
25
25
  "@lingui/react": "^4.2.1",