@riosst100/pwa-marketplace 1.3.2 → 1.3.3
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
CHANGED
|
@@ -3,10 +3,10 @@ import { FormattedMessage } from 'react-intl';
|
|
|
3
3
|
import { array, arrayOf, shape, string, number } from 'prop-types';
|
|
4
4
|
import { useFilterSidebar } from '@magento/peregrine/lib/talons/FilterSidebar';
|
|
5
5
|
|
|
6
|
-
import { useStyle } from '
|
|
7
|
-
import LinkButton from '
|
|
8
|
-
import CurrentFilters from '
|
|
9
|
-
import FilterBlock from '
|
|
6
|
+
import { useStyle } from '@magento/venia-ui/lib/classify';
|
|
7
|
+
import LinkButton from '@magento/venia-ui/lib/components/LinkButton';
|
|
8
|
+
import CurrentFilters from '@magento/venia-ui/lib/components/FilterModal/CurrentFilters';
|
|
9
|
+
import FilterBlock from '@magento/venia-ui/lib/components/FilterModal/filterBlock';
|
|
10
10
|
import defaultClasses from './filterSidebar.module.css';
|
|
11
11
|
import ShopByCategory from '@riosst100/pwa-marketplace/src/components/ShopByCategory';
|
|
12
12
|
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
composes: bg-white from global;
|
|
3
|
+
composes: bottom-0 from global;
|
|
4
|
+
composes: hidden from global;
|
|
5
|
+
composes: max-w-modal from global;
|
|
6
|
+
composes: w-full from global;
|
|
7
|
+
composes: z-foreground from global;
|
|
8
|
+
grid-template-rows: 1fr 7rem;
|
|
9
|
+
|
|
10
|
+
composes: lg_grid from global;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.body {
|
|
14
|
+
composes: overflow-auto from global;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.header {
|
|
18
|
+
composes: flex from global;
|
|
19
|
+
composes: justify-between from global;
|
|
20
|
+
composes: pb-0 from global;
|
|
21
|
+
composes: pt-5 from global;
|
|
22
|
+
composes: px-5 from global;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.headerTitle {
|
|
26
|
+
composes: flex from global;
|
|
27
|
+
composes: items-center from global;
|
|
28
|
+
composes: leading-none from global;
|
|
29
|
+
composes: text-lg from global;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.action {
|
|
33
|
+
composes: pb-0 from global;
|
|
34
|
+
composes: pt-xs from global;
|
|
35
|
+
composes: px-xs from global;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* TODO @TW: cannot compose */
|
|
39
|
+
.action button {
|
|
40
|
+
/* composes: text-sm from global; */
|
|
41
|
+
font-size: 0.875rem;
|
|
42
|
+
/* composes: no-underline from global; */
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.blocks {
|
|
47
|
+
composes: pb-0 from global;
|
|
48
|
+
composes: pt-xs from global;
|
|
49
|
+
composes: px-xs from global;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* TODO @TW: cannot compose */
|
|
53
|
+
.blocks > li:last-child {
|
|
54
|
+
/* composes: border-b-2 from global; */
|
|
55
|
+
/* composes: border-solid from global; */
|
|
56
|
+
/* composes: border-subtle from global; */
|
|
57
|
+
border-bottom: 2px solid rgb(var(--venia-global-color-border));
|
|
58
|
+
}
|