@graphcommerce/magento-product 9.1.0-canary.21 → 9.1.0-canary.23
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 +10 -0
- package/components/ProductFiltersPro/ProductFilterEqualSection.tsx +1 -1
- package/components/ProductFiltersPro/ProductFiltersProCategorySection.tsx +4 -3
- package/components/ProductFiltersPro/ProductFiltersProLimitSection.tsx +1 -1
- package/components/ProductFiltersPro/ProductFiltersProSortSection.tsx +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.1.0-canary.23
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#2521](https://github.com/graphcommerce-org/graphcommerce/pull/2521) [`78b8640`](https://github.com/graphcommerce-org/graphcommerce/commit/78b86401fc5410ffb3b001bc7c79049496a54ae7) - Solve issue where the category sidebar navigation would show a Clear button while it wasn't clearable. ([@paales](https://github.com/paales))
|
8
|
+
|
9
|
+
- [#2521](https://github.com/graphcommerce-org/graphcommerce/pull/2521) [`0464fbf`](https://github.com/graphcommerce-org/graphcommerce/commit/0464fbf798723e17c094e264a558ec0ebe73e8b0) - Fix regression issue where the sidebar filter values would be rendered too big and padding was missing on the top when values would be renderd in a bottom sheet. ([@paales](https://github.com/paales))
|
10
|
+
|
11
|
+
## 9.1.0-canary.22
|
12
|
+
|
3
13
|
## 9.1.0-canary.21
|
4
14
|
|
5
15
|
## 9.1.0-canary.20
|
@@ -21,10 +21,11 @@ export type ProductFiltersProCategoryAccordionProps = {
|
|
21
21
|
sx?: SxProps<Theme>
|
22
22
|
categoryTree: CategoryTreeItem[]
|
23
23
|
onChange: (uid: CategoryTreeItem) => void | Promise<void>
|
24
|
+
clearable?: boolean
|
24
25
|
} & Pick<ActionCardAccordionProps, 'defaultExpanded'>
|
25
26
|
|
26
27
|
export function ProductFiltersProCategoryAccordion(props: ProductFiltersProCategoryAccordionProps) {
|
27
|
-
const { hideTitle, sx, categoryTree, onChange, defaultExpanded } = props
|
28
|
+
const { hideTitle, sx, categoryTree, onChange, defaultExpanded, clearable = false } = props
|
28
29
|
const { form } = useProductFiltersPro()
|
29
30
|
|
30
31
|
const name = 'filters.category_uid.in'
|
@@ -40,7 +41,7 @@ export function ProductFiltersProCategoryAccordion(props: ProductFiltersProCateg
|
|
40
41
|
defaultExpanded={defaultExpanded}
|
41
42
|
summary={<Trans id='Categories' />}
|
42
43
|
right={
|
43
|
-
currentFilter && currentFilter.length > 0 ? (
|
44
|
+
clearable && currentFilter && currentFilter.length > 0 ? (
|
44
45
|
<Button
|
45
46
|
color='primary'
|
46
47
|
onClick={(e) => {
|
@@ -70,7 +71,7 @@ export function ProductFiltersProCategoryAccordion(props: ProductFiltersProCateg
|
|
70
71
|
<ActionCard
|
71
72
|
key={item.value}
|
72
73
|
{...item}
|
73
|
-
size='
|
74
|
+
size='medium'
|
74
75
|
title={
|
75
76
|
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
|
76
77
|
<Box sx={{ marginRight: 1 }}>
|
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.1.0-canary.
|
5
|
+
"version": "9.1.0-canary.23",
|
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.1.0-canary.
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.
|
23
|
-
"@graphcommerce/framer-next-pages": "^9.1.0-canary.
|
24
|
-
"@graphcommerce/framer-scroller": "^9.1.0-canary.
|
25
|
-
"@graphcommerce/graphql": "^9.1.0-canary.
|
26
|
-
"@graphcommerce/graphql-mesh": "^9.1.0-canary.
|
27
|
-
"@graphcommerce/image": "^9.1.0-canary.
|
28
|
-
"@graphcommerce/magento-cart": "^9.1.0-canary.
|
29
|
-
"@graphcommerce/magento-store": "^9.1.0-canary.
|
30
|
-
"@graphcommerce/next-ui": "^9.1.0-canary.
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.
|
21
|
+
"@graphcommerce/ecommerce-ui": "^9.1.0-canary.23",
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.23",
|
23
|
+
"@graphcommerce/framer-next-pages": "^9.1.0-canary.23",
|
24
|
+
"@graphcommerce/framer-scroller": "^9.1.0-canary.23",
|
25
|
+
"@graphcommerce/graphql": "^9.1.0-canary.23",
|
26
|
+
"@graphcommerce/graphql-mesh": "^9.1.0-canary.23",
|
27
|
+
"@graphcommerce/image": "^9.1.0-canary.23",
|
28
|
+
"@graphcommerce/magento-cart": "^9.1.0-canary.23",
|
29
|
+
"@graphcommerce/magento-store": "^9.1.0-canary.23",
|
30
|
+
"@graphcommerce/next-ui": "^9.1.0-canary.23",
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.23",
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.23",
|
33
33
|
"@lingui/core": "^4.2.1",
|
34
34
|
"@lingui/macro": "^4.2.1",
|
35
35
|
"@lingui/react": "^4.2.1",
|