spoko-design-system 0.2.92 → 0.2.93
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
|
@@ -73,7 +73,7 @@ const baseURL = locale === 'en' ? '' : `/${locale}`;
|
|
|
73
73
|
)}
|
|
74
74
|
</div>
|
|
75
75
|
|
|
76
|
-
<CategoryViewToggler {...viewerLabels} showViewToggler={showViewToggler} />
|
|
76
|
+
<CategoryViewToggler {...viewerLabels} showViewToggler={showViewToggler} class="hidden md-block" />
|
|
77
77
|
</div>
|
|
78
78
|
|
|
79
79
|
<script is:inline>
|
|
@@ -6,13 +6,13 @@ export const layoutShortcuts = [
|
|
|
6
6
|
['nav', 'bg-white dark:bg-black absolute sm:fixed w-full top-0 z-41 mx-auto px-4 pt-1 h-24 flex shadow-md justify-between items-center flex-wrap sm:(flex-nowrap pt-0 h-14) max-w-screen print-hidden'],
|
|
7
7
|
|
|
8
8
|
// View Toggles
|
|
9
|
-
['view-grid', 'grid grid-cols-2'],
|
|
10
|
-
['view-list', 'flex flex-col gap-4
|
|
9
|
+
['view-grid', 'md:(grid grid-cols-2)'],
|
|
10
|
+
['view-list', 'md:(flex flex-col gap-4 divide-y-1 divide-solid) divide-neutral-lighter'],
|
|
11
11
|
|
|
12
12
|
// Containers
|
|
13
13
|
['products-container', 'products-wrapper'],
|
|
14
|
-
['products-wrapper', 'bg-white mb-4 w-full mb-auto md:(pl-4 px-2 -mt-3)'],
|
|
15
|
-
['product-list', '
|
|
14
|
+
['products-wrapper', 'flex flex-wrap bg-white mb-4 w-full mb-auto md:(pl-4 px-2 -mt-3)'],
|
|
15
|
+
['product-list', 'sm:block products-wrapper'],
|
|
16
16
|
['products-grid', 'flex w-full flex-nowrap items-center pr-4 md:grid grid-rows-1 overflow-hidden grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5 max-h-[6rem]'],
|
|
17
17
|
['similar-products', 'flex items-center space-y-4 gap-8 flex-wrap px-4 md:grid grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5'],
|
|
18
18
|
['similar-section', 'bg-white w-full drop-shadow-xl'],
|