@riosst100/pwa-marketplace 1.5.2 → 1.5.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/package.json +1 -1
- package/src/components/CollectibleGameSets/collectibleGameSets.js +83 -31
- package/src/components/CollectibleGameSets/collectibleGameSets.module.css +38 -0
- package/src/components/Dropdown/dropdown.js +77 -0
- package/src/components/Dropdown/index.js +10 -0
- package/src/components/MtgSinglesPage/index.js +62 -0
- package/src/components/MtgSinglesPage/mtgSingles.js +90 -0
- package/src/components/MtgSinglesPage/singles.module.css +15 -0
- package/src/components/SubCategory/subCategory.js +14 -20
- package/src/intercept.js +7 -0
- package/src/overwrites/peregrine/lib/talons/RootComponents/Category/categoryContent.gql.js +1 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/categoryContent.js +44 -30
- package/src/overwrites/venia-ui/lib/components/Button/button.module.css +10 -6
- package/src/overwrites/venia-ui/lib/components/FilterSidebar/filterSidebar.js +1 -1
- package/src/overwrites/venia-ui/lib/components/MegaMenu/customSubmenuColumn.js +4 -3
- package/src/overwrites/venia-ui/lib/components/MegaMenu/customSubmenuColumn.module.css +2 -2
- package/src/overwrites/venia-ui/lib/components/MegaMenu/megaMenuItem.js +5 -4
- package/src/overwrites/venia-ui/lib/components/MegaMenu/shopByColumn.module.css +2 -2
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.js +11 -2
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.module.css +4 -6
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenuColumn.js +10 -19
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenuColumn.module.css +2 -2
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/customAttributes.js +2 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/customAttributes.module.css +6 -7
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/auctionDetail.js +173 -0
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/bidList.js +67 -0
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/modalFormReview.js +164 -0
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/preOrderDetail.js +52 -0
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/productReview.js +45 -37
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/starInput.js +33 -0
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.js +86 -22
- package/src/overwrites/venia-ui/lib/components/SearchBar/autocomplete.js +5 -1
- package/src/overwrites/venia-ui/lib/components/SearchBar/autocomplete.module.css +5 -6
- package/src/overwrites/venia-ui/lib/components/SearchBar/searchBar.js +27 -1
- package/src/overwrites/venia-ui/lib/components/SearchBar/searchBar.module.css +0 -1
- package/src/overwrites/venia-ui/lib/components/SearchBar/searchField.js +9 -2
- package/src/overwrites/venia-ui/lib/components/TextInput/field.module.css +4 -3
- package/src/overwrites/venia-ui/lib/components/TextInput/textInput.js +10 -2
- package/src/overwrites/venia-ui/lib/components/TextInput/textInput.module.css +1 -1
- package/src/talons/CollectibleGameSets/useCollectibleGameSets.js +4 -2
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
composes: bg-white from global;
|
|
22
22
|
composes: border-2 from global;
|
|
23
23
|
composes: border-solid from global;
|
|
24
|
-
composes: border-
|
|
24
|
+
composes: border-gray-100 from global;
|
|
25
25
|
composes: flex-textInput from global;
|
|
26
26
|
composes: h-[2.5rem] from global;
|
|
27
27
|
composes: inline-flex from global;
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
composes: text-colorDefault from global;
|
|
32
32
|
composes: text-colorDefault from global;
|
|
33
33
|
composes: w-full from global;
|
|
34
|
-
padding: calc(0.375rem - 1px) calc(0.625rem - 1px);
|
|
34
|
+
padding: calc(0.375rem - 1px) calc(0.625rem - 1px);
|
|
35
|
+
/* TODO @TW: review */
|
|
35
36
|
|
|
36
37
|
composes: focus_outline-none from global;
|
|
37
38
|
composes: focus_shadow-inputFocus from global;
|
|
@@ -47,4 +48,4 @@
|
|
|
47
48
|
composes: font-normal from global;
|
|
48
49
|
composes: text-base from global;
|
|
49
50
|
composes: text-subtle from global;
|
|
50
|
-
}
|
|
51
|
+
}
|
|
@@ -32,13 +32,21 @@ const TextInput = props => {
|
|
|
32
32
|
{...rest}
|
|
33
33
|
className={cn(
|
|
34
34
|
inputClass,
|
|
35
|
-
'focus_shadow-none',
|
|
35
|
+
'focus_shadow-none !border rounded-md',
|
|
36
36
|
inputClassName
|
|
37
37
|
)}
|
|
38
38
|
field={field}
|
|
39
39
|
/>
|
|
40
40
|
</FieldIcons>
|
|
41
|
-
<Message
|
|
41
|
+
<Message
|
|
42
|
+
classes={{
|
|
43
|
+
root: 'text-[12px] font-normal',
|
|
44
|
+
root_error: 'text-[12px] font-normal mt-1 text-red-400'
|
|
45
|
+
}}
|
|
46
|
+
fieldState={fieldState}
|
|
47
|
+
>
|
|
48
|
+
{message}
|
|
49
|
+
</Message>
|
|
42
50
|
</Fragment>
|
|
43
51
|
);
|
|
44
52
|
};
|
|
@@ -8,6 +8,8 @@ import DEFAULT_OPERATIONS from './collectibleGameSets.gql';
|
|
|
8
8
|
|
|
9
9
|
export const useCollectibleGameSets = props => {
|
|
10
10
|
|
|
11
|
+
const { product_type } = props
|
|
12
|
+
|
|
11
13
|
const operations = mergeOperations(DEFAULT_OPERATIONS, null);
|
|
12
14
|
const { getStoreConfigData, getCollectibleGameQuery } = operations;
|
|
13
15
|
const { pathname } = useLocation();
|
|
@@ -25,8 +27,8 @@ export const useCollectibleGameSets = props => {
|
|
|
25
27
|
|
|
26
28
|
const pathnameArr = pathname.split('/');
|
|
27
29
|
|
|
28
|
-
const categoryUrlKey = pathnameArr[pathnameArr.length -
|
|
29
|
-
const productType =
|
|
30
|
+
const categoryUrlKey = pathnameArr[pathnameArr.length - 1].replace('.html','');
|
|
31
|
+
const productType = product_type ? product_type : 'singles';
|
|
30
32
|
|
|
31
33
|
const categoryUrlSuffix = storeConfigData?.storeConfig?.category_url_suffix;
|
|
32
34
|
|